Andrew Viterbi developed a decoding algorithm in the 1960s that is now known as the “Viterbi algorithm.” A decoder that implements the Viterbi algorithm is known as a Viterbi decoder. The Viterbi algorithm is used to decode a particular convolutional code using maximum-likelihood concepts, and Viterbi decoders currently are employed in data communications, wired communications, and wireless voice communications to protect information from channel errors. Viterbi decoders, unfortunately, are relatively resource hungry for industries constrained in every consideration by power limitations. Thus, any reduction in the power consumed by Viterbi decoders would be advantageous.
System and methods for low power Viterbi decoding are described herein. In at least some disclosed embodiments, a system includes a Viterbi decoder and predecoding logic coupled to the Viterbi decoder. The predecoding logic decodes encoded data to be transmitted over noisy channels, which is the function of Viterbi decoder, but the complexity of predecoding logic is much smaller than that of Viterbi decoder. The system further includes detection logic coupled to the predecoding logic. The detection logic tests decoded data from predecoding logic, and the detection logic produces a binary result. Examples of sets of binary results are “0” and “1;” “pass” and “fail;” and “error” and “no error.” Then, the Viterbi decoder is enabled only if the binary result is a first value, and the Viterbi decoder is disabled if the binary result is a second value.
In other disclosed embodiments, a method includes a) decoding encoded data; b) testing the decoded data to produce a binary result; c) enabling a Viterbi decoder if the binary result is a first value; and d) disabling the Viterbi decoder if the binary result is a second value.
In yet other disclosed embodiments, a wireless electronic device (“WED”) includes a Viterbi decoder and predecoding logic coupled to the Viterbi decoder. The predecoding logic decodes encoded data. The system further includes detection logic coupled to the predecoding logic. The detection logic tests decoded data, and the detection logic produces a binary result. The Viterbi decoder is enabled if the binary result is a first value, and the Viterbi decoder is disabled if the binary result is a second value.
These and other features and advantages will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings and claims.
For a more complete understanding of the present disclosure, reference is now made to the accompanying drawings and detailed description, wherein like reference numerals represent like parts:
Certain terms are used throughout the following claims and description to refer to particular components. As one skilled in the art will appreciate, different entities may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following discussion and in the claims, the terms “including” and “comprising” are used in an open-ended fashion, and thus should be interpreted to mean “including, but not limited to . . . .” Also, the term “couple” or “couples” is intended to mean an optical, wireless, indirect electrical, or direct electrical connection. Thus, if a first device couples to a second device, that connection may be through an indirect electrical connection via other devices and connections, through a direct optical connection, etc. Additionally, the term “system” refers to a collection of two or more hardware components, and may be used to refer to an electronic device.
The following discussion is directed to various embodiments of the invention. Although one or more of these embodiments may be preferred, the embodiments disclosed should not be interpreted, or otherwise used, as limiting the scope of the disclosure, including the claims, unless otherwise specified. In addition, one having ordinary skill in the art will understand that the following description has broad application, and the discussion of any embodiment is meant only to be exemplary of that embodiment, and not intended to intimate that the scope of the disclosure, including the claims, is limited to that embodiment.
The market for wireless electronic devices (“WEDs”) is experiencing tremendous growth along with wireless technology such as LTE (Long-Term-Evolution), WiMAX (Worldwide Interoperability for Microwave Access), 2G/3G cellular wireless system, IEEE802.11 Wireless LAN, DVB-H (Digital Video Broadcasting—Handheld), etc. A WED typically includes a radio receiver or transceiver device coupled to an antenna. Currently, there are several implementations of wireless technology in an electronic device. Examples of wireless technologies include LTE, WiMAX, wireless LAN, and UWB.
LTE, short for Long Term Evolution, is the fourth generation of radio technologies designed to increase the capacity and speed of mobile telephone networks. Because the current generation of mobile telecommunication networks are known as 3G, LTE has been given the name 4G.
WiMAX, short for Worldwide Interoperability for Microwave Access, is a telecommunications technology that provides wireless transmission of data using a variety of transmission modes, from point-to-multipoint links to portable and fully mobile internet access.
A wireless LAN, short for wireless local area network, links two or more computers or devices using spread-spectrum or OFDM, short for orthogonal frequency-division multiplexing, modulation technology to enable communication between devices in a limited area. This gives users the mobility to move around within a broad coverage area and still be connected to the network.
UWB, short for ultra-wideband or ultraband, is a radio technology that can be used at very low energy levels for short-range high-bandwidth communications by using a large portion of the radio spectrum.
DVB-H (Digital Video Broadcasting—Handheld) is one of three prevalent mobile TV formats. It is a technical specification for bringing broadcast services to mobile handsets. DVB-H was formally adopted as ETSI standard EN 302 304 in November 2004.
Terrestrial Digital Multimedia Broadcasting (T-DMB) is a digital radio transmission technology developed by South Korea as part of the national IT project for sending multimedia such as TV, radio and datacasting to mobile devices such as mobile phones. Satellite Digital Multimedia Broadcasting is known as S-DMB.
Devices implementing these and other communication methods operate in power-starved environments. However, by using a predecoder, which consumes 95% less power than the Viterbi decoder because the predecoder is much less complex than the Viterbi decoder, the Viterbi decoder can be disabled resulting in power saving of channel decoding. As such, that power can be diverted elsewhere, or the life of the device can be extended.
Communication technology involves a transmitter sending a signal to a receiver. Such a signal may be sent over wires or wireless channels. The received signal may not be the same as the transmitted signal due to various factors, e.g., noise. The term “decoding,” as used in the communication context, refers to using the received signal to estimate which transmit signal, out of multiple possible transmit signals, was transmitted. The Viterbi algorithm is an efficient procedure for solving maximum likelihood sequence estimation (MLSE) problems such as decoding of convolutional codes. The Viterbi algorithm estimates the most likely sequence of encoder states transitions given the received noisy samples. Considering a mapping of all the possibly transmitted signals onto a coordinate system, a similarly mapped received signal will not be located exactly on the transmitted signal, as expected, due to the factors mentioned above. Rather, the received signal may be in between the possibly transmitted signals, closer to some, and further from others. Decoders using maximum likelihood techniques employ the assumption that the further away the received signal is from a particular possibly transmitted signal on the mapping, the less likely the particular possibly transmitted signal is the transmitted signal. Accordingly, the closer the received signal is to a particular possibly transmitted signal, the more likely the particular possibly transmitted signal is the transmitted signal.
Turning for a moment to
Returning to
The tail byte-property test comprises comparing two sets of bits of the decoded data for identity. For example, if the last K-1 (K being the constraint length in a convolutional code) bits of the decoded data are not identical to the same number of first bits, the result is error in the decoded data.
A trellis is a sideways tree diagram used to represent different possible encoder states at different times. The individual branches of the trellis are associated with branch metrics, and paths through the trellis, comprising branch metrics, are associated with path metrics. The path metric is inversely proportional to the log likelihood probability of the path with which it is associated in at least one embodiment. The Viterbi algorithm recursively finds the path with the minimum path metric for each state. The branch metric reliability test comprises determining a number of trellis sections having a branch metric value above a first threshold, and determining if the number is greater than or equal to a second threshold. For example if the first threshold is 20 and the second threshold is 4, then an error result will occur if 4 or more trellis sections have a branch metric of above 20. Such a result suggests that the predecoder logic output has a higher probability of error than desired. Depending on the calculation, the thresholds may be floors rather than ceilings, e.g., 4 or less trellis sections have a branch metric of below 20. The value of the thresholds are adjustable as necessary.
The branch metric difference test comprises determining if a difference between two best branch metrics at a trellis section is less than a first threshold for at least a second threshold of trellis sections. For example, if the first threshold is 12 and the second threshold is 7, then an error result will occur if the difference between the lowest branch metric and the second lowest branch metric is less than 12 in at least 7 trellis sections. Such a result also suggests that the predecoder logic output has a higher probability of error than desired. Depending on the calculation, the thresholds may be ceilings rather than floors. Selector 212 comprises logic configured to determine the appropriate output based on the tests.
At 108, if the result of the test or tests is that there is an error in the decoded data, the Viterbi decoder is enabled. If the data was a portion of an entire message, the untested portions of the message are preferably not tested. In at least some embodiments, enabling the Viterbi decoder 206 comprises discontinuing testing of data, powering on the Viterbi decoder, and/or using the Viterbi decoder to decode the encoded data.
If the result of the test or tests is that there is no error in the decoded data, the Viterbi decoder is disabled resulting in power savings. If, as depicted in
The system 200 and/or method 100 is preferably implemented in a wireless electronic device (“WED”) such as a cellular phone, desktop computer, notebook computer, handheld computer, calculator, e-book reader, satellite, modem, or personal digital assistant. These WEDs use communication standards such as LTE, WiMAX, Wireless LAN, and UWB, and the system 200 and/or method 100 is compatible with each along with any other standard deploying a convolutional code for message protection from a noisy channel.
Using the systems and methods described herein, the bit error rate is comparable to that of using only a Viterbi decoder, as is the codeword error rate. The power consumption is much saved. A Viterbi decoder may use up to 11.9 mW in normal operation in one possible implementation. The system described in the instant disclosure uses only 0.0179 mW because the Viterbi decoder is disabled in most of the operating time. Other conditions and combinations of conditions will become apparent to those skilled in the art, including the combination of the conditions described above, and all such conditions and combinations are within the scope of the present disclosure. Additionally, audio or visual alerts may be triggered upon successful completion of any action described herein, upon unsuccessful actions described herein, and upon errors.
The above disclosure is meant to be illustrative of the principles and various embodiment of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. Also, the order of the actions shown in
The present application claims priority to U.S. Ser. No. 61/087,772 filed on Aug. 11, 2008 and entitled “Low-Power Predecoding Based Viterbi Engine,” which is herein incorporated by reference.
Number | Date | Country | |
---|---|---|---|
61087772 | Aug 2008 | US |