Flash Memory Wear Leveling via Transaction Count Tracking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory management solutions for Flash memories fail to effectively balance complexity and limitations, leading to device failure due to physical degradation, especially in automotive applications where reliability and prolonged lifetime are critical.

Innovation Solution

A method for managing memory circuits by maintaining records of coupling pairs of memory sectors and their transaction counts, replacing sectors based on threshold values to evenly distribute data transactions, thereby reducing physical degradation and extending device life.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If memory sectors are replaced based on transaction counts to achieve wear leveling, then memory circuit reliability is improved, but device complexity increases due to the need to maintain transaction count records and perform threshold comparisons

Engineering Contradiction:
Improvememory circuit reliabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent maintains transaction count records (WL) for each memory sector in advance, before wear leveling becomes critical. By pre-tracking the number of write transactions for each sector and establishing threshold values, the system proactively identifies sectors approaching wear limits, enabling timely replacement decisions that prevent degradation-related failures without requiring complex real-time analysis

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The wear leveling mechanism serves itself by automatically monitoring its own transaction counts and making replacement decisions based on predefined thresholds. The system uses its internal transaction count records to identify which sectors need replacement, eliminating the need for external control logic or complex algorithms to determine wear distribution, thus improving reliability while keeping the control mechanism relatively simple

Inventive Principle:
Principle #25Self-service

2Measurement precision

If transaction count records are maintained for all memory sectors, then wear leveling precision is improved, but RAM usage increases due to storing coupling pairs of positions and addresses

Engineering Contradiction:
Improvewear leveling precisionVSAvoidRAM usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent segments the memory management task by maintaining transaction count records only for sectors that are actively used or have been recently accessed, rather than tracking all possible sectors uniformly. The coupling pairs of positions and addresses are maintained selectively, allowing the system to achieve sufficient wear leveling precision for active data while minimizing the RAM footprint by not tracking inactive or rarely accessed sectors

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system maintains transaction count records with a level of detail that exceeds the minimum theoretical requirement for basic wear leveling. By tracking exact transaction counts for each sector rather than using coarse-grained buckets or estimates, the patent achieves high precision in wear distribution. This partial excess in tracking detail is acceptable because it prevents data corruption and ensures reliable wear leveling, while the RAM usage remains manageable through selective tracking of only those sectors that are currently in use

Inventive Principle:
Principle #16Partial or excessive action

3Duration of action of stationary object

If memory sectors are frequently replaced to distribute transactions evenly, then memory circuit lifetime is extended, but productivity decreases due to additional overhead in managing sector replacement operations

Engineering Contradiction:
Improvememory circuit lifetimeVSAvoidproductivity
Core Design Contradiction:
Duration of action of stationary objectVSProductivity

Solution Approach 1:

The patent implements wear leveling through periodic sector replacement operations triggered when transaction counts reach predetermined threshold values. Rather than continuously monitoring and replacing sectors, the system allows sectors to accumulate transactions until they hit a threshold, at which point replacement is triggered. This periodic approach extends memory lifetime by distributing wear evenly across all sectors while minimizing the overhead of replacement operations, as replacements occur only when necessary rather than on every write transaction

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system uses feedback from transaction count records to dynamically adjust replacement decisions. By continuously monitoring the transaction counts of all sectors and comparing them against threshold values, the system receives feedback on wear distribution and makes replacement decisions only when imbalances are detected. This feedback mechanism ensures that replacement operations occur at optimal moments to extend overall memory lifetime while avoiding unnecessary replacements that would reduce productivity

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11263125B2Managing memory sector swapping using write transaction counts
Publication Date: 2022.03.01 STMICROELECTRONICS SRL
  • US11263125B2 patent drawing
  • US11263125B2 patent drawing

AI summary

A method can be used for managing a memory circuit that includes memory sectors having respective positions in the memory circuit as well as respective addresses for data transfer transactions. The method includes maintaining a record of coupling pairs of the positions and the addresses. Each coupling pair includes a memory sector in the plurality of memory sectors and an address coupled with the memory sector for data transfer transactions with respect to the memory sector. The method also includes keeping counts of the data transfer transactions involving the memory sectors in the plurality of memory sectors and replacing a first memory sector included in a coupling pair and having a first count of transactions with a second memory sector having a second count of transactions as a result of a condition being met.