低密度奇偶檢查碼

低密度奇偶檢查碼(Low-density parity-check code,LDPC code),是線性分組碼(linear block code)的一種,用於更正傳輸過程中發生錯誤的編碼方式。

歷史

在1962年,低密度奇偶檢查碼(LDPC code)即被羅伯特·加拉格提出[1],並被證明其錯誤校正能力非常接近理論最大值,香農極限(Shannon Limit);不過受限於當時技術,低密度奇偶檢查碼並無法實作。最近幾年,低密度奇偶檢查碼被重新發現[2],並隨著積體電路的技術演進,低密度奇偶檢查碼的實作逐漸可行,而成為各種先進通訊系統的頻道編碼標準。

運作

低密度奇偶檢查碼是基於具有稀疏矩陣性質的奇偶檢驗矩陣建構而成。對(n, k)的低密度奇偶檢查碼而言,每k位元資料會使用n位元的碼字(codeword)編碼。以下是一個被(16, 8)的低密度奇偶檢查碼使用的奇偶檢驗矩陣H。當中可以見得矩陣內的元素1數量遠少於元素0數量,所以具有稀疏矩陣性質,也就是低密度的由來。

解碼

低密度奇偶檢查碼的解碼,可對應成二分圖(bipartite graph)作表示。下方的二分圖是依照上述奇偶檢驗矩陣H建置,其中H的行(row)對應至check node,而H的列(column)對應至bit nodecheck nodebit node之間的連線,由H內的元素1決定;好比H中第一行(row)和第一列(column)的元素1,使check nodebit node兩者各自最左手邊的第一個彼此連接。


低密度奇偶檢查碼的解碼演算法,主要基於有疊代性(iterative)的置信傳播(belief propagation);整個解碼流程如下方所示:

  1. 當接收資料R從通訊頻道(channel)進入低密度奇偶檢查碼的解碼器,解碼器會對訊息作初始化(initialization)。
  2. check node根據互相連接的多個bit node內的資料做更新運算(update)。
  3. bit node對相連接的多個check node內的資料做更新運算。
  4. 觀察終止(termination)條件,來決定是否繼續疊代計算。

詳細的解碼演算法,常見有兩種:總和-乘積演算法(Sum-Product Algorithm)[3][4]最小值-總和演算法(Min-Sum Algorithm)[5][6]總和-乘積演算法具有較佳的錯誤更正能力,卻具較高的計算複雜度;反之,最小值-總和演算法在稍微減低的錯誤更正能力下,換取較低的計算複雜度。

總和-乘積演算法

假設在一通訊系統的頻道有AWGN屬性,而傳送訊號為,接收訊號是bit noden個,check nodem個。而總和-乘積演算法在解碼流程如下:

  • 初始化:假設AWGN方差(variance)是
    • bit node n會被初始化成:
    • check node m會被初始化成:
  • check node更新:
    • check node m更新為:
其中是連接到check node mbit node組合,但不包含第nbit node
  • bit node更新:
    • bit node n更新為:
其中是連接到bit node ncheck node組合,但不包含第mcheck node
  • 終止:
    • 解碼位元計算:假設解碼後訊號為Hard-decision解碼位元可由下列兩式求出:
    • 只要解碼後的碼字在恆等式成立,即終止疊代計算。

最小值-總和演算法

最小值-總和演算,大抵上和總和-乘積演算法類似,除了於「check node更新」做不一樣的計算方式。而改變的計算式如下:

參考文獻

  1. R. Gallager, “Low-Density Parity-Check Codes,” IRE Trans. Inf. Theory, vol. 7, pp. 21–28, Jan. 1962.
  2. David J.C. MacKay and Radford M. Neal, "Near Shannon Limit Performance of Low Density Parity Check Codes," Electronics Letters, July 1996
  3. R. M. Tanner, “A Recursive Approach to Low Complexity Codes,” IEEE Trans. Inform. Theory, Vol. IT-27, no. 5, pp. 399–431, Sep. 1981.
  4. F. R. Kschischang, B. J. Frey and H. A. Loeliger, “Factor Graphs and the Sum-Product Algorithm,” IEEE Trans. Info. Theory, Vol. 47, pp. 498–519, Feb. 2001.
  5. M. P. C. Fossorier, M. Mihaljevic, and H. Imai, “Reduced Complexity Iterative Decoding of Low-density Parity Check Codes Based on Belief Propagation,” IEEE Trans. Commun., vol. 47, no. 5, pp. 673–680, May, 1999.
  6. J. Chen, A. Dholakia, E. Eleftheriou, M. P. C. Fossorier, and X. Y. Hu, “Reduced-complexity Decoding of LDPC Codes,” IEEE Trans. Commun., vol. 53, no. 8, pp. 1288–1299, Aug. 2005.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.