Method and apparatus for channel encoding and decoding in a communication system using a low-density parity check code
11616514 · 2023-03-28
Assignee
Inventors
- Se-Ho Myung (Gyeonggi-do, KR)
- Hong-Sil Jeong (Seoul, KR)
- Sung-Ryul Yun (Gyeonggi-do, KR)
- Jae-Yoel Kim (Gyeonggi-do, KR)
- Hyun-Koo Yang (Seoul, KR)
- Hak-Ju Lee (Incheon, KR)
- Jin-Hee Jeong (Gyeonggi-do, KR)
Cpc classification
H03M13/036
ELECTRICITY
H03M13/1102
ELECTRICITY
H03M13/1148
ELECTRICITY
H03M13/1165
ELECTRICITY
International classification
H03M13/09
ELECTRICITY
H03M13/00
ELECTRICITY
H03M13/03
ELECTRICITY
Abstract
An apparatus is provided for channel encoding in a communication system using an LDPC code. The apparatus includes at least one processor configured to encode input bits using a Bose-Chaudhuri-Hocquenghem (BCH) code, shorten one or more bits of the encoded input bits according to a number of bit groups to be shortened and an order among a plurality of orders according to which the bit groups are shortened, wherein the number of bit groups to be shortened is based on a number of bits to be shortened which is based on a number of the encoded input bits, encode information bits including the encoded input bits and the shortened one or more bits, using an LDPC code to generate parity bits, and puncture one or more bits in the parity bits based on a puncturing parameter among puncturing parameters; and a transmitter configured to transmit a signal that is generated from the encoded information bits based on the punctured one or more bits. The plurality of orders are based on the puncturing parameters and include a first order and a second order that is different from the first order.
Claims
1. An apparatus for channel encoding in a communication system using low-density parity check (LDPC) codes having different codeword lengths and a parity check matrix by performing at least one of shortening or puncturing, the apparatus comprising: at least one processor configured to: encode input bits using a Bose-Chaudhuri-Hocquenghem (BCH) code, shorten one or more bits of the encoded input bits according to a number of bit groups to be shortened and an order among a plurality of orders according to which the bit groups are shortened, wherein the number of bit groups to be shortened is based on a number of bits to be shortened which is based on a number of the encoded input bits, encode information bits including the encoded input bits and the shortened one or more bits, using an LDPC code to generate parity bits, and puncture one or more bits in the parity bits based on a puncturing parameter among puncturing parameters; and a transmitter configured to transmit a signal that is generated from the encoded information bits based on the punctured one or more bits, wherein the plurality of orders are based on the puncturing parameters and include a first order and a second order that is different from the first order.
2. The apparatus of claim 1, wherein if a length of an LDPC codeword is 16200, a length of the information bits is 3240, and the first order is applied, then shortening is performed on 7th, 6th, 3rd, 5th, 2nd, 4th, 1st, 8th, and 0th groups among the bit groups, in order, and if the length of the LDPC codeword is 16200, the length of the information bits is 3240, and the second order is applied, then shortening is performed on the 7th, 3rd, 6th, 5th, 2nd, 4th, 1st, 8th, and 0th groups among the bit groups, in order.
3. The apparatus of claim 1, wherein the puncturing parameters include a ratio of a number of the punctured one or more bits to a number of the shortened one or more bits.
4. An apparatus for channel decoding in a communication system using low-density parity check (LDPC) codes having different codeword lengths and a parity check matrix by performing at least one of shortening or puncturing, the apparatus comprising: a receiver configured to receive, from a transmitter, a signal that is generated from encoded information bits, based on punctured one or more bits; and at least one processor configured to decode data in the received signal, wherein the encoded information bits are generated by encoding, using an LDPC code to generate parity bits, information bits including encoded input bits using a Bose-Chaudhuri-Hocquenghem (BCH) code and shortened one or more bits, wherein the punctured one or more bits are punctured in the parity bits based on a puncturing parameter among puncturing parameters, wherein the one or more bits are shortened according to a number of bit groups to be shortened and an order among a plurality of orders according to which the bit groups are shortened, wherein the number of bit groups to be shortened is based on a number of bits to be shortened, which is based on a number of the encoded input bits, and wherein the plurality of orders are based on the puncturing parameters and include a first order and a second order that is different from the first order.
5. The apparatus of claim 4, wherein if a length of an LDPC codeword is 16200, a length of information bits is 3240, and the first order is applied, then 7th, 6th, 3rd, 5th, 2nd, 4th, 1st, 8th, and 0th groups are determined as shortened, in order, and wherein if the length of the LDPC codeword is 16200, the length of the information bits is 3240, and the second order is applied, then the 7th, 3rd, 6th, 5th, 2nd, 4th, 1st, 8th, and 0th groups are determined as shortened, in order.
6. The apparatus of claim 4, wherein the puncturing parameters include a ratio of a number of the punctured one or more bits to a number of the shortened one or more bits.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other aspects, features, and advantages of certain embodiments of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16) Throughout the drawings, the same drawing reference numerals will be understood to refer to the same elements, features, and structures.
DETAILED DESCRIPTION OF EMBODIMENTS OF THE PRESENT INVENTION
(17) Various embodiments of the present invention will now be described in detail with reference to the accompanying drawings. In the following description, specific details such as detailed configuration and components are merely provided to assist the overall understanding of these embodiments of the present invention. Therefore, it should be apparent to those skilled in the art that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
(18) In accordance with an embodiment of the present invention a method for supporting LDPC codes having a variety of codeword lengths or code rates using a parity check matrix in a specific form is provided. In accordance with another embodiment of the present invention an apparatus supporting various codeword lengths or code rates in a communication system that encodes an LDPC code using a parity check matrix in a specific form is provided.
(19)
(20) Referring to
(21) More specifically, the LDPC encoder 611 generates the codeword c by selecting a parity check matrix corresponding to a codeword length or code rate required by a communication system using a preset scheme. Particularly, an embodiment of the present invention provides a method in which the LDPC encoder 611 can support various codeword lengths or code rates without the need to store additional information.
(22) In accordance with an embodiment of the present invention, shortening and/or puncturing methods are used to supporting various codeword lengths or code rates.
(23) The shortening method limits a value of a specific bit or a specific part of an information word to ‘0’ or ‘1’. That is, the shortening method either does not use a specific part, or only uses a specific part of a given parity check matrix. For a better understanding of the shortening method, reference will be made in detail to the parity check matrix of the LDPC code illustrated in
(24) The parity check matrix of the LDPC code illustrated in
(25) For example, shortening N.sub.s information bits i.sub.0 to i.sub.N.sub.
(26) In the following description, even though any the various embodiments of the present invention may be described with reference to only one of the shortening methods, the other shortening method would also be available. Through these shortening methods, because position information about shortened information bits may be equally shared or generated by a transmitter and a receiver during system setting, even though the transmitter does not transmit shortened information bits, the receiver may perform decoding, knowing values of information bits in the positions of the shortened information bits.
(27) By using the shortening method, because a length of a codeword actually transmitted by a transmitter is N.sub.1−N.sub.s and a length of an actual information word is K.sub.1−N.sub.s, a code rate becomes (K.sub.1−N.sub.s)/(N.sub.1−N.sub.s), which is less than the first given code rate K.sub.1/N.sub.1.
(28) A puncturing method may be generally applied to both information bits and parity bits. While both the puncturing method and the shortening method shorten a codeword length, the puncturing method, unlike the shortening method, does not limit values of specific bits. Instead, the puncturing method simply does not transmit specific information bits, or specific bits or a specific part among generated parity bits, so they undergo erasure processing in a receiver. In other words, simply not transmitting Np bits in predetermined positions in a generated LDPC code with a length of N.sub.1 is equivalent to transmitting an LDPC code with a length of N.sub.1−N.sub.p. Because columns corresponding to punctured bits in a parity check matrix are used intact in a decoding process, the puncturing method is different from the shortening method.
(29) Because position information about punctured bits may be equally shared or estimated by a transmitter and a receiver during system setting, the receiver may simply perform erasure processing on the punctured bits during decoding.
(30)
(31) In step 701, an LDPC encoder extracts information about a parity check matrix for shortening. The parity check matrix information may be at least one of a stored parity check matrix, a part of a parity check matrix, and parameters of a parity check matrix, e.g., information about a weight-1 position sequence, a length of or the number of column groups of a parity check matrix, etc. The LDPC encoder determines (K.sub.1−K.sub.2) information bits to be obtained by shortening in step 703, and determines the number of bit groups or column groups for shortening in step 705. In step 707, the LDPC encoder performs shortening according to at least one of shortening patterns as defined in Tables 2 and 3 below. In accordance with an embodiment of the present invention, the shortening patterns defined in Tables 2 and 3 are determined considering a ratio of a number of bits to be shortened to a number of bits to be punctured.
(32) An information part of the parity check matrix includes a plurality of column groups, e.g., K.sub.1/M.sub.1=3, as illustrated in
(33)
(34) Referring to
(35) Referring to
(36) Because the LDPC code using a parity check matrix having the above-described specific structure has a special structure in units of column groups or corresponding bit groups, it is preferable to perform shortening on a bit or column group basis to achieve superior performance when application of shortening is required.
(37)
(38) If the number of bits to be shortened is determined, a first specific bit group is shortened according to a predetermined order. In
(39) If there are more bits to be shortened, a predetermined second specific bit group is shortened overall. In
(40) If there are more bits to be shortened, a predetermined third specific bit group is shortened overall. In
(41) This process is continuously repeated, and if the number of remaining bits to be shortened is less than a size M.sub.1 of one bit group, a part of the bit group is shortened, completing the shortening process. In
(42) An order of bit or column groups to be shortened should be determined in advance, for shortening on a bit or column group basis. However, if both shortening and puncturing should be applied in a given communication system, the order of bit or column groups to be shortened, providing superior performance, may be different disadvantageously, depending on the length of punctured parity bits. If puncturing is applied to parity bits, connectivity between punctured parity bits and information bits affects decoding performance, and their connection properties vary according to the number of punctured bits. For example, information bits most connected to punctured parity bits have a very high performance degradation possibility, and such information bits may be changed depending on the number of punctured parity bits. That is, positions of information bits having a high performance degradation possibility are continuously changed according to the number of punctured parity bits.
(43) Accordingly, when both shortening and puncturing are applied, the optimal order of bit or column groups to be shortened may change according to the length of bits to be punctured.
(44) In accordance with an embodiment of the present invention, a pattern having the best theoretical performance is determined through density evolution analysis according to a predetermined ratio of shortening to puncturing, in order to determine the optimal order of bit or column groups to be shortened, when both shortening and puncturing are applied in an arbitrary system utilizing an LDPC code. Density evolution analysis may be applied by performing erasure processing on punctured bits. The best degree distribution of an information part is calculated, and a shortening pattern satisfying the calculated degree distribution is calculated. If there are several shortening patterns satisfying the degree distribution, a pattern having the best performance is selected through computational experimentation.
(45) An LDPC code with N.sub.1=16200, K.sub.1=3240, M.sub.1=360, and q=36 will be considered to describe application of an efficient shortening process using an excellent shortening pattern obtained by the above process of selecting a shortening pattern. The LDPC code has the following weight-1 position sequences:
(46) 6295 9626 304 7695 4839 4936 1660 144 11203 5567 6347 12557
(47) 10691 4988 3859 3734 3071 3494 7687 10313 5964 8069 8296 11090
(48) 107743613 5208 11177 7676 3549 8746 6583 7239 12265 26744292
(49) 11869 3708 5981 8718 4908 10650 6805 3334 2627 10461 9285 11120
(50) 7844 3079 10773
(51) 3385 10854 5747
(52) 1360 12010 12202
(53) 6189 4241 2343
(54) 9840 12726 4977
(55) The sequence of an i-th row sequentially represents position information of rows with 1 in an i-th column group. Therefore, the LDPC code includes nine column groups and a length of an information word of the LDPC code is 9×360=3240. Once a length of a codeword or an information word to be obtained by applying shortening or puncturing is determined, an optimized shortening pattern can be calculated.
(56) When an LDPC code is generated by being concatenated to a BCH code, shortening cannot be applied to a part corresponding to BCH parity bits in an information word of the LDPC code. The BCH parity bits correspond to a tail end of the last (K.sub.1/M.sub.1−1)-th column group in the information word of the LDPC code, and a length thereof is represented by N.sub.BCH_Parity. A length of a BCH information word is K.sub.1−N.sub.BCH_Parity, and represented by K.sub.BCH. In addition, because BCH parity bits are determined by a BCH information word, a BCH information word is actually adjustable in a system employing an LDPC encoding method, and its length is K.sub.BCH.
(57) Detailed examples of a shortening process and shortening patterns for an LDPC code with N.sub.1=16200 and K.sub.1=3240 are shown in Tables 1 to 3 below, wherein K.sub.2,BCH and K.sub.2,LDPC represent a length of a BCH information word and a length of an LDPC information word after undergoing shortening, respectively. In Table 1, key parameters are changeable according to requirements of the system, and Tables 2 and 3 are also changeable according to the change of Table 1.
(58) TABLE-US-00001 TABLE 1 Key Para- N.sub.1 = 16200, K.sub.1 = 3240, K.sub.BCH = 3072, meters N.sub.BCH_Parity = 168, M.sub.1 = 360, q = 36 Step 1) A value of m is defined as follows according to a value of K.sub.2,bch. 1) m = K.sub.1/M.sub.1 − 1 for 0 < K.sub.2,BCH ≤ M.sub.1 (or N.sub.BCH _Parity < K.sub.2,LDPC ≤ M.sub.1 + N.sub.BCH_Parity). 2) Otherwise,
(59) TABLE-US-00002 TABLE 2 Number of information bits to be shortened/ number of bits to be punctured = 4/15, 3/11 π(0) π(1) π(2) π(3) π(4) π(5) π(6) π(7) π(8) 7 6 3 5 2 4 1 8 0
(60) TABLE-US-00003 TABLE 3 Number of information bits to be shortened/ number of bits to be punctured = 2/7 π(0) π(1) π(2) π(3) π(4) π(5) π(6) π(7) π(8) 7 3 6 5 2 4 1 8 0
(61) If a ratio of a number of bits to be shortened to a number of bits to be punctured is 4/15 or 3/11, an LDPC encoder performs shortening on 7.sup.th, 6.sup.th, 3.sup.rd, 5.sup.th, 2.sup.nd, 4.sup.th, 1.sup.st, 8.sup.th, and 0.sup.th groups in order, as defined in Table 2. However, if a length of the LDPC code is 16200, a length of the information word is 3240, and a ratio of the number of bits to be shortened to the number of bits to be punctured is 2/7, the LDPC encoder performs shortening on 7.sup.th, 3.sup.rd, 6.sup.th, 5.sup.th, 2.sup.nd, 4.sup.th, 1.sup.st, 8.sup.th and 0.sup.th groups in order, as defined in Table 3.
(62) Referring to Step 2) in Table 1, a different shortening pattern is selected depending on a ratio of a number of bits to be shortened to a number of bits to be punctured, and criteria for determining shortening patterns may be expressed in various forms according to the systems. That is, a specific region in a frame has a specific ratio of the number of bits to be shortened to the number of bits to be punctured. If another region, or a part of the another region has a ratio of a number of bits to be shortened to a number of bits to be punctured, which is different from the specific ratio, a different shortening pattern may be selected for the another region, or the part of the another region, according to the specific region instead of the ratio.
(63)
(64) Referring to
(65) Tables 2 and 3 represent positions of groups to be shortened, or represent an order of groups to be shortened. That is, a shortening pattern n is used to indicate which bit group or column group should be shortened, and a shortening pattern n represents π(0)-th, π(1)-th, . . . , π(m−1)-th bit groups or column groups.
(66) A shortening pattern will be described in detail using Table 4 below, by way of example.
(67) TABLE-US-00004 TABLE 4 π(0) π(1) π(2) π(3) 2 1 3 0
(68) If input information bits are u={1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 1} with (K.sub.1=16), parity check matrix have parameters of N.sub.1=24, and M.sub.1=4, and a number of information bits to be obtained by shortening is 6, then a number of information bits to be shortened is 10. Because the number of column groups (K.sub.1/M.sub.1) is 4, a number of bit groups is 4. So, the information bits may be expressed as u.sub.0={1001}, u.sub.1={1000}, u.sub.2={1110}, and u.sub.3={10001}.
(69) The number of bit groups in which all bits should be shortened is 2 because the number of information bits to be shortened is 10 and each bit group has 4 bits. Therefore, as shown in Table 4, shortening is performed on information bits corresponding to a third bit group u.sub.2 since π(0)=2, and shortening is performed on information bits corresponding to a second bit group {right arrow over (u)}.sub.1 since π(1)=1. Additionally, because there are two more bits as information bits to be shortened, only two bits among information bits corresponding to a fourth bit group u.sub.3 are shortened based on π(2)=3.
(70) In conclusion, the results obtained by shortening the information bits u.sub.0={1001}, u.sub.1={1000}, u.sub.2={1110}, and u.sub.3={1001} are u.sub.0={1001}, u.sub.1={0000}, u.sub.2={0000}, and u.sub.3={0001}. That is, bits {1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1} are obtained by shortening input information bits u={1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 1}.
(71)
(72) In step 1101, an LDPC encoder 611 reads information about a parity check matrix of an LDPC code for shortening, or information such as weight-1 position sequences. Thereafter, the LDPC encoder 611 performs shortening according to a required length of an information word of an LDPC code based on the read information about a stored parity check matrix, through a shortening process including Shortening Steps 1-3, in steps 1103 to 1115.
(73) Shortening Step 1: In step 1103, the LDPC encoder 611 determines whether K.sub.2,BCH is less than or equal to 360. Based on the determination results, the LDPC encoder 611 calculates a value of m for determining a number of bit or column groups to be shortened according to the length K.sub.2,BCH of an information word, after being shortened, as shown in Table 1, in steps 1105 and 1107. Specifically, when K.sub.2,BCH is less than or equal to 360, m is calculated using K.sub.1/M.sub.1−1 in step 1105, and when K.sub.2,BCH is not less than or equal to 360,
(74)
in step 1107.
(75) Shortening Step 2: The LDPC encoder 611 selects sequences for (m+1) bit or column groups according to Table 2 or 3, and shortens all bit or column groups corresponding to the first m sequences, in steps 1109 and 1111.
(76) Shortening Step 3: The LDPC encoder 611 applies additional shortening to information bits in the remaining (m+1)-th bit or column group, or corresponding columns in the column group according to the value of m, as shown in Table 1, in steps 1113 and 1115.
(77) In step 1117, the LDPC encoder 611 generates a codeword through LDPC encoding. Thereafter, if puncturing is required, the LDPC encoder 611 applies puncturing to the LDPC codeword in step 1119.
(78) In accordance with an embodiment of the present invention, before step 1103, shortening or puncturing patterns may be determined differently according to a ratio of a number of shortened bits to a number of punctured bits.
(79)
(80) Referring to
(81) The LDPC code's parity check matrix extractor 1240 extracts a parity check matrix of an LDPC code, to which shortening is to be applied. The LDPC code's parity check matrix may be extracted using a memory, may be given in the transmission apparatus in advance, or may be directly generated in the transmission apparatus.
(82) The controller 1210 controls the shortening pattern applying unit 1220 to determine a shortening pattern according to a length of an information word and a ratio of a number of bits to be shortened to a number of bits to be punctured. The shortening pattern applying unit 1220 inserts bits with a value of 0 or 1 in positions corresponding to shortened bits, or removes columns corresponding to shortened bits in a given parity check matrix of an LDPC code or uses only the columns which do not correspond to the shortened bits.
(83) The shortening pattern may be determined by using a shortening pattern stored in a memory, by generating a shortening pattern using a sequence generator (not shown in the drawing), or by using a density evolution analysis algorithm for a parity check matrix and a given length of an information word.
(84) The shortening pattern applying unit 1220 may apply a different shortening pattern according to a ratio of a number of shortened bits to a number of punctured bits, or to a code rate. Examples of shortening patterns determined according to the ratio of the number of shortened bits to the number of punctured bits are listed in Tables 2 and 3.
(85) The shortening pattern applying unit 1220 may apply a different shortening pattern to a specific region having a different ratio of a number of shortened bits to a number of punctured bits, or a different code rate.
(86) The LDPC encoder 1260 performs encoding based on the LDPC code shortened by the controller 1210 and the shortening pattern applying unit 1220. If application of appropriate puncturing is required, the puncturing pattern applying unit 1280 applies puncturing to the LDPC codeword generated by the LDPC encoder 1260.
(87)
(88) Referring to
(89) The demodulator 1330 receives and demodulates a shortened LDPC code, and delivers the demodulated signal to the shortening/puncturing pattern determiner 1320 and the LDPC decoder 1340.
(90) The shortening/puncturing pattern determiner 1320, under control of the controller 1310, estimates or determines information about a shortening or puncturing pattern of the LDPC code from the demodulated signal, and delivers position information of the shortened and/or punctured bits to the LDPC decoder 1340. The shortening/puncturing pattern determiner 1320 may deliver information about different patterns to the LDPC decoder 1340 according to a ratio of a number of shortened bits to a number of punctured bits.
(91) The shortening/puncturing pattern determiner 1320 may determine or estimate a shortening or puncturing pattern by using a shortening pattern stored in a memory, by generating a shortening pattern using a sequence generator (not shown in the drawing), or by using a density evolution analysis algorithm for a parity check matrix and a given length of an information word. The shortening/puncturing pattern determiner 1320 may determine a different shortening or puncturing pattern according to the ratio of the number of shortened bits to the number of punctured bits.
(92) The LDPC decoder 1340 restores user-desired data from the received signal using a length of the shortened/punctured LDPC code and positions of the shortened/punctured bits determined by the shortening/puncturing pattern determiner 1320.
(93)
(94) Referring to
(95) In step 1405, the shortening/puncturing pattern determiner 1320 determines whether there are shortened/punctured bits.
(96) If there are no shortened/punctured bits, the LDPC decoder 1340 performs decoding in step 1411. However, if there are shortened/punctured bits, the shortening/puncturing pattern determiner 1320 delivers position information of the shortened/punctured bits to the LDPC decoder 1340 in step 1407.
(97) The LDPC decoder 1340 determines that a probability that values of the shortened bits will be 0 is 1, based on the position information of the shortened/punctured bits, and determines that the punctured bits are erased bits, in step 1409. Thereafter, the LDPC decoder 1340 performs LDPC decoding in step 1411.
(98) As is apparent from the foregoing description, according to the described embodiments of the present invention, LDPC codewords having various codeword lengths or code rates can be generated using shortening and a parity check matrix given in a communication system using an LDPC code.
(99) In addition, in accordance with an embodiment of the present invention, a shortening pattern is designed based on a ratio of a number of information bits to be shortened to a number of bits to be punctured, thereby supporting suboptimal performance of a shortened LDPC code.
(100) Accordingly, the above-described embodiments of the present invention can optimize encoding/decoding performance using information about a parity check matrix given in a communication system using an LDPC code.
(101) While the present invention has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims and their equivalents.