Magnetic disk device and data format setting method

By adjusting the demagnetization conditions of the write head, the data format is optimized according to the resistance value of the auxiliary components, the data erasing problem caused by residual magnetization in the disk device is solved, and the format efficiency is improved.

CN114121045BActive Publication Date: 2024-12-06KK TOSHIBA +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110032356.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-08-27
Filing Date
2021-01-11
Publication Date
2024-12-06
Estimated Expiration
2041-01-11

AI Technical Summary

Technical Problem

After the disk device stops the data writing process, the recording current or recording voltage gradually decays, resulting in residual magnetization, which in turn affects the data format efficiency. The prior art solves the problem by setting gaps, but this may reduce the format efficiency of the disk.

Method used

The disk device adjusts the demagnetization conditions of the write head according to the resistance value of the auxiliary element through the coordination of the read head, the write head and the auxiliary element, optimizes the data format, and reduces the length of the demagnetization area, thereby improving format efficiency.

Benefits of technology

It effectively avoids data erasing problems caused by residual magnetization, expands the user data area, and improves the efficiency of the disk format.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114121045B_ABST
    Figure CN114121045B_ABST
Patent Text Reader

Abstract

The embodiment provides a magnetic disk device and a method for setting a data format that can improve format efficiency. The magnetic disk device involved in the embodiment comprises: a disk; a head having a read head, a write head, and an auxiliary element, the read head reading data from the disk, the write head writing data to the disk, and the auxiliary element generating energy that improves the writing performance of the write head; and a controller that adjusts a demagnetization condition of demagnetization after the writing process of the write head is stopped, which affects the resistance value, based on the resistance value of the auxiliary element measured after writing data to the disk, and adjusts the data format of the disk according to the demagnetization condition.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority based on Japanese Patent Application No. 2020-143291 (filing date: August 27, 2020), and the present application incorporates the entire contents of the basic application by reference. Technical Field

[0002] Embodiments of the present invention relate to a magnetic disk device and a method for setting a data format. Background Art

[0003] In order to achieve high recording density and high recording capacity of magnetic disk devices, high-frequency (microwave) assisted magnetic recording (MAMR), thermally assisted magnetic recording (TAMR), etc. have been developed. The high-frequency assisted recording type is a technology that applies a high-frequency magnetic field generated by energizing the high-frequency oscillator to the disk by using a magnetic head having a recording magnetic pole (main magnetic pole) and a high-frequency oscillator, thereby reducing the coercive force of the portion of the disk to which the high-frequency magnetic field is applied. The recording magnetic pole (main magnetic pole) is excited by applying a recording current to generate a recording magnetic field. The thermally assisted magnetic recording type is a technology that locally heats the disk by irradiating light to the disk from the front end of the light irradiation element using a magnetic head having a light irradiation element for irradiating light to the disk, thereby reducing the coercive force of the heated portion of the disk.

[0004] When the magnetic disk device stops writing data before the predetermined data, the recording current or recording voltage applied to the recording coil gradually decays, and therefore, residual magnetization is generated in the head 15 due to the recording current or recording voltage. In order to prevent the data from being erased by the residual magnetization, the magnetic disk device provides an area such as a gap immediately before the data. By providing such a gap, the format efficiency of the disk may be reduced. Summary of the invention

[0005] Embodiments of the present invention provide a magnetic disk device and a method for setting a data format that can improve format efficiency.

[0006] The magnetic disk device involved in this embodiment comprises: a disk; a head, which has a read head, a write head and an auxiliary element, the read head reads data from the disk, the write head writes data to the disk, and the auxiliary element generates energy that improves the writing performance of the write head; and a controller, which adjusts the demagnetization conditions of the write head after the writing process is stopped, which affects the resistance value, based on the resistance value of the auxiliary element measured after the data is written to the disk, and adjusts the data format of the disk according to the demagnetization conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 This is a block diagram showing the structure of a magnetic disk device according to an embodiment.

[0008] Figure 2 This is a schematic diagram showing an example of the arrangement of the head relative to the disk according to the embodiment.

[0009] Figure 3 It is an enlarged cross-sectional view showing an example of a disk and a head according to the embodiment.

[0010] Figure 4 This is a schematic diagram showing an example of a demagnetization operation.

[0011] Figure 5 It is a schematic diagram showing an example of a method of adjusting the demagnetization conditions corresponding to the head according to the embodiment.

[0012] Figure 6 It is a schematic diagram showing an example of a method of adjusting the demagnetization conditions corresponding to the head according to the embodiment.

[0013] Figure 7 This is a schematic diagram showing an example of a format of the surface of a disk corresponding to a head according to an embodiment.

[0014] Figure 8 This is a schematic diagram showing an example of the format of the back side of the disk corresponding to the head according to the embodiment.

[0015] Fig. 9 This is a flowchart showing an example of a method for setting a data format according to an embodiment. DETAILED DESCRIPTION

[0016] Hereinafter, the embodiments will be described with reference to the drawings. Note that the drawings are examples and do not limit the scope of the invention.

[0017] (Implementation Method)

[0018] Figure 1 It is a block diagram showing the structure of the magnetic disk device 1 according to the embodiment.

[0019] The magnetic disk device 1 includes a head disk assembly (HDA) described later, a driver IC 20, a head amplifier integrated circuit (hereinafter referred to as a head amplifier IC or a preamplifier) ​​30, a volatile memory 70, a nonvolatile memory 80, a buffer memory (cache) 90, and a system controller 130 which is an integrated circuit of a single chip. In addition, the magnetic disk device 1 is connected to a host system (hereinafter referred to as a host) 100.

[0020] The HAD includes a magnetic disk (hereinafter referred to as a disk) 10, a spindle motor (hereinafter referred to as an SPM) 12, an arm 13 on which a head 15 is mounted, and a voice coil motor (hereinafter referred to as a VCM) 14. The disk 10 is mounted on the SPM 12 and rotated by the drive of the SPM 12. The arm 13 and the VCM 14 constitute an actuator. The actuator controls the movement of the head 15 mounted on the arm 13 to a predetermined position of the disk 10 by the drive of the VCM 14. A plurality of disks 10 and a plurality of heads 15 are provided. In addition, only one disk 10 and a single head 15 may be provided.

[0021] The disk 10 is allocated with a user data area 10a that can be used by the user, a medium cache (sometimes also referred to as a medium cache area or a storage area) 10b that temporarily stores or records the data (or command) transmitted from a host or the like before writing the data (or command) to a predetermined area of ​​the user data area 10a, and a system area 10c that writes information required for system management. In one example, the storage area (e.g., the medium cache 10b) corresponds to a cache area for eliminating inconsistencies between a processing speed of processing data in a predetermined portion or a transmission speed of transmitting data from a predetermined area to the disk 10 and a writing speed of writing data to the disk 10. In addition, the storage area may also include the system area 10c. An area of ​​the disk 10 other than the medium cache 10b and the system area 10c that temporarily store or record data may be used as a storage area. In addition, the system area 10c may also include a storage area. Hereinafter, the direction from the inner periphery to the outer periphery of the disk 10 or the direction from the outer periphery to the inner periphery of the disk 10 is referred to as a radial direction. In the radial direction, the direction from the inner circumference to the outer circumference is called the outer direction (outer side), and the direction from the outer circumference to the inner circumference is called the inner direction (inner side). The direction perpendicular to the radial direction of the disk 10 is called the circumferential direction. The circumferential direction is equivalent to the direction along the circumference of the disk 10. In addition, a predetermined position in the radial direction of the disk 10 is sometimes called a radial position, and a predetermined position in the circumferential direction of the disk 10 is sometimes called a circumferential position. The radial position and the circumferential position are sometimes simply referred to as positions. In addition, "track" is used to mean one of the multiple areas divided in the radial direction of the disk 10, the path of the head 15 at a predetermined radial position, data extended in the circumferential direction of the disk 10, data written in one circle of the track at a predetermined radial position, data written in the track, and other various meanings. "Sector" is used to mean one of the multiple areas divided in the circumferential direction of the track, data written in a predetermined position of the disk 10, data written in a sector, and other various meanings. "The width of the track in the radial direction" is sometimes referred to as "track width". “A path passing through the center position of the track width in a predetermined track” is referred to as “track center”.

[0022] The head 15 faces the disk 10. For example, one head 15 faces one surface of the disk 10. The head 15 has a slider as a main body, and includes a write head 15W and a read head 15R mounted on the slider. The write head 15W writes data to the disk 10. The read head 15R reads the data written on the disk 10. In addition, sometimes the "write head 15W" is simply referred to as the "head 15", sometimes the "read head 15R" is simply referred to as the "head 15", and sometimes the "write head 15W and the read head 15R" are collectively referred to as the "head 15". Sometimes the "center of the head 15" is referred to as the "head 15", the "center of the write head 15W" is referred to as the "write head 15W", and the "center of the read head 15R" is referred to as the "read head 15R". Sometimes the "center of the write head 15W" is simply referred to as the "head 15", and sometimes the "center of the read head 15R" is simply referred to as the "head 15". Sometimes, “positioning the center of the head 15 at the center of the predetermined track” is expressed as “positioning the head 15 at the predetermined track”, “configuring the head 15 at the predetermined track” or “locating the head 15 at the predetermined track”.

[0023] Figure 2 1 is a schematic diagram showing an example of the configuration of the head 15 with respect to the disk 10 according to the present embodiment. Figure 2 As shown, in the circumferential direction, the direction in which the disk 10 rotates is referred to as the rotation direction. Figure 2 In the example shown, the rotation direction is indicated by a counterclockwise direction, but it may be the opposite direction (clockwise direction).

[0024] exist Figure 2 In the example shown, the disk 10 includes disks 10-0, ... The disk 10 has surfaces 10S (10S0, 10S1, ...). The disk 10-0 has a surface 10S0 and a back surface 10S1 on the opposite side of the surface 10S0. The surface 10S0 has a user data area 10a0, a media cache 10b0, and a system area 10c0. The back surface 10S1 has a user data area 10a1, a media cache 10b1, and a system area 10c1.

[0025] exist Figure 2 In the example shown, the head 15 includes a head 15-0, a head 15-1, ... The head 15 faces the surface 10S. The head 15-0 faces the surface 10S0. The head 15-0 writes data to the surface 10S0 and reads data from the surface 10S0. The head 15-1 faces the back surface 10S1. The head 15-1 writes data to the back surface 10S1 and reads data from the back surface 10S1. In addition, the head 15 and the disk 10 may be provided with three or more.

[0026] Figure 3 FIG. 1 is an enlarged cross-sectional view showing an example of the disk 10 and the head 15 according to the embodiment. Figure 3In the figure, the rotation direction B of the disk 10 (10-0, ...) is consistent with the direction of the air flow C. Hereinafter, the direction from the head 15 (15-0, 15-1, ...) toward the disk 10 is referred to as the downward direction or simply as downward, and the direction from the disk 10 toward the head 15 is referred to as the upward direction or simply as upward. In the case of expressions such as "another layer above the predetermined layer" and "another layer below the predetermined layer", the other layer may be in contact with the predetermined layer or may be located away from the predetermined layer.

[0027] exist Figure 3 In the example shown, the disk 10 is stacked with a substrate 111, a soft magnetic layer 112, a magnetic recording layer 113, and a protective film layer 114 in this order. The substrate 111 is formed of a disk-shaped non-magnetic body. The soft magnetic layer 112 is located on the substrate 111. The soft magnetic layer 112 is formed of a material exhibiting soft magnetic properties. The magnetic recording layer 113 is located on the soft magnetic layer 112. The magnetic recording layer 113 has magnetic anisotropy in a direction perpendicular to the surface of the disk 10 (the surface of the magnetic recording layer 113 or the surface of the protective film layer 114). The protective film layer 114 is located on the magnetic recording layer 113.

[0028] exist Figure 3 In the example shown, the head 15 includes a slider 150. The slider 150 is formed of, for example, a sintered body of aluminum oxide and titanium carbide (AlTiC, aluminum titanium carbon). The slider 150 has a disk facing surface (air bearing surface (ABS)) 151 facing the surface of the disk 10, for example, the protective film layer 114, and a trailing end 153 located on the outflow side of the air flow C. Parts of the read head 15R and the write head 15W are exposed on the disk facing surface 151.

[0029] The reading head 15R is composed of a magnetic film 161, a shielding film 162, and a shielding film 163. The magnetic film 161 is located between the shielding film 162 and the shielding film 163 to generate a magnetoresistance effect. The shielding film 162 is located on the trailing end 153 side relative to the magnetic film 161. The shielding film 163 faces the shielding film 162. The lower ends of the magnetic film 161, the shielding film 162, and the shielding film 163 are exposed on the disk facing surface 151.

[0030] The write head 15W is provided on the trailing end 153 side of the slider 150 relative to the read head 15R. The write head 15W includes a main magnetic pole 171, a trailing shield (write shield) 172, an insulator 173, a recording coil 180 arranged to be wound around a magnetic circuit including the main magnetic pole 171 and the write shield 172 in order to flow a magnetic flux in the main magnetic pole 171, and a magnetic flux control unit (auxiliary element), for example, a spin torque oscillator (STO) 200.

[0031] The main magnetic pole 171 is formed of a soft magnetic material having a high saturation magnetic flux density. The main magnetic pole 171 generates a recording magnetic field in a perpendicular direction to the surface of the disk 10 in order to magnetize the magnetic recording layer 113 of the disk 10. In the illustrated example, the main magnetic pole 171 extends approximately perpendicularly to the disk facing surface 151. The lower surface of the front end portion 171a of the main magnetic pole 171 on the disk facing surface 151 side is exposed at the disk facing surface 151. The front end portion 171a of the main magnetic pole 171 is narrowed toward the disk facing surface 151 in a manner that the front end becomes thinner, and is formed into a columnar shape with a narrow width relative to other portions. The width of the front end portion 171a of the main magnetic pole 171 in the cross-track direction approximately corresponds to the track width of the predetermined track. The cross-track direction is, for example, a direction along the radial direction.

[0032] The write shield 172 is formed of a soft magnetic material having a high saturation magnetic flux density. The write shield 172 is provided to efficiently close the magnetic circuit via the soft magnetic layer 112 directly below the main magnetic pole 171. The write shield 172 is located on the trailing end 153 side relative to the main magnetic pole 171. The write shield 172 is connected to the main magnetic pole 171 via an insulator 173. The main magnetic pole 171 is electrically insulated from the write shield 172, and a magnetic circuit is formed. The write shield 172 is formed in a substantially L-shape, and has a front end portion 172a on the disk-facing surface 151 side that is opposite to the front end portion 171a of the main magnetic pole 171 with a write gap. The lower surface of the front end portion 172a is exposed on the disk-facing surface 151 of the slider 150.

[0033] The recording coil 180 is provided so as to be wound around a magnetic circuit including the main magnetic pole 171 and the write shield 172 in order to flow a magnetic flux in the main magnetic pole 171. The recording coil 180 is provided, for example, between the main magnetic pole 171 and the write shield 172. By supplying a current of a predetermined magnitude (referred to as a write current or a recording current) to the recording coil 180, a recording magnetic field is excited in the main magnetic pole 171 and the write shield 172. As a result, the main magnetic pole 171 and the write shield 172 are magnetized. By utilizing the magnetic flux flowing in the magnetized main magnetic pole 171 and the write shield 172, the magnetization direction of the recording bit of the magnetic recording layer 113 of the disk 10 is changed, thereby recording a magnetization pattern corresponding to the recording current on the disk 10.

[0034] An auxiliary element, such as a spin torque oscillator (STO) 200, is provided between the front end portion 171a of the main magnetic pole 171 and the front end portion 172a of the write shield 172. In other words, the spin torque oscillator 200 is provided in the write gap. The STO 200, for example, has a structure in which a base layer formed of a non-magnetic conductive layer, a spin injection layer, an intermediate layer, an oscillation layer, and a gap layer formed of a non-magnetic conductive layer are sequentially stacked from the front end portion 171a side of the main magnetic pole 171 to the front end portion 172a side of the write shield 172.

[0035] The auxiliary element, such as STO200, generates energy to improve the writing performance of the write head 15W to the disk 10 on the surface 10S (10S0, 10S1, ...) of the disk 10. The STO200 is applied with a predetermined energy (hereinafter sometimes referred to as element energy), such as a predetermined current (hereinafter referred to as bias current, drive current or auxiliary current) or a predetermined voltage (hereinafter referred to as bias voltage, drive voltage or auxiliary voltage), and the magnetization is uniformly rotated (precession motion of the spin) by using the gap magnetic field generated in the write gap, so that a high-frequency magnetic field (microwave) with a frequency sufficiently higher than the frequency of the recording signal is generated to the disk 10. The STO200 reduces the coercive force of the magnetic recording layer 113 by applying a high-frequency magnetic field to the magnetic recording layer 113 of the disk 10. When the precession motion of the spin is largely generated by the spin torque oscillator 200, the magnetic permeability of the STO200 becomes as low as the magnetic permeability of the air. Therefore, the magnetic flux from the main magnetic pole 171 is more likely to flow toward the disk 10 than toward the write gap (STO200). On the other hand, when the precession motion of the spin is not generated by STO200 or the precession motion of the spin is generated smaller than usual, the magnetic permeability of the spin torque oscillator 200 becomes higher than the magnetic permeability of the air. Therefore, the magnetic flux from the main magnetic pole 171 is more likely to flow toward the write gap (STO200) than toward the disk 10. Hereinafter, the writing process of supplying element energy, such as a driving current (or sometimes also referred to as an auxiliary current) or a driving voltage (or sometimes also referred to as an auxiliary voltage) to an auxiliary element, such as STO200, to write data is sometimes referred to as auxiliary recording or high-frequency auxiliary recording. Hereinafter, the effect of assisting the writing process to the disk 10 is sometimes referred to as an auxiliary effect. In addition, "performing auxiliary recording" is sometimes referred to as "performing writing".

[0036] The driver IC 20 controls the driving of the SPM 12 and the VCM 14 according to the control of the system controller 130 (specifically, the MPU 60 described later).

[0037] The head amplifier IC (preamplifier) ​​30 includes a read amplifier and a write driver (not shown), such as a recording current control circuit 310 and an element energy control circuit 320. The read amplifier amplifies the read signal read from the disk 10 and outputs it to the system controller 130 (more specifically, the read / write (R / W) channel 50 described later). The recording current control circuit 310 is electrically connected to the recording coil 180, and supplies the recording coil 180 with a recording current corresponding to the write data output from the R / W channel 50. Hereinafter, the data written to the disk 10 may be referred to as write data, and the data read from the disk 10 may be referred to as read data. For example, the recording current control circuit 310 supplies the recording current to the recording coil 180 under the control of the system controller 130 (MPU60). The element energy control circuit 320 is electrically connected to the auxiliary element, such as the spin torque oscillator 200, and applies a predetermined element energy, such as a predetermined auxiliary current or a predetermined auxiliary voltage, to the spin torque oscillator 200 under the control of the system controller 130, such as the MPU60. In addition, the element energy control circuit 320 measures the resistance value of the auxiliary element, for example, the spin torque oscillator 200 (hereinafter sometimes referred to as the auxiliary element resistance value).

[0038] The volatile memory 70 is a semiconductor memory that loses stored data when the power supply is cut off. The volatile memory 70 stores data required for processing of each part of the magnetic disk device 1. The volatile memory 70 is, for example, a DRAM (Dynamic Random Access Memory) or an SDRAM (Synchronous Dynamic Random Access Memory).

[0039] The nonvolatile memory 80 is a semiconductor memory that records stored data even when power supply is cut off. The nonvolatile memory 80 is, for example, a NOR type or NAND type flash ROM (Flash Read Only Memory: FROM).

[0040] The buffer memory 90 is a semiconductor memory that temporarily records data transmitted and received between the magnetic disk device 1 and the host 100. In addition, the buffer memory 90 may be formed integrally with the volatile memory 70. The buffer memory 90 is, for example, a DRAM, an SRAM (Static Random Access Memory), an SDRAM, a FeRAM (Ferroelectric Random Access Memory), or an MRAM (Magnetoresistive Random Access Memory).

[0041] The system controller (controller) 130 can be implemented, for example, using a large-scale integrated circuit (LSI) called a system-on-a-Chip (SoC) in which multiple components are integrated into a single chip. The system controller 130 includes a hard disk controller (HDC) 40, a read / write (R / W) channel 50, and a microprocessor (MPU) 60. The HDC 40, the R / W channel 50, and the MPU 60 are electrically connected to each other. The system controller 130 is electrically connected to, for example, a driver IC 20, a head amplifier IC 60, a volatile memory 70, a non-volatile memory 80, a buffer memory 90, and a host system 100.

[0042] The HDC 40 controls data transfer between the host 100 and the R / W channel 50 according to instructions from the MPU 60 described later. The HDC 40 is electrically connected to, for example, a volatile memory 70, a nonvolatile memory 80, a buffer memory 90, and the like.

[0043] The R / W channel 50 performs signal processing of read data and write data according to instructions from the MPU 60. The R / W channel 50 is electrically connected to the head amplifier IC 30, etc. The R / W channel 50 has a circuit or function for modulating write data. In addition, the R / W channel 50 has a circuit or function for measuring the signal quality of read data.

[0044] The MPU 60 is a main controller that controls each part of the magnetic disk device 1. The MPU 60 controls the VCM 14 via the driver IC 20 to perform positioning of the head 15. The MPU 60 controls the write operation of writing data to the disk 10, and selects the storage destination of the write data transmitted from the host 100. In addition, the MPU 60 controls the read operation of reading data from the disk 10, and controls the processing of the read data transmitted from the disk 10 to the host 100. The MPU 60 is connected to each part of the magnetic disk device 1. For example, the MPU 60 is electrically connected to the driver IC 20, the HDC 40, and the R / W channel 50.

[0045] The MPU 60 includes a read / write control unit 610, an energy control unit 620, a resistance value measuring unit 630, a demagnetization adjusting unit 640, and a format setting unit 650. The MPU 60 executes the processing of each unit, such as the read / write control unit 610, the energy control unit 620, the resistance value measuring unit 630, the demagnetization adjusting unit 640, and the format setting unit 650, on the firmware. In addition, the MPU 60 may include each unit, such as the read / write control unit 610, the energy control unit 620, the resistance value measuring unit 630, the demagnetization adjusting unit 640, and the format setting unit 650, as a circuit.

[0046] The read / write control unit 610 controls the writing and reading of data according to commands from the host 100 or the like. When the read / write control unit 610 receives a command from the host 100 or the like, it performs a writing process of writing data to a predetermined area. When the read / write control unit 610 receives a command from the host 100 or the like, it performs a reading process of reading data from a predetermined area. The read / write control unit 610 controls the VCM 14 via the driver IC 20, positions the head 15 at the target position of the disk 10, and performs a writing process or a reading process. For example, the read / write control unit 610 supplies a recording current to the recording coil 180 to excite the recording magnetic field to the main magnetic pole 171 and the write shield 172, supplies element energy such as an auxiliary current or an auxiliary voltage to an auxiliary element such as the STO 200 to generate a high-frequency magnetic field, and writes (auxiliary records) data to a predetermined area of ​​the disk 10. In addition, the read / write control unit 610 may supply a recording current to the recording coil 180 to excite the recording magnetic field to the main magnetic pole 171 and the write shield 172, and not supply element energy such as an auxiliary current or an auxiliary voltage to the auxiliary element such as the STO 200, thereby writing data to a predetermined area of ​​the disk 10 without an auxiliary effect. For example, the read / write control unit 610 temporarily stops the data writing process immediately before the predetermined area of ​​the predetermined track such as the servo data (or the front end of the servo data) and reads the servo data, and restarts the data writing process from immediately after the servo data (or the rear end on the opposite side of the front end of the servo data) to write the data. The read / write control unit 610 temporarily stops the data writing process immediately before the predetermined area of ​​the predetermined track (or the front end of the area) and performs demagnetization before starting the servo data reading process. Demagnetization (hereinafter sometimes referred to as demagnetization action or demagnetization processing) is, for example, a processing in which the recording current (or recording voltage) supplied from the recording current control circuit 310 of the head amplifier IC30 to the recording coil 180 when the writing process is stopped is gradually attenuated, so that the residual magnetization generated in the write head 15W (main magnetic pole 171 and write shield 172) due to the shape of the head 15, etc., gradually disappears. Hereinafter, the period from when the writing process is stopped until the recording current (or recording voltage) becomes a predetermined value, such as 0, or from when the writing process is stopped until the magnetization generated in the main magnetic pole 171 and the write shield 172, such as residual magnetization, disappears is sometimes referred to as a demagnetization period (degauss duration). The frequency of the recording current (or recording voltage) during the demagnetization period is sometimes referred to as a demagnetization frequency (degauss frequency).The read / write control unit 610 can write undesired or meaningless data in an area adjacent to the servo data (hereinafter sometimes referred to as a demagnetization area), for example, a gap adjacent to the servo data (hereinafter sometimes referred to as a front gap), by residual magnetization generated in the head 15 (write head 15W) during the period from when the data writing process is temporarily stopped immediately before the predetermined area, for example, before the servo data, to when the servo data reading process is started in the demagnetization operation corresponding to the demagnetization conditions including the set demagnetization period and demagnetization frequency. Here, "adjacent" includes, of course, data, objects, areas, spaces, etc. arranged in contact with each other, and also includes arranging with a predetermined interval.

[0047] Figure 4 is a schematic diagram showing an example of demagnetization operation. Figure 4 In , the horizontal axis is time. Figure 4 In the horizontal axis of , time passes as it moves toward the front end of the arrow. Figure 4 The horizontal axis of shows timings T41 and T42. Timing T42 corresponds to a timing later than timing T41. Figure 4 The write gate WG, the recording current, and the track TRex are shown in FIG. Figure 4 In the write strobe WG, the signal level L indicates that the write strobe is in the negated (negate) (inactive, invalid, or OFF) state, and the signal level H indicates that the write strobe is in the asserted (active, valid, or ON) state. The write strobe WG changes from the signal level H to the signal level L at timing T41. Figure 4 The recorded current shows the current value C0. The current value C0 is a constant value, for example, 0. Figure 4 In the example, the track TRex has user data (hereinafter sometimes referred to as front user data) located before the servo data, a front Gap (gap), and servo data. Figure 4 In the track TRex, the previous user data, the previous Gap (gap), and the servo data are arranged in the order in which they are recorded. In other words, the previous Gap is arranged between the previous user data and the servo data.

[0048] exist Figure 4 In the example shown, the read / write control unit 610 negates the write strobe WG at the circumferential position in the front Gap corresponding to the timing T41 and stops the write process. The read / write control unit 610 can write data corresponding to the residual magnetization of the head 15 based on the recording current of the demagnetization frequency in the range from the circumferential position in the front Gap corresponding to the timing T41 to the circumferential position in the front Gap corresponding to the timing T42 by the demagnetization operation corresponding to the set demagnetization period and the set demagnetization frequency.

[0049] The energy control unit 620 controls (or adjusts) the energy supplied to the head 15. The energy control unit 620 controls (or adjusts) the recording current supplied (or applied) to the recording coil 180 and the element energy supplied (or applied) to the auxiliary element. For example, the energy control unit 620 controls (or adjusts) the element energy supplied (or applied) to the auxiliary element, such as the STO 200, such as the auxiliary current or the auxiliary voltage.

[0050] The resistance value measuring unit 630 measures the resistance value of each part of the head 15. The resistance value measuring unit 630 measures the resistance value of the auxiliary element, such as STO200. For example, the resistance value measuring unit 630 measures the resistance value of the auxiliary element, such as STO200, via the element energy control circuit 320 of the head amplifier IC30. The resistance value measuring unit 630 measures the resistance value of the auxiliary element, such as STO200, after writing data to a predetermined area of ​​the disk 10 and stopping the write process. Hereinafter, "after writing data to a predetermined area and stopping the write process" is sometimes referred to as "after writing" or "after writing". The resistance value of the auxiliary element can change, for example, in the magnetization state of the write head 15W (the main magnetic pole 171 and the write shield 172). In other words, the resistance value of the auxiliary element may be affected by the demagnetization action corresponding to the demagnetization condition. That is, the auxiliary element and the demagnetization condition may affect each other. For example, by measuring the resistance value of the auxiliary element after writing data to a predetermined area, the magnetization (e.g., residual magnetization) state between the main magnetic pole 171 and the write shield 172 after writing can be confirmed. In other words, by measuring the resistance value of the auxiliary element after writing data to a predetermined area, the influence caused by the demagnetization condition can be confirmed. That is, by measuring the resistance value of the auxiliary element after writing, it can be estimated whether the demagnetization condition is optimal.

[0051] The demagnetization adjustment unit 640 adjusts (changes or sets) the demagnetization conditions such as the demagnetization period and the demagnetization frequency corresponding to the head 15. The demagnetization adjustment unit 640 adjusts the demagnetization conditions corresponding to the head 15 according to the resistance value of the auxiliary element corresponding to the head 15. The demagnetization adjustment unit 640 adjusts the demagnetization conditions corresponding to the head 15 so that the change of the resistance value of the auxiliary element corresponding to the head 15 when the resistance value of the auxiliary element corresponding to the head 15 is measured (hereinafter sometimes referred to as the measurement of the resistance value of the auxiliary element corresponding to the head 15) after the predetermined number of times (hereinafter sometimes referred to as the number of times of resistance value measurement) of data writing to the predetermined area by the head 15 is performed is reduced. In addition, the resistance value of the auxiliary element of the demagnetization adjustment unit 640 may change according to the characteristics of the head 15, so different demagnetization conditions may be set for each head 15. In addition, the demagnetization adjustment unit 640 may set the same demagnetization conditions for multiple heads 15.

[0052] For example, when the resistance value of the auxiliary element corresponding to the head 15 is outside the range of the upper limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes referred to as the upper resistance limit value): Thr_Upper and the lower limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes referred to as the lower resistance limit value): Thr_lower), the demagnetization adjustment unit 640 adjusts the demagnetization condition corresponding to the head 15 so that the resistance value of the auxiliary element corresponding to the head 15 is within the range of the upper limit of the resistance value of the auxiliary element corresponding to the head 15: Thr_Upper and the lower limit of the resistance value of the auxiliary element corresponding to the head 15: Thr_lower. In addition, when the resistance value of the auxiliary element corresponding to the head 15 is outside the range of the upper limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes referred to as the upper resistance limit value): Thr_Upper and the lower limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes referred to as the lower resistance limit value): Thr_lower), the demagnetization adjustment unit 640 may increase the demagnetization period corresponding to the head 15 and / or increase the demagnetization frequency. The demagnetization adjustment unit 640 may also increase the demagnetization period corresponding to the head 15 and / or decrease the demagnetization frequency when the auxiliary element resistance value corresponding to the head 15 is outside the range of the upper limit of the auxiliary element resistance value corresponding to the head 15 (hereinafter sometimes referred to as the upper resistance limit value): Thr_Upper and the lower limit of the auxiliary element resistance value corresponding to the head 15 (hereinafter sometimes referred to as the lower resistance limit value): Thr_lоwer. The demagnetization adjustment unit 640 may also decrease the demagnetization period corresponding to the head 15 and / or increase the demagnetization frequency when the auxiliary element resistance value corresponding to the head 15 is outside the range of the upper limit of the auxiliary element resistance value corresponding to the head 15 (hereinafter sometimes referred to as the upper resistance limit value): Thr_Upper and the lower limit of the auxiliary element resistance value corresponding to the head 15 (hereinafter sometimes referred to as the lower resistance limit value): Thr_lоwer. The demagnetization adjustment unit 640 may also reduce the demagnetization period corresponding to the head 15 and / or reduce the demagnetization frequency when the resistance value of the auxiliary element corresponding to the head 15 is outside the range of the upper limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes also referred to as the upper limit of resistance): Thr_Upper and the lower limit of the resistance value of the auxiliary element corresponding to the head 15 (hereinafter sometimes also referred to as the lower limit of resistance): Thr_lоwer.

[0053] In addition, the demagnetization adjustment unit 640 maintains the demagnetization condition corresponding to the head 15, for example, when the resistance value of the auxiliary element corresponding to the head 15 is within the range of the resistance upper limit value: Thr_Upper corresponding to the head 15 and the resistance lower limit value: Thr_lower corresponding to the head 15. In addition, the demagnetization adjustment unit 640 may adjust the demagnetization condition corresponding to the head 15, for example, when the resistance value of the auxiliary element corresponding to the head 15 is within the range of the resistance upper limit value: Thr_Upper corresponding to the head 15 and the resistance lower limit value: Thr_lower corresponding to the head 15, so that the variation of the auxiliary element resistance value when the auxiliary element resistance value corresponding to the head 15 is measured for the number of resistance value measurements is further reduced.

[0054] For example, the demagnetization adjustment unit 640 sets the number of resistance value measurement times for measuring the resistance value of the auxiliary element corresponding to the head 15, and sets the resistance upper limit value of the resistance value of the auxiliary element corresponding to the head 15: Thr_Upper and the resistance lower limit value of the resistance value of the auxiliary element corresponding to the head 15: Thr_lower. The demagnetization adjustment unit 640 initializes the number of times data is written to a predetermined area of ​​the disk 10 by the head 15 (hereinafter sometimes referred to as the number of write times), for example, to 0, and repeatedly writes data to the area while counting the number of write times of data to the area until the number of resistance value measurement times is reached. Whenever the demagnetization adjustment unit 640 writes data to the area by the head 15, the auxiliary element resistance value corresponding to the head 15 after the head 15 writes data to the area is measured, and the measured auxiliary element resistance value after writing is recorded in a predetermined recording area, for example, the system area 10c of the disk 10, the volatile memory 70, the non-volatile memory 80, and the buffer memory 90. The demagnetization adjustment unit 640 calculates the average value (RSV_Ave) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value for the number of resistance value measurement times corresponding to the head 15. The demagnetization adjustment unit 640 detects the minimum value (RSV_min) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value for the number of resistance value measurement times corresponding to the head 15, and the maximum value (RSV_max) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value for the number of resistance value measurement times corresponding to the head 15. Hereinafter, the "minimum value of the auxiliary element resistance value in the measurement of the auxiliary element resistance value for the number of resistance value measurement times" may be referred to as the "minimum value of the auxiliary element resistance value", and the "maximum value of the auxiliary element resistance value in the measurement of the auxiliary element resistance value for the number of resistance value measurement times" may be referred to as the "maximum value of the auxiliary element resistance value". The demagnetization adjustment unit 640 determines whether the minimum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is less than the lower limit value of resistance, or the minimum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is greater than or equal to the lower limit value of resistance. When it is determined that the minimum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is less than the lower limit value of resistance, the demagnetization adjustment unit 640 adjusts (changes) the demagnetization condition. In addition, the demagnetization adjustment unit 640 determines whether the maximum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is greater than the upper limit value of resistance, or the maximum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is less than the upper limit value of resistance. When it is determined that the maximum value of the auxiliary element resistance value / the average value of the auxiliary element resistance value is greater than the upper limit value of resistance, the demagnetization adjustment unit 640 adjusts (changes) the demagnetization condition.

[0055] Figure 5 1 is a schematic diagram showing an example of a method for adjusting the demagnetization conditions corresponding to the head 15 - 0 according to the present embodiment. Figure 5In FIG. 1 , the vertical axis represents the resistance value [Ω] of the auxiliary element corresponding to the head 15 - 0 , and the horizontal axis represents the number of times the head 15 - 0 writes to a predetermined area of ​​the surface 10S0 of the disk 10 - 0 . Figure 5 On the vertical axis, the resistance value of the auxiliary element increases as it moves toward the front end side of the larger arrow, and decreases as it moves toward the front end side of the smaller arrow. Figure 5 The vertical axis of shows the average value RSV_Ave0 of the resistance value of the auxiliary element corresponding to the head 15 - 0 , the upper limit value Thr_upper0 of the resistance corresponding to the head 15 - 0 , and the lower limit value Thr_lower0 of the resistance corresponding to the head 15 - 0 . Figure 5 On the horizontal axis, the number of writes increases as the number of writes increases toward the front end of the arrow. Figure 5 2 shows the change of the auxiliary element resistance value corresponding to the head 15-0 with respect to the number of write times (hereinafter sometimes referred to as the change of the auxiliary element resistance value) RSV_0. The change of the auxiliary element resistance value RSV_0 corresponding to the head 15-0 is within the range of the resistance upper limit Thr_upper0 and the resistance lower limit Thr_lower0.

[0056] exist Figure 5 In the example shown, the demagnetization adjustment unit 640 maintains the demagnetization condition corresponding to the head 15 - 0 when the change RSV_0 of the auxiliary element resistance value corresponding to the head 15 - 0 is within the range of the resistance upper limit Thr_upper0 corresponding to the head 15 - 0 and the resistance lower limit Thr_lower0 corresponding to the head 15 - 0 .

[0057] Figure 6 1 is a schematic diagram showing an example of a method for adjusting the demagnetization conditions corresponding to the head 15 - 1 according to the present embodiment. Figure 6 In FIG. 1 , the vertical axis represents the resistance value [Ω] of the auxiliary element corresponding to the head 15 - 1 , and the horizontal axis represents the number of times the head 15 - 1 writes to a predetermined area of ​​the surface 10S1 of the disk 10 - 0 . Figure 6 On the vertical axis, the resistance value of the auxiliary element increases as it moves toward the front end side of the larger arrow, and decreases as it moves toward the front end side of the smaller arrow. Figure 6 The vertical axis of shows the average value RSV_Ave1 of the resistance value of the auxiliary element corresponding to the head 15 - 1 , the upper limit value Thr_upper1 of the resistance corresponding to the head 15 - 1 , and the lower limit value Thr_lower1 of the resistance corresponding to the head 15 - 1 . Figure 6 On the horizontal axis, the number of writes increases as the number of writes increases toward the front end of the arrow. Figure 6The change in the auxiliary element resistance value RSV_1 corresponding to the head 15-1 with respect to the number of writes (hereinafter sometimes referred to as the change in the auxiliary element resistance value) is shown. The change in the auxiliary element resistance value RSV_1 corresponding to the head 15-1 is within the range of the resistance upper limit Thr_upper1 and the resistance lower limit Thr_lower1.

[0058] exist Figure 6 In the example shown, when the change RSV_1 of the auxiliary element resistance value corresponding to the head 15-1 is outside the range of the resistance upper limit value Thr_upper1 of the auxiliary element resistance value corresponding to the head 15-1 and the resistance lower limit value Thr_lоwer1 of the auxiliary element resistance value corresponding to the head 15-1, the demagnetization adjustment unit 640 adjusts the demagnetization condition corresponding to the head 15-1 so that the change RSV_1 of the auxiliary element resistance value corresponding to the head 15-1 becomes within the range of the resistance upper limit value Thr_upper1 of the auxiliary element resistance value corresponding to the head 15-1 and the resistance lower limit value Thr_lоwer1 of the head 15-1.

[0059] The format setting unit 650 adjusts the data format (hereinafter sometimes referred to as the format) of the disk 10 facing the head 15 according to the demagnetization conditions corresponding to the head 15. The format setting unit 650 sets the length in the circumferential direction of the demagnetization area (or the front gap) of the disk 10 facing the head 15 (hereinafter referred to as the demagnetization area length or the front gap length) or the size of the demagnetization area according to the demagnetization conditions corresponding to the head 15. In addition, the format setting unit 650 may also set different demagnetization area lengths or different sizes of demagnetization areas according to the surfaces 10S of each disk 10 facing each head 15 when different demagnetization conditions are set according to the head 15. The format setting unit 650 may also set the same demagnetization area length or the same size of demagnetization areas according to the surfaces 10S of each disk 10 facing each head 15 when different demagnetization conditions are set according to the head 15. The format setting unit 650 may also set different demagnetization region lengths or different sizes of demagnetization regions according to the surfaces 10S of the disks 10 facing the heads 15 when the same demagnetization conditions are set for the heads 15. Alternatively, the format setting unit 650 may also set the same demagnetization region lengths or the same sizes of demagnetization regions according to the surfaces 10S of the disks 10 facing the heads 15 when the same demagnetization conditions are set for the heads 15.

[0060] The format setting unit 650 may also make the demagnetization region length of the demagnetization region of the disk 10 corresponding to the head 15 longer than the reference demagnetization region length or demagnetization region (hereinafter sometimes referred to as reference demagnetization region length) set in the disk 10 by initial setting, etc., when the demagnetization condition corresponding to the head 15 adjusted based on the resistance value of the auxiliary element corresponding to the head 15 is larger than the reference demagnetization condition (hereinafter sometimes referred to as reference demagnetization condition), such as the reference demagnetization period (hereinafter sometimes referred to as reference demagnetization period) and the reference demagnetization frequency (hereinafter sometimes referred to as reference demagnetization frequency) set in the disk 10 by initial setting, etc. The format setting unit 650 may also make the demagnetization region length of the demagnetization region of the disk 10 corresponding to the head 15 shorter than the reference demagnetization condition (reference demagnetization period and reference demagnetization frequency) set in the disk 10 by initial setting, etc., when the demagnetization condition corresponding to the head 15 adjusted based on the resistance value of the auxiliary element corresponding to the head 15 is smaller than the reference demagnetization condition (reference demagnetization period and reference demagnetization frequency) set in the disk 10 by initial setting, etc. In addition, for example, the format setting unit 650 may maintain the demagnetization region length of the demagnetization region of the disk 10 corresponding to the head 15 when the demagnetization condition corresponding to the head 15 is the same as the reference demagnetization condition set by initial setting or the like.

[0061] Figure 7 1 is a schematic diagram showing an example of the format of the surface 10S0 of the disk 10-0 corresponding to the head 15-0 according to the present embodiment. Figure 7 In , the horizontal axis is time. Figure 7 On the horizontal axis, time passes as it moves toward the front end of the arrow. Figure 7 The horizontal axis of shows timings T71, T72, T73, T74, and T75. Timing T72 is equivalent to a timing later than timing T71. Timing T73 is equivalent to a timing later than timing T72. Timing T74 is equivalent to a timing later than timing T73. Timing T75 is equivalent to a timing later than timing T74. Figure 7 1 shows a write gate WG and a track TR0 of the surface 10S0 of the disk 10. Figure 7 In the example, track TR0 has front user data (User Data), front Gap (demagnetization area), servo data (Servo Data), the Gap immediately after the servo data (hereinafter sometimes referred to as the rear Gap), and user data after the servo data (hereinafter sometimes referred to as the rear user data). Figure 7 In track TR0, the front user data, the front Gap (demagnetization area), the servo data, the rear Gap, and the rear user data are arranged in the order in which they are recorded. The rear Gap is arranged between the servo data and the rear user data. Figure 7The length of the front Gap (demagnetization area length) L71, the circumferential length of the servo data (hereinafter sometimes referred to as the servo data length) SDL, and the circumferential length of the rear Gap (hereinafter sometimes referred to as the rear Gap length) GPL are shown. The length of the front Gap (demagnetization area length) L71 is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T71 to the circumferential position corresponding to timing T73. The length of the servo data SDL is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T73 to the circumferential position corresponding to timing T74. The length of the rear Gap GPL is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T74 to the circumferential position corresponding to timing T75. For example, the length of the front Gap L71 is smaller than the reference demagnetization area length. Figure 7 The Figure 5 The change in the auxiliary resistance value RSV_0 is shown in the adjusted demagnetization period DD71. The demagnetization period DD71 corresponds to the period from the timing T71 to the timing T72. For example, the demagnetization period DD71 is shorter than the reference demagnetization period.

[0062] exist Figure 7 In the example shown, the format setting unit 650 determines that the Figure 5 When the demagnetization period DD71 after adjustment is shorter than the reference demagnetization period as shown in the change of the auxiliary resistance value RSV_0, the length of the front Gap is set to a demagnetization region length L71 shorter than the reference demagnetization length.

[0063] The read / write control section 610 negates the write strobe WG at the circumferential position in the front Gap corresponding to the timing T71 and stops the write process. The read / write control section 610 writes data corresponding to the residual magnetization of the head 15-0 in the range from the circumferential position in the front Gap corresponding to the timing T71 to the circumferential position in the front Gap corresponding to the timing T72 through the demagnetization action corresponding to the demagnetization period DD71. The read / write control section 610 reads the servo data from the circumferential position in the servo data corresponding to the timing T73 to the circumferential position in the servo data corresponding to the timing T74. The read / write control section 610 asserts the write strobe WG at the circumferential position in the rear user data corresponding to the timing T75 and starts (rewrite starts) the write process.

[0064] Figure 8 1 is a schematic diagram showing an example of the format of the back side 10S1 of the disk 10 - 0 corresponding to the head 15 - 1 according to the present embodiment. Figure 8 In , the horizontal axis is time. Figure 8 On the horizontal axis, time passes as it moves toward the front end of the arrow. Figure 8The horizontal axis of shows timings T81, T82, T83, T84, and T85. Timing T82 is equivalent to a timing later than timing T81. Timing T83 is equivalent to a timing later than timing T82. Timing T84 is equivalent to a timing later than timing T83. Timing T85 is equivalent to a timing later than timing T84. Figure 8 1 and 2 show a write gate WG and a track TR1 of the surface 10S1 of the disk 10. Figure 8 In FIG. 1 , track TR1 has front user data, front Gap (demagnetization area), servo data, rear Gap, and rear user data. Figure 8 In the track TR1, the front user data, the front Gap (demagnetization area), the servo data, the rear Gap, and the rear user data are arranged in the order in which they are recorded. Figure 8 The length of the front Gap (demagnetization area length) L81, the length of the servo data SDL, and the length of the back Gap GPL are shown in the figure. The length of the front Gap (demagnetization area length) L81 is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T81 to the circumferential position corresponding to timing T83. The length of the servo data SDL is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T83 to the circumferential position corresponding to timing T84. The length of the back Gap GPL is equivalent to the length in the circumferential direction from the circumferential position corresponding to timing T84 to the circumferential position corresponding to timing T85. For example, the length of the front Gap L81 is shorter than Figure 7 The length L71 of the front gap shown is larger. For example, the length L81 of the front gap is larger than the reference demagnetization region length. Figure 8 The Figure 6 The change in the auxiliary resistance value RSV_1 shown in the figure is the demagnetization period DD81 after adjustment. The demagnetization period DD81 corresponds to the period from timing T81 to timing T82. For example, the demagnetization period DD81 is Figure 7 The demagnetization period DD71 shown is large. For example, the demagnetization period DD81 is larger than the reference demagnetization period.

[0065] exist Figure 8 In the example shown, the format setting unit 650 determines that the Figure 6 When the demagnetization period DD81 after adjustment shown in the change of the auxiliary resistance value RSV_1 is longer than the reference demagnetization period, the length of the front Gap is set to a demagnetization region length L81 longer than the reference demagnetization length.

[0066] The read / write control section 610 denies the write strobe WG at the circumferential position in the front Gap corresponding to the timing T81 and stops the write process. The read / write control section 610 writes data corresponding to the residual magnetization of the head 15-1 in the range from the circumferential position in the front Gap corresponding to the timing T81 to the circumferential position in the front Gap corresponding to the timing T82 through the demagnetization action corresponding to the demagnetization period DD81. The read / write control section 610 reads the servo data from the circumferential position in the servo data corresponding to the timing T83 to the circumferential position in the servo data corresponding to the timing T84. The read / write control section 610 asserts the write strobe WG at the circumferential position in the post-user data corresponding to the timing T85 and starts (restarts) the write process.

[0067] Fig. 9 This is a flowchart showing an example of a method for setting a data format according to the present embodiment.

[0068] The MPU 60 sets the number of resistance value measurements (N) for measuring the resistance value of the auxiliary element corresponding to the head 15 (B901). The MPU 60 sets the resistance upper limit value of the auxiliary element resistance value corresponding to the head 15: Thr_Upper and the resistance lower limit value of the auxiliary element resistance value corresponding to the head 15: Thr_lower (B902). The MPU 60 initializes the number of writes to a predetermined area of ​​the disk 10 by the head 15 (n=0) (B903), and performs a write process on the area (B904). After performing the write process on the area, the MPU 60 measures the resistance value of the auxiliary element corresponding to the head 15 (B905), and records the measured resistance value of the auxiliary element corresponding to the head 15 in a predetermined recording area, such as the system area 10c of the disk 10, the volatile memory 70, the non-volatile memory 80, and the buffer memory 90 (B906). MPU60 adds 1 to the number of write times (n) and determines whether the number of write times (n) is greater than the number of resistance value measurement times (N) or the number of write times (n) is less than the number of resistance value measurement times (N) (B907). When it is determined that the number of write times (n) is less than the number of resistance value measurement times (N) (B907: No), MPU60 enters the processing of B904. When it is determined that the number of write times (n) is greater than the number of resistance value measurement times (N) (B907: Yes), MPU60 calculates the average value (RSV_Ave) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value of the resistance measurement times corresponding to head 15, detects the minimum value (RSV_min) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value of the resistance measurement times corresponding to head 15, and detects the maximum value (RSV_max) of the auxiliary element resistance value in the measurement of the auxiliary element resistance value of the resistance measurement times corresponding to head 15 (B908).

[0069] The MPU 60 determines whether RSV_min / RSV_Ave<Thr_lower or RSV_min / RSV_Ave≥Thr_lower (B909). When it is determined that RSV_min / RSV_Ave<Thr_lower (B909: Yes), the MPU 60 changes the demagnetization condition (B910) and proceeds to the process of B903. For example, the MPU 60 changes the demagnetization condition so that RSV_min / RSV_Ave≥Thr_lower and / or RSV_max / RSV_Ave≤Thr_upper.

[0070] When it is determined that RSV_min / RSV_Ave≥Thr_lower (B909: No), MPU60 determines whether it is RSV_max / RSV_Ave>Thr_upper or RSV_max / RSV_Ave≤Thr_upper (B911). When it is determined that RSV_max / RSV_Ave>Thr_upper (B911: Yes), MPU60 enters the processing of B910. When it is determined that RSV_max / RSV_Ave≤Thr_upper (B911: No), MPU60 sets the data format of the disk 10 to which the head 15 is facing according to the demagnetization condition corresponding to the head 15 (B912), and ends the processing. For example, MPU60 adjusts the demagnetization area length of the demagnetization area of ​​the predetermined track of the disk 10 to which the head 15 is facing according to the demagnetization condition corresponding to the head 15.

[0071] According to the present embodiment, the magnetic disk device 1 adjusts the demagnetization condition corresponding to the head 15 so that the variation of the resistance value of the auxiliary element when the resistance value of the auxiliary element corresponding to the head 15 is measured for the number of resistance value measurements is reduced. The magnetic disk device 1 adjusts the demagnetization area length of the demagnetization area of ​​the predetermined track of the surface 10S of the disk 10 to which the head 15 is facing according to the adjusted demagnetization condition. By adjusting the demagnetization area as described above, the magnetic disk device 1 can avoid erasing data, such as pole erasure of servo data, due to residual magnetization generated in the write head 15W (main magnetic pole 171 and write shield 172) after stopping the write process, and expand the user data area of ​​the disk 10. Therefore, the magnetic disk device 1 can improve the format efficiency.

[0072] In addition, in the aforementioned embodiment, a magnetic disk device of a high-frequency (microwave) assisted magnetic recording type (Microwave Assisted Magnetic Recording: MAMR) is described, but in the case of a magnetic disk device having a portion capable of measuring the resistance value at a position affected by the recording magnetic field, the aforementioned embodiment can also be applied to a thermally assisted magnetic recording (Thermally Assisted Magnetic Recording: TAMR) type.

[0073] Several embodiments have been described above, but these embodiments are provided as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and can be omitted, replaced, and changed in various ways without departing from the scope of the invention. These embodiments and their variations are included in the scope and purpose of the invention, and are included in the invention described in the claims and their equivalents.

Claims

1. A magnetic disk device comprising: plate; a head having a read head, a write head, and an auxiliary element, the read head reading data from the disk, the write head writing data to the disk, the auxiliary element generating energy that improves the writing performance of the write head; and A controller adjusts a demagnetization condition of demagnetization after stopping a writing process of the write head that affects the resistance value based on the resistance value of the auxiliary element measured after writing data to the disk, and adjusts the data format of the disk according to the demagnetization condition.

2. The magnetic disk device according to claim 1, The demagnetization condition includes a demagnetization period from when the writing process of the write head is stopped until magnetization of the write head disappears and a demagnetization frequency of a recording current supplied to the write head after the writing process of the write head is stopped.

3. The magnetic disk device according to claim 1, The controller adjusts the demagnetization condition so that the resistance value does not change during the first measurement of the resistance value.

4. The magnetic disk device according to claim 3, When the resistance value is greater than a first upper limit value or less than a first lower limit value in the first measurement of the resistance value, the controller adjusts the demagnetization condition so that the resistance value is within a range between the first upper limit value and the first lower limit value.

5. The magnetic disk device according to claim 2, The controller adjusts the data format according to the demagnetization period.

6. The magnetic disk device according to claim 5, The controller reduces the size of a first area arranged between user data and servo data on the disk when the demagnetization period is shorter than an initially set reference demagnetization period.

7. The magnetic disk device according to any one of claims 1 to 6, The auxiliary element is a spin torque oscillator.

8. A magnetic disk device comprising: A first disk having a first surface, wherein the first surface has first user data, first servo data, and a first area between the first user data and the first servo data; a second disk having a second surface, wherein the second surface has second user data, second servo data, and a second area between the second user data and the second servo data and having a size different from that of the first area; a first head having a first read head, a first write head, and a first auxiliary element, wherein the first read head reads data from the first surface, the first write head writes data to the first surface, and the first auxiliary element generates energy that improves the writing performance of the first write head; a second head having a second read head, a second write head, and a second auxiliary element, wherein the second read head reads data from the second surface, the second write head writes data to the second surface, and the second auxiliary element generates energy that improves the writing performance of the second write head; a first controller for adjusting, based on a resistance value of the first auxiliary element measured after data is written to the first disk, a first demagnetization condition for demagnetization after the writing process of the first write head is stopped, which affects the resistance value, and adjusting the data format of the first disk according to the first demagnetization condition; as well as a second controller for adjusting, based on the resistance value of the second auxiliary element measured after writing data to the second disk, a second demagnetization condition for demagnetization after the writing process of the second write head is stopped, which affects the resistance value, and adjusting the data format of the second disk according to the second demagnetization condition; The second demagnetization condition is set to be different from the first demagnetization condition.

9. A method for setting a data format, applied to a magnetic disk device, the magnetic disk device comprising a disk and a head, the head comprising a read head for reading data from the disk, a write head for writing data to the disk, and an auxiliary element for generating energy for improving the writing performance of the write head, The setting method comprises: adjusting a demagnetization condition of demagnetization after stopping a writing process of the write head, which affects the resistance value, based on the resistance value of the auxiliary element measured after writing data to the disk; The data format of the disk is adjusted according to the demagnetization condition.