The invention relates in general to channel decoding techniques, and more particularly, to the decoding of blocks comprising data previously encoded with a low density parity (LDPC) check code. More specifically, the invention relates to split-row decoding.
Low density parity check (LDPC) codes, which are a class of linear block codes, have received significant attention. This is due to the LDPC codes being near the Shannon limit error correction performance, and the fact that the PDPC codes are inherently based on a parallel decoder architecture.
LDPC codes are a viable option for forward error correction (FEC) systems, and have been adopted by many advanced standards. These standards include a 10 Gigabit Ethernet, digital video broadcasting, and WiMAX.
Implementing high throughput energy efficient LDPC decoders remains a challenge. This is largely due to the high interconnect complexity and high memory bandwidth requirements of existing decoding algorithms stemming from the irregular and global communications inherent in the codes.
An LDPC decoding technique known as Split-Row decoding is based on partitioning the row processing into two or multiple nearly independent partitions, where each block is simultaneously processed using minimal information from an adjacent partition. The key ideas of Split-row decoding are to: 1) simplify row processors, and 2) reduce communications between row and column processors which plays a major role in the interconnect complexity of existing LDPC decoding algorithms. Existing LDPC decoding algorithms include Sum Product (SPA) and MinSum (MS), for example. With this method, parallel operations are increased in the row processing stage, and the complexity of row processors is reduced. Therefore, their circuit area is reduced which results in an overall smaller decoder.
LDPC codes are defined by an M×N binary matrix called the parity check matrix H. The number of columns, represented by N, defines the code length. The number of rows in H, represented by M, defines the number of parity check equations for the code. Column weight Wc is the number of ones per column, and row weight Wr is the number of ones per row. LDPC codes can also be described by a bipartite graph or Tanner graph.
An example of a parity check matrix and its corresponding Tanner graph of an LDPC code length N=9 bits is shown in
In the Sum-Product algorithm (SP) during the row processing or check node update stage, each check node Ci computes the α message for each variable node Vj′, j′≠j which is connected to Ci. In this stage, α is computed as follows:
With V(i)={j:Hij=1} defining the set of variable nodes which participate in the check equation i, C(j)={i:Hij=1} denotes the set of check nodes taking part in the variable node j update, V(i)\j denotes all variable nodes in V(i) except node j, and C(j)\i denotes all the check nodes in C(j) except node i.
The first product term in equation (1) is called the parity (sign) update, and the second product term is the reliability (magnitude) update. In column processing, which is also called the variable node update stage, each variable node Vj computes the β message for check node Ci by adding the received information from the channel corresponding to column j (called λ), and α messages from all other check nodes Ci′, where i′≠i and which is connected to Vj, as indicated in equation (3):
The check node or row processing stage of SP decoding can be simplified by approximating the magnitude computation in equation (1) with a minimum function. The algorithm using this approximation is called Min-Sum (MS).
In MS decoding, the column operation is the same as in SP decoding. The error performance loss of MS decoding can be improved by scaling the check (α) values in equation 4 with a scale factor S≦1 which normalizes the approximations.
Another known decoding method is called Spit-row decoding. The article “Split-Row: A Reduced Complexity, High Throughput LDPC Decoder Architecture”, published in the IEEE International Conference on Computer Design in 2006, and written by T. Mohsenin and B. M. Baas, describes a Split-Row LDPC decoding method in which the row processing stage is divided into two almost independent halves.
To illustrate an example of Split-Row decoding,
In the Split-Row method which is shown in
The above mentioned MinSum approximation may be also used in the Split-row decoding method leading to a so called MinSum Split-Row decoding method. Equations (5) and (6) below, show the row processing equations of the MinSum normalized and MinSum Split-Row decoding methods.
In the above equations, β is the input to row processing and α is the output of row processing. In MinSum Split-Row the sign bit is computed using the sign bit of all messages across the whole row of parity check matrix. This is because the sign is passed to the next partition. However, the magnitude of the α message in each partition is computed by finding the minimum among the messages within each partition. SMS and SSplit are correction factors which normalize α values in MinSum and MinSum Split-Row to improve the error performance.
The above described partitioning architectures have three major benefits which are doubling parallel operations in the row processing stage, decreasing the number of memory accesses per row processor, and making each row processor simpler. These three factors combine to make row processors, and therefore the entire LDPC decoder, smaller, faster and more energy efficient. In addition, the Split-Row method makes parallel operations in the column processing stage easier to exploit. To reduce performance loss due to errors from this simplification, the sign computed from each row processor is passed to its corresponding half processor with a single wire in each direction. These are the only wires between the two halves.
An improved decoding method is called, Multiple Split-Row. The article, “High-Throughput LDPC Decoders Using A Multiple Split-Row Method,” published in the proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing in 2007, and written by T. Mohsenin and B. M. Baas, describes a generalized Split-Row decoding method in which the row processing stage can be divided into more than two almost-independent partitions. Part of the design process involves determining the optimum number of partitions since a large number of partitions results in more efficient hardware, but also results in a larger bit-error-rate (BER).
Using the MinSum Split-Row and Multiple Split-Row methods, the chip implementation results show significant improvements in circuit area, decoder throughput, and energy dissipation over the MinSum decoder, particularly for long codes with large row weights.
The major problem in MinSum Split-Row is that it suffers, in certain applications, from 0.4 to 0.7 dB error performance loss. This loss depends on the number of row partitions compared to MinSum and SPA decoders.
In MinSum decoding, the check node processing in question has two parts: sign and magnitude. In MinSum Split-Row, the sign computation is realized the same way as in MinSum, but for magnitude update the use of a local minimum in each partition helps reduce the communication. Therefore, the main reason for error performance degradation is that in MinSum Split-Row each partition has no information about the minimum value of the other partitions. Therefore, when the minimum value in one partition is much larger than the global minimum, the a values in that partition which are calculated by that minimum are all over estimated when compared to those in the partition. This leads to a possible incorrect estimation of the bits that reside in that partition.
An example of such an incorrect estimation is illustrated in
In view of the foregoing background, an object of the present invention is to provide a decoding method based on a Split-Row Threshold decoding. The Split-Row Threshold decoding is to compensate for the difference between the local minimums of the partitions while enabling a very high throughput, and while providing a high energy efficient decoder with a small circuit area that is well suited for long codes with large row weights. The method is also easy to implement using automatic place and route CAD (Computer Aided Design) tools, and has good error performance.
Thus, according to one aspect, a method of decoding an LDPC encoded block is provided, wherein the LDPC code may be defined by a parity check matrix that includes rows. The method may comprise receiving the encoded block, and processing the rows including updating data of the rows using a Split-Row decoding algorithm. This updating may include partitioning each row into several partitions and determining, for each partition, a first local minimum of the data of the partition.
The row processing may further comprise for each row, comparing for each partition a first local minimum with a threshold, and updating at least some of the data of all partitions of the row using either the local minimum of the threshold value depending on the results of the comparisons.
According to an embodiment:
a) if the first local minimum of a partition is smaller or equal to the threshold, then the first local minimum may be used to update some data of the partition;
b) if the first local minimum of a partition is bigger than the threshold, while the local minimum of at least another partition is smaller than the threshold, then the data of the partition may be updated with the threshold value; and
c) if the first local minimum of each partition is bigger than the threshold, then the first local minimum of a partition may be used to update some data of this partition.
Each partition may send to all other partitions a signal representative of the result of the comparison performed within the partition.
A second local minimum may be determined in each block. The second local minimum may be used to update the value of the first local minimum of the partition in cases a) and c).
The encoded block may be received from a channel, and the threshold may be dependent on the size and row weight of the code but is independent of the signal-to-noise ratio in a channel with additive white Gaussian noise (known as AWGN). In AWGN channels with binary phase shift keying (known as BPSK) modulation, the threshold value may be chosen between 0.1 and 0.5 for some LDPC codes. For example, with an (6,32)(2048,1723) LDPC code and split-2, the optimal values fall between 0.1 and 0.2.
According to another aspect, an LDPC decoding device may comprise reception means or circuitry to receive an LDPC encoded block. The LDPC code may be defined by a parity check matrix including rows, where each row may be partitioned into several partitions. The LDPC decoding device may further comprise row processing means or circuitry coupled to the reception means. The row processing circuitry means may update data of the rows using a Split-Row decoding algorithm. The processing circuitry may comprise determining means or circuitry to determine, for each partition, a first local minimum among the data of the partition. The LDPC decoding device may also comprise comparison means or circuitry to compare the first local minimum of each partition of each row with the threshold. Updating means or circuitry may be used to update, for each row, at least some of the data of all the partitions of the row using either the local minimums of the threshold value depending on the results of the comparisons.
The updating circuitry may be configured to use:
a) the first local minimum of a partition to update some data of the partition, if the first local minimum of the local partition is smaller or equal to the threshold;
b) the threshold value to update the data of a partition, if the first local minimum of the partition is bigger than the threshold, while the first local minimum of at least another partition is smaller than the threshold; and
c) the first local minimum of a partition to update some data of the partition, if the first local minimum of each partition is bigger than the threshold.
The comparing circuitry may be configured to compare for each partition the first local minimum of the partition with the threshold, and to deliver to the updating means the signal representative of the result of the comparison performed within the partition.
The determining circuitry may be able to determine a second local minimum in each partition. The second local minimum may be used to update the value of the first local minimum after the partition in cases a) and c).
In another aspect, a receiver comprises an LDPC decoding device as defined above.
In yet another aspect, a communication system comprises a transceiver and a receiver as defined above.
A more detailed but non-restrictive example of a split-row threshold decoding method has been presented on Oct. 26, 2008 in an IEEE Asilomar 2008 Conference, in California by Tinoosh Mohsenin, Pascal Urard and Bevan Baas. The example is titled “A Thresholding Algorithm for improved Split-Row Decoding of LDPC Codes”.
Other advantages and characteristics of the decoding will appear in the detailed description and in the appended drawings, and are not to be viewed as being limiting, in which:
a and 2b illustrate an example of a block diagram with a parity check matrix and its associated Tanner graph highlighting the first row processing and a check node C1 for (2a) MinSum and (2b) MinSum Split-Row decoding methods in accordance with the prior art;
a and 3b illustrate the parity check matrix of a 12-bit LDPC code highlighting the first row processing using (3a) original Split-Row decoding and (3b) after being initialized with the channel information, where Min Sp0>>Min Sp1, in accordance with the prior art;
According to one aspect for the row processing, a threshold decoding method is based on Split-Row to compensate for the difference between the local minimums of the partitions. This improves the error performance with negligible additional hardware. The basic idea is that each partition sends a signal to the next partition if its own local minimum is smaller than a threshold T. Thus, the other partitions are notified if a local minimum smaller than the threshold T exists.
A non-limiting embodiment of such a Split-Row Threshold decoding method is illustrated in
Similar to the MinSum decoding method, after an initializing step using the received channel values, a first local minimum Min1 and a second local minimum Min2 in each partition are locally determined. For the Row processing, the proposed method checks if the first local minimum is less than the threshold T. If it is the case, then both first and second local minimums Min1 and Min2 are used to update α values (case a)). In other words, in case a), if the first local minimum Min1 of a partition Sp0 is smaller or equal to the threshold, then the first local minimum Min1 is used to update some data of the partition Sp0. More particularly, the data of the partition Sp0 is updated except the first local minimum Min1 itself.
The first local minimum Min1 is updated with the second local minimum Min2 of the partition Sp0.
Additionally, a binary threshold signal Threshold_enSp0 is sent to another partition to indicate if the first local minimum Min1 in this partition Sp0 is smaller than the threshold T. If the first local minimum Min1 is smaller than the threshold T, then the binary signal Threshold_enSp0 has a non-zero value. Otherwise, the value of the binary signal Threshold_enSp0 is equal to zero.
If the first local minimum Min1 of a partition Sp0 is larger than the threshold T while a threshold signal Threshold_enSp1 from a neighboring partition Sp1 has a non-zero value, i.e., is equal to 1, for example, then the threshold value T is used to update α values in that partition Sp0(case b)). In other words, in case b), if the first local minimum Min1 Sp0of a partition Sp0 is bigger than the threshold T while the local minimum Min1 Sp1 of at least another partition Sp1 is smaller than the threshold T, then the data of the partition Sp0 is updated with the threshold value T.
The last condition is when a first local minimum Min1 is larger than the threshold value T, and all the threshold signals from the other partitions are equal. This indicates that the first local minimums in the other partitions are also larger than the threshold T. In this case, the first local minimum Mint and second local minimum Min2 are used to calculate a values (case c)). In other words, if the first local minimum Min1 of each partition Sp0 is bigger than the threshold T, then the first local minimum Min1 of a partition Sp0 is used to update some data of this partition Sp0. More particularly, the data of the partition Sp0 is updated except for the first local minimum Min1 itself.
The first local minimum Min1 is updated with the second local minimum Min2 of the partition. Column processing in the MinSum Split-Row Threshold is identical to the column processing of MinSum Split-Row decoding, for example.
An example of such a Split-Row Threshold decoding method is illustrated in
The first local minimum Min1 Sp0 of the first partition Sp0 is equal to 3.
Therefore, it is above the threshold value T while the first local minimum Min1 Sp1 of the second partition Sp1 is lower than the threshold T which is equal to 0.3. Thus, the first partition Sp0 receives a threshold signal Threshold_enSp1 from the second partition Sp1 equal to 1. Therefore, the values of the first partition Sp0 are updated in
The row processor 603 delivers a sign signal SignSp0, which is a binary signal corresponding to the sign of the first partition Sp0 and the threshold signal Threshold_enSp0. At the same time, it receives the sign signal SignSp1 from the second partition Sp1 and the threshold signal Threshold_enSp1.
The row processor 603 then delivers the updated α values. At the same time, an identical process is realized on the other partitions, which is on the second Sp1 partition.
The magnitude update of α is shown on the top of the figure and the calculated signs are shown at the bottom part of the figure. In this example, only two partitions have been considered for a row, but the row can be split into as many partitions as it possibly can.
As illustrated in this figure and similar to a MinSum Split-row, the sign bit SignSp1 calculated from the second partition Sp1 is passed to the first partition Sp0 to correctly calculate the global sign bit Sign(global) according to row processing equation (6). The first partition sign SignSp0 is determined using an XOR gate 701 that receives and processes the sign bits Sign(βn) of the inputs, i.e., data in the partition. In this example, the data corresponds to half of the data of the row. To calculate the global sign bit Sign(global), another XOR gate 702 collects the signs of the first and second partition SignSp0 and SignSp1 and delivers the resulting sign of the row Sign(global). This resulting sign Sign(global) is then delivered to XOR gates 703, wherein each one also receives a sign Sign(βn) of an input β. The XOR gates 703 deliver the resulting sign Sign(αn) of the magnitude value associated αn therewith.
The threshold logic implementation THL is shown within the dashed line. It comprises a comparator 710, an OR gate 711 and wr/2 first muxes 712. Assuming the row weight of the parity check matrix is wr, there are wr/2 inputs β to each row processor. Similar to the MinSum decoding method, the first local minimum Mint and the second local minimum Min2 are found using detecting means or circuitry 720. A logical index signalIndexMin1 indicates to the second muxes 721 whether the first local minimum or the second local minimum is chosen for updating the value αi.
The first local minimum Min1 is then compared using comparator 710 with the threshold T to generate the threshold signal Threshold_enSp0 of the first partition Sp0. This does not add extra delay because the second local minimum Min2 is generated one comparator delay after the first local minimum Min1.
The threshold signal Threshold_enSp0of the first partition Sp0 and the threshold signal Threshold_enSp1 of the second partition Sp1 are combined together to generate the selecting signal Select corresponding to the combination by the OR gate 711 of the threshold signal of the first partition Threshold_enSp0 with the opposite signal of the threshold signal second partition
To show the effect of choosing the optimal threshold value,
The threshold Split-Row LDPC decoding method facilitates hardware implementation capable of high throughput, high hardware efficiency and high energy efficiency. The simulation results show that the Split-Row Threshold LDPC decoding method outperforms the Split-Row algorithms for 0.2 dB while maintaining the same level of complexity. The simulation results show that for a given LDPC code keeping a threshold constant at any SNR does not cause any error performance degradation.
As shown in