NVMe SSD Controller Boot Mode Selection via Power-Off Duration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Solid State Drives (SSDs) face data retention issues due to charge leakage when idle for extended periods, leading to unrecoverable errors and potential failure upon startup, especially in unused or backup drives, as they cannot determine the power-off duration before booting.

Innovation Solution

Incorporating a controller with a hardware register to store and compare power-on and power-off timestamps to determine the boot-up mode, allowing the SSD to decide whether to boot from factory instructions or flash memory based on the power-off duration, thereby avoiding data retention failures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If the SSD remains powered off for extended periods to save energy, then energy consumption is reduced, but data retention deteriorates due to charge leakage in flash memory

Engineering Contradiction:
Improveenergy consumptionVSAvoiddata retention
Core Design Contradiction:
Loss of energyVSReliability

Solution Approach 1:

The patent applies preliminary action by determining the power-off duration before the SSD boots up. The controller calculates how long the drive has been powered off using timestamps stored in non-volatile memory, and based on this pre-determined duration, decides whether to attempt normal boot or factory mode boot. This prevents attempting to read degraded flash memory after extended power-off periods, thereby avoiding boot failures while still allowing energy-saving power-off states.

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If the SSD attempts to boot from flash memory after extended power-off, then normal operation can be restored, but the drive may fail due to unrecoverable errors in the flash memory

Engineering Contradiction:
Improveboot capabilityVSAvoidboot success rate
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent performs preliminary determination of power-off duration before the boot process begins. The controller retrieves timestamps from non-volatile memory, calculates the elapsed time, and compares it against a threshold value. Based on this pre-calculation, the controller decides whether to proceed with normal flash memory boot or switch to factory mode boot using instructions from non-volatile memory, thereby preventing boot failures before they occur.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism - the power-off duration determination logic that acts as a mediator between the power-off state and the boot process. This intermediary evaluates the power-off duration and mediates the boot decision, selecting appropriate boot instructions based on whether the duration exceeds the threshold, thus ensuring reliable boot operation regardless of power-off duration.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If the SSD includes additional factory boot instructions to handle extended power-off scenarios, then boot reliability is improved, but device complexity increases due to multiple boot modes

Engineering Contradiction:
Improveboot reliabilityVSAvoidboot mode complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies universality by designing the controller to handle multiple boot modes through a single unified determination mechanism. The same controller and timestamp storage infrastructure serve both normal operation and factory mode boot scenarios. The power-off duration determination logic universally applies to all boot situations, selecting the appropriate boot path based on the calculated duration, thereby managing complexity through a single multi-functional approach rather than separate dedicated systems.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11853769B2Determination of power-off duration of NVME SSD
Publication Date: 2023.12.26 KIOXIA CORP
  • US11853769B2 patent drawing
  • US11853769B2 patent drawing
  • US11853769B2 patent drawing

AI summary

An SSD includes a controller having a first non-volatile memory in which a power-off timestamp is stored, and a hardware register accessible by a host. The SSD also includes a second non-volatile memory coupled to the controller, the second non-volatile memory storing instructions for at least one boot-up mode of the SSD. Upon power up of the controller and prior to the controller executing the instructions for at least one boot-up mode of the SSD, the controller receives, in the hardware register, a power-on timestamp from the host and determines, based on the power-on timestamp and the stored power-off timestamp, a boot-up mode of the SSD.