This is related to U.S. application Ser. No. 12/277,118, filed Nov. 24, 2008, now U.S. Pat. No. 8,219,868, which claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Application No. 60/991,450, filed Nov. 30, 2007, each of which is hereby incorporated by reference herein in its respective entirety.
The disclosed technology relates generally to data encoding, and more particularly to quasi-cyclic low-density parity check (LDPC) encoders.
With the continuing demand for high-reliability transmission of information in digital communication and storage systems, and with the rapid increase in available computational power, various coding and decoding techniques have been investigated and applied to increase the performance of these systems. One such coding technique, low-density parity check (LDPC) coding, was first proposed in the 1960s, but was not used until the late 1990s when researchers began to investigate iterative coding and decoding techniques.
LDPC codes are among the few known error control coding techniques capable of transmitting information at a rate close to the Shannon limit or channel-capacity. Currently, LDPC codes are considered to be the next-generation communication system encoding standard. LDPC codes can be regular or irregular, have a linear or cyclic coding matrix, and can be decoded in a myriad of ways, ranging in complexity and error performance.
The present disclosure relates to methods and systems for generating parity information for using information in a low-density parity check (LDPC) encoder. A quasi-cyclic LDPC generator matrix K can be generated based on the non-invertible parity-check matrix H. This the quasi-cyclic LDPC generator matrix K is stored in a memory. Then the parity information can be generated by the LDPC encoder based at least in part on the user information, the non-invertible parity check matrix H, and the quasi-cyclic LDPC generator matrix K. In some embodiments, the stored quasi-cyclic LDPC generator matrix K may be valid for an user information that is to be encoded based on the non-invertible parity check matrix H.
In an embodiment, the quasi-cyclic LDPC generator matrix K can be calculated by selecting a quasi-cyclic square matrix M and then by calculating LDPC generator matrix K based on ΦK=M, where the non-invertible parity check matrix H is
F=(C+ET−1A), and Φ=(D+ET−1B). The quasi-cyclic square matrix M may be selected such that for any user information u, (I+M)Fu=0. The quasi-cyclic square matrix M may be selected such that is has a rank that is less than or equal to a rank of matrix Φ and such that xTM=0 whenever xTΦ=0 for any vector x.
In an embodiment, a parity seed vector w can be computed based on the user information. The parity information is then generated based at least in part on the quasi-cyclic parity seed matrix K and the parity seed vector w. The parity seed vector w can be computed by solving Mw=Fu, where u is the user information.
The above and other aspects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which:
User information 102 may be transmitted or stored using one or more information-bearing signals. The signals may be transmitted or stored in any suitable transmission or storage medium or media, represented in
In
Once LDPC encoder 106 produces the encoded information, modulator 108 may convert the encoded information into an information-bearing signal for transmission or storage in channel 110. Modulator 108 may operate using a modulation scheme with a signal constellation set of any suitable size and dimension. For example, modulator 108 may use a quadrature amplitude modulation (QAM) scheme (e.g., 4QAM, 16QAM, 32QAM, etc.), a pulse amplitude modulation (PAM) scheme (e.g., 2PAM, 4PAM, 8PAM, etc.), a phase shift keying (PSK) scheme (e.g., QPSK, 8PSK, etc.), and/or a orthogonal frequency division multiplexing (OFDM) scheme. The type of modulation scheme used by modulator 108 may be selected and implemented based on the properties of channel 110.
Demodulator 112 may receive an altered version of the information-bearing signal transmitted or stored by modulator 108. Demodulator 112 may then convert the information-bearing signal back into a digital sequence using the same modulation scheme as that of modulator 108. Demodulator 112 therefore produces a hard-bit or soft-bit estimate of the encoded information, c, that is decoded by LDPC decoder 114 and outer decoder 116. LDPC decoder 114 and outer decoder 116 may decode the estimated encoded information using the same LDPC and outer code, respectively, as those used by LDPC encoder 106 and outer encoder 108 to produce decoded information 108. Thus, if the hard-bit or soft-bit estimate is within the correcting capability of the LDPC and outer codes employed by decoders 114 and 116, decoded information 108 may be the same as user information 102.
As described above, communications or storage system 100 may or may not include outer encoder 104 and outer decoder 116. For purposes of clarity, and not by way of limitation, the various embodiments disclosed herein will often be described as if no outer code is used. For example, various embodiments may be described in which an LDPC encoder directly encodes user information (e.g., LDPC encoder 106 directly encoders user information 102). However, it should be understood that any of the disclosed embodiments of an LDPC encoder may instead encode the output of an outer encoder.
Parity check matrix 201 is an illustrative parity check matrix defining a particular quasi-cyclic LDPC code that may be employed by LDPC encoder 106 (
A quasi-cyclic matrix may be considered a sparse matrix if the circulants of the matrix have low row/column weight. The amount of storage required for a sparse quasi-cyclic matrix composed of a plurality of circulants may be reduced by representing each circulant in the matrix using a shorthand notation. For example, each circulant may be represented by storing the positions of the one-bits in its first row (or first column). This compressed representation may be used to store quasi-cyclic parity check matrix in a QC-LDPC coding system, such as that illustrated in
Returning to
Coding equation 200 shown in
Hc=0 (EQ. 1)
where H is a parity check matrix and c is a codeword vector. Equivalently, parity check matrix H may be written as the combination of parity portions B, T, D, and E and data portions A and C and encoded information c may be written as parity information p=[p1; p2] and user information u. Based on this, equation 1 may be rewritten as:
An LDPC encoder generates parity information p1 and p2 based on user information u such that, equations 1 and 2 are satisfied. Equation 2 may be further rewritten as:
Au+Bp1+Tp2=0 (EQ. 3a)
Cu+Dp1+Ep2=0 (EQ. 3b).
Equation 3a may be rewritten as:
p2=T−1(Au+Bp1) (EQ. 4).
Substituting equation 4 into equation 3b:
Cu+Dp1+ET−1(Au+Bp1)=0
(C+ET−1A)u+(D+ET−1B)p1=0 (EQ. 5a).
Defining (C+ET−1A) as F and (D+ET−1B) as Φ, equation 5a can be rewritten as:
Fu+Φp1=0 (EQ. 5b).
When parity check matrix H is full rank, matrix Φ is invertible. In this embodiment, parity information p1 can be calculated from:
p1=Φ−1Fu (EQ. 6).
Then parity information p2 can be calculated from parity information p1 using equation 4 above.
When parity check matrix H is not full rank and matrix Φ is not invertible, equation 6 cannot be used to calculate parity information p1. In this case, a quasi-cyclic square LDPC generator matrix K is determined which in turn can be used to calculate parity information p1 and p2 from user information u and parity check matrix H. First, a quasi-cyclic square matrix M is selected such that
(I+M)Fu=0 (EQ. 7)
for any user information u. Then a quasi-cyclic square LDPC generator matrix K is calculated that satisfies the equation:
ΦK=M (EQ. 8).
Parity information p1 can then be calculated as
P1=KFu (EQ. 9).
It can be verified from equations 7 and 9 that this parity p1 satisfies equation 5b. In some embodiments, quasi-cyclic square matrices M and K are determined in advance and K can be stored in an LDPC encoder memory. Then the LDPC encoder can calculate parity information p1 and p2 using equations 9 and 4, respectively, for any user information u based on the stored value of LDPC generator matrix K.
For some parity check matrices H, there may not be quasi-cyclic square matrices M and K that satisfy the conditions of equations 7 and 8 for all values of user information u. For example, in addition to satisfying the condition of equation 7, (I+M)Fu=0, a value for quasi-cyclic square matrix M, may be selected such that: (1) rank(M)<=rank(Φ) and (2) for any vector x such that xTΦ=0, xTM must also equal 0. These two additional conditions may be imposed on quasi-cyclic square matrix M to help ensure the existence of a valid LDPC generator matrix K. It should be noted that all of these conditions may not be sufficient to guarantee the existence of a valid LDPC generator matrix K. Namely, not all quasi-cyclic square matrices M that meet the conditions above have a corresponding valid value for LDPC generator matrix K.
From this point on, only LDPC codes satisfying the condition that the range space of F is equal to the null space of 1T=[1 1 1 1 . . . 1] will be considered. Most LDPC codes with even column weights will satisfy this condition. The benefit of using LDPC codes that satisfy this condition is that in these codewords 1TF=0 and 1TΦ=0. As seem below, this property can simplify the calculation of quasi-cyclic square matrix K.
If the circulant size of parity check matrix H is odd then M can be selected to be:
where W is the all-ones circulant. It can be seen that with this value of M, (I+M)F=0. Moreover, the rank of M is one less than its dimension. Therefore, the conditions of equations 7 and 8 and well as the other two conditions for matrix M are satisfied for this value of M. Accordingly, there exists LDPC generator matrix K such that ΦK=M, which in turn can be used to calculate parity information p1 and p2 as described above.
If the circulant size of parity check matrix H is even, then M is full rank. Because Φ is not full rank, there may not be an LDPC generator matrix K such that ΦK=M. In this instance, the condition (I+M)Fu=0 can be ignored and a parity seed vector w can be calculated using process 400 illustrated by the flowchart of
Process 400 begins at 402. At 404, vector b may be computed as:
b=Fu (EQ. 10).
At 405, a quasi-cyclic square matrix M may be selected such that the equation:
Mw=b (EQ. 11),
is easy to solve and that there exists quasi-cyclic LDPC generator matrix K such that that ΦK=M. At 406 equation 11 is solved for parity seed vector w. For example, matrix M may be selected as:
where I is the identity matrix and S is the permutation matrix obtained by cyclically shifting the identity matrix to the right by one. That is, S has the form:
In order to solve equation 11, the first block row of w denoted w1 may be solved first. All block rows of w can be summed as, (I+S)w1=Σb1, where b1 are the block rows of b. Because this equation is redundant the first entry of w1 can be arbitrarily set to be zero. Then the next entry of w1 can be computed recursively. Finally the other block rows of w can be computed recursively. This approach for solving equation 11 is illustrated in greater detail in related U.S. application Ser. No. 12/277,118, which was incorporated by reference above.
At 407, quasi-cyclic square matrix K can be selected or computed such that ΦK=M. K may be calculated block-column by block-column using any suitable technique. For example, for each block-column, a vector k may be found such that Φk=m, where m is the leading column of M for that block. Let r and c be the dependent rows and columns of Φ. Rows r and columns c are then removed from Φ to form Φ′. Rows r are removed from m to form m′. k′=Φ′−1m′ is computed. The entries of column c of k are set to zero. The rest of k is assigned the values of k′. Then k is assigned to the first column of K in the current block. The rest of the current block can be obtained by circulant shifting. The remaining block columns of quasi-cyclic square matrix K can be computed using this technique. Finally, at steps 408 and 409 parity information p1 and p2 is calculated from LDPC generator matrix K as:
p1=Kw (EQ. 12)
p2=T−1(Au+Bp1) (EQ. 13).
In summary, the approach used to calculate parity information p1 and p2 depends on characteristics of the parity check matrix H. Where parity check matrix H is full-rank (and therefore Φ is invertible), equation 6 may be used to calculate parity information p1. Where parity check matrix H is not full-rank either equation 9 or the approach described with respect to
The above described embodiments of the present invention are presented for the purposes of illustration and not of limitation. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended. Furthermore, the present invention is not limited to a particular implementation. For example, one or more steps of methods described above may be performed in a different order or concurrently and still achieve desirable results. The invention may be implemented in hardware, such as on an application specific integrated circuit (ASIC) or on a field-programmable gate array (FPGA). The invention may also be implemented in software.
This application is a continuation of U.S. application Ser. No. 12/553,584, filed on Sep. 3, 2009, which claims the benefit under 35 U.S.C. §119(e) of U.S. Provisional Application No. 61/095,131, filed Sep. 8, 2008, and each of which is hereby incorporated by reference herein in its respective entirety.
Number | Name | Date | Kind |
---|---|---|---|
6961888 | Jin et al. | Nov 2005 | B2 |
7120856 | Zhang et al. | Oct 2006 | B2 |
7243286 | Kim et al. | Jul 2007 | B2 |
7260763 | Sukhobok et al. | Aug 2007 | B2 |
7278082 | Kim et al. | Oct 2007 | B2 |
7313752 | Kyung et al. | Dec 2007 | B2 |
7346832 | Richardson et al. | Mar 2008 | B2 |
7389464 | Jeong et al. | Jun 2008 | B2 |
7395494 | Lee et al. | Jul 2008 | B2 |
7451374 | Kim et al. | Nov 2008 | B2 |
7480845 | Kim et al. | Jan 2009 | B2 |
7484159 | Kan et al. | Jan 2009 | B2 |
7493547 | Kim et al. | Feb 2009 | B2 |
7502987 | Kyung et al. | Mar 2009 | B2 |
7516391 | Kyung et al. | Apr 2009 | B2 |
7526717 | Kyung et al. | Apr 2009 | B2 |
7600174 | Kyung et al. | Oct 2009 | B2 |
7627801 | Jin et al. | Dec 2009 | B2 |
7657816 | Cohen et al. | Feb 2010 | B2 |
7747929 | Kyung et al. | Jun 2010 | B2 |
7814393 | Kyung et al. | Oct 2010 | B2 |
7882414 | Choi et al. | Feb 2011 | B2 |
7962828 | Kyung et al. | Jun 2011 | B2 |
7966542 | Richardson | Jun 2011 | B2 |
7984364 | Park et al. | Jul 2011 | B2 |
8020062 | Jeong et al. | Sep 2011 | B2 |
8140930 | Maru | Mar 2012 | B1 |
20040255222 | Kim et al. | Dec 2004 | A1 |
20050246611 | Jin et al. | Nov 2005 | A1 |
20050283708 | Kyung et al. | Dec 2005 | A1 |
20050283709 | Kyung et al. | Dec 2005 | A1 |
20060036925 | Kyung et al. | Feb 2006 | A1 |
Entry |
---|
Chen Zhixiong et al., “A Construction of Linearly Encodable QC-LDPC Codes by Grouping Cyclic Shift and Block Elimination,” Computing, Communication, Control, and Management, 2008 ISECS ISECS International Colloquium, 2:304-308 (2008). |
Number | Date | Country | |
---|---|---|---|
61095131 | Sep 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12553584 | Sep 2009 | US |
Child | 13924333 | US |