Decoding method of LDPC codes based on partial average residual belief propagation
11601138 · 2023-03-07
Assignee
Inventors
Cpc classification
H03M13/1111
ELECTRICITY
H03M13/3927
ELECTRICITY
H03M13/1174
ELECTRICITY
H03M13/6513
ELECTRICITY
H03M13/116
ELECTRICITY
International classification
H03M13/00
ELECTRICITY
H03M13/39
ELECTRICITY
Abstract
A decoding method of low-density parity-check (LDPC) codes based on partial average residual belief propagation includes the following steps: S1: calculating a size of a cluster π in a protograph based on a code length m and a code rate of a target codeword; S2: pre-computing an edge residual r.sub.c.sub.
Claims
1. A decoding method of low-density parity-check (LDPC) codes based on partial average residual belief propagation (PARBP) executed in a computer system, the computer system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is operable to execute the computer program so as to implement the decoding method of LDPC codes based on PARBP, wherein the decoding method comprises the following steps: S1: calculating a cluster size π of a base matrix in a protograph based on a code length m and a code rate of a target codeword; S2: pre-computing an edge residual r.sub.c.sub.
π=m÷b.sub.v wherein b.sub.v is a number of variable nodes in the base matrix and m denotes the code length.
2. The decoding method according to claim 1, wherein a calculation formula of the edge residual r.sub.c.sub.
r.sub.c.sub.
3. The decoding method according to claim 2, wherein a formula for calculating the PAR value corresponding to each cluster is as follows:
4. The decoding method according to claim 3, wherein an expression for updating the LLR value L(v.sub.j) of the variable node v.sub.j is as follows:
L(v.sub.j)=Σ.sub.c.sub.
5. The decoding method according to claim 4, wherein in step S6, specifically, if the decoding decision is unsuccessful and the maximum number of iterations is not reached, edge information from the variable node v.sub.j to a check node c.sub.a is updated according to the following formula:
m.sub.c.sub.
6. A non-transitory computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the decoding method according to claim 1 are implemented.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION OF THE EMBODIMENTS
(7) The present disclosure will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
Embodiment 1
(8) In this embodiment, a corresponding check matrix can be obtained by lifting a base matrix based on a structural characteristic of a protograph. The following is an example:
(9)
wherein π.sub.ij is a unit permutation matrix or its right-shift matrix, that is, a cluster.
(10)
(11) Combined with the Tanner graph structural characteristics of the base matrix shown in
(12) S1: Calculate a size of a cluster π in a protograph based on a code length m and a code rate of a target codeword. A calculation formula is as follows:
π=m÷b.sub.v (2)
wherein b.sub.v is a number of variable nodes in the base matrix.
(13) S2: Pre-compute an edge residual r.sub.c.sub.
(14) A calculation formula of the edge residual r.sub.c.sub.
r.sub.c.sub.
wherein m.sub.c.sub.
(15)
wherein m.sub.v.sub.
(16) S3: Calculate, based on π, a PAR value corresponding to each cluster in the check matrix H.
(17) A formula for calculating the PAR value corresponding to each cluster is as follows:
(18)
wherein r.sub.k represents a residual value of a k-th edge.
(19) S4: Sort m/π clusters in descending order of corresponding PAR values, and update an edge with a largest edge residual in each cluster according to formula (5).
(20) S5: Update the edge information m.sub.c.sub.
(21) An expression for updating the LLR value L(v.sub.j) of the variable node v.sub.j is as follows:
L(v.sub.j)=Σ.sub.c.sub.
wherein C.sub.v.sub.
(22) S6: After the updating, making a decoding decision; and if the decoding decision is successful or a maximum number of iterations is reached, end the decoding; or if the decoding decision is unsuccessful and the maximum number of iterations is not reached, go to step S2 to continue decoding.
(23) Specifically, if the decoding decision is unsuccessful and the maximum number of iterations is not reached, edge information from the variable node v.sub.j to a check node c.sub.a is updated according to formula (8):
m.sub.c.sub.
wherein M(v.sub.j)\c.sub.a represents all the check nodes connected to the variable node v.sub.j except the check node c.sub.a.
(24) Edge information is pre-computed for all check nodes c.sub.a∈M(v.sub.j)\c.sub.i according to equation (5), and then an edge residual is calculated according to equation (4) for a next update iteration process.
(25) Compared with the conventional dynamic scheduling decoding algorithm, the method in this embodiment gives greater consideration to the structural characteristics of codewords. For single edge protograph LDPC codes, a degree distribution and ring structure of the check matrix H largely depend on a corresponding base matrix. In the base matrix, each cluster definitely has no ring structure. An update order is measured by using a cluster residual, and an edge with a largest edge residual is found in the cluster and updated, so as to ensure that each update can achieve highly reliable information and a largest amount of information, and minimize a range of finding the edges with the largest edge residual. In this way, the computing speed can be increased locally and the spatial complexity can be reduced, thereby greatly improving the convergence speed and avoiding the greediness in global decoding to the greatest extent.
(26) To better illustrate the advantages of the decoding method of LDPC codes proposed in this embodiment, performance comparison is performed between this method and the current mainstream dynamic scheduling decoding algorithms. To ensure performance comparison fairness, all simulations were performed under the same hardware configurations. A computer used for the simulation employs Intel® Core™ CPU i7-8700, a clock speed of 3.20 GHz, a memory of 16.0 GB, and a Windows 10 64-bit operating system. Specifically, randomly generated LDPC codes are transmitted on an additive white Gaussian noise (AWGN) channel, and a variety of different decoding algorithms including the algorithm in this embodiment are used for decoding, where the maximum number of iterations is set to 5, the maximum number of error frames is set to 100, a modulation coding scheme is set to binary phase shift keying (BPSK), and E.sub.b/N.sub.0 represents a normalized signal-to-noise ratio in decibels (dB).
(27)
(28)
Embodiment 2
(29) A computer system is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following method steps when executing the computer program:
(30) S1: calculating the size π of a cluster of a base matrix in a protograph based on a code length m and a code rate of a target codeword:
(31) S2: pre-computing an edge residual r.sub.c.sub.
(32) S3: calculating, based on π, a PAR value corresponding to each cluster in the check matrix H;
(33) S4: sorting m/π clusters in descending order of corresponding PAR values, and updating an edge with a largest edge residual in each cluster;
(34) S5: updating edge information m.sub.c.sub.
(35) S6: after the updating, making a decoding decision; and if the decoding decision is successful or a maximum number of iterations is reached, ending the decoding; or if the decoding decision is unsuccessful and the maximum number of iterations is not reached, going to step S2 to continue decoding.
Embodiment 3
(36) A computer-readable storage medium storing a computer program is provided, where the following method steps are implemented when the computer program is executed by a processor:
(37) S1: calculating the size π of a cluster of a base matrix in a protograph based on a code length m and a code rate of a target codeword:
(38) S2: pre-computing an edge residual r.sub.c.sub.
(39) S3: calculating, based on π, a PAR value corresponding to each cluster in the check matrix H;
(40) S4: sorting m/π clusters in descending order of corresponding PAR values, and updating an edge with a largest edge residual in each cluster;
(41) S5: updating edge information m.sub.c.sub.
(42) S6: after the updating, making a decoding decision; and if the decoding decision is successful or a maximum number of iterations is reached, ending the decoding; or if the decoding decision is unsuccessful and the maximum number of iterations is not reached, going to step S2 to continue decoding.
(43) It is apparent that the above embodiments are merely intended to describe the present disclosure clearly, rather than to limit the implementations of the present disclosure. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure should fall within the protection scope of the claims of the present disclosure.