Magnetic disk device
The magnetic disk device uses a controller to perform dual demodulation modes to ensure data writing continues despite servo mark failures, preventing capacity loss by utilizing previous sector data for timing, thus maintaining disk capacity.
Patent Information
- Application Number
- JP2023043420
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Magnetic disk devices experience a reduction in capacity due to the inability to write data when servo mark detection fails in short servo sectors, leading to the creation of unwritable areas.
The magnetic disk device employs a controller that performs first demodulation to detect servo marks and demodulate burst patterns, and if servo mark detection fails, it switches to a second demodulation mode to read servo data without detecting marks, allowing data writing to continue by using previous servo sector data for timing, thus preventing the creation of unwritable areas.
This approach prevents the reduction in capacity by ensuring data can be written even when servo mark detection fails, maintaining the disk's usable space by avoiding the creation of defective areas.
Smart Images

Figure 2024132586000001_ABST
Abstract
Description
[Technical field]
[0001] The present embodiment relates to a magnetic disk device. [Background technology]
[0002] A magnetic disk drive has a magnetic disk with servo sectors arranged at intervals in the circumferential direction. Servo data including servo marks and burst patterns is recorded in each servo sector. The servo marks are data that are used as a reference for adjusting the demodulation timing of the servo data. The burst patterns are data for detecting the offset amount of the magnetic head position from the track center.
[0003] In recent years, magnetic disk devices having normal servo sectors (hereinafter referred to as normal servo sectors) and short servo sectors have been considered. In such magnetic disk devices, in the short servo sectors, the burst pattern is demodulated based on the timing of detection of the servo mark in other servo sectors (for example, normal servo sectors). Therefore, if the detection of the servo mark in the other servo sector fails, data cannot be written in the data area following the short servo sector, which may cause a reduction in the capacity of the magnetic disk device. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] U.S. Patent No. 6,282,159 Summary of the Invention [Problem to be solved by the invention]
[0005] An object of one embodiment is to provide a magnetic disk drive capable of suppressing a decrease in capacity. [Means for solving the problem]
[0006] According to one embodiment, a magnetic disk device includes a magnetic disk, a magnetic head, and a controller. A plurality of first servo sectors in which servo data is recorded are arranged at intervals in the circumferential direction on the magnetic disk. The servo data includes a servo mark and a burst pattern recorded after the servo mark in the write / read direction along the circumferential direction. The magnetic disk includes a plurality of data areas each provided between two first servo sectors adjacent in the circumferential direction. The plurality of first servo sectors include a plurality of second servo sectors and a plurality of third servo sectors. M (where M is an integer equal to or greater than 1) third servo sectors out of the plurality of third servo sectors are arranged between two adjacent second servo sectors out of the plurality of second servo sectors. The controller executes a first demodulation on the servo data recorded in each of the plurality of second servo sectors, and executes a second demodulation on the servo data recorded in each of the plurality of third servo sectors, while writing data to the plurality of data areas by the magnetic head. The first demodulation is an operation of detecting a servo mark and demodulating a burst pattern. The second demodulation is an operation of demodulating a burst pattern without detecting a servo mark. If the detection of a servo mark fails in the first demodulation of the servo data recorded in the fourth servo sector, which is one of the multiple second servo sectors, the controller operates as follows. That is, the controller stops writing data. The controller performs the first demodulation on the servo data recorded in the fifth servo sector, which is the third servo sector immediately preceding the fourth servo sector in the write / read direction among the multiple third servo sectors. When the magnetic head reaches the fourth servo sector after performing the first demodulation on the servo data recorded in the fifth servo sector, the controller starts writing data from the data area immediately following the fourth servo sector among the multiple data areas. [Brief description of the drawings]
[0007] [Figure 1]FIG. 1 is a schematic diagram showing an example of the configuration of a magnetic disk device according to an embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing an example of the configuration of a magnetic disk according to the embodiment. [Diagram 3] FIG. 3 is a diagram for explaining an example of the positional relationship between the read head and the write head in the embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of a configuration of a normal servo sector according to the embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of a configuration of a short servo sector according to the embodiment. [Figure 6] FIG. 6 is a schematic diagram for explaining the NSV read mode of the embodiment. [Figure 7] FIG. 7 is a diagram for explaining an example of a method of managing the number of consecutive times that a servo mark cannot be detected according to an embodiment. [Figure 8] FIG. 8 is a diagram for explaining an example of control of a write operation by the controller of the embodiment in a case where detection of a servo mark is successful in all normal servo sectors. [Figure 9] FIG. 9 is a diagram for explaining an example of a write operation by the controller of the embodiment in a case where detection of a servo mark fails in a certain normal servo sector. [Figure 10] FIG. 10 is a diagram for explaining an example of a write operation by the controller of the embodiment in a case where detection of a servo mark fails in a certain normal servo sector. [Figure 11] FIG. 11 is a flowchart showing an example of an operation of manipulating the SM error counter by the controller of the embodiment. [Figure 12] FIG. 12 is a flowchart illustrating an example of control of a write operation by the controller of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] A magnetic disk device according to an embodiment will be described in detail below with reference to the accompanying drawings. Note that the present invention is not limited to the embodiment.
[0009] (Embodiment) FIG. 1 is a schematic diagram showing an example of the configuration of a magnetic disk device 1 according to an embodiment.
[0010] The magnetic disk device 1 is connected to a host 2. The magnetic disk device 1 can receive write commands, read commands, and the like from the host 2.
[0011] The magnetic disk device 1 includes a magnetic disk 11 having a magnetic layer formed on its surface. The magnetic disk device 1 writes data to the magnetic disk 11 and reads data from the magnetic disk 11 in response to an access command.
[0012] Data is written and read using a magnetic head 22. Specifically, in addition to a magnetic disk 11, the magnetic disk device 1 includes a spindle motor 12, a ramp 13, an actuator arm 15, a voice coil motor (VCM) 16, a motor driver IC (Integrated Circuit) 21, a magnetic head 22, a hard disk controller (HDC) 23, a head IC 24, a read / write channel (RWC) 25, a processor 26, a RAM 27, a Flash Read Only Memory (FROM) 28, and a buffer memory 29.
[0013] The magnetic disk 11 is rotated at a predetermined rotation speed by a spindle motor 12 attached coaxially thereto. The spindle motor 12 is driven by a motor driver IC 21.
[0014] The processor 26 controls the rotation of the spindle motor 12 and the rotation of the VCM 16 via the motor driver IC 21 .
[0015] The magnetic head 22 writes and reads data to and from the magnetic disk 11 by means of a write head 22w and a read head 22r provided thereto. The magnetic head 22 is attached to the tip of an actuator arm 15. The magnetic head 22 is moved in the radial direction of the magnetic disk 11 by a VCM 16 driven by a motor driver IC 21. Note that a plurality of either one or both of the write head 22w and the read head 22r provided to the magnetic head 22 may be provided for a single magnetic head 22.
[0016] When the magnetic disk 11 is not rotating, the magnetic head 22 is moved onto the ramp 13. The ramp 13 is configured to hold the magnetic head 22 at a position separated from the magnetic disk 11.
[0017] During a read operation, the head IC 24 amplifies and outputs a signal read by the magnetic head 22 from the magnetic disk 11, and supplies the signal to the RWC 25. During a write operation, the head IC 24 amplifies a signal corresponding to the data to be written, which is supplied from the RWC 25, and supplies the signal to the magnetic head 22.
[0018] The HDC 23 controls data transmission and reception between the host 2 and the HDC 20 via the I / F bus, controls the buffer memory 29, and performs error correction processing on the read data.
[0019] The buffer memory 29 is used as a buffer for data transmitted and received between the host 2. For example, the buffer memory 29 is used to temporarily store data to be written or data read from the magnetic disk 11.
[0020] The buffer memory 29 is, for example, configured by a volatile memory capable of high-speed operation. The type of memory configuring the buffer memory 29 is not limited to a specific type. The buffer memory 29 may be, for example, configured by a dynamic random access memory (DRAM), a static random access memory (SRAM), or a combination of these. The buffer memory 29 may also be configured by any non-volatile memory.
[0021] The RWC 25 modulates the data to be written that is supplied from the HDC 23 and supplies it to the head IC 24. The RWC 25 also demodulates a signal that is read from the magnetic disk 11 and supplied from the head IC 24, and outputs it to the HDC 23 as digital data.
[0022] The processor 26 is, for example, a CPU (Central Processing Unit). A RAM 27, a FROM (Flash Read Only Memory) 28, and a buffer memory 29 are connected to the processor 26.
[0023] The FROM 28 is a type of non-volatile memory. Firmware (program data) and various operation parameters are stored in the FROM 28. The firmware may be stored in the magnetic disk 11.
[0024] The RAM 27 is configured by, for example, DRAM, SRAM, or a combination of these. The RAM 27 is used as an operating memory by the processor 26. The RAM 27 is used as an area into which firmware is loaded and an area in which various management data is temporarily stored.
[0025] The processor 26 performs overall control of the magnetic disk device 1 in accordance with firmware stored in the FROM 28 or the magnetic disk 11. For example, the processor 26 loads firmware from the FROM 28 or the magnetic disk 11 into the RAM 27, and controls the motor driver IC 21, the head IC 24, the RWC 25, the HDC 23, and the like in accordance with the loaded firmware.
[0026] The configuration including the HDC 23, the RWC 25, and the processor 26 can also be considered as the controller 30. The controller 30 may include other elements (such as a RAM 27, a ROM 28, or a buffer memory 29) in addition to these.
[0027] The firmware program may be stored on the magnetic disk 11. Some or all of the functions of the processor 26 may be realized by a hardware circuit such as a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC).
[0028] 2 is a schematic diagram showing an example of the configuration of the magnetic disk 11 according to the embodiment. Note that this diagram shows an example of the rotation direction of the magnetic disk 11. The magnetic head 22 moves relative to the magnetic disk 11 as the magnetic disk 11 rotates. Therefore, the write / read direction, i.e., the direction in which data is written or read by the magnetic head 22 along the circumferential direction, is opposite to the rotation direction of the magnetic disk 11.
[0029] In the manufacturing process, servo data used for positioning the magnetic head 22 is written on the magnetic disk 11, for example, by a servo writer or by self-servo writing (SSW). As shown in Fig. 2, as an example of the arrangement of servo areas in which servo data is written, a plurality of servo areas SV arranged radially in the radial direction and at a predetermined interval in the circumferential direction are depicted. The space between two consecutive servo areas SV in the circumferential direction is used as a data area DA in which data is written.
[0030] The multiple servo areas SV include multiple normal servo areas NSV and multiple short servo areas SSV. Between two normal servo areas NSV adjacent to each other in the circumferential direction, M short servo areas SSV (where M is an integer of 1 or more) are arranged. According to the example shown in FIG. 2, the normal servo areas NSV and the short servo areas SSV are arranged alternately in the circumferential direction.
[0031] A plurality of concentric tracks 41 are set in the radial direction of the magnetic disk 11. A plurality of data sectors are continuously formed along each track 41 in the data area DA. The servo data written in the servo area SV is used to position the read head 22r or write head 22w of the magnetic head 22 on the target track 41. With the read head 22r or write head 22w positioned on the target track 41, user data is written or read to the target data sector.
[0032] Hereinafter, an area on the track 41 divided by normal servo areas NSV will be referred to as a normal servo sector NSV. An area on the track 41 divided by short servo areas SSV will be referred to as a short servo sector SSV. Moreover, normal servo sectors NSV and short servo sectors SSV will be collectively referred to as servo sectors SV. Moreover, each servo sector SV is identified by a servo sector number, which is a unique number within the track 41. A servo sector SV with a servo sector number of x (where x is an integer equal to or greater than 0) may be referred to as a servo sector SV#x.
[0033] The servo sector SV is an example of a first servo sector, the normal servo sector NSV is an example of a second servo sector, and the short servo sector SSV is an example of a third servo sector.
[0034] 3 is a diagram for explaining an example of the positional relationship between the read head 22r and the write head 22w in the embodiment. According to the example shown in this figure, the read head 22r and the write head 22w are arranged in the direction in which the actuator arm 15 extends. The read head 22r is disposed closer to the rotation axis of the actuator arm 15 than the write head 22w. When the magnetic head 22 is positioned on a certain data track, the write head 22w moves relative to the magnetic disk 11 after the read head 22r.
[0035] That is, a gap exists between the read head 22r and the write head 22w in the circumferential direction of the magnetic disk 11, and the write head 22w moves relative to the magnetic disk 11 so as to lag behind the read head 22r by the gap amount. The length of the gap in the circumferential direction between the read head 22r and the write head 22w is referred to as the read / write gap length.
[0036] The read / write gap length varies depending on the skew angle of the magnetic head 22. The skew angle of the magnetic head 22 varies depending on the radial position of the magnetic head 22. In other words, the read / write gap length varies depending on the radial position.
[0037] In a write operation, the read head 22r reads servo data from the servo area SV, and the write head 22w writes data to the data area DA in a time-division manner. However, since the write head 22w moves in the circumferential direction of the magnetic disk 11 with a delay of the read head 22r by the read / write gap length, an area where data cannot be written may occur in the data area DA immediately before the servo sector SV in the circumferential direction. Such an area where data cannot be written is referred to as an unwritable range in this specification.
[0038] In order to minimize the total capacity of the non-writable areas in the magnetic disk 11, the controller 30 does not read the servo data recorded in the front part of the short servo sector SSV during a write operation.
[0039] In a write operation, even if the read head 22r reaches a short servo sector SSV, the controller 30 can write data until the read head 22r reaches the rear part of the short servo sector SSV, so that the length of the non-writeable area existing in the data area DA immediately before the short servo sector SSV can be reduced. As a result, the total capacity of the non-writeable area in the magnetic disk 11 can be reduced.
[0040] The servo data recorded in the front portion of the short servo sector SSV may be read in a seek operation or a read operation. A read operation is an operation for reading data from the data area DA.
[0041] FIG. 4 is a diagram illustrating an example of a configuration of a normal servo sector NSV according to the embodiment.
[0042] In the following, when there are a first region and a second region along the write / read direction, and the first region is positioned such that the magnetic head passes over it before the second region, the position of the first region is defined as before the second region. The position of the second region is defined as after the first region. When there are multiple second regions, the second region that the magnetic head passes over next to the first region among the multiple second regions is referred to as the second region immediately behind the first region. When there are multiple first regions, the first region that the magnetic head passes over immediately before the second region among the multiple first regions is referred to as the first region immediately before the second region.
[0043] In the example shown in Figure 4, the normal servo sector NSV includes a preamble area PA in which a preamble is recorded, a servo mark area SM in which a servo mark is recorded, a gray code area GC in which a gray code is recorded, a burst area BP#1 in which a first burst pattern is recorded, a burst area BP#2 in which a second burst pattern is recorded, and a post code area PC in which a post code is recorded, which are arranged in this order in the write / read direction.
[0044] The preamble is a single periodic pattern data that changes periodically in the circumferential direction. The preamble is used to adjust the amplitude, phase and frequency of the sampling data when the servo waveform read by the read head 22r is input to the RWC 25 as sampling data based on the servo clock.
[0045] The servo marks are pattern data for adjusting the demodulation timing of the servo data. The controller 30 determines the demodulation timing of the various subsequent servo data based on the detection timing of the servo marks.
[0046] The gray code includes a cylinder address for identifying each track 41 provided on the magnetic disk 11 and a servo sector number that is a number for identifying each servo sector SV on the track 41 .
[0047] The first burst pattern and the second burst pattern are pattern data used to detect the amount of positional deviation from the track center of the track 41 indicated by the track number included in the Gray code. Assuming that the cylinder address included in the Gray code corresponds to an integer value among the radial position information, the decimal point information among the radial position information can be obtained by demodulating the first burst pattern and the second burst pattern. The controller 30 executes positioning control of the magnetic head 22 based on the calculated value of the current position of the magnetic head 22 obtained by demodulating the Gray code, the first burst pattern, and the second burst pattern.
[0048] An example of a servo gate waveform is further shown in Figure 4. Note that the servo gate waveform shown in this figure shows the waveform during a write operation.
[0049] The servo gate is a signal that the processor 26 sends to the RWC 25, and indicates a period during which demodulation of the servo data is permitted. In the example shown in Fig. 4, when the servo gate is at the "H" level, it indicates that demodulation of the servo data is permitted, and when the servo gate is at the "L" level, it indicates that demodulation of the servo data is not permitted. The RWC 25 demodulates the signal read by the read head 22r during the period during which the servo gate is at the "H" level.
[0050] Specifically, the RWC 25 determines the timing for demodulating the gray code, the timing for demodulating the first burst pattern, the timing for demodulating the second burst pattern, and the timing for demodulating the post code based on the timing at which the servo mark is detected, and demodulates each servo data. The demodulation of these servo data is performed while the servo gate is at the "H" level.
[0051] As described above, the write head 22w moves in the circumferential direction of the magnetic disk 11 after the read head 22r by the read / write gap length. During the period when the servo gate of the read head 22r is at the "H" level, writing of data via the write head 22w is prohibited. Therefore, as shown in FIG. 4, a write-disabled area is created in the data area DA immediately before the normal servo sector NSV.
[0052] Hereafter, transitioning the servo gate from "L" level to "H" level will be referred to as "opening the servo gate," and transitioning the servo gate from "H" level to "L" level will be referred to as "closing the servo gate."
[0053] 5 is a diagram showing an example of the configuration of a short servo sector SSV of an embodiment. In this figure, an example of a servo gate waveform is shown. The servo gate waveform shown in this figure shows a waveform during a write operation.
[0054] In the short servo sector SSV, a preamble area PA in which a preamble is recorded, a servo mark area SM in which a servo mark is recorded, a gray code area GC in which a gray code is recorded, a burst area BP#1 in which a first burst pattern is recorded, and a burst area BP#2 in which a second burst pattern is recorded are arranged in this order in the write / read direction. That is, in the example shown in Fig. 5, the short servo sector SSV has a configuration in which the postcode area PC is omitted from the normal servo sector NSV illustrated in Fig. 4.
[0055] The short servo sector SSV may have an area in which auxiliary pattern data is recorded after the burst area BP#2. The length of each area in the short servo sector SSV in the circumferential direction may be the same as or different from the length of the area of the same name in the normal servo sector NSV.
[0056] When the read head 22r passes the short servo sector SSV in a write operation, the processor 26 opens the servo gate at a preset timing when the read head 22r reaches the beginning of the burst area BP#1, and closes the servo gate at a preset timing when the read head 22r reaches the end of the burst area BP#2. Therefore, due to the waveform of this servo gate, reading of servo data is prohibited during the period when the magnetic head 22 passes the front part of the short servo sector SSV, that is, the preamble area PA, the servo mark area SM, and the gray code area GC in the example shown in Figure 5.
[0057] 5, the length from the beginning of the preamble area PA to the beginning of the burst area BP#1 is longer than the read / write gap length. Therefore, the controller 30 can write data to the data area DA immediately before the short servo sector SSV up to the beginning of the short servo sector SSV. In other words, it is suppressed that a non-writeable area occurs in the data area DA immediately before the short servo sector SSV.
[0058] 5 during a write operation, the controller 30 does not detect a servo mark in the short servo sector SSV. Therefore, the controller 30 determines the timing to demodulate the first burst pattern and the second burst pattern in the short servo sector SSV based on the timing at which the servo mark was detected in the servo sector SV (e.g., the normal servo sector NSV) before the short servo sector SSV.
[0059] Here, a technique to be compared with the embodiment will be described. The technique to be compared with the embodiment will be referred to as a comparative example. According to the comparative example, in a write operation, if the detection of a servo mark in a certain normal servo sector NSV (referred to as a first normal servo sector NSV) is repeated a predetermined number of times but is unsuccessful, the controller stores the entire section between the first normal servo sector NSV and the normal servo sector NSV immediately following the first normal servo sector NSV (referred to as a second normal servo sector NSV) as a defective area. Then, the controller prohibits writing to the defective area. That is, in a magnetic disk device in which M (where M is an integer equal to or greater than 1) short servo sectors SSV are arranged between two normal servo sectors NSV in the circumferential direction of the magnetic disk, the section of M+1 servo sectors SV becomes a defective area, and the area in which data can be written is greatly reduced. In other words, the capacity of the magnetic disk device is reduced.
[0060] In contrast, according to the embodiment, when the detection of the servo mark in the first normal servo sector NSV is not successful, the controller 30 can read servo data from the short servo sector SSV immediately before the first normal servo sector NSV and the short servo sector SSV arranged after the first normal servo sector NSV in the same mode as the reading of servo data from the normal servo sector NSV. This prevents the occurrence of defective areas caused by the failure to detect the servo mark in the first normal servo sector NSV, and suppresses the reduction in the capacity of the magnetic disk device 1.
[0061] Hereinafter, the mode of reading servo data from a short servo sector SSV, which is similar to the mode of reading servo data from a normal servo sector NSV, will be referred to as an NSV read mode.
[0062] FIG. 6 is a schematic diagram for explaining the NSV read mode of the embodiment.
[0063] In the NSV read mode, the processor 26 opens the servo gate at a preset timing when the read head 22r reaches the beginning of the preamble area PA, and closes the servo gate at a preset timing when the read head 22r reaches the end of the burst area BP#2, for example.
[0064] Therefore, the RWC 25 demodulates the servo data recorded in each area while passing through the front part of the short servo sector SSV, that is, the preamble area PA, the servo mark area SM, and the gray code area GC. In other words, in the NSV read mode, the controller 30 also detects the servo mark in the short servo sector SSV.
[0065] The demodulation operation of the servo data according to the servo gate waveforms illustrated in Figures 4 and 6 is an example of the first demodulation. The demodulation operation of the servo data according to the servo gate waveform illustrated in Figure 5 is an example of the second demodulation.
[0066] In order to maintain the reliability of the positioning accuracy, the controller 30 is configured to count the number of times that the servo mark cannot be detected consecutively, and to stop the write operation and retry when the count value exceeds a threshold value. In order to allow writing to the data area DA immediately behind the short servo sector SSV, the threshold value is set to M, which is the number of short servo sectors SSV arranged between two normal servo sectors NSV adjacent in the circumferential direction. For example, in the example shown in FIG. 2, the threshold value is set to "1".
[0067] 7 is a diagram for explaining an example of a method of managing the number of consecutive times a servo mark could not be detected according to an embodiment. In the example shown in this diagram, an SM error counter 271 is stored in the RAM 27. When a servo mark detection failure occurs, the controller 30 increments the SM error counter 271 by "1". When a servo mark detection is successful, the controller 30 resets the SM error counter 271 to "0".
[0068] Next, a specific example of the control of the write operation by the controller 30 of the embodiment will be described.
[0069] FIG. 8 is a diagram for explaining an example of control of the write operation by the controller 30 of the embodiment in a case where detection of the servo mark is successful in all normal servo sectors NSV.
[0070] 8 shows a plurality of data sectors DS in a section from servo sector SV#N to servo sector SV#N+4 in a certain track 41. Servo sector SV#N, servo sector SV#N+2, and servo sector SV#N+4 are normal servo sectors NSV. Servo sector SV#N+1 and servo sector SV#N+1 are short servo sectors SSV. The plurality of data sectors DS include data sectors DS#L to DS#L+6. A servo gate waveform is drawn superimposed on the track 41.
[0071] Furthermore, the result of servo mark detection for each servo sector SV and the value of the SM error counter 271 are shown. "SM OK" indicates that the servo mark detection was successful, and "SM NG" indicates that the servo mark detection was unsuccessful.
[0072] When the controller 30 writes the data sectors DS#L to DS#L+6 in one rotation of the magnetic disk 11, it succeeds in detecting the servo mark in the servo sectors SV#N, SV#N+2, and SV#N+4, which are normal servo sectors NSV, but fails to detect the servo mark in the servo sectors SV#N+1 and SV#N+1, which are short servo sectors SSV.
[0073] The SM error counter 271 is set to "0" in response to the success of detection of a servo mark in the servo sector SV#N, which is a normal servo sector NSV, and is changed to "1" in response to the failure of detection of a servo mark in the servo sector SV#N+1, which is a short servo sector SSV. After that, the SM error counter 271 is again set to "0" in response to the success of detection of a servo mark in the servo sector SV#N+2, which is a normal servo sector NSV, and is again changed to "1" in response to the failure of detection of a servo mark in the servo sector SV#N+3, which is a short servo sector SSV. After that, the SM error counter 271 is set to "0" in response to the success of detection of a servo mark in the servo sector SV#N+4, which is a normal servo sector NSV.
[0074] In this way, the SM error counter 271 never exceeds "1" during the illustrated period. Therefore, writing of each data sector DS is executed during the illustrated period.
[0075] 9 and 10 are diagrams for explaining an example of a write operation by the controller of the embodiment in a case where detection of a servo mark fails in a certain normal servo sector NSV.
[0076] The controller 30 writes data up to the data area DA immediately preceding the servo sector SV#N+2, which is a normal servo sector NSV. If detection of the servo mark fails in the servo sector SV#N+2, the SM error counter 271 in the servo sector SV#N+2 becomes "2" as shown in Fig. 9A, and the SM error counter 271 exceeds the threshold value "1". Then, the controller 30 stops the write operation from the servo sector SV#N+2 onwards.
[0077] Next, the controller 30 sets the read mode of the servo sector SV#N+1, which is the short servo sector SSV immediately before the servo sector SV#N+2, to the NSV read mode as shown in (B) of Fig. 9. Then, the controller 30 retries the write operation to the data area DA after the servo sector SV#N+2.
[0078] Since the servo sector SV#N+1 is set to the NSV read mode, when a retry of the write operation is performed, the servo mark is demodulated in the servo sector SV#N+1. If the servo mark is successfully detected in the servo sector SV#N+1, the SM error counter 271 is set to "0". Even if the servo mark is again not detected in the servo sector SV#N+2, which is a normal servo sector NSV, the SM error counter 271 is set to "1" and is maintained in a state not exceeding the threshold value "1". Therefore, the controller 30 executes the writing of data to the data area DA immediately behind the servo sector SV#N+2.
[0079] That is, in the next rotation of the magnetic disk 11 after the write operation of the servo sectors SV#N+2 and after is stopped, the controller 30 executes demodulation in the NSV read mode for the servo data recorded in the servo sector SV#N+1. Then, if the controller 30 succeeds in demodulating the servo mark from the servo data recorded in the servo sector SV#N+1, when the magnetic head 22 reaches the servo sector SV#N+2, the controller 30 resumes the write operation from the data area DA immediately behind the servo sector SV#N+2.
[0080] Next, servo sector SV#N+3, which is the servo sector SV that is M+1 sectors (i.e., two sectors) behind servo sector SV#N+1, is a short servo sector SSV, so detection of the servo mark fails. This causes SM error counter 271 to be set to "2." Since SM error counter 271 exceeds the threshold value "1," controller 30 stops write operations from servo sector SV#N+3 onward, as shown in FIG. 9C.
[0081] Next, the controller 30 sets the read mode of the servo sector SV#N+3 to the NSV read mode as shown in (A) of Fig. 10. Then, the controller 30 retries the write operation to the data area DA after the servo sector SV#N+3.
[0082] Since the servo sector SV#N+3 is set to the NSV read mode, when a retry of the write operation is performed, the servo mark is demodulated in the servo sector SV#N+3. If the servo mark is successfully detected in the servo sector SV#N+3, the SM error counter 271 is set to "0" and is maintained in a state not exceeding the threshold value "1". Therefore, the controller 30 executes the writing of data to the data area DA immediately following the servo sector SV#N+3, as shown in FIG. 10B.
[0083] That is, in the next rotation of the magnetic disk 11 after the write operation of the servo sector SV#N+3 and after is stopped, the controller 30 executes demodulation in the NSV read mode for the servo data recorded in the servo sector SV#N+3. Then, when the controller 30 succeeds in demodulating the servo mark from the servo data recorded in the servo sector SV#N+3, it resumes the write operation from the data area DA immediately following the servo sector SV#N+3.
[0084] If the servo mark is successfully detected in servo sector SV#N+4, which is a normal servo sector NSV, the SM error counter 271 is reset to "0." Since the SM error counter 271 does not exceed the threshold value "1," the controller 30 executes the writing of data to the data area DA immediately following the servo sector SV#N+4.
[0085] Thus, according to the embodiment, if detection of a servo mark fails in the first normal servo sector NSV (e.g., servo sector SV#N+2 in FIG. 9A), the read mode of the first short servo sector SSV (e.g., servo sector SV#N+1 in FIG. 9B), which is the short servo sector SSV immediately before the first normal servo sector NSV, is set to the NSV read mode and a write operation is retried. This makes it possible to prevent the data area DA immediately after the first normal servo sector NSV from being considered a defective area, and therefore, unlike the comparative example, it is possible to suppress a reduction in the capacity of the magnetic disk device 1.
[0086] Furthermore, according to the embodiment, the controller 30 stops the read operation in the second short servo sector SSV (for example, servo sector SV#N+3 in FIG. 9C), which is the short servo sector SSV after the first normal servo sector NSV, when the SM error counter 271 exceeds the threshold value "1". Then, the controller 30 sets the read mode of the second short servo sector SSV to the NSV read mode and executes a retry of the write operation. This makes it possible to prevent the data area DA immediately after the second normal servo sector NSV from being regarded as a defective area, and thus makes it possible to further suppress a reduction in the capacity of the magnetic disk device 1.
[0087] According to the embodiment, when the read mode of a certain short servo sector SSV is set to the NSV read mode, the data write to the data area DA immediately before the short servo sector SSV is completed. Therefore, setting the read mode of the short servo sector SSV to the NSV read mode does not cause a write-disabled area.
[0088] That is, according to the embodiment, it is possible to prevent a reduction in the capacity of the magnetic disk device 1 caused by failure to detect servo marks in the normal servo sectors NSV.
[0089] Next, a method for controlling the magnetic disk device 1 by the controller 30 of the embodiment will be described.
[0090] 11 is a flowchart showing an example of the operation of the controller 30 according to the embodiment to operate the SM error counter 271. A series of operations shown in the figure is executed every time the magnetic head 22 passes over each servo sector SV.
[0091] When the magnetic head 22 passes a certain servo sector SV (S101), the controller 30 judges whether the detection of the servo mark recorded in the turbo sector SV is successful or not (S102). If the passed servo sector SV is a short servo sector SSV and the servo gate is opened and closed in the pattern illustrated in FIG. 5, the demodulation of the servo mark is not performed, so the controller 30 judges that the detection of the servo mark is not successful. Even if the demodulation of the servo mark is performed in the passed servo sector SV, if the demodulation fails due to a defect contained in the servo mark, the controller 30 judges that the detection of the servo mark is not successful. If the demodulation of the servo mark in the passed servo sector SV is successful, the controller 30 judges that the detection of the servo mark is successful.
[0092] If the servo mark detection is successful (S102: Yes), the controller 30 resets the SM error counter 271 to "0" (S103). If the servo mark detection is not successful (S102: No), the controller 30 increments the SM error counter 271 by "1" (S104). After the process of step S103 or step S104, the operation of operating the SM error counter 271 ends.
[0093] 12 is a flowchart showing an example of write operation control by the controller 30 of the embodiment. This diagram shows the operation when passing through a servo sector SV immediately before a certain data area DA to be written.
[0094] When the magnetic head 22 passes the servo sector immediately before the data area DA to be written (S201), the controller 30 executes the operation of the SM error counter 271 (S202). In step S202, the controller 30 executes, for example, the series of operations shown in FIG.
[0095] In the explanation of FIG. 12, the servo sector immediately before the data area DA to be written is represented as the target servo sector SV.
[0096] Then, the controller 30 judges whether the SM error counter 271 has exceeded a threshold value (S203). For example, M is set as the threshold value in advance.
[0097] If the SM error counter 271 does not exceed the threshold value (S203: No), the controller 30 executes a write of the data to the write-target data area DA (S204), and the series of operations ends.
[0098] If the SM error counter 271 exceeds the threshold value (S203: Yes), the controller 30 determines whether the target servo sector SV is a normal servo sector NSV (S205).
[0099] If the target servo sector SV is a normal servo sector NSV (S205: Yes), the read mode of the short servo sector SSV immediately preceding the target servo sector SV is set to the NSV read mode (S206).
[0100] If the target servo sector SV is not a normal servo sector NSV (S205: No), that is, if the target servo sector SV is a short servo sector SSV, the read mode of the target servo sector SV is set to the NSV read mode (S207).
[0101] After the process of step S206 or step S276, the controller 30 retries the write operation (S208). That is, after the magnetic disk 11 rotates once, the operation from step S201 is executed again.
[0102] The controller 30 performs the controls exemplified in FIGS. 11 and 12, thereby realizing the operations exemplified in FIGS.
[0103] In the above description, when the detection of the servo mark in the first normal servo sector NSV fails, the controller 30 sets the read mode of the short servo sector SSV immediately before the first normal servo sector NSV to the NSV read mode in the first retry of the write operation, and then sets the read mode of the second short servo sector SSV after the first normal servo sector NSV to the NSV read mode in the second retry of the write operation. The operation of the controller 30 when the detection of the servo mark in the first normal servo sector NSV fails is not limited to this.
[0104] For example, when the detection of the servo mark in the first normal servo sector NSV fails, the controller 30 may set both the read mode of the first short servo sector SSV and the read mode of the second short servo sector SSV to the NSV read mode and execute the first retry of the read operation. When the controller 30 is configured in this way, a write-disabled range occurs immediately before the second short servo sector SSV, but the total number of retries of the write operation can be suppressed.
[0105] As described above, according to the embodiment, a plurality of first servo sectors (e.g., a plurality of servo sectors SV) are arranged at intervals in the circumferential direction on the magnetic disk 11. The plurality of first servo sectors includes a plurality of second servo sectors (e.g., a plurality of normal servo sectors NSV) and a plurality of third servo sectors (e.g., a plurality of short servo sectors SSV). Between two adjacent second servo sectors among the plurality of second servo sectors, M (where M is an integer equal to or greater than 1) third servo sectors among the plurality of third servo sectors are arranged. The controller 30 executes a first demodulation on the servo data recorded in each of the plurality of second servo sectors, and executes a second demodulation on the servo data recorded in each of the plurality of third servo sectors, while executing data writing to the plurality of data areas DA by the magnetic head 22. The first demodulation is an operation of detecting servo marks and demodulating a burst pattern. The second demodulation is an operation of demodulating a burst pattern without detecting servo marks. If the detection of a servo mark fails in the first demodulation of the servo data recorded in a fourth servo sector (e.g., servo sector SV#N+2 in FIG. 9), which is one of the second servo sectors, the controller 30 stops writing data. Then, the controller 30 executes the first demodulation of the servo data recorded in a fifth servo sector (e.g., servo sector SV#N+1 in FIG. 9), which is the third servo sector immediately preceding the fourth servo sector in the write / read direction among the third servo sectors. Then, when the magnetic head 22 reaches the fourth servo sector after executing the first demodulation of the servo data recorded in the fifth servo sector, the controller 30 starts writing data from the data area DA immediately following the fourth servo sector among the multiple data areas DA.
[0106] Therefore, the data area DA immediately following the fourth servo sector can be prevented from being determined as a defective area, and therefore, unlike the comparative example, a reduction in the capacity of the magnetic disk device 1 can be suppressed.
[0107] Also, according to an embodiment, if the controller 30 fails to detect a servo mark in the first demodulation of the servo data recorded in the fourth servo sector, the controller 30 performs the first demodulation on the servo data recorded in the sixth servo sector (for example, servo sector SV#N+3 in Figure 10), which is the third servo sector after the fourth servo sector in the write / read direction among the multiple third servo sectors.
[0108] Therefore, the data area DA immediately following the sixth servo sector can be prevented from being regarded as a defective area, so that the reduction in the capacity of the magnetic disk device 1 can be further suppressed.
[0109] As described above, the first demodulation for the fifth servo sector and the first demodulation for the sixth servo sector may be performed in the first retry of the write operation. Alternatively, the first demodulation for the fifth servo sector may be performed in the first retry of the write operation, and the first demodulation for the sixth servo sector may be performed in the second retry of the write operation.
[0110] Furthermore, according to the embodiment, the controller 30 starts writing data from the data area DA immediately behind the fourth servo sector, and then stops writing data again when the magnetic head 22 passes a seventh servo sector (e.g., servo sector SV#N+3 in FIG. 10) which is the first servo sector that is M+1 sectors behind the fifth servo sector in the write / read direction among the multiple first servo sectors. Then, the controller 30 executes a first demodulation on the servo data recorded in the seventh servo sector, and starts writing data again from the data area DA immediately behind the seventh servo sector among the multiple data areas DA.
[0111] Therefore, the occurrence of a non-writable area in the data area DA immediately before the seventh servo sector can be suppressed, and the reduction in the capacity of the magnetic disk device 1 can be further suppressed.
[0112] Also, according to the embodiment, the controller 30 counts the number of times the servo mark cannot be detected consecutively, and stops writing data when the count value exceeds M. If the eighth servo sector, which is the first servo sector that the magnetic head has passed when the count value becomes M+1, is one of the multiple second servo sectors (for example, the case where it is determined as Yes in step S205 in FIG. 12), the controller 30 executes the first demodulation on the servo data recorded in the ninth servo sector, which is the third servo sector immediately before the eighth servo sector in the write / read direction among the multiple third servo sectors, and starts writing data from the data area immediately behind the eighth servo sector among the multiple data areas when the magnetic head reaches the eighth servo sector after executing the first demodulation on the servo data recorded in the ninth servo sector. If the eighth servo sector is one of the multiple third servo sectors (for example, if the result is No in step S205 in FIG. 12), a first demodulation is performed on the servo data recorded in the eighth servo sector, and data writing is started from the data area immediately following the eighth servo sector among the multiple data areas.
[0113] Therefore, the operations illustrated in FIGS. 8 to 10 are realized, which makes it possible to suppress a reduction in the capacity of the magnetic disk device 1.
[0114] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0115] 1 magnetic disk device, 2 host, 11 magnetic disk, 12 spindle motor, 13 lamp, 15 actuator arm, 21 motor driver IC, 22 magnetic head, 22r read head, 22w write head, 23 HDC, 24 head IC, 25 RWC, 26 processor, 27 RAM, 28 FROM, 29 buffer memory, 30 controller, 41 track, 271 SM error counter.
Claims
1. a magnetic disk, in which a plurality of first servo sectors in which servo data including a servo mark and a burst pattern recorded behind the servo mark in a write / read direction along the circumferential direction are arranged at intervals in a circumferential direction, each of which has a plurality of data areas provided between two first servo sectors adjacent in the circumferential direction, the plurality of first servo sectors including a plurality of second servo sectors and a plurality of third servo sectors, and M (M is an integer of 1 or more) third servo sectors of the plurality of third servo sectors are arranged between two adjacent second servo sectors of the plurality of second servo sectors; A magnetic head; performing a first demodulation on the servo data recorded in each of the plurality of second servo sectors and a second demodulation on the servo data recorded in each of the plurality of third servo sectors, while performing data writing to the plurality of data areas by the magnetic head, the first demodulation being an operation of detecting the servo marks and demodulating the burst pattern, and the second demodulation being an operation of demodulating the burst pattern without detecting the servo marks; When the detection of the servo mark fails in the first demodulation of the servo data recorded in a fourth servo sector that is one of the plurality of second servo sectors, Stop writing the data, performing the first demodulation on the servo data recorded in a fifth servo sector, which is a third servo sector immediately preceding the fourth servo sector in the write / read direction among the plurality of third servo sectors; when the magnetic head reaches the fourth servo sector after performing the first demodulation on the servo data recorded in the fifth servo sector, writing of the data is started from a data area immediately behind the fourth servo sector among the plurality of data areas. A controller; A magnetic disk device comprising:
2. when detection of the servo mark fails in the first demodulation of the servo data recorded in the fourth servo sector, the controller executes the first demodulation on the servo data recorded in a sixth servo sector, which is a third servo sector following the fourth servo sector in the write / read direction among the plurality of third servo sectors.
2. The magnetic disk drive according to claim 1.
3. The controller: after starting to write the data from the data area immediately behind the fourth servo sector, stopping the writing of the data again when the magnetic head passes a seventh servo sector which is a first servo sector that is M+1 behind the fifth servo sector in the write / read direction among the plurality of first servo sectors, performing the first demodulation on the servo data recorded in the seventh servo sector, and restarting writing of the data from a data area immediately following the seventh servo sector among the plurality of data areas; A controller; 2. The magnetic disk drive according to claim 1.
4. The controller: Counting the number of times the servo mark cannot be detected consecutively, and when the count value exceeds M, stopping writing of the data; when the count value reaches M+1, and the eighth servo sector which is the first servo sector passed by the magnetic head is one of the plurality of second servo sectors, the first demodulation is performed on the servo data recorded in a ninth servo sector which is the third servo sector immediately preceding the eighth servo sector in the write / read direction among the plurality of third servo sectors, and when the magnetic head reaches the eighth servo sector after performing the first demodulation on the servo data recorded in the ninth servo sector, writing of the data is started from the data area immediately following the eighth servo sector among the plurality of data areas; when the eighth servo sector is one of the plurality of third servo sectors, the first demodulation is performed on the servo data recorded in the eighth servo sector, and writing of the data is started from a data area immediately behind the eighth servo sector among the plurality of data areas.
2. The magnetic disk drive according to claim 1.
5. a magnetic disk, in which a plurality of first servo sectors in which servo data including a servo mark and a burst pattern recorded behind the servo mark in a write / read direction along the circumferential direction are arranged at intervals in a circumferential direction, each of which has a plurality of data areas provided between two first servo sectors adjacent in the circumferential direction, the plurality of first servo sectors including a plurality of second servo sectors and a plurality of third servo sectors, and M (M is an integer of 1 or more) third servo sectors of the plurality of third servo sectors are arranged between two adjacent second servo sectors of the plurality of second servo sectors; A magnetic head; performing a first demodulation on the servo data recorded in each of the plurality of second servo sectors and a second demodulation on the servo data recorded in each of the plurality of third servo sectors, while performing data writing to the plurality of data areas by the magnetic head, the first demodulation being an operation of detecting the servo marks and demodulating the burst pattern, and the second demodulation being an operation of demodulating the burst pattern without detecting the servo marks; when retrying writing data to the plurality of data areas, the first demodulation is performed on the servo data recorded in one of the plurality of third servo sectors. A controller; A magnetic disk device comprising:
Citation Information
Patent Citations
Data recording method and device for optical memory card capable of stopping recording upon detection of synchronization error
US6282159B1
