A channel decoding method and decoder are disclosed. The decoding method is based on a Circular viterbi algorithm (CVA), rules out impossible initial states one by one through iterations according the received soft information sequence, and finally finds the global optimal tail-biting path. In the present invention, all impossible iterations are ruled out through multiple iterations, and only the initial state having most likelihood with the received sequence survives. The algorithm is finally convergent to an optimal tail-biting path to be output. In addition, the method also updates a metric of a maximum likelihood tail-biting path (MLTBP) or rules out impossible initial states through the obtained surviving tail-biting path, thereby effectively solving the problem that the algorithm is not convergent due to a circular trap, providing a practical optimal decoding algorithm for a tail-biting convolutional code, reducing the complexity of an existing decoding scheme, and saving the storage space.
|
2. A channel decoding method, comprising:
S201: setting, via a mobile or wireless communications system, the maximum allowed number of iterations N=20, when i=1 (during the first iteration), initializing an accumulated metric of each initial state to 0, that is, mpath,0i(s)=0, where sεS0, and performing a modified viterbi algorithm (MVA);
S202: if the maximum likelihood path (mlp) is equal to the optimal tail-biting path, that is, pmlp1=PMLTBP1, stopping decoding, and outputting pMLTBP1 as the decoding result; otherwise, saving pmlp1 in pmlpO; if mMLTBP1>0, letting pMLTBPO=PMLTBP1 and mMLTBPO=MMLTBP1;
S203: when i>1 (in an iteration after the first iteration), letting mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (pmlpi, mmlpi); finding (pMLTBPi, mMLTBPi), and if mMLTBPi>mMLTBPO, letting pMLTBPO=PMLTBPi;
S204: if either mmlpi=MMLTBPi or mMLTBPi=MMLTBPO is satisfied, stopping decoding, and performing S206; otherwise, continuing to perform S205;
S205: if mMLTBPi>mMLTBPO, letting mMLTBPO=MMLTBPi; if N is not reached, i.e. i<N, returning to S203; otherwise, performing S206;
S206: if pMLTBPO exists, outputting pMLTBPO as the decoding result; otherwise, outputting pmlpO.
3. A channel decoding method, comprising:
S301: setting, via a mobile or a wireless communications system, the maximum allowed number of iterations N=20, when i=1 (during the first iteration), initializing an accumulated metric entering each initial state to 0, that is, mpath,0i(s)=0, where sεS0, and performing a modified viterbi algorithm (MVA);
S302: if the maximum likelihood path (mlp) is equal to the optimal tail-biting path, that is, pmlp1=PMLTBP1, stopping decoding, and outputting pMLTBP1 as the decoding result; otherwise, saving pmlp1 in pmlpO; if mMLTBP1>0, letting pMLTBPO=PMLTBP1 and mMLTBPO=MMLTBP1;
S303: when i>1 (in an iteration after the first iteration), letting mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (pmlpi, mmlpi); finding (pMLTBPi, mMLTBPi), and if mMLTBPi>mMLTBPO, letting pMLTBPO=PMLTBPi;
S304: if either mmlpi=MMLTBPi or mmlpi=Mmlpi−1 is satisfied, stopping decoding, and performing S306; otherwise, continuing to perform S305;
S305: if mMLTBPi>mMLTBPO, letting mMLTBPO=MMLTBPi; if N is not reached, i.e. i<N, returning to S303; otherwise, performing S306;
S306: if pMLTBPO exists, outputting pMLTBPO as the decoding result; otherwise, outputting pmlpO.
5. A channel decoder comprising a non-transitory computer-readable medium comprising computer-readable code that, when executed, performs a method, the method comprising:
initialize an accumulated path metric of each initial state to 0, that is, mpath,0i(s)=0 where sεS0, and performing a modified viterbi algorithm (MVA) during the first iteration (when i=1); setting the maximum allowed number of iterations N=20;
determine whether a maximum likelihood path (“MLP”) is equal to an optimal tail-biting path, that is, whether pmlp1=PMLTBP1; if yes, stopping decoding and outputting pMLTBP1 as a decoding result; otherwise, saving pmlp1, and making an optimal mlp equal to the mlp, that is, pmlpO=Pmlp1; if mMLTBP1>0, letting pMLTBPO=PMLTBP1 and mMLTBPO=MMLTBP1;
perform an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric mpath,Li−1(s) of the path terminated at state s at the end of the previous iteration, that is, letting mpath,0i(s)=Mpath,Li(s), and performing an MVA; finding (pmlpi, mmlpi); finding (pMLTBPi, mMLTBPi), and if mMLTBPi>mMLTBPO, letting pMLTBPO=PMLTBPi;
stop decoding according to a preset condition (if either mmlpi=MMLTBPi or mmlpi=Mmlpi−1 is satisfied), and enabling result output of a result output module when pMLTBPO exists; if mMLTBPi>mMLTBPO, letting mMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
output a decoding result, that is, when pMLTBPO exists, outputting pMLTBPO as a decoding result; otherwise, outputting pmlpO.
4. A non-transitory computer-readable medium comprising computer-readable code that, when executed, performs a method, the method comprising:
initializing an accumulated path metric of each initial state to 0, that is, mpath,0i(s)=0 where sεS0, and performing a modified viterbi algorithm (MVA) during the first iteration (when i=1); setting the maximum allowed number of iterations N=20;
determining whether a maximum likelihood path (“MLP”) is equal to an optimal tail-biting path, that is, whether pmlp1=PMLTBP1; if yes, stopping decoding and outputting pMLTBP1 as a decoding result; otherwise, saving pmlp1, and making an optimal mlp equal to the mlp, that is, pmlpO=Pmlp1; if mMLTBP1>0, letting pMLTBPO=PMLTBP1 and mMLTBPO=MMLTBP1;
performing an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric mpath,0i(s)=Mpath,Li−1(s), of the path terminated at state s at the end of the previous iteration, that is, letting mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (pmlpi, mmlpi); finding (pMLTBPi, mMLTBPi), and if mMLTBPi>mMLTBPO, letting pMLTBPO=PMLTBPi;
stopping decoding according to a preset condition (if either mmlpi=MMLTBPi or mMLTBPi=MMLTBPO is satisfied), and enabling result output of a result output module when pMLTBPO exists; if mMLTBPi>mMLTBPO, letting mMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
outputting a decoding result, that is, when pMLTBPO exists, outputting pMLTBPO as a decoding result; otherwise, outputting pmlpO.
1. A channel decoding method, comprising:
S101: during the first iteration, i.e. i=1, initializing, via a mobile or a wireless communications system, the metric mpath,0i(s) of the surviving path that enters state s at position 0 to 0, where sεS0, S0 indicates the state space at position 0, and i indicates the number of iterations; setting the metric of the optimal maximum likelihood tail-biting path (MLTBP) pMLTBPO to 0, that is, letting pMLTBPO=0; performing a modified viterbi algorithm (MVA), and searching for MLTBP in current iteration; for all sεS0, setting the state metric of state s to be equal to mpath,L1(s), that is, letting mstate(s)=Mpath,L1(s);
S102: if the net path metric mMLTBPi of pMLTBPi(s′,s′) found in current iteration is greater than the metric mMLTBPO, that is, mMLTBPi>mMLTBPO, updating (pMLTBP, mMLTBPO) with (pMLTBPi(s′,s′), mMLTBP);
S103: for sεSL, where L is the length of information sequence, and SL indicates the state space at position L, comparing the state metric mstate(s) of state s with the metric mMLTBPO of the MLTBP in the latest update; if mstate(s)≦MMLTBPO, updating mstate(s)=0; otherwise, letting mpath,0i+1(s)=Mpath,Li(s); if mstate(s)>mpath,Li(s)−Mpath,0i(s), updating mstate(s)=Mpath,Li(s)−Mpath,0i(s); making statistics on the number of states with state metric greater than mMLTBPO, and saving the number of states in sum(i);
S104: if sum(i)=0, stopping the iteration, and outputting the optimal MLTBP pMLTBPO; if sum(i)=sum(i−1), performing viterbi decoding once with state β(s) as fixed initial state and termination state, where β(s) is the starting state of the maximum likelihood path (mlp) found in the ith iteration, i.e. pmlpi(β(s),s); obtaining a tail-biting path pTBP(β(s),β(s)) with metric mTBP(β(s),β(s)) thereof; if mTBP(β(s),β(s))>mMLTBPO, updating (pMLTBPO, mMLTBPO,) with (pTBP(β(s),β(s)), mTBP(β(s),β(s))), and letting mstate(β(s))=0 and mpath,0i+1(β(s))=0;
S105: i++ and letting sum(i)=0, and performing a next iteration, that is, repeating S102 to S104.
|
1. Field of Invention
The present invention belongs to the field of information technologies, and relates to a decoding method, and specifically to a channel decoding method and decoder for tail-biting codes.
2. Description of Related Arts
In existing and next generation mobile communications networks, in order to ensure reliable transmission of data and control signaling, tail-biting convolutional codes, as highly efficient encoding scheme, are widely applied in various mobile communications systems. The tail-biting convolutional code is used in early IS-54, and current Enhanced Data Rate for GSM Evolution (EDGE), Worldwide Interoperability for Microwave Access (WiMax) and Long Term Evolution (LTE) systems. The tail-biting convolutional code is widely applied because the convolutional code encoded in a tail-biting manner eliminates the code rate loss caused by the known tail-bits that are used to initialize the encoder; meanwhile, a tail-biting structure provides all information bits with the same protection capability. Due to the above advantages, the tail-biting convolutional code is widely applied in various communications systems and serves as an encoding manner for control signaling. For short information sequence, encoding in tail-biting manner provides significant protection on code rate. For example, if an information sequence with cyclic redundancy check bits of total length of 40 bits in LTE broadcast channel is not encoded in tail-biting manner, the code rate loss reaches 13%. Currently, tail-biting convolutional codes have been used in EDGE, WiMax, LTE, and so on for control channel encoding.
Although the tail-biting convolutional code has a lot of advantages, implementation of an optimal decoding scheme based on the Viterbi algorithm is complex because a decoder knows neither the initial state nor the termination state of the encoder. Therefore, no optimal decoding scheme based on the Viterbi algorithm is available currently. A large quantity of current decoding algorithms, such as the Wrap-Around Viterbi Algorithm (WAVA) based on the circular Viterbi algorithm, are sub-optimal decoding algorithms. In order to find an optimal decoding algorithm for tail-biting convolutional codes, some scholars apply the shortest path search algorithm in the graph theory to the decoding algorithm of tail-biting convolutional codes, and obtain a two-step maximum likelihood decoding algorithm through designing a proper heuristic function. In the first step of the algorithm, the accumulated metrics of all surviving paths at each moment are obtained through a Modified Viterbi Algorithm (MVA). In the second step of the algorithm, an optimal tail-biting path output is obtained through a shortest path search algorithm. Such decoders use completely different search methods in the two steps, which is excessively complex for practical applications. Moreover, despite the partial reduction of the calculation amount, the heuristic search used in the algorithm requires a great number of push and pull operations as well as sequencing operations, and most importantly, the utilization ratio of a storage space is decreased. The space application is performed on the basis of the maximum storage space, leading to a low utilization ratio of a lot of storage spaces. Although search branches of such algorithm in Step 2 is significantly reduced as compared with the WAVA, the entire algorithm is performed in series since the search for a path corresponding to the minimum value of the current function f is performed under the instruction of the heuristic function, and an actual performing period is longer than that of two circles of the Viterbi algorithm.
An objective of the present invention is to provide a channel decoding method and decoder, in which the decoding method is capable of implementing reduced-complexity optimal decoding of a tail-biting convolutional code.
In order to solve the above technical problems, the present invention uses the following technical solutions.
A channel decoding method is provided, which comprises the following steps:
S101: during the first iteration, i.e. i=1, initializing the metric Mpath,0i(s) of the surviving path that enters state s at position 0 to 0, where sεS0, S0 indicates the state space at position 0, and i indicates the number of iterations; setting the metric of the optimal maximum likelihood tail-biting path (MLTBP) PMLTBPO to 0, that is, letting MMLTBPO=0; performing an MVA, and searching for MLTBP in current iteration; for all sεS0, setting the state metric of state s to be equal to Mpath,L1(s), that is, letting Mstate(s)=Mpath,L1(s);
S102: if the net path metric MMLTBPi of PMLTBPi(s′,s′) found in current iteration is greater than the metric MMLTBPO, that is, MMLTBPi>MMLTBPO, updating (PMLTBPO, MMLTBPO) with (PMLTBPi(s′,s′), MMLTBPi);
S103: for sεSL, where L is the length of information sequence, and SL indicates the state space at position L, comparing the state metric Mstate(s) of state s with the metric MMLTBPO of the MLTBP in the latest update; if Mstate(s)≦MMLTBPO, updating Mstate(s)=0; otherwise, letting Mpath,0i+1(s)=Mpath,Li(s); if Mstate(s)>Mpath,Li(s)−Mpath,0i(s), updating Mstate(s)=Mpath,Li(s)−Mpath,0i(s); making statistics on the number of states with state metric greater than MMLTBPO, and saving the number of states in sum(i);
S104: if sum(i)=0, stopping the iteration, and outputting the optimal MLTBP PMLTBPO; if sum(i)=sum(i−1), performing Viterbi decoding once with state β(s) as fixed initial state and termination state, where β(s) is the starting state of the maximum likelihood path (MLP) found in the ith iteration, i.e. PMLPi(β(s),s); obtaining a tail-biting path PTBP(β(s),β(s)) with metric MTBP(β(s),β(s)) thereof; if MTBP(β(s),β(s))>MMLTBPO, updating (PMLTBPO, MMLTBPO) with (PTBP(β(s),β(s)), MTBP(β(S),β(s))), and letting Mstate(β(s))=0 and Mpath,0i+1(β(s))=0.
S105: i++ and letting sum(i)=0, and performing a next iteration, that is, repeating S102 to S104.
A channel decoding method is provided, which comprises the following steps:
S201: setting the maximum allowed number of iterations N=20 when i=1 (during the first iteration), initializing an accumulated metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA.
S202: if the maximum likelihood path (MLP) is equal to the optimal tail-biting path, that is, PMLP1=PMLTBP1, stopping decoding, and outputting PMLTBP1 as the decoding result; otherwise, saving PMLP1 in PMLPO; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
S203: when i>1 (in an iteration after the first iteration), letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
S204: if either MMLPi=MMLTBPi or MMLTBPi=MMLTBPO is satisfied, stopping decoding, and performing S206; otherwise, continuing to perform S205;
S205: if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; if N is not reached, i.e. i<N, returning to S203; otherwise, performing S206;
S206: if PMLTBPO exists, outputting PMLTBPO as the decoding result; otherwise, outputting PMLPO.
A channel decoding method is provided, which comprises the following steps:
S301: setting the maximum allowed number of iterations N=20 when i=1 (during the first iteration), initializing an accumulated metric entering each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA;
S302: if the maximum likelihood path (MLP) is equal to the optimal tail-biting path, that is, PMLP1=PMLTBP1, stopping decoding, and outputting PMLTBP1 as the decoding result; otherwise, saving PMLP1 in PMLPO; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
S303: when i>1 (in an iteration after the first iteration), letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
S304: if either MMLPi=MMLTBPi or MMLPi=MMLPi−1 is satisfied, stopping decoding, and performing S306; otherwise, continuing to perform S305;
S305: if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; if N is not reached, i.e. i<N, returning to S303; otherwise, performing S306;
S306: if PMLTBPO exists, outputting PMLTBPO as the decoding result; otherwise, outputting PMLPO.
A channel decoder is provided, which comprises the following modules:
an initialization module, used for initializing an accumulated path metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA during the first iteration (when i=1); setting the maximum allowed number of iterations N=20.
a determination module, used for determining whether an MLP is equal to an optimal tail-biting path, that is, whether PMLP1=PMLTBP1; if yes, stopping decoding and outputting PMLTBP1 as a decoding result; otherwise, saving PMLP1, and making an optimal MLP equal to the MLP, that is, PMLPO=PMLP1; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
an iteration module, used for performing an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric Mpath,Li−1(s) of the path terminated at state s at the end of the previous iteration, that is, letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
an iteration determination module, used for stopping decoding according to a preset condition (if either MMLPi=MMLTBPi or MMLTBPi=MMLTBPO is satisfied), and enabling result output of a result output module when PMLTBPO exists; if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
the result output module, used for outputting a decoding result, that is, when PMLTBPO exists, outputting PMLTBPO as a decoding result; otherwise, outputting PMLPO.
A channel decoder is provided, which comprises the following modules:
an initialization module, used for initializing an accumulated path metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA during the first iteration (when i=1); setting the maximum allowed number of iterations N=20;
a determination module, used for determining whether an MLP is equal to an optimal tail-biting path, that is, whether PMLP1=PMLTBP1; if yes, stopping decoding and outputting PMLTBP1 as a decoding result; otherwise, saving PMLP1, and making an optimal MLP equal to the MLP, that is, PMLPO=PMLP1 if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
an iteration module, used for performing an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric Mpath,Li−1(s) of the path terminated at state s at the end of the previous iteration, that is, letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
an iteration determination module, used for stopping decoding according to a preset condition (if either MMLPi=MMLTBPi or MMLPi=MMLPi−1 is satisfied), and enabling result output of a result output module when PMLTBPO exists; if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
the result output module, used for outputting a decoding result, that is, when PMLTBPO exists, outputting PMLTBPO as a decoding result; otherwise, outputting PMLPO.
The present invention has the following beneficial effects: the channel decoding method provided in the present invention rules out all impossible states through multiple iterations, and only the initial state of the MLTBP survives, and finally the algorithm is convergent to global optimal tail-biting path. In addition, the method also updates the metric of the best tail-biting path found in the first i iterations, and rules out β(s) from the set of the initial states candidates, thereby effectively solving the problem that the algorithm is not convergent due to a circular trap, and providing a practical optimal decoding algorithm for the tail-biting convolutional code, reducing the complexity of an existing decoding scheme, reducing the number of iterations, and saving the storage space during decoding.
In view of the problems of the algorithms in the prior art, the present invention provides a practical optimal decoding algorithm based on a Circular Viterbi Algorithm (CVA), namely, a method for decoding tail-biting convolutional codes. The decoding method implements reduced-complexity optimal decoding for the tail-biting convolutional codes. Meanwhile, the method of the present invention also implements reduced-complexity optimal decoding for block codes that can be represented by a tail-biting trellis diagram.
The channel decoding method according to the present invention applies to decoding a tail-biting convolutional code in current wireless communications systems (such as EDGE) as well as next-generation mobile communications systems (such as WiMax and LTE), and is also effective for block codes (such as a (24, 12) Golay code) that can be represented by a tail-biting trellis diagram.
The channel decoding method according to the present invention is a reduced-complexity and practical optimal decoding scheme for a tail-biting convolutional code, namely, a maximum likelihood decoding algorithm. The present invention is based on the CVA, and rules out impossible initial states one by one through iterations according to a received soft information sequence, and finally finds the global optimal tail-biting path. The decoding method according to the present invention accelerates the convergence speed of a decoder through effectively processing a circular trap. Meanwhile, the algorithm is simple and easy to implement, and has a critical application value.
Embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
For a tail-biting convolutional code, the initial state of the encoder is initialized with last few information bits, and when the encoding is ended, the encoder is terminated at the same state as the initial state thereof, which is referred to as “tail-biting”.
This embodiment provides a channel decoding method, which searches for the optimal tail-biting path through performing CVA. During the circulation, it may happen that all surviving paths in two circulations are completely the same, and this situation is referred to as a circular trap. The channel decoding method detects the circular trap, and effectively processes the circular trap to accelerate a convergence speed of the algorithm.
The trellis diagram in
It is assumed that each position k in the trellis diagram has 2v states, where 0≦k≦L−1, v is the number of encoding registers, L is a length of the information sequence, Sk indicates a state space at position k, and the position where k=L is the position where k=0.
It is assumed that in the ith iteration, Mpath,ki(s) indicates the accumulated path metric of the surviving path that enters state s at position k. Pi(β(s),s) indicates the surviving path starting from state β(s) and terminated at state s, where sεSL, β(s)εS0. In the ith iteration, the net path metric of the surviving path Pi(β(s),s) is recorded as Mpathi(β(s),s), which indicates a sum of metrics of all branches of the path in the current iteration, that is, Mpathi(β(s),s)=Mpath,Li(s)−Mpath,0i(β(s)). It is assumed that the MLP obtained in the ith iteration is PMLPi(β(s),s), and the obtained MLTBP and net path metric are respectively PMLTBPi(s′,s′) and MMLTBPi(s′,s′).
Similarly, the state metric of state s is defined as follows: Mstate(s)=Mpath,Li(s)−Mpath,0i(s)·(PMLTBPO, MMLTBPO) is used to record the optimal MLTBP found till the current iteration and a metric thereof. After the ith iteration, some of the survivor paths with net path metric greater than MMLTBPO, and others with the net path metric less than MMLTBPO. A variable sum(i) is used to record the number of surviving paths with net path metric greater than MMLTBPO when the current iteration is ended.
A process of the channel decoding method specifically comprises the following steps:
Step 101:
When i=1 (during the first iteration), initialize a metric Mpath,0i(s) of all surviving paths that enters state s at position 0 to 0, that is, Mpath,0i(s)=0, where sεS0, S0 indicates a state space at position 0, and i indicates the number of iterations; setting the metric of the optimal maximum likelihood tail-biting path (MLTBP) PMLTBPO to 0, that is, letting MMLTBPO=0; performing an MVA, and searching for MLTBP in current iteration PMLTBPi(s′,s′); for all sεS0, setting the state metric of state s to be equal to Mpath,L1(s), that is, letting Mstate(s)=Mpath,L1(s); Mpath,L1(s) indicates a metric of surviving path that enters state s at position L during the first iteration.
Step 102:
Find the MLP PMLPi(β(s),s) and the MLTBP PMLTBPi(s′,s′), if the net path metric MMLTBPi of PMLTBPi(s′,s′) found in current iteration is greater than the metric MMLTBPO, that is, MMLTBPi>MMLTBPO, updating (PMLTBPO, MMLTBPO) with (PMLTBPi(s′,s′), MMLTBPi);
Step 103:
For sεSL, where L is the length of information sequence, and SL indicates the state space at position L, comparing the state metric Mstate(s) of state s with the metric MMLTBPO of the MLTBP in the latest update; if Mstate(s)≦MMLTBPO, updating Mstate(s)=0; otherwise, letting Mpath,0i+1(s)=Mpath,Li(s); if Mstate(s)>Mpath,Li(s)−Mpath,0i(s), updating Mstate(s)=Mpath,Li(s)−Mpath,0i(s); making statistics on the number of states with state metric greater than MMLTBPO, and saving the number of states in sum(i);
Step 104:
If sum(i)=0, stopping the iteration, and outputting the optimal MLTBP PMLTBPO; if sum(i)=sum(i−1), performing Viterbi decoding once with state β(s) as fixed initial state and termination state, where β(s) is the starting state of the maximum likelihood path (MLP) found in the ith iteration, i.e. PMLPi(β(s),s); obtaining a tail-biting path PTBP(β(s),β(s)) with metric MTBP(β(s),β(s)) thereof; if MTBP(β(s),β(s))>MMLTBPO, updating (PMLTBPO, MMLTBPO) with (PTBP(β(s),β(s)), MTBP(β(s),β(s))), and letting Mstate(β(s))=0 and Mpath,0i+1(β(s))=0.
Step 105:
The optimality of the channel decoding method is described as follows:
(1) If the MLP and MLTBP found in the first iteration are the same, and sum(1)=0 in Step 3, and the MLTBP can be output in Step 5.
(2) Through detection over the relationship between the state metric Mstate(s) and MMLTBPO, impossible initial states are ruled out from S0. Through multiple iterations, all impossible states are ruled out. Only the initial state of a tail-biting path having maximum likelihood with a received sequence survives. The algorithm is finally convergent to the optimal tail-biting path to be output.
(3) When a circular trap occurs, the equation sum(i)=sum(i−1) is true. At this time, the initial state β(s) of the MLP obtained in the previous iteration is used for regular Viterbi decoding, and the obtained surviving tail-biting path is used to update MMLTBPO or rule out β(s) from the set of initial states candidates. Such a processing manner effectively solves the problem that the algorithm is not convergent due to the circular trap.
In conclusion, the decoding algorithm provided in the embodiment of the present invention is finally convergent to the optimal tail-biting path. The decoding method according to the present invention may be applied to channel decoding in current and next generation mobile communications systems. The method provides a practical optimal decoding algorithm for a tail-biting convolutional codes and reduces the complexity of the decoding scheme.
In this embodiment, the channel decoding method (namely the method for decoding a tail-biting convolutional code) according to Embodiment 1 is recorded as reduced-complexity maximum likelihood decoder (RC-MLD) method, and is compared with the WAVA. A simple termination condition is used in the WAVA. This embodiment compares a BLER and Average Number of Iteration (ITER) of the RC-MLD with those of the WAVA.
The simulation is based on an Additive White Gaussion Noise (AWGN) channel, and encoded bits are modulated through quadri phase shift keying (QPSK). For the WAVA, the maximum number of iterations allowed in the simulation is set to 20, and for the RC-MLD method, the maximum number of iterations is set to different values in different application scenarios because theoretically, the required maximum number of iterations may be 2v.
First group of simulation tests: Comparison of decoding performance of different decoding algorithms on a tail-biting convolutional code.
Firstly, the application of the tail-biting convolutional codes in EDGE is analyzed. Tail-biting convolutional encoding with a code rate of ⅓ is used for a data header in Type 5 of the EDGE. The octal generator polynomials of this convolutional code are {133, 171, 145} with constraint length of 7. Therefore, the maximum number of iterations in the RC-MLD is set to 64. The length of a data header input to an encoder is 36 bits, and the puncture is not considered herein. The tail-biting convolutional encoding can reduce at least 15% of the loss of effective code rate. A simulation result is shown in Table 1.
TABLE 1
Decoding performance of different decoding algorithms in an EDGE scenario
Eb/N0
−2 dB
0 dB
2 dB
4 dB
BLER
ITER
BLER
ITER
BLER
ITER
BLER
ITER
RC-MLD
0.7894
3.97
0.2701
2.27
0.0126
1.26
6.2e−5
1.05
WAVA
0.7923
18.83
0.2737
13.81
0.0129
5.50
6.2e−5
1.95
Secondly, the application of the tail-biting convolutional code in LTE is analyzed. The octal generator polynomials in LTE broadcast channel are {133, 171, 165} with code rate of ⅓ and constraint length of 7. Therefore, the maximum number of iterations of the RC-MLD is set to 64; the length of the information sequence input to an encoder is 40 bits. Without the tail-biting encoding, an actual transmission loss of effective code rate reaches 13%.
TABLE 2
Decoding performance of different decoding algorithms in an LTE scenario
Eb/N0
−2 dB
0 dB
2 dB
4 dB
BLER
ITER
BLER
ITER
BLER
ITER
BLER
ITER
RC-MLD
0.8178
3.62
0.2922
2.16
0.0138
1.26
6.52e−5
1.05
WAVA
0.8203
18.94
0.2946
13.98
0.0138
5.58
6.52e−5
1.96
Second group of simulation tests: Comparison of decoding performance of different decoding algorithms on a special block code.
The (24, 12) Golay code is an example of block codes that can be represented by a tail-biting trellis diagram. The (24, 12) Golay code can be generated by a convolutional encoder with code rate of ½, constraint length of 7 and octal generator polynomials of {103, 166}. The maximum number of iterations allowed in the RC-MLD is set to 64 herein.
TABLE 3
Decoding performance of different decoding algorithms on a (24, 12) Golay code
Eb/N0
−1 dB
1 dB
3 dB
5 dB
BLER
ITER
BLER
ITER
BLER
ITER
BLER
ITER
RC-MLD
0.4196
4.56
0.1346
2.75
0.0128
1.50
0.0002
1.10
WAVA
0.4299
17.83
0.1392
14.05
0.0133
7.72
0.0002
2.87
According to the above simulation results, since the RC-MLD is an optimal decoding algorithm, the BLER thereof is better than that of the sub-optimal algorithm WAVA. Meanwhile, effective processing is performed on the circular trap, and impossible initial states are ruled out during the decoding process. Therefore, the RC-MLD has a greater convergence speed than the WAVA.
For a tail-biting convolutional code, the initial state of encoder is initialized using last few information bits, and when the encoding is ended, the end state of the encoder is the same as the initial state thereof, which is referred to as “tail-biting”.
An MLP (code word/path) PMLPi is obtained each time the tail-biting convolutional decoding method is repeated. Sometimes PMLPi is not an optimal tail-biting path, therefore the method needs to proceed to a next iteration. The circulation continues until a preset termination condition is satisfied.
In the ith iteration, Mki(s) indicates the accumulated metric of surviving path that enters state s at position k.
Herein, β(s) is used to indicate the initial state of the surviving path terminated at state s, it is stipulated that sεSL.
In the ith iteration, the net path metric of surviving path Pi(β(s†),s†) is recorded as Mpathi(β(s†),(s†), which indicates the sum of metrics of all branches of the path in the current iteration, that is, Mpathi(β(s†),s†)=Mpath,Li(s†)−Mpath,0i(β(s†)). Hence, net increases of MLP PMLPi(β(s),s) and MLTBP PMLTBPi(s′,s′) are respectively expressed as follows: MMLPi(β(s),s)=Mpath,Li(s)−Mpath,0i(β(s)), and MMLTBPi(s′,s′)=Mpath,Li(s′)−Mpath,0i(s′). It should be noted that a tail-biting path may not be found in each time of iteration.
In this embodiment, (PMLPO, MMLPO) is used to recode the MLP found till the current iteration and a metric thereof, and (PMLTBPO, MMLTBPO) is used to recode the optimal MLTBP found till the current iteration and a metric thereof. Finally, the maximum number of iterations allowed is set to N.
When decoding based on a CVA is performed, a circular phenomenon may occur, that is, surviving paths obtained in two iterations are the same. When the circular trap occurs, further iterations do not produce any better decoding output. Therefore, one of the following conditions is used to detect whether a circular trap occurs:
MMLTBPi=MMLTBPO 1)
MMLPi=MMLPi−1 2)
The above conditions may effectively detect the occurrence of a circular trap and timely terminate the iteration.
When no circular trap occurs, condition 3) is used to terminate the iteration:
MMLPi=MMLTBPi 3)
On the basis of the above conditions, this embodiment provides a more efficient channel decoding method (ET-CVA, short for Early-terminated CVA). The method comprises the following steps:
S201: setting the maximum allowed number of iterations N=20. when i=1 (during the first iteration), initializing an accumulated metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA.
S202: if PMLP1=PMLTBP1, stopping decoding, and outputting PMLTBP1 as the decoding result; otherwise, saving PMLP1 in PMLPO; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
S203: when i>1 (in an iteration after the first iteration), letting Mpath,01(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
S204: If either MMLPi=MMLTBPi or MMLTBPi=MMLTBPO is satisfied, stopping decoding, and performing S206; otherwise, continuing to perform S205 (ET-CVA 1).
S205: if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; if N is not reached, i.e. i<N, returning to S203; otherwise, performing S206.
S206: if PMLTBPO exists, outputting PMLTBPO as the decoding result; otherwise, outputting PMLPO.
For better description of the above method, the corresponding flow chart is shown in
This embodiment provides a decoder for implementing the channel decoding method in Embodiment 3. As shown in
an initialization module, used for initializing an accumulated metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA during a first iteration (when i=1); setting the maximum allowed number of iterations N=20.
a determination module, used for determining whether an MLP is equal to an optimal tail-biting path, that is, whether PMLP1=PMLTBP1; if yes, stopping decoding and outputting PMLTBP1 as a decoding result; otherwise, saving PMLP1, and making an optimal MLP equal to the MLP, that is, PMLPO=PMLP1; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
an iteration module, used for performing an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric Mpath,Li−1(s) of the path terminated at state s at the end of the previous iteration, that is, letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
an iteration determination module, used for stopping decoding according to a preset condition (if either MMLPi=MMLTBPi or MMLTBPi=MMLTBPO is satisfied), and enabling result output of a result output module when PMLTBPO exists; if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
the result output module, used for outputting a decoding result, that is, when PMLTBPO exists, outputting PMLTBPO as a decoding result; otherwise, outputting PMLPO.
This embodiment provides a decoder for implementing the channel decoding method in Embodiment 4. The decoder comprises the following modules:
an initialization module, used for initializing an accumulated path metric of each initial state to 0, that is, Mpath,0i(s)=0, where sεS0, and performing an MVA during the first iteration (when i=1); setting the maximum allowed number of iterations N=20;
a determination module, used for determining whether an MLP is equal to an optimal tail-biting path, that is, whether PMLP1=PMLTBP1; if yes, stopping decoding and outputting PMLTBP1 as a decoding result; otherwise, saving PMLP1, and making an optimal MLP equal to the MLP, that is, PMLPO=PMLP1; if MMLTBP1>0, letting PMLTBPO=PMLTBP1 and MMLTBPO=MMLTBP1;
an iteration module, used for performing an iteration operation, specifically, when i>1 (in an iteration after the first iteration), initializing the accumulated path metric of the surviving path that enters state s in ith iteration to be the accumulated path metric Mpath,Li−1(s) of the path terminated at state s at the end of the previous iteration, that is, letting Mpath,0i(s)=Mpath,Li−1(s), and performing an MVA; finding (PMLPi, MMLPi); finding (PMLTBPi, MMLTBPi), and if MMLTBPi>MMLTBPO, letting PMLTBPO=PMLTBPi;
an iteration determination module, used for stopping decoding according to a preset condition (if either MMLPi=MMLTBPi or MMLPi=MMLPi−1 is satisfied), and enabling result output of a result output module when PMLTBPO exists; if MMLTBPi>MMLTBPO, letting MMLTBPO=MMLTBPi; and if the maximum allowed number of iterations is not reached, continuing the operation of the iteration module; and
the result output module, used for outputting a decoding result, that is, when PMLTBPO exists, outputting PMLTBPO as a decoding result; otherwise, outputting PMLPO.
Compared with the prior art, the decoder according to the present invention significantly reduces the complexity of decoding, reduces the number of iterations, and saves the storage space during the decoding process. The new channel decoding method and decoder are effective not only on the tail-biting convolutional code, but also on common block codes that can be presented by a tail-biting trellis diagram.
Performance of the channel decoding methods according to Embodiment 3 is illustrated below through two specific simulation examples. The simulations herein are based on an AWGN channel, QPSK-modulated symbols are input to the channel.
The first simulation example is directed to a tail-biting convolutional code. In the simulation, an LTE convolutional code is used; the octal generator polynomials are {133, 171, 165}, and the maximum number of iterations is set to 20. In order to verify the effectiveness of the method on both a medium-length tail-biting convolutional code and a long tail-biting convolutional code, in the simulation, the information bit length L is set to 24 and 64 respectively (L=24 and L=64). Comparison curves indicating BLER and Average Number of Iterations (ANI) of this method and those of the WAVA are provided below.
According to the simulation results shown in
The second simulation example is directed to block codes that can be presented by a tail-biting trellis diagram. The Golay code is taken as an example below. ET-CVAs (1 and 2) and the WAVA are used for decoding the (24, 12) Golay codes. The obtained BLER and Average Number of Iterations are shown in
According to the simulation results in
The channel coding method and decoder according to the present invention are effective not only on the tail-biting convolutional code, but also on common block codes that can be represented by a tail-biting trellis diagram.
Herein, the description and application of the present invention are illustrative, and the scope of the present invention is not intended to be limited to the above embodiments. Variations and changes to the embodiments disclosed herein are possible. Replacement made to the embodiments and equivalent parts are well-known to persons skilled in the art. It should be known to persons skilled in the art that, the present invention can be implemented in other forms, structures, arrangements, ratios and through other components, materials, and parts without departing from the spirit or essential features of the present invention.
Xu, Jing, Yang, Yang, Wang, Fang, Huang, Hao, Qian, Hua, Wang, Xiaotao
Patent | Priority | Assignee | Title |
10439652, | Jul 22 2016 | Samsung Electronics Co., Ltd. | Method for controlling decoding process based on path metric value and computing apparatus and mobile device for controlling the same |
Patent | Priority | Assignee | Title |
5369671, | May 20 1992 | Hughes Electronics Corporation | System and method for decoding tail-biting code especially applicable to digital cellular base stations and mobile units |
7010052, | Apr 16 2001 | The Ohio University | Apparatus and method of CTCM encoding and decoding for a digital communication system |
7603611, | Mar 31 2005 | Sony Corporation | Maximum likelihood decoding device, signal evaluating method, and reproducing apparatus |
7856591, | Mar 31 2006 | STMicroelectronics (Beijing) R&D Co. Ltd. | Decoding method for tail-biting convolutional codes using a search depth viterbi algorithm |
7861137, | Oct 11 2006 | Cisco Technology, Inc. | System for identifying localized burst errors |
8136023, | Mar 31 2006 | STMicroelectronics (Beijing) R&D Company Ltd. | Decoding method for tail-biting convolutional codes using a search depth viterbi algorithm |
8219896, | Oct 23 2007 | TELEFONAKTIEBOLAGET LM ERICSSON PUBL | Reduced-complexity decoding algorithms for tail-biting convolutional codes |
8230308, | Dec 27 2007 | Renesas Electronics Corporation | Decoding apparatus and decoding method using an additional add-compare-select operation on decoded data in the event of an error in the decoded data |
8312358, | Sep 08 2009 | HONOR DEVICE CO , LTD | Tail-biting decoding method and device |
8489972, | Dec 02 2008 | LENOVO INNOVATIONS LIMITED HONG KONG | Decoding method and decoding device |
8707145, | Mar 29 2011 | Intel Corporation | System, method and apparatus for tail biting convolutional code decoding |
20100095189, | |||
20110060971, | |||
CN101047472, | |||
CN101635611, | |||
CN101667840, | |||
CN1841546, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Mar 19 2012 | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | (assignment on the face of the patent) | / | |||
Dec 25 2012 | WANG, XIAOTAO | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 | |
Dec 25 2012 | QIAN, HUA | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 | |
Dec 25 2012 | XU, JING | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 | |
Dec 25 2012 | HUANG, HAO | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 | |
Dec 25 2012 | YANG, YANG | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 | |
Dec 25 2012 | WANG, FANG | SHANGHAI RESEARCH CENTER FOR WIRELESS COMMUNICATIONS | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029636 | /0648 |
Date | Maintenance Fee Events |
Mar 04 2019 | REM: Maintenance Fee Reminder Mailed. |
Aug 19 2019 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Jul 14 2018 | 4 years fee payment window open |
Jan 14 2019 | 6 months grace period start (w surcharge) |
Jul 14 2019 | patent expiry (for year 4) |
Jul 14 2021 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 14 2022 | 8 years fee payment window open |
Jan 14 2023 | 6 months grace period start (w surcharge) |
Jul 14 2023 | patent expiry (for year 8) |
Jul 14 2025 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 14 2026 | 12 years fee payment window open |
Jan 14 2027 | 6 months grace period start (w surcharge) |
Jul 14 2027 | patent expiry (for year 12) |
Jul 14 2029 | 2 years to revive unintentionally abandoned end. (for year 12) |