None
N/A
This invention relates to the class of error-correcting codes known as Low-Density Parity-Check (LDPC) codes, and more particularly to a set of such codes whose parity-check matrices have irregular column or irregular row weighting, or both, and have a pseudo-random structure. The use of such codes has particular advantages for a two-way communications system employed in an electrical power distribution network.
It is well-known in the art to encode information transmitted over digital communication channels to enable the detection and/or correction of errors by the receiver. Various techniques are employed to add redundancy to a transmitted message. Parity-check codes are a type of code where the redundant information is derived from the message by performing summations or parity checks on the bits of the message. Errors in transmission can be detected by repeating these summations at the receiver, and comparing the results to the parity checks computed by the transmitter. If it is found that information has been corrupted or lost, some types of parity-check codes have decoding procedures that allow the receiver to correct errors introduced by the channel, or restore what has been lost. For this purpose, there are a number of parity check codes available each of which has certain advantages over other codes. Recent research has found that parity-check codes whose parity checks are relatively sparse—that is, each parity check bit is a sum of relatively few message bits—perform particularly well with iterative decoding methods. These codes are known as low-density parity-check or LDPC codes.
Unlike most parity-check codes, LDPC codes are described mainly by their parity-check or decoding matrices, rather than by their encoding matrices. Parity-check matrices derived from random constructions tend to perform quite well, but the resulting encoders tend to be expensive to implement. On the other hand, parity-check matrices with a definite structure result in simple encoders, but do not always have good decoding properties. Many of these structured codes have regular row and column weight (the number of 1s in every row or column of the parity-check matrix is identical), but recent research has demonstrated that codes with irregular row and column weight often leads to improved error correction capability. One type of structured LDPC code with a very simple encoder is a block-cyclic code where the parity-check matrix consists of blocks each of which have a cyclic structure. These codes often have regular row and column weight, but a recent article by S. Johnson and S. Weller, “A Family of Irregular LDPC Codes with Low Encoding Complexity,” IEEE Communications Letters, vol. 7, pp. 79-81, February 2003, demonstrates a way to construct block-cyclic LDPC codes with irregular column weight that outperform similar codes with regular column weight. However, their approach has a limited range in its allowable weight distribution, and does not allow for an irregular row weight.
Many power distribution systems now employ the TWACS® system to send and receive messages over electrical power lines to acquire information on the status of power users including current power usage. In an effort to improve the communications capability of a TWACS®, research has been done on LPDC error control codes. This research has shown that the encoders for typical randomly constructed LDPC codes exceed the storage and computation requirements of TWACS® transmitters.
The present invention is directed to a family of irregular LDPC codes having a pseudo-random structure and low encoding complexity. The family of codes described allows for both irregular column and irregular row weight and provides a broader range of weight distribution than the codes described by Johnson and Weller. In addition, the family allows block-cyclic LDPC codes to have a pseudo-random structure.
The present invention is directed to a class of LDPC codes comprising a set of extensions to block-cyclic codes and provides for a much larger set of codes with irregular row or irregular column weighting together with greater control over row or column weight, and with parity-check matrices having a pseudo-random structure. These LDPC codes can be implemented with only a small increase in complexity over regular block-cyclic codes. Such codes are useful in the TWACS® system used to transmit and receive data over a power distribution system's electrical lines. In particular, the use of shortened, overlapping, or permuted blocks in a code's parity-check matrix allow for low-complexity encoding while achieving the improved performance of codes with irregular weight and pseudo-random structure.
Other objects and features will be in part apparent and in part pointed out hereinafter.
The objects of the invention are achieved as set forth in the illustrative embodiments shown in the drawings which form a part of the specification.
Corresponding reference characters indicate corresponding parts throughout the several views of the drawings.
The following detailed description illustrates the invention by way of example and not by way of limitation. This description will clearly enable one skilled in the art to make and use the invention, and describes several embodiments, adaptations, variations, alternatives and uses of the invention, including what I presently believe is the best mode of carrying out the invention. As various changes could be made in the above constructions without departing from the scope of the invention, it is intended that all matter contained in the above description or shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.
Referring to
Power line communications are noisy. Random noise, EMI and RFI effects, non-linear power loads, and discontinuities or similar conditions can result in transmissions being corrupted. Messages transmitted using the TWACS® system often include information vital to the current performance of the system; and as such, it is important to be able to readily identify and correct corrupted or lost portions of a transmission. Accordingly, it is advantageous to employ a block-cyclic LDPC code having pseudo-random characteristics, which enables improved error correction relative to traditional coding techniques. Further, LDPC codes, which were first developed in the 1960s, have been more recently shown to perform near the theoretical limits for digital communications using iterative decoding techniques.
A number of factors must be considered in the design and implementation of a LDPC code. One is the desired bit error rate (BER); a second is the complexity of implementation of the code. The sparse nature of the parity check matrix used with a LDPC code makes the complexity of the decoding algorithm proportional to the message length. However, the associated encoding matrix for an arbitrary sparse parity-check matrix will have implementation complexity proportional to the square of the message length, which is too expensive for many applications. A recent approach to designing LDPC codes has been the use of algebraic and combinatorial constructions. These have been found to be particularly useful for high-rate codes with short block sizes because they avoid short cycles in the decoder that tend to reduce performance. Some of these LDPC codes, particularly those based on cyclic structures, also have the benefit of low encoding complexity. On the other hand, many of these combinatorially constructed codes have regular row and column weight, which is known to not perform as well as those having a more irregular structure. In the article mentioned earlier, Johnson and Weller have proposed a class of these codes that achieve irregular column weight and therefore improved performance.
The set of LPDC codes of the present invention, as described herein, comprise extensions to block-cyclic codes. The result is a much larger set of codes having irregular row or column weights, but also having greater control over the weighting. The codes incorporate parity check and encoding matrices having a pseudo-random structure. Importantly, this is achieved with only a small increase in complexity over regular block-cyclic codes.
Using standard notation from coding theory, an (N,K) code encodes K input bits into a message block 9 of length N by adding M=N−K redundant bits. The code is said to have a rate of K/N, representing the efficiency with which input bits are transmitted relative to the total number of transmitted bits. For parity-check codes, a parity check matrix H will have dimensions M×N, and a generator matrix G will have the dimensions K×N. For any given parity check matrix H, GT is defined as a basis for the null space of the matrix. If matrix H is defined as:
H=[A B] (1)
where A is a circulant matrix (meaning each column is a cyclic shift of the previous column) containing the first M columns and B is a circulant matrix containing the remaining columns of matrix H, then a systematic form of the matrix's null space GT can be constructed as follows:
where IK is an identity matrix (meaning that it has ones on its diagonal and zeros elsewhere) of size K×K.
The inverse of a circulant matrix is also circulant, as is the product of two circulant matrices. Accordingly, since A and B are both circulant matrices, then the matrix A−1B is also a circulant matrix. For a code where matrix B is circulant, or composed of multiple circulant matrices, and A is an invertible matrix, the generator matrix for the code also has a circulant structure. This allows the code to be implemented using a shift-register-based hardware implementation such as the encoder 10 shown in
Use of a circulant structure imposes certain limitations. For example, a block-circulant matrix with an even weight will not be invertible using binary (modulo 2) arithmetic. Also, an odd-weight does not mean a circulant matrix will be invertible; although, in practice, most are. Therefore, a parity-check matrix with a block-circulant structure implies that at least one block of parity check H matrix must have an odd weight if generator matrix G is to have a block-circulant structure. This is important because LDPC codes of weight 4 are common.
An advantage of combinatorial LDPC code constructions is avoidance of short cycles in a Tanner graph. As is well-known to those skilled in the art, a Tanner graph is a bipartite graph an example of which is shown in
The present invention is directed to a set of extensions to the structure of codes such as those described by Johnson and Weller to create LDPC codes having irregular row weight and an increased randomness in the overall code structure of the code, and having only a small increase in encoding complexity over those described in the Johnson and Weller article. The extensions are collectively described within the framework of generalized block-cyclic (GBC) codes.
A generalized block-cyclic code is defined as a code whose M×N parity check matrix H is expressed as:
H=[C P], (3)
where C is a circulant matrix that is invertible under modulo 2 arithmetic and P is a sum of L component matrices. That is:
Each component matrix Pl contains Cl columns with non-zero elements, where Cl≦M. Columns containing parity checks are taken from an M×M circulant matrix defined as:
Plcir=[Pl,1Pl,2 . . . Pl,M], (5)
where the vector Pl,k is created from vector Pl,j by circularly shifting Pl,j k−j times.
If Cl=M, Pl is defined as:
Pl=└0 Plcirc0┘ (6)
and the zero padding for each block is defined so that
In the generalized version of this structure, it is assumed that Cl≠M, and that each column vector P can appear in any arbitrary location in Pl. This will work so long as matrix P contains at least one vector Pl,j in each column so that every column has a weight greater than zero.
Using the encoder structure from equation (2), the encoder for this parity-check matrix will be:
For a data vector d of length N, the associated codeword c will be:
A set of encoder blocks is now defined as: El=C−1Pl. Each encoder block has the same cyclic structure as its associated decoder block. The parity-check portion of a codeword is generated as the sum of the outputs of each encoder block. An encoder 10 for this purpose is, as noted, shown in
Beyond basic codes such as those defined by equation [1], the method of the present invention offers the following additional features:
1. Shortened Blocks. When Cl=M, the resulting code can have an irregular column weight, but will still have a regular row weight. However, by allowing Cl<M an irregular row weight can be achieved as well.
2. Overlapped Blocks. Allowing arbitrary permutations of the columns of matrix Pl allows some non-zero columns to coincide with non-zero columns of matrix Pj, creating columns with a different column weight. Generally, the weight is increased; but it can be reduced if a 1 appears at the same location in two of the matrices. However, as code size increases, the matrices Pj become increasingly sparse, so for randomly chosen codes this becomes increasingly unlikely.
3. Arbitrarily Permuted Blocks. The fact that columns of a matrix Pl can have columns of zeros between them, and that adjacent columns can have an arbitrary number of shifts, allows a single block to overlap with multiple other blocks, with the overlapping being somewhat irregular. If input bits are uncorrelated, using column permutations only to interleave blocks provides no benefit.
Shortening and overlapping blocks generally increases the number of blocks needed to insure all columns have a non-zero weight. To do this requires at least one additional cyclic block beyond that nominally required to generate a parity check matrix having the required dimensions. This will increase total encoding complexity, but the affect can be kept relatively small depending on how many additional blocks are used.
The effects of these three generalizations on code structure are illustrated in
The matrices of
In
In
One consideration in the design of LDPC codes is the presence of short cycles in the Tanner graph of the decoder. See
With respect to the two-way communications system for power distribution networks, it will be appreciated that there are size and data capacity limitations inherent in the transponders installed at a meter. Use of the LDPC codes of the present invention enable an improvement in communication reliability while keeping the implementation costs within the design constraints imposed by the transponder.
In view of the above, it will be seen that the several objects and advantages of the present invention have been achieved and other advantageous results have been obtained.