Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DEVICES AND METHODS FOR GENERATING A LOW DENSITY PARITY CHECK CODE FOR A INCREMENTAL REDUNDANCY HARQ COMMUNICATION APPARATUS
Document Type and Number:
WIPO Patent Application WO/2018/111129
Kind Code:
A1
Abstract:
The invention relates to a device (100) and method (1100) for generating on the basis of a first protograph matrix P1 of size m x n, wherein the first protograph matrix P1 defines a first code H1 a second protograph matrix P2 of size (m + d) x (n + d), wherein the second protograph matrix P2 defines a second code H2. The device (100) comprises a processor (102) configured to: (i) generate an auxiliary protograph matrix P' of size (m + d1) x (n + d1) on the basis of the first protograph matrix P1 using row splitting; (ii) generate d2 random integer numbers, wherein d2 = d - d1; (iii) generate a binary matrix M of size d2 x (n - m), wherein rows of the binary matrix M are generated on the basis of the d2 random integer numbers; (iv) generate a matrix M' by lifting the binary matrix M; (v) generate a matrix I of size d2 x d2, wherein the matrix I has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements; (vi) generate a matrix C1 of size (m + d1) x d2 and a matrix C2 of size d2 x (m + d1), wherein the matrix C1 and the matrix C2 comprise only empty circulant shifts; and (vii) generate the second protograph matrix P2 on the basis of the auxiliary protograph matrix P', the matrix M', the matrix I, the matrix C1 and the matrix C2 wherein the second protograph matrix P2 comprises row weights equal to one of the d2 random integer numbers.

Inventors:
USATYUK VASILY STANISLAVOVICH (CN)
POLIANSKII NIKITA ANDREEVICH (RU)
VOROBYEV ILYA VIKTOROVICH (CN)
Application Number:
PCT/RU2016/000869
Publication Date:
June 21, 2018
Filing Date:
December 13, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HUAWEI TECH CO LTD (CN)
USATYUK VASILY STANISLAVOVICH (CN)
International Classes:
H03M13/00; H04L1/00; H03M13/11; H04L1/18
Domestic Patent References:
WO2008069460A12008-06-12
Foreign References:
US20080126916A12008-05-29
US20110239075A12011-09-29
US20110138260A12011-06-09
US20070113147A12007-05-17
US20100192037A12010-07-29
US20070220399A12007-09-20
Attorney, Agent or Firm:
LAW FIRM "GORODISSKY & PARTNERS " LTD et al. (RU)
Download PDF:
Claims:
CLAIMS

1 . A device ( 100) for generating on the basis of a first protograph matrix P1 of size m x n, wherein the first protograph matrix P1 defines a first code Hl t a second protograph matrix P2 of size (m + d) x (n + d), wherein the second protograph matrix P2 defines a second code H2 , wherein the device (100) comprises: a processor ( 102) configured to:

(i) generate an auxiliary protograph matrix P' of size (m + d1) x (n + d1) on the basis of the first protograph matrix P1 using row splitting;

(ii) generate d2 random integer numbers, wherein d2 = d - d1 ;

(iii) generate a binary matrix M of size d2 x (n - m) , wherein rows of the binary matrix M are generated on the basis of the d2 random integer numbers;

(iv) generate a matrix ' by lifting the binary matrix ;

(v) generate a matrix / of size d2 x d2 , wherein the matrix 1 has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements;

(vi) generate a matrix C1 of size (m + d1) x d2 and a matrix C2 of size d2 x (m + d1) , wherein the matrix C1 and the matrix C2 comprise only empty circulant shifts; and

(vii) generate the second protograph matrix P2 on the basis of the auxiliary protograph matrix P', the matrix ', the matrix / , the matrix C1 and the matrix C2 , wherein the second protograph matrix P2 comprises row weights equal to one of the d2 random integer numbers.

2. The device (100) of claim 1 , wherein the processor (102) is further configured to generate the d2 random integer numbers on the basis of a mean row weight λ of the auxiliary protograph matrix P', wherein the mean row weight Λ is defined as a ratio of the number of nonempty circulants of the auxiliary matrix P' to m + dt .

3. The device (100) of claim 2, wherein the processor (102) is further configured to generate the d2 random integer numbers on the basis of a Poisson distribution having a mean value λ.

4. The device (100) of any one of the preceding claims, wherein the auxiliary protograph matrix P' has a circulant size z and wherein the processor (102) is further configured to generate at most z random circulant shifts on the basis of a seed, wherein the z random circulant shifts have integer values lower than z or equal to z.

5. The device (100) of claim 4, wherein the processor ( 02) is further configured to lift the binary matrix by replacing elements of the binary matrix M equal to 1 by one of the z random circulant shifts and by replacing the elements of the binary matrix M equal to 0 by -1 .

6. The device (100) of any one of the preceding claims, wherein the processor (102) is further configured to set the elements (1: m + άΛ , 1 : n + d1) of the second protograph matrix P2 equal to the corresponding elements of the auxiliary protograph matrix P'.

7. The device (100) of any one of the preceding claims, wherein the processor (102) is further configured to set the elements (1: m + dl t n + dt + 1: n + d) of the second protograph matrix P2 equal to the corresponding elements of the matrix C1.

8. The device (100) of any one of the preceding claims, wherein the processor ( 02) is further configured to set the elements (m + d1 + 1 : m + d, Γ. n - m) of the second protograph matrix P2 equal to the corresponding elements of the matrix M'.

9. The device (100) of any one of the preceding claims, wherein the processor (102) is further configured to set the elements (m + d1 + 1 : m + d, n - m + 1: n + d1) of the second protograph matrix P2 equal to the corresponding elements of the matrix C2.

10. The device (100) of any one of the preceding claims, wherein the processor (102) is further configured to set the elements (m + d1 + 1: m + d, n + d1 + 1: n + d) of the second protograph matrix P2 equal to the corresponding elements of the matrix / .

1 1 . The device ( 100) of any one of the preceding claims, wherein the first protograph matrix l and/or the auxiliary protograph matrix P' and/or the second protograph matrix P2 have the same circulant size.

12. A communication apparatus (210) comprising a channel encoder (213) comprising a device (1 00) for generating a protograph matrix according to any one of the preceding claims. 3. A communication apparatus (2 0) comprising a channel encoder (213) comprising a first protograph matrix P1 or a corresponding first code H1 and a second protograph matrix P2 or a corresponding second code H2 l wherein the channel encoder (213) is configured to use the first code H1 for a first transmission of a HARQ scheme and the second code 2 for a retransmission of the HARQ scheme and wherein the first protograph matrix P1 or the corresponding first code H1 and the second protograph matrix P2 or the corresponding second code H2 have been provided by a device (100) for generating a protograph matrix according to any one of claims 1 to 1 1 .

14. A method (1 100) for generating on the basis of a first protograph matrix P1 of size m X n, wherein the first protograph matrix P1 defines a first code Hl t a second protograph matrix P2 of size (m + d) x (n + d), wherein the second protograph matrix P2 defines a second code H2 , wherein the method (1 100) comprises: generating (1 102) an auxiliary protograph matrix P' of size (m + d2 ) x (n + d1) on the basis of the first protograph matrix P1 using row splitting; generating (1 104) d2 random integer numbers, wherein d2 = d - d ; generating (1 106) a binary matrix of size d2 x (n - m) , wherein rows of the binary matrix M are generated on the basis of the d2 random integer numbers; generating (1 108) a matrix M' by lifting the binary matrix ; generating (1 1 10) a matrix / of size d2 x d2 , wherein the matrix / has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements; generating (1 1 12) a matrix C, of size (m + dj x d2 and a matrix C2 of size d2 x (m + d1) , wherein the matrix CV and the matrix C2 comprise only empty circulant shifts; and generating (1 1 14) the second protograph matrix P2 on the basis of the auxiliary protograph matrix P', the matrix M', the matrix /, the matrix C1 and the matrix C2 , wherein the second protograph matrix P2 comprises row weights equal to one of the d2 random integer numbers. 5. The method (1 00) of claim 4, wherein the method (1 00) further comprises the step of: setting the elements (1: m + d Γ. n + d1) of the second protograph matrix P2 equal to the corresponding elements of the auxiliary matrix P'.

16. The method (1 100) of claim 14 or 15, wherein the method (1 100) further comprises the step of: setting the elements (1: m + d n + d1 + 1 : n + d) of the second protograph matrix P2 equal to the corresponding elements of the matrix C1.

17. The method (1 100) of any one of the claims 14 to 16, wherein the method (1 100) further comprises the step of: setting the elements (m + d1 + I : m + d, 1: n - m) of the second protograph matrix P2 equal to the corresponding elements of the matrix '.

18. The method (1 100) of any one of the claims 14 to 17, wherein the method (1 100) further comprises the step of: setting the elements (m + d1 + Γ. m + d, n - m + 1: n + d1) of the second protograph matrix P2 equal to the corresponding elements of the matrix C2.

19. The method (1 1 00) of any one of the claims 14 to 1 8, wherein the method (1 100) further comprises the step of: setting the elements (m + ά + 1: m + d, n + d1 + 1 : n + d) of the second protograph matrix P2 equal to the corresponding elements of the matrix / .

20. A computer program comprising a program code for performing the method (1 100) of any one of the claims 14 to 1 9 when executed on a computer.

Description:
DEVICES AND METHODS FOR GENERATING A LOW DENSITY PARITY CHECK CODE FOR A INCREMENTAL REDUNDANCY HARQ COMMUNICATION APPARATUS

TECHNICAL FIELD

Generally, the present invention relates to the field of channel coding. More specifically, the present invention relates to devices and methods for generating a code for a

communication apparatus as well as a communication apparatus using such a code, in particular in the context of a hybrid automatic repeat request (HARQ) scheme.

BACKGROUND

Hybrid automatic repeat request (HARQ) schemes are used in communication systems to provide both efficient and reliable data transmissions. Incremental redundancy (I R) is an HARQ method of combination of the payloads from different retransmissions. A fixed retransmitted payload is currently used in the LTE system as a baseline.

Some known HARQ schemes are based on matrix-based low density parity check

(LDPC). In particular, quasi cyclic low density parity check (QC-LDPC) codes can have a compact specification due to the fact that they can be defined by means of protograph matrices and circulant matrices.

US20110239075 discloses a channel coding, modulating and mapping method for a

HARQ scheme based on a LDPC. A uniform matrix H is considered for different code lengths. Modular or floor lifting is used to obtain a matrix with a new size of the circulant. Moreover, a constellation rearrangement strategy is disclosed, where high-order bits are mapped to reliable points in the constellation. However, this scheme is an offline HARQ scheme, wherein bits which are sent more than once are mapped to lower reliable bits in points of the constellation.

US2011138260 discloses a row-splitting scheme to obtain the matrix for the second retransmission of the HARQ scheme. Some rows are split and some new columns are added. The splitting degree may be different for different rows. Using low-rate codes and transmitting different sets of parity bits at different transmissions are disclosed, for instance, in US20071 13147, US2010192037 and US2007220399. US20071 13147 suggests arranging transmitted parity bits at regular intervals. In

US2010192037 the transmission order of parity bits is based on their column degree. In US2007220399 the order of transmission is based on the notion of k-step recoverable nodes.

Although the conventional approaches described above already provide some

improvements compared to other prior art approaches, there is still a need for improved devices and methods for generating a code for a HARQ communication apparatus.

SUMMARY

It is an object of the invention to provide for improved devices and methods for generating a code for a HARQ communication apparatus.

The foregoing and other objects are achieved by the subject matter of the independent claims. Further implementation forms are apparent from the dependent claims, the description and the figures.

According to a first aspect, the invention relates to a device for generating on the basis of a first protograph matrix P 1 of size m x n, wherein the first protograph matrix P 2 defines a first code H 1 , a second protograph matrix P 2 of size (m + d) x (n + d), wherein the second protograph matrix P 2 defines a second code H 2 . The device comprises a processor configured to generate an auxiliary protograph matrix P' of size (m + d 1 ) x (n + d 1 ) on the basis of the first protograph matrix P 1 using row splitting, generate d 2 random integer numbers, wherein d 2 = d - d l t generate a binary matrix M of size d 2 x (n - m), wherein rows of the binary matrix M are generated on the basis of the d 2 random integer numbers, generate a matrix M' by lifting the binary matrix M, generate a matrix / of size d 2 x d 2 , wherein the matrix / has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements, generate a matrix C 1 of size (m + d 1 ) x d 2 and a matrix C 2 of size d 2 x (m + d 1 ) , wherein the matrix C 1 and the matrix C 2 comprise only empty circulant shifts, and generate the second protograph matrix P 2 on the basis of the auxiliary protograph matrix P', the matrix M', the matrix / , the matrix C 1 and the matrix C 2 , wherein the second protograph matrix P 2 comprises row weights equal to one of the d 2 random integer numbers. In a first possible implementation form of the device according to the first aspect as such, the processor is further configured to generate the d 2 random integer numbers on the basis of a mean row weight λ of the auxiliary protograph matrix P', wherein the mean row weight λ is defined as a ratio of the number of nonempty circulants of the auxiliary matrix P' to m + d 1

In a second possible implementation form the device according to the first implementation form of the first aspect, the processor is further configured to generate the d 2 random integer numbers on the basis of a Poisson distribution having a mean value A.

In a third possible implementation form of the device according to the first aspect as such, the first or the second implementation form thereof, the auxiliary protograph matrix P' has a circulant size z and the processor is further configured to generate at most z random circulant shifts on the basis of a seed, wherein the z random circulant shifts have integer values lower than z or equal to z.

In a fourth possible implementation form of the device according to the third

implementation form of the first aspect, the processor is further configured to lift the binary matrix M by replacing elements of the binary matrix M equal to 1 by one of the z random circulant shifts and by replacing the elements of the binary matrix M equal to 0 by -1.

In a fifth possible implementation form of the device according to the first aspect as such, or any one of the first to fourth implementation form thereof, the processor is further configured to set the elements (1 : m + d 1 , 1: n + d 1 ) of the second protograph matrix P 2 equal to the corresponding elements of the auxiliary protograph matrix P'.

In a sixth possible implementation form of the device according to the first aspect as such, or any one of the first to fifth implementation form thereof, the processor is further configured to set the elements (1: m + d 1 , n + d 1 + 1 : n + d) of the second protograph matrix P 2 equal to the corresponding elements of the matrix C 1 .

In a seventh possible implementation form of the device according to the first aspect as such, or any one of the first to sixth implementation form thereof, the processor is further configured to set the elements (m + d 1 + 1: m + d, 1: n - m) of the second protograph matrix P 2 equal to the corresponding elements of the matrix M'. In an eighth possible implementation form of the device according to the first aspect as such, or any one of the first to seventh implementation form thereof, the processor is further configured to set the elements (m + d 1 + 1: m + d, n - m + 1: n + d 1 ) of the second protograph matrix P 2 equal to the corresponding elements of the matrix C 2 .

In a ninth possible implementation form of the device according to the first aspect as such, or any one of the first to eighth implementation form thereof, the processor is further configured to set the elements (m + d 1 + 1: m + d, n + d 1 + 1: n + d) of the second protograph matrix P 2 equal to the corresponding elements of the matrix / .

In a tenth possible implementation form of the device according to the first aspect as such, or any one of the first to ninth implementation form thereof, the first protograph matrix P 1 and/or the auxiliary protograph matrix P' and/or the second protograph matrix P 2 have the same circulant size.

According to a second aspect the invention relates to a communication apparatus comprising a channel encoder comprising a device for generating a protograph matrix according to the first aspect as such or any one of the first to tenth implementation form thereof.

According to a third aspect the invention relates to a communication apparatus comprising a channel encoder comprising a first protograph matrix P 1 or a corresponding first code Η 1 and a second protograph matrix P 2 or a corresponding second code H 2 wherein the channel encoder is configured to use the first code H 1 for a first transmission of a HARQ scheme and the second code H 2 for a retransmission of the HARQ scheme and wherein the first protograph matrix P 1 or the corresponding first code H 1 and the second

protograph matrix P 2 or the corresponding second code H 2 have been provided by a device for generating a protograph matrix according to the first aspect as such or any one of the first to tenth implementation form thereof.

According to a fourth aspect the invention relates to a method for generating on the basis of a first protograph matrix Ρ 1 of size m x n, wherein the first protograph matrix P 1 defines a first code H 1 a second protograph matrix P 2 of size (m + d) x (n + d), wherein the second protograph matrix P 2 defines a second code H 2 . The method comprises the steps of: generating an auxiliary protograph matrix P' of size (m + d 1 ) x (n + d 1 ) on the basis of the first protograph matrix P 1 using row splitting, generating d 2 random integer numbers, wherein d 2 = d - d x , generating a binary matrix M of size d 2 x (n - m) , wherein rows of the binary matrix M are generated on the basis of the d 2 random integer numbers, generating a matrix M' by lifting the binary matrix M, generating a matrix / of size d 2 x d 2 , wherein the matrix / has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements, generating a matrix C 1 of size (m + d 1 ) x d 2 and a matrix C 2 of size d 2 x (m + d 1 ) , wherein the matrix C 1 and the matrix C 2 comprise only empty circulant shifts, and generating the second protograph matrix P 2 on the basis of the auxiliary protograph matrix P', the matrix M', the matrix / , the matrix C 1 and the matrix C 2 , wherein the second protograph matrix P 2 comprises row weights equal to one of the d 2 random integer numbers.

In a first possible implementation form of the method according to the fourth aspect as such, the method further comprises the step of: setting the elements (1 : m + d1, 1: n + dl) of the second protograph matrix P 2 equal to the corresponding elements of the auxiliary matrix P'.

In a second possible implementation form of the method according to the fourth aspect as such or the first implementation form thereof, the method further comprises the step of: setting the elements (1: m + d 1 , n + d 1 + 1: n + d) of the second protograph matrix P 2 equal to the corresponding elements of the matrix C : .

In a third possible implementation form of the method according to the fourth aspect as such, the first or the second implementation form thereof, the method further comprises the step of : setting the elements (m + d 1 + 1: m + d, 1: n - m) of the second protograph matrix P 2 equal to the corresponding elements of the matrix M' .

In a fourth possible implementation form of the method according to the fourth aspect as such or any one of the first to third implementation form thereof, the method further comprises the step of: setting the elements (m + d 1 + 1: in + d, n - m + 1 : n + d 1 ) of the second protograph matrix P 2 equal to the corresponding elements of the matrix C 2 .

In a fifth possible implementation form of the method according to the fourth aspect as such or any one of the first to fourth implementation form thereof, the method further comprises the step of: setting the elements (m + d 1 + 1: m + d, n + d 1 + 1: n + d) of the second protograph matrix P 2 equal to the corresponding elements of the matrix / . According to a fifth aspect, the invention relates to a computer program comprising a program code for performing the method according to the fourth aspect as such or any one of the first to fifth possible implementation form thereof when executed on a computer.

The invention can be implemented in hardware and/or software. BRIEF DESCRIPTION OF THE DRAWINGS

Further embodiments of the invention will be described with respect to the following figures, wherein:

Fig. 1 shows a schematic diagram illustrating a device for generating a code for a HARQ communication apparatus according to an embodiment;

Fig. 2 shows a schematic diagram illustrating a communication system comprising a HARQ communication apparatus according to an embodiment;

Fig. 3 shows a schematic diagram illustrating some steps for a transmission in a HARQ communication apparatus according an embodiment;

Fig. 4 shows a schematic diagram illustrating some steps of an algorithm for generating a matrix by a device for generating a code according to an embodiment;

Fig. 5 shows a schematic diagram illustrating some steps of an algorithms for generating a matrix by a device for generating a code according to an embodiment;

Fig. 6 shows a schematic diagram illustrating a first protograph matrix and an auxiliary protograph matrix generated by a device for generating a code according to an embodiment;

Fig. 7 shows a schematic diagram illustrating a binary matrix and a lifted matrix generated by a device for generating a code according to an embodiment;

Fig. 8 shows a schematic diagram illustrating a second matrix generated by a device for generating a code according to an embodiment; Fig. 9 shows a schematic diagram illustrating the performance of a HARQ communication apparatus according to an embodiment;

Fig. 10 shows a schematic diagram illustrating the performance of a HARQ

communication apparatus according to an embodiment; and

Figure 1 1 shows a schematic diagram illustrating a method for generating a code for a HARQ communication apparatus according to an embodiment.

In the various figures, identical reference signs will be used for identical or at least functionally equivalent features.

DETAILED DESCRIPTION OF EMBODIMENTS

In the following description, reference is made to the accompanying drawings, which form part of the disclosure, and in which are shown, by way of illustration, specific aspects in which the present invention may be placed. It is understood that other aspects may be utilized and structural or logical changes may be made without departing from the scope of the present invention. The following detailed description, therefore, is not to be taken in a limiting sense, as the scope of the present invention is defined by the appended claims.

For instance, it is understood that a disclosure in connection with a described method may also hold true for a corresponding device or system configured to perform the method and vice versa. For example, if a specific method step is described, a corresponding device may include a unit to perform the described method step, even if such unit is not explicitly described or illustrated in the figures. Further, it is understood that the features of the various exemplary aspects described herein may be combined with each other, unless specifically noted otherwise.

Figure 1 shows a schematic diagram illustrating a device 100 for generating a code for a HARQ communication apparatus, for instance, the HARQ communication apparatus 210 of the communication system 200 shown in figure 2.

Before describing the device 100 shown in figure 1 and the HARQ communication apparatus 210 shown in figure 2 in more detail, the following definitions and notation will be introduced. Let P be a m x n protograph matrix and z its circulant size, that is,

An LDPC code, in particular a QC-LDPC code, of length n● z corresponding to the protograph matrix P is defined by the (m · z) x (n · z) parity-check base matrix H :

wherein the circulant permutation matrix (CPM) A t j represents either the z x z zero matrix Z, if p i,j = -1 , or the z x z circulant permutation matrix / ( p i,j ) obtained by cyclically right- shifting the z x z identity matrix 1 (0) by ρ ί ; · positions. The integers p i,j are usually called circulant shifts. If p i,j = -1, then p i,j is called an empty circulant shift. If p i,j = 0, then p i,j is called a zero circulant shift.

In embodiments of the invention, H represents a first LDPC code, in particular a first QC- LDPC code, which can be used for the first transmission of a HARQ scheme, in particular of an incremental redundancy (IR) HARQ scheme. In embodiments of the invention, the protograph matrix P is a repeat accumulate (RA) protograph matrix, which can be beneficial in communication systems, because the corresponding parity-check matrix has easy-encoding properties:

In the above exemplary representation of the protograph matrix P, the first row has been included for clarity to indicate which bits are either information bits or parity bits. The first column has been included to identify the row. As already described above, each m x 1 column of P corresponds to a m● (z x z ) submatrix of H(P), that is, i j corresponds to a group of z information bits as well as ρ ; ·.

In other embodiments of the invention, the protograph matrix P is a repeat accumulate (RA), an extended irreg ular repeat-accumulate (eIRA) protograph matrix or a multi- edge protograph matrix.

The device 100 in figure 1 for generating a code for the HARQ communication apparatus 210 comprises a processor 102. The processor 102 of the device 100 is configured to generate on the basis of a first protograph matrix P 1 of size m x n, wherein the first protograph matrix defines a first code H 1 , a second protograph matrix P 2 of size (m + d) x (n + d), wherein the second protograph matrix P 2 defines a second code H 2 .

In a first stage, the processor 102 of the device 100 is configured to generate an auxiliary protograph matrix P' of size (m + d 1 ) x (n + d 1 ) on the basis of the first protograph matrix P 1 using row splitting.

In a second stage, the processor 102 of the device 100 is configured to generate d 2 random integer numbers, wherein d 2 = d - d 1 .

In a third stage, the processor 102 of the device 100 is configured to generate a binary matrix M of size d 2 x (n - m), wherein rows of the binary matrix M are generated on the basis of the d 2 random integer numbers.

In a fourth stage, the processor 102 of the device 100 is configured to generate a matrix M' by lifting the binary matrix M. In a fifth stage, the processor 102 of the device 100 is configured to generate a matrix / of size d 2 x d 2 , wherein the matrix / has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements.

In a sixth stage, the processor 102 of the device 100 is configured to generate a matrix C 1 of size (m + d 1 ) x d 2 and a matrix C 2 of size d 2 x (m + d 1 ), wherein the matrix C 3 and the matrix C 2 comprise only empty circulant shifts; and

In a seventh stage, the processor 102 of the device 100 is configured to generate the second protograph matrix P 2 on the basis of the auxiliary protograph matrix P', the matrix M', the matrix / , the matrix C 1 and the matrix C 2 , wherein the second protograph matrix P 2 comprises row weights equal to one of the d 2 random integer numbers.

The first protograph matrix P 1 and/or the corresponding first code 1 and the second protograph matrix P 2 and/or the corresponding second code H 2 as described above can be beneficially used in a HARQ scheme. In an embodiment, the first protograph matrix P 1 and/or the corresponding first code H 1 and the second protograph matrix P 2 and/or the corresponding second code H 2 are implemented in the communication apparatus 210 of the communication system 200 shown in figure 2.

In an embodiment, the communication system 200 shown in figure 2 implements a reliability based HARQ (RB-HARQ) scheme. The communication system 200 comprises the transmitting communication apparatus 210 and the receiving communication apparatus 230. In an embodiment, the transmitting communication apparatus 210 and the receiving communication apparatus 230 could be a base station, a user equipment or the like.

A binary information sequence with attached cyclic redundancy check (CRC) code bits of overall length K denoted as is provided by a source 21 1 of the communication apparatus 210. After channel encoding by the channel encoder 213 for a transmission /, a binary code sequence is obtained, wherein

N l denotes the number of code bits for the l-th transmission. The modulator 215 maps this sequence to a M-QAM modulated sequence After passing through the

communication channel 220, e.g . a fully interleaved Rayleigh channel, one obtains

i.e. the vector of received complex symbols: wherein denotes the Rayleigh fading channel coefficient with zero mean and unit

variance and denotes the complex Gaussian noise with variance

The M-QAM demodulator 235 of the communication apparatus 230 can calculate channel log-likelihood ratios (LLRs) L, which can be implemented in a Max-Log-MAP (maximum a posteriori) fashion:

wherein are estimations of a fading coefficient and of a noise variance

respectively, A-constellation points of M-QAM, k = 1 ... , log 2 M.

Thereafter, the HARQ combiner 233 follows, where input LLRs are summed at code positions that were previously sent (chase combining) and LLRs for new parity bits are just concatenated to form one codeword (incremental redundancy). This codeword is provided to the soft input soft output (SISO) channel decoder 231 of the communication apparatus 230. This channel decoder 231 can be implemented as a turbo, LDPC or convolutional code decoder. So, corresponds to input LLRs of the SISO decoder 231

at the /-th transmission and soft output LLRs of the decoder 231 . Generally, RB-

HARQ algorithms take and, in case of decoding failure (CRC fails), try to determine

which bits should be retransmitted and signal it in the feedback channel 240.

In an embodiment, the communication system 200 shown in figure 2 can be configured to perform the steps illustrated in figure 3, which define a first stage of a HARQ scheme with K≥ 2 possible steps. Let be the number of columns of a protograph matrix

In the case of incremental redundancy,

Let the circulant size be denoted by z and let the information bits (block 301 ) with attached CRC be denoted by u. Then, by encoding u by means of an LDPC code Η(Ρ ), the codeword c 1 of length n 1 · z for a current channel transmission (block 303) can be obtained, wherein P 1 is a protogrpah matrix of the first transmission (block 309), which can be used for the first transmission (block 31 1 ). After modulation of the codeword, the passage of the codeword through the communication channel 220, and the demodulation of the received signal (block 305), a soft information L t consisting of LLR's corresponding to the bits of c l can be obtained. Then, L 1 can be decoded (block 3 5) by means of a parity-check matrix. After decoding, the CRC can be checked (block 317). If the information is confirmed, then the correct information bits have been received (block 318). Otherwise, the next stage with iter - 2 can be performed.

In the next stage, the protograph matrix P iter for a next transmission is constructed (block 313). Then, u is encoded using a LDPC code H(P iter ) and a codeword c iter of length n iter z is obtained (block 303). Since c iter contains c iier _ 1 as a subword, only the remaining part of c iter is transmitted, that is c iter \c iter^ x is transmitted. After modulation of the codeword, the passage of the codeword through the communication channel 220, and the demodulation of the received signal (block 305), the soft information L' iter consisting of LLR's corresponding to bits of can De obtained. Then, the soft information Liter-i an d ' er ca n De combined into L iter (in an embodiment, this is just a

concatenation into vector of length n iter z). By means of the parity-check matrix, L iter can be decoded (block 315). After decoding, the CRC can be checked (block 317). If the information is confirmed, then the correct information bits have been received (block 318). Otherwise, if iter < K, the above next stage with iter = iter + 1. can be repeated.

Figure 4 shows a schematic diagram illustrating some steps of an algorithm for generating a matrix by the device 100 for generating a code according to an embodiment. In particular, in this embodiment, some steps of an algorithm for generating a protograph matrix Ρ,· (block 41 1 ) used for generating a QC LDPC code H 2 = H (P t ) of a next transmission on the basis of a protograph matrix P i→ (block 401 ) used for generating a code H 1 = H (P i→ ) in a previous transmission are illustrated. The QC-LDPC code H 2 has a length (n + m)z, wherein z is a circulant size of the protograph matrix P i t while the QC- LDPC code Η 1 has a length nz such that the code H t is a subcode of the code H 2 - Moreover, some predefined parameters can be stored in a memory 405, which are used in a first row-splitting (RS) algorithm (block 403) and in a second algorithm, which is herein referred to as raptor-like construction (RLC) algorithm (block 407).

In a first step, the protograph matrix P^ of size m x n (block 401 ) is used as input in the row-splitting (RS) algorithm (block 403) in order to obtain the auxiliary protograph matrix P'i (block 409) according to the following relation:

P'i = PS(P i _ ll m 1 ) wherein the auxiliary protograph matrix Ρ' ( · (block 409) has m 1 more rows and columns than the protograph matrix P i _ 1 (block 401 ), and wherein m 1 is stored in the additional storage unit 405.

In a next step, the auxiliary protograph matrix P of size (m + m 1 ) x (n + m ) (block 409) is used as input for the raptor like construction (RLC) algorithm (block 407) in order to obtain the protograph matrix P t of size (m + m 1 + m 2 ) x (n + m 1 + m 2 (block 41 1 ) for the next transmission according to the following relation:

Pi = RLC(P' il m 2 , seed) wherein m 2 corresponds to the number of additional rows and columns of P t compared to P'i and seed is a seed used in a pseudorandom algorithm. The input parameters πΐχ , m 2 and seed can be stored in the additional storage unit 405. In embodiments of the invention, the parameters m 1 , m 2 and seed can be calculated offline and can be chosen in such a way that the HARQ scheme with these parameters provides the best performance among all possible parameters.

In general, in order to obtain a protograph matrix P; of size (m + d) x (n + d) , first i - 2 similar steps can be performed in order to get the protograph matrix P ( _ 1 of size m x n, and, then, the following steps can be performed:

P' ; = RS{P i . 1 , d i ) i = RLC{P'i, d - d^ seedi ,

wherein P is a protograph matrix of size (m + d 1 ) x n + d L ) and seed; is a seed used to generate d - d ( random numbers.

In general, the algorithm used to generate protograph matrices used in HARQ schemes has as input a P 1 protograph matrix of size m x n , a number K of maximum HARQ transmissions, a set of seeds [seed 2 , seed 3 , ... , seed K ), and a set of integers {d 2 , d 3 , ... , d K ], wherein dj < n, and as output a set of K protograph matrices P lt ... , P K , corresponding to each transmission according to the HARQ scheme, wherein the sizes of P t is (m +

As already described above, in embodiments of the invention, the RS algorithm can be used by the device 100 to generate the auxiliary protograph matrix P'. In an embodiment, the processor 102 of the device 100 is configured to generate the auxiliary protograph matrix P' of size (m + d 1 ) x (?i + d 1 ) with circulant size z on the basis of the first protograph matrix P 1 of size m x n with circulant size z using the following RS algorithm. In an embodiment, the first protograph matrix P 1 and/or the auxiliary protograph matrix P' are repeat accumulate (RA) matrices. In an embodiment, further input parameters for the RS algorithm are the integer number d t l and an option 0 e {A, B}, wherein the options A and B allow to control regularity or irregularity of the obtained QC-LDPC code H (P').

In a first step of the RS algorithm, a m x 1 vector RowWeLght is defined, such that RowWeight(i) is equal to the number p t ≠ -1, 1 < j≤ n - m.

In a further step of the RS algorithm, an integer Weight -∑ j RowWeight($) is defined. In a further step of the RS algorithm, it is checked whether Weight < m + d 1 , and, if this is the case, the RS algorithm will be terminated.

If 0 = A , then a m x 1 vector splittingFactors is defined, such that splittingFactors(i) < RowWeight(i), and all values of splittingFactors are close (may be equal) to each other, and∑ splittingFactors(i) = m + d 1 .

If 0 = B, then a m x 1 vector splittingFactors is defined, such that splittingFactors(i) < splittingFactors(i)

RowWeigkt(i) and all values given by are close (may be equal) to each

RowWeight(i)

other, and∑ splittingFactors(i) = m + d 1 .

In particular, the vector splittingFactors(i) determines how many rows will appear in auxiliary protograph matrix P' instead of the t-th row of the first protograph matrix 1 The auxiliary protograph matrix P' consists of m submatrices P' (t)

The submatrix P' i) is obtained by splitting the i-th row of the first protograph matrix P 1 and by adding some new columns in the way, as expressed by the following pseudo code.

P'(i) is predetermined as a (splittingFactor(i)) x (n + d 1 ) matrix of -1 's.

Residue = 0;

For any j e [n - m]

If P (i,j) == - i

Continue;

End If

Residue = Residue + 1 ;

Residue = mod(Residue, splittingFactor(i));

P'(i, Residue ) = P(i,y);

End For

begPos(i) = n - m + splittingFactor(k) ;

Insert in P'(i, begPos(i) + 1 : begPos(i) + splittingFactor(i)) a (splittingFactor(i)) x splittingFactor(i)) ) matrix representing a RA part of LDPC code;

End For

The auxiliary protograph matrix P' generated in the way described above has an RA part, so that easy (linear-time) encoding can be performed. The general RS approach described above will be further illustrated on the basis of the following exemplary first protograph matrix P l with circulant size 5:

Input: Ρ and d t = 4;

1 ) RowWeight = (3, 2, 3) r ; 2) Weight = 3 + 3 + 3 = 8;

3) Check 8 > 7;

4) A) splittingFactor = (2, 2, 3) r ;

B) splittingFactor = (3, 1, 3) r ;

For option A:

P' =

Rows r 1l and r 12 of the auxiliary protograph matrix P' are based on row r 1 of the first protograph matrix P . Rows r 21 and r 22 of the auxiliary protograph matrix P' are based on row r 2 of the first protograph matrix P 1 . The rows r 31 , r 32 and r 33 .of the auxiliary matrix P' are based on the row r 3 of the first protograph matrix P 1 .

For option B:

The rows r ia , r 12 and r 13 of the auxiliary protograph matrix P' are based on the row r 1 of the first protograph matrix P The row r 21 of the auxiliary protograph matrix P' is based on the row r 2 of the first protograph matrix P, . The rows ? 31 and r 32 of the auxiliary protograph matrix P' are based on the row r 3 of the first protograph matrix P 1 .

The RS approach described above leads to a coherent first protograph matrix P 1 and to a coherent auxiliary protograph P', as well as to coherent corresponding LDPC codes. Indeed, since r< =∑; r ; / , the rows in each layer of the auxiliary matrix P' (using the rule (- 1 +k) = k and (k+k) = -1 ) can be summed and a matrix P", which could be the same as P , can be obtained, if columns with zero weight, i.e. columns consisting of -1 's only, are excluded, wherein the matrix P" is given by:

In other words, if information bits (11, 12, 13) are encoded with the LDPC code

corresponding to the auxiliary protograph matrix P' resulting in a codeword

(t 1 , i 2 , 13, Pi, P2. 3. P4' s, Ρβ' Ρ )ι then a subword (t 1( t 2 , i 3 , p 3 , p 4 , p 7 ) is a codeword of the LDPC code corresponding to the protograph matrix P 1 with the same information bits

(ii. 12. 13) ·

In embodiments of the invention, the raptor-like construction (RLC) algorithm can be used by the device 100 to generate the second protograph matrix P 2 . In an embodiment, the processor 102 of the device 100 is configured to generate the second protograph matrix P 2 of size (m + d ) x (n + d) with circulant size z on the basis of the auxiliary protograph matrix P' of size (m + d 1 ) x (n + d 1 ) with circulant size z using the following RLC algorithm. In an embodiment, the first protograph matrix P 1 and/or the second protograph matrix P 2 are RA matrices.

In a first step of the RLC algorithm illustrated in figure 5, an average row weight of the auxiliary protograph matrix P' is computed (block 503), wherein the row weight is defined according to the following formula: number of nonempty circulanCs in P

m+d 1 wherein m + d 1 corresponds to the number of rows of the auxiliary protograph matrix P'.

In a further step of the RLC algorithm, a Poisson random number generator (PRNG) (block 505) having a mean value λ is initialized with a seed seed (block 507).

In a further step of the RLC algorithm, d 2 random integer numbers X X , X , - Xa 2 (block 515) having a Poisson distribution are generated using the PRNG, wherein d 2 = d - d 1 .

In a further step of the RLC algorithm, a uniform /c-subset of t-set generator (U(k, t)) is initialized (block 5 1 ) with the seed seed.

In a further step of the RLC algorithm, a binary matrix M of size d 2 x (n - m) is

constructed (block 513), wherein the i-th row of the binary matrix can be considered as a subset of a (n - m)-set. For each i ε d 2 t the i-th row of the binary matrix M is generated using U(Xi, n - m) .

In a further step of the RLC algorithm, a random number generator (RNG) taking values [0,1 ... z - 1] is initialized with the seed seed. Furthermore, the binary matrix M is randomly lifted (block 51 7) on the basis of the RNG, i.e. , instead of 1-s random circulant shift are put in the binary matrix M , and instead of 0-s, - 1 are put in the binary matrix . By randomly lifting the binary matrix M, a matrix M' is obtained.

The outcome of the RLC algorithm is the second protograph matrix P 2 (block 519).

According to an embodiment of the invention, the second protograph matrix P 2 can be written as follows: wherein the auxiliary protograph matrix P' of size (m + d 1 ) x (n + d 1 ) (block 501 ) can be represented in the form P' - \P' ' inf P' ' par ], wherein P' par is a (m + d 1 ) x (m + d 1 ) matrix corresponding to the parity bits, P' inf is a (m + d 1 ) x (n - m) matrix corresponding to the information bits, l (d 2 ) is a d 2 x d 2 matrix having zero circulant shifts as diagonal elements, and only empty circulant shifts as non-diagonal elements. Finally, - 1 corresponds to the part of matrix containing only empty circulant shifts. In embodiments of the invention, the second protograph matrix P 2 (block 519) can be represented in the following way: P 2 = [P 2 ,inf P 2, V ar} > wherein:

2, inf

M' and

2,yar

Since the matrix /(d 2 ) has a diagonal form and P' par has an easy form for encoding, the second protograph matrix P 2 (block 519) can be used for easy (linear-time) encoding.

In order to better illustrate the above mentioned steps of the RS algorithm and of the RLC algorithm, we provide an exemplary first protograph matrix P 1 and a corresponding exemplary auxiliary matrix P' in figure 6, an exemplary binary matrix M and an exemplary lifted matrix ' in figure 7, and an exemplary second protograph matrix P 2 in figure 8.

P 1 is a first protograph matrix of size 3 x 6, that is m = 3, n— 6, and of circulant size z = 10 (see figure 6). The matrix P 1 corresponds to the first transmission in a HARQ scheme. On the basis of the above described RS algorithm and RLC algorithm, a second protograph matrix P 2 of size 9 x 12, namely d = 6, corresponding to a second

transmission in HARQ scheme can be constructed.

Let d t be equal 3 (i.e.. , ά λ — 3 is the parameter chosen offline among all possible parameters which optimizes the performance of the code) and, therefore, d 2 = d - d 1 = 3. By applying the RS algorithm to the first protograph matrix P l t the resulting auxiliary protograph matrix P' can be obtained (see figure 6):

P' = RS(P l , d 1 ).

In order to generate the second protograph matrix P 2 of size 9 x 12, a mean row weight λ of the auxiliary protograph matrix P' is computed: number of nonem pty circulants in P>

number of rows in Pi Afterwards, d 2 = 3 random numbers X l t X 2 , and X 3 are generated by means of a seed seed and of a Poisson distribution having mean value Λ, wherein a variable A" has a Poisson distribution , if:

wherein /<: is an integer number. For example, the Poisson random number generator gives the following result: X 1 = 3, X 2 = 4, and X 3 = 2.

Then, the binary matrix M of size 3 x 3 is generated using a uniform /c-subset of a t-set random generator, wherein a random variable A with a uniform /(-subset of a t-set distribution is defined as follows. Let A be a set of t elements, namely |A| = t. Then, for any B (subset of A), and | B| = k, the following probability distribution holds:

[t choose k) wherein {t choose /<} corresponds to a binomial coefficient. Since, in embodiments of the invention, the weights of the new rows of the second protograph matrix P 2 are equal to X 1 = 3, X 2 - 4, and X 3 = 2, respectively, and the matrix l (d 2 ) (also called raptor part) has row weights and column weights equal to 1 , then, for constructing the binary matrix , a 2-subset of a 3-set generator can be used to get the first row of the binary matrix M, a 3- subset of a 3-set generator can be used to get the second row of the binary matrix M, and a 1 -subset of a 3-set generator can be used to get the third row binary matrix M (see figure 7).

Once the binary matrix is generated, the matrix M' can also be obtained (see figure 7) by randomly lifting the binary matrix M, i.e. , instead of 1 -s, random circulant shifts (not more than the circulant size 10) can be placed. Finally, the second protograph matrix P 2 :

P 2 = RLC(P', 3, seed), can be obtained (see figure 8), wherein the second protograph matrix P 2 has three more rows and three more columns than the auxiliary protograph matrix P'. Moreover, the weights of new rows of the second protograph matrix P 2 are equal to j = 3, X 2 = 4, and X 3 - 2, respectively.

Advantageously, the specific form of the second protograph matrix P 2 allows to perform easy (linear time) encoding.

Figures 9 and 10 show a schematic diagram illustrating the performance of a HARQ communication apparatus 230 according to an embodiment. In this embodiment, the first protograph matrix P 1 used for the first transmission in HARQ scheme corresponds to a multi-edge protograph matrix of size 6 x 21, the coding rate is 3/4, the number of information bits is 2000, and the first protograph matrix Ρ contains 49 nonempty circulant shifts. For the 4-th transmission in HARQ scheme, the code is generated by a 66 x 81 fourth protograph matrix having 206 nonempty circulant shifts. For every circulant, the following bits can be stored: for each circulant shift value - 9 bits, for its position in a corresponding protograph matrix: for rows and columns - 7 + 7 bits for offline HARQ scheme, 5+5 for online HARQ scheme. Additional memory (less than or equal to 25 bits) for the seeds and the HARQ scheme parameters for online calculations can be taken into account. The total amount of memory for the offline storage of the protograph matrices in HARQ schemes is: 23 x 206 = 4738 bits, while the total amount of memory for the on- the-fly generation of the protograph matrices in the HARQ schemes according to embodiments of the invention is: 19 x 49 + 25 = 956 bits. In this example, we need 4.96 times less memory for matrix storage and HARQ parameters.

Furthermore, embodiments of the invention have a better performance (block error rate and throughput) than LTE HARQ schemes of different rates, and they also have a performance comparable to the one of offline HARQ schemes for LDPC codes. These results are also verified in different channel conditions, as shown in figures 9 and 10.

In particular, figure 9 shows the block error rate (BLER) as a function of the signal to noise ration E b /N 0 in dB of a communication apparatus, wherein the case ME LDPC IR (solid lines) refers to a multi-edge LDPC on-the-fly code used in HARQ schemes according to embodiment of the present invention which is compared to a LTE TURBO code with 8 iterations and scaled Max Log MAP decoding (scale factor = 0.75 for all iterations) used in HARQ schemes. By way of example, a CRC of length 24, a code rate equal to 2/3, a number of transmissions equal to 4, a QPSK modulation, an additive white Gaussian noise (AWGN) channel, and an information length of 1000 bits are chosen. Moreover, the number of iteration of the layered min-sum decoder or communication apparatus for the LDPC code simulation is set to 50. As it can be taken from figure 9, for the same value of Eb / N o < tne BLER in the ME LDPC IR cases (solid lines) is much lower than in the other cases. Therefore, the performance of the LDPC on-the-fly code used in HARQ schemes according to embodiments of the present invention is significantly higher compared to the performance of other codes used in HARQ schemes.

In figure 10, the performance of a multi-edge LDPC offline HARQ scheme proposed by Qualcomm is compared to the performance of a multi-edge LDPC on-the-fly HARQ scheme according to embodiments of the present invention. In this embodiment, a code of rate 0.83, a number of transmissions equal to 2, a QPSK modulation, an AWGN channel, an information length of 2000 bits, and a number of iteration of layered min-sum decoder for LDPC simulation of 50 are chosen.

Some advantages of embodiments of the device 100 for generating on-the-fly LDPC matrices for HARQ schemes according to embodiment of the invention include: very good performance (similar to the one of offline HARQ schemes and better than the one of LTE TURBO schemes), saving memory for the matrix storage (only seeds and parameters for the row-splitting algorithm are kept in the memory), and a low complexity of constructing extended codes (they are linear on the number of nonempty circulant shifts). Therefore, embodiments of the present invention can be realized in real time systems.

Figure 1 1 shows a schematic diagram illustrating a method 1 100 for generating a code for a HAQR communication apparatus 210, wherein the method 1 00 generates on the basis of a first protograph matrix l of size m x n, wherein the first protograph matrix p 1 defines a first code H l t a second protograph matrix P 2 of size (m + d) x (n + d), wherein the second protograph matrix P 2 defines a second code H 2 . The method 1 100 comprises the following steps: generating 1 102 an auxiliary protograph matrix P' of size (m + ά ) x (n + d 1 ) on the basis of the first protograph matrix Ρ 1 using row splitting; generating 1 04 cf 2 random integer numbers, wherein d 2 = d - d 1 \ generating 1 106 a binary matrix M of size d 2 x (n - m) , wherein rows of the binary matrix M are generated on the basis of the d 2 random integer numbers; generating 1 08 a matrix ' by lifting the binary matrix M;

generating 1 1 10 a matrix / of size d 2 d 2 , wherein the matrix / has zero circulant shifts as diagonal elements and empty circulant shifts as non-diagonal elements, generating 1 1 2 a matrix C 1 of size (m + d 1 ) x d 2 and a matrix C 2 of size d 2 x (m + c^) , wherein the matrix C 1 and the matrix C 2 comprise only empty circulant shifts; and generating 1 1 14 the second protograph matrix P 2 on the basis of the auxiliary protograph matrix P', the matrix ', the matrix / , the matrix , and the matrix C 2 , wherein the second protograph matrix P 2 comprises row weights equal to one of the d 2 random integer numbers.

While a particular feature or aspect of the disclosure may have been disclosed with respect to only one of several implementations or embodiments, such feature or aspect may be combined with one or more other features or aspects of the other implementations or embodiments as may be desired and advantageous for any given or particular application. Furthermore, to the extent that the terms "include", "have", "with", or other variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term "comprise". Also, the terms "exemplary", "for example" and "e.g." are merely meant as an example, rather than the best or optimal. The terms "coupled" and "connected", along with derivatives may have been used. It should be understood that these terms may have been used to indicate that two elements cooperate or interact with each other regardless whether they are in direct physical or electrical contact, or they are not in direct contact with each other.

Although specific aspects have been illustrated and described herein, it will be

appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific aspects shown and described without departing from the scope of the present disclosure. This application is intended to cover any adaptations or variations of the specific aspects discussed herein.

Although the elements in the following claims are recited in a particular sequence with corresponding labeling, unless the claim recitations otherwise imply a particular sequence for implementing some or all of those elements, those elements are not necessarily intended to be limited to being implemented in that particular sequence.

Many alternatives, modifications, and variations will be apparent to those skilled in the art in light of the above teachings. Of course, those skilled in the art readily recognize that there are numerous applications of the invention beyond those described herein. While the present invention has been described with reference to one or more particular embodiments, those skilled in the art recognize that many changes may be made thereto without departing from the scope of the present invention. It is therefore to be understood that within the scope of the appended claims and their equivalents, the invention may be practiced otherwise than as specifically described herein.