You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

The is a powerful decoding method for . It uses forward and backward recursions to calculate probabilities of states and transitions in a , enabling accurate soft-decision decoding of received sequences.

This algorithm plays a crucial role in turbo codes and iterative decoding. By computing log-likelihood ratios for each bit, it provides soft information that can be used in iterative decoding schemes, improving overall error correction performance.

Recursion and Metrics

Forward and Backward Recursion

Top images from around the web for Forward and Backward Recursion
Top images from around the web for Forward and Backward Recursion
  • calculates the probability of reaching each state in the trellis at time kk based on the probabilities of the states at time k1k-1 and the branch metrics connecting them
  • Denoted as αk(s)\alpha_k(s), where ss is the state at time kk
  • calculates the probability of reaching each state in the trellis at time kk based on the probabilities of the states at time k+1k+1 and the branch metrics connecting them
  • Denoted as βk(s)\beta_k(s), where ss is the state at time kk
  • Recursions are initialized with known probabilities at the start and end states of the trellis (α0(s0)=1\alpha_0(s_0) = 1, βN(sN)=1\beta_N(s_N) = 1)

Branch and State Metrics

  • Branch metrics represent the probability of transitioning from one state to another along a specific branch in the trellis
  • Calculated using the channel output and the expected output for each possible (Hamming distance or Euclidean distance)
  • State metrics combine the branch metrics and the probabilities from the forward and backward recursions to determine the likelihood of being in a particular state at time kk
  • Denoted as γk(s,s)=p(yk,sk=ssk1=s)\gamma_k(s',s) = p(y_k, s_k=s | s_{k-1}=s'), where ss' is the previous state and ss is the current state

Probabilities and Ratios

A Posteriori Probabilities (APP)

  • APP represents the probability of a particular bit being 0 or 1 given the entire received sequence
  • Calculated by summing the state metrics for all states at time kk where the bit is 0 or 1
  • APP(uk=0)=(s,s):uk=0αk1(s)γk(s,s)βk(s)APP(u_k=0) = \sum_{(s',s):u_k=0} \alpha_{k-1}(s') \gamma_k(s',s) \beta_k(s)
  • APP(uk=1)=(s,s):uk=1αk1(s)γk(s,s)βk(s)APP(u_k=1) = \sum_{(s',s):u_k=1} \alpha_{k-1}(s') \gamma_k(s',s) \beta_k(s)

Log-Likelihood Ratios (LLRs) and Max-Log-MAP Approximation

  • LLRs represent the logarithm of the ratio of the APP for a bit being 1 to the APP for a bit being 0
  • LLR(uk)=logAPP(uk=1)APP(uk=0)LLR(u_k) = \log \frac{APP(u_k=1)}{APP(u_k=0)}
  • Max-log-MAP approximation simplifies the LLR calculation by using the maximum state metrics instead of summing over all states
  • LLR(uk)max(s,s):uk=1(αk1(s)+γk(s,s)+βk(s))max(s,s):uk=0(αk1(s)+γk(s,s)+βk(s))LLR(u_k) \approx \max_{(s',s):u_k=1} (\alpha_{k-1}(s') + \gamma_k(s',s) + \beta_k(s)) - \max_{(s',s):u_k=0} (\alpha_{k-1}(s') + \gamma_k(s',s) + \beta_k(s))
  • Reduces at the cost of some performance loss

Trellis Representation

Trellis Diagram

  • Trellis diagram is a graphical representation of the encoding process and the possible state transitions
  • Each node represents a state at a specific time step, and each branch represents a possible transition between states
  • Input bits determine the path through the trellis (upper branch for 0, lower branch for 1)
  • Output bits are associated with each branch, determined by the generator polynomials of the convolutional code
  • Trellis structure depends on the encoder's memory and generator polynomials (rate 1/2 encoder with memory 2 has 4 states and 8 branches per time step)
  • BCJR algorithm operates on the trellis to calculate forward and backward recursions, branch metrics, and state metrics for decoding
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary