Flash Memory Controller Wear-Leveling via Dynamic Block Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flash memory systems face inefficiencies due to non-uniform erase cycles across blocks, leading to premature failure and reduced lifespan, as frequently accessed blocks are not managed effectively, resulting in uneven wear and tear between data and spare blocks.

Innovation Solution

A flash memory controller with a weight calculation module and spare region monitor module dynamically allocates frequently updated data to less-erased blocks and less-updated data to frequently erased blocks, implementing wear-leveling to achieve uniform erase cycles and extend the lifespan of flash memory blocks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional block management is used with fixed data and spare regions, then the memory structure is simple and easy to manage, but frequently accessed blocks experience non-uniform erase cycles leading to premature failure

Engineering Contradiction:
Improveblock lifespanVSAvoidblock management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic block management where the controller continuously monitors erase cycle counts of data blocks and dynamically selects which blocks to erase next based on current wear levels. This dynamic approach distributes erase operations uniformly across all blocks over time, preventing any single block from reaching its erase limit prematurely, thus improving reliability without requiring a fundamentally complex management structure

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of block selection criteria from static (fixed data/spare region划分) to dynamic (based on real-time erase cycle counting). By tracking and comparing erase counts, the controller adapts its block management strategy to current wear conditions, ensuring uniform wear distribution and extending overall memory lifespan

Inventive Principle:
Principle #35Parameter changes

2Duration of action of stationary object

If wear-leveling is implemented to achieve uniform erase distribution, then block lifespan is extended, but the control mechanism and monitoring requirements increase system complexity

Engineering Contradiction:
Improveflash memory lifespanVSAvoidcontroller complexity
Core Design Contradiction:
Duration of action of stationary objectVSDevice complexity

Solution Approach 1:

The patent employs a feedback mechanism where the controller monitors the erase cycle counts of data blocks and uses this information to make informed decisions about which blocks to erase next. This feedback loop ensures that erase operations are distributed uniformly across all blocks, extending flash memory lifespan while keeping the control logic manageable through systematic monitoring and selection criteria

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The wear-leveling system operates autonomously within the flash memory controller, automatically tracking erase counts and selecting blocks for erasure without external intervention. This self-service approach manages wear distribution internally, extending memory lifespan without requiring additional external control mechanisms or increasing overall system complexity

Inventive Principle:
Principle #25Self-service

3Reliability

If spare blocks are allocated for each management unit to replace written blocks, then data integrity is maintained, but frequently accessed blocks and their corresponding spare blocks experience extremely increasing erase times

Engineering Contradiction:
Improvedata integrityVSAvoiderase operation frequency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates equipotentiality in terms of wear distribution by continuously monitoring and comparing erase cycle counts across all data blocks. The wear-leveling mechanism ensures that no single block or spare block pair experiences disproportionately high erase frequency, distributing the wear burden uniformly across the entire memory structure and preventing premature failure of frequently accessed blocks

Inventive Principle:
Principle #12Equipotentiality

Data Source

PatentUS7908423B2Memory apparatus, and method of averagely using blocks of a flash memory
Publication Date: 2011.03.15 SILICON MOTION INC
  • US7908423B2 patent drawing
  • US7908423B2 patent drawing
  • US7908423B2 patent drawing

AI summary

A flash memory controller for averagely using blocks of a flash memory and the method thereof are provided. The flash memory controller is configured to process wear-leveling by allocating frequently updated data in less-erased blocks, and, allocating less-updated data in frequently erased blocks to achieve dynamic uniformity of times of erasion of blocks.