Magnetic disk device and write processing method
The magnetic disk device addresses inefficiencies in data rewriting by using track usage information to calculate and adjust the head position, reducing ATI and refresh operations for improved performance.
Patent Information
- Application Number
- JP2023046855
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing magnetic disk devices face inefficiencies in rewriting data due to adjacent track interference (ATI), leading to increased frequency of refresh processing and performance degradation.
A magnetic disk device and write processing method that includes a detection mechanism to assess the usage status of adjacent tracks, calculating an off-track amount based on this information to position the head accurately, thereby reducing the impact of ATI and minimizing the need for refresh processing.
The method enhances data rewriting efficiency by reducing the frequency of refresh operations, improving the overall performance of the magnetic disk device by minimizing the influence of adjacent track interference.
Smart Images

Figure 2024135937000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a magnetic disk device and a write processing method. [Background technology]
[0002] Known magnetic disk devices include conventional magnetic recording (CMR) type (or conventional recording type) magnetic disk devices that write multiple tracks at intervals in the radial direction of the disk, shingled write magnetic recording (SMR, or shingled write recording (SWR) type magnetic disk devices that overwrite multiple tracks in the radial direction of the disk, and hybrid recording type magnetic disk devices that select between the conventional recording type and the shingled recording type. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-55735 A Summary of the Invention [Problem to be solved by the invention]
[0004] The present embodiment provides a magnetic disk device and a write processing method that can efficiently rewrite data. [Means for solving the problem]
[0005] A magnetic disk device according to an embodiment includes: a disk having, in a recording layer, a target track including a target range having one or more sectors, a first adjacent track radially adjacent to the target track, and a second adjacent track radially adjacent to the target track and sandwiching the target track together with the first adjacent track in the radial direction; a head that writes data to the recording layer of the disk; and a control unit having a first detection unit, a calculation unit, and a write processing unit, wherein when writing data to the target range of the target track, the first detection unit detects usage information indicating the respective usage states of the first adjacent track and the second adjacent track, the calculation unit calculates an off-track amount based on the usage information, and the write processing unit positions the head so as to obtain the off-track amount and writes data to the target range.
[0006] In addition, a write processing method according to an embodiment includes: A write processing method applicable to a magnetic disk device comprising: a disk having, in a recording layer, a target track including a target range having one or more sectors, a first adjacent track radially adjacent to the target track, and a second adjacent track radially adjacent to the target track and sandwiching the target track together with the first adjacent track in the radial direction, and a head for writing data to the recording layer of the disk, the method detecting usage information indicating the respective usage states of the first adjacent track and the second adjacent track, calculating an off-track amount based on the usage information, positioning the head so as to obtain the off-track amount, and writing data to the target range. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a block diagram showing the configuration of a magnetic disk device according to an embodiment. [Diagram 2] FIG. 2 is a perspective view showing a part of the magnetic disk device, showing a plurality of disks and a plurality of heads. [Diagram 3]FIG. 3 is a schematic diagram showing an example of an arrangement of a plurality of servo areas and a plurality of data areas on a disk according to the embodiment. [Figure 4] FIG. 4 is a schematic diagram showing some of the tracks on which normal recording processing is performed. [Diagram 5] FIG. 5 is a schematic diagram showing five tracks and heads arranged in the radial direction in the magnetic disk device, showing a state in which the heads are positioned so as to obtain the first off-track amount. [Figure 6] FIG. 6 is a schematic diagram showing the five tracks and heads, and illustrates a state in which the heads are positioned so as to obtain the second off-track amount. [Figure 7] FIG. 7 is a schematic diagram showing the above-mentioned five tracks and heads, and shows a state in which the heads are positioned so as to obtain the third off-track amount. [Figure 8] FIG. 8 is a schematic diagram showing the five tracks and heads, and illustrates a state in which the heads are positioned so as to obtain the fourth off-track amount. [Figure 9] FIG. 9 is a schematic diagram showing the five tracks and heads, and illustrates a state in which the heads are positioned so as to obtain the fifth off-track amount. [Figure 10] FIG. 10 is a schematic diagram showing the five tracks and heads mentioned above, showing the state in which the heads are positioned without being off-track. [Figure 11] FIG. 11 is a flowchart for explaining the write processing method according to the embodiment. [Figure 12] FIG. 12 is a flowchart for explaining the write processing method following FIG. [Figure 13] FIG. 13 is a flowchart for explaining the write processing method following FIG. [Figure 14] FIG. 14 is a diagram showing, in the form of a table, the relationship between the relative track, a plurality of total values, and the shaking direction according to Example 1 of the above embodiment. [Figure 15]FIG. 15 is a diagram showing, in the form of a table, the relationship between the relative track, a plurality of total values, and the shaking direction according to Example 2 of the above embodiment. [Figure 16] FIG. 16 is a table showing the relationship between the relative track, a plurality of total values, and the shaking direction according to Example 3 of the above embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] A magnetic disk device 1 and a write processing method according to an embodiment will be described in detail below with reference to the drawings. First, the configuration of the magnetic disk device 1 will be described. FIG. 1 is a block diagram showing the configuration of the magnetic disk device 1 according to this embodiment. In this embodiment, the magnetic disk device 1 is a magnetic disk device of a normal recording type. However, the technology described below may be applied to a magnetic disk device of a shingled recording type, and a magnetic disk device of a hybrid recording type that selectively executes the normal recording type and the shingled recording type.
[0009] 1, the magnetic disk device 1 includes a plurality of, for example, one to six disks (magnetic disks) DK as recording media, a spindle motor (SPM) 20 as a drive motor, a head stack assembly 22, a driver IC 120, a head amplifier integrated circuit (hereinafter, head amplifier IC or preamplifier) 130, a volatile memory 70, a buffer memory (buffer) 80, a non-volatile memory 90, and a system controller 110 which is a one-chip integrated circuit. The magnetic disk device 1 is also connected to a host system (hereinafter, simply referred to as a host) 100.
[0010] Each disk DK is formed to have a diameter of, for example, 95 mm (3.5 inches) and has a recording layer (magnetic recording layer) on both sides. In this embodiment, the magnetic disk device 1 includes one to six disks DK, but the number of disks DK is not limited to this. The magnetic disk device 1 may also include a single disk DK.
[0011] The head stack assembly 22 is driven by a voice coil motor (hereinafter referred to as VCM) 24 to control the movement of a head HD mounted on an arm 30 to a target position on the disk DK. The disk DK is allocated with a user data area U available to the user and a system area S to which information required for system management is written as areas where data can be written. Here, any track among the multiple tracks of the disk DK is defined as a target track, and a track adjacent to the target track in the radial direction of the disk DK is defined as an adjacent track. Any sector among multiple sectors aligned in the circumferential direction of the disk DK in the target track is defined as a target sector. In the adjacent track, a sector adjacent to the target sector in the radial direction of the disk DK among multiple sectors aligned in the circumferential direction of the disk DK is defined as an adjacent sector.
[0012] The head HD records and reproduces information on the disk DK. The head HD has a slider as its main body, and is equipped with a write head WHD and a read head RHD mounted on the slider. The write head WHD writes data to the recording layer of the disk DK. The read head RHD reads data from the data tracks on the recording layer of the disk DK.
[0013] The driver IC 120, under the control of the system controller 110 (more specifically, the MPU 60 described below), controls the driving of the SPM 20 and the VCM 24. The SPM 20 supports and rotates a plurality of disks DK.
[0014] The head amplifier IC 130 includes a read amplifier and a write driver. The read amplifier amplifies a read signal read from the disk DK and outputs it to the system controller 110 (more specifically, a read / write (R / W) channel 140, which will be described later). The write driver outputs a write current corresponding to the signal output from the R / W channel 140 to the head HD.
[0015] The volatile memory 70 is a semiconductor memory in which stored data is lost when the power supply is cut off. The volatile memory 70 stores data and the like required for processing in each part of the magnetic disk device 1. The volatile memory 70 is, for example, a dynamic random access memory (DRAM) or a synchronous dynamic random access memory (SDRAM).
[0016] The buffer memory 80 is a semiconductor memory that temporarily records data and the like transmitted and received between the magnetic disk device 1 and the host 100. The buffer memory 80 may be configured integrally with the volatile memory 70. The buffer memory 80 is, for example, a DRAM, a static random access memory (SRAM), a SDRAM, a ferroelectric random access memory (FeRAM), or a magnetoresistive random access memory (MRAM).
[0017] The non-volatile memory 90 is a semiconductor memory that records stored data even if the power supply is cut off. The non-volatile memory 90 is, for example, a NOR type or NAND type flash ROM (Flash Read Only Memory: FROM). In this embodiment, the non-volatile memory 90 functions as a storage unit that stores a threshold value and a plurality of total values. Each total value is the sum of the write count numbers corresponding to a corresponding track among the plurality of tracks on the recording layer of the disk DK. The threshold value and the plurality of total values are used as materials for determining whether or not to perform a refresh process, which will be described later, and are also used as materials for determining the amount of off-track.
[0018] Here, the refresh process is a process of reading data from a track and rewriting the data to the track. The refresh process is performed on a track that is likely to have a read error among a plurality of tracks. The threshold value is set to a value smaller than the number of writes that guarantees a read. The storage unit for storing the threshold value and the plurality of total values is not limited to the non-volatile memory 90, but may be any recording unit within the magnetic disk device 1, for example, the system area S.
[0019] The system controller (controller) 110 is realized, for example, by using a large scale integrated circuit (LSI) called a System-on-a-Chip (SoC) in which multiple elements are integrated on a single chip. The system controller 110 includes a read / write (R / W) channel 140, a hard disk controller (HDC) 150, and a microprocessor (MPU) 60. The system controller 110 is electrically connected to a driver IC 120, a head amplifier IC 130, a volatile memory 70, a buffer memory 80, a non-volatile memory 90, and a host 100.
[0020] The R / W channel 140 executes signal processing of read data transferred from the disk DK to the host 100 and write data transferred from the host 100 in response to instructions from the MPU 60 described later. The R / W channel 140 has a circuit or function for modulating write data. The R / W channel 140 also has a circuit or function for measuring the signal quality of the read data. The R / W channel 140 is electrically connected to, for example, the head amplifier IC 130, the HDC 150, the MPU 60, etc.
[0021] The HDC 150 controls data transfer between the host 100 and the R / W channel 140 in response to instructions from the MPU 60, which will be described later. The HDC 150 is electrically connected to, for example, the R / W channel 140, the MPU 60, the volatile memory 70, the buffer memory 80, the non-volatile memory 90, and the like.
[0022] The MPU 60 is a control unit that controls each part of the magnetic disk device 1, and is a main controller. The MPU 60 controls the VCM 24 via the driver IC 120, and executes servo control for positioning the head HD. The MPU 60 controls the write operation of data to the disk DK, and selects a storage destination for write data transferred from the host 100. The MPU 60 also controls the read operation of data from the disk DK, and controls the processing of read data transferred from the disk DK to the host 100. The MPU 60 is connected to each part of the magnetic disk device 1. The MPU 60 is electrically connected to, for example, the driver IC 120, the R / W channel 140, the HDC 150, and the like.
[0023] The MPU 60 includes a read / write processing unit 61, a calculation unit 62, an adjustment unit 63, a counter 64, a first detection unit 65, a second detection unit 66, a first judgment unit 67, a second judgment unit 68, and a refresh processing unit 69. The MPU 60 executes the processing of each of these units, for example, the read / write processing unit 61, the calculation unit 62, the adjustment unit 63, the counter 64, the first detection unit 65, the second detection unit 66, the first judgment unit 67, the second judgment unit 68, the refresh processing unit 69, etc., on firmware. Note that the MPU 60 may include each of these units as a circuit.
[0024] The read / write processing unit 61 has a write processing unit 61a and a read processing unit 61b. The write processing unit 61a controls the data write processing, and the read processing unit 61b controls the data read processing, according to a command from the host 100. The read / write processing unit 61 controls the VCM 24 via the driver IC 120, positions the head HD at a target position (predetermined radial position) on the disk DK, and executes the read processing or the write processing.
[0025] The first detection unit 65 can detect usage information indicating the usage state of each of the multiple tracks of the disk DK. Here, the usage information indicating the usage state of the track is information indicating whether each sector of the track is a sector to which data is written (used sector) or a sector to which data is not written (unused sector).
[0026] The calculation unit 62 can calculate the off-track amount based on the usage information. Here, the off-track amount is the amount by which the write processing unit 61a intentionally shifts the position of the head HD. More specifically, the off-track amount is the amount by which the center of the head HD shifts from the center of the target track in the radial direction of the disk DK. The write processing unit 61a can position the head HD so as to obtain the above-mentioned off-track amount, and write data in the target range of a predetermined track (target track).
[0027] The adjustment unit 63 is capable of adjusting the additional value k (k1, k2, k3, and k4).
[0028] When data is written to a specific track among a plurality of tracks on the recording layer of the disk DK, the counter 64 counts the write count number of each track located around the specific track as the above k, and adds the above k to each corresponding total value in the non-volatile memory 90 (storage unit), thereby updating each total value. For example, if the predetermined total value immediately before adding the above k is "10" and the above k is "1", the counter 64 can update the predetermined total value to "11".
[0029] In this embodiment, "around the specified track" refers to the track immediately adjacent to the specified track and the track two adjacent to the specified track (usually four tracks). Therefore, the counter 64 of this embodiment can count the write count number of the track one adjacent to the specified track and the write count number of the track two adjacent to the specified track. However, unlike this embodiment, the "periphery of the specified track" may refer only to the track adjacent to the specified track (one track continuous inward from the specified track and one track continuous outward from the specified track). Alternatively, the "periphery of the specified track" may refer to the track adjacent to the specified track, the track two tracks adjacent to the specified track, and the track three tracks adjacent to the specified track (three tracks continuous inward from the specified track and three tracks continuous outward from the specified track). Alternatively, the "periphery of the specified track" may refer to four or more tracks continuous inward from the specified track and four or more tracks continuous outward from the specified track.
[0030] The second detection section 66 can detect the direction and amount of shaking of the head HD when data is written in the target area of the target track. Here, the amount of shaking is the amount by which the head HD unintentionally and undesirably shakes (shifts). More specifically, the amount of shaking is the amount by which the center of the head HD shakes (shifts) in the radial direction of the disk DK from the position determined by the write processing unit 61a.
[0031] The first judgment unit 67 can judge whether the head HD swung toward either side of the adjacent track of the target track last time, based on the multiple total values stored in the non-volatile memory 90 (storage unit) and the swing direction detected when data was last written to the target track by the second detection unit 66. For example, the first judgment unit 67 can judge whether the head HD swung toward the adjacent track having the larger total value among the adjacent tracks on either side. The second judgment unit 68 can judge whether the sum value corresponding to the adjacent tracks exceeds the threshold value.
[0032] The refresh processing unit 69 can read data (target data) of an adjacent track having a total value exceeding the threshold value, rewrite (rewrite) the data (target data) to the adjacent track in order to refresh the adjacent track, and reset the total value in the non-volatile memory 90 (storage unit) corresponding to the adjacent track.
[0033] FIG. 2 is a perspective view showing a part of the magnetic disk device 1, and shows a plurality of disks DK and a plurality of heads HD. As shown in Fig. 2, the direction in which the disk DK rotates in the circumferential direction is referred to as the rotation direction d3. In the example shown in Fig. 2, the rotation direction is shown counterclockwise, but it may be the opposite direction (clockwise). The movement direction d2 of the head HD relative to the disk DK is opposite to the rotation direction d3. The movement direction d2 is the direction in which the head HD sequentially writes and reads data to the disk DK in the circumferential direction, that is, the direction in which the head HD moves relative to the disk DK in the circumferential direction.
[0034] The magnetic disk device 1 includes i disks, disks DK1 through DKi, and j heads, heads HD1 through HDj. In this embodiment, the number of heads HD is twice the number of disks DK (j=2·i). The disks DK1 to DKi are provided coaxially and stacked with a gap between them. The disks DK1 to DKi have the same diameter. Here, terms such as "same," "identical," "matched," and "equivalent" not only mean exactly the same, but also mean different enough to be considered substantially the same. The disks DK1 to DKi may have different diameters.
[0035] Each disc DK has a recording layer L on both sides. For example, disc DK1 has a first recording layer La1 and a second recording layer Lb1 on the opposite side of the first recording layer La1. Disc DK2 has a first recording layer La2 and a second recording layer Lb2 on the opposite side of the first recording layer La2. Disc DKi has a first recording layer Lai and a second recording layer Lbi on the opposite side of the first recording layer Lai. Each first recording layer La may be referred to as a front surface or a recording surface. Each second recording layer Lb may be referred to as a back surface or a recording surface.
[0036] As described above, the magnetic disk device 1 of the present embodiment is a normal recording type magnetic disk device. Therefore, the user data area U of each recording layer L is a normal recording area. In the normal recording type magnetic disk device, it is permitted to write data randomly in the user data area U, that is, normal recording is permitted.
[0037] Each recording layer L has a user data area U and a system area S. The first recording layer La1 has a user data area Ua1 and a system area Sa1. The second recording layer Lb1 has a user data area Ub1 and a system area Sb1. The first recording layer La2 has a user data area Ua2 and a system area Sa2. The second recording layer Lb2 has a user data area Ub2 and a system area Sb2. The first recording layer Lai has a user data area Uai and a system area Sai. The second recording layer Lbi has a user data area Ubi and a system area Sbi.
[0038] In the user data area Ua1 (first recording layer La1), the track between the double dashed lines in the figure is designated as track Ta1. In the user data area Ub1 (second recording layer Lb1), the track located on the opposite side of track Ta1 is designated as track Tb1. In the user data area Ua2 (first recording layer La2), the track between the double dashed lines in the figure is designated as track Tc1. In the user data area Ub2 (second recording layer Lb2), the track located on the opposite side of track Tc1 is designated as track Td1. In the user data area Uai (first recording layer Lai), the track between the double dashed lines in the figure is designated as track Te1. In the user data area Ubi (second recording layer Lbi), the track located on the opposite side of track Te1 is designated as track Tf1. In this embodiment, the tracks Ta1, Tb1, Tc1, Td1, Te1, and Tf1 are located on the same cylinder.
[0039] The head HD faces the disk DK. In this embodiment, one head HD faces each recording layer L of the disk DK. For example, the head HD1 faces the first recording layer La1 of the disk DK1, writes data to the first recording layer La1, and reads data from the first recording layer La1. The head HD2 faces the second recording layer Lb1 of the disk DK1, writes data to the second recording layer Lb1, and reads data from the second recording layer Lb1. The head HD3 faces the first recording layer La2 of the disk DK2, writes data to the first recording layer La2, and reads data from the first recording layer La2. The head HD4 faces the second recording layer Lb2 of the disk DK2, writes data to the second recording layer Lb2, and reads data from the second recording layer Lb2. The head HDj-1 faces the first recording layer Lai of the disk DKi, writes data to the first recording layer Lai, and reads data from the first recording layer Lai. The head HDj faces the second recording layer Lbi of the disk DKi, writes data to the second recording layer Lbi, and reads data from the second recording layer Lbi.
[0040] 3 is a schematic diagram showing an example of the arrangement of a plurality of servo regions SV and a plurality of data regions DTR of a disk DK according to this embodiment. As shown in FIG. 3, in the radial direction d1 of the disk DK, the direction toward the outer periphery of the disk DK is called the outward direction (outside), and the opposite direction to the outward direction is called the inward direction (inside). In FIG. 3, the user data area U is divided into an inner area IR located inward, an outer area OR located outward, and a middle area MR located between the inner area IR and the outer area OR.
[0041] The disk DK has a plurality of servo areas SV and a plurality of data areas DTR. The plurality of servo areas SV may extend radially in the radial direction of the disk DK and be arranged discretely at a predetermined interval in the circumferential direction. The plurality of servo areas SV may extend linearly from the inner circumference to the outer circumference and be arranged discretely at a predetermined interval in the circumferential direction. The plurality of servo areas SV may extend spirally from the inner circumference to the outer circumference and be arranged discretely at a predetermined interval in the circumferential direction. The plurality of servo areas SV may be arranged in an island shape in the radial direction and be arranged discretely at a predetermined interval in the circumferential direction. Hereinafter, one servo area SV in a predetermined track may be referred to as a "servo sector". Incidentally, the "servo area SV" may be referred to as a "servo sector SV". The servo sector includes servo data. Hereinafter, "arrangement of several servo data constituting a servo sector" may be referred to as a "servo pattern". Incidentally, "servo data written in a servo sector" may be referred to as a "servo sector".
[0042] Each of the data areas DTR is disposed between the servo areas SV. For example, the data area DTR corresponds to an area between two consecutive servo areas SV in the circumferential direction. Hereinafter, one data area DTR in a given track may be referred to as a "data sector". The "data area DTR" may be referred to as a "data sector DTR". The data sector includes user data. The "user data written in the data sector" may be referred to as a "data sector". The "data sector" may be referred to as "user data". The "pattern composed of several data" may be referred to as a "data pattern". In the example shown in FIG. 2, the data pattern of a given track is composed of servo data (servo sector) and user data (data sector).
[0043] The servo area SV has a plurality of zone servo areas ZSV, etc. In addition to the zone servo area ZSV, the servo area SV may also include an area including a gap (a deviation in the circumferential position of two zone servo areas), an area including servo data, and a data area DTR, etc. The plurality of zone servo areas ZSV are discretely arranged along the radial direction. Each of the plurality of zone servo areas ZSV extends in the radial direction.
[0044] One zone servo area (servo area) ZSV in a specified track may be referred to as a "zone servo sector" or a "servo sector." Note that a "zone servo area (servo area) ZSV" may be referred to as a "zone servo sector ZSV" or a "servo sector ZSV." "Servo data written in a zone servo sector" may be referred to as a "zone servo sector" or a "servo sector." Hereinafter, "the arrangement of several servo data constituting a zone servo sector" may be referred to as a "zone servo pattern" or a "servo pattern." Hereinafter, one servo area SV in a specified track may be referred to as a "zone pattern sector."
[0045] The "servo area SV" may also be referred to as a "zone pattern sector." "At least one piece of data, etc. written to a zone pattern sector" may also be referred to as a "zone pattern sector." A zone pattern sector includes at least one zone servo sector. Hereinafter, the "data pattern of a zone pattern sector" may also be referred to as a "zone data pattern."
[0046] In the example shown in Fig. 3, the servo area SV has zone servo areas ZSV0, ZSV1, and ZSV2. The zone servo areas ZSV0, ZSV1, and ZSV2 are arranged in a staggered manner in the radial direction. The zone servo areas ZSV0, ZSV1, and ZSV2 may be arranged in a stepped manner in the radial direction.
[0047] The zone servo area ZSV2 is located inward from the zone servo area ZSV1. The zone servo area ZSV0 is located outward from the zone servo area ZSV1. For example, the zone servo area ZSV2 is arranged from the inner peripheral area IR to the middle peripheral area MR, the zone servo area ZSV1 is arranged from the inner peripheral area IR to the outer peripheral area OR, and the zone servo area ZSV0 is arranged from the middle peripheral area MR to the outer peripheral area OR. Hereinafter, in a given servo area SV, a given radial area in which a plurality of zone servo areas ZSV are arranged in the circumferential direction may be referred to as a zone servo boundary area, a double servo area, or a double zone servo area ZB.
[0048] In the example shown in FIG. 2, the primary servo areas SVO and the secondary servo areas SVE are alternately arranged at intervals in the circumferential direction. For example, one secondary servo area SVE is arranged between two primary servo areas SVO that are arranged in succession at intervals in the circumferential direction. In other words, one secondary servo area SVE is arranged between two primary servo areas SVO that are arranged in succession at intervals in the circumferential direction. For example, if consecutive numbers are assigned to all servo areas SV of the disk DK in order, the primary servo area SVO corresponds to the odd-numbered servo area SV, and the secondary servo area SVE corresponds to the even-numbered servo area SV. Note that two or more secondary servo areas SVE may be arranged between two primary servo areas SVO that are arranged in succession at intervals in the circumferential direction.
[0049] The primary servo area SVO and the secondary servo area SVE may be, for example, composed only of a servo area (hereinafter, sometimes referred to as a normal servo area) that reads and demodulates servo data as a whole. Hereinafter, "reading and demodulating servo data" may be referred to as "servo reading". The primary servo area SVO and the secondary servo area SVE may be, for example, composed of a normal servo area and a servo area (hereinafter, sometimes referred to as a short servo area) that servo reads a circumferential range of servo data that is smaller than the circumferential range of servo data servo read in the normal servo area.
[0050] The media cache M is allocated to the disk DK. However, the media cache M does not have to be located on the disk DK. By using the above-mentioned plurality of servo data, it is possible to position the head HD so as to obtain a predetermined off-track amount, and to detect the amount and direction of the head HD's wobble.
[0051] FIG. 4 is a schematic diagram showing some of the tracks on which normal recording processing is performed. 4, the first recording layer La1 of the disk DK1 has tracks Ta1, Ta2, Ta3, ..., Ta(m-1), Tam, Ta(m+1), etc. aligned in the radial direction d1. In the figure, track Ta1 is located on the outermost OD side of the disk DK1, and track Ta(m+1) is located on the innermost ID side of the disk DK1.
[0052] Track Ta1 has a track width W1 in the radial direction d1 and a track center C1 at the center of the radial direction d1. Like track Ta1, track Ta2 has a track width W2 and a track center C2, track Ta3 has a track width W3 and a track center C3, track Ta(m-1) has a track width W(m-1) and a track center C(m-1), track Tam has a track width Wm and a track center Cm, and track Ta(m+1) has a track width W(m+1) and a track center C(m+1). The track widths W1 to W(m+1) are the same. However, track widths W1 to W(m+1) may be different from each other.
[0053] The tracks Ta1 to Ta(m+1) are arranged at a pitch (normal recording track pitch) Pt in the radial direction d1. For example, the track center C1 and the track center C2 are separated by a pitch Pt in the radial direction d1, and the track center C2 and the track center C3 are separated by a pitch Pt in the radial direction d1. Also, the track center C(m-1) and the track center Cm are separated by a pitch Pt in the radial direction d1, and the track center Cm and the track center C(m+1) are separated by a pitch Pt in the radial direction d1. Note that the tracks Ta1 to Ta(m+1) may be arranged at different pitches in the radial direction d1.
[0054] In a normal recording type magnetic disk device, high density can be achieved by designing the pitch Pt to be narrow in order to increase the storage capacity.
[0055] In the example shown in Fig. 4, tracks Ta1 to Ta(m+1) are arranged with gaps g in the radial direction d1. For example, tracks Ta1 and Ta2 are separated by gap g in the radial direction d1, and tracks Ta2 and Ta3 are separated by gap g in the radial direction d1. Tracks Ta(m-1) and Tam are separated by gap g in the radial direction d1, and tracks Tam and Ta(m+1) are separated by gap g in the radial direction d1. Tracks Ta1 to Ta(m+1) may be arranged with different gaps between them.
[0056] 4, for convenience of explanation, each track Ta is shown as a rectangle, but in reality, each track Ta is curved along the circumferential direction. Also, each track may be wavy, extending in the circumferential direction while fluctuating in the radial direction d1.
[0057] When performing normal write processing, the write processing unit 61a positions head HD1 at track center C1 and writes data to track Ta1, positions head HD1 at track center C2 and writes data to track Ta2, positions head HD1 at track center C3 and writes data to track Ta3, positions head HD1 at track center C(m-1) and writes data to track Ta(m-1), positions head HD1 at track center Cm and writes data to track Tam, and positions head HD1 at track center C(m+1) and writes data to track Ta(m+1).
[0058] In the example shown in Figure 4, the write processing unit 61a may perform write processing sequentially on tracks Ta1 to Ta(m+1), or may perform write processing randomly on specified sectors of each of tracks Ta1 to Ta(m+1). The magnetic disk device 1 of this embodiment is configured as described above.
[0059] Next, a write processing method applied to the magnetic disk device 1 will be described. Fig. 5 is a schematic diagram showing five tracks T and a head HD arranged in a radial direction d1 in the magnetic disk device 1, and shows a state in which the head HD is positioned so as to obtain a first off-track amount E1. As in Fig. 4, each track T is shown in a rectangular shape in Fig. 5 and subsequent figures for convenience of explanation.
[0060] As shown in Fig. 5, the disk DK has a target track Tt, a first adjacent track Tu1, a second adjacent track Tu2, a third adjacent track Tu3, and a fourth adjacent track Tu4 on a recording layer La. The target track Tt includes a target range Rt having one or more sectors. In the example shown in Fig. 5, the entire target track Tt is the target range Rt. The target track Tt (target range Rt) has a plurality of sectors such as sector St.
[0061] The first adjacent track Tu1 is adjacent to the target track Tt in the radial direction d1. The first adjacent track Tu1 has a plurality of sectors, such as sector Su1, adjacent to sector St in the radial direction d1. In this embodiment, the first adjacent track Tu1 is located on the outer circumferential direction OD side of the target track Tt.
[0062] The second adjacent track Tu2 is adjacent to the target track Tt in the radial direction d1. The second adjacent track Tu2 has a plurality of sectors, such as sector Su2, adjacent to sector St in the radial direction d1. The second adjacent track Tu2 and the first adjacent track Tu1 sandwich the target track Tt in the radial direction d1. In this embodiment, the second adjacent track Tu2 is located on the inner ID side of the target track Tt.
[0063] The third adjacent track Tu3 is adjacent to the first adjacent track Tu1 in the radial direction d1. The third adjacent track Tu3 has a plurality of sectors, such as sector Su3, adjacent to sector Su1 in the radial direction d1. The third adjacent track Tu3 and the target track Tt sandwich the first adjacent track Tu1 in the radial direction d1. In this embodiment, the third adjacent track Tu3 is located on the outer circumferential OD side of the first adjacent track Tu1.
[0064] The fourth adjacent track Tu4 is adjacent to the second adjacent track Tu2 in the radial direction d1. The fourth adjacent track Tu4 has a plurality of sectors, such as sector Su4, adjacent to sector Su2 in the radial direction d1. The fourth adjacent track Tu4 and the target track Tt sandwich the second adjacent track Tu2 in the radial direction d1. In this embodiment, the fourth adjacent track Tu4 is located on the inner ID side of the second adjacent track Tu2.
[0065] Here, the target track Tt is "±0", the outer OD side of the disk DK is negative, and "1" is subtracted for each track moving toward the outer OD side, and the inner ID side of the disk DK is positive, and "1" is added for each track moving toward the inner ID side. If the multiple tracks T are shown relatively, the third adjacent track Tu3 is "-2", the first adjacent track Tu1 is "-1", the second adjacent track Tu2 is "+1", and the fourth adjacent track Tu4 is "+2". In Fig. 5, the target range Rt to which data is written is marked with a dot pattern, unused sectors are left blank, and used sectors are marked with diagonal lines going up or down to the right. In the following, the sector refers to the sector in the data area DTR in Fig. 3, and does not refer to the sector in the servo area SV.
[0066] 5 and 1, when writing data in the target range Rt of the target track Tt, the first detection unit 65 first detects usage information indicating the usage state of each of the first adjacent track Tu1 and the second adjacent track Tu2. Next, the calculation unit 62 calculates the off-track amount based on the usage information. After that, the write processing unit 61a positions the head HD so as to obtain the off-track amount, and writes the data in the target range Rt.
[0067] The first detector 65 detects usage information indicating the usage status of each of the first adjacent track Tu1, the second adjacent track Tu2, the third adjacent track Tu3, and the fourth adjacent track Tu4. In FIG. 5, the first adjacent track Tu1 is entirely unused, the second adjacent track Tu2 is entirely used, and the third adjacent track Tu3 is entirely used. The fourth adjacent track Tu4 is entirely used. However, FIG. 5 shows an example of the usage status of the second adjacent track Tu2 to the fourth adjacent track Tu4. In the example of obtaining the first off-track amount E1 in FIG. 5, it is sufficient that the second adjacent track Tu2 is at least partially used, and it is sufficient that the third adjacent track Tu3 is at least partially used, and the usage status of the fourth adjacent track Tu4 does not matter.
[0068] In this case, the usage information detected by the first detection unit 65 is first usage information indicating that the entire first adjacent track Tu1 is unused, the second adjacent track Tu2 includes a used sector, and the third adjacent track Tu3 includes a used sector.
[0069] When the first detector 65 detects the first usage information and writes data in the target range Rt of the target track Tt, the calculator 62 calculates a first off-track amount E1, which is an amount by which the center N of the head HD is shifted from the center (track center C) of the target track Tt toward the first adjacent track Tu1, based on the first usage information. After that, the write processor 61a positions the head HD so as to obtain the first off-track amount E1, and writes data in the target range Rt. Note that in the radial direction d1, the first off-track amount E1 corresponds to the distance from the center (track center C) of the target track Tt to the center N of the head HD.
[0070] Compared to when the center N of the head HD is positioned at the center (track center C) of the target track Tt, the effect of ATI (Adjacent Track Interference) on the first adjacent track Tu1 and the third adjacent track Tu3 becomes greater, but the effect of ATI on the second adjacent track Tu2 and the fourth adjacent track Tu4 becomes smaller. The write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 can be made smaller than the above k by the amount of the first off-track amount E1. For example, when k=1, the write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 are counted as less than "1". Compared to the case where the write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 are counted as "1" each time, the frequency of performing the refresh process on the second adjacent track Tu2 and the fourth adjacent track Tu4 can be reduced. As a result, the frequency of performing the refresh process on the disk DK can be reduced, thereby improving the performance of the magnetic disk device 1.
[0071] 6 is a schematic diagram showing five tracks T and a head HD, and shows a state in which the head HD is positioned so as to obtain a second off-track amount E2. In FIG. 6, a dot pattern is added to the target range Rt to which data is written, unused sectors are left blank, and used sectors are marked with diagonal lines going up or down to the right.
[0072] As shown in FIG. 6 and FIG. 1, the first adjacent track Tu1 is entirely unused, the second adjacent track Tu2 is entirely used, and the third adjacent track Tu3 is entirely unused. The fourth adjacent track Tu4 is entirely used. However, in FIG. 6, the second adjacent track Tu2 and the fourth adjacent track Tu4 are shown as an example of their usage states. In the example of obtaining the second off-track amount E2 in FIG. 6, the second adjacent track Tu2 only needs to be at least partially used, and the usage state of the fourth adjacent track Tu4 does not matter. In this case, the usage information detected by the first detection unit 65 is second usage information indicating that the first adjacent track Tu1 is entirely unused, the third adjacent track Tu3 is entirely unused, and the second adjacent track Tu2 includes a used sector.
[0073] When the first detector 65 detects the second usage information and writes data in the target range Rt of the target track Tt, the calculator 62 calculates a second off-track amount E2, which is an amount by which the center N of the head HD is shifted from the center (track center C) of the target track Tt toward the first adjacent track Tu1, based on the second usage information. Thereafter, the write processor 61a positions the head HD so as to obtain the second off-track amount E2, and writes data in the target range Rt.
[0074] The second off-track amount E2 is larger than the first off-track amount E1 (E2>E1). The write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 can be further reduced by the amount of the second off-track amount E2. The frequency of performing the refresh process on the disk DK can be further reduced.
[0075] 7 is a schematic diagram showing five tracks T and a head HD, and showing a state in which the head HD is positioned so as to obtain a third off-track amount E3. In FIG. 7, a dot pattern is added to the target range Rt to which data is written, unused sectors are left blank, and used sectors are marked with diagonal lines going up or down to the right.
[0076] As shown in FIG. 7, the target track Tt has a target range Rt. In the example shown in FIG. 7, the target range Rt is a part of the target track Tt and includes one or more sectors. The first adjacent track Tu1 includes a first adjacent range Rd1 having all sectors adjacent to the target range Rt in the radial direction d1. The second adjacent track Tu2 includes a second adjacent range Rd2 having all sectors adjacent to the target range Tt in the radial direction d1. The third adjacent track Tu3 includes a third adjacent range Rd3 having all sectors adjacent to the first adjacent range Rd1 in the radial direction d1.
[0077] Of the first adjacent track Tu1, all sectors within at least the first adjacent range Rd1, such as sectors Su1a and Su1b, are unused. Of the first adjacent track Tu1, sectors that are used are included outside the first adjacent range Rd1, such as sector Su1c. Of the second adjacent track Tu2, all sectors within at least the second adjacent range Rd2, such as sectors Su2a and Su2b, are used. Of the third adjacent track Tu3, all sectors within at least the third adjacent range Rd3, such as sectors Su3a and Su3b, are unused. The entire fourth adjacent track Tu4 is used. However, Fig. 7 shows an example of the usage state of the second adjacent track Tu2 and the fourth adjacent track Tu4. In the example of obtaining the third off-track amount E3 in Fig. 7, it is sufficient that at least a part of the second adjacent range Rd2 of the second adjacent track Tu2 has been used, and the usage state of the fourth adjacent track Tu4 does not matter.
[0078] In the above case, the usage information detected by the first detection unit 65 is third usage information indicating that all sectors within the first adjacent range Rd1 are unused, that the first adjacent track Tu1 includes used sectors outside the first adjacent range Rd1, that all sectors within the third adjacent range Rd3 are unused, and that the second adjacent range Rd2 includes used sectors.
[0079] 7 and 1, when the first detection unit 65 detects the third usage information and data is written in the target range Rt of the target track Tt, the calculation unit 62 calculates a third offtrack amount E3, which is an amount by which the center N of the head HD is shifted from the center (track center C) of the target track Tt toward the first adjacent track Tu1, based on the third usage information. After that, the write processing unit 61a positions the head HD so as to obtain the third offtrack amount E3, and writes data in the target range Rt.
[0080] The third off-track amount E3 is equal to or smaller than the first off-track amount E1 (E1≧E3). In this case, the write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 can be reduced, so that the frequency of performing the refresh process on the disk DK can be reduced.
[0081] 8 is a schematic diagram showing five tracks T and a head HD, and showing a state in which the head HD is positioned so as to obtain a fourth off-track amount E4. In FIG. 8, a dot pattern is added to the target range Rt to which data is written, unused sectors are left blank, and used sectors are marked with diagonal lines going up or down to the right.
[0082] As shown in FIG. 8, in the first adjacent track Tu1, all sectors in at least the first adjacent range Rd1, such as sectors Su1a and Su1b, are unused. In the first adjacent track Tu1, used sectors are included outside the first adjacent range Rd1, such as sector Su1c. In the second adjacent track Tu2, all sectors in at least the second adjacent range Rd2, such as sectors Su2a and Su2b, are used. In the third adjacent track Tu3, used sectors are included at least in the third adjacent range Rd3, such as sector Su3a. Note that sector Su3b in the third adjacent range Rd3 is unused. The entire fourth adjacent track Tu4 is used. However, Fig. 8 shows only an example of the usage state of the second adjacent track Tu2 and the fourth adjacent track Tu4. In the example of obtaining the fourth off-track amount E4 in Fig. 8, it is sufficient that at least a part of the second adjacent range Rd2 of the second adjacent track Tu2 has been used, and the usage state of the fourth adjacent track Tu4 does not matter.
[0083] In the above case, the usage information detected by the first detection unit 65 is fourth usage information indicating that all sectors within the first adjacent range Rd1 are unused, that the first adjacent track Tu1 includes used sectors outside the first adjacent range Rd1, that the third adjacent range Rd3 includes used sectors, and that the second adjacent range Rd2 includes used sectors.
[0084] 8 and 1, when the first detection unit 65 detects the fourth usage information and data is written to the target range Rt of the target track Tt, the calculation unit 62 calculates a fourth offtrack amount E4, which is an amount by which the center N of the head HD is shifted from the center (track center C) of the target track Tt toward the first adjacent track Tu1, based on the fourth usage information. After that, the write processing unit 61a positions the head HD so as to obtain the fourth offtrack amount E4, and writes data to the target range Rt.
[0085] The fourth off-track amount E4 is less than the third off-track amount E3 (E3>E4). In this case, the write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 can be reduced, so that the frequency of performing the refresh process on the disk DK can be reduced.
[0086] 9 is a schematic diagram showing five tracks T and a head HD, and shows a state in which the head HD is positioned so as to obtain a fifth off-track amount E5. In FIG. 9, a dot pattern is added to the target range Rt to which data is written, unused sectors are left blank, and used sectors are marked with diagonal lines going up or down to the right.
[0087] As shown in FIG. 9, in the first adjacent track Tu1, sectors Su1b and the like include used sectors at least in the first adjacent range Rd1. Note that sector Su1a in the first adjacent range Rd1 is unused. In the first adjacent track Tu1, sectors Su1c and the like include used sectors outside the first adjacent range Rd1. In the second adjacent track Tu2, sectors Su2a, Su2b, and the like include all sectors in at least the second adjacent range Rd2. Sectors Su3a, Su3b, and the like include the entire third adjacent track Tu3, which is unused. The entire fourth adjacent track Tu4 is used. However, Fig. 9 shows only an example of the usage state of the second adjacent track Tu2 to the fourth adjacent track Tu4. In the example of obtaining the fifth off-track amount E5 in Fig. 9, it is sufficient that at least a part of the second adjacent range Rd2 of the second adjacent track Tu2 has been used, and the usage state of the third adjacent track Tu3 and the usage state of the fourth adjacent track Tu4 do not matter.
[0088] In the above case, the usage information detected by the first detection unit 65 is fifth usage information indicating that a used sector is included in the first adjacent range Rd1 and that a used sector is included in the second adjacent range Rd2.
[0089] As shown in Figures 9 and 1, when the first detection unit 65 detects the fifth usage information and writes data to the target range Rt of the target track Tt, the first judgment unit 67 judges to which side, toward the first adjacent track Tu1 or the second adjacent track Tu2, the head HD swung last time, based on multiple total values stored in the non-volatile memory 90 (storage unit) and the swing direction detected by the second detection unit 66 when data was last written to the target track Tt. When data is written to the target track Tt for the first time, the first judgment unit 67 does not make a judgment. In this case, the write processing unit 61a can perform normal writing (writing data in the target range Rt so that the off-track amount E becomes 0).
[0090] For example, when the center N of the head HD is positioned at the center (track center C) of the target track Tt and data is written to the target track Tt, if the center N of the head HD swings from the track center C toward the second adjacent track Tu2 side, the second detection unit 66 can determine that the head HD has swing toward the second adjacent track Tu2 side based on the position information of the head HD. The position information (shake information) of the head HD can be obtained by the read head RHD reading the servo data in the servo area SV.
[0091] Here, it is assumed that the sum value corresponding to the second adjacent track Tu2 is greater than the sum value corresponding to the first adjacent track Tu1. When the first judgment unit 67 judges that the head HD has swung toward the second adjacent track Tu2 having a larger sum value, the second judgment unit 68 judges whether the sum value corresponding to the second adjacent track Tu2 has exceeded the above-mentioned threshold value.
[0092] If the total value does not exceed the threshold value, the calculation unit 62 calculates a fifth offtrack amount E5, which is an amount for shifting the center N of the head HD from the center (track center C) of the target track Tt toward the first adjacent track Tu1 having the smaller total value, based on the amount of shaking detected by the second detection unit 66. Thereafter, the write processing unit 61a positions the head HD so as to obtain the fifth offtrack amount E5, and writes data in the target range Rt.
[0093] Where: The coefficient is h and the amount of head shaking HD is Q. 0≦h≦1.0. Then, the fifth off-track amount E5 can be calculated by the following formula 1. E5=h×Q…(Formula 1)
[0094] The fifth off-track amount E5 is less than the fourth off-track amount E4 (E4>E5). In this case, the write counts of the second adjacent track Tu2 and the fourth adjacent track Tu4 can be reduced, so that the frequency of performing the refresh process on the disk DK can be reduced.
[0095] 10 is a schematic diagram showing five tracks T and a head HD, and shows a state in which the head HD is positioned without being off-track. Note that the usage state of the five tracks T in FIG. 10 is the same as that of the five tracks T in FIG. 9.
[0096] First, a case will be described where the head HD did not swing toward the second adjacent track Tu2 having a larger total value when data was previously written to the target track Tt. As shown in FIG. 10 and FIG. 1, when the first judgment unit 67 judges that the head HD has not swung toward the second adjacent track Tu2 having the larger total value, The second judgment unit 68 does not judge whether the sum exceeds the threshold value, The calculation unit 62 does not calculate the amount of off-track, The write processing unit 61a positions the head HD so that the center N of the head HD coincides with the center (track center C) of the target track Tt, and writes data in the target range Rt. Since the off-track amount E is 0, the write processing unit 61a can write data in the target range Rt in the normal manner.
[0097] Next, a case where the total value corresponding to the second adjacent track Tu2 exceeds the threshold value will be described. As shown in FIG. 10 and FIG. 1, when the second judgment unit 68 judges that the sum value corresponding to the second adjacent track Tu2 exceeds the threshold value, The calculation unit 62 does not calculate the amount of off-track, The refresh processing unit 69 reads data of the second adjacent track Tu2 (hereinafter also referred to as the target data), rewrites the target data to the second adjacent track Tu2 in order to refresh the second adjacent track Tu2, and resets the total value in the non-volatile memory 90 (storage unit) corresponding to the second adjacent track Tu2; The write processing unit 61a positions the head HD so that the center N of the head HD coincides with the center (track center C) of the target track Tt, and writes data in the target range Rt. In this case as well, since the off-track amount E is 0, the write processing unit 61a can write data in the target range Rt in the normal manner.
[0098] Next, the write processing method according to this embodiment will be described in conjunction with the operation of the magnetic disk device 1. Figures 11, 12, and 13 are flowcharts for explaining the write processing method according to this embodiment. 11, 1, and 5, when the write processing method is started, first, in step SP1, the MPU 60 judges whether or not an unused track is included in adjacent tracks Tu (first adjacent track Tu1 and second adjacent track Tu2) adjacent to the target track Tt. For example, when usage information indicating used tracks (used sectors) and unused tracks (unused sectors) is registered in advance and an unused track table that can be updated at any time is recorded in the non-volatile memory 90 (storage unit), the MPU 60 can make the judgment in step SP1 based on the unused track table.
[0099] When the first adjacent track Tu1 and the second adjacent track Tu2 include an unused track (step SP1), the process proceeds to step SP2, where the MPU 60 determines whether or not there are two or more consecutive unused tracks. Here, when the first adjacent track Tu1 is an unused track, the write position can be changed to the unused first adjacent track Tu1 side regardless of whether writing is performed in sector or track units.
[0100] In the example of FIG. 5, since there are not two or more consecutive unused tracks (step SP2), the process proceeds to step SP3, where the MPU 60 calculates the first off-track amount E1, writes the data in the target range Rt, and ends the write processing method.
[0101] On the other hand, in the example of Figure 6, since there are two or more consecutive unused tracks (first adjacent track Tu1 and third adjacent track Tu3) (step SP2), the process proceeds to step SP4, where the MPU 60 calculates the second off-track amount E2, writes the data to the target range Rt, and terminates the write processing method. As described above, the MPU 60 can position the head HD more appropriately by considering whether there are two or more consecutive unused tracks based on the unused track table (E2>E1).
[0102] As shown in Figures 12, 1, and 7, on the other hand, if the first adjacent track Tu1 and the second adjacent track Tu2 do not include any unused tracks (step SP1), the process proceeds to step SP5, and the MPU 60 determines whether all sectors within the adjacent range Rd (first adjacent range Rd1 and second adjacent range Rd2) adjacent to the target range Rt are unused. That is, if the first adjacent track Tu1 and the second adjacent track Tu2 are not unused tracks, the MPU 60 checks whether or not there is an unused range (area) in sector units.
[0103] In the example of FIG. 7, all sectors in the first adjacent range Rd1 are unused (step SP5), so the process proceeds to step SP6, where the MPU 60 determines whether there are two or more consecutive unused adjacent ranges Rd. In the example of Figure 7, since there are two or more consecutive unused adjacent ranges Rd (first adjacent range Rd1 and third adjacent range Rd3) (step SP6), the process proceeds to step SP7, where the MPU 60 calculates the third off-track amount E3, writes the data to the target range Rt, and terminates the write processing method.
[0104] On the other hand, in the example of FIG. 8, since there are not two or more consecutive unused adjacent ranges Rd (step SP6), the process proceeds to step SP8, where the MPU 60 calculates the fourth off-track amount E4, writes the data in the target range Rt, and ends the write processing method. As described above, the MPU 60 can position the head HD more appropriately by considering whether there are two or more consecutive unused adjacent ranges based on the unused track table (E3>E4).
[0105] As shown in Figures 13, 1, and 9, on the other hand, if all sectors in the first adjacent range Rd1 are not unused (step SP5), the process proceeds to step SP9, and the MPU 60 determines whether the head HD swung toward the adjacent track (second adjacent track Tu2) having a larger total value last time.
[0106] If the head HD swings toward the second adjacent track Tu2 (step SP9), the process proceeds to step SP10, where the MPU 60 determines whether the total value corresponding to the adjacent track (second adjacent track Tu2) on the side where the head HD swings exceeds a threshold value. In the example of Figure 9, since the total value corresponding to the second adjacent track Tu2 does not exceed the threshold value (step SP10), the process proceeds to step SP11, where the MPU 60 calculates the fifth off-track amount E5, writes the data in the target range Rt, and terminates the write processing method.
[0107] As shown in Figures 13, 1, and 10, on the other hand, if the total value corresponding to the second adjacent track Tu2 exceeds the threshold value (step SP10), the process proceeds to step SP12, where the MPU 60 refreshes the adjacent track (second adjacent track Tu2) on the side where the head HD wobbled, writes data to the target range Rt without off-track, and terminates the write processing method.
[0108] On the other hand, if the head HD did not swing toward the adjacent track (second adjacent track Tu2) having a larger total value last time (step SP9), the process proceeds to step SP13, and the MPU 60 writes data to the target range Rt without refresh processing or off-track, and ends the write processing method.
[0109] Next, the write processing method leading to the above step SP11, step SP12, or step SP13 will be described. FIG. 14 is a diagram showing the relationship between the relative track, the multiple total values, and the wobbling direction in a table according to Example 1 of this embodiment. FIG. 15 is a diagram showing the relationship between the relative track, the multiple total values, and the wobbling direction in a table according to Example 2 of this embodiment. FIG. 16 is a diagram showing the relationship between the relative track, the multiple total values, and the wobbling direction in a table according to Example 3 of this embodiment. The five tracks T described in FIG. 14 to FIG. 16 correspond to the target track Tt, the first adjacent track Tu1, the second adjacent track Tu2, the third adjacent track Tu3, and the fourth adjacent track Tu4 shown in FIG. 9 and FIG. 10.
[0110] 14, the total value of the third adjacent track Tu3 (the total of the added value k, or the total of the write count number) is "5", the total value of the first adjacent track Tu1 is "20", the total value of the second adjacent track Tu2 is "85", and the total value of the fourth adjacent track Tu4 is "60". For example, the total value of the second adjacent track Tu2 includes the added value when data is written to the target track Tt, the added value when data is written to the fourth adjacent track Tu4, etc.
[0111] For example, the ATI information management table is recorded in a non-volatile memory (storage unit) 90. ATI information indicating the correspondence between the track T and the total value is registered in advance in the ATI information management table, and the MPU 60 can update the ATI information at any time.
[0112] Here, the total value for which reading is guaranteed is set to 100. For example, when the total value of the second adjacent track Tu2 reaches "100", it means that reading the data of the second adjacent track Tu2 becomes difficult. Therefore, for example, "80", which is 80% of the total value (100) for which reading is guaranteed, is set as the threshold value.
[0113] The sum (85) of the second adjacent track Tu2 exceeds the threshold value (80). Furthermore, the previous time data was written to the target track Tt, the head HD swung toward the second adjacent track Tu2, which has a larger sum than the first adjacent track Tu1. The MPU 60 can detect whether the head HD swung toward the inner circumference ID or the outer circumference OD for each servo area SV. At that time, the MPU 60 detects the amount of head HD swung together with the direction of head HD swung, and can use this to calculate the fifth off-track amount E5.
[0114] From the above, the MPU 60 refreshes the second adjacent track Tu2 and resets the sum value corresponding to the second adjacent track Tu2 to 0. After that, the MPU 60 writes data to the target track Tt at the normal position.
[0115] By determining that the sum value corresponding to the second adjacent track Tu2 has exceeded a threshold value, the MPU 60 can detect that the second adjacent track Tu2 is a track with a high risk of read errors, and can perform a refresh process on the second adjacent track Tu2 early.
[0116] As shown in FIG. 15, the sum value of the third adjacent track Tu3 is "5", the sum value of the first adjacent track Tu1 is "20", the sum value of the second adjacent track Tu2 is "75", and the sum value of the fourth adjacent track Tu4 is "60".
[0117] The sum (75) of the second adjacent track Tu2 does not exceed the threshold (80). Furthermore, the previous time data was written to the target track Tt, the head HD swung toward the second adjacent track Tu2, which has a larger sum than the first adjacent track Tu1. Therefore, the MPU 60 calculates the fifth off-track amount E5, moves the head HD toward the first adjacent track Tu1 so as to obtain the fifth off-track amount E5, and writes data to the target track Tt. This allows the MPU 60 to suppress an increase in the sum corresponding to the second adjacent track Tu2.
[0118] Incidentally, when writing data to the target track Tt using the fifth off-track amount E5, as described above, one of the conditions is that the head HD is swinging toward another adjacent track Tu (e.g., the second adjacent track Tu2) having a greater total value than the adjacent track Tu (e.g., the first adjacent track Tu1).
[0119] However, data may be written to the target track Tt using the fifth off-track amount E5 only when the total value corresponding to the other adjacent track Tu (e.g., the second adjacent track Tu2) is equal to or greater than X times the total value corresponding to the adjacent track Tu (e.g., the first adjacent track Tu1). The write processing method may incorporate such restrictions as necessary. Note that, when the total value corresponding to the other adjacent track Tu (e.g., the second adjacent track Tu2) is less than X times the total value corresponding to the adjacent track Tu (e.g., the first adjacent track Tu1), data may be normally written to the target track Tt without off-tracking. It should be noted that the above X is a number greater than 1 (X>1).
[0120] For example, assuming that X=2, the sum value "75" of the second adjacent track Tu2 is more than twice (X times) the sum value "20" of the first adjacent track Tu1. The head HD can be moved toward the first adjacent track Tu1 so as to obtain the fifth off-track amount E5, and data can be written to the target track Tt. This allows the MPU 60 to suppress an increase in the sum value of the second adjacent track Tu2.
[0121] On the other hand, if it is assumed that X=2 and the total value of the second adjacent track Tu2 is changed to "25", the total value of the second adjacent track Tu2, "25", is less than twice (X times) the total value of the first adjacent track Tu1, "20". Data can be normally written to the target track Tt without going off-track. This makes it possible to evenly increase the total value of the first adjacent track Tu1 and the total value of the second adjacent track Tu2, in other words, to suppress an excessive increase in the total value of the first adjacent track Tu1.
[0122] As described above, even if the head HD swings toward the second adjacent track Tu2, which has a relatively large total value, there may be cases where data is normally written to the target track Tt, as in the example of FIG. 16 described later.
[0123] As shown in FIG. 16, the total value of the third adjacent track Tu3 is "5", the total value of the first adjacent track Tu1 is "20", the total value of the second adjacent track Tu2 is "85", and the total value of the fourth adjacent track Tu4 is "60". When data was written to the target track Tt last time, the head HD did not swing to the second adjacent track Tu2 side, which has a relatively large total value. In summary, the side of the adjacent track Tu, which has a relatively large total value, does not match the side on which the head HD swings. Therefore, the MPU 60 moves the head HD to the normal position without off-track and writes data to the target track Tt normally.
[0124] Next, k (k1 and k2) which is the additional value adjusted by the adjustment unit 63 will be described. 1 and 5, the additional value k has a first additional value k1 and a second additional value k2. When data is written to the target track Tt, the counter 64 counts the write count number of the first adjacent track Tu1 as k1 and the write count number of the second adjacent track Tu2 as k2. Here, the coefficient is v, the off-track amount is E, and the shaking amount of the head HD is Q.
[0125] And then, v≧1.0, k1=v^(α1×E+β1×Q), k2=v^(α2×E+β2×Q). α1, β1, α2, and β2 are each +1 or −1.
[0126] In detail, when the center N of the head HD is shifted from the center (track center C) of the target track Tt to the first adjacent track Tu1 side and data is written to the target track Tt, α1=+1 and α2=-1.
[0127] When the center N of the head HD is shifted from the center (track center C) of the target track Tt toward the second adjacent track Tu2 and data is written to the target track Tt, α1=-1 and α2=+1.
[0128] If the head HD swings toward the first adjacent track Tu1 when writing data to the target track Tt, β1=+1 and β2=-1.
[0129] If the head HD swings toward the second adjacent track Tu2 when writing data to the target track Tt, β1=-1 and β2=+1.
[0130] Next, k (k3 and k4) which is the additional value adjusted by the adjustment unit 63 will be described. 1 and 5, the additional value k has a third additional value k3 and a fourth additional value k4. When data is written to the target track Tt, the counter 64 counts the write count number of the third adjacent track Tu3 as k3 and the write count number of the fourth adjacent track Tu4 as k4. Here, the coefficient is w.
[0131] And then, 0 <w<1であり、 k3=w×k1, k4=w×k2.
[0132] Next, the configuration of a magnetic disk device of a comparative example and the effects of the above embodiment will be described in order. First, a magnetic disk device as a comparative example will be described. In magnetic disk drives, the data pattern of adjacent tracks deteriorates due to the influence of ATI, increasing the risk of read errors. In order to prevent or suppress read errors, a disk is refreshed. Here, the counter increment is calculated taking into account the influence of DOW (Drift Off Write). The counter increments an amount weighted according to the write off track (amount of fluctuation) from the center of the adjacent write target track, which changes with each write. If the increment per write is large, this leads to frequent refresh operations, which is one of the causes of performance degradation of magnetic disk drives.
[0133] A mechanism for managing the ATI count value and the write offset amount for each track and calculating a weighting value to be added to adjacent tracks according to the write offset amount is applied to the magnetic disk device. However, in the magnetic disk device of the comparative example, the write processing unit does not perform the write process based on the track usage information.
[0134] On the other hand, according to the magnetic disk device 1 and the write processing method according to the present embodiment configured as described above, the write processing unit 61a can perform the write processing based on the usage information of the multiple tracks T. The MPU 60 can detect adjacent tracks (adjacent sectors) that can relatively tolerate the influence of ATI, and move the data write position closer to the detected adjacent track (adjacent sector). Then, the influence of ATI on the opposite adjacent track (adjacent sector) can be mitigated. At this time, the additional value k for the adjacent track to which the data write position is closer increases, and the additional value k for the opposite adjacent track is subtracted by the amount of fluctuation. Since the frequency of the refresh process can be reduced, the performance of the magnetic disk device 1 can be improved.
[0135] Also, it is possible to check from the unused track table, servo information, and ATI information management table whether the first adjacent track Tu1 and the second adjacent track Tu2 on both sides of the target track Tt are unused tracks, whether the first adjacent track Tu1 and the second adjacent track Tu2 have unused sectors, whether the adjacent track Tu side having a relatively large total value coincides with the side where the head HD swings, and whether the total value for each track has a margin for the guaranteed total value (whether the total value for each track does not exceed a threshold value).Therefore, the off-track amount E can be calculated, and data can be written using the off-track amount E. From the above, it is possible to obtain a magnetic disk device 1 and a write processing method that are capable of efficiently rewriting data.
[0136] Although the embodiment of the present invention has been described, the above embodiment is presented as an example and is not intended to limit the scope of the invention. The above novel embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. The above embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims.
[0137] For example, the above-mentioned technology may be applied to a magnetic disk device of a shingled recording type and a magnetic disk device of a hybrid recording type that selectively executes a normal recording type and a shingled recording type. For example, in the hybrid recording type, the user data area U of the recording layer Y has a shingled recording area on the inner circumference side, and a normal recording area on the outer circumference side of the shingled recording area. This normal recording area may be called a conventional zone, and may be an area where data that is frequently rewritten, such as system files and metadata, is recorded. [Explanation of symbols]
[0138] 1...magnetic disk device, 60...MPU, 61...read / write processing unit, 62...calculation unit, 63...adjustment unit, 64...counter, 65...first detection unit, 66...second detection unit, 67...first judgment unit, 68...second judgment unit, 69...refresh processing unit, 70...volatile memory, 80...buffer memory, 90...non-volatile memory, 100...host, 110...system controller, 120...driver IC, 130...head amplifier IC, 140...R / W channel, 150...HDC, DK...disk, L...recording layer, T...track, Tt...target track, Tu...adjacent track, Rt...target range, Rd...adjacent range, St,Su...sector, C...track center, HD...head, N...center, E...off-track amount, Q...vibration amount, k...addition value, h,v,w...coefficients, d1...radial direction, d2...traveling direction, d3...rotation direction.
Claims
1. a disk having, in a recording layer, a target track including a target range having one or more sectors, a first adjacent track adjacent to the target track in a radial direction, and a second adjacent track adjacent to the target track in the radial direction and sandwiching the target track together with the first adjacent track in the radial direction; a head for writing data to the recording layer of the disk; a control unit having a first detection unit, a calculation unit, and a write processing unit; When writing data to the target range of the target track, the first detection unit detects usage information indicating a usage state of each of the first adjacent track and the second adjacent track; The calculation unit calculates an amount of off-track based on the usage information, the write processing unit positions the head so as to obtain the off-track amount, and writes data in the target range. Magnetic disk device.
2. the disk further includes a third adjacent track adjacent to the first adjacent track in the radial direction and sandwiching the first adjacent track together with the target track in the radial direction, and a fourth adjacent track adjacent to the second adjacent track in the radial direction and sandwiching the second adjacent track together with the target track in the radial direction, the first detection unit detects the usage information further indicating a usage state of the third adjacent track; the usage information includes first usage information indicating that the first adjacent track is entirely unused, the second adjacent track includes a used sector, and the third adjacent track includes a used sector; When the first detection unit detects the first usage information, when writing data to the target range of the target track, the calculation unit calculates a first off-track amount, which is an amount by which a center of the head is shifted from a center of the target track toward the first adjacent track, based on the first usage information; the write processing unit positions the head so as to obtain the first off-track amount, and writes data in the target range.
2. The magnetic disk drive according to claim 1.
3. the usage information includes second usage information indicating that the first adjacent track is entirely unused, the third adjacent track is entirely unused, and the second adjacent track includes a used sector; When the first detection unit detects the second usage information, when writing data to the target range of the target track, the calculation unit calculates a second off-track amount, which is an amount by which a center of the head is shifted from a center of the target track toward the first adjacent track, based on the second usage information; the write processing unit positions the head so as to obtain the second off-track amount and writes data in the target range; When the first off-track amount is E1 and the second off-track amount is E2, E2>E1; 3. The magnetic disk drive according to claim 2.
4. the first adjacent track includes a first adjacent range having all sectors adjacent to the target range, the second adjacent track includes a second adjacent range having all the sectors adjacent to the target range, the third adjacent track includes a third adjacent range having all sectors adjacent to the first adjacent range, the usage information includes third usage information indicating that all of the sectors in the first adjacent range are unused, that the first adjacent track includes a used sector outside the first adjacent range, that all of the sectors in the third adjacent range are unused, and that the second adjacent range includes a used sector; When the first detection unit detects the third usage information, when writing data to the target range of the target track, the calculation unit calculates a third off-track amount, which is an amount by which a center of the head is shifted from a center of the target track toward the first adjacent track, based on the third usage information; the write processing unit positions the head so as to obtain the third off-track amount and writes data in the target range; When the first off-track amount is E1 and the third off-track amount is E3, E1≧E3; 3. The magnetic disk drive according to claim 2.
5. the usage information includes fourth usage information indicating that all of the sectors in the first adjacent range are unused, that the first adjacent track includes a used sector outside the first adjacent range, that the third adjacent range includes a used sector, and that the second adjacent range includes a used sector; When the first detection unit detects the fourth usage information, when writing data to the target range of the target track, the calculation unit calculates a fourth off-track amount, which is an amount by which a center of the head is shifted from a center of the target track toward the first adjacent track, based on the fourth usage information; the write processing unit positions the head so as to obtain the fourth off-track amount and writes data in the target range; When the fourth off-track amount is E4, E3>E4; 5. The magnetic disk drive according to claim 4.
6. a storage unit configured to store a threshold value and a plurality of sum values, each of the sum values being a sum of write counts corresponding to a corresponding one of the plurality of tracks on the recording layer; the control unit further includes an adjustment unit, a counter, a second detection unit, a first determination unit, and a second determination unit; The adjustment unit is capable of adjusting the additional value k, the counter, when data is written to a specific track among the plurality of tracks on the recording layer, counts the write count number of each track located around the specific track as k, adds the k to each of the corresponding total values of the memory unit, and updates each of the total values; the second detection unit detects a direction and an amount of vibration of the head when data is written to the target area of the target track; the usage information includes fifth usage information indicating that the first adjacent range includes a used sector and that the second adjacent range includes a used sector; When the first detection unit detects the fifth usage information, when writing data to the target range of the target track, the first determination unit determines whether the head wobbled toward the first adjacent track or the second adjacent track in the previous time based on the plurality of total values stored in the storage unit and the wobble direction detected by the second detection unit when data was previously written to the target track; When the first determination unit determines that the head has swayed toward the second adjacent track having the larger sum, the second determination unit determines whether the sum corresponding to the second adjacent track has exceeded the threshold value; When the sum does not exceed the threshold value, the calculation unit calculates a fifth off-track amount, which is an amount by which the center of the head is shifted from the center of the target track toward the first adjacent track having the smaller sum, based on the amount of vibration detected by the second detection unit; the write processing unit positions the head so as to obtain the fifth off-track amount and writes data in the target range; When the fifth off-track amount is E5, E4>E5; 6. The magnetic disk drive according to claim 5.
7. If the coefficient is h and the amount of shaking is M, 0≦h≦1.0, E5=h×M; 7. The magnetic disk drive according to claim 6.
8. The sum k includes a first sum k1 and a second sum k2, the counter, when data is written to the target track, counts the write count number of the first adjacent track as k1 and counts the write count number of the second adjacent track as k2; If the coefficient is v, the off-track amount is E, and the sway amount is M, then v≧1.0, k1=v^(α1×E+β1×M), k2=v^(α2×E+β2×M), When the center of the head is shifted from the center of the target track to the first adjacent track side and data is written to the target track, α1=+1 and α2=−1, When the center of the head is shifted from the center of the target track to the second adjacent track side and data is written to the target track, α1=−1 and α2=+1, When the head swings toward the first adjacent track when writing data to the target track, β1=+1 and β2=−1, When the head swings toward the second adjacent track when writing data to the target track, β1=−1 and β2=+1, 7. The magnetic disk drive according to claim 6.
9. The sum k includes a third sum k3 and a fourth sum k4, the counter, when data is written to the target track, counts the write count number of the third adjacent track as k3 and counts the write count number of the fourth adjacent track as k4; If the coefficient is w, 0<w<1, k3=w×k1, k4=w×k2, 9. The magnetic disk drive according to claim 8.
10. When the first determination unit determines that the head has not swung toward the second adjacent track having the larger sum value, The second determination unit does not determine whether the sum exceeds the threshold value, The calculation unit does not calculate the off-track amount, the write processing unit positions the head so that the center of the head coincides with the center of the target track, and writes data in the target range.
7. The magnetic disk drive according to claim 6.
11. The head further reads data from the recording layer, The control unit further includes a refresh processing unit, When the second determination unit determines that the sum value corresponding to the second adjacent track exceeds the threshold value, The calculation unit does not calculate the off-track amount, the refresh processing unit reads the target data of the second adjacent track, rewrites the target data to the second adjacent track in order to refresh the second adjacent track, and resets the sum value in the storage unit corresponding to the second adjacent track; the write processing unit positions the head so that the center of the head coincides with the center of the target track, and writes data in the target range.
7. The magnetic disk drive according to claim 6.
12. A write processing method applied to a magnetic disk device including a disk having, in a recording layer, a target track including a target range having one or more sectors, a first adjacent track radially adjacent to the target track, and a second adjacent track radially adjacent to the target track and sandwiching the target track together with the first adjacent track in the radial direction, and a head for writing data to the recording layer of the disk, comprising: detecting usage information indicating a usage state of each of the first adjacent track and the second adjacent track; Calculating an off-track amount based on the usage information; positioning the head so as to obtain the off-track amount, and writing data in the target range; Light processing method.
Citation Information
Patent Citations
Magnetic disk unit and control method of the same
JP2018055735A
