# US 2024/0202111 A1 · Memory system and method for controlling the same

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

- Number: US 2024/0202111 A1
- Document ID: US20240202111A1
- Status: Published application
- Kind: A1
- Application number: 18/461,374
- Filed: 2023-09-05
- Published: 2024-06-20
- Earliest claimed: 2022-12-20
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Haruka MORI; Mitsunori TADOKORO; Akinori NAGAOKA
- Web page: https://patentgrep.com/patent/US20240202111A1

## CPC

- G06F 12/0238: {Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory}
- G11C 29/021: {in voltage or current generators}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G11C 7/04: with means for avoiding disturbances due to temperature effects
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/1016: Performance improvement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7206: Reconfiguration of flash memory system
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

According to one embodiment, a controller for a memory system including a nonvolatile memory with physical blocks sets logical blocks including the physical blocks, manages a first table having a first value indicating a threshold voltage to be used for reading data from each logical block, a second table for each physical block having a corrected threshold voltage that has been statistically determined to be an outlier in association with a second value indicating the corrected threshold voltage for the physical block. The controller performs a threshold voltage tracking for identifying a threshold voltage suitable for reading data from a physical block if a reading fails, and then retries the reading using the threshold voltage obtained by the threshold voltage tracking. The controller updates the first table if the physical block is not listed in the second table, but not otherwise.

## Claims

### Claim 1

A memory system, comprising:
a nonvolatile memory including a plurality of physical blocks; and
a controller configured to control reading and writing of the nonvolatile memory, the controller being further configured to:
set a plurality of logical blocks, each including physical blocks;
manage a first table including, for each logical block, a first value indicating a threshold voltage to be used for reading data from the logical block;
manage a second table including, for each physical block having a corrected threshold voltage that is statistically determined to be an outlier from among corrected threshold voltages for each physical block, a second value indicating the corrected threshold voltage for the physical block together with an identifier of the physical block;
perform a threshold voltage tracking for identifying a threshold voltage suitable for reading data from a first physical block if a reading of data from a first logical block including the first physical block fails, and then retry the reading of the data from the first logical block using the threshold voltage obtained by the threshold voltage tracking;
update a threshold voltage for the first logical block including the first physical block in the first table to the threshold voltage obtained by the threshold voltage tracking if an identifier of the first physical block is not recorded in the second table; and
prohibit updating of the threshold voltage for the first logical block in the first table to the threshold voltage obtained by the threshold voltage tracking if the identifier of the first physical block is recorded in the second table.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
update a threshold voltage for the first physical block recorded in the second table to the threshold voltage obtained by the threshold voltage tracking if the identifier of the first physical block is recorded in the second table.

### Claim 3 (depends on 2)

The memory system according to claim 2, wherein the controller is further configured to:
read data from a second physical block using a threshold voltage for the second physical block recorded in the second table if an identifier of the second physical block is recorded in the second table; and
read the data from the second physical block using a threshold voltage for a second logical block including the second physical block recorded in the first table if the identifier of the second physical block is not recorded in the second table.

### Claim 4 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
read data from a second physical block using a threshold voltage for the second physical block recorded in the second table if an identifier of the second physical block is recorded in the second table; and
read the data from the second physical block using a threshold voltage for a second logical block including the second physical block recorded in the first table if the identifier of the second physical block is not recorded in the second table.

### Claim 5 (depends on 1)

The memory system according to claim 1, further comprising:
a temperature sensor to measure a temperature of the nonvolatile memory.

### Claim 6 (depends on 5)

The memory system according to claim 5, wherein the controller is further configured to:
manage a third table recording temperature data indicating the temperature of the nonvolatile memory as detected by the temperature sensor at the time of writing data to each logical block.

### Claim 7 (depends on 6)

The memory system according to claim 6, wherein the controller is further configured to:
when reading data from a logical block, acquire a temperature correction value for the threshold voltage based on a difference between a temperature of the nonvolatile memory at the present time and the temperature of the nonvolatile memory at the time of writing data to the logical block as recorded in the third table and use a threshold voltage based on the acquired temperature correction value.

### Claim 8 (depends on 7)

The memory system according to claim 7, wherein the controller is further configured to acquire the temperature correction value for the threshold voltage using a predetermined correction table.

### Claim 9 (depends on 7)

The memory system according to claim 7, wherein the controller is further configured to acquire the temperature correction value for the threshold voltage by calculation of a model function based on a relationship between the difference of temperature and the temperature correction value.

### Claim 10 (depends on 1)

The memory system according to claim 1, wherein the controller is further configured to:
compress and store the first table in the nonvolatile memory when the memory system is powered off.

### Claim 11 (depends on 10)

The memory system according to claim 10, wherein the controller is further configured to:
read the compressed first table from the nonvolatile memory when the memory system is powered on;
decompress the compressed first table after reading when the memory system is powered on;
perform a threshold voltage tracking for identifying a threshold voltage suitable for a second logical block, and compare a first threshold voltage obtained by the threshold voltage tracking with a second threshold voltage for the second logical block recorded in the first table obtained from the decompression;
determine to use the first table obtained from the decompression if a difference between the first threshold voltage and the second threshold voltage is less than a threshold amount; and
determine to discard the first table obtained from the decompression if the difference between the first threshold voltage and the second threshold voltage is equal to or greater than the threshold amount.

### Claim 12 (depends on 11)

The memory system according to claim 11, wherein the controller is further configured to compress the first table using a lossy compression technique.

### Claim 13 (depends on 10)

The memory system according to claim 10, wherein the controller is further configured to compress the first table using a lossy compression technique.

### Claim 14

A method for controlling a nonvolatile memory including a plurality of physical blocks, the control method comprising:
setting a plurality of logical blocks, each including physical blocks;
managing a first table including, for each logical block, a first value indicating a threshold voltage to be used for reading data from the logical block;
managing a second table including, for each physical block having a corrected threshold voltage that is statistically determined to be an outlier from among corrected threshold voltages for each physical block, a second value indicating the corrected threshold voltage for the physical block together with an identifier of the physical block;
performing a threshold voltage tracking for identifying a threshold voltage suitable for reading data from a first physical block if a reading of data from a first logical block including the first physical block fails, and then retrying the reading of the data from the first logical block using the threshold voltage obtained by the threshold voltage tracking;
updating a threshold voltage for the first logical block including the first physical block in the first table to the threshold voltage obtained by the threshold voltage tracking if an identifier of the first physical block is not recorded in the second table; and
prohibiting updating of the threshold voltage for the first logical block in the first table to the threshold voltage obtained by the threshold voltage tracking if the identifier of the first physical block is recorded in the second table.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
updating a threshold voltage for the first physical block recorded in the second table to the threshold voltage obtained by the threshold voltage tracking if the identifier of the first physical block is recorded in the second table.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising:
reading data from a second physical block using a threshold voltage for the second physical block recorded in the second table if an identifier of the second physical block is recorded in the second table; and
reading the data from the second physical block using a threshold voltage for a second logical block including the second physical block recorded in the first table if the identifier of the second physical block is not recorded in the second table.

### Claim 17 (depends on 14)

The method according to claim 14, further comprising:
managing a third table recording temperature data indicating a temperature of the nonvolatile memory as detected by a temperature sensor at the time of writing data to each logical block.

### Claim 18 (depends on 17)

The method according to claim 17, further comprising:
for reading data from a logical block, acquiring a temperature correction value for the threshold voltage based on a difference between a temperature of the nonvolatile memory at the present time as output by the temperature sensor and the temperature of the nonvolatile memory at the time of writing data to the logical block as recorded in the third table and using a threshold voltage based on the acquired temperature correction value.

### Claim 19 (depends on 14)

The method according to claim 14, further comprising:
compressing and storing the first table in the nonvolatile memory when the memory system is powered off;
reading the compressed first table from the nonvolatile memory when the memory system is powered on;
decompressing the compressed first table after reading when the memory system is powered on;
performing a threshold voltage tracking for identifying a threshold voltage suitable for a second logical block, and comparing a first threshold voltage obtained by the threshold voltage tracking with a second threshold voltage for the second logical block recorded in the first table obtained from the decompression;
determining to use the first table obtained from the decompression if a difference between the first threshold voltage and the second threshold voltage is less than a threshold amount; and
determining to discard the first table obtained from the decompression if the difference between the first threshold voltage and the second threshold voltage is equal to or greater than the threshold amount.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the first table is compressed using a lossy compression technique.
