The present invention relates to an error correction technology in digital communication, and, particularly to a communication apparatus at a receiving side and a decoding method for decoding an LDPC (Low-Density Parity Check)-encoded signal.
As basic algorithms of decoding an LDPC code, there are a “Sum-Product algorithm” and a “Min-Sum algorithm”. According to these algorithms, the decoding is performed while repeatedly calculating a likelihood ratio (LLR) as probabilistic reliability information of a reception signal (see Nonpatent Document 1). The “Sum-Product algorithm” has high decoding performance, but has high calculation cost for packaging such as the need for holding a table, because a calculation using a mathematical function is required. At least a memory that stores intermediate values by only the number of “1” contained in a binary check matrix of “0” and “1” is necessary. On the other hand, the “Min-Sum algorithm” does not require a mathematical function, and has small calculation cost, but decoding performance is degraded.
The “Sum-Product algorithm” is explained. First, at the transmitter side, transmission data is LDPC encoded using a parity check matrix H of M rows×N columns, and a codeword c=(c1, c2, . . . , cN), cn=0, 1 (n=1, 2, . . . , N). A modulation such as a BPSK (Binary Phase Shift Keying) modulation is performed to this codeword c, and a modulation signal x=(x1, x2, . . . , xN) is sent.
On the other hand, the receiver side receives, via an Additive White Gaussian Noise Channel (AWGN channel), a signal y=(y1, y2, . . . , yN) as expressed by the following Equation (1):
yn=xn+en (1)
where en is a Gaussian noise series of which average is 0, and a variance σ2=N0/2.
At the receiver side, a predetermined digital demodulation corresponding to the above BPSK modulation is performed to the modulation signal received via the above channel. Further, iterative decoding by the “Sum-Product algorithm” is executed to a logarithmic likelihood ratio (LLR) obtained from the demodulation result, and a hard decision result is finally output.
A conventional decoding method “Sum-Product algorithm” implemented by the above receiver is shown below.
(Initialization Step)
First, the number of repetitions l=1 and the maximum number of repetitions lmax are set, and, as LLR: βmn(l=1) from a bit node to a check node at the initial time, a reception LLR: λn is input as given by the following Equation (2):
βmn(l)=λn
n=1, 2, . . . , N
m=1, 2, . . . , M (2)
(Row Processing Step)
Next, as row processing, LLR: αmn(l) at the first repetition (repetition first-time LLR: αmn(l)) of a bit n to be sent from the check node m to the bit node n is updated for each m and n by the following Equation (3):
where N(m) is a set of column numbers having “1” of a m-th row, n′ is N(m) other than n, and βmn(l−1) is LLR from the (l−1)-th bit node to the check node other than an n-th column.
(Column Processing Step)
Next, as a column processing, a repetition first-time LLR: βmn(l) of a bit n to be sent from the bit node n to the check node m is updated for each m and n by the following Equation (4):
A repetition first-time posterior value βn(l) of a bit n for a hard decision is updated for each n by the following Equation (5):
where M(n) is a set of row numbers having “1” of an n-th column, m′ is M(n) other than m, and βm′n(l) is LLR from the first check node to the bit node other than an m-th row.
(Stop Regulation)
Thereafter, when the repetition first-time posterior value βn(l) of the bit n is “βn(l)>0”, a decoding result is “xn′=1” (where x′ corresponds to the original transmission signal x). On the other hand, when “βn(l)≦0”, a decoding result is “xn′=0”, and a decoding result x′=(x1′, x2′, . . . , XN′) is obtained.
When a result of parity check is “Hx′=0” or when the number of repetitions is “l=1max” (when any one of these condition is satisfied), a decoding result x′ in this case is output. When none of the two conditions is satisfied, “l=l+1” is set, and the process control returns to the above row processing. Thereafter, the calculation is sequentially performed.
Nonpatent Document 1: Low-Density Parity-Check Codes and Its Decoding Algorithm, LDPC (Low Density Parity Check) code/sum-product decoding algorithm, Tadashi Wadayama, Triceps.
However, while the above “Sum-Product algorithm” is known to have high decoding performance, this algorithm requires a repeated calculation (calculation of tanh−1), using a mathematical function. Therefore, this algorithm has a problem in that calculation load at the receiver side becomes high whether hardware or software is used to realize this algorithm. There is also a method of holding a predetermined table to decrease the calculation load (table lookup). However, this method increases the memory capacity necessary to store the table.
In the above “Sum-Product algorithm”, at least a memory that stores intermediate values (algorithmic likelihood ratios of each row, updated values for each repetition, etc.) by only the number of “1 (weight)” contained in a binary check matrix of “0” and “1” is necessary. That is, a consumption amount of the memory becomes very large. Further, the above “Sum-Product algorithm” has also problems that the number of quantization bits is large, the number of repetitions is large, etc.
The present invention has been achieved to solve the above problems in the conventional technology and it is an object of the present invention to provide a communication apparatus and a decoding method, capable of reducing calculations and a memory capacity required in decoding of an LPDC encoded codeword. The invention also has an object of providing a communication apparatus and a decoding method, capable of achieving a reduction in the quantization size and a reduction in the number of repetitions.
To solve the problems and achieve the object mentioned above, there is provided a communication apparatus that decodes an LDPC-encoded codeword using a check matrix including: a retaining unit that retains an intermediate value obtained by a predetermined process in a decoding algorithm; a row processing unit that performs row processing of calculating a logarithmic likelihood ratio (logarithmic likelihood ratio to be sent from a check node to a bit node: column-processing LLR) used in the column processing based on an absolute value of a logarithmic likelihood ratio (logarithmic likelihood ratio to be sent from a bit node to a check node: row-processing LLR) corresponding to a row weight of a check matrix; and a column processing unit that calculates a row-processing LLR to be used in the row processing based on a column-processing LLR corresponding to a column weight, and stores a minimum value of absolute values of the row-processing LLR in the retaining unit. The column processing unit performs decoding while updating the minimum k value of the row.
According to the present invention, in the LDPC decoding, an absolute value of an LLR for row processing is reduced to a minimum k value in a row unit by a cyclic structure. Therefore, there is an effect that the memory capacity required to store the absolute values can be substantially reduced. Further, according to the present invention, probability propagation can be performed more efficiently than that performed by the conventional “Min-Sum algorithm”. Therefore, the number of repetitions of decoding can be substantially reduced. As a result, the calculations in decoding can be substantially reduced.
Exemplary embodiments of a communication apparatus and a decoding method according to the present invention are explained in detail below with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments. The present invention can be applied to decoding at a terminal and a base station, in wireless communication through, for example, a portable telephone. The present invention can also be applied to decoding in satellite communication, an HDD, optical communication, a wireless LAN, a quantum code, and the like.
Described first is positioning, in a communication system, of a communication apparatus and an LDPC decoder that implements a decoding method according to the present invention.
A flow of encoding and decoding in the communication system that employs an LDPC code is briefly explained. The LDPC encoder 1 within the transmitting device generates a generation matrix G of K rows×N columns according to a known method (K: an information length, N: a codeword length). The LDPC encoder 1 receives a message (m1, m2, . . . , mK) of the information length K, and generates a codeword C, using this message and the above generated matrix G, as represented by the following Equation (6):
When a parity check matrix for the LDPC is H (M rows×N columns), the generation matrix G satisfies GHT=0 (T is a transposed matrix), H (c1, c2, . . . , cN) T=0.
The modulator 2 performs a digital modulation to the codeword C generated by the LDPC encoder 1, by a predetermined modulation system such as BPSK, multivalue PSK, multivalue QAM, etc., and transmits a modulation signal x=(x1, x2, . . . , xN) to the receiving device via a communication channel 3.
On the other hand, in the receiving device, the demodulator 4 performs a digital demodulation corresponding to the above modulation system such as BPSK, multivalue PSK, multivalue QAM, etc. to a modulation signal y=(y1, y2, . . . , yN) that is received via the communication channel 3. Further, the LDPC decoder 5 performs decoding according to the decoding algorithm of the present embodiment, described later, using a logarithmic likelihood ratio (LLR) obtained from the demodulation result, and outputs a hard decision value (corresponding to the original message m1, m2, mK) as a decoding result.
Before explaining the decoding algorithm of the present embodiment, the “Min-Sum algorithm” is explained as the conventional decoding algorithm that is the basis of the decoding algorithm.
According to the “Min-Sum algorithm”, the initialization step similar to that of the “Sum-Product algorithm” described above is first performed. Next, the row processing step of the “Min-Sum algorithm” is performed. Thereafter, the column processing step and the stop regulation similar to those of the “Sum-Product algorithm” described above are performed to calculate and update probability information.
In the row processing unit, the comparator 112 of the minimum-value selecting unit 101 includes a plurality of comparators of two inputs (a, b). Each comparator receives LLR for comparison from the above memory unit 111 and a former-stage comparator (the first-stage comparator receives LLR from only the memory unit 111), and when “|a|<|b|”, each comparator outputs |a|. In other cases, each comparator outputs |b|, thereby outputting a minimum value of absolute values of the LLR. The LLR calculating unit 103 multiplies the above minimum value with the multiplication result of the above sign, and delivers the LLR: αmn(l) as the multiplication result, to the column processing unit.
(Row Processing Step)
The row processing of the above “Min-Sum algorithm” can be generalized by the following Equation (7). In this case, as the row processing, the repetition first-time LLR: αmn(l) of the bit n from the check node m to the bit node n is updated for each of m and n by the following Equation (7):
where min |βmn′(l−1)| is the minimum value of absolute values of the LLR: βmn′(l−1) excluding the n-th column in the m-th row of the parity check matrix H, and sgn(βmn′(l−1)) is the sign of the LLR: βmn′(l−1) excluding the n-th column.
As described above, according to the “Min-Sum algorithm”, after a row processing step, processing based on column processing and stop regulation similar to those of the “Sum-Product algorithm” is performed to obtain a final sign result.
Next, the flow of the process according to the “Min-Sum algorithm” is briefly explained referring to
According to the “Min-Sum algorithm”, a reception LLR is calculated from reception information (steps S1, S2), and the calculation result is set in the memory unit 111 as an initial value. Further, the number of repetitions is initialized as l=1 (step S3). Row processing is performed first time in the iterative decoding calculation (repetition first-time decoding calculation) (step S4: the first iterative decoding to the last iterative decoding). Next, column processing in the repetition first-time decoding calculation is performed, and thereafter, a posterior value calculated in the repetition first-time decoding calculation is subjected to a hard decision. This determination value is determined as a decoding result, and a parity check is performed (stop regulation). In the above stop regulation, when the parity check result becomes OK or when the number of repetitions becomes l=1max, a decoding result this time is finally output (step S5).
In the above “Min-Sum algorithm”, calculations and the required memory capacity are reduced from those of the “Sum-Product algorithm”, by approximating the row processing of the “Sum-Product algorithm”, i.e., Equation (3). However, in the above “Min-Sum algorithm”, a large memory capacity corresponding to the number of “1 (weight)” contained in the parity check matrix H is necessary to store the intermediate value. Further improvement is necessary to reduce the required memory capacity.
The decoding algorithm according to the present embodiment explained below achieves a further reduction in required memory capacity and calculations, and is the improved algorithm of the “Min-Sum algorithm” as the approximated decoding method of the “Sum-Product algorithm”, for example.
A configuration of the LDPC decoder 5 constituting the receiving device according to the present invention, and a decoding method (decoding algorithm) performed by the LDPC decoder 5, are explained in detail below with reference to the drawings.
The decoding algorithm according to the present embodiment is a method of cyclically updating only the absolute value of the LLR of the minimum k value. Because this algorithm is the method of decoding using an approximate minimum value instead of an accurately minimum value, this method is hereinafter called the “Cyclic approximated min algorithm”. The minimum k value represents “from the minimum value to the k-th value in the ascending order.
The “Cyclic approximated min algorithm” executed in the receiving device is shown below.
(Initialization Step)
First, the number of repetitions l=1 and the maximum number of repetitions lmax are set. The LLR of the minimum k value of the m-th row at the initial time is set as βmn(i)(0), and a reception LLR: λn is input to obtain Bmn(i) as in the following Equation (8). As a sign of the LLR: βmn(0) of the m-th row at the initial time, sgn(λn) is input to obtain Sm as in the following Equation (8):
where Bmn(i) is an absolute value of the LLR: βmn(i) of the minimum k value of the m-th row, n(i) is a column number of the minimum i-th LLR in Bmn(i), and Sm is a product of signs (+ or −) of the LLR: βmn of the m-th row.
(Row Processing Step)
In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the process ends to the last column, decoding is performed again cyclically from the first column. As the row processing, the repetition first-time LLR: αmn(l) of the bit n to be sent from the check node m to the bit node n is updated for 1≦n≦N and for each m by the following Equation (9):
where Nk(m) is the set of n(i) of the m-th row, and is expressed as Nk(m)={n(1), n(2), . . . , n(k)}. Specifically, when the current column number is n, a column number that satisfies “n′<n” takes the product of signs of the LLR: βmn′(l) updated in the first-time column processing, and a column number that satisfies “n′>n” takes the product of signs of the LLR: βmn′(l−1) updated by the (l−1)-th time column processing. A result of multiplying these results by the minimum LLR: min[βmn′] in the minimum k value of the m-th row is set as the updated LLR: αmn(l) of the column number n. In the present embodiment, the term of multiplying the product of the signs of βmn′(l) by the product of the signs of βmn′(l−1) is substituted by the term of multiplying Sm updated at the (l−1)-th time by the sign of βmn′ updated at the (l−1)-th time. With this arrangement, calculations and the required memory capacity can be reduced.
(Column Processing Step)
Next, as the column processing, the repetition first-time LLR: βmn(l) of the bit n to be sent from the bit node n to the check node m is updated for each m and n by the following Equation (10):
Specifically, in the column number n, a result of the addition of the reception LLR: λn, and a total value of the LLR: αm′n(l) other than the m-th row LLR updated in the first-time row processing is expressed as the updated LLR: βmn′(l). The above Sm′ is multiplied by the sign (+ or −) of βmn(l) updated in the first-time column processing, thereby updating Sm to be used in the row processing. The two equations in Equation (10) prescribe the sort process (minimum k value) of Bmn(l).
To perform a hard decision for each n, the repetition first-time posterior value βn(l) of the bit n is updated by the following Equation (11);
(Stop Regulation)
Thereafter, when the repetition first-time posterior value βn(l) of the bit n is “βn(l)>0”, for example, a decoding result is “xn′=1” (where x′ corresponds to the original transmission signal x). On the other hand, when “βn(l)≦0”, a decoding result is “xn′=0”, and a decoding result x′=(x1′, x2′, . . . , xN′) is obtained.
When the result of parity check is “Hx′=0” or when the number of repetitions is “l=1max” (when any one of these condition is satisfied), a decoding result x′ in this case is output. When none of the two conditions is satisfied, “l=l+1” is set, and the process control returns to the above row processing. Thereafter, the calculation is sequentially performed.
A characteristic operation of the LDPC decoder 5 that performs the above “Cyclic approximated min algorithm” is explained in detail with reference to a configuration diagram.
The minimum-value selecting unit 31 selects the Min2LLR(Bmn(2)) when the column number n to be row-processed coincides with the column number n(1) of the Min1LLR(Bmn(l)), and selects the Min1LLR(Bmn(l)) in other cases, and outputs the selected result. The sign calculating unit 32 multiplies the “Sm updated by the (l−1)-th time column processing” by the “sign of the LLR: βmn of the m-th row and n-th column of the (l−1)-th time”, and outputs Sm′ as a result of the multiplication. In this case, Sm′ is retained in the intermediate-result retaining unit 21. The LLR calculating unit 33 multiplies the minimum LLR obtained from the minimum-value selecting unit 31 by the multiplication result Sm′ of the sign (+ or −) obtained from the sign calculating unit 32, thereby calculating LLR: αmn(l). Based on this, according to the “Min-Sum algorithm”, the memory that has been necessary by the row weight portion can be reduced to the k value portion.
In the column processing unit 23, the α adding unit 41 adds all LLR: αm′n(l) other than those of the m-th row LLR updated in the first-time row processing. Further, the λ adding unit 42 adds the reception LLR: λn to the result of the addition by the α adding unit 41, and outputs βmn(l). The minimum-k-value comparing unit 43 (k=3) receives |βmn(l)|. Although not shown in
The same process as described above can also be achieved with the configuration shown in
The flow of the process in the “Cyclic approximated min algorithm” according to the present embodiment is explained with reference to
According to the “Cyclic approximated min algorithm”, the reception-LLR calculating unit 11 calculates the reception LLR from the reception information (steps S11, S12), and sets a result of the calculation to the intermediate-result retaining unit 21, as an initial value (step S13). The controller 25 initializes the number of repetitions as l=1 (step S13). The calculation of Equation (8) is cyclically performed from n=1 to n=N, using the λ adding unit 42, the minimum-k-value comparing unit 43, and the sign calculating unit 44, out of the column processing unit 23 (step S13).
Next, the decoding core unit 12 performs the first-time (first-time to the last-time) iterative decoding calculation (step S14). Specifically, as the first-time iterative decoding, the row processing unit 22 performs the row processing (using the reception LLR) to the row having “1” in the first column, and delivers a result of the calculation to the column processing unit 23. Thereafter, the column processing unit 23 performs the column processing of the first column, and retains (updates) Bmn(i) and Sm, as a result of the calculation, in the intermediate-result retaining unit 21. Thereafter, processing similar to the above is performed in the order of the second column, third column, . . . , N-th column, and Bmn(i) and Sm are retained each time in the intermediate-result retaining unit 21 (corresponding to the iterative decoding first time). At the second and subsequent iterative decoding, the row processing is performed using the LLR and Sm updated in the processing one before. In other cases, decoding is performed as in the first time.
After executing the first-time iterative decoding, the decoding-result determining unit 24 performs a hard decision on the posterior value calculated at the repetition first time, determines this determination value as the decoding result x′, and performs a parity check (stop regulation). In the stop regulation, when a result of the parity check is OK (“Hx′=0”) or when the number of repetitions is l=1max, the decoding result x′ at this time is finally output (step S15). When the above two conditions are not satisfied, the controller 25 sets l=l+1, and the decoding core unit 12 performs the (l+1)-th time iterative decoding.
Deletion of the memory size according to a notation method of a column number is explained next.
As described above, according to the present embodiment, the LDPC decoding is performed to minimize the absolute value |βmn| of the LLR for the row processing, to the minimum k value in row unit by the cyclic structure. Therefore, the memory capacity required to store the absolute values can be substantially reduced. When the row weight is 20 and also k=3, for example, the required memory capacity can be reduced to 3/20 of the conventional capacity. Further, by changing the column number from the absolute column number (1, 3, 10, 15 . . . ) to the relative column number (0, 1, 2, 3 . . . ), the required memory capacity can be further reduced.
In the “Cyclic approximated min algorithm” according to the present embodiment, calculation and updating of probability information (LLR) by the row processing and column processing are performed cyclically for each one bit. Accordingly, probability propagation can be performed more efficiently than that according to the conventional “Min-Sum algorithm”.
For example,
While, in the present embodiment, the LLR to be row processed has one value, the k number can be any number equal to or higher than two values. The present embodiment explains, by way of example and without limitation, that the row processing and the column processing are performed one time alternately, and the updating of the probability information (LLR) by the row processing and the column processing is cyclically performed each one bit. Alternatively, after the row processing is performed a plurality of times, the column processing can be performed by a plurality of times. That is, calculation and updating of probability information (LLR) by the row processing and the column processing can be performed cyclically for a plurality of bits each time.
A receiving device and a decoding method according to a second embodiment are explained next. LDPC decoding according to the present embodiment can be applied when the calculation and updating of the probability information (LLR) by the row processing and column processing are performed for each one bit or a predetermined plurality of bits. For example, the number of repetitions can be reduced by parallelizing calculations. In the present embodiment, the “Cyclic approximated min algorithm” is executed using what is called “Overlapped” BmnC and Sm, by arranging such that the Bmn(i) and Sm of the intermediate-result retaining unit are one set regardless of the number of parallelization, and parallelized all processing units update the same BmnC and Sm. The decoding algorithm according to the present embodiment is hereinafter called the “Overlapped cyclic approximated min algorithm”.
The “Overlapped cyclic approximated min algorithm” executed by the receiving device according to the present embodiment is shown below.
(Initialization Step)
First, the number of repetitions l=1 and the maximum number of repetitions lmax are set. Further, a reception LLR: λn is input, and Bmn(i)C is obtained as given by the following Equation (12), assuming an LLR of the minimum k value of the m-th row at the initial time is βmn(i)(0). As a sign of the LLR: βmn(0) in the m-th row at the initial time, sgn(λn) is input, and Sm is obtained as shown by the following Equation (12):
where Bmn(i)C is an absolute value of the LLR: βmn(i) of the minimum k value of the m-th row and is used in common in the parallel processing, and n(i) is a column number of the minimum i-th LLR in Bmn(i)C.
(Row Processing Step)
In the present embodiment, a starting column of each row processing is arbitrary. At the stage where the processing ends up to the final column, decoding is performed again cyclically from the first column. As the row processing, the repetition first-time LLR: αmn(l) of the bit n to be sent from the check node m to the bit node n is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m, where G is a parallel number, NG is a column number that each parallelized decoding circuit processes, and G·Ng=N, by the following Equation (13):
Specifically, for example, G row processing units allocated to the G columns, into which the column is divided for each column number: NG, perform the row processing in parallel. The G row processing units execute the parallel processing, and perform the same operation as that of the “Cyclic approximated min algorithm”, except that all the processing units use the same BmnC.
(Column Processing Step)
Next, as the column processing, the repetition first-time LLR: βmn(l) of the bit n to be sent from the bit node n to the check node m is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (14). That is, in the present embodiment, after the row processing is performed in parallel as described above, for respective columns are performed in parallel the column processing represented by the following Equation (14):
To perform a hard decision for each n, the repetition first-time posterior value βn(l) of the bit n is updated by the following Equation (15):
The stop regulation is the same as that of the “Cyclic approximated min algorithm” described above.
Described below is a configuration and operation of the LDPC decoder 5 according to the second embodiment that achieves the above “Overlapped cyclic approximated min algorithm”.
In
According to the present embodiment, in the parallel processing, when calculation of the same row occurs in the same clock and when the same buffer is referenced, various measures are taken, such as a memory access priority order is set to each processing unit, a memory bank is partitioned, and the timing of the memory access is adjusted using a shift register.
As described above, in the “Overlapped cyclic approximated min algorithm” according to the present embodiment, the row processing and the column processing are performed in parallel using the “Cyclic approximated min algorithm” described above. Further, the intermediate-result retaining unit that retains the minimum k value updated in each column processing performed in parallel is shared, and the minimum k value is updated in each column processing performed in parallel. With this arrangement, the number of decoding iterations can be substantially reduced as compared with the decrease according to the “Min-Sum algorithm” and the first embodiment described above.
A receiving device and a decoding method according to a third embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Cyclic approximated min algorithm” according to the first embodiment or the “Overlapped cyclic approximated min algorithm” according to the second embodiment are cyclically applied to the “Normalized BP-based algorithm” as the known decoding algorithm using the “Min-Sum algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “Normalized BP-based algorithm” that is the basis the decoding algorithm is shown below. The row processing different from that of the “Min-Sum algorithm” is explained.
(Row Processing Step)
The row processing of the above “Normalized BP-based algorithm” can be generalized by the following Equation (16). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (16), where A is a constant called a normalization factor. In the “Normalized BP-based algorithm”, the repetition first-time LLR obtained by the “Min-Sum algorithm” is corrected by the normalization factor A.
The decoding algorithm when the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm” is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm”. The row processing different from that of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is explained below.
(Row Processing Step Using Cyclic Approximated Min Algorithm)
In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the processing ends to the last column, decoding is performed again cyclically from the first column. The row processing of the decoding algorithm according to the present embodiment using the “Cyclic approximated min algorithm” can be generalized by the following Equation (17). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (17). That is, the repetition first-time LLR obtained by the “Cyclic approximated min algorithm” is corrected by the normalization factor A in the following Equation (17):
(Row Processing Step Using Overlapped Cyclic Approximated Min Algorithm)
The row processing of the decoding algorithm according to the present embodiment using the “Overlapped cyclic approximated min algorithm” can be generalized by the following Equation (18). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (18). That is, the repetition first-time LLR obtained by the “Overlapped cyclic approximated min algorithm” is corrected by the normalization factor A in the following Equation (18):
In the decoding algorithm according to the present embodiment, after the row processing step is performed as described above, processing based on the column processing and the stop regulation similar to those of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is performed to obtain the final code result.
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
As described above, according to the present embodiment, the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm” having the better performance than that of the “Min-Sum algorithm”. With this arrangement, effects similar to those of the first and second embodiments can be obtained. Further, performance close to that of the “Sum-Product algorithm” can be achieved, regardless of the circuit amount substantially equivalent to that of the “Min-Sum algorithm”.
In the present embodiment, the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm”. Alternatively, the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” can also be applied to the known “Offset BP-based algorithm” or other algorithm. In this case also, effects similar to those described above can be obtained.
A receiving device and a decoding method according to a fourth embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Cyclic approximated min algorithm” according to the first embodiment or the “Overlapped cyclic approximated min algorithm” according to the second embodiment are cyclically applied to the “δ min algorithm” as the known decoding algorithm having superior correction performance of LLR: βmn to that of the “Normalized BP-based algorithm” or the “Offset BP-based algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “δ min algorithm” that is the basis of the decoding algorithm is explained. The row processing different from that of the “Min-Sum algorithm” is explained below.
(Row Processing Step)
The row processing of the above “δ min algorithm” can be generalized by the following Equation (19). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (19). In the row processing of the “δ min algorithm”, αmn(l) is calculated by calculating Θ from the absolute value: |βmn′(i−1)| of the LLR updated at the repetition l−1-th time.
The decoding algorithm when the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “δ min algorithm” is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm”. The row processing different from that of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is explained below. In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the processing ends to the last column, decoding is performed again cyclically from the first column.
(Row Processing Step Using Cyclic Approximated Min Algorithm)
For example, the row processing of the decoding algorithm according to the present embodiment using the “Cyclic approximated min algorithm” can be generalized by the following Equation (20). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (20). In the row processing of the decoding algorithm, αmn(l) is calculated by calculating Θ from the absolute value: Bmn′ of the LLR of the minimum k value updated at the repetition l−1-th time.
(Row Processing Step Using Overlapped Cyclic Approximated Min Algorithm)
The row processing of the decoding algorithm according to the present embodiment using the “Overlapped cyclic approximated min algorithm” can be generalized by the following Equation (21). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (21). In the row processing of this decoding algorithm, αmn(l) is calculated by calculating Θ from the absolute value: βmn′C of the LLR of the minimum k value updated by the parallel processing at the repetition l−1-th time.
In the decoding algorithm according to the present embodiment, after the row processing step is performed as described above, processing based on the column processing and the stop regulation similar to those of the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is performed to obtain the final code result.
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
A minimum-value selecting unit 31b according to the present embodiment reads the Min1LLR(Bmn(l)), Min2LLR(Bmn(2)), MinkLLR(Bmn(k)), and their column numbers from the intermediate-result retaining unit 21, and the calculating unit performs the Θ calculation. That is, in the minimum-value selecting unit 31b according to the present embodiment, the calculating unit performs the following calculation in the “δ min algorithm”, to Bmn(k) in which the n-th column to be processed does not coincide with the column number n(k) of Bmn(k) retained in the intermediate-result retaining unit 21.
For example, the calculating unit obtains the updated value |αmn(l)| (=Θ[(Bmn′]) excluding the sign as represented by the following Equation (22):
Further, by limiting the LLR to be calculated from the k value to the minimum 3 values, calculations can be reduced. The calculating unit obtains the updated value |αmn(l)| (=Θ[(Bmn′]) excluding the sign as represented by the following Equation (23):
While the LLR to be calculated is limited from the k value to the minimum 3 values in the above example, the embodiment can also be applied to the case that the LLR is limited to the minimum 4, 5, . . . values.
As described above, according to the present embodiment, the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “δ min algorithm” having the better performance than that of the “Min-Sum algorithm”. With this arrangement, effects similar to those of the first and second embodiments can be obtained. Further, performance close to that of the “Sum-Product algorithm” can be achieved, regardless of the circuit amount substantially equivalent to that of the “Min-Sum algorithm”. In the present embodiment, description is made for the case that the minimum value of the absolute values of the LLR for the row processing is corrected to the optimum value based on a predetermined correction equation prescribed by the known “δ min algorithm”. However, the correction equation is not limited to this, and the correction equation prescribed by the algorithm other than the “δ min algorithm” can also be used. In this case also, effects similar to those described above can be obtained.
A receiving device and a decoding method according to a fifth embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Cyclic approximated min algorithm” according to the first embodiment or the “Overlapped cyclic approximated min algorithm” according to the second embodiment are cyclically applied to the “Sum-Product algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “Sum-Product algorithm” that is the basis of the decoding algorithm is explained. In the present embodiment, a method of calculation by tabling the mathematical function, i.e., a general “Sum-Product algorithm” using a TLU (table lookup), is described. The row processing different from that of the “Sum-Product algorithm” explained in the conventional technology is described.
(Row Processing Step (1))
The row processing of the “Sum-Product algorithm” using the TLU can be generalized by the following Equation (24). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (24). In the row processing of the “Sum-Product algorithm” using the TLU, a calculation using the TLU is performed to the absolute value: |βmn′(l−1) of the LLR updated at the repetition l−1-th time.
(Row Processing Step (2))
The row processing of the “Sum-Product algorithm” using the TLU can also be achieved by the method different from the above method. For example, the row processing of the “Sum-Product algorithm” using the TLU different from the above method can be generalized by the following Equation (25). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (25):
For the TLU1(x), a table is prepared in advance based on the following Equation (26):
TLU1(x)=in(1+exp(−x)) (26)
In the “Sum-Product algorithm” using the TLU, the row processing represented by Equation (24) has a characteristic that while the table becomes large, the number of calculations is small. On the other hand, the row processing represented by Equation (25) has a characteristic that the number of calculations is large although the table becomes small.
The decoding algorithm when the “Cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Cyclic approximated min algorithm”. The row processing different from that of the “Cyclic approximated min algorithm” is explained below. In the present embodiment, a starting column of the row processing is arbitrary, and at the stage where the processing ends up to the final column, decoding is performed again cyclically from the first column.
(Row Processing Step Using Cyclic Approximated Min Algorithm (1))
The row processing of the decoding algorithm according to the present embodiment having the “Cyclic approximated min algorithm” applied to the above row processing step (1) can be generalized by the following Equation (27). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (27). In the row processing of the decoding algorithm, a calculation using the TLU is performed to the absolute value: Bmn′ of the LLR of the minimum k value updated at the repetition l−1-th time.
(Row Processing Step Using Cyclic Approximated Min Algorithm (2))
The row processing of the decoding algorithm according to the present embodiment having the “Cyclic approximated min algorithm” applied to the above row processing step (2) can be generalized by the following Equation (28). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (28):
The decoding algorithm when the “Overlapped cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Overlapped cyclic approximated min algorithm”. The row processing different from that of the “Overlapped cyclic approximated min algorithm” is explained below.
(Row Processing Step Using Overlapped Cyclic Approximated Min Algorithm (1))
The row processing of the decoding algorithm according to the present embodiment having the “Overlapped cyclic approximated min algorithm” applied to the above row processing step (1) can be generalized by the following Equation (29). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (29). In the row processing of this decoding algorithm, a calculation using the TLU is performed to the absolute value: Bmn′C of the LLR of the minimum k value updated by the parallel processing at the repetition l−1-th time.
(Row Processing Step Using Overlapped Cyclic Approximated Min Algorithm (2))
The row processing of the decoding algorithm according to the present embodiment having the “Overlapped cyclic approximated min algorithm” applied to the above row processing step (2) can be generalized by the following Equation (30). In this case, as the row processing, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (30):
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
A minimum-value selecting unit 31c according to the present embodiment reads the Min1LLR(Bmn(1)), Min2LLR(Bmn(2)), MinkLLR(Bmn(k)), and their column numbers from the intermediate-result retaining unit 21, and the calculating unit performs calculation using the TLU. That is, in the minimum-value selecting unit 31c according to the present embodiment, the calculating unit performs the following calculation in the “Sum-Product min algorithm”, to Bmn(k) in which the n-th column to be processed does not coincide with the column number n(k) of Bmn(k) retained in the intermediate-result retaining unit 21.
For example, the calculating unit obtains the updated value excluding the sign as represented by the following Equation (31):
Further, by limiting the LLR to be calculated from the k value to the minimum 3 values, calculations can be reduced. The calculating unit obtains the updated value excluding the sign as represented by the following Equation (32):
While the LLR to be calculated is limited from the k value to the minimum 3 values in the above explanation as an example, the embodiment can also be applied to the case that the LLR is limited to the minimum 4, 5, . . . values.
As described above, according to the present embodiment, the “Cyclic approximated min algorithm” or the “Overlapped cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU. With this arrangement, although calculations and the required memory capacity increase as compared with other embodiments, decoding performance can be improved. While the “Sum-Product algorithm” using the TLU is explained in the present embodiment, the principle can be similarly applied to other decoding algorithm for performing the TLU to the mathematical function. In the present embodiment, the TLU prescribed by the known “Sum-Product algorithm” is used for the minimum value of the absolute values of the LLR for the row processing. However, the TLU is not limited to the above, and the TLU other than the TLU prescribed by the “Sum-Product algorithm” can also be used. In this case also, effects similar to the above effects can be obtained.
A communication apparatus and a decoding method according to a sixth embodiment are explained below. According to the present embodiment, the number of repetitions can be further reduced by relating the decoding to a serial decoding in a complete bit unit.
As in the above embodiment,
The decoding algorithm according to the present embodiment is a method of cyclically updating only the absolute value of the LLR of the minimum k value. Because this algorithm is the method of decoding using an approximate minimum value instead of an accurately minimum value and is the serial decoding method, this algorithm is hereinafter called the “Serial cyclic approximated min algorithm”. The minimum k value represents “from the minimum value to the k-th value in the ascending order.
The “Serial cyclic approximated min algorithm” executed in the receiving device is shown below.
(Initialization Step)
First, the number of repetitions l=1 and the maximum number of repetitions lmax are set. The LLR of the minimum k value of the m-th row at the initial time is set as βmn(i)(0), and a reception LLR: λn is input, thereby obtaining Bmn(i) as represented by the following Equation (33). As a sign of the LLR: βmn(0) of the m-th row at the initial time, sgn(λn) is input, thereby obtaining Sm as represented by the following Equation (33):
where Bmn(i) is an absolute value of the LLR: Bmn(i) of the minimum k value of the m-th row, n(i) is a column number of the minimum i-th LLR in Bmn(i), and Sm is a product of signs (+ or −) of the LLR: βmn of the m-th row.
(Row Processing Step 1)
In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the processing ends to the last column, decoding is performed again cyclically from the first column. As the row processing, the repetition first-time LLR: αmn(l) of the bit n to be sent from the check node m to the bit node n is updated for 1≦n≦N and for each m by the following Equation (34):
Specifically, when the current column number is n, a column number that satisfies “n′<n” takes the product of signs of the LLR: βmn′(l) updated in the first-time column processing, and a column number that satisfies “n′>n” takes the product of signs of the LLR: βmn′(l−1) updated in the (l−1)-th time column processing. A result of multiplying these results by the minimum LLR: min[βmn′] in the minimum k value of the m-th row is set as the updated LLR: βmn(l) of the column number n. In the present embodiment, the term of multiplying the product of the signs of βmn′(l) by the product of the signs of βmn′(l−1) is substituted by the term of multiplying Sm updated at the (l−1)-th time by the sign of βmn′ updated at the (l−1)-th time. With this arrangement, calculations and the required memory capacity can be reduced. Nk(m) in Equation (34) is the set of n(i) of the m-th row, and is expressed as Nk(m)={n(1), n(2), . . . , n(k)}
(Column Processing Step)
Next, as the column processing, the repetition first-time LLR: βmn(l) of the bit n to be sent from the bit node n to the check node m is updated by the following Equation (35) for each m of the column number n performed at the row processing step 1. At the subsequent column processing step and the row processing step 2, calculation is performed in order for each row starting from the one with the smallest row number, for example. However, when all rows having “1” standing are executed without overlapping, the calculation can be performed in any order.
Specifically, in the column number n, a result of the addition of the reception LLR: λn and a total value of the LLR: αm′n(l) other than the m-th row LLR updated in the first-time row processing is expressed as the updated LLR: βmn′(l). This calculation can also be obtained by subtracting αm′n(l) from βn(l). The above Sm′ is multiplied by the sign (+ or −) of βmn(l) updated in the first-time column processing, thereby updating Sm to be used in the row processing. The two equations in Equation (35) prescribe the sort process (minimum k value) of Bmn(l).
(Row Processing Step 2)
Next, as the row processing again, the repetition first-time LLR: α′mn(l) of the bit n to be sent from the check node m to the bit node n is updated, for the same m executed in the column processing of the column number n, by the following Equation (36):
Specifically, as the row processing again, α′mn(l) is updated. The updated α′mn(l) is added to βmn(l) using the updated result, thereby updating βn(l). Thereafter, by returning to the column processing step, calculation is repeated until when the calculation is completed for all m of the column number n. When the processes at the column processing step and the row processing step end for all rows m having “1” standing in the check matrix of the column number n, the process control moves to the stop regulation.
(Stop Regulation)
Thereafter, when the repetition first-time posterior value βn(l) of the bit n is “βn(l)>0”, for example, a decoding result is “xn′=1” (where x′ corresponds to the original transmission signal x). On the other hand, when “βn(l)≦0” a decoding result is “xn′=0”, and a decoding result x′=(x1′, x2′, . . . , XN′) is obtained.
When the result of parity check is “Hx′=0” or when the number of repetitions is “l=1max” (when any one of these condition is satisfied), a decoding result x′ in this case is output. When none of the two conditions is satisfied, “l=l+1” is set, and the process control returns to the above row processing step 1. Thereafter, the calculation is sequentially performed.
A characteristic operation of the LDPC decoder 5 that executes the above “Serial cyclic approximated min algorithm” is explained in detail with reference to a configuration diagram.
As in the above embodiment,
The minimum-value selecting unit 31 selects the Min2LLR(Bmn(2)) when the column number n to be row-processed coincides with the column number n(1) of the Min1LLR(Bmn(1)), and selects the Min1LLR(Bmn(1)) in other cases, and outputs the selected result. The sign calculating unit 32 multiplies the “Sm updated by the (l−1)-th time column processing” by the “sign of the LLR: βmn of the m-th row and n-th column of the (l−1)-th time”, and outputs Sm′ as a result of the multiplication. In this case, Sm′ is retained in the intermediate-result retaining unit 21. The LLR calculating unit 33 multiplies the minimum LLR obtained from the minimum-value selecting unit 31 by the multiplication result Sm′ of the sign (+ or −) obtained from the sign calculating unit 32, thereby calculating LLR: αmn(l). Based on this, according to the “Min-Sum algorithm”, the memory that has been necessary by the row weight portion can be reduced to the k value portion.
In the column processing unit 23, the α adding unit 41 adds all LLR: αmn(l) including the m-th row LLR updated in the first-time row processing. Further, the λ adding unit 42 adds the reception LLR: λn to the result of the addition by the α adding unit 41, controls a switch 45 to be first connected to a block below, and outputs βmn(l) by subtracting αmn(l) from the added result. The minimum-k-value comparing unit 43 (k=3) receives |βmn(l)|.
Although not shown in
After this processing, as shown in
The flow of the processing in the “Serial cyclic approximated min algorithm” according to the present embodiment is explained next with reference to a flowchart shown in
In the above “Serial cyclic approximated min algorithm”, the reception-LLR calculating unit 11 first calculates the reception LLR from the reception information (steps S11, S12), and sets a result of the calculation to the intermediate-result retaining unit 21, as an initial value (step S13). The controller 25 initializes the number of repetitions as l=1 (step S13). The calculation of Equation (33) is cyclically performed from n=1 to n=N, using the λ adding unit 42, the minimum-k-value comparing unit 43, and the sign calculating unit 44, out of the column processing unit 23 (step S13).
Next, the decoding core unit 12 performs the first-time (first-time to the last-time) iterative decoding calculation (step S14). Specifically, as the first-time iterative decoding, the row processing unit 22 performs the row processing (using the reception LLR) to the row having “1” in the first column, and delivers a result of the calculation to the column processing unit 23. Thereafter, the column processing unit 23 performs the column processing of the first column, and retains (updates) Bmn(i) and Sm as a result of the calculation, in the intermediate-result retaining unit 21. Thereafter, the row processing unit 22 executes the row processing step 2, and delivers a result of the calculation to the column processing unit 23. The row processing unit 22 and the column processing unit 23 repeat the column processing step and the row processing step 2. Thereafter, processing similar to the above processing is performed in the order of the second column, third column, . . . , N-th column. Bmn(i) and Sm are retained in the intermediate-result retaining unit 21 (corresponding to the iterative decoding first time). At the second and subsequent iterative decoding, the row processing is performed using the LLR and Sm updated by the processing one before. Thereafter, decoding is performed in the similar manner as in the first time.
After executing the first-time iterative decoding, the decoding-result determining unit 24 performs a hard decision on the posterior value calculated at the repetition first time, determines this determination value as the decoding result x′, and performs a parity check (stop regulation). In the stop regulation, when a result of the parity check is OK (“Hx′=0”) or when the number of repetitions is l=1max, the decoding result x′ at this time is finally output (step S15). When the above two conditions are not satisfied, the controller 25 sets l=l+1, and the decoding core unit 12 performs the (l+1)-th time iterative decoding.
Deletion of the memory size according to a notation method of a column number is explained next, as in the embodiment described above.
As described above, in the present embodiment, the LDPC decoding is performed to minimize the absolute value |βmn| of the LLR for the row processing, to the minimum k value in row unit by the cyclic structure. Therefore, the memory capacity required to store the absolute values can be substantially reduced. When the row weight is 20 and also k=3, for example, the required memory capacity can be reduced to 3/20 of the conventional capacity. Further, by changing the column number from the absolute column number (1, 3, 10, 15 . . . ) to the relative column number (0, 1, 2, 3 . . . ), the required memory capacity can be further reduced.
In the “Serial cyclic approximated min algorithm” according to the present embodiment, calculation and updating of probability information (LLR) by the row processing and column processing are performed cyclically for each one bit. Accordingly, probability propagation can be performed more efficiently than that according to the conventional “Min-Sum algorithm”.
In the “Serial cyclic approximated min algorithm” according to the present embodiment, as the row processing step 2, α′mn(l) is updated. The updated α′mn(l) is added to βmn(l) using the updated result, thereby updating βn(l). Therefore, the decoding can be related to the serial decoding in the complete bit unit, and the number of repetitions can be further reduced.
In the present embodiment, while the LLR to be row processed has one value, the k number can be any number equal to or higher than two values. In the present embodiment, it is explained that after the row processing step 1 is performed, the column processing step and the row processing step 2 are performed alternately. The updating of the probability information (LLR) by the row processing and the column processing is cyclically performed for each one bit. However, the execution is not limited to the above. Alternatively, calculation and updating of the probability information (LLR) by the row processing and the column processing can be performed cyclically for a plurality of bits each time.
A receiving device and a decoding method according to a seventh embodiment are explained next. The LDPC decoding according to the present embodiment can be applied when the calculation and updating of the probability information (LLR) by the row processing and column processing are performed for each one bit or a predetermined plurality of bits. For example, the number of repetitions can be reduced by parallelizing calculations. In the present embodiment, the “Serial cyclic approximated min algorithm” is executed using what is called “Overlapped” BmnC and Sm, by arranging such that the Bmn(i) and Sm of the intermediate-result retaining unit are one set regardless of the number of parallelization, and parallelized all processing units update the same BmnC and Sm. The decoding algorithm according to the present embodiment is hereinafter called the “Overlapped serial cyclic approximated min algorithm”.
The “Overlapped serial cyclic approximated min algorithm” executed by the receiving device according to the present embodiment is shown below.
(Initialization Step)
First, the number of repetitions l=1 and the maximum number of repetitions lmax are set. Further, a reception LLR: λn is input, and Bmn(i)C is obtained as given by the following Equation (37), where βmn(i)(0) is an LLR of the minimum k value of the m-th row at the initial time. As a sign of the LLR: βmn(0) in the m-th row at the initial time, sgn(λn) is input, and Sm is obtained as shown by the following Equation (37):
where Bmn(i)C is an absolute value of the LLR: βmn(i) of the minimum k value of the m-th row, and is used in common in the parallel processing, n(i) is a column number of the minimum i-th LLR in Bmn(i)C.
(Row Processing Step 1)
In the present embodiment, a starting column of each row processing is arbitrary. At the stage where the processing ends up to the final column, decoding is performed again cyclically from the first column. As the row processing, the repetition first-time LLR: αmn(l) of the bit n to be sent from the check node m to the bit node n is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, where G is a parallel number, NG is a column number that each parallelized decoding circuit processes, and G·Ng=N, and for each m, by the following Equation (38):
Specifically, for example, G row processing units allocated to the G columns, into which the column is divided for each column number: NG, perform the row processing in parallel. The G row processing units perform the parallel processing, and perform the same operation as that of the “Serial cyclic approximated min algorithm”, except that all the processing units use the same BmnC.
(Column Processing Step)
Next, as the column processing, the repetition first-time LLR: βmn(l) of the bit n to be sent from the bit node n to the check node m is updated, for each m of the column number n performed at the row processing step 1, by the following Equation (39). That is, in the present embodiment, the column processing represented by the following Equation (39) is performed in parallel, for each column after the row processing is performed in parallel as described above. However, in performing the column processing in parallel, at the subsequent column processing step and the row processing step 2, the calculation is performed for each row in order starting from the smallest row number of the row number m, for example. However, when all rows having “1” standing are executed without overlapping the order of the row numbers to be executed, the calculation can be performed in any order.
(Row Processing Step 2)
Further, as the row processing again, the repetition first-time LLR: α′mn(l) of the bit n to be sent from the check node m to the bit node n is updated, for the same m of the row executed in the column processing of the column number n, by the following Equation (40):
Specifically, as the row processing again, α′mn(l) is updated. The updated α′mn(l) is added to βmn(l) using the updated result, thereby updating βn(l). Thereafter, by returning to the column processing step, calculation is repeated until when the calculation is completed for all m of the column number n. When the processes at the column processing step and the row processing step end for all rows m having “1” standing in the check matrix of the column number n, the process control moves to the stop regulation.
The stop regulation is similar to that of the “Serial cyclic approximated min algorithm” described above.
A configuration and operation of the LDPC decoder 5 according to the seventh embodiment that achieves the above “Overlapped serial cyclic approximated min algorithm” is explained below.
In
According to the present embodiment, in the parallel processing, when calculation of the same row occurs in the same clock and when the same buffer is referenced, various measures are taken, such as a memory access priority order is set to each processing unit, a memory bank is partitioned, and the timing of the memory access is adjusted using a shift register.
As described above, in the “Overlapped serial cyclic approximated min algorithm” according to the present embodiment, the row processing and the column processing are performed in parallel, using the “Serial cyclic approximated min algorithm” described above. Further, the intermediate-result retaining unit that retains the minimum k value updated in each column processing performed in parallel is shared, and the minimum k value is updated in each column processing performed in parallel. With this arrangement, the decoding number of repetitions can be substantially reduced, as compared with the decrease according to the “Min-Sum algorithm” and the above sixth embodiment.
In the “Overlapped serial cyclic approximated min algorithm” according to the present embodiment, as the row processing step 2, α′mn(l) is updated, and the updated α′mn(l) is added to βmn(l) using the updated result, thereby updating βn(l). Therefore, the decoding can be related to the serial decoding in the complete bit unit, and the number of repetitions can be further reduced, as compared with the decrease in the second embodiment.
A receiving device (communication apparatus) and a decoding method according to an eighth embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Serial cyclic approximated min algorithm” according to the sixth embodiment or the “Overlapped serial cyclic approximated min algorithm” according to the seventh embodiment are cyclically applied to the “Normalized BP-based algorithm” as the known decoding algorithm using the “Min-Sum algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “Normalized BP-based algorithm” that is the basis of the decoding algorithm is shown below. The row processing different from that of the “Min-Sum algorithm” is explained.
(Row Processing Step 1)
A row processing step 1 of the “Normalized BP-based algorithm” can be generalized by the following Equation (41). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (41), where A is a constant called a normalization factor. In the “Normalized BP-based algorithm”, the repetition first-time LLR obtained by the “Min-Sum algorithm” is corrected by the normalization factor A.
The decoding algorithm when the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm” is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm”. The row processing step 1 different from that of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is explained below.
(Row Processing Step 1 Using Serial Cyclic Approximated Min Algorithm)
In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the processing ends to the last column, decoding is performed again cyclically from the first column. The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment using the “Serial cyclic approximated min algorithm” can be generalized by the following Equation (42). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (42). That is, the repetition first-time LLR obtained by the “Serial cyclic approximated min algorithm” is corrected by the normalization factor A in the following Equation (42):
(Row Processing Step 1 Using Overlapped Serial Cyclic Approximated Min Algorithm)
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment using the “Overlapped serial cyclic approximated min algorithm” can be generalized by the following Equation (43). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (43). That is, in the following Equation (43), the repetition first-time LLR obtained by the “Overlapped serial cyclic approximated min algorithm” is corrected by the normalization factor A.
In the decoding algorithm according to the present embodiment, after the row processing step 1 is performed as described above, processing based on the column processing and the stop regulation similar to those of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is performed to obtain the final code result.
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
As described above, according to the present embodiment, the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm” having the better performance than that of the “Min-Sum algorithm”. With this arrangement, effects similar to those of the sixth and seventh embodiments can be obtained. Further, performance close to that of the “Sum-Product algorithm” can be achieved, regardless of the circuit amount substantially equivalent to that of the “Min-Sum algorithm”.
In the present embodiment, the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “Normalized BP-based algorithm”. Alternatively, the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” can also be applied to the known “Offset BP-based algorithm” or other algorithm. In this case, effects similar to those described above can also be obtained.
A receiving device (communication apparatus) and a decoding method according to a ninth embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Serial cyclic approximated min algorithm” according to the sixth embodiment or the “Overlapped serial cyclic approximated min algorithm” according to the seventh embodiment are cyclically applied to the “δ min algorithm” as the known decoding algorithm having superior correction performance of LLR: βmn to that of the “Normalized BP-based algorithm” or the “Offset BP-based algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “δ min algorithm” that is the basis of the decoding algorithm is explained. The row processing different from that of the “Min-Sum algorithm” is explained below.
(Row Processing Step 1)
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the “δ min algorithm” can be generalized by the following Equation (44). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (44). At the row processing step 1 of the “δ min algorithm”, αmn(l) is calculated by calculating Θ from the absolute value: |βmn′(i−1)| of the LLR updated at the repetition l−1-th time.
The decoding algorithm when the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “δ min algorithm” is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm”. The row processing step 1 different from that of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is explained below. In the present embodiment, a starting column of the row processing is arbitrary. At the stage where the processing ends to the last column, decoding is performed again cyclically from the first column.
(Row Processing Step 1 Using Serial Cyclic Approximated Min Algorithm)
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm of the present embodiment using the “Serial cyclic approximated min algorithm” can be generalized by the following Equation (45). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (45). In the row processing step 1 of the decoding algorithm, αmn(l) is calculated by calculating Θ from the absolute value: Bmn′ of the LLR of the minimum k value updated at the repetition l−1-th time.
(Row Processing Step 1 Using Overlapped Serial Cyclic Approximated Min Algorithm)
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm of the present embodiment using the “Overlapped serial cyclic approximated min algorithm” can be generalized by the following Equation (46). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (46). At the row processing step 1 of this decoding algorithm, αmn(l) is calculated by calculating Θ from the absolute value: Bmn′C of the LLR of the minimum k value updated by the parallel processing at the repetition l−1-th time.
In the decoding algorithm according to the present embodiment, after the row processing step 1 is performed as described above, processing based on the column processing, the row processing step 2, and the stop regulation similar to those of the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is executed, thereby obtaining the final code result.
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
The minimum-value selecting unit 31b according to the present embodiment reads the Min1LLR(Bmn(1)), Min2LLR(Bmn(2)), MinkLLR(Bmn(k)), and their column numbers from the intermediate-result retaining unit 21, and the calculating unit performs the Θ calculation. That is, in the minimum-value selecting unit 31b according to the present embodiment, the calculating unit performs the following calculation in the “δ min algorithm”, to Bmn(k) in which the n-th column to be processed does not coincide with the column number n(k) of Bmn(k) retained in the intermediate-result retaining unit 21.
For example, the calculating unit obtains the updated value |αmn(l)| (=Θ[(Bmn′]) excluding the sign as represented by the following Equation (47):
Further, by limiting the LLR to be calculated from the k value to the minimum 3 values, the calculations can be reduced. The calculating unit obtains the updated value |αmn(l)| (=Θ[(Bmn′]) excluding the sign as represented by the following Equation (48):
While the LLR to be calculated is limited from the k value to the minimum 3 values in the above example, the embodiment can also be applied to the case that the LLR is limited to the minimum 4, 5, . . . values.
As described above, according to the present embodiment, the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “δ min algorithm” having the better performance than that of the “Min-Sum algorithm”. With this arrangement, effects similar to those of the sixth and seventh embodiments can be obtained. Further, performance close to that of the “Sum-Product algorithm” can be achieved, regardless of the circuit amount substantially equivalent to that of the “Min-Sum algorithm”. In the present embodiment, description is made for the case that the minimum value of the absolute values of the LLR for the row processing is corrected to the optimum value based on a predetermined correction equation prescribed by the known “δ min algorithm”. However, the correction equation is not limited to this, and the correction equation prescribed by the algorithm other than the “δ min algorithm” can also be used. In this case, effects similar to those described above can also be obtained.
A receiving device (communication apparatus) and a decoding method according to a tenth embodiment are explained below. In the present embodiment, the process of updating only the absolute value of the LLR of the minimum k value and the decoding using the approximate minimum value in the “Serial cyclic approximated min algorithm” according to the sixth embodiment or the “Overlapped serial cyclic approximated min algorithm” according to the seventh embodiment are cyclically applied to the “Sum-Product algorithm”.
Before explaining the decoding algorithm of the present embodiment, the known “Sum-Product algorithm” that is the basis of the decoding algorithm is explained. In the present embodiment, a method of calculation by tabling the mathematical function, i.e., a general “Sum-Product algorithm” using a TLU (table lookup), is described. The row processing different from that of the “Sum-Product algorithm” explained in the conventional technology is described.
(Row Processing Step 1 (1))
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the “Sum-Product algorithm” using a TLU can be generalized by the following Equation (49). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (49). In the row processing step 1 of the “Sum-Product algorithm” using the TLU, a calculation using the TLU is performed to the absolute value: |βmn′(l−1)| of the LLR updated at the repetition l−1-th time.
(Row Processing Step 1 (2))
The row processing step 1 of the “Sum-Product algorithm” using the TLU can also be achieved by the method different from the above method. For example, the αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the “Sum-Product algorithm” using a TLU different from the above algorithm can be generalized by the following Equation (50). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for each of m and n by the following Equation (50):
For the TLU1(x), a table is prepared in advance based on the following (51).
TLU1(x)=ln(1+exp(−x)) (51)
In the “Sum-Product algorithm” using the TLU, the row processing step 1 represented by the above Equation (49) has a characteristic that while the table becomes large, the number of calculations is small. On the other hand, the row processing step 1 represented by the above Equation (50) has a characteristic that the number of calculations is large although the table becomes small.
The decoding algorithm when the “Serial cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Serial cyclic approximated min algorithm”. The row processing step 1 different from that of the “Serial cyclic approximated min algorithm” is explained below. In the present embodiment, a starting column of the row processing is arbitrary, and at the stage where the processing ends up to the final column, decoding is performed again cyclically from the first column.
(Row Processing Step 1 (1) Using Serial Cyclic Approximated Min Algorithm)
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment having the “Serial cyclic approximated min algorithm” applied to the row processing step (1) can be generalized by the following Equation (52). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (52). In the row processing step 1 of the decoding algorithm, a calculation using the TLU is performed to the absolute value: Bmn′ of the LLR of the minimum k value updated at the repetition l−1-th time.
(Row Processing Step Using Serial Cyclic Approximated Min Algorithm 1 (2))
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment having the “Serial cyclic approximated min algorithm” applied to the row processing step 1(2) can be generalized by the following Equation (53). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 1≦n≦N and for each m by the following Equation (53):
The decoding algorithm when the “Overlapped serial cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU is explained below. In the following, explanations are omitted for the processing (initialization, column processing, and stop regulation) similar to that of the “Overlapped serial cyclic approximated min algorithm”. The row processing step 1 different from that of the “Overlapped serial cyclic approximated min algorithm” is explained below.
(Row Processing Step Using Overlapped Serial Cyclic Approximated Min Algorithm 1(1))
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment having the “Overlapped serial cyclic approximated min algorithm” applied to the row processing step 1(1) can be generalized by the following Equation (54). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (54). In the row processing step 1 of this decoding algorithm, a calculation using the TLU is performed to the absolute value: Bmn′C of the LLR of the minimum k value updated by the parallel processing at the repetition l−1-th time.
(Row Processing Step Using Overlapped Serial Cyclic Approximated Min Algorithm 1(2))
The αmn(l) and α′mn(l) of the row processing steps 1 and 2 of the decoding algorithm according to the present embodiment having the “Overlapped serial cyclic approximated min algorithm” applied to the row processing step 1(2) can be generalized by the following Equation (55). In this case, as the row processing step 1, the repetition first-time LLR: αmn(l) is updated for 0≦g≦G−1, g·NG+1≦n≦(g+1)·NG, and for each m by the following Equation (55):
Characteristic operations of the row processing unit of the LDPC decoder 5 that executes the decoding algorithm of the present embodiment are explained below with reference to the drawings. The entire configuration of the LDPC decoder 5 is similar to that shown in
The minimum-value selecting unit 31c according to the present embodiment reads the Min1LLR(Bmn(1)), Min2LLR(Bmn(2)), MinkLLR(Bmn(k)), and their column numbers from the intermediate-result retaining unit 21, and the calculating unit performs calculation using the TLU. That is, in the minimum-value selecting unit 31c according to the present embodiment, the calculating unit performs the following calculation in the “Sum-Product min algorithm”, to Bmn(k) in which the n-th column to be processed does not coincide with the column number n(k) of Bmn(k) retained in the intermediate-result retaining unit 21.
For example, the calculating unit obtains the updated value excluding the sign, as represented by the following Equation (56):
Further, by limiting the LLR to be calculated from the k value to the minimum 3 values, the calculations can be reduced. The calculating unit obtains the updated value excluding the sign as represented by the following Equation (57):
While the LLR to be calculated is limited from the k value to the minimum 3 values in the above example, the embodiment can also be applied to the case that the LLR is limited to the minimum 4, 5, . . . values.
As described above, according to the present embodiment, the “Serial cyclic approximated min algorithm” or the “Overlapped serial cyclic approximated min algorithm” is applied to the “Sum-Product algorithm” using the TLU. With this arrangement, although calculations and the required memory capacity increase as compared with other embodiments, decoding performance can be improved. While the “Sum-Product algorithm” using the TLU is explained in the present embodiment, the principle can be similarly applied to other decoding algorithm for performing the TLU to the mathematical function. In the present embodiment, the TLU prescribed by the known “Sum-Product algorithm” is used for the minimum value of the absolute values of the LLR for the row processing. However, the TLU is not limited to the above, and the TLU other than the TLU prescribed by the “Sum-Product algorithm” can also be used. In this case, effects similar to the effects described above can also be obtained.
In the above embodiments, the processing is performed in the ascending order with the starting column of the row processing set as 1. However, for example, the starting column can be arbitrary, and the processing can be performed to an arbitrary column which is not overlapped. At the stage where the processing ends for all columns, iterative decoding can be performed again in the same order. Alternatively, the starting column of the row processing can be set arbitrary, and the processing can be performed to an arbitrary column which is not overlapped. At the stage where the processing ends for all columns, iterative decoding can be performed again in a different order to the arbitrary column not overlapped until the processing ends for all columns. In these cases, effects similar to those of each of the above embodiments can also be obtained. While the use of the logarithmic likelihood ratio (LLR) as the probability information is explained in the above embodiments, other information than the logarithmic likelihood ratio (LLR) can also be used as the probability information.
As described above, the receiving device and the decoding method according to the present invention are effective for error correction technologies in the digital communication, and are particularly suitable for a communication apparatus that decodes the LDPC encoded signal.
Number | Date | Country | Kind |
---|---|---|---|
2005-205004 | Jul 2005 | JP | national |
2006-047392 | Feb 2006 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2006/313891 | 7/12/2006 | WO | 00 | 4/11/2008 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2007/007801 | 1/18/2007 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
7137060 | Yu et al. | Nov 2006 | B2 |
7178081 | Lee et al. | Feb 2007 | B2 |
7184486 | Wu et al. | Feb 2007 | B1 |
7219288 | Dielissen et al. | May 2007 | B2 |
7299397 | Yokokawa et al. | Nov 2007 | B2 |
20040123230 | Lee et al. | Jun 2004 | A1 |
20040153938 | Okamura et al. | Aug 2004 | A1 |
Number | Date | Country |
---|---|---|
2004-186940 | Jul 2004 | JP |
10-2004-0056972 | Jul 2004 | KR |
WO-2006059688 | Jun 2006 | WO |
Number | Date | Country | |
---|---|---|---|
20090132887 A1 | May 2009 | US |