IP Library Granted Patent US 9,437,237
Granted Patent B1
US 9,437,237 · App. 14/627,590 · Granted Sep 6, 2016

Method to detect power loss through data storage device spindle speed

Inventors: Cheng Fatt Yee (Subang Jaya, MY); Wei San Pang (Puchong, MY)
Assignee: WESTERN DIGITAL TECHNOLOGIES, INC.
G11B19/28G11B19/20G11B19/26G11B2220/90
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,437,237
App. No.
14/627,590
Granted
Sep 6, 2016
Kind
B1
Abstract

A method for detecting power loss on a data storage device (DSD) includes: as part of a device initialization of the DSD, measuring a rotational speed of a spindle of a rotating media; comparing the measured spindle rotational speed to a threshold rotational speed value; and based on the comparison, determining whether the device initialization has been triggered due to a power-on reset of the DSD.

Claims (58)

1. A method for detecting power loss on a data storage device (DSD), the method comprising:

as part of a device initialization of the DSD, measuring a rotational speed of a spindle of a rotating media;

comparing the measured spindle rotational speed to a threshold rotational speed value; and

based on the comparison, determining whether the device initialization has been triggered due to a power-on reset of the DSD,

wherein the method is performed under the control of a processor.

2. The method of claim 1 , further comprising:

in response to a determination that the measured spindle rotational speed is equal to or greater than the threshold rotational speed value, incrementing a count of a power-loss counter.

3. The method of claim 2 , wherein the count of the power-loss counter is stored in nonvolatile storage.

4. The method of claim 2 , wherein the count of the power-loss counter is stored on the rotating media.

5. The method of claim 1 , further comprising:

in response to a determination that the measured spindle rotational speed is less than the threshold rotational speed value, incrementing a count of a power-on reset counter.

6. The method of claim 1 , wherein the threshold rotational speed value is based on a rotational speed difference from an operational rotational speed of the spindle.

7. The method of claim 1 , wherein the threshold rotational speed value is adjustable.

8. A data storage device (DSD), comprising:

rotating media;

a spindle configured to cause the rotating media to rotate;

a rotational speed sensor configured to sense a rotational speed of the spindle as part of a device initialization of the DSD;

a power-loss counter configured to count power-loss events; and

a control unit configured to:

determine the rotational speed of the spindle based on a signal from the rotational speed sensor;

compare the determined rotational speed of the spindle to a threshold rotational speed value; and

based on the comparison, determine whether the device initialization has been triggered due to a power-on reset of the DSD.

9. The DSD of claim 8 , wherein in response to a determination that the spindle rotational speed is equal to or greater than the threshold rotational speed value, the control unit is further configured to increment a count of the power-loss counter.

10. The DSD of claim 9 , further comprising:

nonvolatile storage,

wherein the control unit is further configured to store the count of the power-loss counter in the nonvolatile storage.

11. The DSD of claim 9 , wherein the control unit is further configured to store the count of the power-loss counter on the rotating media.

12. The DSD of claim 8 , further comprising:

a power-on reset counter,

wherein in response to a determination that the spindle rotational speed is less than the threshold rotational speed value, the control unit is further configured to increment a count of the power-on reset counter.

13. A non-transitory computer readable medium having stored therein a program for making a processor execute a method for detecting power loss on a data storage device (DSD), said program including executable instructions for performing operations comprising:

as part of a device initialization of the DSD, measuring by the processor a rotational speed of a spindle of a rotating media;

comparing by the processor the measured spindle rotational speed to a threshold rotational speed value; and

based on the comparison, determining by the processor whether the device initialization has been triggered due to a power-on reset of the DSD.

14. The non-transitory computer readable medium having stored therein a program as defined in claim 13 , the program further comprising executable instructions for performing operations including:

in response to a determination that the spindle rotational speed is equal to or greater than the threshold rotational speed value, incrementing a count of a power-loss counter.

15. The non-transitory computer readable medium having stored therein a program as defined in claim 14 , the program further comprising executable instructions for performing operations including:

storing the count of the power-loss counter in nonvolatile storage.

16. The non-transitory computer readable medium having stored therein a program as defined in claim 14 , the program further comprising executable instructions for performing operations including:

storing the count of the power-loss counter on the rotating media.

17. The non-transitory computer readable medium having stored therein a program as defined in claim 13 , the program further comprising executable instructions for performing operations including:

in response to a determination that the spindle rotational speed is less than the threshold rotational speed value, incrementing a count of a power-on reset counter.

18. The non-transitory computer readable medium having stored therein a program as defined in claim 13 , the program further comprising executable instructions for performing operations including:

determining the threshold rotational speed value based on a rotational speed difference from an operational rotational speed of the spindle.

19. An apparatus for detecting power loss duration on a data storage device (DSD), the apparatus comprising:

a control unit configured to, as part of a device initialization of the DSD:

measure a rotational speed of a spindle of a rotating media;

compare the measured spindle rotational speed to a plurality of successively lower threshold rotational speed values corresponding to successively longer time durations; and

determine a power loss duration based on comparisons of the measured spindle rotational speed with the plurality of successively lower threshold rotational speed values.

20. The apparatus of claim 19 , wherein the control unit is further configured to:

in response to a determination that the measured spindle rotational speed is greater than one of the successively lower threshold rotational speed values:

store a time duration corresponding to an immediately preceding threshold rotational speed value as a power loss duration, and

increment a count of a power-loss counter.

21. The apparatus of claim 20 , wherein the control unit is further configured to store the count of the power-loss counter in nonvolatile storage.

22. The apparatus of claim 20 , wherein the control unit is further configured to store the count of the power-loss counter on the rotating media.

23. The apparatus of claim 19 , wherein the control unit is further configured to:

in response to a determination that the measured spindle rotational speed is less than a minimum threshold rotational speed value, incrementing a count of a power-on reset counter.

24. The apparatus of claim 19 , wherein the successively lower threshold rotational speed values are based on rotational speed differences from an operational rotational speed of the spindle.

Assignments (8)
PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 064715/0001 →
RELEASE OF SECURITY INTEREST AT REEL 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 045501/0714 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038744/0481 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2015
From: YEE, CHENG FATT; PANG, WEI SAN
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 036896/0494 →