# US 9,628,112 B2 · Apparatus and method for length and rate variable LDPC encoder and decoder using shortening set allocator

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

- Number: US 9,628,112 B2
- Document ID: US9628112B2
- Status: Granted
- Kind: B2
- Application number: 15/153,086
- Filed: 2016-05-12
- Published: 2016-09-08
- Granted: 2017-04-18
- Earliest claimed: 2014-11-24
- Assignees: Zenith Electronics Corporation
- Applicants: Xingkai Bao
- Inventors: Xingkai Bao
- Web page: https://patentgrep.com/patent/US9628112B2

## CPC

- H03M 13/255: {with Low Density Parity Check [LDPC] codes}
- H03M 13/1105: {Decoding}
- 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/1174: {Parity-check or generator matrices built from sub-matrices representing known block codes such as, e.g. Hamming codes, e.g. generalized LDPC codes}
- H03M 13/1177: {Regular LDPC codes with parity-check matrices wherein all rows and columns have the same row weight and column weight, respectively}
- H03M 13/616: {Matrix operations, especially for generator matrices or check matrices, e.g. column or row permutations}
- H03M 13/618: {Shortening and extension of codes}
- H03M 13/6362: {by puncturing}
- H03M 13/6393: {Rate compatible low-density parity check [LDPC] codes}
- 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)

## Abstract

A method and apparatus for encoding data and for decoding data using LDPC (low density parity check) codes includes providing a mother LDPC matrix of a particular size. A data payload of a smaller size is encoded by shortening the mother matrix to a smaller daughter matrix corresponding in size to the data payload and using the smaller daughter matrix for the encoding. The portions of the mother matrix to be removed in the shortening are derived from a control signal. The encoded data is transmitted with the control signal so that the receiver can derive the portions of the mother matrix to be removed to obtain the daughter matrix. At the receiver, a mother matrix is shortened to a daughter matrix and is then used to decode the data. The data at the encoder may be further reduced by puncturing to remove selected information bits and selected parity bits. The decoder inserts the selected information bits and parity bits when decoding the data.

## Claims

### Claim 1

A method of modifying a code matrix according to a received digital signal, comprising:
storing a mother code matrix in a memory, the mother code matrix having a predetermined size;
receiving a digital signal of a predetermined payload length;
using an allocator to receive a control signal;
using the allocator to derive an information modifying set from the control signal;
modifying the stored mother code matrix in response to the information modifying set to produce a modified code matrix;
storing the modified code matrix in a memory of a coder element, the coder element being one of an encoder or a decoder; and
coding the received digital signal using the modified code matrix stored in the coder memory, the coding being one of encoding or decoding.

### Claim 2 (depends on 1)

A method as claimed in claim 1, wherein the control signal includes payload length information of the digital signal.

### Claim 3 (depends on 1)

A method as claimed in claim 1, wherein the information modifying set is an information shortening set, wherein the modified code matrix is of a smaller size than the mother code matrix, the information shortening set identifying portions of the mother code matrix to be removed to obtain the modified code matrix.

### Claim 4 (depends on 1)

A method as claimed in claim 1, wherein the mother code matrix includes an LDPC code H-matrix.

### Claim 5 (depends on 1)

A method as claimed in claim 1, wherein the control signal includes payload length information of the signal and channel condition target information, and
wherein the information modifying set is derived from the payload length information and the channel condition target information.

### Claim 6 (depends on 5)

A method as claimed in claim 5, wherein the channel condition target information includes signal to noise ratio target information; and
wherein the information modifying set is derived from the payload length information and the signal to noise ratio target information.

### Claim 7

A method of decoding a received digital signal encoded by a linear block code, comprising:
storing a mother H-matrix defining the linear block code in a memory, the mother H-matrix having a predetermined size;
receiving a control signal in an allocator, the control signal representing at least a payload length of the received digital signal;
using the allocator to derive an information shortening set from the control signal;
modifying the stored mother H-matrix in response to the information shortening set to produce a daughter H-matrix, the daughter H-matrix defining a linear block code smaller than the mother H-matrix;
storing the daughter H-matrix in the memory of a linear block decoder; and
decoding the received digital signal using the daughter H-matrix stored in the decoder memory.

### Claim 8 (depends on 7)

The method of claim 7, wherein the linear block code comprises an LDPC code.

### Claim 9 (depends on 7)

The method as claimed in claim 7, wherein the information shortening set identifies portions of the mother H-matrix to be removed, and
wherein the modifying the stored mother H-matrix includes removing portions of the mother H-matrix identified in the information shortening set to obtain the daughter H-matrix.

### Claim 10 (depends on 7)

A method as claimed in claim 7, wherein the control signal includes channel condition target information; and
wherein the information shortening set is derived from the payload length information and the channel condition target information.

### Claim 11 (depends on 10)

A method as claimed in claim 10, wherein the channel condition target information includes signal to noise ratio target information, and
wherein the information shortening set is derived from the payload length information and the signal to noise ratio target information.

### Claim 12

A method of decoding a received digital signal encoded by a linear block code, comprising:
storing a mother H-matrix defining the linear block code in a memory, the mother H-matrix having a predetermined size;
receiving a control signal representing at least a payload length of the received digital signal;
deriving an information shortening set from the control signal;
modifying the stored mother H-matrix in response to the information shortening set to produce a daughter H-matrix, the daughter H-matrix defining a linear block code smaller than the mother H-matrix;
storing the daughter H-matrix in the memory of a linear block decoder;
decoding the received digital signal using the daughter H-matrix stored in the decoder memory;
wherein the information shortening set identifies portions of the mother H-matrix to be removed,
wherein the modifying the stored mother H-matrix includes removing portions of the mother H-matrix identified in the information shortening set to obtain the daughter H-matrix;
wherein the information shortening set identifies columns to be removed from the mother H-matrix; and
wherein the portions removed from the mother H-matrix include columns of the mother H-matrix as identified in the information shortening set.

### Claim 13

A method for encoding a digital signal by a linear block code, comprising:
storing a mother H-matrix defining a linear block code in a memory, the mother H-matrix having a predetermined size;
receiving a digital signal to be encoded, the digital signal including a data payload;
using an allocator to receive a control signal including at least a payload length of the data payload to be encoded;
using the allocator to derive an information shortening set from the control signal;
modifying a mother H-matrix in response to the information shortening set to produce a daughter H-matrix, the daughter H-matrix defining a linear block code smaller than the mother H-matrix;
storing the daughter H-matrix in the memory of a linear block encoder; and
encoding the received digital signal using the daughter H-matrix stored in the linear block encoder memory.

### Claim 14 (depends on 13)

The method of claim 13, wherein the linear block code comprises an LDPC code.

### Claim 15 (depends on 13)

The method as claimed in claim 13, wherein the information shortening set identifies portions of the mother H-matrix to be removed, and
wherein the modifying the stored mother H-matrix includes removing portions of the mother H-matrix identified in the information shortening set to obtain the daughter H-matrix.

### Claim 16 (depends on 13)

A method as claimed in claim 13, wherein the control signal includes channel condition target information; and
wherein the information shortening set is derived from the payload length information and the channel condition target information.

### Claim 17 (depends on 16)

A method as claimed in claim 16, wherein the channel condition target information includes signal to noise ratio target information; and
wherein the information shortening set is derived from the payload length information and the signal to noise ratio target information.

### Claim 18

A method for encoding a digital signal by a linear block code, comprising:
storing a mother H-matrix defining a linear block code in a memory, the mother H-matrix having a predetermined size;
receiving a digital signal to be encoded, the digital signal including a data payload;
receiving a control signal including at least a payload length of the data payload to be encoded;
deriving an information shortening set from the control signal;
modifying a mother H-matrix in response to the information shortening set to produce a daughter H-matrix, the daughter H-matrix defining a linear block code smaller than the mother H-matrix;
storing the daughter H-matrix in the memory of a linear block encoder;
encoding the received digital signal using the daughter H-matrix stored in the linear block encoder memory;
wherein the information shortening set identifies portions of the mother H-matrix to be removed;
wherein the modifying the stored mother H-matrix includes removing portions of the mother H-matrix identified in the information shortening set to obtain the daughter H-matrix;
wherein the information shortening set identifies columns to be removed from the mother H-matrix; and
wherein the portions removed from the mother H-matrix include columns of the mother H-matrix as identified in the information shortening set.

### Claim 19

An apparatus for coding a digital signal, comprising:
an input for receiving the digital signal;
an input for receiving a control signal, the control signal including at least a payload length of the digital signal;
a memory for storing a mother H-matrix defining a linear block code of a predetermined size;
an allocator connected to receive the control signal and operable to generate an information shortening set;
a mother H-matrix shortening unit connected to receive the information shortening set and operable to modify the mother H-matrix according to the information shortening set to provide a daughter H-matrix; and
a daughter coding unit connected to receive and store the daughter H-matrix, the daughter coding unit being connected to receive the digital signal and being operable to code the digital signal using the daughter H-matrix stored in the daughter coding unit, the coding being one of encoding or decoding.

### Claim 20 (depends on 19)

An apparatus as claimed in claim 19, wherein the mother H-matrix is an LDPC code matrix.
