Rapid iterative decoding method, device and equipment for tail-biting Turbo

Through segmented backward state metric pre-calculation and MAX-LOG-MAP algorithm iterative calculation, the problem of high resource consumption of the traditional tail-biting Turbo decoding method is solved and efficient bit error rate performance is achieved.

CN118740175APending Publication Date: 2024-10-01BEIJING INST OF REMOTE SENSING EQUIP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410762964.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The traditional tail-biting turbo decoding method consumes a lot of time resources and hardware resources, resulting in low efficiency.

Method used

By receiving the input sequence to be decoded, rearranging it according to the code rate and puncturing method, pre-calculating the backward state metric in segments, deducing the initial state and ending state of the tail-biting Turbo register, and using the MAX-LOG-MAP algorithm Iterative calculations are performed, updating the forward and backward state metrics until the maximum number of iterations is reached.

Benefits of technology

It achieves better bit error rate performance with lower hardware resource consumption and time resource consumption, quickly locks the register status, and reduces decoding time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740175A_ABST
    Figure CN118740175A_ABST
Patent Text Reader

Abstract

The invention discloses a rapid iterative decoding method, device and equipment for tail-biting Turbo, and relates to the technical field of communication coding and decoding. The method comprises the following steps: receiving a to-be-decoded input sequence, and rearranging according to a code rate and a punching mode; the method comprises the following steps of: windowing and segmenting an information sequence to be decoded, performing backward state measurement pre-calculation on a first window, deducing an initial state and an ending state of a shift register according to a pre-calculation result, and further initializing forward state measurement of the first window and backward state measurement of the last window; carrying out iteration by utilizing an MAX-LOG-MAP algorithm, carrying out iterative calculation on a backward state measurement predicted value, backward state measurement, forward state measurement, a posterior probability and extrinsic information in each sliding window, and continuously updating the forward state measurement and the backward state measurement; and when the number of iterations reaches the maximum number of iterations, decoding is ended. The problem that an existing decoding method consumes more time resources and hardware resources is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of communication coding technology, and in particular to a fast iterative decoding method, device and equipment for tail-biting Turbo. Background Art

[0002] Turbo coding is a commonly used coding technology in wireless communication systems. Turbo coding makes full use of the basic conditions of Shannon's channel coding theorem and has performance close to Shannon's limit, so it has been widely used. To ensure decoding performance, there are two common Turbo ending methods: one is that the register is initially in the zero state, and after the encoding is completed, an additional bit is input to make the register return to the zero state again; the other is to use tail-biting encoding to make the initial state and the end state of the register consistent. Tail-biting coding does not require the input of additional bits and will not cause code rate loss, but the register state is determined based on the original information to be encoded.

[0003] The traditional tail-biting Turbo decoder achieves accurate estimation of the initial values ​​of the forward state metric and the backward state metric through one iteration, and then performs iterative decoding according to the LOG-MAP decoder structure. This method can achieve good bit error rate performance, but the determination of the register state consumes a lot of time and hardware resources.

[0004] Therefore, a tail-biting Turbo decoding method is urgently needed to solve the problem that the existing decoding methods consume more time resources and hardware resources. Summary of the invention

[0005] The present specification provides a fast iterative decoding method, device and equipment for tail-biting Turbo, which are used to solve the problem that the existing decoding methods consume more time resources and hardware resources.

[0006] In a first aspect, the present specification provides a fast iterative decoding method for tail-biting Turbo, comprising:

[0007] receiving an input sequence to be decoded, rearranging it according to the bit rate and puncturing method, and distinguishing the inputs of the two component decoders;

[0008] The information sequence to be decoded is windowed and segmented, a backward state metric is pre-calculated for the first window, and an initial state and an end state of the tail-biting Turbo register are inferred according to a backward state metric prediction value in the first window;

[0009] Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0010] It is determined whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, the decoding is terminated and the a posteriori probability obtained by the last iteration is output. The a posteriori probability is the decoding result of the information sequence to be decoded.

[0011] In a second aspect, the present specification provides a fast iterative decoding device for tail-biting Turbo, comprising: a to-be-decoded rearrangement module, a single-window iterative inference module, a multi-window iterative inference module, and an iterative end module; wherein:

[0012] The to-be-decoded rearrangement module is used to receive the to-be-decoded input sequence, rearrange it according to the code rate and puncturing mode, and distinguish the inputs of the two component decoders;

[0013] The single-window iterative inference module is used to window and segment the information sequence to be decoded, pre-calculate the backward state metric for the first window, and infer the initial state and the end state of the tail-biting Turbo register according to the backward state metric prediction value in the first window;

[0014] The multi-window iterative inference module is used to initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0015] The iteration end module is used to determine whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, decoding is ended and the posterior probability obtained by the last iteration is output.

[0016] In a third aspect, this specification also provides an electronic device, including: a communication interface, a processor, and a memory;

[0017] The processor calls the program instructions in the memory to perform the following actions:

[0018] receiving an input sequence to be decoded, rearranging it according to the bit rate and puncturing method, and distinguishing the inputs of the two component decoders;

[0019] The information sequence to be decoded is windowed and segmented, a backward state metric is pre-calculated for the first window, and an initial state and an end state of the tail-biting Turbo register are inferred according to a backward state metric prediction value in the first window;

[0020] Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0021] It is determined whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, the decoding is terminated and the a posteriori probability obtained by the last iteration is output. The a posteriori probability is the decoding result of the information sequence to be decoded.

[0022] The beneficial effects of the present invention are as follows:

[0023] The present application discloses a fast iterative decoding method, device and equipment of tail-biting Turbo. The method receives an input sequence to be decoded and rearranges it according to a code rate and a puncturing method; segments the information sequence to be decoded by windowing, pre-calculates a backward state metric for the first window, infers an initial state and an end state of a shift register according to the pre-calculation result, and further initializes a forward state metric for the first window and a backward state metric for the last window; iterates using a MAX-LOG-MAP algorithm, iteratively calculates a backward state metric prediction value, a backward state metric, a forward state metric, a posterior probability, and external information in each sliding window, and continuously updates the forward state metric and the backward state metric; and terminates decoding when the number of iterations reaches a maximum number of iterations. On the one hand, this method makes full use of the fact that the initial and final states of the tail-biting Turbo register are consistent and the Markov characteristics of convolutional coding. Through sliding windowing and backward state metric pre-calculation, the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register. On the other hand, this method quickly locks the initial values ​​of the forward state metric and the backward state metric according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0025] Figure 1 is a schematic diagram of a fast iterative decoding method for tail-biting Turbo provided in an embodiment of this specification;

[0026] Figure 2 is a schematic diagram of a tail-biting Turbo decoder structure provided in an embodiment of this specification;

[0027] Figure 3 is a schematic diagram of a timing sequence of a tail-biting Turbo component decoder provided in an embodiment of this specification;

[0028] Figure 4 It is a schematic diagram of a bit error rate performance curve of a fast iterative decoding method of tail biting Turbo provided in an embodiment of this specification;

[0029] Figure 5 It is a schematic diagram of a fast iterative decoding method flow of a tail-biting Turbo provided in an embodiment of this specification;

[0030] Figure 6 is a schematic diagram of a fast iterative decoding device for tail-biting Turbo provided in an embodiment of this specification;

[0031] Figure 7 It is a schematic diagram of an electronic device structure provided in an embodiment of this specification. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solutions and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and their corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this document.

[0033] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings. Specific embodiment one:

[0035] This embodiment provides a fast iterative decoding method for tail-biting Turbo, see Figure 1-Figure 5 , specifically including the following steps:

[0036] Step 102: Receive the input sequence to be decoded, rearrange it according to the code rate and puncturing method, and distinguish the inputs of the two component decoders; see Figure 2 ;

[0037] Taking 1 / 2 rate Turbo coding as an example, the codeword structure of Turbo coding is: 0 z 0 x 1 z 1 'x 2 z 2 x 3 z' 3 ..., where x 0 ,x 1 ,x 2 ,x 3 ... represents the original information, z 0 ,z 1 ,z 2 ... represents the result of the first component encoder, z' 0 ,z 1 ',z' 2 ... represents the result of the second component encoder. Based on this, the receiving end receives the input sequence y to be decoded 1 ,y 2 ,y 3 ,y 4 ,y 5 ,y 6 ...after rearrangement according to the bit rate and puncturing method, the inputs of the two component decoders are y 1 ,y 2 ,y 3 ,0,y 5 ,y 6 ,y 7 ,0...and in Represents y 1 ,y 3 ,y 5 ,y 7 ...The result obtained by the interleaver is padded with zeros to fill in the positions that were missed by the punching.

[0038] Based on this, by rearranging the sequence to be decoded, the sequence to be decoded input of the two component decoders is obtained, which provides an input basis for the subsequent process.

[0039] Step 104: Window the information sequence to be decoded and divide it into segments, pre-calculate the backward state metric for the first window, and infer the initial state and the end state of the tail-biting Turbo register according to the backward state metric prediction value obtained for the first window;

[0040] Specifically, a specific implementation of step 104 may be:

[0041] S41, dividing the to-be-decoded information sequence of length K into L windows, each window having a length of W, W=K / L, and each window containing W system codes and W groups of check codes;

[0042] S42, calculating the backward state metric prediction value in the first window;

[0043] Furthermore, the specific execution method of step S42 may be:

[0044] S421, initialize the backward state metric prediction value β' W (m), where Among them, the value of m is 0, 1, 2, ..., M-1, and M is the number of register states;

[0045] S422, iteratively calculating the backward state metric prediction value β based on the preset backward state metric prediction value iteration rule n '(m), where n = 1, 2, 3, ..., W-1;

[0046] The backward state metric prediction value iteration rule includes:

[0047]

[0048] Among them, γ n+1 (m',m) represents the state transition probability from state m' to state m at time n+1, Indicates the 0, 1 information sent. Indicates the system code. Indicates the check code, Indicates system code soft information, Indicates the soft information of the check code; L a (u k ) represents external information, which is obtained from the output of the last component decoder. The initial value is zero when it is calculated for the first time. State m' and state m are different register states; k represents time k, and its value ranges from 1 to K.

[0049] S43: inferring the initial state and the final state of the tail-biting Turbo register according to the backward state metric prediction value obtained in the first window.

[0050] S431, calculate the initial state and the end state state(m) of the tail-biting Turbo shift register in the first window:

[0051]

[0052] Among them, state(m) represents the probabilities corresponding to the eight states of the shift register at the initial and final moments of the tail-biting Turbo register, respectively, obtained according to the backward state metric prediction value in the first window.

[0053] It should be noted that the larger the state(m), the greater the probability that the state of the shift register is m at the initial moment and the final moment.

[0054] Based on this, the initial and final states of the tail-biting Turbo register are consistent, and the Markov characteristics of convolutional coding are utilized. Through sliding windowing and backward state metric pre-calculation, the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register.

[0055] Step 106: Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0056] Specifically, a specific implementation of step 106 may be:

[0057] S61, pre-calculate the backward state metric in each sliding window, where the backward state metric prediction value of the lth sliding window is:

[0058]

[0059] Where, l = 2, 3, ..., L;

[0060] It should be noted that the state of the register at time lW is unknown. Assuming that M states appear with equal probability, according to the Markov property, after recursive calculation to a certain length, the state value obtained can be regarded as a valid value, and its reliability is basically the same as the accurate state measurement value.

[0061] S62, calculating the backward state metric in each sliding window, wherein the backward state metric of the lth sliding window is:

[0062]

[0063] The last sliding window uses the obtained state(m) as the initial value of β iterative calculation, and the other sliding windows are calculated according to β n '(m) Calculate the initial value of the β iterative calculation.

[0064] S63, calculating the forward state metric in each sliding window, specifically:

[0065]

[0066] The first sliding window uses the obtained state(m) as the initial value of the iterative calculation of α, and the initial value of the forward state measurement of the subsequent sliding window can be obtained based on the previous sliding window.

[0067] S64, calculate the posterior probability and external information in each sliding window, where L(u k )、L e (u k )for:

[0068]

[0069] The posterior probability L(u k ) is the output of the Turbo iterative decoding module, and the external information L e (u k ) participates in the next iterative calculation after interleaving / deinterleaving processing.

[0070] In a specific FPGA implementation, the sliding window β iteration result of step S62 is output in reverse order and can be stored in RAM; the sliding window α iteration result of step S63 and the sliding window L(u k )、L e (u k )The calculation result is a sequential output and can be directly used as the output signal of the component decoder.

[0071] Furthermore, the external information L output in each sliding window at each iteration e (u k ) participates in the next iterative calculation after deinterleaving;

[0072] The posterior probability L(u k ) is the output result of Turbo iterative decoding.

[0073] Further, see Figure 3 , iteratively calculate β', β, α, L(u k )、L e (u k ), the specific operation timing correspondence is: according to the β' of the (x+1)th window, the initial value of β of the xth window is obtained;

[0074] Calculate the β of the x-th window and store it in RAM, calculate the α of the x-th window, and calculate the L(u k )、L e (u k );

[0075] The β' and β of each window are output in reverse order;

[0076] α, L(u k )、L e (u k ) is the sequential output.

[0077] Optionally, β' and β of each window are stored in RAM for standby;

[0078] L(u k )、L e (u k ) is the output result of the component decoder, which is output directly and does not need to be stored in RAM.

[0079] Based on this, this embodiment only needs to store β and state(m) of a window length, and the RAM resource consumption is low, which is suitable for hardware implementation; this embodiment only adds a window of time resources to determine the initial state and the end state of the tail-biting Turbo register, and the time resource consumption is greatly reduced compared with the traditional tail-biting Turbo decoding algorithm; this embodiment achieves tail-biting Turbo fast iterative decoding with better bit error rate performance under lower hardware resource consumption and lower time resource consumption, and is suitable for hardware implementation.

[0080] Step 108: determine whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, then end the decoding and output the posterior probability obtained by the last iteration.

[0081] The posterior probability reflects the soft information obtained by decoding, and the last posterior probability is the decoding result output;

[0082] Furthermore, after executing step 108, the method further includes: a continuously iterative step S109, which may be specifically implemented as follows:

[0083] S109: If the number of iterations does not reach the maximum number of iterations, continue iterating until the number of iterations reaches a preset value.

[0084] Based on this, the initial values ​​of the forward state metric and the backward state metric are quickly locked according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption.

[0085] In summary, the present embodiment receives an input sequence to be decoded, and rearranges it according to the code rate and the puncturing method; the information sequence to be decoded is windowed and segmented, and a backward state metric is pre-calculated for the first window, and the initial state and the ending state of the shift register are inferred according to the pre-calculation result, and the forward state metric of the first window and the backward state metric of the last window are further initialized; the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information are iteratively calculated in each sliding window, and the forward state metric and the backward state metric are continuously updated; the MAX-LOG-MAP algorithm is used for iteration, and when the number of iterations reaches the maximum number of iterations condition, the decoding is terminated. The method makes full use of the consistency between the initial and final states of the tail-biting Turbo register and the Markov characteristics of convolutional coding. Through sliding windowing and pre-calculation of the backward state metric β', the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register. The method quickly locks the initial values ​​of the forward state metric and the backward state metric according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption. Specific embodiment 2:

[0087] This embodiment provides a fast iterative decoding method for tail-biting Turbo, and its process is shown in FIG. Figure 5 , applied to a tail-biting Turbo decoding example with a coding efficiency of 1 / 7 and a data length of 528 bits before coding.

[0088] S1: Receive the input sequence to be decoded, rearrange it according to the 1 / 7 code rate and the unpunctured mode, and distinguish the input of the two component decoders. The overall block diagram of the decoder is as follows Figure 2 shown.

[0089] S2: Window the information sequence to be decoded and divide it into segments, perform backward state metric pre-calculation on the first window, and infer the initial state and the end state state of the shift register according to the pre-calculation result.

[0090] S21: Divide the information sequence to be decoded into 16 windows, the length of each window is 33, 528 / 16=33, each window contains 33 system codes and 33 groups of check codes, and each group of check codes has 3 codes.

[0091] S22: Pre-calculate β' in the first window.

[0092] S221: Initialization β 3 ' 3 (m), the initialization formula is:

[0093] In the above formula, the value of m is 0, 1, 2, ..., 7. The number of encoding registers is 3 and the number of register states is 8, so β 3 ' 3 The initial states of (m) are all set to equiprobable values ​​log(1 / 8).

[0094] S222: Iterative calculation of β n '(m), where n = 1, 2, 3, ..., 32, iterative calculation formula, see formula (1);

[0095] S23: infer the initial state and final state of the shift register according to the final state of β' obtained in the first window. The larger the state(m), the greater the probability that the state of the shift register is m at the initial moment and the final moment;

[0096] S231: Calculate the initial state and the final state of the tail-biting Turbo shift register. The calculation formula is:

[0097]

[0098] The value of m is 0, 1, 2, ..., 7, and state(m) indicates the probabilities corresponding to the eight states of the shift register at the initial and final moments.

[0099] S3: Initialize the forward state metric α and the backward state metric β according to the state obtained in step S2, and iteratively calculate β', β, α, L(u k )、L e (u k ), and continuously update the forward state metric α and the backward state metric β.

[0100] S31: Pre-calculate the backward state metric in each sliding window. The backward state metric pre-calculation formula of the lth (l=2, 3, ..., 16) sliding window is:

[0101]

[0102] Among them, the state of the register at time 331 is unknown. It is assumed that the eight states appear with equal probability. According to the Markov property, after the recursive calculation reaches a certain length, the state value obtained can be regarded as a valid value, and its reliability is basically the same as the accurate state measurement value.

[0103] S32: Perform backward state metric calculation in each sliding window. The backward state metric calculation formula of the lth (l=1, 2, ..., 16) sliding window is:

[0104]

[0105] The last sliding window uses the state(m) obtained in step S23 as the initial value of the β iterative calculation, and the other sliding windows use the β obtained in step S31 as the initial value of the β iterative calculation. n '(m) Calculate the initial value of the β iterative calculation.

[0106] S33: Perform forward state metric calculation in each sliding window, and the calculation formula is:

[0107]

[0108] The first sliding window uses the state(m) obtained in step S23 as the initial value of α for iterative calculation, and the initial value of α of the subsequent sliding window can be obtained based on the previous sliding window.

[0109] S34: Perform a posterior probability L(u in each sliding window k ) calculation and external information L e (u k ) calculation, L(u k )、L e (u k ) The calculation formula is shown in formula (6)(7);

[0110] The posterior probability L(u k ) is the output of the Turbo iterative decoding module, and the external information L e (u k ) participates in the next iterative calculation after interleaving / deinterleaving processing.

[0111] The timing relationship of steps S2 and S3 is as follows: Figure 3 As shown. First, pre-calculate β' of the first window, corresponding to step S2, and obtain state(m) through pre-calculation of β' of the first window. Then, iteratively calculate β', β, α, L(u k )、L e (u k ), the specific timing correspondence is: calculate the β' of the x+1th window to obtain the initial value of β of the xth window, calculate the β of the xth window and store it in RAM, calculate the α of the xth window, calculate L(u k )、L e (u k ); It should be noted that the β of each window is output in reverse order and needs to be stored in RAM for backup. The α, L(u k )、L e (u k ) is a sequential output, and L(u k )、L e (u k) is the output result of the component decoder, which can be output directly without storing in RAM.

[0112] S4: Continuously iterate according to the MAX-LOG-MAP algorithm to determine whether the number of iterations reaches the preset maximum number of iterations. If not, iterate and execute S2 and S3. If yes, end the decoding.

[0113] In a specific embodiment, the Turbo decoder continuously iterates step S2 and step S3 according to the MAX-LOG-MAP algorithm until the number of iterations reaches a preset value.

[0114] In a specific embodiment, the embodiment of the present application provides a bit error rate performance curve of a fast iterative decoding method of tail-biting Turbo.

[0115] like Figure 4 The following is the MATLAB bit error rate performance simulation result. The simulation conditions are: AWGN channel, BPSK modulation, 1 / 7 code rate, tail biting Turbo, 6 iterative decoding. It can be seen from the simulation results that after 6 iterative decoding, the signal-to-noise ratio E b N 0 =1.4dB, the bit error rate can reach 10 -6 , proving that the fast iterative decoding method of tail-biting Turbo of the present invention has good bit error rate performance.

[0116] In summary, the present embodiment receives an input sequence to be decoded, and rearranges it according to the code rate and the puncturing method; the information sequence to be decoded is windowed and segmented, and a backward state metric is pre-calculated for the first window, and the initial state and the ending state of the shift register are inferred according to the pre-calculation result, and the forward state metric of the first window and the backward state metric of the last window are further initialized; the MAX-LOG-MAP algorithm is used for iteration, and the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information are iteratively calculated in each sliding window, and the forward state metric and the backward state metric are continuously updated; when the number of iterations reaches the maximum number of iterations condition, the decoding is terminated. The method makes full use of the consistency between the initial and final states of the tail-biting Turbo register and the Markov characteristics of convolutional coding. Through sliding windowing and pre-calculation of the backward state metric β', the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register. The method quickly locks the initial values ​​of the forward state metric and the backward state metric according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption. Specific embodiment three:

[0118] This embodiment provides a fast iterative decoding device for tail-biting Turbo, see Figure 6 , including: a to-be-decoded reordering module 601, a single-window iterative inference module 602, a multi-window iterative inference module 603, and an iterative end module 604; wherein:

[0119] The to-be-decoded rearrangement module 601 is used to receive an input sequence to be decoded, rearrange it according to the code rate and puncturing mode, and distinguish the inputs of the two component decoders;

[0120] The single window iterative inference module 602 is used to window and segment the information sequence to be decoded, pre-calculate the backward state metric for the first window, and infer the initial state and the end state of the shift register in the first window according to the backward state metric prediction value in the first window;

[0121] The multi-window iterative inference module 603 is used to initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0122] The iteration end module 604 is used to determine whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, decoding is terminated and the posterior probability obtained by the last iteration is output.

[0123] Optionally, the single-window iterative inference module 602 includes: a window division unit, a backward state metric prediction unit, and an initial end state inference unit, wherein:

[0124] The window division unit is used to divide the to-be-decoded information sequence of length K into L windows, each window has a length of W, W=K / L, and each window contains W system codes and W groups of check codes;

[0125] The backward state metric prediction unit is used to calculate the backward state metric prediction value in the first window;

[0126] The initial and final state inference unit is used to infer the initial state and final state of the tail-biting Turbo register according to the backward state metric prediction value obtained in the first window.

[0127] Optionally, the backward state metric prediction unit is specifically used to:

[0128] Initialize the backward state metric prediction value β' W (m), where Among them, the value of m is 0, 1, 2, ..., M-1, and M is the number of register states;

[0129] Based on the preset backward state metric prediction value iteration rule, iteratively calculate the backward state metric prediction value β n '(m), where n = 1, 2, 3, ..., W-1;

[0130] The backward state metric prediction value iteration rule includes:

[0131]

[0132] Among them, γ n+1 (m',m) represents the state transition probability from state m' to state m at time n+1, Indicates the 0, 1 information sent. Indicates the system code. Indicates the check code, Indicates system code soft information, Indicates the soft information of the check code; L a (u k ) represents external information, state m' and state m are different register states; k represents time k, and its value ranges from 1 to K.

[0133] The initial end state inference unit is specifically used for:

[0134] Calculate the initial state and final state state(m) of the tail-biting Turbo shift register in the first window:

[0135]

[0136] Optionally, the multi-window iterative inference module 603 is specifically used to:

[0137] The backward state metric is pre-calculated for each sliding window, where the backward state metric prediction value of the lth sliding window is:

[0138]

[0139] Where, l = 2, 3, ..., L;

[0140] Calculate the backward state metric in each sliding window, where the backward state metric of the lth sliding window is:

[0141]

[0142] Calculate the forward state metric in each sliding window, specifically:

[0143]

[0144] Calculate the posterior probability L(u k ), external information L e (u k ), where L(u k )、L e (u k )for:

[0145]

[0146] Optionally, the external information L output in each sliding window at each iteration e (u k ) participates in the next iterative calculation after deinterleaving;

[0147] The posterior probability L(u k ) is the output result of Turbo iterative decoding.

[0148] Optionally, in each sliding window, the backward state metric prediction value β', the backward state metric β, the forward state metric α, the posterior probability L(u k ), external information L e (u k ), the specific operation timing correspondence is: according to the β' of the (x+1)th window, the initial value of β of the xth window is obtained;

[0149] Calculate the β of the x-th window and store it in RAM, calculate the α of the x-th window, and calculate the L(u k )、L e (u k );

[0150] The β' and β of each window are output in reverse order;

[0151] α, L(u k )、L e (u k ) is the sequential output;

[0152] Each window's β' and β are stored in RAM for standby; L(u k )、L e (u k ) is the output result of the component decoder, which is output directly and does not need to be stored in RAM.

[0153] Optionally, the device further comprises: a continuing iteration module, wherein the continuing iteration module is configured to:

[0154] If the number of iterations does not reach the maximum number of iterations, the iterations continue until the number of iterations reaches a preset value.

[0155] In summary, the present embodiment receives an input sequence to be decoded, and rearranges it according to the code rate and the puncturing method; the information sequence to be decoded is windowed and segmented, and a backward state metric is pre-calculated for the first window, and the initial state and the ending state of the shift register are inferred based on the pre-calculation result, and the forward state metric of the first window and the backward state metric of the last window are further initialized; the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information are iteratively calculated in each sliding window, and the forward state metric and the backward state metric are continuously updated; when the number of iterations reaches the maximum number of iterations condition, the decoding is terminated. The method makes full use of the consistency between the initial and final states of the tail-biting Turbo register and the Markov characteristics of convolutional coding. Through sliding windowing and pre-calculation of the backward state metric β', the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register. The method quickly locks the initial values ​​of the forward state metric and the backward state metric according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption. Specific embodiment four:

[0157] This manual also provides an electronic device, see Figure 7 , the electronic device can implement the details of the method described in the above embodiment and achieve the same effect. Figure 7 As shown, the electronic device 700 includes: a processor 701, a transceiver 702, a memory 703, a user interface 704 and a bus interface, wherein:

[0158] In the embodiment of this specification, the electronic device 700 further includes: a computer program stored in the memory 703 and executable on the processor 701, and the computer program processor 701 executes the following steps:

[0159] receiving an input sequence to be decoded, rearranging it according to the bit rate and puncturing method, and distinguishing the inputs of the two component decoders;

[0160] The information sequence to be decoded is windowed and segmented, a backward state metric is pre-calculated for the first window, and an initial state and an end state of the shift register in the first window are inferred according to the backward state metric prediction value;

[0161] Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric;

[0162] It is determined whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, the decoding is terminated and the posterior probability obtained by the last iteration is output.

[0163] exist Figure 7 In the embodiment, the bus framework may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 701 and various circuits of memory represented by memory 703 are linked together. The bus framework may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described in this document. The bus interface provides an interface. The transceiver 702 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 704 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0164] The processor 701 manages the bus architecture and the usual processing, and the memory 703 can store data used by the processor 701 when performing operations. Optionally, when the computer program is executed by the processor 701, the following steps can also be implemented:

[0165] Optionally, the windowing and segmenting of the information sequence to be decoded, precalculating the backward state metric for the first window, and inferring the initial state and the end state of the shift register in the first window according to the backward state metric prediction value include:

[0166] The information sequence to be decoded with a length of K is divided into L windows, each of which has a length of W, W = K / L, and each window contains W system codes and W groups of check codes;

[0167] Calculating a backward state metric prediction value within a first window;

[0168] The initial state and the final state of the shift register in the first window are inferred based on the backward state metric prediction value obtained in the first window.

[0169] Optionally, calculating the backward state metric prediction value in the first window includes:

[0170] Initialize the backward state metric prediction value β' W (m), where Among them, the value of m is 0, 1, 2, ..., M-1, and M is the number of register states;

[0171] Based on the preset backward state metric prediction value iteration rule, iteratively calculate the backward state metric prediction value β n '(m), where n = 1, 2, 3, ..., W-1;

[0172] The backward state metric prediction value iteration rule includes:

[0173]

[0174] Among them, γ n+1 (m',m) represents the state transition probability from state m' to state m at time n+1, Indicates the 0, 1 information sent. Indicates the system code. Indicates the check code, Indicates system code soft information, Indicates the soft information of the check code; L a (u k ) represents external information, state m' and state m are different register states; k represents time k, and its value ranges from 1 to K.

[0175] Optionally, the inferring the initial state and the final state of the shift register in the first window according to the backward state metric prediction value obtained in the first window includes:

[0176] Calculate the initial and final states of the tail-biting Turbo shift register in the first window:

[0177]

[0178] Among them, state(m) indicates the probabilities corresponding to the eight states of the shift register at the initial time and the end time.

[0179] Optionally, the forward state metric of the first window and the backward state metric of the last window are initialized according to the initial state and the end state of the tail-biting Turbo register, the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information are iteratively calculated in each sliding window, and the forward state metric and the backward state metric are continuously updated, including:

[0180] The backward state metric is pre-calculated for each sliding window, where the backward state metric prediction value of the lth sliding window is:

[0181]

[0182] Where, l = 2, 3, ..., L;

[0183] Calculate the backward state metric in each sliding window, where the backward state metric of the lth sliding window is:

[0184]

[0185] Calculate the forward state metric in each sliding window, specifically:

[0186]

[0187] Calculate the posterior probability L(u k ), external information L e (u k ), where L(u k )、L e (u k )for:

[0188]

[0189] Optionally, the external information L output in each sliding window at each iteration e (u k ) participates in the next iterative calculation after deinterleaving;

[0190] The posterior probability L(u k ) is the output result of Turbo iterative decoding.

[0191] Optionally, in each sliding window, the backward state metric prediction value β', the backward state metric β, the forward state metric α, the posterior probability L(u k ), external information L e (u k ), the specific operation timing correspondence is: according to the β' of the (x+1)th window, the initial value of β of the xth window is obtained;

[0192] Calculate the β of the x-th window and store it in RAM, calculate the α of the x-th window, and calculate the L(u k )、L e (u k );

[0193] The β' and β of each window are output in reverse order;

[0194] α, L(u k )、L e (u k ) is the sequential output.

[0195] Optionally, β' and β of each window are stored in RAM for standby;

[0196] L(u k )、L e (u k ) is the output result of the component decoder, which is output directly and does not need to be stored in RAM.

[0197] Optionally, after determining whether the number of iterations reaches a preset maximum number of iterations, the method further includes:

[0198] If the number of iterations does not reach the maximum number of iterations, the iterations continue until the number of iterations reaches a preset value.

[0199] In summary, the present embodiment receives an input sequence to be decoded, and rearranges it according to the code rate and the puncturing method; the information sequence to be decoded is windowed and segmented, and a backward state metric is pre-calculated for the first window, and the initial state and the ending state of the shift register are inferred based on the pre-calculation result, and the forward state metric of the first window and the backward state metric of the last window are further initialized; the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information are iteratively calculated in each sliding window, and the forward state metric and the backward state metric are continuously updated; when the number of iterations reaches the maximum number of iterations condition, the decoding is terminated. The method makes full use of the consistency between the initial and final states of the tail-biting Turbo register and the Markov characteristics of convolutional coding. Through sliding windowing and pre-calculation of the backward state metric β', the initial and final states of the shift register are quickly locked, effectively solving the problem of uncertain state of the tail-biting Turbo register. The method quickly locks the initial values ​​of the forward state metric and the backward state metric according to the obtained register state, and the decoder structure is basically consistent with the traditional sliding window MAX-LOG-MAP decoder, achieving better bit error rate performance with lower hardware resource consumption and lower time resource consumption.

[0200] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. For those skilled in the art, this specification may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the protection scope of this specification.

Claims

1. A fast iterative decoding method for tail-biting Turbo, characterized in that: include: receiving an input sequence to be decoded, rearranging it according to the bit rate and puncturing method, and distinguishing the inputs of the two component decoders; The information sequence to be decoded is windowed and segmented, a backward state metric is pre-calculated for the first window, and an initial state and an end state of the tail-biting Turbo register are inferred according to a backward state metric prediction value in the first window; Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric; It is determined whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, the decoding is terminated and the a posteriori probability obtained by the last iteration is output. The a posteriori probability is the decoding result of the information sequence to be decoded.

2. The method according to claim 1, characterized in that The step of windowing and segmenting the information sequence to be decoded, precalculating the backward state metric of the first window, and inferring the initial state and the end state of the tail biting Turbo register according to the backward state metric prediction value in the first window includes: The information sequence to be decoded with a length of K is divided into L windows, each of which has a length of W, W = K / L, and each window contains W system codes and W groups of check codes; Calculating a backward state metric prediction value within a first window; The initial state and the final state of the tail-biting Turbo register are inferred according to the backward state metric prediction value obtained in the first window.

3. The method according to claim 2, characterized in that The calculating of the backward state metric prediction value in the first window includes: Initialize the backward state metric prediction value β' W (m), where Among them, the value of m is 0, 1, 2, ..., M-1, and M is the number of register states; Based on the preset backward state metric prediction value iteration rule, iteratively calculate the backward state metric prediction value β n '(m), where n = 1, 2, 3, ..., W-1; The backward state metric prediction value iteration rule includes: Among them, γ n+1 (m',m) represents the state transition probability from state m' to state m at time n+1, u k ∈{0,1} means the 0,1 information sent, Indicates the system code. Indicates the check code, Indicates system code soft information, Indicates the soft information of the check code; L a (u k ) represents external information, state m' and state m are different register states; k represents the time, and k takes values ​​from 1 to K.

4. The method according to claim 3, characterized in that: The step of inferring the initial state and the final state of the tail-biting Turbo register according to the backward state metric prediction value obtained in the first window includes: Calculate the initial state and final state state(m) of the tail-biting Turbo shift register:

5. The method according to claim 4, characterized in that The method of initializing the forward state metric of the first sliding window and the backward state metric of the last sliding window according to the initial state and the end state of the tail-biting Turbo register, iterating by using the MAX-LOG-MAP algorithm, iteratively calculating the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously updating the forward state metric and the backward state metric includes: The backward state metric is pre-calculated for each sliding window, where the backward state metric prediction value of the lth sliding window is: Where, l = 2, 3, ..., L; Calculate the backward state metric in each sliding window, where the backward state metric of the lth sliding window is: Calculate the forward state metric in each sliding window, specifically: Calculate the posterior probability and external information in each sliding window, where L(u k )、L e (u k )for:

6. The method according to claim 5, characterized in that The external information L output in each sliding window at each iteration e (u k ) participates in the next iterative calculation after deinterleaving; The posterior probability L(u k ) is the output result of Turbo iterative decoding.

7. The method according to claim 6, characterized in that In each sliding window, the backward state metric prediction value β', the backward state metric β, the forward state metric α, the posterior probability L(u k ), external information L e (u k ), the specific operation timing correspondence is: according to the β' of the (x+1)th window, the initial value of β of the xth window is obtained; Calculate the β of the x-th window and store it in RAM, calculate the α of the x-th window, and calculate the L(u k )、L e (u k ); The β' and β of each window are output in reverse order; α, L(u k )、L e (u k ) is the sequential output; The β' and β of each window are stored in RAM for backup; L(u k )、L e (u k ) is the output result of the component decoder, which is output directly and does not need to be stored in RAM.

8. The method according to claim 1, characterized in that: After determining whether the number of iterations reaches a preset maximum number of iterations, the method further includes: If the number of iterations does not reach the maximum number of iterations, the iterations continue until the number of iterations reaches a preset value.

9. A fast iterative decoding device for tail-biting Turbo, used to implement the method according to any one of claims 1 to 8, characterized in that: include: To-be-decoded reordering module, single-window iterative inference module, multi-window iterative inference module, and iterative end module; wherein: The to-be-decoded rearrangement module is used to receive the to-be-decoded input sequence, rearrange it according to the code rate and puncturing mode, and distinguish the inputs of the two component decoders; The single-window iterative inference module is used to window and segment the information sequence to be decoded, pre-calculate the backward state metric for the first window, and infer the initial state and the end state of the tail-biting Turbo register according to the backward state metric prediction value in the first window; The multi-window iterative inference module is used to initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric; The iteration end module is used to determine whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, decoding is ended and the posterior probability obtained by the last iteration is output.

10. An electronic device, characterized in that: include: Communications interface, processor and memory; The processor calls the program instructions in the memory to perform the following actions: receiving an input sequence to be decoded, rearranging it according to the bit rate and puncturing method, and distinguishing the inputs of the two component decoders; The information sequence to be decoded is windowed and segmented, a backward state metric is pre-calculated for the first window, and an initial state and an end state of the tail-biting Turbo register are inferred according to a backward state metric prediction value in the first window; Initialize the forward state metric of the first window and the backward state metric of the last window according to the initial state and the end state of the tail-biting Turbo register, iterate using the MAX-LOG-MAP algorithm, iteratively calculate the backward state metric prediction value, the backward state metric, the forward state metric, the posterior probability, and the external information in each sliding window, and continuously update the forward state metric and the backward state metric; It is determined whether the number of iterations reaches a preset maximum number of iterations. If the number of iterations reaches the maximum number of iterations, the decoding is terminated and the a posteriori probability obtained by the last iteration is output. The a posteriori probability is the decoding result of the information sequence to be decoded.

Citation Information

Cited By

  • Component decoding method of TURBO code, decoding method of TURBO code and related equipment

    CN119865192A