CN114095042B - Low-code rate biorthogonal code decoder and decoding method - Google Patents
Low-code rate biorthogonal code decoder and decoding method Download PDFInfo
- Publication number
- CN114095042B CN114095042B CN202210058717.6A CN202210058717A CN114095042B CN 114095042 B CN114095042 B CN 114095042B CN 202210058717 A CN202210058717 A CN 202210058717A CN 114095042 B CN114095042 B CN 114095042B
- Authority
- CN
- China
- Prior art keywords
- metric
- information
- branch
- value
- metric value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M13/00—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
- H03M13/29—Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
- H03M13/2957—Turbo codes and decoding
- H03M13/296—Particular turbo code structure
Landscapes
- Physics & Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
技术领域technical field
本发明涉及信道编译码技术领域,尤其涉及一种低码率双正交码译码器及译码的方法。The present invention relates to the technical field of channel coding and decoding, in particular to a low code rate bi-orthogonal code decoder and a decoding method.
背景技术Background technique
信道编码技术通过添加冗余信息保证通信传输可靠性。双正交码作为一种自相关性良好,互相关为零的码集,在发射机中直接利用编码器产生捕获、同步序列使用,可以大大简化发射机结构,降低实现复杂度。双正交-Turbo码结合了双正交码的低码率特性与Turbo码的高编码增益,在低码率通信场景中有很好的应用。但是双正交-Turbo码的译码方法在工程技术实现中较为复杂,亟需一种低复杂度的双正交-Turbo码译码方法应用于工程实现中。Channel coding technology ensures the reliability of communication transmission by adding redundant information. As a code set with good autocorrelation and zero cross-correlation, biorthogonal codes are directly used in the transmitter to generate acquisition and synchronization sequences by using the encoder, which can greatly simplify the transmitter structure and reduce the implementation complexity. Biorthogonal-Turbo codes combine the low code rate characteristics of biorthogonal codes and the high coding gain of Turbo codes, and have good applications in low code rate communication scenarios. However, the decoding method of bi-orthogonal-Turbo codes is relatively complicated in engineering technology implementation, and a low-complexity bi-orthogonal-Turbo code decoding method is urgently needed to be applied in engineering implementation.
发明内容SUMMARY OF THE INVENTION
针对现有技术存在的问题,本发明提供一种低码率双正交码译码器及译码的方法。Aiming at the problems existing in the prior art, the present invention provides a low code rate bi-orthogonal code decoder and a decoding method.
第一方面,本发明提供一种低码率双正交码译码器,包括:In a first aspect, the present invention provides a low code rate bi-orthogonal code decoder, comprising:
两分支译码器,每个分支译码器包括第一单元,第二单元和第三单元,所述第一单元的输出端,同时和所述第二单元的第一输入端以及所述第三单元的第一输入端相连;所述第二单元的输出端和所述第三单元的第二输入端相连;所述第三单元的第一输出端和所述第一单元的第一输入端相连,所述第三单元的第二输出端通过交织单元与另一分支译码器的所述第一单元的第二输入端相连;A two-branch decoder, each branch decoder includes a first unit, a second unit and a third unit, the output of the first unit, and the first input of the second unit and the first unit at the same time. The first input terminal of the three units is connected; the output terminal of the second unit is connected to the second input terminal of the third unit; the first output terminal of the third unit is connected to the first input terminal of the first unit The second output end of the third unit is connected to the second input end of the first unit of the other branch decoder through the interleaving unit;
所述第一单元用于基于后验信息以及存储的外信息,确定先验信息;The first unit is configured to determine the prior information based on the posterior information and the stored extrinsic information;
所述第二单元用于基于待译码信号以及所述先验信息,进行反向递推估计,输出后向度量值;The second unit is configured to perform reverse recursive estimation based on the signal to be decoded and the prior information, and output a backward metric value;
所述第三单元用于基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,输出前向度量值和后验信息;并在所述正向递推估计的次数达到预设的最大迭代次数的情况下,输出译码结果;The third unit is configured to perform forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and output the forward metric value and a posteriori information; When the number of recursive estimations reaches the preset maximum number of iterations, the decoding result is output;
所述第一单元为外信息及先验信息存储单元,第二单元为后向度量计算及存储单元,第三单元为前向度量及后验信息计算单元。The first unit is an extrinsic information and a priori information storage unit, the second unit is a backward metric calculation and storage unit, and the third unit is a forward metric and a posteriori information calculation unit.
可选的,所述第一单元用于基于后验信息以及存储的外信息,确定先验信息,包括:Optionally, the first unit is configured to determine a priori information based on a posteriori information and stored extrinsic information, including:
初始化所述外信息;initialize the foreign information;
基于所述第一单元存储的外信息的初始值和交织后的后验信息,确定先验信息;Determine the prior information based on the initial value of the extrinsic information stored in the first unit and the interleaved posterior information;
其中,所述交织后的后验信息是第三单元输出的后验信息经过交织后的结果。The interleaved a posteriori information is a result of interleaving the a posteriori information output by the third unit.
可选的,所述第二单元用于基于待译码信号以及所述先验信息,进行反向递推估计,输出后向度量值,包括:Optionally, the second unit is configured to perform reverse recursive estimation based on the signal to be decoded and the prior information, and output a backward metric value, including:
基于分支译码器结束状态,初始化在最后时刻的后向度量值;所述分支译码器结束状态为零时,对应的后向度量值为零;所述分支译码器结束状态非零时,对应的后向度量值为负最大值;Based on the end state of the branch decoder, initialize the backward metric value at the last moment; when the end state of the branch decoder is zero, the corresponding backward metric value is zero; when the end state of the branch decoder is non-zero , the corresponding backward metric value is the negative maximum value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值。Based on the approximation algorithm, and the branch metric values, the corresponding backward metric values are determined by reverse recursion.
可选的,所述基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值:Optionally, based on the approximation algorithm and the branch metric value, the corresponding backward metric value is determined by reverse recursion:
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号译码结果为零时达到状态S对应的第一分支度量值,以及在时刻t+1对应的第一后向度量值;Determine the first branch metric value corresponding to the state S when the specific branch decoder of the two branch decoders reaches the state S when the specific symbol decoding result is zero at any time t, and the first backward metric corresponding to time t+1 value;
基于所述第一分支度量值与所述第一后向度量值之和,确定第一度量值和;determining a first metric sum based on the sum of the first branch metric value and the first backward metric value;
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第二分支度量值,以及在时刻t+1对应的第二后向度量值;It is determined that at any time t, the decoding result of the specific symbol of the specific branch decoder in the two branch decoders is the second branch metric value corresponding to the state S reached at one time, and the second backward metric corresponding to the time t+1 value;
基于所述第二分支度量值与所述第二后向度量值之和,确定第二度量值和;determining a second sum of metrics based on the sum of the second branch metric and the second backward metric;
基于近似算法,确定所述第一度量值和,与第二度量值和中最大者为在时刻t的后向度量值;Based on the approximation algorithm, determine the first metric value sum, and the largest of the second metric value sum and the second metric value sum is the backward metric value at time t;
对所述后向度量值进行归一化处理;normalizing the backward metric value;
基于在时刻t+1状态S的后向度量值的初始化值,反向递推更新所有时刻的后向度量值;Based on the initialization value of the backward metric value of the state S at time t+1, the backward recursive update of the backward metric value at all times is reversed;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述第三单元用于基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,输出前向度量值和后验信息,包括:Optionally, the third unit is configured to perform forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and output the forward metric value and a posteriori information, including:
基于分支译码器初始状态,初始化前向度量值;Based on the initial state of the branch decoder, initialize the forward metric value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值;Based on the approximation algorithm and the branch metric value, forward recursion determines the corresponding forward metric value;
基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的。A posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the state of the branch decoder and the biorthogonal code matrix.
可选的,所述基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值,包括:Optionally, the forward recursion determines the corresponding forward metric value based on the approximate algorithm and the branch metric value, including:
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为零时达到状态S对应的第三分支度量值,以及在时刻t-1的第三前向度量值;Based on the specific branch decoder in the two-branch decoder, at any time t, the decoding result of the specific symbol reaches the third branch metric value corresponding to state S when the decoding result of the specific symbol is zero, and the third forward metric value at time t-1 ;
基于所述第三分支度量值与所述第三前向度量值之和,确定第三度量值和;determining a third sum of metrics based on the sum of the third branch metric and the third forward metric;
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第四分支度量值,以及在时刻t-1的第四前向度量值;Based on the specific branch decoder in the two-branch decoder at any time t, the decoding result of the specific symbol is that the fourth branch metric value corresponding to the state S is reached at one time, and the fourth forward metric value at time t-1;
基于所述第四分支度量值与所述第四前向度量值之和,确定第四度量值和;determining a fourth sum of metrics based on the sum of the fourth branch metric and the fourth forward metric;
基于近似算法,确定所述第三度量值和,与第四度量值和中最大者为在时刻t的前向度量值;Based on an approximation algorithm, the third metric sum is determined, and the largest of the third metric sum and the fourth metric sum is the forward metric value at time t;
对所述前向度量值进行归一化处理;normalizing the forward metric value;
基于在时刻1状态S的前向度量值的初始化值,正向递推更新所有时刻的前向度量值;Based on the initialization value of the forward metric value of the state S at time 1, forward recursively update the forward metric value at all times;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述分支度量值确定规则,包括:Optionally, the branch metric value determination rule includes:
基于双正交码矩阵、待译码信号和先验信息,确定双正交码变换度量值;Based on the bi-orthogonal code matrix, the signal to be decoded and the prior information, the bi-orthogonal code transformation metric is determined;
基于两分支译码器的不同状态,确定对应的分支度量值。Based on the different states of the two branch decoders, corresponding branch metrics are determined.
可选的,所述基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的,包括:Optionally, the a posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the branch decoder state and the biorthogonal code matrix, including:
基于第一集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第五度量值和;determining a fifth sum of metric values based on the sum of the biorthogonal code transform metric values at time t, the forward metric value at time t, and the backward metric value at time t+1 in the first set;
基于第二集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第六度量值和;determining a sixth sum of metric values based on the sum of the biorthogonal code transform metric value at time t, the forward metric value at time t, and the backward metric value at time t+1 in the second set;
基于近似算法,确定所述第五度量值和的最大值,所述第六度量值和的最大值;Based on an approximation algorithm, determining the maximum value of the sum of the fifth metric values and the maximum value of the sum of the sixth metric values;
确定所述第五度量值和的最大值,与所述第六度量值和的最大值之差为时刻t第i个符号的后验信息;Determine the maximum value of the fifth metric value sum, and the difference with the maximum value of the sixth metric value sum is the posterior information of the ith symbol at time t;
所述第一集合的元素满足在时刻t第i个符号译码结果为零时,在双正交码矩阵中对应的取值为+1,所述第二集合的元素满足在时刻t第i个符号译码结果为1时,在双正交码矩阵中对应的取值为-1。The elements of the first set satisfy that when the decoding result of the i-th symbol at time t is zero, the corresponding value in the biorthogonal code matrix is +1, and the elements of the second set satisfy that the i-th symbol at time t is zero. When the decoding result of each symbol is 1, the corresponding value in the biorthogonal code matrix is -1.
可选的,所述第三单元用于所述正向递推估计的次数达到预设的最大迭代次数的情况下,输出译码结果,包括:Optionally, the third unit is configured to output a decoding result when the number of times of the forward recursive estimation reaches a preset maximum number of iterations, including:
若确定所述正向递推估计的次数达到预设的最大迭代次数,则基于后验信息的取值和判决函数,输出译码结果;If it is determined that the number of times of the forward recursive estimation reaches the preset maximum number of iterations, the decoding result is output based on the value of the posterior information and the decision function;
所述判决函数为当后验信息的值大于等于零时,输出译码结果为一;当后验信息的值小于零时,输出译码结果为零。The decision function is that when the value of the a posteriori information is greater than or equal to zero, the output decoding result is one; when the value of the a posteriori information is less than zero, the output decoding result is zero.
可选的,所述判决函数的公式为:Optionally, the formula of the decision function is:
其中,为时刻t时第i个符号的后验信息,为求符号运算,为时 刻t时第i个符号的译码结果。 in, is the posterior information of the ith symbol at time t, For symbolic operations, is the decoding result of the i-th symbol at time t.
可选的,所述第一单元还用于基于后验信息和先验信息,更新外信息并存储。Optionally, the first unit is further configured to update and store extrinsic information based on a posteriori information and a priori information.
可选的,所述交织单元用于对所述后验信息进行交织处理,输出交织后的后验信息;Optionally, the interleaving unit is configured to perform interleaving processing on the posterior information, and output the posterior information after interleaving;
基于后验信息和交织函数,确定交织后的后验信息,所述交织函数的公式为:Based on the posterior information and the interleaving function, the posterior information after interleaving is determined, and the formula of the interleaving function is:
; ;
其中,为时刻t时第i个符号的后验信息,为时刻t交织单元对应的交织 地址,为交织函数。 in, is the posterior information of the ith symbol at time t, is the interleaving address corresponding to the interleaving unit at time t, is the interleaving function.
第二方面,本发明还提供一种低码率双正交码译码的方法,包括:In a second aspect, the present invention also provides a low code rate bi-orthogonal code decoding method, comprising:
将待译码信号输入至两分支译码器的后向度量计算及存储单元,和前向度量及后验信息计算单元;Input the signal to be decoded into the backward metric calculation and storage unit of the two-branch decoder, and the forward metric and a posteriori information calculation unit;
所述后向度量计算及存储单元基于待译码信号以及先验信息,进行反向递推估计,确定后向度量值,并输出至前向度量及后验信息计算单元;The backward metric calculation and storage unit performs reverse recursive estimation based on the signal to be decoded and the prior information, determines the backward metric value, and outputs it to the forward metric and a posteriori information calculation unit;
所述前向度量及后验信息计算单元基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,确定前向度量值和后验信息,并输出所述后验信息至外信息及先验信息存储单元;The forward metric and a posteriori information calculation unit performs forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, determines the forward metric value and a posteriori information, and outputs The a posteriori information is sent to the external information and a priori information storage unit;
所述外信息及先验信息存储单元基于后验信息以及存储的外信息,确定先验信息,并输出至后向度量计算及存储单元和前向度量及后验信息计算单元;其中,所述后验信息包括:The extrinsic information and a priori information storage unit determines the prior information based on the posterior information and the stored extrinsic information, and outputs it to the backward metric calculation and storage unit and the forward metric and a posteriori information calculation unit; wherein, the The posterior information includes:
基于自身所属分支译码器的前向度量及后验信息计算单元输出的所述后验信息;或Calculate the a posteriori information output by the unit based on the forward metric and posterior information of the branch decoder to which it belongs; or
另一分支译码器的前向度量及后验信息计算单元输出的后验信息经过交织单元处理后得到的交织后的后验信息;The interleaved a posteriori information obtained after the a posteriori information output by the forward metric of the other branch decoder and the posterior information calculation unit is processed by the interleaving unit;
所述前向度量及后验信息计算单元确定正向递推估计的次数达到预设的最大迭代次数时,输出待译码信号的译码结果。The forward metric and a posteriori information calculation unit determines that the number of forward recursive estimations reaches a preset maximum number of iterations, and outputs a decoding result of the signal to be decoded.
可选的,所述外信息及先验信息存储单元基于后验信息以及存储的外信息,确定先验信息,包括:Optionally, the extrinsic information and a priori information storage unit determines the prior information based on the posterior information and the stored extrinsic information, including:
初始化所述外信息;initialize the foreign information;
基于所述外信息的初始值和交织后的后验信息,确定先验信息。The prior information is determined based on the initial value of the extrinsic information and the interleaved posterior information.
可选的,所述后向度量计算及存储单元基于待译码信号以及先验信息,进行反向递推估计,确定后向度量值,包括:Optionally, the backward metric calculation and storage unit performs reverse recursive estimation based on the signal to be decoded and the prior information, and determines the backward metric value, including:
基于分支译码器结束状态,初始化在最后时刻的后向度量值;所述分支译码器结束状态为零时,对应的后向度量值为零;所述分支译码器结束状态非零时,对应的后向度量值为负最大值;Based on the end state of the branch decoder, initialize the backward metric value at the last moment; when the end state of the branch decoder is zero, the corresponding backward metric value is zero; when the end state of the branch decoder is non-zero , the corresponding backward metric value is the negative maximum value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值。Based on the approximation algorithm, and the branch metric values, the corresponding backward metric values are determined by reverse recursion.
可选的,所述基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值,包括:Optionally, based on the approximation algorithm and the branch metric value, the corresponding backward metric value is determined by reverse recursion, including:
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号译码结果为零时达到状态S对应的第一分支度量值,以及在时刻t+1对应的第一后向度量值;Determine the first branch metric value corresponding to the state S when the specific branch decoder of the two branch decoders reaches the state S when the specific symbol decoding result is zero at any time t, and the first backward metric corresponding to time t+1 value;
基于所述第一分支度量值与所述第一后向度量值之和,确定第一度量值和;determining a first metric sum based on the sum of the first branch metric value and the first backward metric value;
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第二分支度量值,以及在时刻t+1对应的第二后向度量值;It is determined that at any time t, the decoding result of the specific symbol of the specific branch decoder in the two branch decoders is the second branch metric value corresponding to the state S reached at one time, and the second backward metric corresponding to the time t+1 value;
基于所述第二分支度量值与所述第二后向度量值之和,确定第二度量值和;determining a second sum of metrics based on the sum of the second branch metric and the second backward metric;
基于近似算法,确定所述第一度量值和,与第二度量值和中最大者为在时刻t的后向度量值;Based on the approximation algorithm, determine the first metric value sum, and the largest of the second metric value sum and the second metric value sum is the backward metric value at time t;
对所述后向度量值进行归一化处理;normalizing the backward metric value;
基于在时刻t+1后向度量值的初始化值,反向递推更新所有时刻的后向度量值;Based on the initialization value of the backward metric value at time t+1, the backward recursive update of the backward metric value at all times is reversed;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述前向度量及后验信息计算单元基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,确定前向度量值和后验信息,包括:Optionally, the forward metric and a posteriori information calculation unit performs forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and determines the forward metric value and a posteriori. information, including:
基于分支译码器初始状态,初始化前向度量值;Based on the initial state of the branch decoder, initialize the forward metric value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值;Based on the approximation algorithm and the branch metric value, forward recursion determines the corresponding forward metric value;
基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的。A posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the state of the branch decoder and the biorthogonal code matrix.
可选的,所述基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值,包括:Optionally, the forward recursion determines the corresponding forward metric value based on the approximate algorithm and the branch metric value, including:
基于两分支译码器中特定分支译码器在任意时刻t,特定的符号的译码结果为零时达到状态S对应的第三分支度量值,以及在时刻t-1对应的第三前向度量值;Based on the specific branch decoder in the two-branch decoder, at any time t, the decoding result of the specific symbol reaches the third branch metric value corresponding to the state S when the decoding result of the specific symbol is zero, and the third forward direction corresponding to the time t-1 metric;
基于所述第三分支度量值与所述第三前向度量值之和,确定第三度量值和;determining a third sum of metrics based on the sum of the third branch metric and the third forward metric;
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第四分支度量值,以及在时刻t-1的第四前向度量值;Based on the specific branch decoder in the two-branch decoder at any time t, the decoding result of the specific symbol is that the fourth branch metric value corresponding to the state S is reached at one time, and the fourth forward metric value at time t-1;
基于所述第四分支度量值与所述第四前向度量值之和,确定第四度量值和;determining a fourth sum of metrics based on the sum of the fourth branch metric and the fourth forward metric;
基于近似算法,确定所述第三度量值和,与第四度量值和中最大者为在时刻t的前向度量值;Based on an approximation algorithm, the third metric sum is determined, and the largest of the third metric sum and the fourth metric sum is the forward metric value at time t;
对所述前向度量值进行归一化处理;normalizing the forward metric value;
基于在时刻1状态S的前向度量值的初始化值,正向递推更新所有时刻的前向度量值;Based on the initialization value of the forward metric value of the state S at time 1, forward recursively update the forward metric value at all times;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述分支度量值确定规则,包括:Optionally, the branch metric value determination rule includes:
基于双正交码矩阵、待译码信号和先验信息,确定双正交码变换度量值;Based on the bi-orthogonal code matrix, the signal to be decoded and the prior information, the bi-orthogonal code transformation metric is determined;
基于两分支译码器的不同状态,确定对应的分支度量值。Based on the different states of the two branch decoders, corresponding branch metrics are determined.
可选的,所述基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的,包括:Optionally, the a posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the branch decoder state and the biorthogonal code matrix, including:
基于第一集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第五度量值和;determining a fifth sum of metric values based on the sum of the biorthogonal code transform metric values at time t, the forward metric value at time t, and the backward metric value at time t+1 in the first set;
基于第二集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第六度量值和;determining a sixth sum of metric values based on the sum of the biorthogonal code transform metric value at time t, the forward metric value at time t, and the backward metric value at time t+1 in the second set;
基于近似算法,确定所述第五度量值和的最大值,所述第六度量值和的最大值;Based on an approximation algorithm, determining the maximum value of the sum of the fifth metric values and the maximum value of the sum of the sixth metric values;
确定所述第五度量值和的最大值,与所述第六度量值和的最大值之差为时刻t第i个符号的后验信息;Determine the maximum value of the fifth metric value sum, and the difference with the maximum value of the sixth metric value sum is the posterior information of the ith symbol at time t;
所述第一集合的元素满足在时刻t第i个符号译码结果为零时,在双正交码矩阵中对应的取值为+1,所述第二集合的元素满足在时刻t第i个符号译码结果为1时,在双正交码矩阵中对应的取值为-1。The elements of the first set satisfy that when the decoding result of the i-th symbol at time t is zero, the corresponding value in the biorthogonal code matrix is +1, and the elements of the second set satisfy that the i-th symbol at time t is zero. When the decoding result of each symbol is 1, the corresponding value in the biorthogonal code matrix is -1.
可选的,所述前向度量及后验信息计算单元确定正向递推估计的次数达到预设的最大迭代次数时,输出待译码信号的译码结果,包括:Optionally, when the forward metric and a posteriori information calculation unit determines that the number of forward recursive estimation reaches a preset maximum number of iterations, it outputs a decoding result of the signal to be decoded, including:
若确定所述正向递推估计的次数达到预设的最大迭代次数,则基于后验信息的取值和判决函数,输出译码结果;If it is determined that the number of times of the forward recursive estimation reaches the preset maximum number of iterations, the decoding result is output based on the value of the posterior information and the decision function;
所述判决函数为当后验信息的值大于等于零时,输出译码结果为一;当后验信息的值小于零时,输出译码结果为零。The decision function is that when the value of the a posteriori information is greater than or equal to zero, the output decoding result is one; when the value of the a posteriori information is less than zero, the output decoding result is zero.
可选的,所述判决函数的公式为:Optionally, the formula of the decision function is:
其中,为时刻t时第i个符号的后验信息,为求符号运算,为时 刻t时第i个符号的译码结果。 in, is the posterior information of the ith symbol at time t, For symbolic operations, is the decoding result of the i-th symbol at time t.
可选的,所述外信息在外信息及先验信息存储单元中基于后验信息和先验信息,进行更新并存储。Optionally, the extrinsic information is updated and stored in the extrinsic information and a priori information storage unit based on the posterior information and the prior information.
可选的,所述前向度量及后验信息计算单元输出的后验信息经过交织单元处理,包括:Optionally, the posterior information output by the forward metric and posterior information calculation unit is processed by the interleaving unit, including:
基于后验信息和交织函数,确定交织后的后验信息,所述交织函数的公式为:Based on the posterior information and the interleaving function, the posterior information after interleaving is determined, and the formula of the interleaving function is:
; ;
其中,为时刻t时第i个符号的后验信息,为时刻t交织单元对应的交织 地址,为交织函数。 in, is the posterior information of the ith symbol at time t, is the interleaving address corresponding to the interleaving unit at time t, is the interleaving function.
本发明提供的低码率双正交码译码器及译码的方法,通过两分支译码器,同时接收待译码信号,各分支译码器接收待译码信号以及另一译码器的后验信息,通过对不同码字的度量值进行叠加,确定先验信息以及后验信息,并采用反向递推和正向递推,分别确定对应的后向度量值和前向度量值,在达到最大迭代次数时,输出译码结果。降低双正交码译码器结构及实现方式的复杂度,易于在工程中应用。The low code rate bi-orthogonal code decoder and decoding method provided by the present invention, through two branch decoders, simultaneously receive the signal to be decoded, each branch decoder receives the signal to be decoded and another decoder By superimposing the metric values of different codewords to determine the a priori information and a posteriori information, and using reverse recursion and forward recursion to determine the corresponding backward metric value and forward metric value, respectively, When the maximum number of iterations is reached, the decoding result is output. The complexity of the bi-orthogonal code decoder structure and implementation is reduced, and it is easy to be applied in engineering.
附图说明Description of drawings
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are the For some embodiments of the invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明提供的低码率双正交码译码器的结构示意图;1 is a schematic structural diagram of a low code rate bi-orthogonal code decoder provided by the present invention;
图2是本发明提供的低码率双正交码译码的方法流程示意图。FIG. 2 is a schematic flowchart of a method for decoding a low code rate biorthogonal code provided by the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
下面结合图1-图2描述本发明的低码率双正交码译码器及译码的方法。The low code rate bi-orthogonal code decoder and decoding method of the present invention will be described below with reference to FIG. 1 to FIG. 2 .
图1是本发明提供的低码率双正交码译码器的结构示意图;如图1所示,该低码率双正交码译码器,包括:1 is a schematic structural diagram of a low code rate bi-orthogonal code decoder provided by the present invention; as shown in FIG. 1 , the low code rate bi-orthogonal code decoder includes:
两分支译码器,每个分支译码器包括第一单元,第二单元和第三单元,所述第一单元的输出端,同时和所述第二单元的第一输入端以及所述第三单元的第一输入端相连;所述第二单元的输出端和所述第三单元的第二输入端相连;所述第三单元的第一输出端和所述第一单元的第一输入端相连,所述第三单元的第二输出端通过交织单元与另一分支的所述第一单元的第二输入端相连;A two-branch decoder, each branch decoder includes a first unit, a second unit and a third unit, the output of the first unit, and the first input of the second unit and the first unit at the same time. The first input terminal of the three units is connected; the output terminal of the second unit is connected to the second input terminal of the third unit; the first output terminal of the third unit is connected to the first input terminal of the first unit The second output end of the third unit is connected to the second input end of the first unit of the other branch through the interleaving unit;
所述第一单元为外信息及先验信息存储单元110,第二单元为后向度量计算及存储单元120,第三单元为前向度量及后验信息计算单元130。The first unit is an extrinsic information and a priori
所述第一单元用于基于后验信息以及存储的外信息,确定先验信息;The first unit is configured to determine the prior information based on the posterior information and the stored extrinsic information;
所述第二单元用于基于待译码信号以及所述先验信息,进行反向递推估计,输出后向度量值;The second unit is configured to perform reverse recursive estimation based on the signal to be decoded and the prior information, and output a backward metric value;
所述第三单元用于基于待译码信号,所述先验信息,以及所述后向度量值,进行正向递推估计,输出前向度量值和后验信息;并在所述正向递推估计的次数达到预设的最大迭代次数的情况下,输出译码结果。The third unit is configured to perform forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and output the forward metric value and a posteriori information; When the number of recursive estimations reaches the preset maximum number of iterations, the decoding result is output.
所述第一单元为外信息及先验信息存储单元,第二单元为后向度量计算及存储单元,第三单元为前向度量及后验信息计算单元。The first unit is an extrinsic information and a priori information storage unit, the second unit is a backward metric calculation and storage unit, and the third unit is a forward metric and a posteriori information calculation unit.
具体的,该低码率双正交码译码器,包括两个分支译码器,每个分支译码器主要包括:外信息及先验信息存储单元110,后向度量计算及存储单元120和前向度量及后验信息计算单元130,还包括交织单元140。一个分支译码器输出的后验信息通过交织后输入另一个分支译码器的外信息及先验信息存储单元。Specifically, the low code rate bi-orthogonal code decoder includes two branch decoders, and each branch decoder mainly includes: an extrinsic information and a priori
对于外信息及先验信息存储单元110,输入包括该分支译码器的前向度量及后验信息计算单元130输出的后验信息,以及另一分支译码器中前向度量及后验信息计算单元130输出的后验信息经过交织单元生成交织后的后验信息。计算得到先验信息。该先验信息作为后向度量计算及存储单元120的第一输入,同时作为前向度量及后验信息计算单元130的第一输入。此外,还可能涉及外信息的初始化,外信息的更新,先验信息的更新等操作。For the extrinsic information and a priori
后向度量计算及存储单元120,输入该分支译码器的外信息及先验信息存储单元110输出的先验信息,以及待译码信号;计算得到后向度量值,该后向度量值作为前向度量及后验信息计算单元130的第二输入。The backward metric calculation and
前向度量及后验信息计算单元130,输入该分支译码器的外信息及先验信息存储单元110输出的先验信息,后向度量计算及存储单元120输出的后向度量值,以及带译码信号;计算得到前向度量值以及后验信息,作为外信息及先验信息存储单元110的第一输入,同时将另一分支译码器的前向度量及后验信息计算单元计算得到的后验信息经过交织后的结果作为该分支译码器的外信息及先验信息存储单元110的第二输入。The forward metric and a posteriori
分支译码器的向度量计算及存储单元120接收到待译码信号,以及上述外信息及先验信息存储单元110计算得到的先验信息,采用反向递推的方式,确定所有时刻的后向度量值。与此同时,分支译码器的前向度量及后验信息计算单元130也会接收到待译码信号,上述后向度量计算及存储单元120计算得到的后向度量值,上述外信息及先验信息存储单元110计算得到的先验信息,采用正向递推的方式,确定所有时刻的前向度量值,以及后验信息;比如假定时刻1的前向度量值的初始值,然后根据后一时刻前向度量值和当前时刻前向度量值之间的递推关系,依次确定时刻1到时刻k的前向度量值,并结合先确定的后向度量值等,确定对应的后验信息。The direction metric calculation and
上述处理步骤是以迭代方式进行的,在前向度量及后验信息计算单元130对迭代的次数进行判断,确定已达到预设的最大迭代次数,则输出译码结果。所述待译码信号是turbo码与双正交码的级联码,是一种类turbo码。turbo码于1993年在国际通信会议(International Conference on Communications,ICC)会议上提出来一种并行级联卷积码,通过两个软输入-软输出最大后验概率译码器传递外信息,实现了接近于香农极限的迭代译码,这种通过伪随机交织器实现的具有伪随机特性的长码是香农理论中的“好码”。The above processing steps are performed in an iterative manner. The forward metric and a posteriori
本发明提供的低码率双正交码译码器,通过两分支译码器,同时接收待译码信号,各分支译码器接收待译码信号以及另一译码器的后验信息,通过对不同码字的度量值进行叠加,确定先验信息以及后验信息,并采用反向递推和正向递推,分别确定对应的后向度量值和前向度量值,在达到最大迭代次数时,输出译码结果。降低双正交码译码器结构及实现方式的复杂度,易于在工程中应用。The low code rate bi-orthogonal code decoder provided by the present invention receives the signal to be decoded simultaneously through two branch decoders, and each branch decoder receives the signal to be decoded and the posterior information of another decoder, By superimposing the metric values of different codewords, the prior information and the posterior information are determined, and the reverse and forward recursion are used to determine the corresponding backward metric value and forward metric value respectively. When the maximum number of iterations is reached , output the decoding result. The complexity of the bi-orthogonal code decoder structure and implementation is reduced, and it is easy to be applied in engineering.
可选的,所述第一单元用于基于后验信息以及存储的外信息,确定先验信息,包括:Optionally, the first unit is configured to determine a priori information based on a posteriori information and stored extrinsic information, including:
初始化所述外信息;initialize the foreign information;
基于所述第一单元存储的外信息的初始值和交织后的后验信息,确定先验信息;Determine the prior information based on the initial value of the extrinsic information stored in the first unit and the interleaved posterior information;
其中,所述交织后的后验信息是第三单元输出的后验信息经过交织后的结果。The interleaved a posteriori information is a result of interleaving the a posteriori information output by the third unit.
具体的,该低码率双正交译码器工作时,需要先对外信息进行初始化,具体公式为:Specifically, when the low code rate bi-orthogonal decoder works, it needs to initialize the external information first, and the specific formula is:
其中,为外信息,为时间序号。为待译码信号的比特长度。上述外 信息表示一个集合,包括在时刻t所有符号对应的外信息的初始值。 in, for external information, is the time sequence number. is the bit length of the signal to be decoded. The above external information Represents a set, including the initial value of extrinsic information corresponding to all symbols at time t.
外信息初始化完成后,存储在外信息及先验信息存储单元110中。接着,通过输入的交织后的后验信息和存储的外信息计算先验信息,After the initialization of the extrinsic information is completed, it is stored in the extrinsic information and prior
其中,为输入的交织后的后验信息,为先验信息,为时间序号。
且该是另一分支译码器的前向度量及后验信息计算单元130输出的后验信息经过交织
单元进行交织处理后,输入该分支译码器的外信息及先验信息存储单元110。
in, is the a posteriori information after the input interleaving, for the prior information, is the time sequence number. and the The a posteriori information output by the forward metric and a posteriori
可选的,所述第二单元用于基于待译码信号以及所述先验信息,进行反向递推估计,输出后向度量值,包括:Optionally, the second unit is configured to perform reverse recursive estimation based on the signal to be decoded and the prior information, and output a backward metric value, including:
基于分支译码器结束状态,初始化在最后时刻的后向度量值;所述分支译码器结束状态为零时,对应的后向度量值为零;所述分支译码器结束状态非零时,对应的后向度量值为负最大值;Based on the end state of the branch decoder, initialize the backward metric value at the last moment; when the end state of the branch decoder is zero, the corresponding backward metric value is zero; when the end state of the branch decoder is non-zero , the corresponding backward metric value is the negative maximum value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值。Based on the approximation algorithm, and the branch metric values, the corresponding backward metric values are determined by reverse recursion.
具体的,后向度量计算及存储单元120接收到待译码信号,以及上述外信息及先验信息存储单元110计算得到的先验信息,采用反向递推的方式,确定所有时刻的后向度量值。Specifically, the backward metric calculation and
后向度量计算及存储单元120先对后向度量值进行初始化,若分量译码器结束状态为零,则初始化方法如下:The backward metric calculation and
其中,为分支译码器的状态序号,为分量译码器缓存阶数, 为一个预设的最大值,该预设的最大值可以根据译码器采用的码字具体确定。分支译码器 的每个状态序号s对应分支译码器的一个状态S。且分支译码器在每个时刻t可能存在多个 序号,每个序号对应一个状态。上述状态S可能包括多个状态值,这个状态值的范围是[0, 2m-1],对应的状态序号s取值也是多个取值,状态序号的取值范围也是[0,2m-1]。译码的过 程相当于确定待译码的每个符号对应的被译码为正确结果是每个符号被译码为可能性最 大的特定结果。 in, is the state sequence number of the branch decoder, is the cache order of the component decoder, is a preset maximum value, and the preset maximum value can be specifically determined according to the codeword used by the decoder. Each state number s of the branch decoder corresponds to a state S of the branch decoder. And the branch decoder may have multiple sequence numbers at each time t, and each sequence number corresponds to a state. The above state S may include multiple state values. The range of this state value is [0, 2 m -1]. The corresponding state serial number s has multiple values, and the value range of the state serial number is also [0, 2 m . -1]. The decoding process is equivalent to determining that the decoded correct result corresponding to each symbol to be decoded is a specific result with the highest probability that each symbol is decoded.
若分量译码器结束状态非零,则初始化方法如下:If the end state of the component decoder is non-zero, the initialization method is as follows:
初始化后,根据分支度量值确定规则,确定每个时刻的分支度量值。After initialization, the branch metric value at each moment is determined according to the branch metric value determination rule.
具体的,所述分支度量值确定规则包括:Specifically, the branch metric determination rule includes:
基于双正交码矩阵,待译码信号和先验信息,确定双正交码变换度量值;Based on the bi-orthogonal code matrix, the signal to be decoded and the prior information, the bi-orthogonal code transformation metric is determined;
计算双正交码变换度量值的公式如下:The formula for calculating the biorthogonal code transformation metric is as follows:
其中,为在时刻t的双正交码变化度量值,为第列双正交码矩阵,为 待译码信号,为先验信息,为时间序号,表示变量和 变量之和的内积。 in, is the biorthogonal code variation metric value at time t, for the first column biorthogonal code matrix, is the signal to be decoded, for the prior information, is the time sequence number, represents a variable and variable The inner product of the sum.
所述双正交码矩阵是先根据编码器采用的码字,确定对应的码长,在码字库中 找出满足该长度的所有码字,进而确定对应的双正交码矩阵h,其中行数表示码字的长度, 列数表示存在多少个相同码字长度的码字。双正交码矩阵是先验已知的二元矩阵,由+1和- 1构成。 The biorthogonal code matrix It is to first determine the corresponding code length according to the code words used by the encoder, find all code words that satisfy the length in the code word library, and then determine the corresponding biorthogonal code matrix h, where the number of rows represents the length of the code word, The number of columns indicates how many codewords of the same codeword length exist. A biorthogonal code matrix is a binary matrix known a priori, consisting of +1 and -1.
基于两分支译码器的不同状态,确定对应的分支度量值。Based on the different states of the two branch decoders, corresponding branch metrics are determined.
计算分支度量值的公式如下:The formula for calculating the branch measure is as follows:
其中,为时刻状态时的双正交码变换度量值,为时刻 状态时的分支度量值。从状态转变为状态,可能存在两种方式,在状态,某个 或某些符号的译码结果为0达到状态,即上述某个或者某些符号的译码结果为0的可能性 最大,或者在状态,某个或某些符号的译码结果为1达到状态,即上述某个或者某些符 号的译码结果为1的可能性最大;且状态对应的状态序号为,状态对应的状态序号为。 in, for the moment state The biorthogonal code transform metric value when , for the moment state The branch metric value at . from the state transition to state , there may be two ways, in the state , the decoding result of one or some symbols is 0 to reach the state , that is, the decoding result of the above-mentioned one or some symbols is most likely to be 0, or in the state of , the decoding result of one or some symbols is 1 to reach the state , that is, the decoding result of one or some of the above symbols is most likely to be 1; and the state The corresponding state serial number is ,state The corresponding state serial number is .
确定每个时刻的分支度量值之后,采用近似算法,以每个时刻每个符号译码结果是0或者1达到该译码结束状态时的概率,确定其中概率较大者为该时刻该符号正确的译码结果。并基于在最后时刻的后向度量值的初始化后的值,前一时刻后向度量值和当前时刻后向度量值之间的递推关系,依次确定时刻k到时刻1的后向度量值,这样反向递推确定后向度量值。最后由后向度量计算及存储单元120输出给前向度量及后验信息计算单元130。这里的时刻k的取值是待译码信号的比特长度。After determining the branch metric value at each moment, an approximation algorithm is used to determine the probability that the decoding result of each symbol at each moment is 0 or 1 when the decoding end state is reached, and the higher probability is determined as the correct symbol at this moment. the decoding result. And based on the initialized value of the backward metric value at the last moment, the recursive relationship between the backward metric value of the previous moment and the backward metric value of the current moment, the backward metric values from time k to time 1 are sequentially determined, This reverse recursion determines the backward metric value. Finally, the backward metric calculation and
可选的,所述基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值:Optionally, based on the approximation algorithm and the branch metric value, the corresponding backward metric value is determined by reverse recursion:
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为零时达到状态S对应的第一分支度量值,以及在时刻t+1对应的第一后向度量值;Determine the first branch metric value corresponding to the state S when the specific branch decoder of the two branch decoders reaches the first branch metric value corresponding to the state S when the decoding result of the specific symbol is zero at any time t, and the first backward direction corresponding to the time t+1 metric;
基于所述第一分支度量值与所述第一后向度量值之和,确定第一度量值和;determining a first metric sum based on the sum of the first branch metric value and the first backward metric value;
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第二分支度量值,以及在时刻t+1的第二后向度量值;It is determined that at any time t, the decoding result of the specific symbol of the specific branch decoder in the two branch decoders is the second branch metric value corresponding to the state S reached at one time, and the second backward metric value at time t+1 ;
基于所述第二分支度量值与所述第二后向度量值之和,确定第二度量值和;determining a second sum of metrics based on the sum of the second branch metric and the second backward metric;
基于近似算法,确定所述第一度量值和,与第二度量值和中最大者为在时刻t的后向度量值;Based on the approximation algorithm, determine the first metric value sum, and the largest of the second metric value sum and the second metric value sum is the backward metric value at time t;
对所述后向度量值进行归一化处理;normalizing the backward metric value;
基于在时刻t+1状态S的后向度量值的初始化值,反向递推更新所有时刻的后向度量值;Based on the initialization value of the backward metric value of the state S at time t+1, the backward recursive update of the backward metric value at all times is reversed;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
具体的,在后向度量计算及存储单元120中,基于,,更新后向
度量计算值,具体公式为:
Specifically, in the backward metric calculation and
其中,为时间序号。表示待译码信号中的某个或某些符号在时 刻t被译码为0,使得译码器的状态从转换到,同理,表示待译码信号中的某 个或某些符号在时刻t被译码为1,使得译码器的状态从转换到。分支译码器状态对 应的状态序号为,分支译码器状态对应的状态序号为,分支译码器状态对应 的状态序号为。分支译码器的每个状态和对应的状态序号一一对应。且每个时刻t,分支 译码器的状态包括多个,对应的状态序号也有多个。 in, is the time sequence number. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , similarly, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to . Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number. And at each time t, there are multiple states of the branch decoder, and there are multiple corresponding state numbers.
根据上述公式确定了前一时刻后向度量值和当前时刻后向度量值之间的递推关系。The recursive relationship between the backward metric value at the previous moment and the backward metric value at the current moment is determined according to the above formula.
然后,在同一个时刻待译码信号可能存在多个符号都能使得译码器对应的状态都 满足上述公式,即确定的为一个组合,确定这个组合中的最大值,并用中的每 个值减去这个最大值对其进行归一化处理,具体公式为: Then, there may be multiple symbols in the signal to be decoded at the same time, which can make the state corresponding to the decoder satisfy the above formula, that is, the determined For a combination, determine the maximum value in this combination, and use Each value in is normalized by subtracting this maximum value by the formula:
依次反向递推,更新后向度量值至。 Reverse recursion in turn, update the backward metric to .
输出并存储,,至后向度量计算及存储单元
120。
output and store , , to the backward metric calculation and
可选的,所述第三单元用于基于待译码信号、所述先验信息、以及所述后向度量值进行正向递推估计,输出前向度量值和后验信息,包括:Optionally, the third unit is configured to perform forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and output the forward metric value and a posteriori information, including:
基于分支译码器初始状态,初始化前向度量值;Based on the initial state of the branch decoder, initialize the forward metric value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值;Based on the approximation algorithm and the branch metric value, forward recursion determines the corresponding forward metric value;
基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的。A posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the state of the branch decoder and the biorthogonal code matrix.
具体的,后向度量计算及存储单元120根据待译码信号确定对应的后向度量值的同时,待译码信号也输入前向度量及后验信息计算单元130,在该单元中同样采用近似算法,正向递推确定对应的前向度量值以及后验信息。Specifically, while the backward metric calculation and
在前向度量及后验信息计算单元130中先对前向度量值进行初始化,初始化的方法如下:The forward metric value is initialized in the forward metric and a posteriori
其中,为分支译码器的状态序号,为分量译码器缓存阶数, 为一个预设的最大值,是一个在合理位宽内的达到的最大值,具体可根据编码的码长确定。为时刻状态的前向度量值,状态对应的状态序号为。分支译码器的每个状态 序号对应分支译码器的一个状态。 in, is the state sequence number of the branch decoder, is the cache order of the component decoder, is a preset maximum value, which is a maximum value reached within a reasonable bit width, which can be specifically determined according to the encoded code length. for state of the moment The forward measure of , the state The corresponding state serial number is . Each state number of the branch decoder corresponds to a state of the branch decoder.
初始化后,根据分支度量值确定规则,确定每个时刻的分支度量值。After initialization, the branch metric value at each moment is determined according to the branch metric value determination rule.
具体确定每个时刻的分支度量值的方法和在后向度量计算及存储单元120中的相同,在此不再赘述。The specific method for determining the branch metric value at each moment is the same as that in the backward metric calculation and
确定每个时刻的分支度量值之后,采用近似算法,以每个时刻每个符号译码结果是0或者1达到该译码结束状态时的概率,确定其中概率较大者为该时刻该符号正确的译码结果。并基于在时刻1的前向度量值的初始化后的值,前一时刻前向度量值和当前时刻前向度量值之间的递推关系,依次确定时刻1到时刻k+1的前向度量值,这样正向递推确定前向度量值。这里的时刻k的取值是待译码信号的比特长度。After determining the branch metric value at each moment, an approximation algorithm is used to determine the probability that the decoding result of each symbol at each moment is 0 or 1 when the decoding end state is reached, and the higher probability is determined as the correct symbol at this moment. the decoding result. And based on the initialized value of the forward metric value at time 1, the recursive relationship between the forward metric value at the previous time and the forward metric value at the current time, determine the forward metric from time 1 to time k+1 in turn. value, so that forward recursion determines the forward metric value. The value of time k here is the bit length of the signal to be decoded.
确定了前向度量值之后,根据近似算法,以及分支译码器状态和双正交码矩阵确定的预设规则,确定后验信息。After the forward metric value is determined, the a posteriori information is determined according to the approximation algorithm, the state of the branch decoder and the preset rule determined by the biorthogonal code matrix.
可选的,所述基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值,包括:Optionally, the forward recursion determines the corresponding forward metric value based on the approximate algorithm and the branch metric value, including:
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为零时达到状态S对应的第三分支度量值,以及在时刻t-1对应的第三前向度量值;Based on the specific branch decoder in the two-branch decoder, at any time t, the decoding result of the specific symbol reaches the third branch metric value corresponding to state S when the decoding result of the specific symbol is zero, and the third forward metric corresponding to the time t-1 value;
基于所述第三分支度量值与所述第三前向度量值之和,确定第三度量值和;determining a third sum of metrics based on the sum of the third branch metric and the third forward metric;
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第四分支度量值,以及在时刻t-1的第四前向度量值;Based on the specific branch decoder in the two-branch decoder at any time t, the decoding result of the specific symbol is that the fourth branch metric value corresponding to the state S is reached at one time, and the fourth forward metric value at time t-1;
基于所述第四分支度量值与所述第四前向度量值之和,确定第四度量值和;determining a fourth sum of metrics based on the sum of the fourth branch metric and the fourth forward metric;
基于近似算法,确定所述第三度量值和,与第四度量值和中最大者为在时刻t的前向度量值;Based on an approximation algorithm, the third metric sum is determined, and the largest of the third metric sum and the fourth metric sum is the forward metric value at time t;
对所述前向度量值进行归一化处理;normalizing the forward metric value;
基于在时刻1状态S的前向度量值的初始化值,正向递推更新所有时刻的前向度量值;Based on the initialization value of the forward metric value of the state S at time 1, forward recursively update the forward metric value at all times;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
具体的,在前向度量及后验信息计算单元130,基于Specifically, in the forward metric and a posteriori
比如假定最后时刻的后向度量值的初始值,然后根据,,更新 前向度量计算值, For example, assuming the initial value of the backward metric value at the last moment, and then according to , , update the calculated value of the forward metric,
其中,为时间序号。表示待译码信号中的某个或者某些符 号在时刻t被译码为0,使得译码器的状态从转换到,同理,表示待译码信号 中的某个或者某些符号在时刻t被译码为1,使得译码器的状态从转换到,其中,u代 表任意一个符号。分支译码器状态对应的状态序号为,分支译码器状态对应的状态 序号为,分支译码器状态对应的状态序号为。分支译码器的每个状态和对应的 状态序号一一对应。 in, is the time sequence number. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , similarly, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to , where u represents any symbol. Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number.
根据上述公式确定了前一时刻前向度量值和当前时刻前向度量值之间的递推关系。The recursive relationship between the forward metric value at the previous moment and the forward metric value at the current moment is determined according to the above formula.
然后,在同一个时刻待译码信号可能存在多个符号都能使得译码器对应的状态都 满足上述公式,即确定的前向度量值为一个组合,确定这个组合中的最大值,并用中的每个值减去这个最大值对其进行归一化处理,具体公式为:;其中,为归一化处理后的前向度量值。 Then, there may be multiple symbols in the signal to be decoded at the same time, which can make the state corresponding to the decoder satisfy the above formula, that is, the determined forward metric value For a combination, determine the maximum value in this combination, and use Each value in is normalized by subtracting this maximum value by the formula: ;in, is the normalized forward metric value.
依次正向递推,更新前向度量值至。 Forward recursion in turn, update the forward metric to .
输出并存储至前向度量及后验信息计算
单元130。
output and store to the forward metric and a posteriori
确定前向度量值之后,前向度量及后验信息计算单元130再次根据近似算法,确定后验信息。After the forward metric value is determined, the forward metric and a posteriori
可选的,基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的,包括:Optionally, a posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the branch decoder state and the biorthogonal code matrix, including:
基于第一集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第五度量值和;determining a fifth sum of metric values based on the sum of the biorthogonal code transform metric values at time t, the forward metric value at time t, and the backward metric value at time t+1 in the first set;
基于第二集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第六度量值和;determining a sixth sum of metric values based on the sum of the biorthogonal code transform metric value at time t, the forward metric value at time t, and the backward metric value at time t+1 in the second set;
基于近似算法,确定所述第五度量值和的最大值,所述第六度量值和的最大值;Based on an approximation algorithm, determining the maximum value of the sum of the fifth metric values and the maximum value of the sum of the sixth metric values;
确定所述第五度量值和的最大值,与所述第六度量值和的最大值之差为时刻t第i个符号的后验信息;Determine the maximum value of the fifth metric value sum, and the difference with the maximum value of the sixth metric value sum is the posterior information of the ith symbol at time t;
所述第一集合的元素满足在时刻t第i个符号译码结果为零时,在双正交码矩阵中对应的取值为+1,所述第二集合的元素满足在时刻t第i个符号译码结果为1时,在双正交码矩阵中对应的取值为-1。The elements of the first set satisfy that when the decoding result of the i-th symbol at time t is zero, the corresponding value in the biorthogonal code matrix is +1, and the elements of the second set satisfy that the i-th symbol at time t is zero. When the decoding result of each symbol is 1, the corresponding value in the biorthogonal code matrix is -1.
具体的,前向度量及后验信息计算单元130根据如下公式计算后验信息:Specifically, the forward metric and a posteriori
其中,表示满足的状态且对应的前向度量值,后向度 量值以及双正交码变换度量值的集合,表示满足的状态且对应 的前向度量值,后向度量值以及双正交码变换度量值的集合,为时刻第个符号的 后验信息。表示待译码信号中的某个或者某些符号在时刻t被译码为0,使得译码 器的状态从转换到,且在双正交码矩阵中对应位的值为+1,同理,表 示待译码信号中的某个或者某些符号在时刻t被译码为1,使得译码器的状态从转换到,且在双正交矩阵码矩阵中对应位的值为-1,表示双正交码矩阵的第j列的第 i个符号对应的码字,其中,u代表任意一个符号。分支译码器状态对应的状态序号为,分 支译码器状态对应的状态序号为,分支译码器状态对应的状态序号为。分 支译码器的每个状态和对应的状态序号一一对应。 in, express satisfaction state and Corresponding forward metric value, backward metric value and set of biorthogonal code transform metric value, express satisfaction state and Corresponding forward metric value, backward metric value and set of biorthogonal code transform metric value, for the moment the first a posteriori information of the symbols. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , and the corresponding bits in the biorthogonal code matrix The value of is +1, in the same way, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to , and the corresponding bits in the biorthogonal matrix code matrix is -1, Indicates the codeword corresponding to the i-th symbol in the j-th column of the biorthogonal code matrix, where u represents any symbol. Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number.
计算得到的后验信息输出至外信息存储单元和交织单元110。The calculated posterior information is output to the extrinsic information storage unit and the
可选的,所述第三单元用于在所述正向递推估计的次数达到预设的最大迭代次数的情景下,输出译码结果,包括:Optionally, the third unit is configured to output a decoding result when the number of times of the forward recursive estimation reaches a preset maximum number of iterations, including:
若确定所述正向递推估计的次数达到预设的最大迭代次数,则基于后验信息的取值和判决函数,输出译码结果;If it is determined that the number of times of the forward recursive estimation reaches the preset maximum number of iterations, the decoding result is output based on the value of the posterior information and the decision function;
所述判决函数为当后验信息的值大于等于零时,输出译码结果为一;当后验信息的值小于零时,输出译码结果为零。The decision function is that when the value of the a posteriori information is greater than or equal to zero, the output decoding result is one; when the value of the a posteriori information is less than zero, the output decoding result is zero.
具体的,前向度量及后验信息计算单元130确定分支译码器迭代的次数是否达到预设的最大迭代次数,如果达到了预设的最大迭代次数,根据后验信息的取值以及判决函数,输出译码结果。即确定分支译码器的迭代次数大于等于预设阈值,则输出译码结果。所述预设阈值可以根据前期统计结果分析确定或者人为设定一个初始值,在后续的计算过程中进行调整,找到预设阈值的最合适的取值。本发明提供的低码率双正交码译码器是由两个分支译码器构成,循环迭代达到一定次数之后,两个分支译码器的结果趋于收敛状态,则任意一个分支译码器的前向度量及后验信息计算单元都可以判断迭代的次数是否达到预设阈值,并输出译码结果。Specifically, the forward metric and a posteriori
所述判决函数对应的公式为:The formula corresponding to the decision function is:
其中,为时刻t时第i个符号的后验信息,为求符号运算,为时 刻t时第i个符号的译码结果。 in, is the posterior information of the ith symbol at time t, For symbolic operations, is the decoding result of the i-th symbol at time t.
可选的,所述第一单元还用于基于后验信息和先验信息,更新外信息并存储。Optionally, the first unit is further configured to update and store extrinsic information based on a posteriori information and a priori information.
具体的,外信息及先验信息存储单元110不仅可以存储外信息和先验信息,还根据后验信息和先验信息,更新存储的外信息,具体公式为:Specifically, the extrinsic information and prior
其中,为先验信息,为时刻t时第i个符号的后验信息,为存储的 外信息,为更新后的外信息,为时间序号。并且先验信息,存储的外 信息以及更新后的外信息均表示一个集合,对应不同的i值,均有集合中的一个 值与其对应。同样,先验信息也表示一个集合,对应不同的i值,均有集合中的一个值与 其对应。其中,i表示第i个符号。 in, for the prior information, is the posterior information of the ith symbol at time t, For stored foreign information, For updated external information, is the time sequence number. and prior information , the stored foreign information and updated external information Both represent a set, corresponding to different i values, and each has a value in the set corresponding to it. Likewise, prior information It also represents a set, corresponding to different i values, there is a value in the set corresponding to it. where i represents the ith symbol.
可选的,所述交织单元用于对所述后验信息进行交织处理,输出交织后的后验信息;Optionally, the interleaving unit is configured to perform interleaving processing on the posterior information, and output the posterior information after interleaving;
基于后验信息和交织函数,确定交织后的后验信息,所述交织函数的公式为:Based on the posterior information and the interleaving function, the posterior information after interleaving is determined, and the formula of the interleaving function is:
; ;
其中,为时刻t时第i个符号的后验信息,为时刻t交织单元对应的交织 地址,为交织函数。具体的,为时刻t交织单元对应的交织地址表示一个集合,包括 在时刻t所有符号的交织单元对应的交织地址。具体含义为:将信号按照交织地址的顺序重新排列。 in, is the posterior information of the ith symbol at time t, is the interleaving address corresponding to the interleaving unit at time t, is the interleaving function. specific, The interleaving addresses corresponding to the interleaving units at time t represent a set, including the interleaving addresses corresponding to the interleaving units of all symbols at time t. The specific meaning is: the signal By interleaved address rearranged in order.
本发明提供的低码率双正交码译码器,通过两分支译码器,同时接收待译码信号,各分支译码器接收待译码信号以及另一译码器的后验信息,通过对不同码字的度量值进行叠加,确定先验信息以及后验信息,并采用反向递推和正向递推,分别确定对应的后向度量值和前向度量值,在达到最大迭代次数时,输出译码结果。降低双正交码译码器结构及实现方式的复杂度,易于在工程中应用。The low code rate bi-orthogonal code decoder provided by the present invention receives the signal to be decoded simultaneously through two branch decoders, and each branch decoder receives the signal to be decoded and the posterior information of another decoder, By superimposing the metric values of different codewords, the prior information and the posterior information are determined, and the reverse and forward recursion are used to determine the corresponding backward metric value and forward metric value respectively. When the maximum number of iterations is reached , output the decoding result. The complexity of the bi-orthogonal code decoder structure and implementation is reduced, and it is easy to be applied in engineering.
图2是本发明提供的低码率双正交码译码的方法流程示意图,如图2所示,该方法包括:FIG. 2 is a schematic flowchart of a method for decoding a low code rate bi-orthogonal code provided by the present invention. As shown in FIG. 2 , the method includes:
步骤201、将待译码信号输入至两分支译码器的后向度量计算及存储单元,和前向度量及后验信息计算单元。Step 201: Input the signal to be decoded into the backward metric calculation and storage unit and the forward metric and a posteriori information calculation unit of the two-branch decoder.
步骤202、所述后向度量计算及存储单元基于待译码信号以及先验信息,进行反向递推估计,确定后向度量值,并输出至前向度量及后验信息计算单元;
步骤203、所述前向度量及后验信息计算单元基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,确定前向度量值和后验信息,并输出所述后验信息至外信息及先验信息存储单元;Step 203: The forward metric and a posteriori information calculation unit performs forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and determines the forward metric value and a posteriori information , and output the a posteriori information to the external information and a priori information storage unit;
步骤204、外信息及先验信息存储单元基于后验信息以及存储的外信息,确定先验信息,并输出至后向度量计算及存储单元和前向度量及后验信息计算单元;其中,所述后验信息包括:
基于自身所属分支译码器的前向度量及后验信息计算单元输出的所述后验信息;或Calculate the a posteriori information output by the unit based on the forward metric and posterior information of the branch decoder to which it belongs; or
另一分支译码器的前向度量及后验信息计算单元输出的后验信息经过交织单元处理后得到的交织后的后验信息;The interleaved a posteriori information obtained after the a posteriori information output by the forward metric of the other branch decoder and the posterior information calculation unit is processed by the interleaving unit;
步骤205、所述前向度量及后验信息计算单元确定正向递推估计的次数达到预设的最大迭代次数时,输出待译码信号的译码结果。Step 205: When the forward metric and a posteriori information calculation unit determines that the number of forward recursive estimations reaches a preset maximum number of iterations, the decoding result of the signal to be decoded is output.
具体的,具体的,本发明实施例提供的低码率双正交码译码的方法基于上述译码器实现。该低码率双正交码译码的方法,通过将待译码信号输入至两分支译码器的后向度量计算及存储单元,和前向度量及后验信息计算单元。Specifically, specifically, the low code rate biorthogonal code decoding method provided by the embodiment of the present invention is implemented based on the above-mentioned decoder. The low bit rate bi-orthogonal code decoding method is inputting the to-be-decoded signal to the backward metric calculation and storage unit and the forward metric and a posteriori information calculation unit of the two-branch decoder.
所述外信息及先验信息存储单元基于后验信息以及存储的外信息,确定先验信息,并输出至后向度量计算及存储单元和前向度量及后验信息计算单元;其中,所述后验信息包括:The extrinsic information and a priori information storage unit determines the prior information based on the posterior information and the stored extrinsic information, and outputs it to the backward metric calculation and storage unit and the forward metric and a posteriori information calculation unit; wherein, the The posterior information includes:
基于自身所属分支译码器的前向度量及后验信息计算单元输出的所述后验信息;或Calculate the a posteriori information output by the unit based on the forward metric and posterior information of the branch decoder to which it belongs; or
另一分支译码器的前向度量及后验信息计算单元输出的后验信息经过交织单元处理后的交织后的后验信息;The a posteriori information after the interleaving after the a posteriori information output by the forward metric of the other branch decoder and the posterior information calculation unit is processed by the interleaving unit;
基于初始化后的外信息,以及前向度量及后验信息计算单元输出的后验信息经过交织单元处理后的结果,确定先验信息;Determine the prior information based on the initialized extrinsic information, and the result of the interleaving unit processing the posterior information output by the forward metric and the posterior information computing unit;
将上述先验信息分别输入后向度量计算及存储单元,和前向度量及后验信息计算单元。The above-mentioned prior information is respectively input into the backward metric calculation and storage unit, and the forward metric and a posteriori information calculation unit.
所述向度量计算及存储单元,将待译码信号以及上述先验信息,采用反向递推估计,确定后向度量值。比如可以通过预设最后时刻后向度量值的初始值,并结合前一时刻后向度量值和当前时刻后向度量值的关系,确定所有时刻的后向度量值,并输出至前向度量及后验信息计算单元。The direction metric calculation and storage unit uses reverse recursive estimation on the signal to be decoded and the a priori information to determine the backward metric value. For example, by presetting the initial value of the backward measurement value at the last moment, and combining the relationship between the backward measurement value at the previous moment and the backward measurement value at the current moment, the backward measurement value at all times can be determined and output to the forward measurement and A posteriori information calculation unit.
所述前向度量及后验信息计算单元,将待译码信号,上述先验信息,以及向度量计算及存储单元输出的后向度量值,进行正向递推估计,确定前向度量值和后验信息。比如可以通过预设时刻1的前向度量值的初始值,并结合后一时刻前向度量值和当前时刻后向度量值的关系,确定所有时刻的前向度量值,并输出所述后验信息至外信息及先验信息存储单元。The forward metric and a posteriori information calculation unit performs forward recursive estimation on the signal to be decoded, the above-mentioned prior information, and the backward metric value output to the metric calculation and storage unit, and determines the forward metric value and Posterior information. For example, by presetting the initial value of the forward metric value at time 1, and combining the relationship between the forward metric value at the next time and the backward metric value at the current time, the forward metric values at all times can be determined, and the posterior value can be output. Information to external information and a priori information storage unit.
前向度量及后验信息计算单元确定上述步骤正向递推估计的迭代次数达到最大值时,输出基于后验信息确定的译码结果。When the forward metric and a posteriori information calculation unit determines that the number of iterations of the forward recursive estimation in the above steps reaches the maximum value, it outputs a decoding result determined based on the posteriori information.
本发明提供的低码率双正交码译码的方法,通过两分支译码器,同时接收待译码信号,各分支译码器接收待译码信号以及另一译码器的后验信息,通过对不同码字的度量值进行叠加,确定先验信息以及后验信息,并采用反向递推和正向递推,分别确定对应的后向度量值和前向度量值,在达到最大迭代次数时,输出译码结果。降低双正交码译码器结构及实现方式的复杂度,易于在工程中应用。The method for decoding a low bit rate bi-orthogonal code provided by the present invention uses two branch decoders to simultaneously receive the signal to be decoded, and each branch decoder receives the signal to be decoded and the a posteriori information of another decoder. , by superimposing the metric values of different codewords to determine a priori information and a posteriori information, and using reverse recursion and forward recursion to determine the corresponding backward metric value and forward metric value, respectively, when the maximum iteration is reached When the number of times, the decoding result is output. The complexity of the bi-orthogonal code decoder structure and implementation is reduced, and it is easy to be applied in engineering.
可选的,所述外信息及先验信息存储单元基于后验信息以及存储的外信息,确定先验信息,包括:Optionally, the extrinsic information and a priori information storage unit determines the prior information based on the posterior information and the stored extrinsic information, including:
初始化所述外信息;initialize the foreign information;
基于所述外信息的初始值和交织后的后验信息,确定先验信息。The prior information is determined based on the initial value of the extrinsic information and the interleaved posterior information.
可选的,所述后向度量计算及存储单元基于待译码信号以及先验信息,进行反向递推估计,确定后向度量值,包括:Optionally, the backward metric calculation and storage unit performs reverse recursive estimation based on the signal to be decoded and the prior information, and determines the backward metric value, including:
基于分支译码器结束状态,初始化在最后时刻的后向度量值;所述分支译码器结束状态为零时,对应的后向度量值为零;所述分支译码器结束状态非零时,对应的后向度量值为负最大值;Based on the end state of the branch decoder, initialize the backward metric value at the last moment; when the end state of the branch decoder is zero, the corresponding backward metric value is zero; when the end state of the branch decoder is non-zero , the corresponding backward metric value is the negative maximum value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值。Based on the approximation algorithm, and the branch metric values, the corresponding backward metric values are determined by reverse recursion.
可选的,所述基于近似算法,以及所述分支度量值,反向递推确定对应的后向度量值,包括:Optionally, based on the approximation algorithm and the branch metric value, the corresponding backward metric value is determined by reverse recursion, including:
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号译码结果为零时达到状态S对应的第一分支度量值,以及在时刻t+1对应的第一后向度量值;Determine the first branch metric value corresponding to the state S when the specific branch decoder of the two branch decoders reaches the state S when the specific symbol decoding result is zero at any time t, and the first backward metric corresponding to time t+1 value;
基于所述第一分支度量值与所述第一后向度量值之和,确定第一度量值和;determining a first metric sum based on the sum of the first branch metric value and the first backward metric value;
确定两个分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第二分支度量值,以及在时刻t+1对应的第二后向度量值;It is determined that at any time t, the decoding result of the specific symbol of the specific branch decoder in the two branch decoders is the second branch metric value corresponding to the state S reached at one time, and the second backward metric corresponding to the time t+1 value;
基于所述第二分支度量值与所述第二后向度量值之和,确定第二度量值和;determining a second sum of metrics based on the sum of the second branch metric and the second backward metric;
基于近似算法,确定所述第一度量值和,与第二度量值和中最大者为在时刻t的后向度量值;Based on the approximation algorithm, determine the first metric value sum, and the largest of the second metric value sum and the second metric value sum is the backward metric value at time t;
对所述后向度量值进行归一化处理;normalizing the backward metric value;
基于在时刻t+1后向度量值的初始化值,反向递推更新所有时刻的后向度量值;Based on the initialization value of the backward metric value at time t+1, the backward recursive update of the backward metric value at all times is reversed;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述前向度量及后验信息计算单元基于待译码信号、所述先验信息、以及所述后向度量值,进行正向递推估计,确定前向度量值和后验信息,包括:Optionally, the forward metric and a posteriori information calculation unit performs forward recursive estimation based on the signal to be decoded, the prior information, and the backward metric value, and determines the forward metric value and a posteriori. information, including:
基于分支译码器初始状态,初始化前向度量值;Based on the initial state of the branch decoder, initialize the forward metric value;
基于分支度量值确定规则,确定每个时刻的分支度量值;Determine the rule based on the branch metric value, and determine the branch metric value at each moment;
基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值;Based on the approximation algorithm and the branch metric value, forward recursion determines the corresponding forward metric value;
基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的。A posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the state of the branch decoder and the biorthogonal code matrix.
可选的,所述基于近似算法,以及所述分支度量值,正向递推确定对应的前向度量值,包括:Optionally, the forward recursion determines the corresponding forward metric value based on the approximate algorithm and the branch metric value, including:
基于两分支译码器中特定分支译码器在任意时刻t,特定的符号的译码结果为零时达到状态S对应的第三分支度量值,以及在时刻t-1对应的第三前向度量值;Based on the specific branch decoder in the two-branch decoder, at any time t, the decoding result of the specific symbol reaches the third branch metric value corresponding to the state S when the decoding result of the specific symbol is zero, and the third forward direction corresponding to the time t-1 metric;
基于所述第三分支度量值与所述第三前向度量值之和,确定第三度量值和;determining a third sum of metrics based on the sum of the third branch metric and the third forward metric;
基于两分支译码器中特定分支译码器在任意时刻t,特定符号的译码结果为一时达到状态S对应的第四分支度量值,以及在时刻t-1的第四前向度量值;Based on the specific branch decoder in the two-branch decoder at any time t, the decoding result of the specific symbol is that the fourth branch metric value corresponding to the state S is reached at one time, and the fourth forward metric value at time t-1;
基于所述第四分支度量值与所述第四前向度量值之和,确定第四度量值和;determining a fourth sum of metrics based on the sum of the fourth branch metric and the fourth forward metric;
基于近似算法,确定所述第三度量值和,与第四度量值和中最大者为在时刻t的前向度量值;Based on an approximation algorithm, the third metric sum is determined, and the largest of the third metric sum and the fourth metric sum is the forward metric value at time t;
对所述前向度量值进行归一化处理;normalizing the forward metric value;
基于在时刻1状态S的前向度量值的初始化值,正向递推更新所有时刻的前向度量值;Based on the initialization value of the forward metric value of the state S at time 1, forward recursively update the forward metric value at all times;
其中,所述状态S是分支译码器的状态。Wherein, the state S is the state of the branch decoder.
可选的,所述分支度量值确定规则,包括:Optionally, the branch metric value determination rule includes:
基于双正交码矩阵、待译码信号和先验信息,确定双正交码变换度量值;Based on the bi-orthogonal code matrix, the signal to be decoded and the prior information, the bi-orthogonal code transformation metric is determined;
基于两分支译码器的不同状态,确定对应的分支度量值。Based on the different states of the two branch decoders, corresponding branch metrics are determined.
可选的,所述基于近似算法以及预设规则,确定后验信息;所述预设规则是基于分支译码器状态和双正交码矩阵确定的,包括:Optionally, the a posteriori information is determined based on an approximation algorithm and a preset rule; the preset rule is determined based on the branch decoder state and the biorthogonal code matrix, including:
基于第一集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第五度量值和;determining a fifth sum of metric values based on the sum of the biorthogonal code transform metric values at time t, the forward metric value at time t, and the backward metric value at time t+1 in the first set;
基于第二集合中在时刻t的双正交码变换度量值、在时刻t的前向度量值、以及在时刻t+1的后向度量值之和,确定第六度量值和;determining a sixth sum of metric values based on the sum of the biorthogonal code transform metric value at time t, the forward metric value at time t, and the backward metric value at time t+1 in the second set;
基于近似算法,确定所述第五度量值和的最大值,所述第六度量值和的最大值;Based on an approximation algorithm, determining the maximum value of the sum of the fifth metric values and the maximum value of the sum of the sixth metric values;
确定所述第五度量值和的最大值,与所述第六度量值和的最大值之差为时刻t第i个符号的后验信息;Determine the maximum value of the fifth metric value sum, and the difference with the maximum value of the sixth metric value sum is the posterior information of the ith symbol at time t;
所述第一集合的元素满足在时刻t第i个符号译码结果为零时,在双正交码矩阵中对应的取值为+1,所述第二集合的元素满足在时刻t第i个符号译码结果为1时,在双正交码矩阵中对应的取值为-1。The elements of the first set satisfy that when the decoding result of the i-th symbol at time t is zero, the corresponding value in the biorthogonal code matrix is +1, and the elements of the second set satisfy that the i-th symbol at time t is zero. When the decoding result of each symbol is 1, the corresponding value in the biorthogonal code matrix is -1.
可选的,所述前向度量及后验信息计算单元确定正向递推估计的次数达到预设的最大迭代次数时,输出待译码信号的译码结果,包括:Optionally, when the forward metric and a posteriori information calculation unit determines that the number of forward recursive estimation reaches a preset maximum number of iterations, it outputs a decoding result of the signal to be decoded, including:
若确定所述正向递推估计的次数达到预设的最大迭代次数,则基于后验信息的取值和判决函数,输出译码结果;If it is determined that the number of times of the forward recursive estimation reaches the preset maximum number of iterations, the decoding result is output based on the value of the posterior information and the decision function;
所述判决函数为当后验信息的值大于等于零时,输出译码结果为一;当后验信息的值小于零时,输出译码结果为零。The decision function is that when the value of the a posteriori information is greater than or equal to zero, the output decoding result is one; when the value of the a posteriori information is less than zero, the output decoding result is zero.
可选的,所述判决函数的公式为:Optionally, the formula of the decision function is:
其中,为时刻t时第i个符号的后验信息,为求符号运算,为时 刻t时第i个符号的译码结果。 in, is the posterior information of the ith symbol at time t, For symbolic operations, is the decoding result of the i-th symbol at time t.
可选的,所述外信息在外信息及先验信息存储单元中基于后验信息和先验信息,进行更新并存储。Optionally, the extrinsic information is updated and stored in the extrinsic information and a priori information storage unit based on the posterior information and the prior information.
可选的,所述前向度量及后验信息计算单元输出的后验信息经过交织单元处理,包括:Optionally, the posterior information output by the forward metric and posterior information calculation unit is processed by the interleaving unit, including:
基于后验信息和交织函数,确定交织后的后验信息,所述交织函数的公式为:Based on the posterior information and the interleaving function, the posterior information after interleaving is determined, and the formula of the interleaving function is:
; ;
其中,为时刻t时第i个符号的后验信息,为时刻t交织单元对应的交织 地址,为交织函数。具体的,为时刻t交织单元对应的交织地址表示一个集合,包括 在时刻t所有符号的交织单元对应的交织地址。 in, is the posterior information of the ith symbol at time t, is the interleaving address corresponding to the interleaving unit at time t, is the interleaving function. specific, The interleaving addresses corresponding to the interleaving units at time t represent a set, including the interleaving addresses corresponding to the interleaving units of all symbols at time t.
下面以具体的实施例进行说明:Described below with specific embodiments:
本发明提供的低码率双正交码译码的方法,包括如下步骤:The low code rate biorthogonal code decoding method provided by the present invention includes the following steps:
步骤一:初始化外信息存储单元,存储信息置零。接收另一译码器输出的后验信息,并计算先验信息。Step 1: Initialize the external information storage unit, and set the stored information to zero. A posteriori information output by another decoder is received, and a priori information is calculated.
初始化外信息存储单元,信息置零,Initialize the external information storage unit, set the information to zero,
其中,为外信息,为时间序号。为待译码信号的比特长度。上述外 信息表示一个集合,包括在时刻t所有符号对应的外信息的初始值。 in, for external information, is the time sequence number. is the bit length of the signal to be decoded. The above external information Represents a set, including the initial value of extrinsic information corresponding to all symbols at time t.
通过输入交织后的后验信息和存储的外信息计算先验信息,The prior information is calculated by inputting the interleaved posterior information and the stored extrinsic information,
其中,为输入的交织后的后验信息,为先验信息,为时间序 号。 in, is the a posteriori information after the input interleaving, for the prior information, is the time sequence number.
步骤二:后向度量计算单元读取外信息存储单元输出的先验信息,用信道信息与先验信息计算出后向度量值,并存入后向度量存储单元。Step 2: The backward metric calculation unit reads the a priori information output by the external information storage unit, calculates the backward metric value by using the channel information and the prior information, and stores it in the backward metric storage unit.
后向度量计算单元中先对后向度量值进行初始化。若分量译码器结束状态为零,则初始化方法如下:The backward metric value is initialized first in the backward metric calculation unit. If the component decoder end state is zero, the initialization method is as follows:
其中,为分支译码器的状态序号,为分支译码器缓存阶数, 为预设的最大值,是一个在合理位宽内的达到的最大值。具体可根据编码的码长确定,分支 译码器的每个状态序号对应分支译码器的状态。 in, is the state sequence number of the branch decoder, is the cache order for the branch decoder, is the preset maximum value, which is an attainable maximum value within a reasonable bit width. Specifically, it can be determined according to the code length of the encoding, and the sequence number of each state of the branch decoder The state of the corresponding branch decoder .
若分量译码器结束状态非零,则初始化方法如下:If the end state of the component decoder is non-zero, the initialization method is as follows:
计算双正交码变换度量值,Calculate the biorthogonal code transform metric,
其中,为在时刻t的双正交码变化度量值,为第列双正交码矩阵,为 待译码信号,为先验信息,为时间序号,表示变量和 变量之和的内积。in, is the biorthogonal code variation metric value at time t, for the first column biorthogonal code matrix, is the signal to be decoded, for the prior information, is the time sequence number, represents a variable and variable The inner product of the sum.
计算分支度量值的公式为:The formula for calculating branch metrics is:
其中,为时刻状态时的双正交码变换度量值,为时刻 状态时的分支度量值。从状态转变为状态,可能存在两种方式,在状态,某个 或某些符号的译码结果为0达到状态,或者在状态,某个或某些符号的译码结果为1达 到状态,即上述某个或者某些符号的译码结果为1的可能性最大;且状态对应的状态序 号为,状态对应的状态序号为。 in, for the moment state The biorthogonal code transform metric value when , for the moment state The branch metric value at . from the state transition to state , there may be two ways, in the state , the decoding result of one or some symbols is 0 to reach the state , or in the state , the decoding result of one or some symbols is 1 to reach the state , that is, the decoding result of one or some of the above symbols is most likely to be 1; and the state The corresponding state serial number is ,state The corresponding state serial number is .
对于,,更新后向度量计算值, for , , update the calculated value of the backward measure,
其中,为后向度量值时间序号。表示待译码信号中的某个或某 些符号在时刻t被译码为0,使得译码器的状态从转换到,同理,表示待译码 信号中的某个或某些符号在时刻t被译码为1,使得译码器的状态从转换到。分支译 码器状态对应的状态序号为,分支译码器状态对应的状态序号为,分支译码器 状态对应的状态序号为。分支译码器的每个状态和对应的状态序号一一对应。且每 个时刻t,分支译码器的状态包括多个,对应的状态序号也有多个。 in, is the time sequence number of the backward measure. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , similarly, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to . Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number. And at each time t, there are multiple states of the branch decoder, and there are multiple corresponding state numbers.
对后向度量值进行归一化处理,具体公式:,其中,为更新后的后向度量值。 Normalize the backward measurement value, the specific formula is: ,in, is the updated backward measure.
依次反向递推,更新后向度量值至。 Reverse recursion in turn, update the backward metric to .
输出并存储至后向度量计算及存储单元。 output and store To the backward metric calculation and storage unit.
步骤三:前向度量及外信息计算单元读取先验信息存储单元、后向度量存储单元的数据,通过信道信息、先验信息、后向度量值计算出前向度量值、后验信息和符号判决结果,将后验信息输出至交织单元。Step 3: The forward metric and extrinsic information calculation unit reads the data of the prior information storage unit and the backward metric storage unit, and calculates the forward metric value, a posteriori information and symbol through the channel information, the prior information, and the backward metric value As a result of the decision, a posteriori information is output to the interleaving unit.
前向度量及外信息计算单元中先进行初始化。前向度量值初始化方法如下:The forward metric and external information calculation unit is initialized first. The forward metric initialization method is as follows:
其中,为分支译码器的状态序号,为分量译码器缓存阶数, 为一个预设的最大值,是一个在合理位宽内的达到的最大值,具体可根据编码的码长确定。为时刻状态的前向度量值,状态对应的状态序号为。分支译码器的每个状态 序号对应分支译码器的一个状态。in, is the state sequence number of the branch decoder, is the cache order of the component decoder, is a preset maximum value, which is a maximum value reached within a reasonable bit width, which can be specifically determined according to the encoded code length. for state of the moment The forward measure of , the state The corresponding state serial number is . Each state number of the branch decoder corresponds to a state of the branch decoder.
计算双正交码变换度量值:Compute the biorthogonal code transform metric:
其中,为在时刻t的双正交码变化度量值,为第列双正交码矩阵,为 待译码信号,为先验信息,为时间序号,表示变量和 变量之和的内积。 in, is the biorthogonal code variation metric value at time t, for the first column biorthogonal code matrix, is the signal to be decoded, for the prior information, is the time sequence number, represents a variable and variable The inner product of the sum.
计算分支度量值的公式为:The formula for calculating branch metrics is:
其中,为时刻状态时的双正交码变换度量值,为时刻 状态时的分支度量值。从状态转变为状态,可能存在两种方式,在状态,某个 或某些符号的译码结果为0达到状态,即上述某个或者某些符号的译码结果为0的可能性 最大,或者在状态,某个或某些符号的译码结果为1达到状态,即上述某个或者某些符 号的译码结果为1的可能性最大;且状态对应的状态序号为,状态对应的状态序号为。 in, for the moment state The biorthogonal code transform metric value when , for the moment state The branch metric value at . from the state transition to state , there may be two ways, in the state , the decoding result of one or some symbols is 0 to reach the state , that is, the decoding result of the above-mentioned one or some symbols is most likely to be 0, or in the state of , the decoding result of one or some symbols is 1 to reach the state , that is, the decoding result of one or some of the above symbols is most likely to be 1; and the state The corresponding state serial number is ,state The corresponding state serial number is .
对于,,更新前向度量计算值, for , , update the calculated value of the forward metric,
其中,为时间序号。表示待译码信号中的某个或者某些符 号在时刻t被译码为0,使得译码器的状态从转换到,同理,表示待译码信号 中的某个或者某些符号在时刻t被译码为1,使得译码器的状态从转换到,其中,u代 表任意一个符号。分支译码器状态对应的状态序号为,分支译码器状态对应的状态 序号为,分支译码器状态对应的状态序号为。分支译码器的每个状态和对应的 状态序号一一对应。 in, is the time sequence number. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , similarly, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to , where u represents any symbol. Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number.
对前向度量计算值进行归一化处理,具体公式为:; The calculated value of the forward metric is normalized, and the specific formula is: ;
依次正向递推,更新前向度量值至。 Forward recursion in turn, update the forward metric to .
输出并存储至前向度量及后验信息计算
单元130。
output and store to the forward metric and a posteriori
确定前向度量值之后,前向度量及后验信息计算单元再次根据近似算法,确定后验信息。After the forward metric value is determined, the forward metric and a posteriori information calculation unit determines the posterior information again according to the approximation algorithm.
计算后验信息公式为:The formula for calculating the posterior information is:
其中,表示满足的状态且对应的前向度量值,后向度 量值以及双正交码变换度量值的集合,表示满足的状态且对应 的前向度量值,后向度量值以及双正交码变换度量值的集合,为时刻第个符号的 后验信息。表示待译码信号中的某个或者某些符号在时刻t被译码为0,使得译码 器的状态从转换到,且在双正交码矩阵中对应位的值为+1,同理,表 示待译码信号中的某个或者某些符号在时刻t被译码为1,使得译码器的状态从转换到,且在双正交矩阵码矩阵中对应位的值为-1,表示双正交码矩阵的第j列的第 i个符号对应的码字,其中,u代表任意一个符号。分支译码器状态对应的状态序号为,分 支译码器状态对应的状态序号为,分支译码器状态对应的状态序号为。分 支译码器的每个状态和对应的状态序号一一对应。 in, express satisfaction state and Corresponding forward metric value, backward metric value and set of biorthogonal code transform metric value, express satisfaction state and Corresponding forward metric value, backward metric value and set of biorthogonal code transform metric value, for the moment the first a posteriori information of the symbols. Indicates that one or some symbols in the signal to be decoded are decoded to 0 at time t, so that the state of the decoder changes from convert to , and the corresponding bits in the biorthogonal code matrix The value of is +1, in the same way, Indicates that one or some symbols in the signal to be decoded are decoded as 1 at time t, so that the state of the decoder changes from convert to , and the corresponding bits in the biorthogonal matrix code matrix is -1, Indicates the codeword corresponding to the i-th symbol in the j-th column of the biorthogonal code matrix, where u represents any symbol. Branch Decoder Status The corresponding state serial number is , the branch decoder state The corresponding state serial number is , the branch decoder state The corresponding state serial number is . Each state of the branch decoder has a one-to-one correspondence with the corresponding state number.
计算得到的后验信息输出至外信息存储单元和交织单元。The calculated posterior information is output to the extrinsic information storage unit and the interleaving unit.
根据判决函数,确定译码结果,判决函数的公式为:According to the decision function, the decoding result is determined. The formula of the decision function is:
其中,为时刻t时第i个符号的后验信息,为求符号运算,为时 刻t时第i个符号的译码结果。 in, is the posterior information of the ith symbol at time t, For symbolic operations, is the decoding result of the i-th symbol at time t.
步骤四:后验信息、先验信息输入外信息存储单元,更新外信息。Step 4: A posteriori information and a priori information are input into the external information storage unit, and the external information is updated.
后验信息、先验信息输入外信息存储单元,更新外信息并存储,具体公式为:The posterior information and prior information are input into the external information storage unit, and the external information is updated and stored. The specific formula is:
其中,为先验信息,为时刻t时第i个符号的后验信息,为存储的 外信息,为更新后的外信息,为时间序号。并且先验信息,存储的外 信息以及更新后的外信息均表示一个集合,对应不同的i值,均有集合中的一个 值与其对应。同样,先验信息也表示一个集合,对应不同的i值,均有集合中的一个值与 其对应。其中,i表示第i个符号。 in, for the prior information, is the posterior information of the ith symbol at time t, For stored foreign information, For updated external information, is the time sequence number. and prior information , the stored foreign information and updated external information Both represent a set, corresponding to different i values, and each has a value in the set corresponding to it. Likewise, prior information It also represents a set, corresponding to different i values, there is a value in the set corresponding to it. where i represents the ith symbol.
更新存储外信息。Update out-of-storage information.
步骤五:后验信息经过交织单元后,输出交织后的后验信息,输入另一译码器的外信息存储单元。Step 5: After the a posteriori information passes through the interleaving unit, the interleaving a posteriori information is output and input to the extrinsic information storage unit of another decoder.
前向度量及后验信息计算单元输出的后验信息进入交织单元,交织单元将后验信息交织后输出至外信息存储单元,对应的交织函数的公式为:The posterior information output by the forward metric and posterior information calculation unit enters the interleaving unit, and the interleaving unit interleaves the posterior information and outputs it to the external information storage unit. The formula of the corresponding interleaving function is:
; ;
其中,为时刻t时第i个符号的后验信息,为时刻t交织单元对应的交织 地址,为交织函数。具体的,为时刻t交织单元对应的交织地址表示一个集合,包括 在时刻t所有符号的交织单元对应的交织地址。 in, is the posterior information of the ith symbol at time t, is the interleaving address corresponding to the interleaving unit at time t, is the interleaving function. specific, The interleaving addresses corresponding to the interleaving units at time t represent a set, including the interleaving addresses corresponding to the interleaving units of all symbols at time t.
重复步骤二至步骤五,至迭代次数达到最大迭代次数后进行步骤六。Repeat steps 2 to 5 until the number of iterations reaches the maximum number of iterations, and then go to step 6.
步骤六:达到最大迭代次数后,前向度量及后验信息计算单元输出待译码信号的译码结果。Step 6: After reaching the maximum number of iterations, the forward metric and a posteriori information calculation unit outputs the decoding result of the signal to be decoded.
本发明提供的低码率双正交码译码的方法,通过两分支译码器,同时接收待译码信号,各分支译码器接收待译码信号以及另一译码器的后验信息,通过对不同码字的度量值进行叠加,确定先验信息以及后验信息,并采用反向递推和正向递推,分别确定对应的后向度量值和前向度量值,在达到最大迭代次数时,输出译码结果。降低双正交码译码器结构及实现方式的复杂度,易于在工程中应用。The method for decoding a low bit rate bi-orthogonal code provided by the present invention uses two branch decoders to simultaneously receive the signal to be decoded, and each branch decoder receives the signal to be decoded and the a posteriori information of another decoder. , by superimposing the metric values of different codewords to determine a priori information and a posteriori information, and using reverse recursion and forward recursion to determine the corresponding backward metric value and forward metric value, respectively, when the maximum iteration is reached When the number of times, the decoding result is output. The complexity of the bi-orthogonal code decoder structure and implementation is reduced, and it is easy to be applied in engineering.
本发明各实施例提供的方法和装置是基于同一发明构思的,由于方法和装置解决问题的原理相似,因此装置和方法的实施可以相互参见,重复之处不再赘述。The methods and apparatuses provided by the embodiments of the present invention are based on the same inventive concept. Since the methods and apparatuses have similar principles for solving problems, the implementations of the apparatuses and the methods can be referred to each other, and repeated descriptions will not be repeated.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (24)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210058717.6A CN114095042B (en) | 2022-01-19 | 2022-01-19 | Low-code rate biorthogonal code decoder and decoding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210058717.6A CN114095042B (en) | 2022-01-19 | 2022-01-19 | Low-code rate biorthogonal code decoder and decoding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114095042A CN114095042A (en) | 2022-02-25 |
| CN114095042B true CN114095042B (en) | 2022-04-05 |
Family
ID=80308559
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210058717.6A Active CN114095042B (en) | 2022-01-19 | 2022-01-19 | Low-code rate biorthogonal code decoder and decoding method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114095042B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6947500B1 (en) * | 1999-01-29 | 2005-09-20 | Northrop Grumman Corporation | Buffering and sequencing of soft decisions of multiple channels into a single shared biorthogonal decoder |
| CN107147401A (en) * | 2017-03-31 | 2017-09-08 | 西安电子科技大学 | Based on the interpretation method for simplifying dual binary turbo code metric |
| CN107196666A (en) * | 2017-04-12 | 2017-09-22 | 西安电子科技大学 | A kind of general Turbo coders fast verification method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB2529209B (en) * | 2014-08-13 | 2021-05-26 | Accelercomm Ltd | Detection circuit, receiver, communications device and method of detecting |
-
2022
- 2022-01-19 CN CN202210058717.6A patent/CN114095042B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6947500B1 (en) * | 1999-01-29 | 2005-09-20 | Northrop Grumman Corporation | Buffering and sequencing of soft decisions of multiple channels into a single shared biorthogonal decoder |
| CN107147401A (en) * | 2017-03-31 | 2017-09-08 | 西安电子科技大学 | Based on the interpretation method for simplifying dual binary turbo code metric |
| CN107196666A (en) * | 2017-04-12 | 2017-09-22 | 西安电子科技大学 | A kind of general Turbo coders fast verification method |
Non-Patent Citations (2)
| Title |
|---|
| "Practical Design and Decoding of Parallel Concatenated Structure for Systematic Polar Codes";Qingshuang Zhang等;《IEEE Transactions on Communications》;20151120;第64卷(第2期);456-466 * |
| "基于Turbo码的联合信源信道编译码方法研究";刘建军;《中国优秀博硕士学位论文全文数据库(博士) 信息科技辑》;20080915;I136-4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114095042A (en) | 2022-02-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3857320B2 (en) | Parallel connected tail biting convolution codes and decoders thereof | |
| JP4389373B2 (en) | Decoder for iterative decoding of binary cyclic code | |
| EP0907256B1 (en) | Apparatus for convolutional self-doubly orthogonal encoding and decoding | |
| WO2002037691A2 (en) | Stopping criteria for iterative decoding | |
| CN106992841B (en) | A Hard-Decision Iterative Decoding Method for Block Markov Superposition Coding | |
| CN114785357A (en) | A BPL Decoding Algorithm Based on CRC-LDPC-Polar Cascade System | |
| CN113890543A (en) | Decoding method of multi-system LDPC code based on multilayer perceptive neural network | |
| CN109787641B (en) | Method, device and storage medium for decoding sta-irecase code | |
| CN110730011B (en) | Recursive grouping Markov superposition coding method based on partial superposition | |
| CN119402017B (en) | A polar code soft-input soft-output decoding method, decoding device and communication equipment | |
| CN116783827A (en) | Ladder polar code encoding device and ladder polar code decoding device | |
| CN114095042B (en) | Low-code rate biorthogonal code decoder and decoding method | |
| CN101147327B (en) | Method and apparatus for metric computation of map decoding using fence's butterfly structure | |
| CN113556135A (en) | A Bit Flip Decoding Method for Polar Code Confidence Propagation Based on Frozen Flip List | |
| CN104410428B (en) | Multi-rate code encoding method for grouped Markov superposition coding based on time division | |
| CN114553370B (en) | Decoding method, decoder, electronic device and storage medium | |
| US7913153B2 (en) | Arithmetic circuit | |
| CN121308765B (en) | A soft-input soft-output decoding method and apparatus for SoSCL polar code decoders | |
| CN118054797B (en) | Coding and decoding method, device and equipment | |
| CN114567411B (en) | Decoding method, device, electronic equipment and storage medium | |
| TWI569584B (en) | Decoding methods using dynamic scaling factor | |
| CN103973319B (en) | All-integer turbo code iterative-decoding method and system | |
| Yoshida et al. | BP Decoding and SGRAND for Partially Permuted Factor Graphs of Polar Codes | |
| KR101218658B1 (en) | Encoing and decoding method using irregular repeat multiple state accumulate code | |
| CN119652327A (en) | A method for implementing tail-biting Turbo codes |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |























































































































































































































































































































