Magnetic disk device, control method for magnetic disk device, and program
By detecting and using an uncut external power supply in the disk device until the non-essential circuit is powered off, the problem of unstable power supply during the PLP function execution when the external power is cut off is solved, the reliability and startup speed of the disk device are improved, and the The occurrence of adverse conditions.
Patent Information
- Application Number
- CN202311669001.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-29
- Filing Date
- 2023-12-07
- Publication Date
- 2024-11-29
AI Technical Summary
When the external power supply of existing disk devices is cut off, the PLP function is easily instable when the power supply of non-essential circuits is performed, which may cause power supply drop and bad conditions. If PLP operations are not backed up object data, it may cause bad conditions. and reboot time is extended.
The disk device detects whether either of the 12V and 5V external power supplies is cut off, and uses uncut power supplies until the non-essential circuit is powered off to avoid unstable power supply, and simplifies the processing flow when no PLP action is required, reducing unnecessary Power switching and data backup processing.
It improves the reliability of the disk device and the stability of the PLP function, avoids adverse conditions caused by power supply voltage drop, shortens the restart time of the disk device, and reduces the risks brought by PLP switching.
Smart Images

Figure CN119045636A_ABST
Abstract
Description
[0001] This application claims the priority of Japanese Patent Application No. 2023-088055 (filing date: May 29, 2023) as a basic application. 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, a control method of the magnetic disk device, and a program. Background Art
[0003] Conventionally, a mechanical hard disk device as a magnetic disk device has a PLP (Power Loss Protection) function as a data protection measure in the event of an unexpected power failure.
[0004] The PLP function is a function for writing data stored in the DRAM into the FROM by utilizing the back electromotive force (PLP power supply) generated in the motor that drives the disk when the disk is stopped.
[0005] In the past, when the external 5V / 12V power supply was cut off, the SoC (System on Chip) detected the input of a fault signal (Fault signal) based on the SVC (servo controller), unconditionally cut off the power supply from the external power supply, and executed a switch to the PLP function using the back electromotive force (PLP power supply) generated in the motor. Summary of the invention
[0006] The embodiments of the present invention provide a magnetic disk device, a control method of the magnetic disk device, and a program that can maintain normal operation as much as possible when executing a PLP function and can improve the PLP function.
[0007] The magnetic disk device involved in the embodiment is a magnetic disk device that operates by receiving power supplied from a first power supply that supplies power having a first voltage and a second power supply that has a second voltage higher than the first voltage, and comprises: a power supply judgment unit that detects whether power is cut off in either of the first power supply and the second power supply; and a control unit that, when power is cut off in either power supply, supplies power from the other power supply to the non-essential circuit until power supply stop processing is completed in the non-essential circuit to which power supply should be stopped. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a block diagram schematically showing the configuration of the main parts of the magnetic disk device according to the embodiment.
[0009] Figure 2 This is a timing chart when the 5V external power supply is cut off.
[0010] Figure 3 This is a processing flow chart of the PLP operation in the implementation mode.
[0011] Figure 4 This is a timing chart when the 12V external power supply is cut off.
[0012] Figure 5 This is a time chart when there is no PLP action object data.
[0013] Figure 6 This is a timing chart of a reference example for explaining the effects of the embodiment.
[0014] Description of symbols
[0015] 10 disk device; 11 servo controller; 11A voltage regulator (stabilizer); 11B power supply monitoring unit; 12 disk motor; 13 disk; 14 power switch; 15 voltage conversion unit; 16 SoC (system on chip); 16A power down timer; 17 DRAM; 18 FROM; 20 external power supply system; 21 12V external power supply (second power supply); 22 5V external power supply (first power supply). DETAILED DESCRIPTION
[0016] Next, embodiments will be described in detail with reference to the drawings.
[0017] Figure 1 This is a block diagram schematically showing the configuration of the main parts of the magnetic disk device according to the embodiment.
[0018] The magnetic disk device according to the embodiment is configured as a mechanical hard disk device (HDD device).
[0019] The magnetic disk device 10 includes a servo controller (SVC) 11 , a disk motor 12 , a disk 13 , a power switch 14 , a voltage conversion unit 15 , a SoC (System on a Chip) 16 , a DRAM 17 , and a FROM 18 .
[0020] Furthermore, the magnetic disk device 10 is connected to an external power supply system 20 including a 12V external power supply 21 and a 5V external power supply 22 .
[0021] The servo controller (SVC) 11 is supplied with 12V power PS12 from a 12V external power supply 21 of an external power supply system 20, and controls the disk motor 12 to perform servo control.
[0022] In this case, the servo controller 11 includes a voltage regulator 11A and a power supply monitoring unit 11B.
[0023] In this case, the voltage regulator 11A performs power conversion for servo control and performs voltage conversion of the 12 V power PS12 to output the 5 V power PS52 to the power switch 14 .
[0024] The power supply monitoring unit 11B monitors the voltage of 12V power PS12 supplied from a 12V external power supply and the voltage of 5V power PS51 supplied from a 5V external power supply 22, and outputs a Fault signal to be described later to SoC16 when a voltage abnormality such as power failure is detected in either power supply.
[0025] The disk motor 12 rotationally drives the (magnetic) disk 13 under the control of the servo controller 11 .
[0026] The disk 13 magnetically records various data.
[0027] The power switch 14 is supplied with 5V power PS51 from the 5V external power supply 22 of the external power supply system 20 and 5V power PS52 from the voltage regulator 11A of the servo controller 11 , and outputs either power to the voltage conversion unit 15 .
[0028] The voltage conversion unit 15 supplies power to each part (in the case of the magnetic disk device 10) based on either the 5V power PS51 or the 5V power PS52 input from the power switch 14. Figure 1 In the example, power is supplied to SoC16, DRAM17 and FROM18).
[0029] The SoC 16 functions as a controller (control unit) that controls the entire magnetic disk device 10 , and controls a PLP function for implementing data backup from the DRAM 17 to the FROM 18 .
[0030] The DRAM 17 is a volatile memory that stores data before being written to the disk 13 .
[0031] The FROM 18 is a nonvolatile memory for storing the data stored in the DRAM 17 for backup when the PLP function is executed.
[0032] First, before describing the embodiments in detail, the principle of the embodiments will be described.
[0033] In a magnetic disk device that operates by receiving power from a 12V external power supply 21 (= second power supply) and a 5V external power supply 22 (= first power supply), it is rare that both the 12V external power supply 21 and the 5V external power supply 22 are cut off at the same timing.
[0034] Therefore, in this embodiment, when either the 12V external power supply 21 or the 5V external power supply 22 is cut off and the power supply is lost, the other power supply that can supply power is effectively utilized to supply power to the circuits that do not need to be operated in the PLP action, and the PLP action using the back electromotive force of the disk motor 12 is performed after the non-essential circuits are effectively stopped, thereby avoiding the above-mentioned various adverse conditions.
[0035] This is a method of using the remaining power supply until power is completely cut off for non-essential circuits that can be achieved within microseconds (μs) from a fail-safe perspective before both power supplies are finally cut off after a time of milliseconds (ms).
[0036] In this way, by using the power supply that has not been cut off until the non-essential circuits are powered off, the power supply before the non-essential circuits are powered off can be stabilized, and the risk of a malfunction caused by a PLP power supply voltage drop can be avoided.
[0037] Next, the operation of this embodiment will be described in detail.
[0038] In the present embodiment, since two external power sources, namely the 12V external power source 21 and the 5V external power source 22, are provided, there are the following two modes as modes of using one of the 12V external power source 21 and the 5V external power source 22.
[0039] The first mode is a mode when the 5V external power source 22 is cut off. In this first mode, the power converted from 12V to 5V by the voltage regulator 11A of the servo controller 11 is used.
[0040] The second mode is a mode when the 12V external power source 21 is cut off. In this second mode, the power output by the 5V external power source 22 is used as it is.
[0041] First, the operation in the first aspect in which the 5 V external power source 22 is cut off will be described.
[0042] Figure 2 This is a timing chart when the 5V external power supply is cut off.
[0043] Figure 2 (A) indicates the signal level of the Ready signal which is set to the "H" level by the SoC 16 when the magnetic disk device 10 can operate normally.
[0044] Figure 2(B) indicates the signal level of a Fault signal which is set to “L” level when the power supply monitoring unit 11B of the servo controller 11 detects that at least one of the 12V external power supply 21 and the 5V external power supply 22 has an abnormality.
[0045] Figure 2 (C) indicates a signal output by the power-off timer 16A of the SoC 16 which counts up the time required for the stop process (power-off process) of all unnecessary circuits when the Fault signal becomes the "L" level and becomes the "H" level during the count-up period. Therefore, when the count-up is completed and the output of the power-off timer 16A which has temporarily become the "H" level becomes the "L" level again, all unnecessary circuits are effectively stopped.
[0046] Figure 2 (D) indicates a signal that the 12V external power supply 21 as the external power supply in the SoC 16 becomes an "H" level in the power supply possible state and becomes an "L" level in the power cutoff state.
[0047] Figure 2 (E) indicates a signal that the 5 V external power supply 22 as the external power supply in the SoC 16 becomes an "H" level in the power supply possible state and becomes an "L" level in the power cutoff state.
[0048] Figure 2 (F) indicates a state where the PLP power is supplied from an external power source instead of the PLP power supplied based on the back electromotive force. Figure 2 In (F), the solid line represents the actual power supply state, and the dotted line represents the power supplyable state.
[0049] Figure 2 (G) shows the supply state of the PLP power using the back electromotive force. Figure 2 In (G), the solid line represents the actual power supply state, and the dotted line represents the power supplyable state.
[0050] Figure 3 This is a processing flow chart of the PLP operation in the implementation mode.
[0051] Below, refer to Figure 2 The time diagram and Figure 3 The processing flow chart of FIG. 1 details the operation in the first form in which the 5V external power supply 22 is cut off.
[0052] exist Figure 2 At time t1, Figure 2 As shown in (E), when the 5V external power supply 22 is cut off, Figure 2As shown in (B) of FIG. 1 , the power supply monitoring unit 11B of the servo controller (SVC) 11 sets the Fault signal to "L" level.
[0053] Therefore, if Figure 2 As shown in (A), SoC16 makes the Ready signal become "L" level.
[0054] Next, SoC16 begins Figure 3 The processing of the PLP action shown in FIG. 1 is performed, and in order to realize the PLP function, at time t1, as shown in FIG. Figure 2 As shown in (C) of FIG. 1 , the counting of the power-off timer 16A of the unnecessary circuit which is a circuit not used in the PLP process is turned on (started) (step S11 ).
[0055] Next, the SoC 16 determines whether the 12V external power source is cut off (off) (step S12).
[0056] In this case, if Figure 2 As shown at time t1 of (D), the output of the 12V external power supply 21 is detected by the power supply monitoring unit 11B, so the servo controller 11 determines that the 12V external power supply 21 is not cut off (turned off) (step S12: No). Therefore, the voltage regulator 11A of the servo controller 11 will perform voltage conversion of the 12V power PS12 and output 5V power PS52 to the power switch 14.
[0057] Thus, SoC16 sets the 5V power PS52 as the power supply for the PLP circuit. Figure 2 As shown at time t1, power is supplied to the PLP circuit, and 5 V power PS52 converted by the voltage regulator 11A of the servo controller 11 is supplied to the non-essential circuits (step S25).
[0058] Therefore, unlike the related art, there is no need for the PLP power supply based on the back electromotive force to supply power to non-essential circuits, so there is no drop in the power supply voltage of the PLP circuit due to the power supply.
[0059] Then, in order to shift to data backup, the SoC 16 determines whether there is data before processing in the DRAM 17 (step S14).
[0060] In this case, the reason for determining whether or not there is data before processing in the DRAM 17 is that, as described later, performing a PLP operation even though there is no data to be backed up may cause trouble, and therefore the PLP operation is not performed.
[0061] In the determination of step S14 , if the DRAM 17 has data before processing (step S14 : Yes), since the PLP operation is necessary, the unnecessary circuits not required for the PLP operation are powered off (step S15 ).
[0062] Then, the SoC 16 determines whether the count-up is completed and the count-up of the power-off timer 16A is stopped at time t2 which is set in advance as a time after the time when the power-off of the unnecessary circuits is reliably implemented and completed (step S16 ).
[0063] In the determination of step S16 , when the count-up of the power-off timer 16A has not stopped (step S16 : No), the system enters a standby (waiting) state.
[0064] In the judgment of step S16, Figure 2 At time t2, when the count-up of the power-off timer 16A has stopped (stopped) (step S16: Yes), it is no longer necessary to supply power to the non-essential circuits. Figure 2 As shown in (G), the back electromotive force of the disk motor is used as the PLP power supply in the same manner as before (step S17). Figure 2 As shown in (F), the 12V external power supply 21 stops supplying power to the PLP circuit via the voltage regulator 11A of the servo controller (SVC) 11. Furthermore, from the viewpoint of fail-safe, the 12V external power supply 21 is stopped at time t3.
[0065] Therefore, since the PLP operation is performed by powering off unnecessary circuits using a stable power supply, the PLP operation can be completed reliably, and the reliability of the magnetic disk device 10 is improved.
[0066] As a result, power continues to be supplied to DRAM 17 which is the PLP target.
[0067] Then, the SoC 16 performs a PLP operation of transferring the backup target data stored in the DRAM 17 to the FROM 18 for backup (step S18 ).
[0068] Next, the SoC 16 determines whether the PLP operation is completed (step S19 ).
[0069] If it is determined in step S19 that the PLP operation has not yet been completed, the system enters a standby state.
[0070] In the judgment of step S19, if Figure 2 As shown at time t4, when the PLP operation is completed, the SoC 16 turns off the power of the magnetic disk device 10 in order to restart the magnetic disk device 10 (step S20).
[0071] Furthermore, after turning off the power of the magnetic disk device 10, the SoC 16 turns on the power of the magnetic disk device 10 at time t5 when it can be reliably estimated that the magnetic disk device 10 has returned to the initial state, and restarts the magnetic disk device 10 (step S21).
[0072] Next, the SoC 16 determines whether the PLP operation was performed last time (step S22 ).
[0073] That is, the SoC 16 determines whether or not the PLP operation of transferring the backup target data stored in the DRAM 17 to the FROM 18 for backup has been performed in step S18 .
[0074] In the case where the PLP operation is not being performed in the determination of step S22 (step S22: No), the process proceeds to step S24.
[0075] When it is determined in step S22 that the PLP operation is performed (step S22 : Yes), the SoC 16 reads the data to be backed up from the FROM 18 and restores the data to the disk 13 (step S23 ).
[0076] As a result, the magnetic disk device 10 performs the startup process and returns to the ready state, which is the normal state, at time t6.
[0077] Next, the operation in the second case where the 12V external power source 21 is cut off will be described.
[0078] Figure 4 This is a timing chart when the 12V external power supply is cut off.
[0079] Figure 4 (A)~ Figure 4 (G) and Figure 2 (A)~ Figure 2 (G) is the same, so its detailed description is referenced.
[0080] exist Figure 4 In, with Figure 2 The difference is that: Figure 4 As shown in (D), the 12V external power supply 21 is cut off; Figure 4 As shown in (E), the 5V external power supply 22 is in a state where it can supply power. Figure 4 The PLP power shown in (F) is the power from the 5V external power supply 22.
[0081] Below, refer to Figure 4 The time diagram and Figure 3 The processing flow chart details the operation in the second form in which the 12V external power supply 21 is cut off.
[0082] exist Figure 4 At time t1, Figure 4 As shown in (E), when the 12V external power supply 21 is cut off, Figure 4 As shown in (B) of FIG. 1 , the power supply monitoring unit 11B of the servo controller (SVC) 11 sets the Fault signal to "L" level.
[0083] Therefore, if Figure 4 As shown in (A), SoC16 makes the Ready signal become "L" level.
[0084] Next, SoC16 begins Figure 3 In order to realize the PLP function, at time t1, as shown in FIG. Figure 4 As shown in (C) of FIG. 1 , the counting of the power-off timer 16A of the unnecessary circuit which is a circuit not used in the PLP process is turned on (started) (step S11 ).
[0085] Next, the SoC 16 determines whether the 12V external power source is cut off (off) (step S12).
[0086] In this case, if Figure 4 As shown in (D), the power supply monitoring unit 11B does not detect the output of the 12V external power supply 21, so the servo controller 11 determines that the 12V external power supply 21 has been cut off (turned off) (step S12: Yes).
[0087] Thus, SoC16 sets the 5V power PS51 from the 5V external power supply 22 as the power supply for the PLP circuit. Figure 4 As shown at time t1, power is supplied to the PLP circuit, and 5V power PS51 is supplied to non-essential circuits (step S13).
[0088] Therefore, in this case, unlike the past, there is no need to supply the PLP power supply power based on the back electromotive force to the non-essential circuits, but the 5V power PS51 from the stable 5V external power supply 22 is supplied, so the power supply voltage of the PLP circuit does not drop.
[0089] Then, in order to shift to data backup, the SoC 16 determines whether there is data before processing in the DRAM 17 (step S14).
[0090] In the determination of step S14 , if there is data before processing in DRAM 17 (step S14 : Yes), the PLP operation is necessary, and therefore, unnecessary circuits not required for the PLP operation are powered off (step S15 ).
[0091] Then, the SoC 16 determines whether the count-up is completed and the count-up of the power-off timer 16A is stopped at time t2 which is set in advance as a time after the time when the power-off of the unnecessary circuits is reliably implemented and completed (step S16 ).
[0092] In the determination of step S16 , when the count-up of the power-off timer 16A has not stopped (step S16 : No), the system enters the standby state.
[0093] In the judgment of step S16, Figure 4 At time t2, when the count-up of the power-off timer 16A has stopped (stopped) (step S16: Yes), it is no longer necessary to supply power to the non-essential circuits. Figure 4 As shown in (G), the back electromotive force of the disk motor is used as the PLP power supply in the same manner as before (step S17). Figure 4 As shown in (F) of FIG. 1 , the 5V external power supply 22 stops supplying power to the PLP circuit. Furthermore, from the viewpoint of fail-safe, the 5V external power supply 22 is stopped at time t3.
[0094] Therefore, since the PLP operation is performed by powering off unnecessary circuits using a stable power supply, the PLP operation can be completed reliably, and the reliability of the magnetic disk device 10 is improved.
[0095] As a result, power continues to be supplied to DRAM 17 which is the PLP target.
[0096] Then, the SoC 16 performs a PLP operation of transferring the backup target data stored in the DRAM 17 to the FROM 18 for backup (step S18 ).
[0097] Next, the SoC 16 determines whether the PLP operation is completed (step S19 ).
[0098] If it is determined in step S19 that the PLP operation has not yet been completed, the system enters a standby state.
[0099] In the judgment of step S19, if Figure 4 As shown at time t4, when the PLP operation is completed, the SoC 16 turns off the power of the magnetic disk device 10 in order to restart the magnetic disk device 10 (step S20).
[0100] Furthermore, after turning off the power of the magnetic disk device 10, the SoC 16 turns on the power of the magnetic disk device 10 at time t5 when it can be reliably estimated that the magnetic disk device 10 has returned to the initial state, and restarts the magnetic disk device 10 (step S21).
[0101] Next, the SoC 16 determines whether the PLP operation is performed (step S22 ).
[0102] That is, the SoC 16 determines whether or not the PLP operation of transferring the backup target data stored in the DRAM 17 to the FROM 18 for backup has been performed in step S18 .
[0103] When it is determined in step S22 that the PLP operation is performed (step S22 : Yes), the SoC 16 reads the data to be backed up from the FROM 18 and restores the data to the disk 13 (step S23 ).
[0104] As a result, the magnetic disk device 10 performs the startup process and returns to the ready state, which is the normal state, at time t6.
[0105] The above description is about the operation when the data to be backed up exists. However, as mentioned above, performing the PLP operation even when the data to be backed up does not exist may cause a problem.
[0106] Below, refer to Figure 5 The time diagram and Figure 3 The processing flow chart of will now explain the actions when there is no data to be backed up.
[0107] Figure 5 This is a time chart when there is no PLP action object data.
[0108] Figure 5 (A) Figure 5 (B) Figure 5 (D)~ Figure 5 (G) and Figure 2 (A) Figure 2 (B) Figure 2 (D)~ Figure 2 (G) is the same, so its detailed description is referenced.
[0109] exist Figure 5 In, with Figure 2 The difference is that since there is no need to perform PLP action, no power-off processing of unnecessary circuits is performed, but the disk device is immediately restarted at time t2. Figure 5 In, with Figure 2 Similarly, the timing chart for the case where the 5V external power supply 22 is cut off is shown in FIG. 1 , but the same is true for the case where the 12V external power supply 21 is cut off.
[0110] Below, refer to Figure 5 The time diagram and Figure 3 , which illustrates the actions when there is no PLP action object data.
[0111] At time t1, if Figure 5 As shown in (D), when the 5V external power supply 22 is cut off, Figure 5 (A) Figure 5 As shown in (B), the Ready signal and the Fault signal become "L" level.
[0112] Thus, the SoC 16 starts counting the power-off timer of the unnecessary circuit which is a circuit not used in the PLP process in order to realize the PLP function (step S11 ).
[0113] Next, the SoC 16 determines whether the 12V external power source is cut off (off) (step S12).
[0114] In this case, if Figure 5 As shown at time t1 of (D), the output of the 12V external power supply 21 is detected by the power supply monitoring unit 11B, so the servo controller 11 determines that the 12V external power supply 21 is not cut off (turned off) (step S12: No). Therefore, the voltage regulator 11A of the servo controller 11 will perform voltage conversion of the 12V power PS12 and output 5V power PS52 to the power switch 14.
[0115] Thus, SoC16 sets the 5V power PS52 as the power supply for the PLP circuit. Figure 2 As shown at time t1, power is supplied to the PLP circuit, and 5 V power PS52 converted by the voltage regulator 11A of the servo controller 11 is supplied to the non-essential circuits (step S25).
[0116] Therefore, in this case as well, it is not necessary for the PLP power supply based on the back electromotive force to supply power to the unnecessary circuits, so there is no drop in the power supply voltage of the PLP circuit due to the power supply.
[0117] Then, in order to shift to data backup, the SoC 16 determines whether there is data before processing in the DRAM 17 (step S14).
[0118] In this case, there is no data before processing in DRAM 17 (step S14: No), and no PLP action is required. Therefore, SoC 16 restarts the disk device 10 immediately, such as Figure 5 As shown at time t2, the power of the magnetic disk device 10 is turned off (step S20).
[0119] Furthermore, after turning off the power of the magnetic disk device 10, the SoC 16 turns on the power of the magnetic disk device 10 at a time t3 at which it can be reliably estimated that the magnetic disk device 10 has returned to the initial state. Figure 5As shown at time t3, the magnetic disk device 10 is restarted (step S21).
[0120] Next, SoC16 determines whether a PLP action is required (step S22). However, since the FROM does not store the backup target data, it is determined that a PLP action is not required. The disk device 10 performs the startup process. Figure 5 At time t4, the system returns to the ready state which is the normal state.
[0121] Therefore, with Figure 2 as well as Figure 4 Compared with the case of performing the PLP action described in , since there is no need to perform power-off processing of unnecessary circuits, data backup processing, and writing back of backup data to disk 13, the risk of adverse conditions associated with the PLP action is reduced, and the restart time of the disk device can be shortened.
[0122] Next, the effects of the embodiment will be described in comparison with a reference example.
[0123] Below, for ease of understanding, quote Figure 1 Provide explanation.
[0124] Figure 6 This is a timing chart of a reference example for explaining the effects of the embodiment.
[0125] In the reference example, when the 5V external power supply or the 12V external power supply is cut off, the SoC detects a Fault signal from the servo controller (in Figure 3 In the example, it is low active), and the switch to the PLP function is performed unconditionally.
[0126] In more detail, assuming that at time t11, the 5V external power supply 22 is cut off, as shown in FIG. Figure 6 (A) Figure 6 As shown in (B), the Ready signal and the Fault signal become "L" level.
[0127] Therefore, SoC16 implements PLP functions such as Figure 6 As shown in (C), counting of a power-off timer of a non-essential circuit which is a circuit not used in the PLP process is started (step S11).
[0128] Furthermore, from the perspective of fail-safety, Figure 6 (D) and Figure 6 As shown in (E), SoC16 stops the 12V external power supply 21 and the 5V external power supply 22.
[0129] As a result, before power-off of unnecessary circuits to prevent the decrease of the 5VPLP power supply is completed, Figure 6 As shown in (F), the steering wheel motor back electromotive force PLP power supply is switched.
[0130] That is, since this is before the non-essential circuits are powered off, there is a risk that a malfunction in the PLP function may be caused by a drop in the PLP power supply voltage due to the operation of the non-essential circuits.
[0131] In addition, in the event of a power outage during data reading (Read), even if there is no backup data on the DRAM, the process is forced to switch to PLP processing. Therefore, due to unnecessary PLP switching, there is a risk of adverse conditions caused by PLP processing and the restart time may be prolonged.
[0132] However, when the external power supply is cut off, it is rare that both the 12V external power supply 21 and the 5V external power supply 22 are cut off at the same time. According to the magnetic disk device of the embodiment, when one of the 12V external power supply 21 and the 5V external power supply 22 is cut off for some reason, the power supply that has not been cut off is used until the non-essential circuits that are not required for the PLP operation are powered off, thereby suppressing the occurrence of adverse conditions such as a voltage drop of the PLP power supply.
[0133] Furthermore, it is determined whether the PLP action is actually necessary, and if it is not necessary, the PLP action is not performed, thereby simplifying the processing procedure.
[0134] Therefore, according to the embodiment, it is possible to achieve functional improvement and startup time reduction by stabilizing power supply before powering off unnecessary circuits and eliminating unnecessary PLP switching.
[0135] In addition, the program executed by the magnetic disk device of this embodiment is provided by being pre-installed in a ROM or the like.
[0136] The program executed in the magnetic disk device of this embodiment may be provided as an installable or executable file recorded on a computer-readable recording medium such as a USB memory, a semiconductor memory device such as an SSD (Solid State Drive), or a DVD (Digital Versatile Disk).
[0137] Furthermore, it is also possible to configure that the program executed in the disk device of the present embodiment is stored on a computer connected to a network such as the Internet, and is provided by downloading via the network. In addition, it is also possible to configure that the program executed in the disk device of the present embodiment is provided or issued via a network such as the Internet.
[0138] Several embodiments of the present invention have been described, but these embodiments are presented as examples and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the scope of the invention. These embodiments and their variations are included in the scope and / or spirit of the invention, and are included in the invention described in the claims and the scope of their equivalents.
Claims
1. A magnetic disk device that operates by receiving power supplied from a first power source and a second power source, wherein the first power source supplies power having a first voltage, and the second power source has a second voltage higher than the first voltage, the magnetic disk device comprising: a power supply determination unit configured to detect whether power is cut off in either the first power source or the second power source; and A control unit supplies power from the other power source to a non-essential circuit to which power supply should be stopped, until a power supply stop process is completed in the non-essential circuit, when power is cut off in either power source.
2. The magnetic disk device according to claim 1, When supplying power to the non-essential circuit, the control unit supplies power for PLP operation from the other power supply to the PLP circuit, which is a power failure protection circuit.
3. The magnetic disk device according to claim 2, A PLP power supply is provided, the PLP power supply supplies power for PLP operation to the PLP circuit, The control unit stops the power supply from the other power source to the PLP circuit and starts the power supply from the PLP power source to the PLP circuit when the power supply stop process is completed in the non-essential circuit.
4. The magnetic disk device according to claim 3, The control unit turns off the other power supply after starting the power supply from the PLP power supply to the PLP circuit.
5. The magnetic disk device according to claim 1, A voltage conversion unit is provided, which converts the voltage of the power supplied from the second power supply into the first voltage when power failure occurs in the first power supply, The control unit supplies the electric power supplied from the second power supply to the non-essential circuit via the voltage conversion unit.
6. The magnetic disk device according to claim 1, A PLP circuit for performing PLP operation is provided, The control unit determines whether the PLP operation needs to be performed when power is cut off in either power source. When the PLP operation is not necessary, the PLP circuit is not caused to perform the PLP operation, and the power supply of the magnetic disk device is turned off to perform a restart operation.
7. A method for controlling a magnetic disk device, the magnetic disk device being operated by receiving power supplied from a first power source and a second power source, the first power source supplying power having a first voltage, the second power source having a second voltage higher than the first voltage, the method comprising: A process of detecting whether power is cut off in either the first power source or the second power source; and A process in which, when power is cut off in either power source, power is supplied from the other power source to a non-essential circuit to which power supply should be stopped until a power supply stop process is completed in the non-essential circuit.
8. A program for controlling a magnetic disk device by a computer, the magnetic disk device being operated by receiving power supplied from a first power supply and a second power supply, the first power supply supplying power having a first voltage, the second power supply having a second voltage higher than the first voltage, the program causing the computer to function as the following means: a unit for detecting whether power is cut off in either the first power source or the second power source; and A means for supplying power from the other power source to a non-essential circuit to which power supply should be stopped, until a process at the time of power supply stop is completed in the non-essential circuit, when power is cut off in either power source.
