LPWAN communication protocol design with turbo codes
11695431 · 2023-07-04
Assignee
Inventors
Cpc classification
H03M13/258
ELECTRICITY
H03M13/2975
ELECTRICITY
H03M13/617
ELECTRICITY
H03M13/09
ELECTRICITY
H03M13/6306
ELECTRICITY
International classification
H03M13/25
ELECTRICITY
H03M13/00
ELECTRICITY
H03M13/09
ELECTRICITY
Abstract
A method and a decoder for receiving a message encoded in Turbo Codes and modulated for transmission as an analog signal includes: (a) demodulating the analog signal to recover the Turbo Codes; and (b) decoding the Turbo Codes to recover the message using an iterative Turbo Code decoder, wherein the decoding includes performing an error detection after a predetermined number of iterations of the Turbo Code decoder to determine whether or not an error has occurred during the transmission. The predetermined number of iterations may be, for example, two. Depending on the result of the error detection, the decoding may stop, a request for retransmission of the message may be sent, or further iterations of decoding in the Turbo Code decoder may be carried out.
Claims
1. A method for decoding a message in an analog signal received at a receiver, the message being encoded in Turbo Codes and modulated for transmission as a plurality of analog values in the analog signal, the message being constructed according to an error detection scheme to allow determining from a Turbo Codes-decoded result whether or not the message has been successfully decoded under the error detection scheme, the method comprising: (i) demodulating the analog signal to recover the Turbo Codes-encoded message; (ii) iteratively decoding the Turbo Codes-encoded message for a predetermined number of iterations to obtain a current result, wherein the iterative decoding is performed in conjunction with evaluating a probability that the current result corresponds to a correctly received message, the probability relating to the deviation of the analog values in the analog signal received from their corresponding values at transmission, the probability being in substance:
2. The method of claim 1, wherein the predetermined number of iterations is one.
3. The method of claim 1, wherein the message includes an error detection code, the method further comprising, prior to returning to step (ii), examining the error detection code in the current result; and stopping decoding when the error detection code indicates that an error has not occurred during the transmission.
4. The method of claim 3, wherein a request for retransmission of the message is sent when the error detection code indicates that an error has occurred during the transmission.
5. The method of claim 3, wherein the error detection code is generated using the error detection scheme, which is part of an error correction scheme.
6. The method of claim 3, wherein the error detection code is based on cyclic redundancy check.
7. The method of claim 6, wherein the cyclic redundancy check is based on a generator polynomial given by:
g(x)=x.sup.10+x.sup.9+x.sup.5+x.sup.4+x+1.
8. The method of claim 1, wherein the current result is used in a Turbo Code encoder to regenerate the Turbo Codes, and wherein the probability is computed based on the regenerated Turbo Codes.
9. A decoder for decoding a message in an analog signal received at a receiver, the message being encoded in Turbo Codes and modulated for transmission as a plurality of analog values in the analog signal, the message being constructed according to an error detection scheme to allow determining from a Turbo Codes-decoded result whether or not the message has been successfully decoded under the error detection scheme, the decoder comprising: a demodulator that demodulates the analog signal to recover the Turbo Codes-encoded message; and an iterative Turbo Code decoder that (i) provides a current result after a predetermined number of iterations of decoding the Turbo Codes-encoded message; (ii) determines from the current result whether or not the message has been successfully decoded under the error detection scheme; and (iii) returns to further iterative decoding of the Turbo Codes-encoded message when the message is determined not to have been successfully decoded under the error detection scheme; wherein the iterative Turbo Code decoder operates in conjunction with evaluating a probability that the current result corresponds to a correctly received message, the probability relating to the deviation of the analog values in the analog signal received from their corresponding values at transmission, the probability being in substance:
10. The decoder of claim 9, wherein the predetermined number of iterations is one.
11. The decoder of claim 9, wherein the message includes an error detection code, and wherein the iterative Turbo Code decoder, prior to returning to further iterative decoding, examines the error detection code in the current result, and stops further iterative decoding when the error detection code indicates that an error has not occurred during the transmission.
12. The decoder of claim 11, wherein a request for retransmission of the message is sent when the error detection code indicates an error has occurred during the transmission.
13. The decoder of claim 11, wherein the further iterative decoding is carried out in the Turbo Code decoder when the error detection code fails to indicate that an error has occurred during transmission.
14. The decoder of claim 11, wherein the error detection code is generated using the error detection scheme, which is part of an error correction scheme.
15. The decoder of claim 11, wherein the error detection code is based on cyclic redundancy check.
16. The decoder of claim 15, wherein the cyclic redundancy check is based on a generator polynomial given by:
g(x)=x.sup.10+x.sup.9+x.sup.5+x.sup.4+x+1.
17. The decoder of claim 16, wherein the current result is used in a Turbo Code encoder to regenerate the Turbo Codes, and wherein the probability is computed based on the regenerated Turbo Codes.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(9) Certain encoding scheme, such as Turbo Codes, do not have an error detection capability. The present invention provides an error detection ability to a Turbo Code-based communication scheme.
(10) According to one embodiment of the present invention, one may design an indicator that, when evaluated from the received modulated signal, can be used to determine to some level of confidence that a transmitted signal is correctly received. For example, suppose an analog value Y.sub.i is received from modulated analog value X.sub.i (which may be either −1.0 or +1.0, inclusive) for the i-th bit of a transmitted message block. The modulation may be, for example, a CDMA in conjunction with a phase shift key modulation scheme. For a Gaussian channel, the probability received signal Y.sub.i deviates from the mean of the transmitted value X.sub.i, P(Y.sub.i−X.sub.i|X.sub.i), has a Gaussian distribution, which can be empirically obtained. Furthermore, for binary values transmitted over a Gaussian channel, the probability that the i-th bit of a message block of length L has the received value Y.sub.i, as a result of the value being transmitted as X.sub.i, is given by:
(11)
for i=1, 2, . . . , L. This probability for each bit is independent from the same probability for any of the other bits in the message block, although they have the same probability distribution. This probability may be interpreted to represent the probability that the i-th bit of the message block, having value X.sub.i, is correctly received. Because of their independence, the log probability that all bits of the message block are correctly received is related to:
(12)
(13) For a sufficiently long message block (e.g., L≥40), this log probability may be estimated by variable S with a Gaussian distribution:
(14)
(15) For a given message block, the amount the value of variable S deviates from its mean indicates the probability that one or more bits are incorrectly received. Thus, variable S may be used as an indicator that can serve as error detection.
(16) In one embodiment of the present invention, in which the Turbo Code encoding scheme of }, in which
is the data portion of the Turbo Codes and
are the RSC codes. The binary data sequence {
} is then provided to a Turbo Code encoder to replicate the Turbo Coding that occurred on the transmitter side prior to transmission. The Turbo Code encoder provides the sequence {{circumflex over (X)}.sub..Math.}, which is {
}, where
are the computed RSC codes. {{circumflex over (X)}.sub..Math.} is then used to compute variable S and its deviation from the mean value
(17)
(18) The indicator threshold thus should be selected to simultaneously contain both false positives (i.e., accepting as incorrect value as correct) or false negative (i.e., rejecting a correct value as incorrect).
(19) When a block is rejected as incorrectly received based on the indicator, a decoder may send a resend request. Alternatively, if the communication protocol sends an acknowledgement for an accepted block, an unacknowledged block is automatically resent after a predetermined time period has elapsed.
(20) According to one embodiment of the present invention and as illustrated in
(21)
g(x)=x.sup.10+x.sup.9+x.sup.5+x.sup.4+x+1
(22)
(23) In fact, by combining error detection using the indicator with error detection using CRC codes, as taught above, a bit error rate of 9.0035×10.sup.−9 is achieved after one Turbo Code decoding iteration.
(24) As one can see from the above, by augmenting Turbo Codes with an error detection capability, the number of iterations necessarily for decoding Turbo Codes can be significantly reduced, thereby shortening decoding latency by six-folds or more in many practical applications.
(25) The above detailed description is provided to illustrate the specific embodiments of the present invention and is not intended to be limiting. Numerous modification and variations of the present invention is possible within the scope of the present invention. The present invention is set forth in the following claims.