Data Storage Controller Soft Error Recovery via Cache Rearrangement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data storage devices face significant challenges in managing soft errors, which can lead to system halts and user data loss, especially as element density in semiconductor processes increases, causing bit-flipping errors and making existing error correction mechanisms inadequate.

Innovation Solution

An error-handling method and associated data storage device controller that uploads an error-handling program with ECC protection to a buffer memory, interrupts current procedures, disables transmission interfaces, resets hardware engines, performs cache rearrangement, and activates a watchdog module for soft resets to recover from soft errors without system halts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional error correction mechanisms are used, then system simplicity is maintained, but reliability deteriorates due to insufficient error correction capability as element density increases

Engineering Contradiction:
Improveerror correction capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the error handling process into distinct phases: error detection, error correction attempt, and fallback system halt. The memory system is divided into functional blocks including error detection logic, error correction code (ECC) units, and status register interfaces. This segmentation allows each component to specialize in specific error handling tasks, improving overall reliability without proportionally increasing system complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary error detection and correction actions before system failure occurs. Error detection logic continuously monitors memory operations, and ECC mechanisms are pre-configured to correct common bit-flip errors. Status registers are pre-prepared to track error states, enabling proactive error management that prevents catastrophic failures while maintaining system simplicity.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If system halt is implemented to prevent unpredictable errors, then reliability is improved, but productivity deteriorates due to complete operation stoppage

Engineering Contradiction:
Improveerror prevention capabilityVSAvoidoperation continuity
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

Instead of halting the entire system upon error detection, the patent applies partial action by only stopping the specific memory operation that encountered the error. The system continues to accept and process other operations normally, while isolating and handling the erroneous operation separately. This approach maintains productivity by allowing unaffected operations to proceed while still ensuring reliability through targeted error handling.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent segments the system operation into independent operation threads that can be individually halted and resumed. When an error is detected in one operation, only that specific operation thread is paused while others continue executing. This segmentation enables selective error handling that prevents system-wide stoppages, thereby maintaining productivity while preserving reliability.

Inventive Principle:
Principle #1Segmentation

3Quantity of substance

If element density is increased to improve storage capacity, then productivity is improved, but reliability deteriorates due to increased soft errors and bit-flipping

Engineering Contradiction:
Improvestorage capacityVSAvoidsoft error rate
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent implements preliminary error detection and correction mechanisms that are activated before errors can propagate. Error detection logic is integrated into the memory interface to identify bit-flip errors early in the operation sequence. ECC codes are pre-calculated and stored alongside data, enabling rapid correction of soft errors without requiring system halt or data retransmission, thus maintaining both high storage capacity and reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent converts the harmful effect of increased soft error rates (resulting from higher element density) into a beneficial feature by implementing sophisticated error detection and correction mechanisms. The higher density operations generate more error events, which in turn activate and refine the error handling subsystems. These subsystems, when functioning properly, actually improve overall system reliability by catching and correcting errors that would otherwise go undetected in high-density operations.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentEP3647951B1Error-handling method, associated data storage device and controller thereof
Publication Date: 2021.06.30 SILICON MOTION INC
  • EP3647951B1 patent drawingFigure 1
  • EP3647951B1 patent drawingFigure 2
  • EP3647951B1 patent drawingFigure 3

AI summary

An error-handling method, an associated data storage device (100) and controller (110) thereof are provided. The error-handling method may include: uploading an error-handling program to a buffer memory (116) equipped with error correction code (ECC) protection capability; in response to at least one error, interrupting execution of a current procedure and activating an interruption service; executing the error-handling program on the buffer memory (116); disabling a transmission interface circuit (118); resetting at least one hardware engine and at least one NV memory element (122, 122-1, 122-2, ...,122-N); performing cache rearrangement regarding a data cache within the data storage device (100), and programming rearranged cache data into the NV memory element (122, 122-1, 122-2, ...,122-N), to perform data recovery; and through activating a watchdog module and the transmission interface circuit (118) and relinking with a host device (50), completing soft reset to make the data storage device (100) operate normally again.