This application claims the benefit of priority to Taiwan Patent Application No. 110121280, filed on Jun. 11, 2021. The entire content of the above identified application is incorporated herein by reference.
Some references, which may include patents, patent applications and various publications, may be cited and discussed in the description of this disclosure. The citation and/or discussion of such references is provided merely to clarify the description of the present disclosure and is not an admission that any such reference is “prior art” to the disclosure described herein. All references cited and discussed in this specification are incorporated herein by reference in their entireties and to the same extent as if each reference was individually incorporated by reference.
The present disclosure relates to a decoding technology, and more particularly to a decoding method that adjusts parameters of an algorithm in a decoder based on weights for performance enhancement and a decoding system.
A low density parity check code (LDPC code) is an error correcting code used to correct an error occurred during a signal transmission process, which allows the signal transmission to be very close to a theoretical maximum performance (the Shannon limit). The Shannon limit refers to a maximum transmission rate under a specified noise standard. Therefore, the LDPC code has currently become the most popular error correcting code. The low density parity check code can be used in various systems that require decoding and encoding operations. A system that uses the low density parity check code can be, for example, an IEEE802.11n standard wireless local area network, a satellite television system, and an IEEE802.3an standard system with 10 Gbps Ethernet communication over unshielded twisted pair.
The best decoding performance of the low density parity check code is a soft decoding process that uses the belief propagation (BP) recursion (which can be a sum-product (SP) algorithm). Since hardware complexity of the conventional sum-product algorithm is too high, a simplified version of the sum-product algorithm (such as a min-sum (MS) algorithm) has been developed. However, even though the hardware complexity of the min-sum algorithm can be greatly reduced, a serious problem of performance degradation also occurs. Accordingly, based on the min-sum algorithm, a normalized min-sum (NMS) algorithm and an offset min-sum (OMS) algorithm that improve the problem of performance degradation have been developed. The NMS algorithm and the OMS algorithm currently have attracted much attention given that these algorithms preserve the performance of the above-mentioned sum-product algorithm with only a small increase in hardware complexity.
While both of the normalized min-sum algorithm and the offset min-sum algorithm can provide a decoder framework with lower complexity, the min-sum algorithm is still required to perform searching of a first minimum (min1) and a second minimum (min2) while performing a check node update. The complexity of the normalized min-sum algorithm and the offset min-sum algorithm depends on a check node degree that is generally based on a number of variable nodes covered by a check equation.
Taking a 10 Gbps Ethernet network system as an example, the check node degree of a LDPC decoder framework is 32. That is, every time the check node update is performed, these 32 variable nodes are required to obtain the first minimum (min1) and the second minimum (min2). This calculation limits a clock rate, a latency, a hardware area, an iteration number, and performance of the decoder.
To a processor, the loading of searching for the first minimum is relatively lower than that of searching for the second minimum since a sorting process is required when searching for the second minimum. Further, the greater the number of the variable nodes is, the greater a calculation amount is. Therefore, to reduce the loading of searching for the second minimum, a single-min algorithm (SMA) has been developed. The framework of the single-min algorithm is to modify the behavior of the check node update in the min-sum algorithm. The single-min algorithm is to search only for the first minimum, but not for the second minimum. The single-min algorithm estimates the second minimum instead. In other words, after the second minimum is estimated, an estimated second minimum (min2est) is obtained. The estimated second minimum is, for example, a scrambling second minimum.
When the estimated second minimum (min2est) is appropriately calculated, an error floor of the low density parity check code can be mitigated. The error floor refers to a phenomenon in which a falling trend of an error rate of the low density parity check code (LDPC code) is slowed down due to a trapping set or an absorbing set if the error rate of the LDPC code is low enough. For example, in the IEEE802.3an standard system, the error rate usually occurs around BER=10−10 and FER=10−8. The mitigated error floor has a bad effect on the system However, when noises are appropriately added to the single-min algorithm, opportunities to escape the trapping set are increased for the LDPC code, such that the single-min algorithm is capable of reducing the effect of the error floor.
The present disclosure is related to a decoding method adopting an algorithm with weight-based adjusted parameters and a decoding system. In addition to having the advantage of providing a conventional single-min algorithm with improved decoding performance, the decoding method uses a modified single-min-sum algorithm (modified SMAMSA) that modifies two-dimensional variables of the single-min-sum algorithm to three-dimensional variables by adjusting weights. The modified SMAMSA is able to increase a range of use and cooperate with more modulation methods, so as to acquire a wider range of fixed points of a decoder.
In an aspect of the present disclosure, the decoding method adopting an algorithm with weight-based adjusted parameters is applied to a decoder. Input signals form M×N low density parity check codes (LDPC codes). The LDPC codes include multiple (N) variable nodes and multiple (M) check nodes. In the decoding method, information of the variable nodes and the check nodes is initialized, and the information that the variable nodes provide to the check nodes is formed after multiple iterations. After excluding the connection to be calculated, a sum of the remaining connections among the variable nodes and the check nodes is calculated. The information of each of the variable nodes can be updated according to the information of the check nodes connected thereto. Further, the information that each check node provides to the variable nodes is formed after multiple iterations. After excluding the connection to be calculated, a product of the remaining connections among the variable nodes and the check nodes is calculated. The information of each of the check nodes can be updated according to the information of the variable nodes connected thereto. Afterwards, a dot product is calculated according to an estimated first minimum or an estimated second minimum. The dot product can be used to obtain the information that the check nodes provide to the variable nodes for making a decision.
In the process of obtaining the estimated first minimum and the estimated second minimum, a minimum of the updated variable nodes is searched for acquiring a first minimum. Data accompanied with the first minimum can be used to obtain a false second minimum. A first parameter (α) is multiplied by the first minimum for obtaining the estimated first minimum. A second parameter (β) is multiplied by the first minimum, and is added with a result of a third parameter (γ) multiplied by the false second minimum for acquiring the estimated second minimum.
The first parameter (α), the second parameter (β) and the third parameter (γ) satisfy a relational expression: (β+γ)≥α. A related equation is shown below, in which “N” denotes number of the variable nodes; “M” denotes number of the check nodes; “n” denotes a number of the variable node; “m” denotes a number of the check node; “cm,n(i)” denotes information that the m-numbered check node sends to the n-numbered variable node; “n′” denotes a number of the remaining variable node(s) with exclusion of the connection to be calculated; “vn′,m(i)” denotes information that the n′-numbered variable node(s) sends to the m-numbered check node after excluding the connection to be calculated, i.e., v2c information; a sign function “sign( )” is used to return the value “0”, “1” or “−1” according to the value “0”, “a positive number” or “a negative number” in the sign function; “min1” is a first minimum;
a function used to acquire a minimum; “min1est” is an estimated first minimum; “min2est” is an estimated second minimum; and “min2′″” denotes a false second minimum.
Preferably, the estimated first minimum or the estimated second minimum is determined according to a determination of whether or not the number of the variable node in the information that one of the check nodes provides to the variable is the position of the information that the smallest variable node provides to the check node.
Further, the intrinsic information of the variable node is summed up with the information that the check node provides to the multiple variable nodes and is updated via a connection between the check node and the other variable nodes so as to obtain the information of the variable node for making the decision.
These and other aspects of the present disclosure will become apparent from the following description of the embodiment taken in conjunction with the following drawings and their captions, although variations and modifications therein may be affected without departing from the spirit and scope of the novel concepts of the disclosure.
The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a”, “an”, and “the” includes plural reference, and the meaning of “in” includes “in” and “on”. Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first”, “second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
The present disclosure is related to a decoding method adopting an algorithm with weight-based adjusted parameters and a decoding system. A modified single-min-sum algorithm (hereinafter referred to as “modified SMAMSA”) is provided. To improve performance of calculation, compared with conventional algorithms, the modified SMAMSA adopts variables with more dimensions. Furthermore, for the modified SMAMSA, the range of application is expanded, and lower error rates, reduced complexity of hardware, and efficient power consumption can also be achieved.
Reference is made to
The decoding system includes a decoder disposed at the receiving end. The decoder receives signals via an input circuit 101. The signals are, for example, communication signals. After initializing the communication signals, the signals are inputted to a log-likelihood ratio operator 103, and the LLR operator 103 provides a log-likelihood ratio. Therefore, the decoding system can achieve a lower error rate and higher performance. Furthermore, a decode scaling can be used to control the log-likelihood ratio (LLR), so as to provide a correct log-likelihood ratio to a low density parity checker (LDPC) 105. In a decoding process, multiple updates and iterations can be performed according to connection relationships among check nodes and variable nodes. Lastly, the content of the signals can be verified based on a probability, and the decoded signals are outputted via an output circuit 107.
To explain the technical features of the decoding method adopting an algorithm with weight-based adjusted parameters and the decoding system according to certain embodiments of the present disclosure, the differences between the conventional single minimum algorithm and the min-sum algorithm will be described. An exemplary decoding process of the min-sum algorithm is as follows.
According to the various algorithms provided in different phases in the present disclosure (such as the modified SMAMSA), the algorithms can be applied to a decoder. In the min-sum algorithm, M×N low density parity check codes including N variable nodes and M check nodes are provided. It should be noted that the complexity of computation can be determined according to a degree of the check nodes, or a quantity of the variable nodes included in a check equation. Reference is made to
In
In the decoding equation with the low density parity check codes, “n” denotes a number of the variable node, “m” denotes a number of the check node, “Nm” denotes all of the variable nodes (N) 21 that participate in the current (mth) check equation, and “M” denotes all of the check equations of the check nodes (M) 22 that participate in the current (nth) variable node.
The calculation steps of the min-sum algorithm are described as follows.
In an initialization stage, the intrinsic information is one-by-one written into the multiple variable nodes. For the check nodes, “i=0” denotes an initial state before an iteration (a 0th iteration) is performed. In equation 1, “cm,n(i=0)” is 0, which indicates that an initial state of the check node is 0. A symbol “∀” means any one, “∈” means belonging, and “∀n∈Nm” denotes any “n” belonging to “Nm.”
c
m,n
(i=0)=0,∀m∈{1, . . . M},∀n∈Nm. Equation 1:
First step is to update the information of the variable node. In equation 2, the information (i.e., v2c information) that the variable node provides to the check node is updated, in which “N” is a quantity of the variable nodes, “M” is a quantity of the check nodes, “n” is a number of the variable node, and “m” is a number of the check node.
For n∈{1, . . . N} and m∈Mn;
v
n,m
(i)
=I
n+Σm′∈M
After the kth iteration, “vn,m(i=k)” forms information that the variable node provides to the mth check node. After excluding the connection to be calculated, a sum of the remaining connections among the variable nodes and the check nodes is calculated. The remaining connections are the variable nodes that participate in the mth check equation. Reference is made to
Second step is to update information of the check node. In equation 3, the c2v information 201 that the mth check node 221 provides to the nth variable node 211 is updated. A sign function “sign( )” returns 0, 1 or −1 based on the value of the function is 0, a positive number or a negative number.
In the kth iteration, “cm,n(i=k)”, forms information that the check node provides to the variable node. After excluding the connection to be calculated, a product among the remaining connections between the variable nodes and the check nodes is calculated. A minimum is obtained. Reference is made to
In a decision stage, the information obtained in the above steps can be summed up for making a final decision. For example, a hard decision algorithm is used to decode firstly. Each input signal and each output signal can be expressed as 1 or 0. In equation 4, the intrinsic information (In) of the variable node and the updated information that the check node provides to multiple variable nodes based on the connections between the check node and the other variable nodes are summed up as (Σm′∈M
In a next step, rather than the second step in the above initialization stage, a single-min algorithm min-sum algorithm (SMAMSA) is used in the initialization stage. The check node is updated as in equation 5.
In equation 5, the check node is updated. That is, the c2v information is updated. There are N variable nodes and M check nodes, in which “n” denotes a number of the variable node and “m” denotes a number of the check node.
“cm,n(i)” denotes the information that the check node provides to the variable node. “cm,n(i)” in the SMAMSA is used to confirm an estimated first minimum (min1est) or an estimated second minimum (min2est). The estimated first minimum (min1est) is used if the number (“n”) of the variable node in “cm,n(i)” is not at a position of the minimum v2c information that the variable node provides to the check node; otherwise, the estimated second minimum (min2est) is used. Accordingly, a dot product is performed between the estimated second minimum (min1est) or the estimated second minimum (min2est) and the updated variable node for updating information (cm,n(i)) of the check node. “α” and “γ” are operational parameters in the equation for obtaining the estimated first minimum or the estimated second minimum.
In the above-mentioned single-min algorithm, in order to estimate the second minimum (min2, i.e., the second smallest value), the second minimum (min2, i.e., the second smallest value) originally used in the min-sum algorithm (MS) is substituted by the estimated second minimum (min2est). The estimated second minimum is obtained from a false second minimum (min2′″) that can be obtained when searching for the first minimum (min1).
Any of the circuits depicted in
In
For example, when the check node degree is 16, a first degree of the 16 input signals is the v2c information that the nth variable node (no. n) provides to the mth check node (no. m). The v2c information can be expressed by “vn,m(i).” Afterwards, the first minimum (min1) is obtained, and the false second minimum (min2′″) can be obtained from data accompanied with the first minimum. The false second minimum (min2′″) can be the actual second minimum plus noises, i.e., the scrambled second minimum.
The decoding method and the decoding system of the present disclosure have improved the conventional SMAMSA, and an equation 6 for the estimated second minimum is provided. The equation 6 implements a modified SMAMSA (referred to as M-SMAMSA).
In equation 6, a function
is used to obtain a minimum.
is used to obtain a minimum of “vn′,m(i)” (that is, the information that the variable node provides to the check node with exclusion of the connection to be calculated). The estimated first minimum and the estimated second minimum can be obtained. Based on the information (vn′,m(i)) and with exclusion of the connection to be calculated, a product among the other connections (n′) between the variable nodes and the check nodes is calculated. It should be noted that the equation 6 estimates the information of a node based on the adjacent connections. After a dot product between the information and the estimated first minimum or the estimated second minimum is calculated, the information (cm,n(i)) that the check node provides to the variable node can be obtained.
Compared to the conventional SMAMSA, the estimated first minimum (min1est) obtained from the modified SMAMSA of equation 6 is consistent with the first minimum obtained in equation 5 before the modification. “α”, “γ” and “β” are weights in the equation 6. When the modified SMAMSA is used to estimate the estimated second minimum (min2est), the first minimum (min1) is multiplied by “α” (a first parameter), the false second minimum (min2′″) is multiplied by “γ” (a third parameter), and the first minimum (min1) is multiplied by “β (a second parameter).
Accordingly, the modified SMAMSA changes dimensions for generating the estimated second minimum (min2est). For example, two dimensions in the original SMAMSA (e.g., in equation 5) are changed to three dimensions (e.g., in equation 6). Therefore, the modified SMAMSA is able to increase a range of use, so as to cooperate with more modulations and have a wider range of fixed points of the decoder. In the present disclosure, the modified SMAMSA is also required to comply with the following rules when adding the parameters “α”, “β” and “γ” to the equation 6.
min2est≥min1est.
min2′″≥min1.
Accordingly, the minimum of min2′″ is equal to min1. In addition, if min2′″=min1 and “min2est” is at lower bound, a relationship: min2est=(β+γ)·min1≥min1est=α·min1 can be derived. Therefore, the parameters “α”, “β” and “γ” comply with a relationship of “(β+γ)≥α”.
Reference is made to
In
In equation 6, in compliance with the relationship of (β+γ)≥α, the first minimum is multiplied by a first parameter (α) for obtaining an estimated first minimum (min1est) (step S107). An estimated second minimum (min2est) is obtained by the first minimum being multiplied by a second parameter (β) plus the false second minimum being multiplied by a third parameter (γ) (step S109). In the meantime, based on the information that the variable nodes provide to the check nodes, after excluding the connection to be calculated, a sum of the remaining connections is calculated for determining a value 0 or 1 (vn′,m(i)) (step S111). Afterwards, whether or not the value “n” (a number of the variable node) of “cm,n(i)” is at the connection with the minimum (vn,m(i)) that the nth variable node provides to mth check node is determined, so as to determine if the estimated first minimum (min1est) is to be used. On the contrary, the estimated second minimum (min2est) is used if the value “n” of “cm,n(i)” is not at the connection with the minimum (vn,m(i)) that the nth variable node provides to mth check node. The result (0 or 1) in step S111 is used to perform a dot product, so as to obtain the information (cm,n(i)) that the check nodes provide to the variable nodes (step S113).
Furthermore, in the decoding method, a pre-processing process can be performed before the signals are inputted to the decoder. In the pre-processing process, in view of hardware limitation, a decode-scaling method can be performed to adjust the signals, such that the decoder is able to identify the features of the signals. Decode scaling can be determined by comparing a noise-power ratio with a threshold set by the decoding system. The decode-scaling method can improve a bandwidth limitation caused by the fixed points of the decoder, thereby solving a problem of reduced performance due to the bandwidth limitation.
For example, for the LLR entering the LDPC decoder, the decode-scaling method is used to adjust a weight of the LLR inputted to the decoder since the information of an inverse of noise power (1/σ2) is required by the decoder when performing an LLR calculation. It should be noted that the inverse of noise power (1/σ2) provides information of a signal-noise ratio (SNR), and the inverse of noise power (1/σ2) can be used to adjust the strength of signals in each channel. Therefore, a correct LLR is provided to the decoder.
In a practical application, the signal-noise ratio operated in the decoding system may cross an 8-9 dB interval, such that a dynamic range of the inverse of noise power required when the LLR is inputted to the LDPC decoder falls in a range of 2 to 8. To completely cover the whole dynamic range, the fixed points of the decoder should increase a bit width for maintaining the performance of the decoder. However, the additional bit width may increase hardware area and power consumption. Accordingly, the decode-scaling method for the LLR is provided for suppressing changes such as the bit width of the fixed points.
In summation, according to the above embodiments of the decoding method adopting an algorithm with weight-based adjusted parameters and the decoding system, the modified SMAMSA that is a new single-sum framework with a layered decoding technology is provided. Compared with the conventional algorithms, the modified SMAMSA provides variables with more dimensions, and the range of application is expanded. Better performance than the conventional NMS is also provided. Further, the modified SMAMSA provides a lower error rate when the single minimum is used with the scrambled second minimum. Since only the first minimum is searched for, the modified SMAMSA can reduce hardware complexity and power consumption. At an input signal end, the decoding method uses various decode-scaling methods for different signal-noise ratios, and therefore provides optimized performance since the hardware area is reduced for the reduced bit width.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.
Number | Date | Country | Kind |
---|---|---|---|
110121280 | Jun 2021 | TW | national |