# Patent

## Title
Forward error correction with configurable latency

## Abstract

A method of performing forward error correction with configurable latency, where a configurable latency algorithm evaluates a target Bit Error Rate (BER) against an actual BER and adjusts the size of a configurable buffer such that the target BER may be achieved when utilizing the smallest buffer size possible. When errors are corrected without the utilization of each of the configurable buffer locations, the algorithm reduces the size of the buffer by y buffer locations; the algorithm may continue to successively reduce the size of said buffer until the minimum number of buffer locations are utilized to achieve the target BER. If the buffer locations have been reduced such that the buffer size is too small and the target BER cannot be achieved, the algorithm may increase the size of the buffer until the minimum number of buffer locations are utilized to achieve the target BER.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
Not Applicable
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
Not Applicable
REFERENCE TO A SEQUENCE LISTING, A TABLE, OR A COMPUTER PROGRAM LISTING COMPACT DISC APPENDIX
Not Applicable
BACKGROUND OF THE INVENTION
1. Technical Field of the Invention
The present invention discloses a method of performing forward error correction with a configurable latency for digital communications systems.
2. Background of the Invention
Long-distance digital communication systems, such as optical submarine cable systems, are responsible for the transmission of significant amounts of data. This data is transmitted across great distances, often from continent to continent. During transmission, data can become corrupted from noise within transmission channels, faults in transmission or receiving devices, or data errors from reading from and writing to an elastic store. Therefore, Forward Error Correction (FEC) is employed to minimize the error probability of transmitted data.
Claude Shannon first suggested a maximum possible channel throughout which developed into a theorem of error correction describing the addition of redundant data to payload data for the correction of errors from channel noise or interference during transmission. This FEC increases the reliability of transmitted data by encoding a block of payload data with redundant data bits through an algorithm generated at the transmitter, which allows a decoder to determine if an error has occurred. The decoder employs the code generated by the encoder to identify what information, if any, has been corrupted by noise or interference during transmission, and the decoder can in turn correct these errors.
Typically, a FEC system architecture provides a fixed latency system, meaning that the architecture could be limited to the type of data application it can be utilized with. To allow the system to adapt for use with various data applications, a method of providing a configurable latency FEC is required.
SUMMARY OF THE INVENTION
The present invention discloses a method of performing forward error correction with configurable latency, where a configurable latency algorithm evaluates a target Bit Error Rate (BER) against an actual BER and adjusts the size of a configurable buffer such that the target BER may be achieved when utilizing the smallest buffer size possible.
The configurable latency algorithm begins by utilizing the maximum number of available buffer locations within the configurable buffer to achieve the target BER. When errors are corrected without the utilization of each of the configurable buffer locations, the algorithm reduces the size of the buffer by y buffer locations; the algorithm may continue to successively reduce the size of said buffer until the minimum number of buffer locations are utilized to achieve the target BER. If the buffer locations have been reduced such that the buffer size is too small and the target BER cannot be achieved, the algorithm may increase the size of the buffer until the minimum number of buffer locations are utilized to achieve the target BER.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a block diagram of the architecture of the present invention.
FIG. 2 illustrates a block diagram of an illustrative embodiment of the invention.



DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 depicts an illustrative embodiment of the present invention, whereby configurable buffer (22) is set to utilize the maximum number of buffer locations. For exemplary purposes, FIG. 2 illustrates configurable buffer (22) with 16 buffer locations, labeled 0-15.It should be noted that FIG. 2 is provided for exemplary purposes and is not meant to limit the scope of the invention, as any size buffer may be utilized. As illustrated in FIG. 1, input data (20) is transmitted into the system and written into configurable buffer (22), FEC block (24) and algorithmic logic block (28), where algorithmic logic block (28) represents the configurable latency algorithm. Data input (20) includes a target BER; when given this Target BER, the algorithmic logic block (28) starts by utilizing the maximum number of configurable buffer (22) locations to achieve the target BER.
As data is input to the system, FEC block (24) is able to act upon the data as it is transmitted through configurable buffer (22). As illustrated, data corrected by FEC block (24) is output from configurable buffer (22) into error monitor (26). Error monitor (26) evaluates the actual BER and inputs the actual BER into algorithmic logic block (28), allowing algorithmic logic block (28) to compare the target BER and actual BER such that the algorithmic logic block (28). The configurable latency algorithm of algorithmic logic block (28) is now able to determine the amount of buffer locations and the amount of latency required to output the correct BER and can effectively conFIG. the number of locations required in configurable buffer (22).
If the data travels through configurable buffer (22) such that the target BER is achieved without utilizing each of the configurable buffer (22) locations, the configurable latency algorithm of algorithmic logic block (28) reduces the number of configurable buffer (22) locations utilized by x and begins the process again. This process is repeated to reduce the number of locations of configurable buffer (22) to the minimum buffer size. Once errors occur, or the data travelling through configurable buffer (22) cannot achieve the target BER, the configurable latency algorithm increases the number of locations of configurable buffer (22) by y. It should be noted that x does not have to be the same value as y.
An illustrative embodiment of the present invention employs FEC in the form of a Bose Ray-Chaudhuri (BCH) (1023, 993) parent code, shortened to BCH (1000, 970). BCH codes are cyclic, error-correcting, digital codes of variable lengths which are able to correct errors in transmitted data. BCH codes typically employ a polynomial over a finite field, and a BCH codeword consists of a polynomial that is a multiple of the generator polynomial. The illustrative embodiment of the present invention operates on an m=10 Galois field with a t=3 value, where t represents the number of errors that can be corrected within a row code or a column code. It should be noted that this example is provided for illustrative purposes only and is not meant to limit the scope of the invention, as other FEC codes may be utilized.
By utilizing this configurable latency architecture, the same FEC architecture can be adapted for use across communication channels of varying BERs, while still maintaining data integrity. Such adaptability is desirable where the same architecture can be adapted for use with various data applications.

## Claims

1. A method of performing forward error correction with configurable latency, comprising:
(a) a plurality of data input to a transmission system, wherein said data includes a target bit error rate;
(b) a configurable size buffer with a plurality of buffer locations, wherein a forward error correction code corrects said data as said data is transmitted through said buffer;
(c) an error monitor to evaluate an actual bit error rate of said data output from said configurable size buffer; and
(d) a configurable latency algorithm, wherein said algorithm begins by utilizing the maximum number of available buffer locations to achieve said target bit error rate, and said algorithm then reduces the size of said buffer by y buffer locations when errors are corrected without the utilization of each of said buffer locations, whereby said algorithm may continue to successively reduce the size of said buffer until the minimum number of said buffer locations are utilized to achieve said target bit error rate or, where said buffer locations have been reduced such that said buffer size is too small and said target bit error rate cannot be achieved, said algorithm may increase the size of said buffer until the minimum number of said buffer locations are utilized to achieve said target bit error rate.

2. The method of claim 1, wherein said forward error correction code is a Bose Ray-Chaudhuri (BCH) code.

3. The method of claim 2, wherein said Bose Ray-Chaudhuri (BCH) code is a BCH (1023, 993) parent code, shortened to a BCH (1000, 970) code.

4. The method of claim 1, wherein x=y or x≠y.