# US 2023/0412197 A1 · Acceleration of s-polar ecc throughput by scheduler

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

- Number: US 2023/0412197 A1
- Document ID: US20230412197A1
- Status: Published application
- Kind: A1
- Application number: 17/807,217
- Filed: 2022-06-16
- Published: 2023-12-21
- Earliest claimed: 2022-06-16
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Amit Berman; Sarit Buzaglo; Ariel Doubchak
- Web page: https://patentgrep.com/patent/US20230412197A1

## CPC

- H03M 13/13: Linear codes
- H03M 13/373: {with erasure correction and erasure determination, e.g. for packet loss recovery or setting of erasures for the decoding of Reed-Solomon codes}
- G05D 1/0217: {in accordance with energy consumption, time reduction or distance reduction criteria}
- G05D 1/644: Optimisation of travel parameters, e.g. of energy consumption, journey time or distance
- H03M 13/1515: {Reed-Solomon codes}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/3738: {with judging correct decoding}
- B60W 30/06: Automatic manoeuvring for parking
- B60W 40/06: Road conditions
- B60W 2555/20: Ambient conditions, e.g. wind or rain
- G08G 1/144: {on portable or mobile units, e.g. personal digital assistant [PDA]}
- G08G 1/146: {where the parking area is a limited parking space, e.g. parking garage, restricted space}
- G08G 1/148: {Management of a network of parking areas}
- H03M 13/253: {with concatenated codes}
- H03M 13/29: combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M 13/2936: {comprising an outer Reed-Solomon code and an inner convolutional code}
- 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)
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- B60W: CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- G08G: TRAFFIC CONTROL SYSTEMS (guiding railway traffic, ensuring the safety of railway traffic B61L; arrangement of road signs or traffic signals E01F9/00; radar or analogous systems, sonar systems, lidar systems specially adapted for traffic control G01S13/91, G01S15/88, G01S17/88; {radar or analogous systems, sonar systems, lidar systems specially adapted for anti-collision purposes G01S13/93, G01S15/93, G01S17/93})

## Abstract

A method of simplified successive cancellation list (SSCL) error decoding of S-polar codes includes representing an S-polar code as a perfect binary tree; providing a node v a vector αv(l) of soft information from a parent node; computing a vector αvl(l) of soft information for a left child of node v; providing node v with a vector βvl(l) of hard decisions from the left child and using it with αv(l) to create a soft information vector αvr(l) and passing it to a right child of node v; providing node v with a vector βvr(l) of hard decisions from its right child and using it with βvl(l) to create a hard decision vector, βv of hard decisions, and passing it to its parent node; updating, when v is a ith leaf of the perfect tree, two path metrics, and selecting paths obtained by expanding current paths with a lowest path metric.

## Claims

### Claim 1

A method of simplified successive cancellation list (SSCL) error decoding of S-polar codes, comprising:
representing an S-polar code of length N=2n as a perfect binary tree with 2N−1 nodes, wherein n is a non-negative integer, wherein, for an lth path in a list of L paths through the binary tree, 1≤l≤L, wherein an S-Polar code is a generalized concatenated code (GCC) with Reed-Solomon (RS) codes as its outer codes and polar codes as its inner codes, wherein information is encoded into an N×J array using S−1 outer codes and S inner codes, wherein S and J are non-negative integers, wherein a GCC is encoded in S stages, where at each stage s, new information bits and parities from a previous outer code are encoded into n=Kouts+1−Kouts codewords of C(s) and stored as n rows of the array, wherein C(s) is a codeword at stages, wherein Kouts is the amount of data in an outer codeword at stage s, wherein the encoded rows are mapped into a coset array in which an s+1th outer code systematically encodes a current t=Kouts−Kouts+1 columns of the coset array, and wherein parities of obtained codewords are transmitted to a next inner code for encoding;
providing a node v in a decoding path l at a depth d in the perfect binary tree with a vector, αv(l), of length 2d of soft information from a parent node, vp;
computing, for every path in a list of paths in the binary tree, a vector, αvl(l), of length 2d-1 of soft information for a left child, vl of node v;
providing node v with a vector, βvl(l), of length 2d-1 of hard decisions from the left child and using vector, βvl(l), together with αv(l), to create a soft information vector, αvr(l), of length 2d-1, and passing vector, αvr(l) to a right child of node v;
providing node v with a vector, βvr(l), of length 2d-1 of hard decisions from its right child and using vector, βvr(l), together with βvl(l), to create a hard decision vector, βv, of length 2d of hard decisions, and passing vector, βv, to its parent node;
when v is a ith leaf of the perfect tree, 0≤i<2n, then, for every path in the list of paths, updating two path metrics according to
PMi(2l)=PMi-1(l)+ln(1+exp(−αvl(l)))
and
PMi(2l+1)=PMi-1(l)+ln(1+exp(−αv,i(l))),
wherein PMi(l) is a loglikelihood ratio of path (l) through leaf i representing a codeword;
selecting L of 2L paths obtained by expanding a current L paths with a 0 bit or with a 1 bit with a lowest path metric; and
if an lth path is expanded by a 0 bit, setting βv(l) to 0, otherwise, setting βv(l) to 1.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, when v is a frozen leaf, expanding all paths by a 0 bit and setting βv(l) to 0, for every path index, 1≤l≤L, wherein a frozen leaf forces a hard decision to be zeros.

### Claim 3 (depends on 2)

The method of claim 2, further comprising, for a node that is a root of a subtree with frozen leaves only (a RATE-0 node), for a node that is a root of a subtree with information leaves (a RATE-1 node), and for a node that is a root of a subtree whose leaves are all frozen leaves, except for the right most leaf (a REP node), updating an L best path metrics that compute corresponding hard decision vectors without visiting other nodes in subtrees of the binary tree.

### Claim 4 (depends on 3)

The method of claim 3, wherein for a RATE-0 node and a REP node, updating the L best path metrics is performed in parallel for all paths in the list, wherein a latency of the path metric update depends on a depth of the node and not on a list size.

### Claim 5 (depends on 3)

The method of claim 3, wherein updating the L best path metrics comprises, for a RATE-1 node of depth d, sequentially calculating m=min{L−1; 2n-d} bits of the hard decision wherein a latency of the path metric update depends on a list size.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
selecting t paths, where t<L, for those leaves for which a correct path is likely to be among a best t paths;
applying a CRC detector on a kth leaf; and
continuing decoding until a number of paths equals one.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining those leaves for which a right path is likely to be among a best t<L paths comprises one or more of selecting those paths whose path metric is greater than a predetermined threshold, using machine learning to select the best t<L decoding paths, using a classifier to select the best t<L decoding paths, or using forward prediction on each path to select the best t<L decoding paths.

### Claim 8 (depends on 6)

The method of claim 6, wherein different paths are processed in parallel, each path is associated with a memory that stores 2N−1 soft decision values, and each memory is assigned a unique processing block that performs soft calculations along the decoding tree.

### Claim 9 (depends on 6)

The method of claim 6, wherein each node in the decoding tree stores soft calculations and hard decisions, wherein a hard decision is represented by one bit, a soft calculation is represented by a plurality of bits, and further comprising
saving, for a node at depth d, 2n-d soft calculations and 2n-d hard decisions for each path in the list; and
pruning paths from the decoding tree.

### Claim 10

A method of simplified successive cancellation list (SSCL) error decoding of S-polar codes, comprising:
representing an S-polar code of length N=2n as a perfect binary tree with 2N−1 nodes, wherein n is a non-negative integer, wherein, for an lth path in a list of L paths through the binary tree, 1≤l≤L, wherein an S-Polar code is a generalized concatenated code (GCC) with Reed-Solomon (RS) codes as its outer codes and polar codes as its inner codes, wherein information is encoded into an N×J array using S−1 outer codes and S inner codes, wherein S and J are non-negative integers, wherein a GCC is encoded in S stages, where at each stage s, new information bits and parities from a previous outer code are encoded into n=Kouts+1−Kouts codewords of C(s) and stored as n rows of the array, wherein C(s) is a codeword at stages, wherein Kouts is the amount of data in an outer codeword at stage s, wherein the encoded rows are mapped into a coset array in which an s+1th outer code systematically encodes a current t=Kouts−Kouts+1 columns of the coset array, and wherein parities of obtained codewords are transmitted to a next inner code for encoding;
receiving a vector of length 2th of log likelihood ratios (LLR), wherein each entry of the vector can take one of q possible values and L is a list size,
wherein for a first layer of decoding, soft calculations in a left child of a root, vl, is a vector αl of length 2n-1 which takes values in a set of size q2, and soft calculations in a right child of the root, vr, is a vector, αr, of length 2n-1 with entries taking values in a set of size 2q2, wherein αr,i depends on a hard decision bit βl,I;
wherein when 3q2f+N log2 q<<Nf, where f is a number of bits that represent a soft calculation value, the method further comprises:
determining a value of αl,i for coordinates 2i and 2i+1, for 0≤i<2n-1, by accessing a lookup table of size q2; and
determining a value of αr,i, by accessing a lookup table of size 2q2; and
wherein for a second layer of decoding, a first node from a left has q4 possible values for soft calculations, a second node from the left has 2q4 possible values for soft calculations, a third node from the left has 4q4 for possible values for soft calculations, and a last node has 8q4 f possible values for soft calculations,
wherein when 15q4+N logq 2<<f N (L/2+1), the method further comprises:
determining a value of αl,i for a leftmost node by accessing a lookup table of size q4;
determining a value of αl,i for a next leftmost node by accessing a lookup table of size 2q4;
determining a value of αl,i for a next rightmost node by accessing a lookup table of size 4q4; and
determining a value of αl,i for a rightmost node by accessing a lookup table of size 8q4.

### Claim 11

A digital electronic circuit, tangibly embodying a program of instructions executed by the digital electronic circuit to perform method steps for error decoding S-polar codes, the method steps comprising:
receiving a plurality of frames through a digital electronic communication channel;
performing error correction on the plurality of frames to generate a corrected plurality of frames; and
outputting data included in the corrected plurality of frames to the digital electronic communication channel,
wherein performing the error correction comprises submitting the plurality of frames to multiple row decoders and counting a number of frames that were successfully decoded, wherein a frame is a plurality of rows of an S-polar code array that are decoded to codewords of C(0), wherein an S-polar code of length N=2n is represented as a perfect binary tree with 2N−1 nodes, wherein, for an lth path in a list of L paths through the binary tree, 1≤l≤L, wherein an S-Polar code is a generalized concatenated code (GCC) with Reed-Solomon (RS) codes as its outer codes and polar codes as its inner codes, wherein information is encoded into an N×J array using S−1 outer codes and S inner codes, wherein a GCC is encoded in S stages, where at each stage s, new information bits and parities from a previous outer code are encoded into n=Kouts+1−Kouts codewords of C(s) and stored as n rows of the array, wherein the encoded rows are mapped into a coset array in which an s+1th outer code systematically encodes a current t=Kouts−Kouts+1 columns of the coset array, and wherein parities of obtained codewords are transmitted to a next inner code for encoding;
performing Reed-Solomon (RS) decoding on the codewords of C(0) when a number of successfully decoded frames reaches K+2m, wherein K is a dimension of a codeword of C(0) and m is a number of mis-corrects, while decoding additional pluralities of frames at a same stage; and
wherein when the RS decoding succeeds, decoding an upcoming plurality of frames at a next stage of decoding, using cosets from the RS decoding,
otherwise, repeating RS decoding on an additional plurality of frames.

### Claim 12 (depends on 11)

The digital electronic circuit of claim 11, wherein decoding each row of an S-polar code array into codewords of C(0) comprises:
providing a node v in a decoding path l at a depth d in the perfect binary tree with a vector, αv(l), of length 2d of son information from a parent node, vp;
computing, for every path in a list of paths in the binary tree, a vector, αvl(l), of length 2d-1 of soft information for a left child, vl of node v;
providing node v with a vector, βvl(l), of length 2d-1 of hard decisions from the left child and using vector, βvl(l), together with αv(l), to create a soft information vector, αvr(l), of length 2d-1, and passing vector, αvr(l) to a right child of node v;
providing node v with a vector, βvr(l), of length 2d-1 of hard decisions from its right child and using vector, βvr(l), together with βvl(l), to create a hard decision vector, βv, of length 2d of hard decisions, and passing vector, βv, to its parent node;
when v is a ith leaf of the perfect tree, 0≤i<2n, then, for every path in the list of paths, updating two path metrics according to
PMi(2l)=PMi-1(l)+ln(1+exp(−αvl(l)))
and
PMi(2l+1)=PMi-1(l)+ln(1+exp(−αv,i(l))),
wherein PMi(l) is a loglikelihood ratio of path (l) through leaf i representing a codeword;
selecting L of 2L paths obtained by expanding a current L paths with a 0 bit or with a 1 bit with a lowest path metric; and
if an lth path is expanded by a 0 bit, setting βv(l) to 0, otherwise, setting βv(l) to 1.

### Claim 13 (depends on 12)

The digital electronic circuit of claim 12, wherein the method steps further comprise, when v is a frozen leaf, expanding all paths by a 0 bit and setting βv(l) to 0, for every path index, 1≤l≤L, wherein a frozen leaf forces a hard decision to be zeros.

### Claim 14 (depends on 13)

The digital electronic circuit of claim 13, wherein the method steps further comprise, for a node that is a root of a subtree with frozen leaves only (a RATE-0 node), for a node that is a root of a subtree with information leaves (a RATE-1 node), and for a node that is a root of a subtree whose leaves are all frozen leaves, except for the right most leaf (a REP node), updating an L best path metrics that compute corresponding hard decision vectors without visiting other nodes in subtrees of the binary tree.

### Claim 15 (depends on 14)

The digital electronic circuit of claim 14, wherein for a RATE-0 node and a REP node, updating the L best path metrics is performed in parallel for all paths in the list, wherein a latency of the path metric update depends on a depth of the node and not on a list size.

### Claim 16 (depends on 14)

The digital electronic circuit of claim 14, wherein updating the L best path metrics comprises, for a RATE-1 node of depth d, sequentially calculating m=min{L−1; 2n-d} bits of the hard decision wherein a latency of the path metric update depends on a list size.

### Claim 17 (depends on 12)

The digital electronic circuit of claim 12, wherein the method steps further comprise:
selecting t paths, where t<L, for those leaves for which a correct path is likely to be among a best t paths;
applying a CRC detector on a kth leaf; and
continuing decoding until a number of paths equals one.

### Claim 18 (depends on 17)

The digital electronic circuit of claim 17, wherein determining those leaves for which a right path is likely to be among a best t<L paths comprises one or more of selecting those paths whose path metric is greater than a predetermined threshold, using machine learning to select the best t<L decoding paths, using a classifier to select the best t<L decoding paths, or using forward prediction on each path to select the best t<L decoding paths.

### Claim 19 (depends on 17)

The digital electronic circuit of claim 17, wherein different paths are processed in parallel, each path is associated with a memory that stores 2N−1 soft decision values, and each memory is assigned a unique processing block that performs soft calculations along the decoding tree.

### Claim 20 (depends on 17)

The digital electronic circuit of claim 17, wherein each node in the decoding tree stores soft calculations and hard decisions, wherein a hard decision is represented by one bit, a soft calculation is represented by a plurality of bits, and further comprising
saving, for a node at depth d, 2n-d soft calculations and 2n-d hard decisions for each path in the list; and
pruning paths from the decoding tree.
