CROSS REFERENCE TO RELATED APPLICATION This application is a Divisional Application of application Ser. No. 10/116,132, filed Apr. 5, 2002, currently pending, and incorporated by reference herein.
BACKGROUND OF THE INVENTION The present invention is directed to a method and apparatus for decoding data that has been encoded by conventional concatenated block and convolutional encoding. The method and apparatus provide improved system performance in the presence of pulsed and continuous interference. Error correction of conventionally encoded data is improved, and the overhead rate (number of code/parity bits) is not increased.
Forward Error Correction (FEC) is a common method of achieving data transmission with low error rates. FEC coding techniques transmit data in encoded form by encoding the data with added redundancy or parity data, which is used by a decoding device to detect and correct errors introduced during transmission or passage of the data between a source and a destination. Generally, data does not have to be retransmitted to correct errors.
The ability of FEC systems to correct errors without retransmission makes them suitable for use in satellite communications systems. Many satellite communications systems use a conventional form of FEC coding; concatenated Viterbi and Reed Solomon coding. Convolutional encoding with Viterbi decoding is capable of correcting disperse, scattered errors, as caused, for example, by white noise. Reed Solomon (block) coding is capable of correcting limited-size burst errors, as caused, for example, by pulsed noise. In combination, concatenated convolutional and Reed Solomon coding improve system performance in the presence of pulse and scattered interference. Nevertheless, communications systems using such coding that are near multiple or high duty cycle radars often suffer from performance degradation. There is a need for a mitigation technique that allows FEC coding systems to compensate for pulse error patterns, as for example, are typically introduced by multiple interfering and/or high duty cycle radars.
SUMMARY OF THE INVENTION It is an aspect of the present invention to provide a method and apparatus for decreasing the bit error rate (BER) of decoded concatenated Reed Solomon and convolutionally encoded data.
It is another aspect of the present invention to provide a system for predicting when a Viterbi decoder in a concatenated decoder is likely to erroneously decode a portion of data.
It is yet another aspect of the present invention to provide a system for using bit quality information to both use soft-decision Viterbi decoding and to predict or detect when a segment of convolutionally encoded data is likely to be erroneously decoded by a Viterbi soft-decision decoder.
It is another aspect of the present invention to provide a system for tagging for erasure decoded symbols output by a Viterbi soft-decision decoder that will be further decoded by Reed Solomon decoding using erasure.
It is another aspect of the present invention to provide a decoding unit with a Viterbi decoder providing input to Reed Solomon decoder, where both decoders perform soft-decision based decoding according to bit-quality data of the bits being decoded.
It is yet another aspect of the present invention to provide a system with a concatenated Reed Solomon and Viterbi decoder, having a sliding window detector that identifies or detects bursts of low quality bits in the Viterbi input, where the system tags for erasure Viterbi decoder output that corresponds to the identified bursts.
It is also an aspect of the present invention to provide a system capable of improved decoding of data encoded with conventional concatenated Reed Solomon and Viterbi decoders, without requiring modifications of existing encoders.
It is another aspect of the present invention to provide a concatenated decoding unit where a first decoder is concatenated with a second decoder, and both decoders perform soft-decision decoding based directly or indirectly on the correctness of bits of data before they are decoded by the first decoder.
The above aspects may be attained by a system that identifies a portion of data with a probability of being erroneously decoded by a convolutional decoder, that decodes the data with the convolutional decoder, and that further decodes the data with a second decoder by taking into account that the data has a portion that has been identified to have a probability of having been erroneously decoded by the convolutional decoder. The further decoding may be performed by a blocked decoder, and the convolutional decoder and the blocked decoder perform soft-decision decoding according to quality information derived from the quality of a signal from which decoded data has been obtained. The soft-decision convolution decoding may be carried out with soft-decision Viterbi decoding, and the block decoding may be carried out with Reed Solomon decoding. The above aspects may also be carried out by identifying or detecting a portion of data with a probability of being erroneously decoded by a convolutional decoder; decoding the data with the convolutional decoder; and further decoding the data with a second decoder by taking into account that the data has a portion that has been detected or identified to have a probability of having been erroneously decoded by the convolutional decoder.
These, together with other aspects and advantages which will be subsequently apparent, reside in the details of construction and operation as more fully hereinafter described and claimed, reference being had to the accompanying drawings forming a part hereof, wherein like numerals refer to like parts throughout.
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1 shows a conventional Forward Error Correction (FEC) coding system.
FIG. 2 shows a detailed version of aconventional FEC decoder14.
FIG. 3 shows adecoding unit60.
FIG. 4 shows a decoding process carried out by thedecoding unit60.
FIG. 5 shows an embodiment of the process shown inFIG. 4.
FIG. 6 shows an embodiment of a decoder of the present invention.
FIG. 7 shows an embodiment of a process of the present invention.
FIG. 8 shows a process by which operating parameters of the M ofN detector130 may be determined.
FIG. 9 showsbit quality thresholds210 and212.
FIG. 10 shows an example of bit error rate predictions based on different M, N, and low-quality voltage threshold values.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Before discussing the invention in detail, the operation of a conventional system will be described.FIG. 1 shows a conventional Forward Error Correction (FEC) coding system.Data input10 is passed to anFEC encoder12. TheFEC encoder12 includes afirst encoder16, and asecond encoder18. Thefirst encoder16 and thesecond encoder18 perform concatenated linear FEC encoding. Thefirst encoder16, sometimes called the outside encoder, is typically a block encoder. Thedata input10 is block encoded by thefirst encoder16, whose output is passed to thesecond encoder18. Thesecond encoder18, sometimes referred to as the inner encoder, typically performs convolutional encoding of the data output by thefirst encoder16. The convolutionally and block encodeddata20 is output by theFEC encoder12.
The FEC encodeddata20 is transferred across adata transfer path22. Thedata transfer path22 is typically a radio transmission link, a data network path, a databus, etc. Noise is typically introduced in the data transfer path, which makes reception of the correct data difficult. A storage device, such as a digital optical storage disk, may also be used as adata transfer path22. In such a case, FEC encodeddata20 is stored on the disk, and is read from device and passed to anFEC decoder14.
The FECdecoder14 is equipped with afirst decoder24 and asecond decoder26. Thefirst decoder24, often referred to as the inner decoder, decodes the FEC encodeddata20 with a decoding process corresponding to the encoding performed by thesecond encoder18. Output of thefirst decoder24 is processed by thesecond decoder26, also known as the exterior decoder. Thesecond decoder26 performs a decoding process corresponding to the encoding performed by thefirst encoder16. The resulting FEC decodeddata output28 is approximately equal to thedata input10, where effects of noise added to the FEC encodeddata20 introduced during transfer across thedata transfer path22 are mitigated by either thefirst decoder24 or thesecond decoder26. Perfect error correction is not generally guaranteed, and some bits in the decodeddata output28 may not equal their counterparts in thedata input10.
FIG. 2 shows a detailed version of aconventional FEC decoder14.Analog amplifiers40 amplify a received analog signal. The amplified signal is fed to a rectifying analogdigital converter42. TheAGC circuit48 maintains the amplifier level so as to not overdrive the converter. Theconverter42 derives from the amplified signal digital data, which is passed to a quadrature phase shift keyed (QPSK)demodulator44. The QPSK demodulator44 uses variations in 90 degree phase shift intervals in the amplified digital signal to weight or rank the quality of a bit corresponding to a given 90 degree interval. The QPSK demodulator44 outputs three bits for each one-bit data value, where the three bits indicate whether the data value is 0 or 1, and also indicate the level of correctness of the 0 or 1 value. There are eight possible levels of correctness or quality, for example, zero through seven. A level of zero would indicate a high level of correctness that a binary zero was sent and at the same time a very low level of correctness that a binary one was sent. A level of seven would indicate a high level of correctness that a binary one was sent and at the same time a very low level of correctness that a binary zero was sent. Most importantly, a level of three or four would indicate high uncertainty for either a binary zero or a binary one. Thus, levels of correctness of three or four typically indicate low quality bits. The 3 bit units outputted by theQPSK demodulator44 are received by the automatic gain control (AGC)48, which adjusts the gain of theamplifiers40.
A Viterbi decoder50 (inner decoder) receives the correctness-weighted data bits and performs conventional soft-decision Viterbi decoding. The first decoded output of theViterbi50 is passed to the de-interleaver52, which may form Reed Solomon symbols by forming 8-bit groups from the Viterbi output, and which de-interleaves the output of theViterbi decoder50. When the de-interleaver is used to form the symbols for Reed Solomon decoding, the de-interleaver52 may be considered part of the Reed Solomon decoding process. The output of the de-interleaver52 flows to the Reed Solomon decoder54 (outer decoder). TheReed Solomon decoder54 performs Reed Solomon decoding without erasure and without referring to the correctness level of the data decoded by theViterbi decoder50. This feature is discussed in detail below. TheReed Solomon decoder54 outputs decodedoutput data56, which approximately equals thedata input10.
The conventional concatenated Viterbi and Reed Solomon decoder described above may be implemented with available hardware. For example, an L64704 satellite decoder, produced by LSI logic, may be used.
It has been observed by the present inventors that conventional concatenated convolutional and block decoders sometimes produce bursts of errors at the convolutional decoding stage when low quality bits occur in bursts or groups. Such bursts may occur randomly as a result of receiver noise, or they may occur regularly as a result of nearby pulse sources, such as pulse radar.
Viterbi decoding is accurate at correcting intermittent or interspersed corrupted bits. The value of a Viterbi output bit (a “hard” 1 or 0) depends in part on the quality measure of the H previous input bits, where H is the code history size. When a number of low quality bits appear sequentially or nearly sequentially, the Viterbi decoder generates output errors, usually without any indication of such error.
Reed Solomon decoding is well suited to correct these bursts of errors. Typically, bits are grouped into 8 bit symbols, groups of which form codewords. The codewords (or blocks) of 8 bit symbols contain redundancy data symbols, or parity symbols, which are used to correct a number of symbol errors equal to one-half the number of redundant, or parity, symbols (when erasure, discussed below, is not used). If any bit in a symbol is corrupted, then the entire symbol is corrupted. For example, if a Reed Solomon decoder is capable of correcting up to 10 symbol errors, and an error burst of 11 bit in error occurs, only 2 or 3 Reed Solomon symbols in a codeword might be in error, which the exemplary Reed Solomon decoder can easily correct. However, if the 11 bit errors were dispersed evenly throughout the code word, up to 11 symbols could be in error. The Reed Solomon decoder can correct no more than 10 symbol errors, and therefore the codeword containing the 11 bit/symbol errors would be in error or corrupt. That is to say, the Reed Solomon decoder could not correct the codeword.
With Reed Solomon decoders, if symbol errors are known before decoding, Reed Solomon decoding with erasure may be performed. With erasure, symbols in error are ignored. Error symbols may be ignored or erased because the Reed Solomon decoder decides which codeword was intended or sent based on the minimum distance between the received codeword and each of the set of possible matching codewords. This symbol difference count is sometimes referred to as the Hamming distance.
If L is defined to be the number of symbols in a codeword containing 1 or more bit errors, and S is defined to be the number of symbols erased from the codeword, then D, the number of parity symbols included with the codeword, is greater than or equal to two times L plus S. This relation may also be expressed by the formula number 2L+S<D. It can be seen that if all error symbols in a codeword could be identified and erased, twice as much interference duty cycle would be mitigated. In other words, if all symbols with errors were known and ignored (erased), then the distance to the correct Reed Solomon codeword would be 0. However, there is a limit on the number of erasures within a codeword; too many symbol erasures may lead to a Hamming distance of 0, resulting in the unacceptable possibility of matching multiple codewords. Thus, the correct codeword could not be accurately selected or determined.
In conventional concatenated Reed Solomon Viterbi decoders, Reed Solomon decoding with erasure is not used. Viterbi decoded output received by the Reed Solomon decoder does not include bit quality or correctness information. In previous systems there has been no readily apparent way to associate or identify error-prone groups of low quality bits received by the Viterbi decoder with low quality Reed Solomon symbols. Furthermore, if all Reed Solomon symbols containing bits corresponding to low quality Viterbi input bits are erased, system performance suffers, because many of those low quality bits (and corresponding symbols) would be corrected by the Viterbi decoder before they are received by the Reed Solomon decoder.
By predicting which Viterbi input bits are likely to fail to be corrected by the Viterbi decoder, we have made it is possible to perform Reed Solomon erasure on symbols containing or corresponding to those pre-identified Viterbi error-prone bits, thereby improving throughput and/or reducing the overall bit BER.
One aspect of the present invention enables near optimum Reed Solomon decoding with erasure in concatenated Viterbi and Reed Solomon coding systems. Characteristics or parameters of low quality bit groupings that are likely to be erroneously Viterbi decoded, are determined in advance. These characteristics are used to identify error patterns, information of which is used for Reed Solomon erasure. A process of determining these characteristics or parameters is discussed in detail further below, with reference toFIGS. 8-10.
When bursts of input noise occur, a string or sequence of input bits will have a high concentration of bits with a low correctness level or quality measure. When the noise pulse is long enough, there is a high probability that the Viterbi output will produce a corresponding error burst. Because, as discussed above, the convolutional or Viterbi decoder decodes an output bit based on a limited number of consecutive previous input bits (bit history H), a Viterbi error output is expected. Viterbi error correction fails when the Viterbi decoder is supplied with a string of consecutive, or nearly consecutive, low-quality bits. The length of a pulse of low quality bits that will have a high probability of erroneous Viterbi decoding depends on a number of factors, discussed further below with reference toFIGS. 8-10. Knowing such factors in advance, the Reed Solomon decoder can be notified when the Viterbi decoder is likely to break down due to an error burst.
The soft-decision bit quality data (correctness bits) already being supplied to the Viterbi decoder is processed in parallel by a detector, while or before being processed by the Viterbi decoder. This sliding window detector identifies bit quality patterns or groupings that are likely to result in Viterbi failure, and such identification is used by the Reed Solomon decoder to perform erasure on corresponding symbols likely to contain corresponding Viterbi errors.
FIG. 3 shows adecoding unit60. FEC encoded data is received by thedecoding unit60. Abit quality evaluator62 assigns a quality or correctness weighting to each input bit. The correctness-weighted data is processed by adetector64 and afirst decoder66. Asecond decoder68 decodes the output of thefirst decoder66, based on or according to error identification information received by thedetector64. Thesecond decoder68 outputs FEC decodeddata output28, which is approximately equal todata input10; the source data before being FEC encoded. In a preferred embodiment, a demodulator may serve as the bit quality evaluator, thefirst decoder66 may be a convolutional or Viterbi decoder, thedetector64 may perform error detection on a sliding window of M of N bits, and thesecond decoder68 may be a Reed Solomon decoder using erasure based on information provided by thedetector64.
FIG. 4 shows a decoding process carried out by thedecoding unit60. A portion of FEC encodeddata20 being evaluated by thebit quality evaluator62 is identified80 to be prone to erroneous decoding by thefirst decoder66. The output of thefirst decoder66 is further decoded84 with thesecond decoder68, by taking into account a portion of encodeddata20 that has been identified as prone to be erroneously decoded.
FIG. 5 shows an embodiment of the process shown inFIG. 4. Thedecoding unit60 receives100 a signal with convolutional and Reed Solomon encoded data. A rank or level of correctness is assigned102 to bits according to the quality of the signal. The quality rated bits are assessed104 in thedetector64. A portion of quality ranked data in thedecoder64 or sliding window is identified106 as having a probability of being erroneously convolutionally decoded by thefirst decoder66. After or during the assessing104 and the identifying106, the quality ranked bit data generated by the assigning102 is convolutionally decoded108 by thefirst decoder66. A portion of the data identified106 is convolutionally decoded108 along with the other quality ranked data. The convolutionally decoded data generated by theconvolutional decoding108 is block decoded by applying erasure to the identified portion (or the convolutionally decoded portion corresponding to the same).
FIG. 6 shows an embodiment of a decoder of the present invention. Items40-52, and56 are discussed above with reference toFIG. 2. The relations and interactions between items40-50 are essentially described above with reference toFIG. 2. In the detector shown inFIG. 6, the correctness-rated output of theQPSK demodulator44 is received by both the input of theAGC48 and the input of an M ofN detector130. The M ofN detector130 passes tagging information to adelay132, and atagging unit134 receives the delayed tagging information from thedelay132. Thedelay132 enables the output of theViterbi decoder50, delayed by such decoding, to catch up with and synchronize with the tagging information generated by the M ofN detector130. This synchronization enables thetagging unit134 to tag symbols output by theViterbi decoder50 that correspond to bits determined by the M ofN detector130 to be in a group or burst of quality ranked bits that are likely to or have a probability of being incorrectly decoded by theViterbi decoder50.
A de-interleaver52 receives the delayed tagging information from thetagging unit134 and the first decoded output from theViterbi decoder50. Because Reed Solomon decoding with erasure is usually performed by erasing (ignoring) any symbol which contains a bit in error, the de-interleaver52 marks for erasure any symbol to be input to theReed Solomon decoder136 which contains a bit output by theViterbi output50 and tagged by thetagging unit134.
TheReed Solomon decoder136 receives the tagged and untagged symbols from the de-interleaver52 and performs Reed Solomon decoding with erasure. Generally, Reed Solomon decoding is performed on codeword units that are made up of a fixed number of symbols. Some of the symbols in a codeword represent data, and other symbols in a codeword contain parity information that is used to correct errors in the data symbols. Reed Solomon decoders generally decide which codeword is the correct codeword based on the minimum of the distances between the received codeword and each of the set of possible matching codewords. Therefore, by enabling concatenated Viterbi soft-decision decoding and Reed Solomon soft-decision decoding, the present invention can correct twice as many symbol errors as a concatenated decoder using Reed Solomon hard decision decoding (decoding without erasure).
Although the M ofN detector130 has been described with reference to a fixed-length sliding window, other configurations may also be used. For example, the parameters of the M ofN detector130 may be dynamically set based on conditions within thedecoding unit60. The operations of the M ofN detector130 may also be externally configurable or programmable. Furthermore, thedelay132, thetagging unit134, and the de-interleaver52, may be arranged in various configurations, or may not be required depending on the other components of thedecoding unit60. Any number of hardware or software arrangements may be used to enable Reed Solomon soft-decision decoding with erasure based on predictable patterns of Viterbi decoding errors. Furthermore, although Viterbi decoding failure-prediction has been described with reference to a ratio or concentration of low quality bits within a sliding window (M out of N), other tests or algorithms may be used to identify in advance patterns or sequences of error prone quality ranked bits that are to be decoded by aViterbi decoder50.
FIG. 7 shows an embodiment of a process of the present invention. An analog signal carrying FEC decoded data that has been subject to burst and/or random noise during transmission is received150. The signal is amplified152 and converted154 to a digital signal. The digital signal is demodulated156, using, for example, binary or quadrature phase shift keying, and is quantized into 3 bit units representing the correctness of a 1 or 0 data value. The quantized or correctness ranked digital data is channeled to two different parallel processing paths. In a first path, within a sliding window of the quality ranked bits, it is determined160 whether bits in the window are prone to erroneous Viterbi decoding. This determination may be based on the size of the window (e.g., the number of bits in the window), and also on the number or concentration (M/N) of bits in the window at a given time that have a quality level below a given bit quality threshold. The bit stream, including the bits (or corresponding bits) detected or determined160 to be prone to erroneous Viterbi decoding, are delayed164 and tagged166.
In the second parallel quantized bit processing path, the quantized or quality ranked bits are digitally filtered158 and Viterbi decoded162 using soft-decision decoding according to the correctness of individual data bits as indicated by the 3 bit units. Generally, the Viterbi soft-decision decoding162 consumes or does not output the quality ranking, and outputs hard (unranked) Viterbi decoded bits, which have no inherent quality or correctness value or rating.
The bits output by the Viterbi decoding162 that correspond to bits determined160 to be prone to erroneous Viterbi decoding are tagged forerasure168. The Viterbi decoded162 output, including the bits tagged forerasure168, are Reed Solomon soft-decision decoded170 by erasing symbols that contain tagged bits. Accordingly, the second-decoded output of the Reed Solomon decoding170 has been error corrected.
FIG. 8 shows a process by which operating parameters of the M ofN detector130 may be determined. The operating parameters of thedetector130 may include, for example, the size of the sliding window (N), the number of low quality bits (M) which indicate a maximum portion of the window that is allowed to contain low-quality ranked bits before bits in that window (some or all) should be tagged for erasure, and a quality or correctness threshold level parameter which the M bits fall below. Initially, a parameter affecting the BER of thedecoding unit60, is selected and assigned190 an initial value. The initial value of the selected parameter is used to predict192 the bit error rate. The value of the selected parameter is modified194 and the predicting192 and modifying194 is repeated until predicted bit error rates over a range of values of the parameter is completed196. This process is performed until various parameters affecting the BER have been tested198. The parameter values that resulted in an optimal predicted BER are selected200 and used202 for decoding.
Other patterns, configurations, or distributions of low-quality bits in the window may also be used to trigger tagging. For example, bit-quality groupings may be used (e.g. 4 medium quality bits, and 2 low-quality bits). Statistical distributions may be used. Patterns or arrangements may also be used to detect error-prone portions.
FIG. 9 shows bitquality thresholds210 and212. Thethresholds210 and212 are used to determine the M number of low quality bits within a given window. The process for deriving prediction parameters (moving them along the axis), discussed above with reference toFIG. 8, may be used to determine thevoltage thresholds210 and212.
FIG. 10 shows an example of bit error rate predictions based on different M, N, and low quality voltage threshold values. In the example ofFIG. 10, the M=8, N=7 curve carries the lowest bit error rate, and M=8 and N=7 would be used as sliding window parameters in accordance with a corresponding low quality voltage threshold.
The many features and advantages of the invention are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages of the invention that fall within the true spirit and scope of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.