# US 2019/0319637 A1 · System and method for decoding iterations and dynamic scaling

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

- Number: US 2019/0319637 A1
- Document ID: US20190319637A1
- Status: Published application
- Kind: A1
- Application number: 16/453,882
- Filed: 2019-06-26
- Published: 2019-10-17
- Earliest claimed: 2013-03-15
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Kent D. ANDERSON; Anantha Raman KRISHNAN
- Web page: https://patentgrep.com/patent/US20190319637A1

## CPC

- H03M 13/1111: {Soft-decision decoding, e.g. by means of message passing or belief propagation algorithms}
- 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
- H03M 13/1128: {Judging correct decoding and iterative stopping criteria other than syndrome check and upper limit for decoding iterations}
- H03M 13/3746: {with iterative decoding}
- H03M 13/45: Soft decoding, i.e. using symbol reliability information (H03M13/41 takes precedence)
- H03M 13/658: {Scaling by multiplication or division}
- H03M 13/6591: {Truncation, saturation and clamping}
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A decoder is configured to perform, for a unit of data received by the decoder, a plurality of decoding iterations in which a plurality of messages are passed between a plurality of check nodes and a plurality of variable nodes, each message indicating a degree of reliability in an observed outcome of data. The decoder determines, for each of the plurality of decoding iterations, whether a trigger condition is satisfied based on an internal state of the decoder and, when a trigger condition is determined to be satisfied during a respective decoding iteration, scales one or more respective messages of the plurality of messages during a subsequent decoding iteration. The unit of data is decoded based on the plurality of decoding iterations and at least one scaled message resulting from the trigger condition being satisfied during the respective decoding iteration.

## Claims

### Claim 1

An apparatus, comprising:
a decoder configured to:
perform a plurality of decoding iterations based on a plurality of messages;
determine whether one or more trigger conditions for scaling have occurred, based at least on one or more internal states of the decoder;
in response to determining that one or more trigger conditions for scaling have occurred, scale one or more messages resulting from one or more of the plurality of decoding iterations; and
perform one or more next decoding iterations based on the scaled one or more messages.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the one or more messages comprise one or more of: a scalar representing an estimated reliability of a single unit of data; and a vector representing an estimated reliability of a single unit of data.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the one or more messages comprise one or more log-likelihood ratios (LLRs).

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the decoder is configured to scale at least one of the one or more messages based on reducing a numerical range spanned by an LLR.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the decoder configured to scale the one or more messages comprises a shifter to right shift an LLR and then truncate or round the right shifted LLR.

### Claim 6 (depends on 3)

The apparatus of claim 3, wherein the decoder configured to determine whether one or more trigger conditions for scaling have occurred comprises the decoder configured to determine that absolute values of a predetermined number of the LLRs are greater than a predetermined limit.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the decoder configured to determine whether one or more trigger conditions for scaling have occurred comprises the decoder configured to determine that a predetermined number of the plurality of decoding iterations has been performed.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the predetermined number of the plurality of decoding iterations is a predetermined number of the plurality of decoding iterations since a prior scaling operation.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the decoder comprises a check node unit configured to determine whether one or more parity check conditions have been satisfied in order to determine whether to terminate the plurality of decoding iterations.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the decoder configured to determine whether one or more trigger conditions for scaling have occurred comprises the decoder configured to determine that a current number of unsatisfied checks on at least a portion of the plurality of messages exchanged between a plurality of variable nodes and a plurality of check nodes does not satisfy a predetermined threshold and that a predetermined number of decoding iterations has been performed since a prior scaling operation.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein:
the decoder comprises a first memory and a second memory, and
the decoder is configured to work with a parity check matrix including a plurality of layers and configured to:
trigger scaling of an output from the first memory at a sub-iteration associated with processing a first layer of the plurality of layers; and
trigger scaling of an output from the second memory at sub-iterations associated with processing of the first layer and one or more of the plurality of layers other than the first layer.

### Claim 12

A machine-implemented method, comprising:
performing, in a decoder, a plurality of decoding iterations based on a plurality of messages;
determining whether one or more trigger conditions for scaling have occurred, based at least on one or more internal states of the decoder;
scaling one or more messages produced from one or more of the plurality of decoding iterations when the one or more trigger conditions have occurred; and
performing one or more next decoding iterations based on the scaled one or more messages.

### Claim 13 (depends on 12)

The machine-implemented method of claim 12, wherein the one or more messages comprise one or more of: a scalar representing an estimated reliability of a single unit of data; and a vector representing an estimated reliability of a single unit of data.

### Claim 14 (depends on 12)

The machine-implemented method of claim 12, wherein the one or more messages comprise one or more log-likelihood ratios (LLRs).

### Claim 15 (depends on 14)

The machine-implemented method of claim 14, wherein the scaling comprising scaling at least one of the one or more messages based on reducing a numerical range spanned by an LLR.

### Claim 16 (depends on 14)

The machine-implemented method of claim 14, wherein the determining comprises determining that absolute values of a predetermined number of the LLRs are greater than a predetermined limit.

### Claim 17 (depends on 12)

The machine-implemented method of claim 12, wherein the determining comprises determining that a predetermined number of the plurality of decoding iterations has been performed, and wherein the predetermined number of the plurality of decoding iterations is a predetermined number of the plurality of decoding iterations since a prior scaling operation.

### Claim 18

A system, comprising:
means for performing, in a decoder, a plurality of decoding iterations based on a plurality of messages;
means for determining whether one or more trigger conditions for scaling have occurred, based at least on one or more internal states of the decoder;
means for scaling one or more messages produced from one or more of the plurality of decoding iterations when the one or more trigger conditions have occurred; and
means for performing one or more next decoding iterations based on the scaled one or more messages.

### Claim 19 (depends on 18)

The system of claim 18, wherein the one or more messages comprise one or more of: a scalar representing an estimated reliability of a single unit of data; and a vector representing an estimated reliability of a single unit of data.

### Claim 20 (depends on 18)

The system of claim 18, wherein the one or more messages comprise one or more log-likelihood ratios (LLRs).
