# US 8,578,249 B2 · LDPC encoding and decoding of packets of variable sizes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,249 B2
- Document ID: US8578249B2
- Status: Granted
- Kind: B2
- Application number: 13/413,277
- Filed: 2012-03-06
- Published: 2012-06-28
- Granted: 2013-11-05
- Earliest claimed: 2007-01-24
- Assignees: QUALCOMM Incorporated
- Applicants: Aamod Khandekar; Thomas Richardson
- Inventors: Aamod Khandekar; Thomas Richardson
- Web page: https://patentgrep.com/patent/US8578249B2

## CPC

- H03M 13/116: {Quasi-cyclic LDPC [QC-LDPC] codes, i.e. the parity-check matrix being composed of permutation or circulant sub-matrices}
- H03M 13/1137: {Partly parallel processing, i.e. sub-blocks or sub-groups of nodes being processed in parallel}
- H03M 13/1185: {wherein the parity-check matrix comprises a part with a double-diagonal}
- H03M 13/1188: {wherein in the part with the double-diagonal at least one column has an odd column weight equal or greater than three}
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- H03M 13/6393: {Rate compatible low-density parity check [LDPC] codes}
- H03M 13/6516: {Support of multiple code parameters, e.g. generalized Reed-Solomon decoder for a variety of generator polynomials or Galois fields}
- H04L 1/0007: {by modifying the frame length}
- H04L 1/0009: {by adapting the channel coding (H04L1/1812 takes precedence)}
- H04L 1/1812: Hybrid protocols; Hybrid automatic repeat request [HARQ]
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques to support low density parity check (LDPC) encoding and decoding are described. An apparatus includes at least one processor and a memory coupled to the at least one processor. The at least one processor is configured to encode or decode a packet based on a base parity check matrix and a set of lifting values. In a particular embodiment, the set of lifting values is limited to lifting values that are each a different power of two. The memory is configured to store parameters associated with the base parity check matrix.

## Claims

### Claim 1

An apparatus comprising:
at least one processor configured to:
select a lifting value from a set of lifting values based on a packet size of a packet to be encoded or decoded; and
encode or decode the packet based on a base parity check matrix and the selected lifting value, wherein the set of lifting values is limited to lifting values that are each a different power of two; and
a memory coupled to the at least one processor and configured to store parameters associated with the base parity check matrix.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the set of lifting values comprises a plurality of lifting values selected from the group of 4, 8, 16, 32, 64, 128, 256, 512 and 1024.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the set of lifting values includes nine different lifting values.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the at least one processor is configured to:
determine the packet size of the packet to be encoded or decoded,
generate a lifted parity check matrix based on the base parity check matrix and the selected lifting value, and
encode or decode the packet based on the lifted parity check matrix.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the at least one processor is configured to generate the lifted parity check matrix based further on cyclic shift values for non-zero elements of the base parity check matrix.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein in the at least one processor is further configured to generate a lifted parity check matrix corresponding to the base parity check matrix and the selected lifting value using cyclic shift values of s and s+L/4 for two non-zero elements in a column of the base parity check matrix, wherein the column includes at least three non-zero elements, and wherein s is an arbitrary value and L is the selected lifting value.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the lifting value is further selected based on a number of information bits of the base parity check matrix.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the at least one processor is further configured to select the base parity matrix from a plurality of base parity matrices based on the selected lifted value.

### Claim 9

A method comprising:
selecting a lifting value from a set of lifting values based on a packet size of a packet to be encoded or decoded; and
encoding or decoding the packet based on a base parity check matrix and the selected lifting value, wherein the set of lifting values is limited to lifting values that are each a different power of two.

### Claim 10 (depends on 9)

The method of claim 9, wherein the set of lifting values includes 4, 8, 16, 32, 64, 128, 256, 512 and 1024.

### Claim 11 (depends on 9)

The method of claim 9, further comprising selecting the base parity check matrix from a set of base parity check matrices based at least in part on the packet.

### Claim 12 (depends on 9)

The method of claim 9, wherein the base parity check matrix comprises
[
M
⁢
⁢
1
0
M
⁢
⁢
2
I
]
,
wherein 0 is a matrix of all zeros, wherein I is an identity matrix, wherein a width of a matrix M1 and a matrix M2 is based on a number of information bits and parity bits, and wherein the matrix M1 comprises
[
A
B
T
C
D
E
]
,
wherein a number of columns of the matrix A corresponds to a number of information bits, and wherein dimensions of the matrix M2 depend on the matrix M1.

### Claim 13 (depends on 12)

The method of claim 12, wherein T is a lower triangular matrix, wherein each of a matrix B and a matrix D has a width of one, and wherein each of the matrix D and a matrix E has a height of one.

### Claim 14

An apparatus comprising:
means for determining a packet size of a packet to be encoded or decoded;
means for selecting a lifting value from a set of lifting values based on the packet size of the packet; and
means for encoding or decoding the packet based on a lifted base parity check matrix, the lifted base parity check matrix generated based on a single cyclic lifting operation using a lifting value and performed on a base parity check matrix, wherein the lifting value is included in a set of lifting values that are each a different power of two.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein at least three lifting values of the set of lifting values include at least two lifting values greater than 32.

### Claim 16 (depends on 14)

The apparatus of claim 14, further comprising means for selecting the base parity check matrix from a set of base parity check matrices based at least in part on the selected lifting value.

### Claim 17

A non-transitory computer-readable medium comprising computer-executable instructions that, when executed by a computer, cause the computer to:
select a lifting value from a set of lifting values based on a packet size of a packet to be encoded or decoded; and
encode or decode the packet based on a lifted base parity check matrix, the lifted base parity check matrix generated based on a single cyclic lifting operation using the lifting value and performed on a base parity check matrix, wherein the set of lifting values are each a different power of two.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein a first lifting value of the set of lifting values is greater than 128.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the first lifting value is 512.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising computer-executable instructions that, when executed by the computer, cause the computer to:
determine the packet size of the packet to be encoded or decoded, and
generate the lifted parity check matrix based on the base parity check matrix and the selected lifting value.

### Claim 21 (depends on 20)

The non-transitory computer-readable medium of claim 20, further comprising computer-executable instructions that, when executed by the computer, cause the computer to generate the lifted parity check matrix based further on cyclic shift values for non-zero elements of the base parity check matrix.

### Claim 22

An apparatus comprising:
means for determining a packet size of a packet to be encoded or decoded;
means for selecting a lifting value from a set of lifting values based on the packet size of the packet; and
means for encoding or decoding the packet based on a base parity check matrix and the lifting value, wherein the set of lifting values is limited to lifting values that are each a different power of two, and wherein each lifting value of the set of lifting values is associated with a lifting operation to generate a corresponding lifted base parity check matrix.

### Claim 23 (depends on 22)

The apparatus of claim 22, further comprising:
means for storing parameters associated with a base parity check matrix, wherein the base parity check matrix comprises
[
M
⁢
⁢
1
0
M
⁢
⁢
2
I
]
,
wherein 0 is a matrix of all zeros, wherein I is an identity matrix, wherein a width of a matrix M1 and a width of a matrix M2 are based on a number of information bits and a number of parity bits, wherein the matrix M1 comprises
[
A
B
T
C
D
E
]
,
wherein the width of a matrix A corresponds to the number of information bits in the packet, and wherein dimensions of the matrix M2 depend on the matrix M1.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein T is a lower triangular matrix, wherein each of a matrix B and a matrix D has a width of one, and wherein each of a matrix C, the matrix D, and a matrix E has a height of one.

### Claim 25 (depends on 22)

The apparatus of claim 22, further comprising means for obtaining a lifted parity check matrix by replacing each non-zero element of the base parity check matrix with an L×L permutation matrix of a particular cyclic shift value, and wherein L is a power of two.

### Claim 26

A non-transitory computer-readable medium comprising computer-executable instructions that, when executed by a computer, cause the computer to:
select a particular lifting value from a set from lifting values;
select a base parity check matrix from a set of base parity check matrices based on the particular lifting value; and
encode or decode a packet based on the base parity check matrix and the particular lifting value, wherein the set of lifting values is limited to lifting values that are each a different power of two, and wherein each lifting value of the set of lifting values is associated with a lifting operation to generate a corresponding lifted base parity check matrix.

### Claim 27 (depends on 26)

The non-transitory computer-readable medium of claim 26, further comprising computer-executable instructions that, when executed by the computer, cause the computer to:
store parameters associated with a base parity check matrix, wherein the base parity check matrix includes at least
[
B
T
D
E
]
,
wherein T is a lower triangular matrix, wherein each of a matrix B and a matrix D has a width of one, and wherein each of the matrix D and a matrix E has a height of one.

### Claim 28 (depends on 27)

The non-transitory computer-readable medium of claim 27, further comprising computer-executable instructions that, when executed by the computer, cause the computer to encode or decode the packet based on a lifted parity check matrix obtained from the base parity check matrix.

### Claim 29 (depends on 27)

The non-transitory computer-readable medium of claim 27, wherein the base parity matrix further includes a matrix M1, wherein the matrix M1 comprises
[
A
B
T
C
D
E
]
,
wherein a number of columns of the matrix A corresponds to a number of information bits, and wherein C is a matrix with a height of one.

### Claim 30 (depends on 29)

The non-transitory computer-readable medium of claim 29, wherein the base parity check matrix comprises
[
M
⁢
⁢
1
0
M
⁢
⁢
2
I
]
,
wherein I is an identity matrix, wherein 0 is a matrix of all zeros, wherein the matrix M1 includes first dimensions dependent on the base parity matrix, and wherein a matrix M2 includes second dimensions dependent on the matrix M1, and wherein a width of the matrix M1 and the matrix M2 is based on a number of information bits and parity bits.

### Claim 31 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the particular lifting value is selected based on a maximum number of information bits for the set of base parity check matrices, and wherein the base parity check matrix is further selected based on a packet size of the packet.

### Claim 32 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the particular lifting value is selected from the set of lifting values based on computing
L=2^┌log2(k/kB,max)┐,
where k is a packet size of the packet to be encoded or decoded, kB,max is a maximum number of information bits for the set of base parity check matrices, L is the particular lifting value, and “┌ ┐” denotes a ceiling operator.

### Claim 33 (depends on 26)

The non-transitory computer-readable medium of claim 26, wherein the base parity check matrix is selected by computing
kB=┌k/L┐,
where k is a packet size of the packet to be encoded or decoded, L is the particular lifting value, kB is a number of information bits for the selected base parity check matrix, and “┌ ┐” denotes a ceiling operator.

### Claim 34

An apparatus comprising:
at least one processor configured to encode or decode a packet based on a lifted base parity check matrix, the lifted base parity check matrix generated based on a single cyclic lifting operation using a lifting value and performed on a base parity check matrix, wherein the lifting value is included in a set of lifting values that are each a different power of two, and wherein the lifting value is selected from the set of lifting values based on a packet size of the packet; and
a memory coupled to the at least one processor and configured to store parameters associated with the base parity check matrix.

### Claim 35 (depends on 34)

The apparatus of claim 34, further comprising:
a memory configured to store parameters associated with a base parity check matrix, wherein the base parity check matrix comprises
[
M
⁢
⁢
1
0
M
⁢
⁢
2
I
]
,
wherein 0 is a matrix of all zeros, wherein I is an identity matrix, wherein a width of a matrix M1 and a width of a matrix M2 are based on a number of information bits and a number of parity bits, wherein the matrix M1 comprises
[
A
B
T
C
D
E
]
,
wherein the width of a matrix A corresponds to the number of information bits in the packet, and wherein dimensions of the matrix M2 depend on the matrix M1.

### Claim 36 (depends on 35)

The apparatus of claim 35, wherein T is a lower triangular matrix, wherein each of a matrix B and a matrix D has a width of one, and wherein each of a matrix C, the matrix D, and a matrix E has a height of one.

### Claim 37 (depends on 35)

The apparatus of claim 35, wherein the at least one processor is further configured to obtain a lifted parity check matrix by replacing each non-zero element of the base parity check matrix with an L×L permutation matrix of a particular cyclic shift value, and wherein L is a power of two.

### Claim 38

A method comprising:
encoding or decoding a packet based on a lifted base parity check matrix, the lifted base parity check matrix generated based on a single cyclic lifting operation using a lifting value and performed on a base parity check matrix, wherein the lifting value is included in a set of lifting values that are each a different power of two, and wherein the lifting value is selected from the set of lifting values based on a packet size of the packet.

### Claim 39 (depends on 38)

The method of claim 38, further comprising:
storing parameters associated with a base parity check matrix, wherein the base parity check matrix comprises
[
M
⁢
⁢
1
0
M
⁢
⁢
2
I
]
,
wherein 0 is a matrix of all zeros, wherein I is an identity matrix, wherein a width of a matrix M1 and a matrix M2 is based on a number of information bits and parity bits, wherein the matrix M1 comprises
[
A
B
T
C
D
E
]
,
wherein a width of a matrix A corresponds to a number of information bits in the packet, and wherein dimensions of the matrix M2 depend on the matrix M1.

### Claim 40 (depends on 39)

The method of claim 39, wherein T is a lower triangular matrix, wherein each of a matrix B and a matrix D has a width of one, and wherein each of a matrix C, and the matrix D, and a matrix E has a height of one.

### Claim 41 (depends on 40)

The method of claim 40, further comprising using cyclic shift values of s and s+L/m for two non-zero elements in a column of the base parity check matrix, wherein s is an arbitrary value, wherein m is a power of two, and wherein the column having at least three non-zero elements of the base parity check matrix corresponds to the matrix B and the matrix D.

### Claim 42 (depends on 41)

The method of claim 41, wherein m is equal to one of two, four, and eight.
