The present invention relates generally to improved methods for the determination of Forward Error Correction (FEC) parameters in Discrete Multi-Tone (DMT) based Digital Subscriber Line (xDSL) systems (e.g. modems) that use FEC and convolutional interleaving to combat impulse noise in the presence of system imposed constraints.
Conventional high speed communications on copper media (e.g. standard telephone lines) use DMT technology and are bundled under the umbrella of xDSL. There are several variants of this technology currently deployed, namely Asymmetric Digital Subscriber Line (ADSL), ADSL2, ADSL2plus, and Very High Speed Digital Subscriber Line (VDSL). Some of these technologies are standardized by the International Telecommunications Union, Geneva, (ITU) as follows: “ITU-T Recommendation G992.1, Asymmetric Digital Subscriber Line (ADSL),” “ITU-T Recommandation G992.3, Asymmetric Digital Subscriber Line Transceivers 2 (ADSL2),” “ITU-T Recommendation G992.5, Asymmetric Digital Subscriber Line (ADSL) Transceivers—Extended Bandwidth ADSL2 (ADSL2plus),” and “ITU-T Recommendation G993.1, Very High Speed Asymmetric Digital Subscriber Line (VDSL) Transceivers.” These and other systems are the subject of ongoing and future standardization efforts.
One key feature of such xDSL modems is the use of FEC to combat the effects of impulse noise on the lines. The FEC used is typically the well known Reed Solomon code, with a maximum codeword size of 255 bytes. These coders add redundancy to data by appending R check bytes to each block of data, allowing for the correction of R/2 random errors per block, where:
N=K+R,
and there are K data bytes and R check bytes in each codeword block of N bytes.
In order to enhance the effectiveness of error correction, a convolutional interleaver is added to spread the error pattern over many DMT symbols, thus allowing for the correction of such errors without introducing excessive redundancy and, hence, overhead. The convolutional interleaver has the following property:
Δj=(D−1)j j=1, . . . , I−1,
where,
A necessary condition of such an interleaver is that D and I must be co-prime (i.e. have no common divisor). This has been enforced in different ways:
in ADSL D=2n I=N=odd integer, and
in VDSL D=M·I+1 with N=q·I,
where q is an integer fraction. Finally, a generalized interleaver has also been considered where:
in any DSL D=M·I+x with N=q·I x=1, . . . ,I−1,
with the constraint that x is chosen such that D and I are mutually co-prime. Generally, these conditions place one constraint on the choice of D and N.
In a DMT modem, the data is broken into frames and transmitted on a set of discrete tones in each frame, also called a DMT symbol. In xDSL, the frame or symbol rate is typically 4 kHz. The number of DMT symbols per FEC codeword is a variable designated as S in the standards. Traditionally, S is an integer or an integer fraction, but more recent standards have relaxed this to allow non-integer values of S. However, the minimum value of S is limited to some specified value Smin, which effectively limits the number of times the FEC decoder is run every DMT frame and has a direct influence on complexity and cost. This leads to a second constraint on the choice of FEC parameters.
The convolutional interleaver was introduced to combat impulse noise. Due to the nature of DMT modems, any impulse noise corrupts at least one whole DMT frame of data. This leads to the definition of a parameter, INPmin, that specifies how many DMT frames (symbols) the FEC must correct. This defines a third constraint on the choice of FEC parameters.
Other possible constraints on the choice of FEC parameters include the delay introduced by the interleaver, defined as MaxLatency, and the total memory required, defined a MaxMemory.
A DMT modem is required to allocate the bits in an input stream to the tones in a DMT frame. This process is known as bit allocation, and is based on the Signal-to-Noise Ratio (SNR) per tone, using well known algorithms based on the relationship:
bitsi=round((snr(tonei)−snrGap−margin+cg)/3),
where snr is expressed in dB, the snrGap is approx 9.7 dB, margin is a noise margin parameter, and cg is any coding gain. All bit allocation algorithms are required to take into account any coding gain introduced by the FEC, which is a function of the FEC parameters. This leads to an iterative solution where a first set of FEC parameters is determined assuming no FEC coding gain, and the parameters are adjusted to take into account the coding gain for the chosen FEC parameters. This process is repeated until no difference is observed. Thus, the final outcome is a process for choosing both the bit allocation and the FEC parameters using a computational engine on the modem to achieve optimum performance in the presence of all of the specified constraints.
In conventional implementations, the determination of the optimal FEC parameters is by some form of search over a large set of possible values in order to satisfy all of the constraints.
In various embodiments, the present invention provides procedures for computing FEC parameters given a set of constraints on maximum interleaver memory, maximum interleaver depth, maximum codeword size, maximum number of check bytes, maximum number of FEC codewords per DMT symbol, and minimum number of DMT symbols that the FEC must correct, as well as any constraints imposed by the interleaver. These procedures are implemented on a computational engine in a modem, enabling it to achieve optimal performance in all cases.
In addition these procedures can be applied as part of any bit loading algorithm to determine the optimal FEC parameters, taking into account the SNR profile, the FEC coding gain, the constraints of the framer, and any application specific constraints, as described above.
In one embodiment of the present invention, a method for the determination of Forward Error Correction (FEC) parameters in a Discrete Multi-Tone (DMT) based Digital Subscriber Line (xDSL) system includes providing an initial value for each of R (number of check bytes), N (codeword size in bytes), and D (interleaver depth in bytes); providing a set of constraints for one or more of maximum interleaver memory in bytes, maximum interleaver depth in bytes, maximum codeword size in bytes, maximum number of check bytes, maximum number of FEC codewords per DMT symbol, minimum number of DMT symbols for FEC correction, interleaver parameters, Signal-to-Noise ratio (SNR) profile, FEC coding gain, and framer parameters; and determining a constrained value for each of R, N, and D based upon the set of constraints.
In another embodiment of the present invention, a Discrete Multi-Tone (DMT) based Digital Subscriber Line (xDSL) system includes a processor operable for determining Forward Error Correction (FEC) parameters, the processor including a first algorithm operable for providing an initial value for each of R (number of check bytes), N (codeword size in bytes), and D (interleaver depth in bytes); a second algorithm operable for providing a set of constraints for one or more of maximum interleaver memory in bytes, maximum interleaver depth in bytes, maximum codeword size in bytes, maximum number of check bytes, maximum number of FEC codewords per DMT symbol, minimum number of DMT symbols for FEC correction, interleaver parameters, Signal-to-Noise ratio (SNR) profile, FEC coding gain, and framer parameters; and a third algorithm operable for determining a constrained value for each of R, N, and D based upon the set of constraints.
In a further embodiment of the present invention, a processor operable for determining Forward Error Correction (FEC) parameters includes a first algorithm operable for providing an initial value for each of R (number of check bytes), N (codeword size in bytes), and D (interleaver depth in bytes); a second algorithm operable for providing a set of constraints for one or more of maximum interleaver memory in bytes, maximum interleaver depth in bytes, maximum codeword size in bytes, maximum number of check bytes, maximum number of FEC codewords per DMT symbol, minimum number of DMT symbols for FEC correction, interleaver parameters, Signal-to-Noise ratio (SNR) profile, FEC coding gain, and framer parameters; and a third algorithm operable for determining a constrained value for each of R, N, and D based upon the set of constraints.
Using the naming convention developed in G.992.3, described above, it can be written:
where:
The following parameters are further defined:
First, considering the case where there is no constraint on Dmax and Smin, the following two relationships are considered:
Next, the parameters
and use mem=D·N are introduced. Rearranging the second equation as:
Substituting in the first equation:
It should be noted, however, that the data rate, dr, cannot exceed the maximum line rate, lrmax, minus the redundancy expressed as:
dr≦lrmax(1−β).
Equating the two equations above, β is solved for to yield the data rate as a function of INP as follows:
This yields the following values for β and the data rate:
Calculating the value of the latency when the maximum data rate is attained for a given INP:
Thus, it should be noted that, in the case of no constraints, the latency is constant until 50% redundancy is reached, and then becomes proportional to the latency. In practice, for constrained systems with quantified parameters, this forms a lower boundary on the latency expected.
Introducing constraints on Dmax and Smin, the case when S is limited from below to some minimum value is first examined:
S≧Smin.
Transferring this constraint to β:
which provides, for the largest value of R=Rmax:
Considering limiting Dmax, for maximum data rate:
from which, for the largest value or R=Rmax:
Combining this with the previous equation for β:
and the data rate is still provided by:
This provides an exact expression for the data rate as a function of INPmin, and demonstrates that the data rate is a function of β and the maximum memory, which is a constant. The constraints are all captured by the value of β. This then allows for the computation of a set of integer values for the FEC parameters R, N, and D, such that the rate is maximized for a given INPmin using the following steps:
Once these parameters are calculated, the value of S can be computed to meet the constraint on INPmin:
as well as the actual inp achieved by the chosen parameters:
It should be noted that if S is not constrained from below, the constraint on INPmin is exactly met. Otherwise, it will typically be exceeded due to the upward rounding of R to the nearest even integer. If the quantification error is too large, some adjustment to R and S is necessary to meet INPmin, while maximizing the data rate. This is accomplished by testing the next higher value of R and recomputing S to determine the new data rate. If it is larger then the first one chosen, this new value of R is used.
Next, applying the constraint imposed by the convolutional interleaver, the first case is when D is limited to powers of 2 and N is an odd integer, as in G992.3 and G992.5. In this case, the following procedure is used, starting with the integer values of R, N, and D determined above:
S is recomputed as before:
In this case, a situation may arise where R′>Rmax, requiring the adjustment of either R or D as follows:
Recomputing S and inp as before:
If S is not limited from below, the constraint on INPmin is again exactly met. Otherwise, the constraint is exceeded by a large margin and R′ is readjusted as follows:
Finally, S and inp are recomputed once more to make sure that the constraint is met. Again, in the case of large quantification errors in R (due to small R values, for example), a neighboring solution with a higher R may have to be examined to achieve the best possible data rate at the given INPmin.
Next, considering the case of the so-called triangular interleaver used in VDSL:
D=M·I+1 with N=q·I.
In this case, a number of extra degrees of freedom have been introduced. Again, starting with the integer values of R, N, and D computed above, a convenient, small value of M is chosen and I and q are calculated:
R, N, and D are then recomputed:
N′=q·I
R′=even integer≧β·N′.
D′=M·I+1
Next S and inp are computed, as above:
and it is checked to determine if inp≧INPmin. It should noted that, in this case, the value of M may have to be chosen again if the solution is unsatisfactory. Also, the final result may have to be adjusted by searching the nearest value of R for the best possible rate. In general, the granularity of this interleaver is much smaller than that based on D being a factor of 2, thus yielding an optimal result for a judicious choice of M in all cases.
Finally, in the case of the generalized interleaver defined by:
D=M·I+x with N=q·I x=1, . . . , I−1.
The situation is analogous to the one above, with the added advantage that D can be chosen very close to the original integer value by a proper choice of x. The process in this case is identical to the on above with the modification:
where x is chosen such that D and I are co-prime (i.e. have no common factors). The rest of the procedure is then identical to that described above for the case of the triangular interleaver.
This procedure for choosing the FEC parameters is then applied to one of the conventional methods of bit allocation by using the actual per bin snr (with the snr Gap and the margin added, but no coding gain) to compute the maximum line rate lrmax in the above equations. The coding gain due to the FEC obtained is then used to increase the maximum snr, and the FEC parameters are recomputed. This procedure is repeated until no appreciable difference in the FEC parameters results. This process yields the optimal bit allocation and FEC parameters that guarantee meeting all of the system. imposed constraints, without conducting an exhaustive search. The procedure can be implemented on a computational engine as part of any xDSL modem, allowing it to achieve optimal performance in the presence of the various system imposed constraints.
Although the present invention has been illustrated and described with reference to preferred embodiments and/or examples thereof, it will be readily apparent to those of ordinary skill in the art that other embodiments and/or examples may perform similar functions and/or achieve like results. All such equivalent embodiments and/or examples are within the spirit and scope of the present invention and are contemplated and covered by the following claims.
The present non-provisional patent application claims the benefit of priority of U.S. Provisional Patent Application No. 60/617,047, entitled “DETERMINATION OF FEC PARAMETERS IN DMT BASED xDSL SYSTEMS IN THE PRESENCE OF SYSTEM IMPOSED CONSTRAINTS,” and filed on Oct. 12, 2004, which is incorporated in full by reference herein.
Number | Date | Country | |
---|---|---|---|
60617047 | Oct 2004 | US |