1. Field
The present invention relates generally to wireless communication systems and, more particularly, to high data rate wireless applications.
2. Description of the Related Art
Fourth generation (4G) wireless applications will require more advanced error correcting techniques than previous wireless applications. The 4G error correcting techniques will enable reliable data transmission and greater data rates at lower channel signal-to-noise ratio (SNR). A class of forward error correction codes, referred to as turbo codes, offers significant coding gain for power-limited communication channels. Turbo codes are generated by using two or more recursive systematic convolutional (RSC) encoders operating on different orderings of the same information bits. A subset of the code bits generated by each encoder is transmitted to maintain bandwidth efficiency. Turbo decoding involves an iterative technique in which probability estimates of the information bits that are derived for one of the decoded code words are fed back to a probability estimator for a second one of the code words. Each iteration of processing generally increases the reliability of the probability estimates. This process continues, alternately decoding the two code words until the probability estimates are sufficient to make reliable decisions about the original information bits.
Prior to turbo codes, the commonly used error correcting codes were convolutional encoders paired with Viterbi decoders. Convolutional codes are capable of allowing a communication system to reach the Shannon limit, which is the theoretical limit of SNR for error free communication over a given noisy channel. Viterbi decoders, however, grow exponentially in complexity as their error correction capability is increased, making their practical limit 3 dB to 6 dB away from the Shannon limit for practical hardware/software implementations. In contrast to convolutional codes, turbo codes implemented with a practical decoder have been shown to achieve a performance of 0.7 dB from the Shannon limit, far surpassing the performance of a convolutional-encoder/Viterbi-decoder of similar complexity. Turbo decoding techniques have not yet reached the maturity and open availability that Viterbi techniques enjoy, so implementing a turbo code is not a trivial exercise. A 3G standard written by an industry group called the Third Generation Partnership Project (3GPP) specifies the design of the turbo encoder in great detail but does not specify the decoder design, leaving that choice up to the designer.
A maximum a posteriori (MAP) decoding technique introduced by Bahl, Cocke, Jelinick, and Raviv in “Optimal Decoding of Linear Codes for Minimizing Symbol Error Rate”, IEEE Transactions on Information Theory, March 1974, pp. 284-287, is a symbol-by-symbol decoder for trellis codes. The MAP technique delivers excellent performance as a component decoder in decoding turbo codes. The technique is advantageous for decoding turbo codes because it accepts soft-decision information as an input and produces soft-decision output information.
The MAP technique can be used in a turbo decoder to generate a posteriori probability estimates of the systematic bits (i.e., information bits) in a first iteration of decoding the code word. These probability estimates are used as a priori symbol probabilities in a second iteration. Those skilled in the art will recognize three fundamental terms in descriptions of the MAP technique, which are: forward and backward state probability functions (the alpha and beta functions, respectively) and the a posteriori transition probabilities (the sigma function).
One problem with the MAP technique for the turbo decoder is that a relatively large amount of memory is required. For example, the entire received code word must be stored during decoding due to the nature of the MAP technique. Furthermore, in order to obtain high-speed decoding, it is necessary to store a large number of intermediate results that represent various event probabilities of interest so they can be combined with other results later in the decoding process. The MAP technique as described by Bahl et al. requires that at least half of the results from the two recursive calculations be stored in memory for fast decoding. Such requirements can limit the decoding computation speed and can tax system memory resources.
Therefore, it is desirable to reduce the time for computation and memory required in turbo decoding without compromising coding gain. Thus, there is a need for improved turbo decoder design. The present invention satisfies this need.
A decoder for a communication system includes first and second decoder blocks and a decision module. The first decoder block calculates a probability estimate for each soft-input information bit. The second decoder block receives and processes the probability estimate of the soft-input information bits using modulo arithmetic operations. The decision module receives the processed soft-input information bits and generates hard-decision output information.
In another aspect, a decoder for a communication system includes an iterative decoding module configured to receive soft-input information bits. The iterative decoding module iterates on probability estimates of the soft-input information bits to generate hard-decision output information. The iterative decoding module includes a plurality of arithmetic modules that generate and process both backward and forward metrics substantially simultaneously using modulo arithmetic operations.
In another aspect, a decoder for a communication system can include a soft-input soft-output (SISO) decoding module. The SISO decoding module includes a first plurality of modules to receive and process soft-input backward state metrics using modulo arithmetic. The module also includes a second plurality of modules to receive and process soft-input forward state metrics using modulo arithmetic.
In another aspect, a decoding method is applied to soft-input information bits with a backward recursion that is performed using a trellis diagram by computing backward state metrics of each node on the trellis diagram of the symbol information bits. The backward state metrics are stored in a storage mechanism. A forward recursion is then performed on the trellis diagram by computing forward state metrics of each node on the trellis diagram of the symbol block data. Finally, the extrinsic information is calculated.
Other features and advantages of the present invention should be apparent from the following description of the preferred embodiment, which illustrates, by way of example, the principles of the invention.
Exemplary embodiments are described for a communication system having a transmitter and a receiver such that the receiver includes an efficient, high data-rate turbo decoder for wireless applications. The high data-rate turbo decoder implements mathematical and approximation techniques that significantly reduce the required computations and the need for memory storage. In particular, the turbo decoder uses modulo arithmetic in maximum a posteriori probability (MAP) modules configured with double add-compare-select (ACS) circuits. The MAP modules use a parallel window technique to perform backward state metric calculation recursion and to store the metrics. Forward state metric calculation and the probability estimate (referred to as extrinsic information) calculation are performed in parallel using the stored backward state metrics. These techniques increase the speed of computation and reduce the memory required for computation.
The transmitter 102 and receiver 104 of the communication system 100 can be configured as a handheld mobile unit such as a personal digital assistant (PDA), or can be configured as a mobile station telephone, a base station, or other systems/devices that generate and receive digital signals for transmission. The transmitter 102 and receiver 104 can be implemented in a single device that provides a transceiver. The modulator 110 and the encoder 112 in the transmitter system 102, and the demodulator 120 and the decoder 122 in the receiver system 104, include decoders comprising different embodiments as described in detail below.
The number of parity symbols transmitted for each systematic symbol depends on the coding rate of the transmission. For a coding rate of one-half (½), one parity symbol is transmitted for every systematic symbol, for a total of two symbols generated for each data bit (including CRC) received. For a one-third rate (⅓) turbo coding rate, two parity symbols are generated for each systematic symbol, for a total of three symbols generated for each data bit received.
The code symbols from the turbo encoder 204 are sent to a channel interleaver 206, which interleaves the symbol blocks as they are received. Typically, the channel interleaver 206 performs block or bit-reversal interleaving. Other types of interleavers may be used as the channel interleaver 206, so long as the code symbols are interleaved.
A mapper 208 takes the interleaved code symbols from the channel interleaver 206 and generates symbol words of predetermined bit width based on a mapping scheme. The mapping scheme is described further below. The symbol words are then applied to a modulator 210 that generates a modulated wave form based on the symbol word received. Typical mapping techniques include BPSK, QPSK, 8-PSK, 16 QAM, and 64 QAM. Typical modulation techniques include single carrier modulation, and multi carrier modulation. Various other modulation schemes can be utilized. The modulated waveform is then upconverted for transmission at an RF frequency.
Multicarrier transmission schemes, such as Orthogonal Frequency Division Multiplexing (OFDM), have been proposed and are used for many different types of communication systems, including broadband wireless Local Area Networks (LANs). The advantage of such schemes is that highly time dispersive channels can be equalized efficiently to provide transmission data rates that, when combined with forward error correction techniques, are capable of approaching the theoretical Shannon limit for a noisy channel. A highly dispersive channel can arise from a combination of multiple discrete, delayed, and attenuated signals, particularly in radio frequency environments, or can be an intrinsic property of a transmission medium (such as within a wireline copper-pair or a fiber-optic transmission system) where the group delay is a continuous function of frequency. Additionally, these types of multicarrier systems are particularly suited to wide bandwidth applications having high data rates.
The transmitter system 300 includes a turbo encoder 304, an interleaver 306, a mapper 308, a spreader 319, and a multicarrier modulator 310, similar to the corresponding modules of the system 102 (
In the particular embodiment of
For channels with memory, such as fading channels, errors typically come in bursts, rather than being randomly distributed. The interleaver 306 is used to reorder a binary sequence in a systematic way to disperse the burst errors, making them easier to correct.
The spreader 319 spreads the symbol word over multiple sub-carriers to achieve frequency diversity. The sub-carrier distance and the number of sub-carriers are appropriately chosen so that it is unlikely that the symbol word is completely located in a deep fade. This system is referred to as a multicarrier-spread spectrum (MC-SS) system.
The data bit stream from the scrambler 302 (
In the particular embodiment of
The high data-rate turbo decoder 650 operates in an iterative fashion with two decoder blocks 700, 710 corresponding to the two constituent encoders 400, 402 (see
The above-described process of two passes through the decoding technique from MAP1 to MAP2 is considered to be one iteration of the decoder 650 and is repeated for a fixed number of iterations, or until some external mechanism determines that no further iterations will improve the bit error rate (BER) for that frame. For example, the external mechanism can comprise processing that detects when a sequence of estimations has not changed below an error threshold value. That is, if the change from one iteration to the next is below the error threshold, then the iterations are complete. After all iterations are complete, the original data bits are recovered by making a hard decision on the last soft output. The hard decision is made by a decision module 714. The bit output is then produced by the decision module 714.
The decoding technique employed within the two decoder blocks 700, 710 operates on soft inputs (the deinterleaver outputs and the probability estimates) and produces soft outputs. A high data-rate Maximum a posteriori Probability (MAP) decoder (see
The unitary MAP decoder is configured as a trellis decoder, like the Viterbi decoder. Accordingly, each constituent trellis encoder in the turbo encoder can be defined by a trellis diagram with eight states in the vertical axis, and k+3 time intervals along the horizontal axis as shown in
The computation operations for an exemplary embodiment of a decoding technique for a modified unitary MAP decoder are summarized in a flowchart shown in
Initially, at the first box 900, a backward recursion is performed on the trellis by computing backward state metrics (i.e., beta values) for each node in the trellis diagram. The backward state metric of a node is the sum of the previous backward state metric (i.e., at the previous time point) multiplied by the branch metric along each branch from the two previous nodes to the current node. The branch metric (gamma value) is the exponential of the trellis distance between the hard encoder values and the soft received values from the deinterleaver, divided by the channel noise variance, multiplied by the probability estimate from the previous decoder. The computation starts at the end of the trellis diagram and progresses in the reverse direction. At box 902, the backward state metrics are stored in a storage mechanism such as a random access memory (RAM). Various techniques for reducing the storage requirement for the backward state metrics are discussed in detail below.
A forward recursion on the trellis is performed at box 904 by computing the forward state metrics (i.e., alpha values) for each node in the trellis diagram. The forward state metrics can be computed in a similar manner as the backward state metrics. For the forward state metrics, however, the computation starts at the beginning of the trellis diagram and progresses in the forward direction.
Extrinsic information that is to be delivered to the next decoder in the iteration sequence is computed at box 906. Computation of the extrinsic information involves computing the log likelihood ratio (LLR) for each time point. The LLR value is computed as the sum of the products of the alpha, beta, and gamma values for each branch at a particular time that is associated with a ‘1’ in the encoder, divided by the sum of the products of the alpha, beta, and gamma values for each branch at the same particular time that is associated with a ‘0’ in the encoder. Finally, the extrinsic information is the LLR value minus the input probability estimate.
This sequence of computations is repeated for each iteration by each of the two decoders MAP1 and MAP2. After all iterations are completed, the decoded information bits can be retrieved by examining the sign bit of the LLR value. If the sign bit is positive, then the resultant bit is a one. If the sign bit is negative, then the resultant bit is a zero. This is because the LLR value is defined to be the logarithm of the ratio of the probability that the bit is a one to the probability that the bit is a zero.
Since the conventional MAP design is relatively complex, with computations involving exponentials, a real-time operation of the MAP decoder is usually difficult and better to avoid. Therefore, some simplifications and approximations can be used to significantly reduce the required computations and provide greater efficiencies. For example, the computations of the MAP decoder technique can be configured to operate in the log domain. This converts all multiplications to additions, divisions to subtractions, and eliminates exponential and log computations, without affecting the bit error rate (BER) performance. Operating in the log domain also keeps growth of the state metric numbers to a manageable range. In practice, since the log of the sums of exponentials are frequently needed, an additional simplification is used in the preferred embodiment. The simplification involves using the Jacobian formula to simplify the log of the sums of exponentials as max-log. Accordingly, a MAP decoder can be implemented as a max-log-MAP decoder without significantly affecting the BER performance.
In another exemplary simplification, modulo arithmetic computation is used to obviate the need for scaling and/or normalization. Because the backward and forward recursions require successive multiplications by numbers less than one, even 32-bit floating-point numbers will underflow unless they are scaled. Scaling requires additional operations that will slow down the turbo decoder. By using the log domain and the modulo arithmetic computation, no scaling may be needed for 32-bit fixed-point numbers. Exemplary computer programs (written in C language) that can be performed by the MAP decoder for the modulo arithmetic are shown in the Appendix (below). The programs can be implemented by having an 11-bit register and allowing the result of the arithmetic operation to wrap around or overflow. The Appendix also includes examples of computer programs illustrating the computation techniques for calculating the backward state metrics, the forward state metrics, and the extrinsic information.
As mentioned above, the backward state metrics should be stored because all the previous backward state metrics are needed to compute the current state metrics and the external information. This results in a storage requirement for a large number of state metrics, which leads to an unacceptable cost for most practical interleaver sizes. In accordance with the preferred embodiment, one of the solutions to the storage problem is the introduction of the aforementioned parallel window technique.
The backward state metric in the parallel window technique is now initialized at the end of the window rather than at the end of the symbol block. The forward state metric is initialized at the beginning of the window. In practice, the computations of the state metrics overlap into the subsequent/previous windows. The computation of the backward and forward state metrics in the parallel windows are performed in parallel. Accordingly, the size of the backward state metrics to be stored is significantly reduced.
Once the symbol block has been divided into parallel windows, the data bits for each window can be interleaved as illustrated in
Since the last window has a different number of bits from other windows, the interleaving process is somewhat awkward and asymmetrical. To simplify the interleaving process, the last window can be separated from the rest of the windows. Thus, the interleaving process for the windows 0 through 18 becomes rectangular block interleaving. The last window can be interleaved independently and appended to the result of the rectangular block interleaving of the first 19 windows. The resultant interleaved bit sequence is 0, 128, 256, . . . , 2304, 1, 129, 257, . . . , 2305, 2, 130, . . . , 2431, 2432, 2451, . . . , 2505.
The double-ACS based decoder 1400 is used for two trellis stages in each cycle, performing the first stage during the rising edge of a clock cycle and performing the second stage during the falling edge of a clock cycle. A multiplexer 1410 receives and selects appropriate branch metrics for a particular stage. The modules 1402 perform modulo-add and modulo-subtract to process branch metrics and forward or backward state metrics. The results of the modulo arithmetic are compared in the modulo-subtract modules 1404 to perform the MAX function. As described above, the MAX function approximates the log of exponentials. The multiplexers 1406 select backward or forward state metrics.
Use of double-ACS and use of the same hardware for both stages (through rising-edge and falling edge of the clock) of the turbo decoding process minimize the required hardware resources by minimizing the number of required multiplexers and simplifying the placement of the components. Further, since the computations are performed using modulo arithmetic, a normalization process can be eliminated from the double-ACS hardware.
As described above, a decoder uses mathematical and approximation techniques to reduce the time for computation and memory otherwise required in turbo decoding. In particular, the decoder uses modulo arithmetic in one or more modified maximum a posteriori (MAP) modules configured with double add-compare-select (ACS) circuits. The modified MAP module uses a parallel window technique to perform backward state metric calculation recursion and to store the metrics. Forward state metric calculation and extrinsic information calculation are performed in parallel using the stored backward state metrics. These techniques increase the speed of computation and reduce the memory required for computation.
The present invention has been described above in terms of exemplary embodiments so that an understanding of the present invention can be conveyed. Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments. Moreover, there are many configurations for a communication system using modified turbo decoding and/or multicarrier processing not specifically described herein but with which the present invention is applicable. The present invention should therefore not be seen as limited to the particular embodiments described herein, but rather, it should be understood that the present invention has wide applicability with respect to wireless communication systems generally. However, it should be understood that some aspects of the invention can be practiced in wired communication systems. All modifications, variations, or equivalent arrangements and implementations that are within the scope of the attached claims should therefore be considered within the scope of the invention.
Appendix
Functions for Modulo-Arithmetic Computation
Calculation of Backward State Metric Recursion (Beta) Using Modulo-Arithmetic
Calculation of Forward State Metric Recursion (Alpha) and Extrinsic Information Using Modulo-Arithmetic