Exercise 4.4: Extrinsic L-values at SPC
We consider again the "single parity–check code". In such a SPC (n,n−1,2) the n bits of a code word x_ come from the k=n−1 bits from the source sequence u_ and only a single check bit p is added, such that the number of "ones" in the code word x_ is even:
- x_=(x1,x2,...,xn−1,xn)=(u1,u2,...,uk,p).
The extrinsic information about the ith code bit is formed over all other bits (j≠i). Therefore we write for the code word shorter by one bit:
- x_(−i)=(x1,...,xi−1,xi+1,...,xn).
The extrinsic L–value over the ith code symbol reads with the "Hamming weight" wH of the truncated sequence x_(−i):
- LE(i)=Pr[wH(x_(−i))iseven|y_]Pr[wH(x_(−i))isodd|y_].
- If the probability in the numerator is greater than that in the denominator, then LE(i)>0 and thus the a-posteriori L–value LAPP(i)=LA(i)+LE(i) magnified, that is tends to be affected in the direction of the symbol xi=0.
- If LE(i)<0 then there is much to be said for xi=1 from the point of view of the other symbols (j≠i).
Only the SPC (4, 3, 4) is treated, where for the probabilities pi=Pr(xi=1) holds:
- p1=0.2,p2=0.9,p3=0.3,p4=0.6.
From this the a-priori log likelihood ratios result to:
- LA(i)=ln[Pr(xi=0)Pr(xi=1)]=ln[1−pipi].
Hints:
- This exercise belongs to the chapter "Soft–in Soft–out Decoder".
- Reference is made in particular to the section "Calculation of the extrinsic log likelihood ratios".
- In the table are given for pi=0 to pi=1 with step size 0.1 (column 1):
- In column 2: the probability qi=Pr(xi=0)=1−pi,
- in column 3: the values for 1−2pi,
- in column 4: the a-priori log likelihood ratios Li=ln[(1−pi)/pi]=LA(i).
- The "hyperbolic tangent" (tanh) of Li/2 is identical to 1−2pi ⇒ column 3.
- In Exercise 4.4Z it is shown that for the extrinsic L–value can also be written:
- LE(i)=ln1+π1−π,mitπ=n∏j≠i(1−2pj).
Questions
Solution
- LA(i=1) = ln[1−p1p1]=ln4=+1.386_,
- LA(i=2) = ln[1−p2p2]=ln1/9=−2.197_.
- The values can be read from the fourth column of the table attached to the information page.
(2) To calculate the extrinsic L–value over the ith bit, only the information about the other three bits (j≠i) may be used. With the given equation holds:
- LE(i=1)=ln1+∏j≠1(1−2pj)1−∏j≠1(1−2pj).
- For the product, we obtain according to the third column of the table:
- ∏j=2,3,4(1−2pj)=(−0.8)⋅(+0.4)⋅(−0.2)=0.064⇒LE(i=1)=ln1+0.0641−0.064=ln(1.137)=+0.128_.
- In terms of bit 2, one obtains accordingly:
- ∏j=1,3,4(1−2pj)=(+0.6)⋅(+0.4)⋅(−0.2)=−0.048⇒LE(i=2)=ln1−0.0481+0.048=ln(0.908)=−0.096_.
(3) For the a-priori L– value holds:
- Lj=LA(j)=ln[Pr(xj=0)Pr(xj=1)]=ln[1−pjpj]⇒1−pj=pj⋅eLj⇒pj=11+eLj.
- Thus also applies:
- 1−2⋅pj=1−21+eLj=1+eLj−21+eLj=eLj−1eLj+1.
- Multiplying the numerator and denominator by e−Lj/2, we get:
- 1−2⋅pj=eLj/2−e−Lj/2eLj/2+e−Lj/2=tanh(Lj/2).
- Thus all proposed solutions are correct.
- The function "hyperbolic tangent" can be found, for example, in tabular form in formula collections or in the last column of the table given in front.
(4) We first calculate LE(i=3) in the same way as in subtask (2):
- ∏j=1,2,4(1−2pj)=(+0.6)⋅(−0.8)⋅(−0.2)=+0.096⇒LE(i=3)=ln1+0.0961−0.096=ln(1.212)=+0.193_.
- We calculate the extrinsic L–value with respect to the last bit according to the equation
- LE(i=4)=ln1+π1−π,withπ=tanh(L1/2)⋅tanh(L2/2)⋅tanh(L3/2).
- This results in accordance with the above table:
- p1=0.2⇒L1=+1.386⇒L1/2=+0.693⇒tanh(L1/2)=e+0.693−e−0.693e+0.693+e−0.693=0.6⇒identischmit1−2⋅p1,
- p2=0.9⇒L2=−2.197⇒L2/2=−1.099⇒tanh(L2/2)=e−1.099−e+1.099e−1.099+e+1.099=−0.8⇒identischmit1−2⋅p2,
- p3=0.3⇒L3=0.847⇒L3/2=+0.419⇒tanh(L3/2)=e+0.419−e−0.419e+0.419+e−0.419=0.4⇒identischmit1−2⋅p3.
- The final result is thus:
- π=(+0.6)⋅(−0.8)⋅(+0.4)=−0.192⇒LE(i=4)=ln1−0.1921+0.192=−0.389_.