# US 2015/0149825 A1 · Power Fail Latching Based on Monitoring Multiple Power Supply Voltages in a Storage Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149825 A1
- Document ID: US20150149825A1
- Status: Published application
- Kind: A1
- Application number: 14/135,467
- Filed: 2013-12-19
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: SanDisk Enterprise IP LLC
- Applicants: SanDisk Enterprise IP LLC
- Inventors: Gregg S. Lucas; Kenneth B. Delpapa; Robert W. Ellis
- Web page: https://patentgrep.com/patent/US20150149825A1

## CPC

- G06F 11/2053: {where persistent mass storage functionality or persistent mass storage control functionality is redundant (error detection or correction in information storage based on relative movement between record carrier and transducer G11B20/18)}
- G06F 11/1402: {Saving, restoring, recovering or retrying}
- G06F 11/1441: {Resetting or repowering}
- G06F 11/2015: {Redundant power supplies (power supply failure G06F1/30)}
- G11C 29/021: {in voltage or current generators}
- G11C 2029/0409: {Online test}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

The various embodiments described herein include systems, methods and/or devices used to enable power fail latching based on monitoring multiple power supply voltages in a storage device. In one aspect, the method includes: (1) determining whether a first power supply voltage provided to the storage device is out of range for a first time period, (2) determining whether a second power supply voltage provided to the storage device is out of range for a second time period, and (3) in accordance with a determination that at least one of the first power supply voltage is out of range for the first time period and the second power supply voltage is out of range for the second time period, latching a power fail condition.

## Claims

### Claim 1

A method of protecting data in a storage device, the method comprising:
determining whether a first power supply voltage provided to the storage device is out of range for a first time period;
determining whether a second power supply voltage provided to the storage device is out of range for a second time period; and
in accordance with a determination that at least one of the first power supply voltage is out of range for the first time period and the second power supply voltage is out of range for the second time period, latching a power fail condition.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second power supply voltage is a voltage supplied for serial presence detect (SPD) functionality and the first power supply voltage is lower than the second power supply voltage.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining whether the first power supply voltage provided to the storage device is out of range includes:
monitoring the first power supply voltage;
comparing the first power supply voltage with an under-voltage threshold, the under-voltage threshold determined in accordance with a target value of the first power supply voltage; and
in accordance with a determination that the first power supply voltage is less than the under-voltage threshold, determining the first power supply voltage is out of range.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the under-voltage threshold in accordance with the target value of the first power supply voltage includes:
determining a predefined percentage to use in determining the under-voltage threshold;
calculating a first value, the first value determined by multiplying the predefined percentage by the target value of the first power supply voltage;
calculating a second value, the second value determined by subtracting the first value from the target value of the first power supply voltage; and
setting the under-voltage threshold equal to the second value.

### Claim 5 (depends on 4)

The method of claim 4, wherein the predefined percentage varies in accordance with the target value of the first power supply voltage.

### Claim 6 (depends on 4)

The method of claim 4, wherein the predefined percentage is adjustable.

### Claim 7 (depends on 3)

The method of claim 3, wherein the under-voltage threshold differs from the target value of the first power supply voltage by different percentages of the target value of the first power supply voltage when the target value of the first power supply voltage is equal to distinct, predefined first and second voltages.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
performing a power fail operation in accordance with the power fail condition, the power fail operation including:
transferring data held in volatile memory to non-volatile memory; and
removing power from a plurality of controllers on the storage device.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
subsequent to completion of the power fail operation:
determining whether the first power supply voltage provided to the storage device is within range;
determining whether the second power supply voltage provided to the storage device is within range; and
in accordance with a determination that both the first power supply voltage and the second power supply voltage are within range, clearing the latched power fail condition.

### Claim 10 (depends on 8)

The method of claim 8, wherein the plurality of controllers on the storage device includes a memory controller and one or more flash controllers, the one or more flash controllers coupled by the memory controller to a host interface of the storage device.

### Claim 11 (depends on 10)

The method of claim 10, wherein transferring data held in volatile memory to non-volatile memory includes:
transferring data from the memory controller to the one or more flash controllers; and
transferring data from the one or more flash controllers to the non-volatile memory.

### Claim 12 (depends on 8)

The method of claim 8, wherein the power fail operation is performed to completion regardless of whether the first power supply voltage or the second power supply voltage returns to within range after the first and second time periods, respectively.

### Claim 13 (depends on 8)

The method of claim 8, wherein the storage device includes an energy storage device, and the power fail operation is performed using power from the energy storage device.

### Claim 14 (depends on 13)

The method of claim 13, wherein the energy storage device includes one or more capacitors.

### Claim 15 (depends on 8)

The method of claim 8, wherein the non-volatile memory comprises one or more flash memory devices.

### Claim 16 (depends on 8)

The method of claim 8, wherein the plurality of controllers on the storage device includes at least one non-volatile memory controller and at least one other memory controller other than the at least one non-volatile memory controller.

### Claim 17 (depends on 8)

The method of claim 8, wherein one of the plurality of controllers on the storage device maps double data rate (DDR) interface commands to serial advance technology attachment (SATA) interface commands.

### Claim 18 (depends on 1)

The method of claim 1, wherein the storage device includes a dual in-line memory module (DIMM) device.

### Claim 19 (depends on 1)

The method of claim 1, including:
determining whether the first power supply voltage is lower than a first under-voltage threshold for a first under-voltage time period; and
determining whether the first power supply voltage is higher than a first over-voltage threshold for a first over-voltage time period.

### Claim 20 (depends on 1)

The method of claim 1, including:
determining whether the second power supply voltage is lower than a second under-voltage threshold for a second under-voltage time period; and
determining whether the second power supply voltage is higher than a second over-voltage threshold for a second over-voltage time period.

### Claim 21

A storage device, comprising:
an interface for operatively coupling the storage device with a host system;
the storage device configured to:
determine whether a first power supply voltage provided to the storage device is out of range for a first time period;
determine whether a second power supply voltage provided to the storage device is out of range for a second time period; and
in accordance with a determination that at least one of the first power supply voltage is out of range for the first time period and the second power supply voltage is out of range for the second time period, latch a power fail condition.

### Claim 22 (depends on 21)

The storage device of claim 21, wherein the second power supply voltage is a voltage supplied for serial presence detect (SPD) functionality and the first power supply voltage is lower than the second power supply voltage.

### Claim 23 (depends on 21)

The storage device of claim 21, wherein determining whether the first power supply voltage provided to the storage device is out of range includes:
monitoring the first power supply voltage;
comparing the first power supply voltage with an under-voltage threshold, the under-voltage threshold determined in accordance with a target value of the first power supply voltage; and
in accordance with a determination that the first power supply voltage is less than the under-voltage threshold, determining the first power supply voltage is out of range.

### Claim 24 (depends on 21)

The storage device of claim 21, wherein the storage device is further configured to:
perform a power fail operation in accordance with the power fail condition, the power fail operation including:
transferring data held in volatile memory to non-volatile memory; and
removing power from a plurality of controllers on the storage device.

### Claim 25 (depends on 21)

The storage device of claim 21, wherein the storage device includes a dual in-line memory module (DIMM) device.

### Claim 26

A non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of a storage device, the one or more programs including instructions for:
determining whether a first power supply voltage provided to the storage device is out of range for a first time period;
determining whether a second power supply voltage provided to the storage device is out of range for a second time period; and
in accordance with a determination that at least one of the first power supply voltage is out of range for the first time period and the second power supply voltage is out of range for the second time period, latching a power fail condition.
