# US 10,956,264 B2 · Memory system

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

- Number: US 10,956,264 B2
- Document ID: US10956264B2
- Status: Granted
- Kind: B2
- Application number: 16/546,488
- Filed: 2019-08-21
- Published: 2019-12-12
- Granted: 2021-03-23
- Earliest claimed: 2017-09-19
- Assignees: Toshiba Memory Corporation
- Applicants: Toshiba Memory Corporation
- Inventors: Tsukasa Tokutomi; Masanobu Shirakawa; Marie Takada; Masamichi Fujiwara; Kazumasa Yamamoto; Naoaki Kokubun; Tatsuro Hitomi; Hironori Uchikawa
- Web page: https://patentgrep.com/patent/US10956264B2

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- H03M 13/1105: {Decoding}
- H03M 13/1108: {Hard decision decoding, e.g. bit flipping, modified or weighted bit flipping}
- H03M 13/1111: {Soft-decision decoding, e.g. by means of message passing or belief propagation algorithms}
- H03M 13/152: {Bose-Chaudhuri-Hocquenghem [BCH] codes}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/3715: {Adaptation to the number of estimated errors or to the channel state}
- H03M 13/6505: {Memory efficient implementations}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

In general, according to an embodiment, a memory system includes a memory device including a memory cell; and a controller. The controller is configured to: receive first data from the memory cell in a first data reading; receive second data from the memory cell in a second data reading that is different from the first data reading; convert a first value that is based on the first data and the second data, to a second value in accordance with a first relationship; and convert the first value to a third value in accordance with a second relationship that is different from the first relationship.

## Claims

### Claim 1

A method of controlling a memory device including a memory cell, the method comprising:
reading first data from the memory device based on a first data reading;
reading second data from the memory device based on a second data reading, the second data reading being different from the first data reading;
converting a first value that is based on the read first data and the read second data, to a second value in accordance with a first relationship; and
converting the first value to a third value in accordance with a second relationship, the second relationship being different from the first relationship.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
performing error correction to the second value; and
performing error correction to the third value when the error correction to the second value fails, wherein
the first value is converted to the third value when the error correction to the second value fails.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising decoding the first data, wherein
the second data is read when the decoding of the first data fails.

### Claim 4 (depends on 1)

The method according to claim 1, wherein:
the first data reading uses a first voltage;
the second data reading uses a second voltage; and
the second voltage is different from the first voltage.

### Claim 5 (depends on 1)

The method according to claim 1, wherein:
the first relationship is to convert the first value to the second value; and
the second relationship is to convert the first value to the third value, and is acquired by incrementing the second value.

### Claim 6 (depends on 5)

The method according to claim 5, wherein:
the first relationship is to convert first to nth label values to first to nth conversion values, wherein n is a natural number;
the second relationship is to covert the first to nth label values to first to nth changed conversion values; and
the first to nth changed conversion values differ from the first to nth conversion values, respectively, by a first difference.

### Claim 7 (depends on 1)

The method according to claim 1, wherein:
the first relationship is to convert the first value to the second value and to convert a fourth value to the third value; and
the second relationship is to convert the first value to the third value.

### Claim 8 (depends on 7)

The method according to claim 7, wherein:
the first relationship is to convert first to nth label values to first to nth conversion values, respectively, wherein n is a natural number; and
the second relationship is to convert an Xth label value to an (X+p)th label value, wherein X is a natural number smaller than or equal to n, and p is an integer other than 0.

### Claim 9 (depends on 1)

The method according to claim 1, wherein:
the first relationship is to convert first to nth label values to first to nth conversion values, wherein n is a natural number;
the second relationship is to convert the first to nth label values to first to nth changed conversion values, respectively;
Xth to (X+p)th changed conversion values differ from Xth to (X+p)th conversion values, respectively, by a first difference, wherein X is a natural number smaller than or equal to n, and p is a natural number smaller than or equal to n−X; and
for each of cases of Y being number of 1 to n, a Yth label value is larger than a (Y−1)th label value by 1, wherein Y is a natural number smaller than or equal to n.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
converting the first value to a fourth value in accordance with a third relationship that is different from the first relationship and the second relationship;
performing error correction to the third value when the error correction to the second value fails; and
performing error correction to the fourth value when the error correction to the third value fails, wherein
the first relationship is to convert the first to nth label values to first to nth conversion values, respectively;
the second relationship is to convert a Zth label value to a Zth changed conversion value that is different from a Zth conversion value, wherein Z is a natural number smaller than or equal to n; and
the third relationship is to convert a Wth label value to a Wth changed conversion value that is different from a Wth conversion value, wherein W is a natural number smaller than or equal to n, and W≠Z.

### Claim 11 (depends on 1)

The method according to claim 1, further comprising reading data from the memory device based on a third data reading after error correction to the third value is successful, wherein:
the first data reading uses a first voltage;
the third data reading uses a second voltage that is different from the first voltage; and
the second voltage is determined based on the third value.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising calculating a first syndrome value based on the second value and a second syndrome value based on the third value, using the second value, the third value, and a first matrix.

### Claim 13 (depends on 12)

The method according to claim 12, further comprising:
selecting either one of the second value and the third value based on the first syndrome value and the second syndrome value; and
performing error correction to the selected one of the second value and the third value, using the selected value and the first matrix.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising performing error correction to the second value by using the second value and the first matrix, when the first syndrome value is smaller than the second syndrome value.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising performing error correction to the third value by using the third value and the first matrix, when the second syndrome value is smaller than the first syndrome value.

### Claim 16 (depends on 13)

The method according to claim 13, wherein:
the first matrix includes a first submatrix and second submatrix, and
the first syndrome value is calculated based on the second value and the first submatrix, and the second syndrome value is calculated based on the third value and the second submatrix.

### Claim 17

A method of controlling a memory device including a first memory cell and a second memory cell, the method comprising:
reading first data and second data from the first and second memory cells, respectively, in a first data reading;
reading third data and fourth data from the first and second memory cells, respectively, in a second data reading that is different from the first data reading;
acquiring a first value and a second value using the first to fourth data and a first relationship;
detecting an error in the first value and the second value to acquire a first detection result;
acquiring a third value and a fourth value using the first to fourth data and a second relationship that is different from the first relationship;
detecting an error in the third value and the fourth value to acquire a second detection result; and
correcting an error in the first data and the second data based on a result of comparing the first detection result and the second detection result.

### Claim 18 (depends on 17)

The method according to claim 17, wherein:
the first detection result represents the number of errors in the first value and the second value,
the second detection result represents the number of errors in the third value and the fourth value, and
the correcting of the error includes performing error correction, using the first relationship, to the first data and the second data when the first detection result is smaller than the second detection result.

### Claim 19 (depends on 18)

The method according to claim 18, wherein:
the correcting of the error includes performing the error correction, using the second relationship, to the first data and the second data when the second detection result is smaller than the first detection result.

### Claim 20 (depends on 17)

The method according to claim 17, further comprising:
generating a parity of the first data;
storing at least a part of the first data in the first memory cell; and
storing at least a part of the generated parity in the second memory cell.
