The present invention pertains to the decoding of communications signals and is particularly, although not exclusively, applicable to faster turbo decoding at a wireless receiver and to situations in which the format of a received communication signal is not unambiguously known at the receiver.
In communication systems, such as illustrated in
One problem which any communication system has to address is the potential for loss of information in communication channel 14, e.g., due to fading, noise and other communication channel imperfections. In order to reduce the likelihood of such information loss, it has become common in the design of communications systems to encode digital signals to be transmitted. Such encoding typically involves spreading the information contained in the data bits across a greater number of data bits so that if any are lost the information still potentially can be reconstructed. In practice, it is common to use a type of forward error-correction encoding in which the value of each binary output symbol is formed on the basis of multiple input bits.
Once such information spreading has been completed, the resulting symbols typically are interleaved, so as to ensure that correlated information symbols are not immediately adjacent to each other in the time-domain data stream. By so interleaving, the effects of short-term bursts of noise or fading eventually (after subsequent de-interleaving) are distributed over multiple bits. The end result is that the probability that any particular original information bit cannot be recovered at the receiving end is significantly reduced, meaning more accurate reproduction at the receiving side of the communication channel.
One type of forward error-correction encoding that has become prevalent is turbo coding. A simplified block diagram of a system 20 for implementing one example of turbo coding is illustrated in
The turbo code generated in the foregoing manner is first provided to a channel interleaver 30 which interleaves the coded output symbols and sometimes punctures certain of the symbols to insert control signals or other data. Thereafter, the resulting symbols can be processed for transmission, such as by performing quadrature phase-shift keying modulation.
An iterative decoder 50 for decoding the symbols generated by system 20 is illustrated in
The foregoing process typically is repeated across multiple iterations. In this regard, it is noted that channel de-interleaver 52 makes available all X, Y0, Y1, Y0′ and Y1′ for each original input bit in the current block. After every iteration, as described above, the soft and feedback values {tilde over (L)}(ûk) and {tilde over (L)}(uk) are added together for each input bit k in adder 62. The output of adder 62, L(ûk), known as the log likelihood ratio (LLR), is then input into hard decision module 64 to provide a final decision for each bit. Typically, hard decision module 64 is implemented as a threshold detector.
As indicated above, turbo decoding requires multiple iterations of constituent code decoding. In general, using a greater number of iterations results in less decoding error. However, for speed and efficiency it often is desirable to reduce the number of iterations to the extent possible. For a packet of data being decoded, it is advantageous for the decoder to stop iteration when it determines that its performance can no longer be improved by further iterations or when a determination has been made that an error-free decoding already has been achieved.
There have been a number of approaches to determining the appropriate stop criteria when performing iterative decoding. However, each has its own drawbacks.
The present invention addresses this problem by using an embedded error-detection code within a received communication signal to determine when to stop iterative decoding.
Thus, in one embodiment, the invention is directed to a method of attempting to decode a communication signal, in which a communication signal that includes an embedded error-detection code is received. The communication signal is input into an iterative decoder that decodes the communication signal on an iterative basis, outputting decisions regarding values of the communication signal at each iteration. In addition, at each iteration a measure of error is calculated based on a parameter of the iterative decoder. At each iteration at which the measure of error passes a specified threshold test, a determination is made as to whether there is a detectable error in the decisions based on the embedded error-detection code. Finally, the iterations performed by the iterative decoder are stopped based on both of the following conditions occurring: (i) it is determined that there is no detectable error based on the embedded error-detection code, and (ii) the measure of error passes the specified threshold test. The specified threshold uses a threshold calculated in a predetermined manner based on the embedded error-detection code.
In another embodiment, the invention is directed to a method of simultaneously attempting to decode a communication signal and evaluate an assumed transmission format for the communication signal. Initially, a communication signal that includes an embedded error-detection code is received. The communication signal is input into an iterative decoder that decodes the communication signal on an iterative basis, outputting decisions regarding values of the communication signal at each iteration, based on an assumed transmission format. In addition, at each iteration a measure of error is calculated based on a parameter of the iterative decoder. At each iteration at which the measure of error passes a first specified threshold test, a determination is made as to whether there is a detectable error in the decisions based on the embedded error-detection code. The iterations performed by the iterative decoder are stopped and the assumed transmission format is selected based on both of the following conditions occurring: (i) it is determined that there is no detectable error, and (ii) the measure of error passes the first specified threshold test. The iterations performed by the iterative decoder are stopped and the assumed transmission format is de-selected based on the following condition occurring: the measure of error fails a second specified threshold test.
The foregoing summary is intended merely to provide a brief description of the general nature of the invention. A more complete understanding of the invention can be obtained by referring to the claims and the following detailed description of the preferred embodiments in connection with the accompanying figures.
The output decisions from decoder 82 are provided to error detector 84. As with decoder 82, the nature of error detector 84 will depend upon the expected type of encoding for received communication signal 81. In the preferred embodiments of the invention, communication signal 81 includes an embedded error-detection code. More preferably, the error-detection code is a cyclic redundancy check (CRC) code. Accordingly, in the present embodiment, error detector 84 performs a CRC check on the decoder decisions for each frame provided by decoder 82 in order to determine whether there appears to be a detected error in such frame. It is noted that the term “frame” is used in its generic sense, referring to a data block, segment or packet of a predetermined length.
As noted above, decoder 82 provides decisions at every iteration, generally improving the quality of its decisions with each subsequent iteration. Iteration controller 85, in turn, monitors data from decoder 82 and error detector 84, determining whether a further iteration is required or whether processing on the present frame can be halted, and controlling iterative decoder 82 accordingly. Additional details regarding the functionality provided by controller 85 are discussed in the more particularized embodiments described below.
In this regard, the main categories of embodiments of the present invention are: (i) where the transmission format of the received communication signal 81 is known, so that it is only necessary to decode the communication signal 81, if possible; and (ii) where the transmission format is unknown, so in addition to decoding the communication signal 81, a determination must be made as to which of a plurality of potential transmission formats has been used. As used herein, a transmission format is a set of parameters to form the transmitted data, which may include, e.g., coding rate or other encoding parameters, packet data size, modulation format and/or interleaving parameters.
When a frame-decoding operation according to the present invention is begun, it is provided with data format information (e.g. data packet size, code rate), and inputs information indicating whether such format information is known to be the format in which the data actually were transmitted or is simply a format that has been assumed. If the transmission format is known, the iteration control preferably is executed as described in the section below titled “Known Transmission Format”. Otherwise, iteration control preferably is executed as described in the section below titled “Unknown Transmission Format”.
Known Transmission Format.
Initially, in step 102 controller 85 causes decoder 82 to perform an iteration. Thus, for the initial execution of step 102 this will be the first decoding iteration performed by decoder 82.
Next, in step 103 controller 85 receives one or more decoding parameters for the current iteration from decoder 82, calculates a function of those parameters, and then determines whether the calculated value P0 of the function passes a specified threshold test. Preferably, the calculated value P0 comprises an estimate of bit error rate based on the log likelihood ratio (LLR) magnitudes across all bits in the data packet. As noted above in connection with the discussion of the exemplary decoder 50 illustrated in
where K is the number of bits in the data packet.
A system 110 for calculating P0 is shown in
is performed in element 113, with element 113 preferably implemented as a lookup table. Next, in element 115 the outputs from element 113 are summed across all k, and then in element 116 a division by K is performed.
Thus, in the preferred embodiments of the invention a threshold test of P0 corresponds to a test of the estimated decoding bit error rate. For example, if P0<Th, then the bit error decoding rate can be expected to be less than a rate corresponding to a threshold Th. Preferably, in this step 103 the applicable threshold Th is a function of the CRC that has been used, so that the threshold test is to determine whether P0<Th(CRC). More preferably, Th is selected such that its corresponding bit error rate is equal to, or a function of, a specified undetected error rate for the CRC that has been used.
In this regard, it is known that one can identify the relationship between the undetected error rate for a given CRC as a function of the underlying bit error rate. See, e.g., J. Wolf, R. Blakeney, “An exact evaluation of the probability of undetected error for certain shortened binary CRC codes,” IEEE MILCOM 88, 23-26 Oct. 1988. As a result, for a given CRC, a specified undetected error rate can be mapped directly to a bit error rate. Exemplary curves 131-133 are shown in
CRC16: p(x)=x16+x12+x5+1=(x+1)(x15+x14x13+x12+x4+x3+x2+x+1)
CRC24EVDO: p(x)=x24+x23+x6+x5+x+1=(x+1)(x23+x5+1)
CRC24J: p(x)=(x+1)(x23+x17+x13+x12+x11+x9+x8+x7+x5+x3+1)
Thus, the thresholding operation of this step 103 can be implemented to achieve a specified maximum undetected error rate (e.g., input as one of the control parameters 87) in the following manner. First, the specified maximum undetected error rate is mapped to a bit error rate, e.g., using the curve shown in
In the present case, the specified maximum undetected error rate preferably is input into system 80 (shown in
If the thresholding test of step 103 is satisfied, then processing proceeds to step 105. Otherwise, processing proceeds to step 107 (discussed below).
In step 105, a determination is made as to whether the embedded CRC code (or other error-detection code) indicates that the data block has been correctly received. If so, then processing is concluded and the iterations of the decoder 82 can be halted. Otherwise, i.e., if an error was detected, processing proceeds to step 107.
In step 107, a determination is made as to whether the maximum number of iterations has occurred. If not, then processing proceeds to step 102 to perform the next iteration. If so, then processing is concluded, with the output message that the data block either was received in error or cannot be determined to be error-free with sufficient confidence.
The foregoing embodiment of the invention uses a derived relationship between a parameter of the decoder 82 (i.e., the magnitudes of the turbo decoding LLRs in the present case) and the decoding bit error rate in order to estimate the bit error rate the decoder 82 is achieving. Then, by combining this estimate with a derived relationship between CRC error-detection probability and bit error rate, a threshold is established and used to decide whether the decoder 82 is at a stage where the CRC error detection probability is above a specified level. The embodiment in the following section uses similar concepts to also simultaneously determine whether a particular transmission format assumption is correct, incorrect, or uncertain.
In the foregoing processing, there is no need for a transmission-format-determination algorithm, and the early termination is based on both the P0 measurement and a CRC check. If P0 is less than a specified threshold, e.g., such that the CRC undetected error probability is small enough, then a CRC pass will cause an early termination of the turbo decoding. On the other hand, if the P0 check does not pass, then iteration will continue till the pre-determined maximum iteration number, and the CRC check at the end of the iterations will be delivered to the upper layer, irrespective of whether the P0 test passes or not. In this regard, the CRC check preferably is initially set to false so that if step 105 is never reached, the false value is delivered to the upper layer.
Unknown Transmission Format.
In addition to providing faster decoding, the techniques of the present invention also can be used to simultaneously identify the encoding format of the received data. In the CDMA2000 High Rate Packet Data system, for example, an access network (AN) can send an access terminal (AT) a packet of data with one out of a few possible transmission formats (packet size, modulation order, etc.). The AT needs to decide which one of the possible transmission formats actually was used during transmission by trying to demodulate and decode the received packet with each assumed transmission format.
This format-determination task can be performed by the turbo decoder. Generally speaking, if the turbo decoder can decode the packet with an assumed transmission format by passing the built-in CRC (cyclic redundancy check), then there is a high likelihood that the assumed format corresponds to the actual transmission format. However, CRC alone is not always the most efficient and reliable approach for format determination, because a CRC check has a non-zero error detection probability. On the other hand, even with respect to a packet for which the correct transmission format has been assumed, the CRC check still might not pass due to noise present in the received packet. Accordingly, it is desirable for the turbo decoder to utilize at least one additional measure when attempting to identify the transmission format.
One technique for achieving this, according to a representative embodiment of the present invention, is shown in
In more detail, step 161 instructs decoder 82 to perform the first iteration or (for subsequent passes) the next iteration, in the same manner as step 102 (in
Step 162 calculates a value P0 and then determines whether it passes a specified threshold test. The same considerations apply to step 162 that applied to step 103 above and, accordingly, step 162 is not described in detail here. If the threshold test of step 162 passes, processing proceeds to step 163, which corresponds to the CRC check 105 described above, and, therefore, step 163 also is not described in detail here. On the other hand, if the threshold test of step 162 fails, rather than immediately checking for the final iteration (as in the technique of
More specifically, in step 171 P0 is compared against a threshold Th(rate). If P0>Th(rate), then processing immediately proceeds to step 172, in which the assumed format is deselected and processing is halted with respect to the currently assumed transmission format. The process of
Returning to processing section 160, if the CRC check of step 163 passes then the assumed format is selected (i.e., confirmed) in step 183 and the iterations of decoder 82 can be halted with confidence that the data block has been decoded correctly. On the other hand, if the CRC check of step 163 fails, then processing proceeds to step 165.
In step 165 (which corresponds to step 107 of
In this regard, in step 181 P0 is compared against a threshold Th(BER), e.g., a target decoding error rate of 1.9*10−5. If P0<Th(BER), then processing proceeds to step 183 in which the assumed format is confirmed and processing is halted. On the other hand, if P0≧Th(BER) Then processing proceeds to step 192 in which the assumed format is tagged as “uncertain” and processing is halted. It is noted that step 191 is identical to step 165 except that it is not necessary to perform the test of step 181 after step 191 because the test in step 171 already failed.
As indicated above, the foregoing technique can result in any of the following outcomes: (i) decoder 82 is halted prior to the maximum number of iterations with the conclusion that the data block has been decoded with a sufficient level of confidence and the assumed data transmission format has been confirmed; (ii) decoder 82 is halted because a determination has been made that the transmission format assumption is incorrect, in which case the received data block can be reprocessed using a different transmission format assumption and using the processing of
In connection with such processing, the technique of
Mathematical Discussion; Derivation of P0 Estimation.
Let U=(u1,u2, . . . ,uK) be the K information bits of a data block, and C=(c1,c2, . . . ,cN) be the encoded N coded symbols from information vector U. After transmission through channel, the received vector is y=(y1,y2, . . . ,yN). At the receiver, turbo decoding is applied and a decision is made on the transmitted information bits, obtaining an estimated information vector Û=(û1,û2, . . . ,ûK)
The entire turbo code channel from the turbo encoder, through the transmission channel, and ending at the output of the turbo decoder can be viewed as a binary symmetric channel (BSC) with crossover probability P0 (i.e., the probability that a transmitted bit will be incorrectly identified as its inverse at the receiver). An iterative decoding algorithm using a maximum a posteriori (MAP) criterion needs to obtain the following variable from the received vector y:
upon which the MAP algorithm makes the decision as follows:
ûk=sign(L(ûk|y)).
The MAP criterion therefore implies that at the end of each iteration, if a decision is made:
P(ûk=+1|y)=P(uk=+1|y)
P(ûk=−1|y)=P(uk=−1|y)
Let observation y be based on two hypotheses, transmitted with uk=+1 or transmitted with uk=−1. Then, y can be represented by two conditional pdf's fY(y|uk=+1) and fY(y|uk=−1). Define the following two terms:
Then, with the assumption of an equally probable source:
Similarly:
Summing Eqs. (1.1) and (1.2), we have:
=1−P0
The final result is obtained from the symmetric property of the channel and the decoder. Moreover, because
Eq. (1.3) can be written as:
This is the closed-form relationship between the bit error rate P0 and LLR. Because the LLR is an ergodic process as data block size approaches infinity, for an encoded data block with size K that is sufficiently large, the bit error rate can be obtained from the following approximation:
Advantages and Characteristics of Certain Representative Embodiments
As described in detail above, the present invention provides improved decoders. Some of the characteristics and advantages of certain representative embodiments of the present invention are as follows:
Generally speaking, except where clearly indicated otherwise, all of the systems, methods and techniques described herein can be practiced with the use of one or more programmable general-purpose computing devices. Such devices typically will include, for example, at least some of the following components interconnected with each other, e.g., via a common bus: one or more central processing units (CPUs); read-only memory (ROM); random access memory (RAM); input/output software and circuitry for interfacing with other devices (e.g., using a hardwired connection, such as a serial port, a parallel port, a USB connection or a firewire connection, or using a wireless protocol, such as Bluetooth or a 802.11 protocol); software and circuitry for connecting to one or more networks (e.g., using a hardwired connection such as an Ethernet card or a wireless protocol, such as code division multiple access (CDMA), global system for mobile communications (GSM), Bluetooth, a 802.11 protocol, or any other cellular-based or non-cellular-based system), which networks, in turn, in many embodiments of the invention, connect to the Internet or to any other networks); a display (such as a cathode ray tube display, a liquid crystal display, an organic light-emitting display, a polymeric light-emitting display or any other thin-film display); other output devices (such as one or more speakers, a headphone set and a printer); one or more input devices (such as a mouse, touchpad, tablet, touch-sensitive display or other pointing device, a keyboard, a keypad, a microphone and a scanner); a mass storage unit (such as a hard disk drive); a real-time clock; a removable storage read/write device (such as for reading from and writing to RAM, a magnetic disk, a magnetic tape, an opto-magnetic disk, an optical disk, or the like); and a modem (e.g., for sending faxes or for connecting to the Internet or to any other computer network via a dial-up connection). In operation, the process steps to implement the above methods and functionality, to the extent performed by such a general-purpose computer, typically initially are stored in mass storage (e.g., the hard disk), are downloaded into RAM and then are executed by the CPU out of RAM. However, in some cases the process steps initially are stored in RAM or ROM.
Suitable devices for use in implementing the present invention may be obtained from various vendors. In the various embodiments, different types of devices are used depending upon the size and complexity of the tasks. Suitable devices include mainframe computers, multiprocessor computers, workstations, personal computers, and even smaller computers such as PDAs, wireless telephones or any other appliance or device, whether stand-alone, hard-wired into a network or wirelessly connected to a network.
In addition, although general-purpose programmable devices have been described above, in alternate embodiments one or more special-purpose processors or computers instead (or in addition) are used. In general, it should be noted that, except as expressly noted otherwise, any of the functionality described above can be implemented in software, hardware, firmware or any combination of these, with the particular implementation being selected based on known engineering tradeoffs. More specifically, where the functionality described above is implemented in a fixed, predetermined or logical manner, it can be accomplished through programming (e.g., software or firmware), an appropriate arrangement of logic components (hardware) or any combination of the two, as will be readily appreciated by those skilled in the art.
It should be understood that the present invention also relates to machine-readable media on which are stored program instructions for performing the methods and functionality of this invention. Such media include, by way of example, magnetic disks, magnetic tape, optically readable media such as CD ROMs and DVD ROMs, or semiconductor memory such as PCMCIA cards, various types of memory cards, USB memory devices, etc. In each case, the medium may take the form of a portable item such as a miniature disk drive or a small disk, diskette, cassette, cartridge, card, stick etc., or it may take the form of a relatively larger or immobile item such as a hard disk drive, ROM or RAM provided in a computer or other device.
The foregoing description primarily emphasizes electronic computers and devices. However, it should be understood that any other computing or other type of device instead may be used, such as a device utilizing any combination of electronic, optical, biological and chemical processing.
Additional Considerations.
Several different embodiments of the present invention are described above, with each such embodiment described as including certain features. However, it is intended that the features described in connection with the discussion of any single embodiment are not limited to that embodiment but may be included and/or arranged in various combinations in any of the other embodiments as well, as will be understood by those skilled in the art.
Similarly, in the discussion above, functionality sometimes is ascribed to a particular module or component. However, functionality generally may be redistributed as desired among any different modules or components, in some cases completely obviating the need for a particular component or module and/or requiring the addition of new components or modules. The precise distribution of functionality preferably is made according to known engineering tradeoffs, with reference to the specific embodiment of the invention, as will be understood by those skilled in the art.
Thus, although the present invention has been described in detail with regard to the exemplary embodiments thereof and accompanying drawings, it should be apparent to those skilled in the art that various adaptations and modifications of the present invention may be accomplished without departing from the spirit and the scope of the invention. Accordingly, the invention is not limited to the precise embodiments shown in the drawings and described above. Rather, it is intended that all such variations not departing from the spirit of the invention be considered as within the scope thereof as limited solely by the claims appended hereto.
Number | Name | Date | Kind |
---|---|---|---|
5996104 | Herzberg | Nov 1999 | A |
6161209 | Moher | Dec 2000 | A |
6518892 | Shen et al. | Feb 2003 | B2 |
6686853 | Shen et al. | Feb 2004 | B2 |
6738948 | Dinc et al. | May 2004 | B2 |
6871303 | Halter | Mar 2005 | B2 |
6888901 | Yu et al. | May 2005 | B2 |
6996194 | Pukkila et al. | Feb 2006 | B2 |
7092464 | Mills | Aug 2006 | B2 |
7093180 | Shin et al. | Aug 2006 | B2 |
7415001 | Naguleswaran et al. | Aug 2008 | B2 |
7454684 | Allpress | Nov 2008 | B2 |
20010052104 | Xu et al. | Dec 2001 | A1 |
20020122423 | Mukhopadhyay et al. | Sep 2002 | A1 |
20020147954 | Shea | Oct 2002 | A1 |
20030084398 | Nguyen | May 2003 | A1 |
20040199848 | Tamesue et al. | Oct 2004 | A1 |
20040234007 | Mills | Nov 2004 | A1 |
20050111564 | Kramer et al. | May 2005 | A1 |
20070113143 | Liao et al. | May 2007 | A1 |
20070124657 | Orio | May 2007 | A1 |
20080115038 | Kee et al. | May 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20080115031 A1 | May 2008 | US |