# US 2020/0004629 A1 · Grown defect detection and mitigation using ecc in memory systems

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

- Number: US 2020/0004629 A1
- Document ID: US20200004629A1
- Status: Published application
- Kind: A1
- Application number: 16/022,199
- Filed: 2018-06-28
- Published: 2020-01-02
- Earliest claimed: 2018-06-28
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Ran Zamir; Eran Sharon; Idan Alrod
- Web page: https://patentgrep.com/patent/US20200004629A1

## CPC

- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/064: {Management of blocks}
- G06F 3/0673: {Single storage device}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A controller may detect unreliable bits of data, memory cells, or bit lines during an error correction process of a read operation based on an error correction code used to generate parity bits for the data. In some embodiments, the controller may use the error correction code to determine a distribution of unsatisfied checks. Based on the distribution, the controller may detect group(s) of bits that more closely resemble a defective group of bits rather than a non-defective group of bits. Based on the detection, the controller may set reliability metrics to values that indicate low levels or reliability, which in turn may increase the probability of successfully correcting the errors and reduce the amount of work the controller needs to do in order to complete the error correction process.

## Claims

### Claim 1

A circuit comprising:
a memory array comprising a plurality of memory cells; and
a controller configured to:
receive a bit group of data stored in the memory array;
generate an empirical distribution for the bit group based on an error correction code;
compare the empirical distribution for the bit group with an expected distribution; and
in response to the comparison, identify that the bit group is unreliable.

### Claim 2 (depends on 1)

The circuit of claim 1, wherein the controller is configured to:
calculate a statistical similarity between the empirical distribution and the expected distribution to compare the empirical distribution with the expected distribution.

### Claim 3 (depends on 2)

The circuit of claim 2, wherein the controller is further configured to:
calculate a score based on the statistical similarity; and
identify that the bit group is unreliable based on the score.

### Claim 4 (depends on 3)

The circuit of claim 3, wherein the controller is configured to identify that the bit group is unreliable in response to the score satisfying a threshold.

### Claim 5 (depends on 3)

The circuit of claim 3, wherein the controller is configured to identify that the bit group is unreliable in response to the score being one of a predetermined number of highest ranked scores.

### Claim 6 (depends on 3)

The circuit of claim 3, wherein the expected distribution comprises an expected distribution of numbers of unsatisfied checks for an unreliable bit group.

### Claim 7 (depends on 6)

The circuit of claim 6, wherein the statistical similarity comprises a first statistical similarity, and wherein the controller is further configured to:
calculate a second statistical similarity between the empirical distribution and an expected distribution of numbers of unsatisfied checks for a reliable bit group; and
calculate the score based on the first statistical similarity and the second statistical similarity.

### Claim 8 (depends on 7)

The circuit of claim 7, wherein the controller is configured to calculate the score based on a ratio between the first statistical similarity and the second statistical similarity.

### Claim 9 (depends on 7)

The circuit of claim 7, wherein the controller is configured to calculate the score based on a difference between the first statistical similarity and the second statistical similarity.

### Claim 10 (depends on 1)

The circuit of claim 1, wherein the controller is further configured to:
generate a plurality of empirical distributions for a plurality of bit groups of a codeword, the bit group comprising one of the plurality of bit groups;
compare the plurality of empirical distributions with the expected distribution; and
identify that at least the bit group of the plurality of bit groups is unreliable based on the comparisons.

### Claim 11 (depends on 1)

The circuit of claim 1, wherein the controller is configured to generate the empirical distribution based on numbers of unsatisfied checks connected to variable nodes for bits of the bit group.

### Claim 12

A circuit comprising:
a memory configured to store a data set received from a memory die during a read operation;
a check circuit configured to calculate a plurality of numbers of unsatisfied checks for a plurality of bit groups of the data set;
an unreliable memory detection circuit configured to detect an unreliable memory cell based on the plurality of numbers of unsatisfied checks; and
an initial reliability metric circuit configured to set an initial reliability metric value for a bit stored in the unreliable memory cell based on the detection.

### Claim 13 (depends on 12)

The circuit of claim 12, further comprising:
a reliability metric update circuit configured to adjust an updated reliability metric value for the data set based on the initial reliability metric value.

### Claim 14 (depends on 13)

The circuit of claim 13, wherein the reliability metric update circuit is configured to adjust a plurality of updated reliability metric values over a plurality of cycles of a reliability metric update process dependent on the initial reliability metric value.

### Claim 15 (depends on 12)

The circuit of claim 12, wherein the initial reliability metric comprises an initial log likelihood ratio (LLR) value.

### Claim 16 (depends on 12)

The circuit of claim 12, wherein the initial reliability metric circuit is configured to adjust the initial reliability metric value to reduce a likelihood that the bit has a correct bit value.

### Claim 17 (depends on 12)

The circuit of claim 12, wherein the check circuit is configured to calculate the plurality of numbers of unsatisfied checks in response to a triggering event occurring after a start of a reliability metric update process to error correct the data set.

### Claim 18 (depends on 12)

The circuit of claim 12, wherein the unreliable memory detection circuit is configured to detect the unreliable memory cell in response to a triggering event occurring after a start of a reliability metric update process to error correct the data set.

### Claim 19

A system comprising:
a memory die;
a controller comprising:
a parity bit generator circuit configured to:
generate a plurality of parity bits for a set of information bits based on an error correction code; and
append the plurality of parity bits to the set of information bits to form a codeword;
a memory interface circuit configured to output the codeword to the memory die for storage;
a data retrieval circuit configured to receive the codeword from the memory die during a read operation;
a scoring circuit configured to calculate a score for the codeword based on the error correction code used to generate the parity bits; and
an unreliable memory identification circuit configured to detect that a portion of the codeword is stored in an unreliable group of memory cells based on the score.

### Claim 20 (depends on 19)

The system of claim 19, wherein the scoring circuit is configured to calculate the score based on numbers of unsatisfied checks of bits that comprises the portion stored in the unreliable group of memory cells.

### Claim 21

A method comprising:
receiving, with a controller, a data set during a read operation;
calculating, with the controller, a plurality of empirical distributions for a plurality of groups of bits of the data set based on numbers of unsatisfied checks of the bits of the data set;
detecting, with the controller, an unreliable bit line based on the plurality of empirical distributions; and
storing, with the controller, an identifier that identifies the unreliable bit line in a memory.

### Claim 22

A circuit comprising:
a means for receiving a bit group of data stored in a memory array;
a means for comparing an empirical distribution for the bit group with an expected distribution; and
a means for identifying that the bit group is unreliable in response to the comparison.
