Map algorithm-based turbo decoding method and apparatus, and computer storage medium

09866240 ยท 2018-01-09

Assignee

Inventors

Cpc classification

International classification

Abstract

An MAP algorithm-based Turbo decoding method and apparatus. The method includes: iteratively estimating an information symbol by using an MAP algorithm, acquiring an and window boundary values of each sliding window by means of window boundary value inheritance, acquiring an block boundary value and block boundary value of each sub-block by means of block boundary value inheritance, and recursively calculating posterior probability Log Likelihood Ratio (LLR) values of a whole window and a whole block according to the boundary values and the boundary values (101); and performing decoding decision according to the LLR values (102).

Claims

1. A Maximum A Posteriori (MAP) algorithm-based Turbo decoding method, an information symbol being sequentially divided into a plurality of sub-blocks, each sub-block comprising a plurality of sliding windows, the method comprising: iteratively estimating an information symbol by using an MAP algorithm, acquiring and boundary values for each sliding window and each sub-block by means of window boundary value inheritance and block boundary value inheritance, and recursively calculating posterior probability Log Likelihood Ratio (LLR) values of a whole window and a whole block according to the and boundary values; and performing decoding decision according to the LLR values, wherein acquiring an boundary value for a sliding window by means of window boundary value inheritance and block boundary value inheritance comprises: taking an boundary value, acquired in a previous iteration, as an initial value of in a present iteration, forwardly reading input data of the whole window of the sliding windows, and calculating an value of the whole window; and acquiring a boundary value for a sliding window by means of window boundary value inheritance and block boundary value inheritance comprises: taking a boundary value, acquired in the previous iteration, as an initial value of in the present iteration, reversely reading the input data of the whole window of the sliding windows, and calculating a value of the whole window, and wherein in order to calculate values, write and read addresses of a RAM for storing the input data range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

2. The method according to claim 1, wherein the values calculated for all the sliding windows are stored in the RAMs, and the write and read addresses range from K to 0 and range from 1 to K respectively, where K is a data length of a window.

3. The method according to claim 1, wherein a Random Access Memory (RAM) array for storing the input data comprises two RAMs, configured to implement continuous calculation by means of a ping-pong operation.

4. The method according to claim 1, wherein for a first sliding window in a first sub-block, a first preset value is taken as the initial value of , and for the first sliding window in a non-first sub-block, the boundary value calculated for a last sliding window in a previous sub-block is inherited as the initial value of to be updated in a present sub-block; and for the last sliding window in a last sub-block, a second preset value is taken as the initial value of , and for the last sliding window in the non-last sub-block, the boundary value calculated for the first sliding window in a subsequent sub-block is inherited as the initial value of to be updated in the present sub-block.

5. A Maximum A Posteriori (MAP) algorithm-based Turbo decoder, comprising: a processor; and a memory, having stored therein instructions that, when executed by a processor, causes the processor to perform an MAP algorithm-based Turbo decoding method, the method comprising: iteratively estimating an information symbol by using an MAP algorithm, acquiring and boundary values for each sliding window and each sub-block by means of window boundary value inheritance and block boundary value inheritance, and recursively calculating posterior probability Log Likelihood Ratio (LLR) values of a whole window and a whole block according to the and boundary values; and performing decoding decision according to the LLR values, wherein acquiring and boundary values for each sliding window and each sub-block by means of window boundary value inheritance and block boundary value inheritance comprises: taking an boundary value, acquired in a previous iteration, as an initial value of in a present iteration, forwardly reading input data of the whole window of the sliding windows, and calculating an value of the whole window; and taking a boundary value, acquired in the previous iteration, as an initial value of in the present iteration, reversely reading the input data of the whole window of the sliding windows, and calculating a value of the whole window, and wherein in order to calculate values, write and read addresses of a RAM for storing the input data range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

6. The decoder according to claim 5, further comprising a first storage, configured to store the input data by means of a Random Access Memory (RAM) array comprising two RAMs, so as to implement continuous calculation by means of a ping-pong operation.

7. The decoder according to claim 5, further comprising a second storage, configured to store the values calculated for all the sliding windows, the write and read addresses ranging from K to 0 and ranging from 1 to K respectively, where K is a data length of a window, and the window boundary value acquired after calculation for a whole window is stored at a zero position.

8. The decoder according to claim 5, wherein acquiring and boundary values for each sliding window and each sub-block by means of window boundary value inheritance and block boundary value inheritance comprises: for a first sliding window in a first sub-block, taking a first preset value as an initial value of , and for the first sliding window in a non-first sub-block, inheriting an boundary value calculated for the last sliding window in the previous sub-block as an initial value of to be updated in the present sub-block; and for the last sliding window in a last sub-block, taking a second preset value as an initial value of , and for the last sliding window in the non-last sub-block, inheriting a boundary value calculated for the first sliding window in a subsequent sub-block as the initial value of to be updated in the present sub-block.

9. A non-transitory computer storage medium, storing computer executable instructions for executing a Maximum A Posteriori (MAP) algorithm-based Turbo decoding method, an information symbol being sequentially divided into a plurality of sub-blocks, each sub-block comprising a plurality of sliding windows, the method comprising: iteratively estimating an information symbol by using an MAP algorithm, acquiring and boundary values for each sliding window and each sub-block by means of window boundary value inheritance and block boundary value inheritance, and recursively calculating posterior probability Log Likelihood Ratio (LLR) values of a whole window and a whole block according to the and boundary values; and performing decoding decision according to the LLR values, wherein acquiring an boundary value for a sliding window by means of window boundary value inheritance and block boundary value inheritance comprises: taking an boundary value, acquired in a previous iteration, as an initial value of in a present iteration, forwardly reading input data of the whole window of the sliding windows, and calculating an value of the whole window; and acquiring a boundary value for a sliding window by means of window boundary value inheritance and block boundary value inheritance comprises: taking a boundary value, acquired in the previous iteration, as an initial value of in the present iteration, reversely reading the input data of the whole window of the sliding windows, and calculating a value of the whole window, and wherein in order to calculate values, write and read addresses of a RAM for storing the input data range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

10. The non-transitory computer storage medium according to claim 9, wherein a Random Access Memory (RAM) array for storing the input data comprises two RAMs, configured to implement continuous calculation by means of a ping-pong operation.

11. The non-transitory computer storage medium according to claim 9, wherein the values calculated for all the sliding windows are stored in the RAMs, and the write and read addresses range from K to 0 and range from 1 to K respectively, where K is a data length of a window.

12. The non-transitory computer storage medium according to claim 9, wherein for a first sliding window in a first sub-block, a first preset value is taken as the initial value of , and for the first sliding window in a non-first sub-block, the boundary value calculated for a last sliding window in a previous sub-block is inherited as the initial value of to be updated in a present sub-block; and for the last sliding window in a last sub-block, a second preset value is taken as the initial value of , and for the last sliding window in the non-last sub-block, the boundary value calculated for the first sliding window in a subsequent sub-block is inherited as the initial value of to be updated in the present sub-block.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a flowchart of an MAP algorithm-based Turbo decoding method according to an embodiment of the disclosure;

(2) FIG. 2 is a structural diagram of an MAP algorithm-based Turbo decoding apparatus according to an embodiment of the disclosure;

(3) FIG. 3 is a structural diagram of another MAP algorithm-based Turbo decoding apparatus according to an embodiment of the disclosure;

(4) FIG. 4 is a structural diagram of another MAP algorithm-based Turbo decoding apparatus according to an embodiment of the disclosure;

(5) FIG. 5 is a pipelined calculation flowchart of a boundary value-inherited sliding window provided by an embodiment 1 of the disclosure;

(6) FIG. 6 is a traditional pipelined calculation flowchart of a sliding window with a window boundary value calculated by means of overlap;

(7) FIG. 7 is a structural diagram of a boundary condition-inherited Turbo code MAP calculation unit provided by an embodiment 2 of the disclosure;

(8) FIG. 8 is a schematic diagram of decoding performances of a Turbo decoder with an inherited block boundary value and window boundary value in an embodiment 2 of the disclosure; and

(9) FIG. 9 is a schematic diagram of decoding performances of a Turbo decoder with an inherited block boundary value and window boundary value in an embodiment 2 of the disclosure.

DETAILED DESCRIPTION

(10) In various embodiments of the disclosure, an boundary value and boundary value of each sliding window are acquired by means of window boundary value inheritance.

(11) In order to deal with performance degradation of an MAP algorithm with overlap at a high code rate and complicated structure for implementing the algorithm, an embodiment of the disclosure provides an MAP algorithm-based Turbo decoding method. As shown in FIG. 1, the method includes the following steps.

(12) Step 101: An information symbol is iteratively estimated by using an MAP algorithm, an boundary value and boundary value of each sliding window and an boundary value and boundary value of each sub-block are acquired by means of window boundary value inheritance, and LLR values of a whole window and a whole block are recursively calculated according to the boundary values and the boundary values.

(13) In the embodiment of the disclosure, the information symbol is sequentially divided into a plurality of sub-blocks, each sub-block including a plurality of sliding windows.

(14) Step 102: Decoding decision is performed according to the LLR values.

(15) Optionally, acquiring the boundary values of the sliding windows by means of the window boundary value inheritance includes: taking an boundary value, acquired in a previous iteration, as an initial value of in a present iteration, forwardly reading input data of the whole window of the sliding windows, and calculating an value of the whole window.

(16) Acquiring the boundary values of the sliding windows by means of the window boundary value inheritance includes: taking a boundary value, acquired in the previous iteration, as an initial value of in the present iteration, reversely reading the input data of the whole window of the sliding windows, and calculating a value of the whole window.

(17) It is to be noted that the step of inheriting the boundary values of the sliding windows is intended to ensure that an initial state for calculation of each recursive update of boundary values .sub.0-.sub.7, of each sliding window, along with increase of number of iterations, fully approaches a values .sub.0-.sub.7 corresponding to an original MAP decoding structure without sub-blocks and sliding windows, and the step of inheriting the boundary values of the sliding windows is intended to ensure that an initial state for calculation of each recursive update of boundary values .sub.0-.sub.7 of each sliding window, along with increase of the number of iterations, fully approaches corresponding values (ensuring that relative relationships of .sub.0-.sub.7 are consistent) in the original MAP decoding structure without the sub-blocks and the sliding windows.

(18) Here, the boundary values .sub.0-.sub.7 of each sliding window are stored in an RAM as initial values of the corresponding sliding windows in a subsequent iteration. Based on a recursive calculation process, it is necessary to store input data (system bits, check bits, and prior information) of a whole window of each sliding window in the RAMs, and then to calculate a value of the whole window by reverse reading. Write and read addresses of the RAMs for storing the input data range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

(19) Optionally, an RAM array storing the input data includes two RAMs, so as to implement continuous calculation by means of a ping-pong operation. Here, in order to facilitate pipelined storage of the input data (system bits, check bits, and prior information) and continuous calculation of and LLR, it requires two RAMs to execute an access operation (ping-pong operation).

(20) Optionally, in order to calculate values, write and read addresses of the RAMs storing the input data may range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

(21) Optionally, the values calculated for all the sliding windows may be stored in the RAMs, the write and read addresses may range from K to 0 and range from 1 to K respectively, where K is a data length of a window, and a window boundary value acquired by calculating a window is stored at a zero position.

(22) Optionally, for the first sliding window in the first sub-block, an initial value of is a first preset value, and for the first sliding window in the non-first sub-block, an boundary value calculated for the last sliding window in the previous sub-block is inherited as an initial value of to be updated in the present sub-block; and for the last sliding window in the last sub-block, an initial value of is a second preset value, and for the last sliding window in the non-last sub-block, a boundary value calculated for the first sliding window in the subsequent sub-block is inherited as an initial value of to be updated in the present sub-block.

(23) It is to be noted that the step of inheriting inter-block and boundary values is intended to ensure that regarding an initial state for calculating and of each sub-block through each recursive update, along with increase of the number of iterations, it fully approaches a relative relationship of eight states of corresponding values .sub.0-.sub.7 and a relative relationship of eight states of corresponding values .sub.0-.sub.7 in the original MAP decoding structure without the sub-blocks and the sliding windows. After calculation of the sliding windows is ended, boundary values of sub-blocks are stored, and inherited to a subsequent iteration as an initial value corresponding to each sub-block.

(24) For example, the step of implementing inter-block inheritance may include: inheriting boundary values .sub.0-.sub.7 calculated for the last sliding window in the previous sub-block as an initial state of to be updated in the present sub-block. For the initial value of for the first sub-block, each iteration is [0, INF, INF, INF, INF, INF, INF, INF], where INF represents minus infinity.

(25) For example, the step of implementing inter-block inheritance may include: inheriting boundary values .sub.0-1.sub.7 calculated for the first sliding window in the subsequent sub-block as an initial state of to be updated in the present sub-block. For the initial value of for the last sub-block, each iteration is [0, INF, INF, INF, INF, INF, INF, INF], where INF represents minus infinity.

(26) In the embodiment of the disclosure, the initial value of for each sub-block is obtained by inter-block inheritance. Since a is sequentially calculated, during calculation of for each sliding window, it may be acquired just from the boundary value of the previous sliding window, without the need of inheriting a state value of the previous iteration. During calculation of for each sliding window, it is necessary to inherit the window boundary value of the previous iteration.

(27) Correspondingly, the embodiment of the disclosure also provides an MAP algorithm-based Turbo decoding apparatus. As shown in FIG. 2, the apparatus includes: a first processing module 21 and a second processing module 22.

(28) The first processing module 21 is configured to iteratively estimate an information symbol by using an MAP algorithm, acquire an boundary value and boundary value for each sliding window by means of window boundary value inheritance, acquire an boundary value and boundary value for each sub-block by means of block boundary value inheritance, and recursively calculate LLR values of a whole window and a whole block according to the boundary values and the boundary values.

(29) The second processing module 22 is configured to perform decoding decision according to the LLR values.

(30) Optionally, the first processing module 21 is specifically configured to: take an boundary value, acquired in a previous iteration, as an initial value of in a present iteration, forwardly read input data of the whole window of the sliding windows, and calculate an value of the whole window; and take a boundary value, acquired in the previous iteration, as an initial value of in the present iteration, reversely read the input data of the whole window of the sliding windows, and calculate a value of the whole window.

(31) Optionally, as shown in FIG. 3, the apparatus further includes a first storage module 23, configured to store the input data by means of an RAM array including two RAMs, so as to implement continuous calculation by means of a ping-pong operation.

(32) Optionally, in order to calculate values, write and read addresses of the RAMs storing the input data may range from 0 to K1 and range from K1 to 0 respectively, where K is a data length of a window.

(33) Optionally, as shown in FIG. 4, the apparatus further includes a second storage module 24, configured to store the values calculated for all the sliding windows, the write and read addresses may range from K to 0 and range from 1 to K respectively, where K is a data length of a window, and a window boundary value acquired after calculation for a whole window is stored at a zero position.

(34) Optionally, the first processing module 21 is specifically configured to: for the first sliding window in the first sub-block, take a first preset value as an initial value of , and inherit an boundary value calculated at the last sliding window in the previous sub-block as an initial value of to be updated in the present sub-block for the first sliding window in the non-first sub-block; and acquire a second preset value serving as an initial value of for the last sliding window in the last sub-block, and inherit a boundary value calculated for the first sliding window in the subsequent sub-block as an initial value of to be updated in the present sub-block for the last sliding window in the non-last sub-block.

(35) The embodiment of the disclosure also provides a computer storage medium. Computer executable instructions are stored therein. The computer executable instructions are configured to execute the above method.

(36) The technical solutions of the disclosure will be further elaborated below by means of specific embodiments.

Embodiment 1

(37) FIG. 5 is a pipelined calculation flowchart of a boundary value-inherited sliding window provided by an embodiment 1 of the disclosure. As shown in FIG. 5, the flow includes the following steps.

(38) In a first time window, input data (information bit Ys, check bit Yp and prior information La) of a window length LEN of a sliding window is stored in an RAM array; in a second time window, Ys, Yp and La are read from the RAM array, and 1 is calculated and stored in the RAM, where 1 represents a value of a whole window of a first sliding window; and in a third time window, Ys, Yp and La are read from the RAM array, 1 and 2 are calculated and stored in the RAM array, and so on until and of the last sliding window of this sub-block are calculated.

(39) Here, the RAM array storing the input data (information bit Ys, check bit Yp and prior information La) includes two RAMs of which the sizes are equal to the window length LEN, namely RAM(0) and RAM(1).

(40) In an input data RAM address generation module, write address of RAM(0) and RAM(1) are addr(i)=0, 1, 2, . . . , LEN, a read address of is addr(j)=0, 1, 2, . . . , LEN, and a read address of is addr(k), k=LEN, LEN1, LEN2, . . . , 3, 2, 1.

(41) Compared with a traditional pipelined calculation flow of a sliding window with a window boundary value calculated by means of overlap shown in FIG. 6 (where, overlap of the last window comes from overlap provided by a subsequent sub-block header), the embodiment of the disclosure does not need to pre-calculate initial states of and of each sub-block by using overlap, thereby resulting in a simple implementation structure.

Embodiment 2

(42) FIG. 7 is a structural diagram of a boundary condition-inherited Turbo code MAP calculation unit provided by an embodiment 2 of the disclosure. Based on the structure shown in FIG. 7, in this embodiment, preset block and window boundary values serve as initial states to complete first dual-iteration. As for a sub-block 1, an initial value of is a constant:

(43) [0, INF, INF, INF, INF, INF, INF, INF]; and as for a sub-block n, an initial value of is also a constant:

(44) [0, INF, INF, INF, INF, INF, INF, INF]. An initial value of each window boundary value is used for the first iteration, eight states .sub.0-.sub.7 and .sub.0-.sub.7 of and are equally probable in default. Specifically,
.sub.initial=[0,0,0,0,0,0,0,0],.sub.initial=[0,0,0,0,0,0,0,0]

(45) In an i.sup.th (i>1) iteration, a window boundary value of is read by the RAM array storing , and block boundary values of and are obtained by reading corresponding registers.

(46) The RAM array storing includes two RAMs of which the sizes are equal to the window length LEN, namely RAM.sub.(0) and RAM.sub.(1).

(47) In an RAM address generation hardware module storing , write addresses of RAM.sub.(0) and RAM.sub.(1) are addr(i), i=LEN, LEN1, LEN2, . . . , 1, 0, and read addresses of RAM.sub.(0) and RAM.sub.(1) are addr(j)=0 1 2 . . . , LEN.

(48) As shown in FIG. 8, under the conditions of a 4992-block-length, an SF-MAX-Log-MAP algorithm, an LTE interleaver, an AWGN channel, SF=0.75, and a 0.93-code-rate, decoding performances of a Turbo decoder with an inherited block boundary value and an inherited window boundary value approach an original serial no-sliding-window decoding performance, while the solution with overlap has a significant performance degradation at a high code rate.

(49) As shown in FIG. 9, under the conditions of a 4992-block-length, an SF-MAX-Log-MAP algorithm, an LTE interleaver, an AWGN channel, SF=0.75, and a-1/3-code-rate, decoding performances of a Turbo decoder with an inherited block boundary value and an inherited window boundary value approach a solution with overlap and a serial no-sliding-window decoding performance.

(50) According to the above description, the solutions of the embodiments of the disclosure have the following beneficial effects.

(51) (1) and of sub-blocks and sliding windows may be directly calculated, and there is no need to pre-calculate initial states of and of each sub-block by using overlap or pre-calculate initial states of and by using overlap of each sliding window, thereby resulting in a simple implementation structure.

(52) (2) An RAM prepared for storing input data (system bits, check bits and prior information) for calculation of overlap is not needed (as shown in FIG. 1 of the description). The storage space of an RAM of which the size is equal to two window lengths is saved (here, overlap is equal to a window length in default, and due to a ping-pong operation, two RAMs are required for alternative reading and writing). The resource occupation is low, and technical supports are provided to reduce the chip area and the manufacturing cost.

(53) (3) As for each sub-block, calculation of two windows of overlap needed for calculation of a block boundary value is eliminated, thereby prolonging the effective decoding time of each sub-block (as shown in FIG. 2 of the description). For example, if a sub-block length is 1536 and each window has a length of 128, the effective decoding time of a traditional method accounts for 75% of the total decoding time, and the effective decoding time of the disclosure accounts for 85.71% of the total decoding time.

(54) (4) Conventionally, in order to deal with decoding performance degradation at a high perforation rate, overlap is lengthened, but this will accordingly increase the occupied storage space of an RAM and will cause the proportion of the effective decoding time of each sub-block to the total decoding time to be smaller. Along with increase of number of iterations, the method of the disclosure makes a relative relationship of eight states .sub.0-.sub.7 and .sub.0-.sub.7 of each window boundary value fully approach an original MAP situation without sub-blocks and sliding windows, and the overhead of an additional RAM is not increased.

(55) Each of the above units may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP) or a Field-Programmable Gate Array (FPGA) in an electronic device.

(56) Those skilled in the art shall understand that the embodiments of the disclosure may be provided as a method, a system or a computer program product. Thus, forms of hardware embodiments, software embodiments or embodiments integrating software and hardware may be adopted in the disclosure. Moreover, a form of the computer program product implemented on one or more computer available storage media (including, but are not limited to, a disk memory, an optical memory and the like) containing computer available program codes may be adopted in the disclosure.

(57) The disclosure is described with reference to flow charts and/or block diagrams of the method, the device (system) and the computer program product according to the embodiments of the disclosure. It will be appreciated that each flow and/or block in the flow charts and/or the block diagrams and a combination of the flows and/or the blocks in the flow charts and/or the block diagrams may be implemented by computer program instructions. These computer program instructions may be provided for a general computer, a dedicated computer, an embedded processor or processors of other programmable data processing devices to generate a machine, such that an apparatus for implementing functions designated in one or more flows of the flow charts and/or one or more blocks of the block diagrams is generated via instructions executed by the computers or the processors of the other programmable data processing devices.

(58) These computer program instructions may also be stored in a computer readable memory capable of guiding the computers or the other programmable data processing devices to work in a specific mode, such that a manufactured product including an instruction apparatus is generated via the instructions stored in the computer readable memory, and the instruction apparatus implements the functions designated in one or more flows of the flow charts and/or one or more blocks of the block diagrams.

(59) These computer program instructions may also be loaded to the computers or the other programmable data processing devices, such that processing implemented by the computers is generated by executing a series of operation steps on the computers or the other programmable devices, and therefore the instructions executed on the computers or the other programmable devices provide a step of implementing the functions designated in one or more flows of the flow charts and/or one or more blocks of the block diagrams.

(60) The above is only the preferred embodiments of the disclosure and not intended to limit the scope of protection of the disclosure.