This invention lies within the field of digital communications, and relates more particularly to a device and a method for encoding low-density parity-check codes, known as LDPC codes.
LDPC codes are increasingly widespread in terrestrial and satellite communication systems.
For example, the 5G communication standard defined by ETSI (European Telecommunication Standards Institute) incorporates LDPC codes. Also, the DVB-S2 (“Digital Video Broadcasting—Satellite—Second Generation”) standard for video broadcasting by satellite incorporates LDPC codes.
Currently, the CCSDS (“Consultative Committee for Space Data Systems”), which brings together the main space agencies around the globe, is in the process of defining a communication standard for which LDPC codes have been defined by the AIRBUS DEFENCE AND SPACE company and proposed by the Centre National d'Etudes Spatiales (CNES). The envisaged transmission rate, of around 10 Gbit/s, would allow observation satellites to quickly transmit a large amount of observation data to the ground.
The communication standard currently being defined by the CCSDS is designed to include a plurality of different LDPC codes, making it possible to adapt the LDPC code used to the transmission conditions and/or to the amount of data to be transmitted. In particular, several code rates are envisaged for the LDPC codes. Using LDPC codes of different types is also envisaged. In particular, the intent is to use a first type of LDPC codes for the lowest code rates and to use a second type of LDPC codes for the highest code rates.
However, such flexibility in terms of code rate and type of LDPC code, coupled with a high transmission rate, is particularly complex to achieve. Especially in the case of an encoding device to be embedded in a satellite, for which the computing components that can be used, i.e. that are approved for space flight, are few and generally have lower performance than computing components that can be used on the ground.
There is therefore a need for an encoding device architecture that allows a flexible implementation of different types of LDPC codes, and is also compatible with high transmission rates. Such an architecture would be of interest in the context of the standard defined by the CCSDS, but also, more generally, for any communication system likely to use different types of LDPC codes.
The present invention aims to remedy all or part of the limitations of the prior art solutions, in particular those set forth above, by proposing a solution which allows implementing different types of LDPC codes in a flexible manner, and which is also compatible with high transmission rates.
To this end, and according to a first aspect, a data encoding device is proposed that is suitable for encoding a plurality of LDPC codes, said encoding device comprising an input interface for receiving data of a data packet to be encoded and an output interface for providing encoded data. Said encoding device comprises:
The encoding device thus comprises three encoding circuits for encoding quasi-cyclic LDPC code. Quasi-cyclic LDPC codes correspond to a general type of LDPC code, well known to those skilled in the art (for example see [Foss]). Quasi-cyclic LDPC codes are known to allow efficient encoding and decoding by the possible parallelization of numerous processing operations, and for which numerous optimized architectures exist. Such quasi-cyclic LDPC codes are therefore particularly suitable for applications aiming for high transmission rates, on the order of several Gbit/s, as is the case in particular for the standard defined by the CCSDS.
Furthermore, many particular types of LDPC codes correspond to quasi-cyclic LDPC codes and/or to juxtapositions and/or combinations of quasi-cyclic LDPC codes. For example, an LDPC code with single parity check, referred to as LDPC SPC code, is a particular type of quasi-cyclic LDPC code. Similarly, an LDPC code with irregular repeated accumulation, referred to as LDPC IRA code, is a particular type of quasi-cyclic LDPC code.
Furthermore, the three encoding circuits for encoding LDPC code include:
It is therefore understood that such an encoding device architecture makes it possible to form many different types of LDPC codes, by means of suitable configurations of the three encoding circuits for encoding quasi-cyclic LDPC code. Such an architecture makes it possible in particular to form the different types of LDPC codes proposed for the standard currently being defined by the CCSDS, which include:
In addition to the fact that quasi-cyclic LDPC codes are particularly suitable for applications aiming for high transmission rates, the architecture of the proposed encoding device also makes it possible to perform many processing operations in parallel.
For example, the first and second encoding circuits for encoding LDPC code can encode data in parallel in order to create a same LDPC code word. In addition, write accesses, whose durations can prove to be critical for transmission rates on the order of Gbit/s, can be highly parallelized. For example, it is possible to write the data to be encoded, in parallel into respective input buffer memories of the three encoding circuits for encoding LDPC code, while writing, into an output buffer memory of the encoding device, data to be included as is in the LDPC code word (systematic bits).
In practice, the inventors have verified that such an encoding device architecture makes it possible to achieve a transmission rate of 10 Gbit/s for LDPC codes combining ARA and SPC codes in series, in accordance with the LDPC codes proposed for the CCSDS standard, by means of a FPGA (“Field-Programmable Gate Array”) type of programmable logic device as sold by the Xilinx® Company under the reference KU060.
In some particular embodiments, the encoding device may further comprise one or more of the following features, in isolation or in all technically possible combinations.
In some particular embodiments, the encoding device comprises at least one memory in which is stored configuration information comprising:
In some particular embodiments, at least one encoding matrix for LDPC code is partially stored, by not storing adjacent rows or columns of said encoding matrix for LDPC code which consist of zero values. Such arrangements allow reducing the memory footprint for the configuration of encoding circuits for LDPC codes, and also allow accelerating the encoding by avoiding the loading/unloading of values not used in actual practice.
In some particular embodiments, the third encoding circuit comprises an input buffer memory of a size suitable for storing data corresponding to at least two data packets to be encoded. Such arrangements allow further parallelizing the processing operations, by making it possible to write, to the input buffer memory, data from the next data packet while encoding the data of the current data packet.
In some particular embodiments, the first multiplexer circuit is connected to the second multiplexer circuit via a buffer memory. By means of this buffer memory, writing the LDPC code words to the output interface of the encoding device is more efficient because it can be carried out with blocks of data in burst mode, to optimize use of the output interface bandwidth (“burst accesses”).
In some particular embodiments, the buffer memory between the first multiplexer circuit and the second multiplexer circuit is of the first-in-first-out type.
In some particular embodiments, the buffer memory between the first multiplexer circuit and the second multiplexer circuit is of a size suitable for storing data corresponding to at least two data packets to be encoded. Such arrangements allow further parallelizing the processing operations, by making it possible to write, to this buffer memory, data from the next data packet that are to be included as is (systematic bits) while the third encoding circuit for encoding LDPC code encodes data of the current data packet.
In some particular embodiments, the encoding device is configured to encode LDPC codes whose parity matrix H can be put in the following form:
or in the following form:
expressions in which matrices E and F are diagonal matrices (identity matrices), and matrix D is a dual diagonal matrix. In particular, the LDPC codes proposed for the standard defined by the CCSDS can be expressed in these forms (LDPC ARA code on the one hand, and combination of LPDC ARA and SPC codes in series on the other hand).
In some particular embodiments, the encoding device is further configured to encode LDPC codes whose parity matrix H can be put in the following form:
H=(A D)
According to a second aspect, a satellite is proposed comprising an encoding device according to any one of the embodiments of the invention.
In some particular embodiments of the satellite, the encoded data are transmitted over an optical link and/or the encoded data are transmitted at a rate greater than 5 Gbit/s, for example 10 Gbit/s.
According to a third aspect, a method is proposed for encoding LDPC codes by means of an encoding device according to any one of the embodiments of the invention. The encoding method comprises:
In some particular modes of implementation, the encoding method may further comprise one or more of the following features, in isolation or in any technically possible combination.
In some particular modes of implementation, the encoding method comprises, in parallel with the encoding by the third encoding circuit, a writing, in parallel, of data of another data packet to be encoded, into the respective input buffer memories of the first encoding circuit, second encoding circuit, and third encoding circuit.
In some particular modes of implementation, the encoding device comprising a buffer memory between the first multiplexer circuit and the second multiplexer circuit, the data of the data packet are written into said buffer memory in parallel with the writing into the respective input buffer memories of the first encoding circuit, second encoding circuit, and third encoding circuit.
According to a fourth aspect, a configuration program product is proposed comprising instructions which, when implemented to configure a programmable logic device, configure said programmable logic device to form an encoding device according to any one of embodiments of the invention. The instructions of the configuration program product are, for example, in high level language (for example VHDL, Verilog, etc.) or in low level language (corresponding to high level language compiled for the programmable logic device concerned).
The invention will be better understood upon reading the following description, given as a non-limiting example, and made with reference to the figures which show:
In these figures, identical references from one figure to another designate identical or similar elements. For clarity, the items shown are not to scale unless otherwise noted.
Encoding device 10 comprises, for example, one or more programmable logic devices of a type such as FPGA, PLD, etc., and/or one or more application-specific integrated circuits (ASIC) configured to carry out the various processing operations for encoding LDPC codes. In the case of space applications targeting transmission rates on the order of several Gbit/s, encoding device 10 is for example implemented by an ASIC or by an FPGA type of programmable logic device (for example the Xilinx® KU060 model).
As illustrated by
In addition, encoding device 10 comprises a first multiplexer circuit 102 and a second multiplexer circuit 103.
As illustrated by
As illustrated by
Encoding device 10 also comprises, arranged in parallel with connection 105, a third encoding circuit 108 for encoding quasi-cyclic LDPC code. There are thus two parallel paths between first multiplexer circuit 102 and second multiplexer circuit 103, respectively via connection 105 and third encoding circuit 108.
As indicated above, encoding device 10 comprises three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes. Quasi-cyclic LDPC codes are known to enable efficient encoding by parallelizing many processing operations. For such quasi-cyclic LDPC codes, a lifting size Z (or circulant size) is generally defined, which corresponds to the maximum size of the blocks that can be processed in parallel per circulant row. For example, in the case of certain LDPC codes proposed for the standard defined by the CCSDS, the lifting size is equal to Z=128, and the size of the LDPC code words is constant regardless of the type of LDPC code considered or the code rate considered: equal to 30720 bits. The fact that a constant LDPC code word size is taken into account, for example equal to 30720 bits, makes it possible to size the processing operations homogeneously for all code rates.
As indicated above, many possible architectures exist in the literature for the implementation of such quasi-cyclic LDPC codes.
Of course, there are other architectures that can be used for each of encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes, and the choice of a particular architecture is only one variant implementation of the invention.
In the example illustrated by
In the case where encoding device 10 is implemented at least in part in an FPGA programmable logic device, the configuration information is for example stored in one or more volatile memories of said FPGA into which the content is loaded upon initialization of said FPGA, from one or more non-volatile memories which may be internal or external to encoding device 10. Where appropriate, the non-volatile memory or memories preferably also store the configuration program product used to configure said FPGA.
Due to its particular architecture, encoding device 10 comprises many possible paths for the data bits to be encoded and/or for the encoded data bits. Thus, data bits corresponding to systematic bits can be sent from input interface 100 to the output interface via connections 104 and 105. Data bits to be encoded can be sent directly to third encoding circuit 108, via connection 104, without first traveling through first encoding circuit 106 or second encoding circuit 107. Data bits encoded by first encoding circuit 106 and/or by second encoding circuit 107 can be sent to third encoding circuit 108 or to output interface 101 (via connection 105), etc.
In addition, many particular types of LDPC codes correspond to quasi-cyclic LDPC codes and/or to juxtapositions and/or combinations of quasi-cyclic LDPC codes (SPC, IRA, ARA, etc.), and it is understood that such an architecture of encoding device 10 allows forming many different types of LDPC codes, by means of suitable configurations of the three encoding circuits 106, 107, 108.
Each of the three encoding circuits 106, 107, 108 for encoding LDPC codes can be configured to form different LDPC codes, corresponding for example to different types of LDPC codes and/or to different code rates for a same type of LDPC code. For example, it is possible to store several encoding matrices for a same encoding circuit 106, 107, 108, which can be used at different times depending on the LDPC code selected and implemented at a given time by encoding device 10.
Such an encoding device 10 makes it possible in particular to form the different types of LDPC codes envisaged for the standard defined by the CCSDS, which comprise LDPC ARA codes juxtaposing LDPC IRA and SPC codes in parallel, but also LDPC codes combining LDPC ARA and SPC codes in series.
In the rest of the description, it is considered in a non-limiting manner that:
With such a configuration of the three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes, encoding device 10 can in particular encode LDPC codes whose parity matrix H can be put in the following form:
an expression in which matrices E and F are diagonal matrices (identity matrix), and matrix D is a dual diagonal matrix (possibly incomplete in that the values of the two diagonals are not necessarily all non-zero, but all values outside the two diagonals are zero). Matrices A, B and C=(C′ C″ C′″) are matrices respectively supplementing matrices D, E and F to form quasi-cyclic LDPC code parity matrices. Such a parity matrix H corresponds for example to the case of an LDPC code combining LDPC SPC and ARA codes in series, the ARA code itself being a juxtaposition of LDPC IRA and SPC codes in series. In preferred embodiments, matrix B can be put in the form B=(B′ 0) or B=(0 B′), in order to limit the number of associated calculations.
With such a configuration of the three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes, encoding device 10 can also encode LDPC codes whose parity matrix H can be put in the following form:
an expression in which what was said in reference to expression [Math. 1] about matrices A, B, D and E is also valid for expression [Math. 2], but the matrices not necessarily being the same. Such a parity matrix H corresponds for example to the case of an LDPC ARA code juxtaposing LDPC IRA and SPC codes in series.
With such a configuration of the three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes, encoding device 10 can also encode LDPC codes whose parity matrix H can be put in the following form:
H=(A D) Math. 3
an expression in which what was said in reference to expression [Math. 1] about matrices A and D is also valid for expression [Math. 3], but the matrices not necessarily being the same. Such a parity matrix H corresponds for example to the case of an LDPC IRA code.
The parity matrices given by expressions [Math. 1] and [Math. 2] are advantageous in that they allow performing a simple encoding of the various quasi-cyclic LPDC codes of the three encoding circuits 106, 107, 108. One example of an implementation of the various quasi-cyclic LDPC codes in the case of an LDPC code whose parity matrix can be put in the form given by expression [Math. 1] is described below, and further considering, by way of example, that B=(B′ 0).
In practice, one can consider that:
We consider that matrix HIRA has dimensions mA·Z×nA·Z, that matrix HSPC1 has dimensions mB′·Z×nB′·Z, and that matrix HSPC2 has dimensions mC·Z×nC·Z. In order to facilitate implementation, parity matrices HIRA, HSPC1 and HSPC2 are transformed by means of a permutation matrix ΠX of dimensions mX·Z×mX·Z which performs row-column interleaving such that each row m·nX+n of a matrix X ∈ {A, B, C} becomes row n·mX+m in matrice ΠXT·X. We can thus calculate matrices H′IRA, H′SPC1 and H′SPC2 to be used for encoding (compatible with the form described in [RiShUr]), such that:
H′
IRA=[ΠAT·A|ΠAT·D·ΠA]H′SPC1=[ΠB′T·B′|ΠB′T·E·ΠB′]H′SCP2=[ΠCT·C|ΠCT·F·ΠC] Math. 4
Since matrices E and F correspond to the identity matrix, we have ΠB′T·E·ΠB′=E and ΠCT·FΠC=F.
The row vector of data bits to be encoded is denoted u, and the row vector of parity bits is denoted p. According to the form of the parity matrix H given by expression [Math. 1], it can be seen that vector p can be decomposed as follows:
p=[p
SPC1
|p
IRA
|p
SPC2] Math. 5
Also, it can be seen from the form of matrix B=(B′ 0) that the LPDC SPC1 code only takes into account part of the data bits to be encoded, so it is possible to decompose vector u as follows:
u=[u
SPC1
|u′] Math. 6
an expression in which vector uSPC1 comprises the data bits to be encoded which are used by the LDPC SPC1 code.
By designating as ySPC1=[uSPC1|pSPC1] and given that:
H′
SPC1·(ySPC1)T=0 Math. 7
then we deduce that the parity bits pSPC1 can be obtained by calculating the following expression:
p
SPC1=ΠB′T·B′·(uSPC1)T Math. 8
By designating as u1RA the row vector comprising the bits of vector u which are used by the LDPC IRA code, then the encoding of the LDPC IRA code to obtain vector pIRA can be carried out in a conventional manner according to the following expression:
Once vectors pSPC1 and pIRA have been calculated, the data bits supplied as input to the LDPC SPC2 code (third encoding circuit 108) correspond to a vector uSPC2=[u|pSPC1|pIRA]. Since matrix F corresponds to the identity matrix, vector pSPC2 can be calculated according to the following expression:
p
SPC2=ΠCT·C·(uSPC2)T Math. 10
The final LDPC code word formed, designated as yLDPC, is for example given by the following expression:
y
LDPC
=[u|p
SPC1
|p
IRA
|p
SPC2] Math. 11
In the example illustrated by
As illustrated by
In addition to these main steps, other steps may be implemented, for example to write the systematic bits into buffer memory 109 (or directly to output interface 101 in the case of encoding device 10 of
An exemplary implementation of encoding method 70 is now described, in the case of the encoding device of
Thus, proposed encoding device 10 makes it possible to optimize the processing operations, in particular by the possibility of carrying out numerous write accesses in parallel (into the respective input buffer memories of the three encoding circuits 106, 107, 108, and possibly into buffer memory 109), but also by the fact that certain encoding processing operations are carried out in parallel (by first and second encoding circuits 106, 107).
In preferred embodiments of encoding device 10, the input buffer memory of third encoding circuit 108 is of a size suitable for storing data corresponding to at least two data packets to be encoded. In the case of encoding device 10 of
What has been described with reference to
Through its various features and their advantages, encoding device 10 achieves the set objectives. In particular, encoding device 10 can flexibly encode different LDPC codes, using different configurations, in particular for the three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes. In addition, proposed encoding device 10 is compatible with high transmission rates, on the order of 10 Gbit/s. In particular, the inventors have implemented the LDPC codes proposed for the standard defined by the CCSDS on a Xilinx® KU060 FPGA programmable logic device, and have found that the expected transmission rate (10 Gbit/s/s) was achieved using a clock frequency of 400 MHz, by implementing a single encoding device 10 on the FPGA as described with reference to
Proposed encoding device 10 can be implemented to encode data on board a satellite, and the encoded data can be transmitted to a ground station or to another satellite. The encoded data can be transmitted via an optical link (in particular for a transmission rate of 10 Gbit/s/s) or via a radioelectric link (in the case of lower transmission rates, for example on the order of 1 Gbit/s/s).
More generally, it should be noted that the modes of implementation and embodiments considered above have been described as non-limiting examples, and other variants are therefore conceivable.
In particular, the invention has been described primarily considering an encoding device 10 to be carried on board a satellite in Earth orbit. However, in other examples, nothing excludes using encoding device 10 in terrestrial communication systems.
Furthermore, the invention has been described primarily considering an encoding device 10 comprising three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes. However, in other examples, nothing excludes considering a larger number of encoding circuits for encoding quasi-cyclic LDPC codes. But an encoding device 10 comprising exactly three encoding circuits 106, 107, 108 for encoding quasi-cyclic LDPC codes corresponds to a preferred embodiment, advantageous in particular from a point of view of compromise between offered flexibility (high) and associated memory footprint (limited).
[Foss] M. P. C. Fossorier, “Quasicyclic low-density parity-check codes from circulant permutation matrices”, IEEE Transactions on Information Theory, volume 50, No. 8, pages 1788-1793, August 2004.
[RiShUr] T. J. Richardson, M. A. Shokrollahi and R. L. Urbanke, “Design of capacity-approaching irregular low-density parity-check codes”, IEEE Transactions on Information Theory, volume 47, No. 2, pages 619-637, February 2001.
Number | Date | Country | Kind |
---|---|---|---|
20 08173 | Jul 2020 | FR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/FR2021/051347 | 7/19/2021 | WO |