# US 2017/0294217 A1 · Decoding method, memory storage device and memory control circuit unit

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

- Number: US 2017/0294217 A1
- Document ID: US20170294217A1
- Status: Published application
- Kind: A1
- Application number: 15/170,931
- Filed: 2016-06-01
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: Phison Electronics Corp.
- Applicants: Phison Electronics Corp.
- Inventors: Yu-Hsiang Lin; Shao-Wei Yen; Cheng-Che Yang; Kuo-Hsin Lai
- Web page: https://patentgrep.com/patent/US20170294217A1

## CPC

- G11C 7/00: Arrangements for writing information into, or reading information out from, a digital store (G11C5/00 takes precedence; auxiliary circuits for stores using semiconductor devices G11C11/4063, G11C11/413)
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0409: {Online test}
- G11C 2029/0411: {Online error correction}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A decoding method, a memory storage device and a memory control circuit unit are provided. The method includes: reading data from a plurality of first memory cells of a rewritable non-volatile memory module; estimating an error bit occurrence rate of the data before performing a first decoding process on the data; and performing the first decoding process on the data by using a first decoding parameter according to the estimated error bit occurrence rate, wherein the first decoding parameter corresponds to a strict level for locating an error bit in the first decoding process. As a result, a decoding efficiency of the memory storage device can be improved.

## Claims

### Claim 1

A decoding method for a rewritable non-volatile memory module comprising a plurality of memory cells, the decoding method comprising:
reading data from a plurality of first memory cells among the memory cells;
estimating an error bit occurrence rate of the data before performing a first decoding process on the data; and
performing the first decoding process on the data by using a first decoding parameter according to the estimated error bit occurrence rate,
wherein the first decoding parameter corresponds to a strict level for locating an error bit in the first decoding process.

### Claim 2 (depends on 1)

The decoding method of claim 1, wherein the step of estimating the error bit occurrence rate of the data comprises:
obtaining a threshold voltage distribution of the first memory cells, wherein the threshold voltage distribution comprises a first state and a second state, wherein the first state corresponds to a first bit value, wherein the second state corresponds to a second bit value, wherein the first bit value is different from the second bit value; and
estimating the error bit occurrence rate of the data according to a total number of memory cells corresponding to an overlap region between the first state and the second state.

### Claim 3 (depends on 1)

The decoding method of claim 1, wherein the step of estimating the error bit occurrence rate of the data comprises:
performing a parity checking process on the data to obtain a plurality of syndromes;
accumulating the syndromes to obtain a syndrome sum;
estimating the error bit occurrence rate of the data according to the syndrome sum,
wherein the estimated error bit occurrence rate is positively correlated to the syndrome sum.

### Claim 4 (depends on 1)

The decoding method of claim 1, wherein the strict level is positively correlated to the estimated error bit occurrence rate.

### Claim 5 (depends on 1)

The decoding method of claim 1, wherein the strict level is positively correlated to the first decoding parameter.

### Claim 6 (depends on 5)

The decoding method of claim 5, wherein the first decoding parameter is positively correlated to the estimated error bit occurrence rate.

### Claim 7 (depends on 6)

The decoding method of claim 6, wherein the first decoding parameter is a flipping threshold, wherein the first decoding process comprises:
obtaining a syndrome weight corresponding to each bit in the data; and
flipping at least one bit having the syndrome weight greater than the flipping threshold in the data.

### Claim 8 (depends on 1)

The decoding method of claim 1, further comprising:
re-estimating the error bit occurrence rate of the data according to an execution result of the first decoding process if the first decoding process fails; and
performing a second decoding process on the data by using a second decoding parameter according to the re-estimated error bit occurrence rate,
wherein the second decoding parameter corresponds to a strict level for locating an error bit in the second decoding process.

### Claim 9

A memory storage device, comprising:
a connection interface unit, configured to couple to a host system;
a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of memory cells; and
a memory control circuit unit, coupled to the connection interface unit and the rewritable non-volatile memory module,
wherein the memory control circuit unit is configured to send a read command sequence which instructs reading data from a plurality of first memory cells among the memory cells,
wherein the memory control circuit unit is further configured to estimate an error bit occurrence rate of the data before performing a first decoding process on the data,
wherein the memory control circuit unit is further configured to perform the first decoding process on the data by using a first decoding parameter according to the estimated error bit occurrence rate,
wherein the first decoding parameter corresponds to a strict level for locating an error bit in the first decoding process.

### Claim 10 (depends on 9)

The memory storage device of claim 9, wherein the operation of estimating the error bit occurrence rate of the data by the memory control circuit unit comprises:
obtaining a threshold voltage distribution of the first memory cells, wherein the threshold voltage distribution comprises a first state and a second state, wherein the first state corresponds to a first bit value, wherein the second state corresponds to a second bit value, wherein the first bit value is different from the second bit value; and
estimating the error bit occurrence rate of the data according to a total number of memory cells corresponding to an overlap region between the first state and the second state.

### Claim 11 (depends on 9)

The memory storage device of claim 9, wherein the operation of estimating the error bit occurrence rate of the data by the memory control circuit unit comprises:
performing a parity checking process on the data to obtain a plurality of syndromes;
accumulating the syndromes to obtain a syndrome sum; and
estimating the error bit occurrence rate of the data according to the syndrome sum,
wherein the estimated error bit occurrence rate is positively correlated to the syndrome sum.

### Claim 12 (depends on 9)

The memory storage device of claim 9, wherein the strict level is positively correlated to the estimated error bit occurrence rate.

### Claim 13 (depends on 9)

The memory storage device of claim 9, wherein the strict level is positively correlated to the first decoding parameter.

### Claim 14 (depends on 13)

The memory storage device of claim 13, wherein the first decoding parameter is positively correlated to the estimated error bit occurrence rate.

### Claim 15 (depends on 14)

The memory storage device of claim 14, wherein the first decoding parameter is a flipping threshold, wherein the first decoding process comprises:
obtaining a syndrome weight corresponding to each bit in the data; and
flipping at least one bit having the syndrome weight greater than the flipping threshold in the data.

### Claim 16 (depends on 9)

The memory storage device of claim 9, wherein the memory control circuit unit is further configured to re-estimate the error bit occurrence rate of the data according to an execution result of the first decoding process if the first decoding process fails,
wherein the memory control circuit unit is further configured to perform a second decoding process on the data by using a second decoding parameter according to the re-estimated error bit occurrence rate,
wherein the second decoding parameter corresponds to a strict level for locating an error bit in the second decoding process.

### Claim 17

A memory control circuit unit, for controlling a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of memory cells, and the memory control circuit unit comprises:
a host interface, configured to couple to a host system;
a memory interface, configured to couple to the rewritable non-volatile memory module;
an error checking and correcting circuit; and
a memory management circuit, coupled to the host interface, the memory interface and the error checking and correcting circuit,
wherein the memory management circuit is configured to send a read command sequence which instructs reading data from a plurality of first memory cells among the memory cells,
wherein the memory management circuit is further configured to estimate an error bit occurrence rate of the data before performing a first decoding process on the data,
wherein the error checking and correcting circuit is configured to perform the first decoding process on the data by using a first decoding parameter according to the estimated error bit occurrence rate,
wherein the first decoding parameter corresponds to a strict level for locating an error bit in the first decoding process.

### Claim 18 (depends on 17)

The memory control circuit unit of claim 17, wherein the operation of estimating the error bit occurrence rate of the data by the memory management circuit comprises:
obtaining a threshold voltage distribution of the first memory cells, wherein the threshold voltage distribution comprises a first state and a second state, wherein the first state corresponds to a first bit value, wherein the second state corresponds to a second bit value, wherein the first bit value is different from the second bit value; and
estimating the error bit occurrence rate of the data according to a total number of memory cells corresponding to an overlap region between the first state and the second state.

### Claim 19 (depends on 17)

The memory control circuit unit of claim 17, wherein the operation of estimating the error bit occurrence rate of the data by the memory management circuit comprises:
performing a parity checking process on the data to obtain a plurality of syndromes;
accumulating the syndromes to obtain a syndrome sum; and
estimating the error bit occurrence rate of the data according to the syndrome sum,
wherein the estimated error bit occurrence rate is positively correlated to the syndrome sum.

### Claim 20 (depends on 17)

The memory control circuit unit of claim 17, wherein the strict level is positively correlated to the estimated error bit occurrence rate.

### Claim 21 (depends on 17)

The memory control circuit unit of claim 17, wherein the strict level is positively correlated to the first decoding parameter.

### Claim 22 (depends on 21)

The memory control circuit unit of claim 21, wherein the first decoding parameter is positively correlated to the estimated error bit occurrence rate.

### Claim 23 (depends on 22)

The memory control circuit unit of claim 22, wherein the first decoding parameter is a flipping threshold, wherein the first decoding process comprises:
obtaining a syndrome weight corresponding to each bit in the data; and
flipping at least one bit having the syndrome weight greater than the flipping threshold in the data.

### Claim 24 (depends on 17)

The memory control circuit unit of claim 17, wherein the memory management circuit is further configured to re-estimate the error bit occurrence rate of the data according to an execution result of the first decoding process if the first decoding process fails,
wherein the error checking and correcting circuit is further configured to perform a second decoding process on the data by using a second decoding parameter according to the re-estimated error bit occurrence rate,
wherein the second decoding parameter corresponds to a strict level for locating an error bit in the second decoding process.
