# US 11,120,882 B2 · Error recovery of data in non-volatile memory during read

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

- Number: US 11,120,882 B2
- Document ID: US11120882B2
- Status: Granted
- Kind: B2
- Application number: 16/112,157
- Filed: 2018-08-24
- Published: 2020-02-27
- Granted: 2021-09-14
- Earliest claimed: 2018-08-24
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Nikolas Ioannou; Charalampos Pozidis; Sasa Tomic; Nikolaos Papandreou; Roman A. Pletka; Aaron D. Fry; Timothy Fisher
- Web page: https://patentgrep.com/patent/US11120882B2

## CPC

- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/3427: {Circuits or methods to prevent or reduce disturbance of the state of a memory cell when neighbouring cells are read or written}
- G11C 29/021: {in voltage or current generators}
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of optimizing a read threshold voltage shift value for non-volatile memory units organized as memory pages may be provided. An ECC check is performed for active page reads. The method comprises, as part of the read operation, determining a status of the memory page, and reading a memory page with a current threshold voltage shift (TVS) value. Additionally, the method comprises, upon determining that a read memory page command passed an ECC check, returning corrected data read, and upon determining that the read memory page did not pass the ECC check, adjusting the current TVS value based on the status of the memory page to be read. Furthermore, the method comprises, while the read memory pages continues to not pass the ECC check, repeating the adjusting the current TVS value and the determining that the read memory page passes ECC check until a stop condition is met.

## Claims

### Claim 1

A method of optimizing a read threshold voltage shift value for non-volatile memory devices organized as memory pages, each memory page comprising a plurality of memory cells in presence of an error correction code method, said method comprising, as part of a read operation,
determining a status of said memory page to be read,
reading a page of memory cells with a current threshold voltage shift value,
upon determining that a read memory page command passed an error correction code check, returning corrected data read from said memory page as output of said read operation,
upon determining that said read memory page did not pass said error correction code check, adjusting said current threshold voltage shift value based on said status of said memory page to be read,
while said read memory pages continues to not pass said error correction code check, repeating said adjusting said current threshold voltage shift value and said determining that said read memory page passes said error correction code check, returning corrected data read from said memory page as output of said read operation, until a stop condition is met,
wherein said determining said status of said memory page includes at least determining whether said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value based on transient effects, and
wherein said adjusting said current threshold voltage shift value includes at least, responsive to determining that said memory page was programmed, adjusting said current threshold voltage shift value to a higher value,
wherein the method searches in a foreground process for a different threshold voltage shift value for which an error correction code algorithm succeeds, before the read operation finishes.

### Claim 2 (depends on 1)

The method according to claim 1, wherein said non-volatile memory devices are selected out of the group comprising NAND flash memory cells, NOR flash memory cells, and PCM based memory cells.

### Claim 3 (depends on 1)

The method according to claim 1, wherein said determining said status of said memory page is selected out of the group comprising:
determining whether said memory page was programmed within a predefined period of time prior to said read operation,
determining whether said memory page was in retention mode within a predefined period of time prior to said read operation,
determining whether said memory page has seen a high number of reads since being programmed,
and
determining whether said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value based on neighboring memory block interference.

### Claim 4 (depends on 3)

The method according to claim 3, wherein said adjusting said current threshold voltage shift value also comprises:
upon determining that said memory page was in retention mode, adjusting said current threshold voltage shift value to a lower value.

### Claim 5 (depends on 3)

The method according to claim 3, wherein said adjusting said current threshold voltage shift value also comprises:
upon determining that if said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to the higher or lower value, adjusting said current threshold voltage shift value to the higher or lower value, respectively.

### Claim 6 (depends on 1)

The method according to claim 1, wherein said determining said status of said memory page also comprises:
determining said status of a lower page, an upper page and an extra page of said memory page.

### Claim 7 (depends on 1)

The method according to claim 1, wherein said stop condition is met if said current threshold voltage shift value exceeds a predefined maximum deviation.

### Claim 8 (depends on 1)

The method according to claim 1, wherein said stop condition is met if a change in said current threshold voltage shift value exceeds a predefined maximum deviation.

### Claim 9 (depends on 1)

The method according to claim 1, wherein said adjusting said current threshold voltage shift value also comprises:
adjusting a step size for adjusting said current threshold voltage shift value for every iteration of said repeating.

### Claim 10 (depends on 1)

The method according to claim 1, wherein, depending on said status, said adjusting said current threshold voltage shift value comprises:
adjusting said current threshold voltage shift value to a higher value than the current threshold voltage shift value before adjusting said current threshold voltage shift value to a lower value than the current threshold voltage shift value.

### Claim 11 (depends on 1)

The method according to claim 1, wherein, depending on said status, said adjusting said current threshold voltage shift value comprises:
adjusting said current threshold voltage shift value to a higher value than the current threshold voltage shift value and to a lower value than the current threshold voltage shift value in an alternating fashion.

### Claim 12

A system for optimizing a read threshold voltage shift value for non-volatile memory devices organized as memory pages, each memory page comprising a plurality of memory cells in presence of an error correction code method, said system comprising, used as part of a read operation, a hardware processor configured
for determining a status of said memory page to be read,
the processor further configured for reading a page of memory cells with a current threshold voltage shift value,
the processor further configured for
upon determining that a read memory page command passed an error correction code check, returning corrected data read from said memory page as output of said read operation,
wherein the processor is further configured for
upon determining that said read memory page did not pass said error correction code check, adjusting said current threshold voltage shift value based on said status of said memory page to be read,
the processor further configured for, while said read memory pages continues to not pass said error correction code check, repeating said adjusting said current threshold voltage shift value and said determining that said read memory page passes said error correction code check, returning corrected data read from said memory page as output of said read operation, until a stop condition is met,
wherein said determining said status of said memory page includes at least determining whether said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value based on transient effects, and
wherein said adjusting said current threshold voltage shift value includes at least, responsive to determining that said memory page was programmed, adjusting said current threshold voltage shift value to a higher value,
wherein the method searches in a foreground process for a different threshold voltage shift value for which an error correction code algorithm succeeds, before the read operation finishes.

### Claim 13 (depends on 12)

The system according to claim 12, wherein said determining said status of said memory page is selected out of the group comprising:
determining whether said memory page was programmed within a predefined period of time prior to said read operation,
determining whether said memory page was in retention mode within a predefined period of time prior to said read operation,
determining whether said memory page has seen a high number of reads since being programmed,
and
determining whether said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value based on neighboring memory block interference.

### Claim 14 (depends on 13)

The system according to claim 13, wherein said adjusting said current threshold voltage shift value also comprises:
upon determining that said memory page was in retention mode, adjusting said current threshold voltage shift value to a lower value.

### Claim 15 (depends on 13)

The system according to claim 13, wherein said adjusting said current threshold voltage shift value also comprises:
upon determining that if said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value, adjusting said current threshold voltage shift value to the higher or lower value, respectively.

### Claim 16 (depends on 13)

The system according to claim 13,
wherein said stop condition is met if said current threshold voltage shift value exceeds a predefined maximum deviation.

### Claim 17 (depends on 13)

The system according to claim 13, wherein said adjusting said current threshold voltage shift value also comprises:
adjusting a step size for adjusting said current threshold voltage shift value for every iteration said repeating.

### Claim 18 (depends on 13)

The system according to claim 13, wherein, depending on said status, said adjusting said current threshold voltage shift value comprises:
adjusting said current threshold voltage shift value to a higher value than the current threshold voltage shift value and to a lower value than the current threshold voltage shift value in an alternating fashion.

### Claim 19

A computer program product for optimizing a read threshold voltage shift value for non-volatile memory devices organized as memory pages, each memory page comprising a plurality of memory cells in said presence of an error correction code method, said method comprising, as part of a read operation, said computer program product comprising a computer readable storage medium having program instructions embodied therewith, said program instructions being executable by one or more computing systems or controllers to cause said one or more computing systems to:
determine a status of said memory page to be read,
read a page of memory cells with a current threshold voltage shift value,
upon determining that a read memory page command passed an error correction code check, returning corrected data read from said memory page as output of said read operation,
upon determining that said read memory page did not pass said error correction code check, adjusting said current threshold voltage shift value based on said status of said memory page to be read,
while said read memory pages continues to not pass said error correction code check, repeating said adjusting said current threshold voltage shift value and said determining that said read memory page passes said error correction code check until a stop condition is met,
wherein said one or more computing systems determines said status of said memory page at least by determining whether said memory page's raw bit error rate distribution with respect to said threshold voltage shift value is shifting to a higher or lower value based on transient effects, and
wherein said adjusting said current threshold voltage shift value includes at least, responsive to determining that said memory page was programmed, adjusting said current threshold voltage shift value to a higher value,
wherein said one or more computing systems searches in a foreground process for a different threshold voltage shift value for which an error correction code algorithm succeeds, before the read operation finishes.
