JP3595271B2 - Error correction decoding method and apparatus - Google Patents

Error correction decoding method and apparatus Download PDF

Info

Publication number
JP3595271B2
JP3595271B2 JP2001060413A JP2001060413A JP3595271B2 JP 3595271 B2 JP3595271 B2 JP 3595271B2 JP 2001060413 A JP2001060413 A JP 2001060413A JP 2001060413 A JP2001060413 A JP 2001060413A JP 3595271 B2 JP3595271 B2 JP 3595271B2
Authority
JP
Japan
Prior art keywords
error
error correction
burst
bits
syndrome
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.)
Expired - Fee Related
Application number
JP2001060413A
Other languages
Japanese (ja)
Other versions
JP2002261625A (en
Inventor
隆彦 中村
英夫 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001060413A priority Critical patent/JP3595271B2/en
Publication of JP2002261625A publication Critical patent/JP2002261625A/en
Application granted granted Critical
Publication of JP3595271B2 publication Critical patent/JP3595271B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、通信分野や記録分野で用いられている誤り訂正符号、特に線形符号の誤り訂正復号方法および装置に関するものである。
【0002】
【従来の技術】
図7は文献「Error Control Coding: Fundamentals and Applications(誤り制御コード基礎およびその適用)」に示された従来のバースト誤り訂正を行うための誤り訂正復号装置の構成を示すブロック図である。以下の説明において、符号長n、情報ビット数k、訂正可能なバースト長をbとして以下の説明を行う。
【0003】
図において101は受信される受信語のビット入力をゲートするゲート回路、102は排他的論理和をとるためのXOR回路、103は生成多項式により決まる線形シフトレジスタ、104はゲート回路、105は(n−k)段の線形シフトレジスタ103のうち下位(n−k−b)ビットについて全て0であるかどうかを判定する零判定手段、106はゲート回路である。
【0004】
107は入力された受信ビットを保持するための記憶手段、108は記憶手段107に記憶された受信語を出力させるためのゲート回路、109は検出された誤りを訂正するためのXOR回路である。なお図示されていないが、各ゲート回路101,104,106,108には、ゲート制御信号がカウンタ(ソフトウェア等でも構成可能であり特に図示せず)のカウント値あるいは零判定手段105の判定結果等に基づいて供給され、これに従って下記の制御が行われる。
【0005】
次に図7に従って動作を説明する。まず、nビットの受信ビット系列がゲート回路101を通過して、記憶手段107および(n−k)段のシフトレジスタ103に入力される。このとき、ゲート回路104については接続されており、生成多項式に応じたフィードバック処理が行われる。nビットの受信ビットが入力されたときのシフトレジスタの内容をバースト誤りのシンドロームと呼ぶ。
【0006】
nビットの受信ビットが入力された後にゲート回路101は接続を切り離して0を出力するように制御される。また、ゲート回路104については、そのまま接続した状態でシフトレジスタ103のシフト操作を繰り返し行う。このシフト操作を行っている間で、シフトレジスタ103の下位(n−k−b)ビットのレジスタ値が全て0になった場合、シフトレジスタ103の上位bビットのレジスタに入っている値がバースト誤りパターンとなる。このとき、バースト誤りのシンドロームが生成されてからシフトされる回数によって3つの条件に分けられる。
【0007】
シフト回数が(n−k−b)回以下の時に零判定手段105によって、シフトレジスタ103の下位の(n−k−b)ビットが全て0になったときには、チェックビットの部分にバースト誤りが検出されたことになり、ゲート回路108を接続して、ゲート回路106からは0を出力させるようにして、記憶手段107に記憶されている受信ビットの情報ビット部分の内容をそのまま出力する。
【0008】
シフトレジスタ103に記憶されたバースト誤り訂正用シンドロームについて、シフト回数が(n−k−b+i)(iは1以上b−1以下)回のときに零判定手段105によって、シフトレジスタ103の下位(n−k−b)ビットが全て0になったときには、誤りとしてはチェック部分最後の(b−i)ビットと受信ビットの先頭のiビットに誤りがあることになる。このときは、カウンタを(n−k−b+i+1)にセットをしてカウントアップをする。また、ゲート回路104を0を出力するように制御して、シフトレジスタ103の内容を上位ビットから順に出力するようにする。
【0009】
次にカウンタの値が(n−k)になった時に、ゲート回路106およびゲート回路108を接続し受信ビットを先頭から順に出力するように制御して、受信ビットの先頭のiビットについてXOR回路109において誤り訂正を行ない出力する。
【0010】
シフトレジスタ103に記憶された、バースト誤り訂正用シンドロームについて(n−k)回シフトした結果、零判定手段105において1度もシフトレジスタ103の下位の(n−k−b)ビットが全て0になるようなことがなかった場合には、ゲート回路108を接続して受信ビットを先頭から順に出力し、同時にゲート回路104についても接続を行ったままで、シフトレジスタ103のシフト操作を続けて行う。
【0011】
ゲート回路108を接続してからのシフト回数がi(iは1以上k以下)回のときに零判定手段105によって、シフトレジスタ103の下位(n−k−b)ビットが全て0になった時には、受信ビットの先頭のiビット目からi+b−1ビットまでに、シフトレジスタ103の上位bビットに記憶されているパターンのバースト誤りが生起したことが検出される。
【0012】
そして、ゲート回路106が接続されて、ゲート回路104については接続が切断されて0を出力するようにして、シフトレジスタ103の上位bビットに記憶されている内容がXOR回路109に入力されてbビットの訂正操作が行われ、その後にゲート回路106については0を出力するように制御して、残りの受信ビットについては記憶手段107に記憶されている内容がそのまま出力されて、バースト誤りの誤りが訂正される。
【0013】
また、ゲート回路108をゲート制御してからのシフト回数がk回になっても一度も零判定手段105において下位の(n−k−b)ビットが全て0にならなかった時は、バースト誤り訂正できない誤りが生起したものとして、訂正不可能とする。
【0014】
【発明が解決しようとする課題】
従来のこの種のバースト誤り訂正復号装置においては、最初の操作ではチェックビット部分の誤りが検出されて、(n−k)回シフトさせてはじめて先頭ビットのバースト誤りが訂正できることになり、復号に要するステップ数が大きくなる問題があった。
【0015】
また、チェックビットについても誤り訂正された結果が必要な場合については、最初にチェックビット部分の誤り検出が行われてその後で情報ビット部分の誤りが検出されるために、検査ビット部分の誤りパターンを記憶する必要があり、訂正のタイミングを計算する上で復号装置の動作制御が複雑になる問題点があった。
【0016】
また、バースト誤り以外にランダム誤りを訂正する必要がある場合は、上記のバースト誤り訂正回路のほかにランダム誤り訂正回路を設ける必要があり回路規模が大きくなる問題点があった。
【0017】
この発明は上記の問題を解消するためになされたものであり、受信ビットの先頭ビットから順にバースト誤りの検出ができるようにし、また、ランダム誤り訂正のためのシンドロームを用いてバースト誤り訂正ができるようにした誤り訂正復号方法および装置を提供することを目的とする。
【0018】
【課題を解決するための手段】
上記の目的に鑑み、この発明は、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、ランダム誤り訂正用のシンドロームを生成する工程と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、前記線形変換によって生成された値を用いてバースト誤りを訂正する工程と、備えたことを特徴とする誤り訂正復号方法にある。
【0019】
また、前記バースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値について、b組に分けて誤り判定を行う工程を備え、これらのb組の誤り判定のうち1組でも条件を満足している時に対応するビットの値を誤りパターンとしてバースト誤りを訂正することを特徴とする請求項1に記載の誤り訂正復号方法にある。
【0020】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、ランダム誤り訂正用のシンドロームを生成する工程と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値から1ビットずつ順にシフトしたバースト誤り訂正用のシンドロームをそれぞれ生成しこれらの値を用いて複数のバースト誤りを同時に検出する工程と、これらの誤り検出結果に従って複数ビッドのバースト誤りの訂正を同時に行う工程と、備えたことを特徴とする誤り訂正復号方法にある。
【0021】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する工程と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する工程と、前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤り訂正方式で誤りの訂正を行い、両方の誤りが検出された場合は、予め定められた方の誤り訂正方式で誤り訂正を行う工程と、を備えたことを特徴とする誤り訂正復号方法にある。
【0022】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する工程と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する工程と、前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤り訂正方式で誤り訂正を行い、両方の誤りが検出された場合は、誤りビットの信頼度情報の低い方の誤り訂正方式で誤り訂正を行う工程と、を備えたことを特徴とする誤り訂正復号方法にある。
【0023】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、ランダム誤り訂正用のシンドロームを生成して先頭ビットから順にランダム誤りを検出する工程と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値に基づき先頭ビットから順に前記ランダム誤り検出と同じビットについてバースト誤りを検出する工程と、前記ランダム誤りおよびバースト誤りの先に誤り検出された誤り訂正方式で誤り訂正を行う工程と、を備えたことを特徴とする誤り訂正復号方法にある。
【0024】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、ランダム誤り訂正用のシンドロームを生成する手段と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、前記線形変換によって生成された値を用いてバースト誤りを訂正する手段と、備えたことを特徴とする誤り訂正復号装置にある。
【0025】
また、前記バースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値について、b組に分けて誤り判定を行う手段を備え、これらのb組の誤り判定のうち1組でも条件を満足している時に対応するビットの値を誤りパターンとしてバースト誤りを訂正することを特徴とする請求項7に記載の誤り訂正復号装置にある。
【0026】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、ランダム誤り訂正用のシンドロームを生成する手段と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値から1ビットずつ順にシフトしたバースト誤り訂正用のシンドロームをそれぞれ生成しこれらの値を用いて複数のバースト誤りを同時に検出する手段と、これらの誤り検出結果に従って複数ビッドのバースト誤りの訂正を同時に行う手段と、備えたことを特徴とする誤り訂正復号装置にある。
【0027】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する手段と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する手段と、前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤りに基づく誤り訂正を行い、両方の誤りが検出された場合は、予め定められた方の誤り訂正に基づく訂正を行う手段と、を備えたことを特徴とする誤り訂正復号装置にある。
【0028】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する手段と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する手段と、前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤りに基づく誤り訂正を行い、両方の誤りが検出された場合は、誤りビットの信頼度情報の低い方の誤り訂正に基づき訂正を行う手段と、を備えたことを特徴とする誤り訂正復号装置にある。
【0029】
また、符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、ランダム誤り訂正用のシンドロームを生成して先頭ビットから順にランダム誤りを検出する手段と、このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値に基づき先頭ビットから順に前記ランダム誤り検出と同じビットについてバースト誤りを検出する手段と、前記ランダム誤りおよびバースト誤りの先に誤り検出された方の誤り訂正に基づき訂正を行う手段と、を備えたことを特徴とする誤り訂正復号装置にある。
【0030】
【発明の実施の形態】
実施の形態1.
図1はこの発明の実施の形態1による誤り訂正復号装置の構成を示すブロック図である。図において1は接続状態時に受信語である受信ビットを復号回路部分に入力し、切断状態時は0を出力するゲート回路、2および3はランダム誤り訂正のためのシンドロームを計算するためのXOR回路、4、5はランダム誤り訂正のためのシンドロームを記憶するためのシフトレジスタ、6はランダム誤りのシンドロームを記憶しているレジスタ4,5の値からバースト誤り用のシンドロームから(n−k−b)ビットシフトした値に変換するための線形変換手段である。
【0031】
7は線形変換手段6の出力を記憶するためのシフトレジスタ、8はシフトレジスタ7の下位(n−k−b)ビットの値について値が全て零であるかどうかを判定する零判定手段、9は復号回路に入力された受信ビットを記憶する記憶手段、10は記憶手段9に記憶されている受信ビットを順次出力するゲート回路、11は誤りパターンを出力するためのゲート回路、12は誤りを訂正するためのXOR回路、13はバースト誤りパターンを一時的に退避させて記憶する記憶手段である。なお図示されていないが、各ゲート回路には、ゲート制御信号がカウンタ(ソフトウェア等でも構成可能であり特に図示せず)のカウント値あるいは零判定手段の判定結果等に基づいて供給され、これに従って下記の制御が行われる(以下同様)。
【0032】
次に、動作について説明する。まず、nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびシフトレジスタ4、5に入力される。記憶手段9では受信ビットを記憶する。シフトレジスタ4、5ではシフト演算が行われてランダム誤り訂正用のシンドロームが計算される。nビットの受信ビットが入力された時点にシフトレジスタ4、5に記憶されている値がランダム誤り訂正用のシンドロームになる。
【0033】
nビットの情報ビットが入力された後に、ゲート回路1を切断して0を出力するようにして、1回ごとにシフトレジスタ4および5のシフト操作を行う。この時それぞれのステップごとに線形変換手段6においてランダム誤りのシンドロームについて変換を行う。このとき、線形変形手段6はランダム誤り訂正用のシンドロームからバースト誤りのシンドロームについて(n−k−b)ビットシフトした値に変換する組み合わせ論理回路により構成されている。
【0034】
線形変形手段6によって変換された値はシフトレジスタ7に記憶させる。シフトレジスタ7において下位(n−k−b)ビットの値が全て0かどうかを零判定手段8において判定を行う。このとき、シフトされる回数によって2つの条件に分けられる。
【0035】
シフト回数iがb回未満の時に零判定手段8において、シフトレジスタ7の下位(n−k−b)ビットが全て0になった時は、誤りとしてはチェック部分最後の(b−i)ビットと受信ビットの先頭のiビットに誤りがあることになる。この時カウンタ(ソフトウェア等でも構成可能であり特に図示せず)を(i+1)にセットをしてカウントアップをする。一方でシフトレジスタ7の上位bビットを先頭から順に出力し記憶手段13に記憶させる。またゲート回路11を切断して0を出力する。
【0036】
カウンタの値がbになった時にゲート回路10、11を接続し、記憶手段9の内容を上位ビットから順に出力するようにして、上位iビットの誤りをXOR回路12において訂正する。また、チェックビットの最後の部分については記憶手段13に記憶している内容を順に取り出して誤りの訂正を行う。
【0037】
また、シフト回数iがb回未満のときに零判定手段8において、シフトレジスタ7の下位(n−k−b)ビットが全て0にならなかった時は、シフト回数がbになった時に、ゲート回路10を接続し受信ビットを先頭から順に出力して、受信ビットの先頭のi+1ビットについてXOR回路12において誤り訂正を行ない出力する。
【0038】
また、ゲート回路10を接続してからのシフト回数がn回になっても一度も零判定手段8において下位の(n−k−b)ビットが全て0にならなかったときはバースト誤り訂正できない誤りが生起したものとして、訂正不可能とする。
【0039】
上記のような構成にすることにより、受信ビットの先頭ビットから順にバースト誤り訂正が行えるようになり、チェックビットまで誤り訂正を行う必要がある場合には、復号処理のステップ数を削減でき高速に復号できる効果がある。
【0040】
実施の形態2.
図2はこの発明の実施の形態2による誤り訂正復号装置の構成を示すブロック図である。上記実施の形態と同一もしくは相当部分は同一符号で示す(以下同様)。図において14−1から14−bについてはバースト誤りのシンドロームを記憶しているレジスタに対して、それぞれ特定のbビットの値が全て零であることを検出する零判定手段、15は零判定手段14−1から14−bまでの中で、少なくとも1つの零判定手段において、検出対象となるビットの全てが0になったことが検出された場合には、下位からbビット目の値を出力し、それ以外の場合は0を出力するゲート回路である。
【0041】
次に、動作について説明する。まず、nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびシフトレジスタ4、5に入力される。記憶手段9では受信ビットを記憶する。シフトレジスタ4、5ではシフト演算が行われてランダム誤り訂正用のシンドロームが計算される。nビットの受信ビットが入力された時点にシフトレジスタ4,5に記憶されている値がランダム誤り訂正用のシンドロームになる。
【0042】
nビットの情報ビットが入力された後に、ゲート回路1を切断して0を出力するようして1回ごとにシフトレジスタのシフト計算を行う。また、ゲート回路10を接続し記憶手段9に記憶されている内容を1ビット毎に出力させる。このとき、それぞれのステップごとに線形変換手段6においてランダム誤りのシンドロームについて変換を行い、バースト誤りのシンドロームについて(n−k−b)ビットシフトした値を生成しシフトレジスタ7に記憶させる。
【0043】
次に、零判定手段14−1においてはシフトレジスタ7において下位(n−k−b)ビットの値が全て0であることの判定を行ない、零判定手段14−2ではシフトレジスタ7において下位(n−k−b−1)ビットと最上位1ビットの値が0であることの判定を行う零判定手段として、同様に1ビットずつずらして、零判定手段14−bではシフトレジスタ7において下位(n−k−b−(b−1))ビットと上位(b−1)ビットの値が0であることの判定を行う零判定手段として、該当するシフトレジスタの中身が全て0であることを判定する。
【0044】
零判定手段14−1から14−bにおいて、少なくとも1つの零判定手段において、全て0であると判定されたときは、ゲート回路15を接続して、上位bビット目に記憶されている値を誤りパターンとして、XOR回路12により訂正を行う。また、零判定手段14−1から14−bにおいて、検出対象となっているレジスタの中身が全て0になっていない場合については、ゲート回路15を切断して0を出力して、記憶手段9に記憶されている受信ビットの内容をそのまま出力する。
【0045】
上記実施の形態は、ランダム誤りのシンドロームからバースト誤りのシンドロームを(n−k−b)回シフトしたものを線形変換手段により生成していたが、バースト誤りのシンドロームから(n−k−b)回シフトしたものを線形変換手段により生成しても同様の誤り訂正装置が得られる。
【0046】
上記のような構成にすることにより、受信ビットの先頭ビットから順にバースト誤り訂正が行えるようになり、先頭ビットとチェックビットの後ろに誤りが存在するような場合についても、誤りパターンを記憶するための記憶手段を用いることなく誤り訂正が行えて、高速に復号でき、回路規模を削減できる効果がある。
【0047】
実施の形態3.
図3はこの発明の実施の形態3による誤り訂正復号装置の構成を示すブロック図である。図において16はバースト誤りのシンドロームに対して、1回シフトした値を計算するためのシフト演算手段、17はバースト誤りのパターンを検出して誤りパターンを出力するためのバースト誤り検出手段、18はシリアル/パラレル変換手段、19はパラレル/シリアル変換手段である。
【0048】
次に、動作について説明する。以下の説明では例えば3ビットパラレルにして復号する場合について説明する。nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびシフトレジスタ4、5に入力される。記憶手段9では受信ビットを記憶する。シフトレジスタ4、5ではシフト演算が行われてランダム誤り訂正用のシンドロームが計算される。nビットの受信ビットが入力された時点にシフトレジスタ4,5に記憶されている値がランダム誤り訂正用のシンドロームになる。
【0049】
nビットの情報ビットが入力された後に1回ごとにシフトレジスタ4、5のシフト計算を行う。シフトレジスタ4,5のシフト計算の部分では1回のシフトで、3ビット分のフィードバックおよびシフト操作を行う。この時それぞれのステップごとに線形変換手段6においてランダム誤りのシンドロームについて変換を行い、バースト誤りのシンドロームについて(n−k−b)ビットシフトした値にする。また、シフト演算手段16において1回シフトさせた値を計算させた値を生成する。また、シフト演算手段16を2段に重ねることにより、2ビットシフトさせた値を生成する。
【0050】
バースト誤り検出手段17において、線形変換手段6において変換された値について、実施の形態2に述べた方法を用いて、b種類の零判定手段によりバースト誤りが検出された時は、ゲート回路15を接続して、上位bビット目の値を出力して、XOR回路12により訂正を行う。また、バースト誤り検出手段17において検出対象となっているレジスタの中身が全て0になっていない場合については、ゲート回路15を切断して0を出力させて、記憶手段9に記憶されている受信ビットの内容をそのまま出力する。
【0051】
上記のような構成にすることにより、受信ビットの先頭ビットから順にバースト誤り訂正が行え、しかも複数ビット同時に誤り検出できるようになり、高速に復号できる効果がある。
【0052】
実施の形態4.
図4はこの発明の実施の形態4による誤り訂正復号装置の構成を示すブロック図である。図において20はランダム誤りのシンドロームを生成して、ランダム誤りを検出するランダム誤り検出手段、21はランダム誤りパターンを記憶するための記憶手段、22はランダム誤りが検出されたときにフラグを立てて記憶させるランダム誤り検出フラグ記憶手段である。
【0053】
23はランダム誤りのシンドロームから線形変換手段6によりバースト誤りのシンドロームを(n−k−b)ビットシフトした値からバースト誤りを検出するバースト誤り検出手段、24はバースト誤りパターンを記憶するための記憶手段、25はランダム誤りが検出されたときにフラグを立てて記憶させるバースト誤り検出フラグ記憶手段、26はランダム訂りパターンとバースト誤りパターンを選択するセレクタである。
【0054】
次に、動作について説明する。まず、nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびランダム誤り検出手段20に入力される。記憶手段9では受信ビットを記憶する。ランダム誤り検出手段20ではランダム誤り訂正用のシンドロームが計算されて、その値からランダム誤り訂正のための誤り位置多項式の係数が計算される。誤り位置多項式の係数から、先頭ビットから順にチェックを行い誤りパターンを生成し記憶手段21にランダム誤りパターンを記憶させる。また、ランダム誤りが検出されたときはランダム誤り検出フラグ記憶手段22においてフラグを立てる。ランダム誤りが検出されずに訂正不可能な場合にはランダム誤り検出フラグ記憶手段22においてフラグを立てないようにする。
【0055】
ランダム誤り検出手段20において計算された、ランダム誤りのシンドロームについては線形変換手段6によってバースト誤り訂正用のシンドロームについて(n−k−b)回シフトしたものが生成され、バースト誤り検出手段23に入力される。バースト誤り検出手段23では、実施の形態2で述べた方法に従って、先頭ビットから順にバースト誤りパターンが生成され記憶手段24にバースト誤りパターンを記憶させる。また、バースト誤りが検出された時はバースト誤り検出フラグ記憶手段25においてフラグを立てる。バースト誤りが検出されずに訂正不可能な場合にはバースト誤り検出フラグ記憶手段25においてフラグを立てないようにする。
【0056】
nビット全てのビットに対してランダム誤りとバースト誤りの誤りパターンが生成されると、ゲート回路10および11を接続して、記憶手段9に記憶されている受信ビットと記憶手段21,24に記憶されている誤りパターンが読み出されて、XOR回路12によって誤り訂正を行われる。
【0057】
このとき、ランダム誤り検出フラグ記憶手段22およびバースト誤り検出フラグ記憶手段25の一方のフラグが立っている時はセレクタ26において、フラグが立っている方の誤りパターンを出力させる。また、両方のフラグが立っている時は、セレクタ26において、予め定められている方の誤りパターンを出力させる。さらに両方のフラグが立っていない時は、セレクタ26において0を出力して受信ビットをそのまま出力して誤り検出に止める。
【0058】
上記のような構成にすることにより、ランダム誤りとバースト誤りが同時に実行でき、それぞれの誤り検出状況に応じて復号の方式を変えることができるために、復号性能の向上を図る効果がある。
【0059】
実施の形態5.
図5はこの発明の実施の形態5による誤り訂正復号装置の構成を示すブロック図である。図において、27はランダム誤り検出手段20で検出された誤りビットの信頼度情報の総和を計算し記憶するランダム誤りビット信頼度情報計算手段、28はバースト誤り検出手段23で検出されたの誤りビットの信頼度情報の総和を計算し記憶するバースト誤りビット信頼度情報計算手段である。
【0060】
次に、動作について説明する。まず、nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびランダム誤り検出手段20に入力される。記憶手段9では受信ビットを記憶する。ランダム誤り検出手段20ではランダム誤り訂正用のシンドロームが計算されて、その値からランダム誤り訂正のための誤り位置多項式の係数が計算される。誤り位置多項式の係数から、先頭ビットから順にチェックを行い誤りパターンを生成し記憶手段21にランダム誤りパターンを記憶させる。また、ランダム誤りが検出された時はランダム誤りビット信頼度情報計算手段27において、誤りのあるビットの信頼度情報について加算を行った結果を記憶させる。
【0061】
ランダム誤り検出手段20において計算された、ランダム誤りのシンドロームについては線形変換手段6によってバースト誤り訂正用のシンドロームについて(n−k−b)回シフトしたものが生成され、バースト誤り検出手段23に入力される。バースト誤り検出手段23では、実施の形態2で述べた方法に従って、先頭ビットから順にバースト誤りパターンが生成され記憶手段24にバースト誤りパターンを記憶させる。また、バースト誤りが検出された時はバースト誤りビット信頼度情報計算手段28において、誤りのあるビットの信頼度情報について加算を行った結果を記憶させる。
【0062】
nビット全てのビットに対してランダム誤りとバースト誤りの誤りパターンが生成されると、ゲート回路10および11を接続して、記憶手段9に記憶されている受信ビットと記憶手段21,24に記憶されている誤りパターンが読み出されて、XOR回路12によって誤り訂正を行われる。
【0063】
このとき、ランダム誤りあるいはバースト誤りの一方が検出されている場合はセレクタ26において、誤り検出されている方の誤りパターンを出力させる。また、ランダム誤りおよびバースト誤りの両方が検出されている場合は、セレクタ26において、予め定められている方の誤りパターンを出力させる。ランダム誤りとバースト誤りの両方が検出された時は、セレクタ26において、ランダム誤りビット信頼度情報計算手段27とバースト誤りビット信頼度情報計算手段28に記憶されている値のうち、小さい方の誤りパターンを出力させる。またランダムとバースト誤りの両方の検出ができなかった時は、セレクタ26において0を出力して受信ビットをそのまま出力して誤り検出に止める。
【0064】
上記のような構成にすることにより、ランダム誤りとバースト誤りが同時に実行でき、復号結果として信頼度の高い方式を選択できるために、復号性能の向上を図る効果がある。
【0065】
実施の形態6.
図6はこの発明の実施の形態6による誤り訂正復号装置の構成を示すブロック図である。図において29はランダム誤りとバースト誤りの誤り検出信号について、最初に検出された方をセレクタ26の選択信号として出力する選択信号生成手段である。
【0066】
次に、動作について説明する。まず、nビットの受信ビット系列がゲート回路1を通過して、記憶手段9およびランダム誤り検出手段20に入力される。記憶手段9では受信ビットを記憶する。ランダム誤り検出手段20ではランダム誤り訂正用のシンドロームが計算されて、その値からランダム誤り訂正のための誤り位置多項式の係数が計算される。誤り位置多項式の係数から、先頭ビットから順にチェックを行い誤りパターンを順に出力させる。また、ランダム誤りが検出された時は誤りパターンが出力されるのと同じタイミングで検出信号を出力させる。
【0067】
ランダム誤り検出手段20において計算されたランダム誤りのシンドロームについては線形変換手段6によってバースト誤り訂正用のシンドロームについて(n−k−b)回シフトしたものが生成され、バースト誤り検出手段23に入力される。バースト誤り検出手段23では、実施の形態2で述べた方法に従って、先頭ビットから順にバースト誤りパターンが生成され順に出力される。また、バースト誤りが検出されたときは誤りパターンが出力されるのと同じタイミングで検出信号を出力させる。
【0068】
nビットの受信ビットが全て入力されると、ゲート回路10および11を接続して、記憶手段9に記憶されている受信ビットが読み出される。また、出力されるランダム誤りパターンあるいはバースト誤りパターンと、XOR回路12によって誤り訂正が行われる。
【0069】
このとき、選択信号生成手段29において、ランダム誤りがバースト誤りよりも先に検出された時はランダム誤りパターンを出力させる選択信号を生成し、バースト誤りがランダム誤りよりも先に検出された時はバースト誤りパターンを出力させる選択信号を生成し、セレクタ26において誤りパターンの選択を行う。また、同時に検出された場合は、予め定められた方式を選択するようにする。
【0070】
上記のような構成にすることにより、ランダム誤り訂正とバースト誤り訂正について最初に誤り検出されたほうを選択するために、高速に復号できる効果がある。
【0071】
【発明の効果】
以上のようにこの発明によれば、ランダム誤りのシンドロームを線形変換することによりバースト誤り訂正を行うためのシンドロームを(n−k−b)ビットあらかじめシフトした値を生成するようにしたので、受信ビットの先頭ビットから順にバースト誤り訂正が行えるようになり、チェックビットまで誤り訂正を行う必要がある場合には、復号処理のステップ数を削減でき高速に復号できる。
【0072】
また、バースト誤りのシンドロームから(n−k−b)ビットシフトした値を生成し、バースト誤りのチェックとしてb種類の誤り検査を行い、このうち1種類でも条件を満たしているときに誤りを検出するようにしたので、受信ビットの先頭ビットから順にバースト誤り訂正が行えるようになり、先頭ビットとチェックビットの後ろに誤りが存在するような場合についても、誤りパターンを記憶するための記憶手段を用いることなく誤り訂正が行えて、高速に復号でき、かつ回路規模を削減できる。
【0073】
また、複数ビットシフトした値を組み合わせ回路により得て、複数ビットの誤りパターンを検出するようにしたので、受信ビットの先頭ビットから順にバースト誤り訂正が行え、しかも複数ビットを同時に誤り検出できるようになり、高速に復号できる。
【0074】
また、ランダム誤りとバースト誤りの双方で誤り検出を行い、一方で誤り検出された場合は誤り検出された方法で復号を行い、両方で誤り検出された場合はあらかじめ定められた方法で復号を行うようにしたので、ランダム誤りとバースト誤りが同時に実行でき、それぞれの誤り検出状況に応じて復号の方式を変えることができるために、復号性能の向上を図ることができる。
【0075】
また、ランダム誤りとバースト誤りの双方で誤り検出を行い、一方で誤り検出された場合は誤り検出された方法で復号を行い、両方で誤り検出された場合は誤りビットの信頼度の低い方の方法で復号を行うようにしたので、ランダム誤りとバースト誤りが同時に実行でき、復号結果として信頼度の高い方式を選択できるために、復号性能の向上を図ることができる。
【0076】
また、ランダム誤りとバースト誤りの双方で誤り検出を行い、先に誤り検出された方法で復号を行うようにしたので、ランダム誤り訂正とバースト誤り訂正について最初に誤り検出された方を選択するために、高速に復号できる。
【図面の簡単な説明】
【図1】この発明の実施の形態1による誤り訂正復号装置の構成を示すブロック図である。
【図2】この発明の実施の形態2による誤り訂正復号装置の構成を示すブロック図である。
【図3】この発明の実施の形態3による誤り訂正復号装置の構成を示すブロック図である。
【図4】この発明の実施の形態4による誤り訂正復号装置の構成を示すブロック図である。
【図5】この発明の実施の形態5による誤り訂正復号装置の構成を示すブロック図である。
【図6】この発明の実施の形態6による誤り訂正復号装置の構成を示すブロック図である。
【図7】従来のバースト誤り訂正を行うための誤り訂正復号装置の構成を示すブロック図である。
【符号の説明】
1,10,11,15 ゲート回路、2,3,12 XOR回路、4,5,7シフトレジスタ、6 線形変換手段、7 シフトレジスタ、8,14−1〜14−b 零判定手段、9,13,21,24 記憶手段、16 シフト演算手段、17 バースト誤り検出手段、18 シリアル/パラレル変換手段、19 パラレル/シリアル変換手段、20 ランダム誤り検出手段、22 ランダム誤り検出フラグ記憶手段、23 バースト誤り検出手段、25 バースト誤り検出フラグ記憶手段、26 セレクタ、27 ランダム誤りビット信頼度情報計算手段、28 バースト誤りビット信頼度情報計算手段、29 選択信号生成手段。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an error correction code used in the communication field and the recording field, and more particularly to an error correction decoding method and apparatus for a linear code.
[0002]
[Prior art]
FIG. 7 is a block diagram showing a configuration of a conventional error correction decoding device for performing burst error correction described in the document "Error Control Coding: Fundamentals and Applications (Error Control Code Basics and Its Application)". In the following description, the code length n, the number of information bits k, and the correctable burst length b are described below.
[0003]
In the figure, 101 is a gate circuit that gates a bit input of a received word to be received, 102 is an XOR circuit for taking an exclusive OR, 103 is a linear shift register determined by a generator polynomial, 104 is a gate circuit, and 105 is (n -K) Zero determining means for determining whether or not all lower-order (nkb) bits of the linear shift register 103 are 0 is a gate circuit.
[0004]
Reference numeral 107 denotes storage means for holding the input received bits, reference numeral 108 denotes a gate circuit for outputting the received word stored in the storage means 107, and reference numeral 109 denotes an XOR circuit for correcting a detected error. Although not shown, each of the gate circuits 101, 104, 106, and 108 has a gate control signal, such as a count value of a counter (which can also be configured by software or the like and is not particularly shown) or a determination result of the zero determination unit 105. , And the following control is performed according to this.
[0005]
Next, the operation will be described with reference to FIG. First, an n-bit received bit sequence passes through the gate circuit 101 and is input to the storage means 107 and the (nk) -stage shift register 103. At this time, the gate circuit 104 is connected, and a feedback process according to the generator polynomial is performed. The content of the shift register when n received bits are input is called a burst error syndrome.
[0006]
The gate circuit 101 is controlled so that the connection is cut off and n is output after n received bits are input. The shift operation of the shift register 103 is repeatedly performed with the gate circuit 104 connected as it is. If the register values of the lower (nkb) bits of the shift register 103 are all 0 during this shift operation, the value stored in the register of the upper b bits of the shift register 103 is burst. This results in an error pattern. At this time, the condition is divided into three conditions according to the number of shifts after the syndrome of the burst error is generated.
[0007]
When the number of shifts is equal to or less than (n−k−b) times, when the lower (n−k−b) bits of the shift register 103 are all set to 0 by the zero determination means 105, a burst error is included in the check bit portion. Since the detection has been made, the gate circuit 108 is connected, the gate circuit 106 outputs 0, and the content of the information bit portion of the received bit stored in the storage means 107 is output as it is.
[0008]
For the burst error correction syndrome stored in the shift register 103, when the number of shifts is (n−k−b + i) (i is 1 or more and b−1 or less), the zero determination unit 105 determines the lower order of the shift register 103 ( When all the (nkb) bits become 0, the error is that the last (bi) bit of the check portion and the first i bit of the received bit have errors. At this time, the counter is set to (nkb + i + 1) to count up. Also, the gate circuit 104 is controlled to output 0, and the contents of the shift register 103 are output in order from the upper bits.
[0009]
Next, when the value of the counter becomes (nk), the gate circuit 106 and the gate circuit 108 are connected to control the reception bits to be output in order from the top, and the XOR circuit is applied to the first i bits of the reception bits. At 109, error correction is performed and output.
[0010]
As a result of shifting the burst error correcting syndrome stored in the shift register 103 by (nk) times, the lower-order (nkb) bits of the shift register 103 are all set to 0 by the zero determination means 105 once. If this does not occur, the gate circuit 108 is connected to output the received bits sequentially from the top, and at the same time, the shift operation of the shift register 103 is continued while the gate circuit 104 is still connected.
[0011]
When the number of shifts since the connection of the gate circuit 108 is i (i is 1 or more and k or less), all the lower (nkb) bits of the shift register 103 are set to 0 by the zero determination means 105. At times, it is detected that a burst error of the pattern stored in the upper b bits of the shift register 103 has occurred from the first ith bit to the (i + b-1) th bit of the received bit.
[0012]
Then, the gate circuit 106 is connected, the connection of the gate circuit 104 is disconnected, and 0 is output. The content stored in the upper b bits of the shift register 103 is input to the XOR circuit 109 and A bit correction operation is performed, and thereafter, the gate circuit 106 is controlled so as to output 0, and for the remaining received bits, the contents stored in the storage means 107 are output as they are, and a burst error error is output. Is corrected.
[0013]
Also, even if the number of shifts after the gate control of the gate circuit 108 becomes k, if the lower (nkb) bits are not all zero in the zero determination means 105, a burst error occurs. It is assumed that an uncorrectable error has occurred, and is determined to be uncorrectable.
[0014]
[Problems to be solved by the invention]
In the conventional burst error correction decoding apparatus of this type, in the first operation, an error in the check bit portion is detected, and the burst error of the first bit can be corrected only after shifting (nk) times. There is a problem that the number of required steps is increased.
[0015]
When the result of the error correction of the check bit is required, the error detection of the check bit is performed first, and then the error of the information bit is detected. Has to be stored, and the operation control of the decoding device becomes complicated in calculating the correction timing.
[0016]
Further, when it is necessary to correct a random error other than a burst error, it is necessary to provide a random error correction circuit in addition to the above-mentioned burst error correction circuit, and there has been a problem that the circuit scale becomes large.
[0017]
The present invention has been made in order to solve the above-mentioned problem, and enables detection of a burst error in order from the first bit of a received bit, and also enables burst error correction using a syndrome for random error correction. An object of the present invention is to provide an error correction decoding method and apparatus as described above.
[0018]
[Means for Solving the Problems]
In view of the above object, the present invention provides a linear code error correction decoding method capable of correcting a burst error of up to b bits with a code length n and the number of information bits k, a step of generating a syndrome for random error correction, Performing a linear conversion on the random error correction syndrome to generate a value shifted by (nkb) bits from the burst error correction syndrome; and performing a burst error using the value generated by the linear conversion. And an error correction decoding method characterized by comprising:
[0019]
The method further comprises the step of performing an error determination on the value shifted by (n−k−b) bits from the burst error correction syndrome into b sets. 2. The error correction decoding method according to claim 1, wherein a burst error is corrected by using a value of a corresponding bit as an error pattern when satisfied.
[0020]
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a step of generating a syndrome for random error correction; Linear conversion is performed to generate burst error correction syndromes that are sequentially shifted one bit at a time from a value obtained by shifting (n−k−b) bits from the burst error correction syndrome, and a plurality of burst errors are generated using these values. At the same time, and simultaneously correcting burst errors of a plurality of bits in accordance with the error detection results.
[0021]
Further, in an error correction decoding method of a linear code capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a step of generating a syndrome for random error correction and detecting a random error; A step of performing a linear transformation on the syndrome for error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction, and a step of (nkb) from the syndrome for burst error correction A step of detecting a burst error from the bit-shifted value, and, when one of the random error and the burst error is detected, correcting the error by the detected error correction method, and detecting both errors. Correcting the error using a predetermined error correction method. A.
[0022]
Further, in an error correction decoding method of a linear code capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a step of generating a syndrome for random error correction and detecting a random error; A step of performing a linear transformation on the syndrome for error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction, and a step of (nkb) from the syndrome for burst error correction A step of detecting a burst error from the bit-shifted value, and if one of the random error and the burst error is detected, perform error correction using the detected error correction method, and both errors are detected. Correcting the error with the lower error correction method of the reliability information of the error bit. There is a positive decoding method.
[0023]
In a linear code error correction decoding method capable of correcting a burst error of up to b bits with a code length n and the number of information bits k, a step of generating a syndrome for random error correction and detecting a random error in order from the first bit Generating a value shifted by (n−k−b) bits from the burst error correction syndrome by performing linear conversion on the random error correction syndrome, and (n−k−b) from the burst error correction syndrome. kb) detecting a burst error for the same bit as the random error detection in order from the first bit based on the bit-shifted value; and performing error correction by an error correction method in which the random error and the burst error are detected earlier. Performing an error correction decoding method.
[0024]
Further, in a linear code error correction decoding device capable of correcting a burst error of up to b bits with a code length n and the number of information bits k, means for generating a syndrome for random error correction, Means for performing a linear conversion to generate a value shifted by (n-kb) bits from the syndrome for burst error correction, and means for correcting a burst error using the value generated by the linear conversion. An error correction decoding device characterized in that:
[0025]
In addition, a means for performing error determination by dividing the value into (n−k−b) bits from the burst error correction syndrome into b sets is provided. 8. The error correction decoding apparatus according to claim 7, wherein when the condition is satisfied, a burst error is corrected using a value of a corresponding bit as an error pattern.
[0026]
Further, in a linear code error correction decoding device capable of correcting a burst error of up to b bits with a code length n and the number of information bits k, means for generating a syndrome for random error correction, Linear conversion is performed to generate burst error correction syndromes that are sequentially shifted one bit at a time from a value obtained by shifting (n−k−b) bits from the burst error correction syndrome, and a plurality of burst errors are generated using these values. And a means for simultaneously correcting burst errors of a plurality of bits in accordance with the error detection results.
[0027]
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a means for generating a syndrome for random error correction and detecting a random error, Means for performing linear conversion on the syndrome for error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction, and (nkb) from the burst error correction syndrome Means for detecting a burst error from the bit-shifted value, and when one of the random error and the burst error is detected, performs error correction based on the detected error, and when both errors are detected. And a means for performing correction based on a predetermined error correction.
[0028]
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a means for generating a syndrome for random error correction and detecting a random error, Means for performing linear conversion on the syndrome for error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction, and (nkb) from the burst error correction syndrome Means for detecting a burst error from the bit-shifted value, and when one of the random error and the burst error is detected, performs error correction based on the detected error, and when both errors are detected. Means for performing correction based on error correction of lower reliability information of error bits. In the No. equipment.
[0029]
In a linear code error correction decoding apparatus capable of correcting a burst error up to b bits with a code length n and the number of information bits k, a means for generating a syndrome for random error correction and detecting a random error in order from the first bit Means for performing linear conversion on the syndrome for random error correction to generate a value shifted by (n−k−b) bits from the syndrome for burst error correction; kb) means for detecting a burst error for the same bit as the random error detection in order from the first bit based on the bit-shifted value, and correcting the random error and the burst error based on the error correction of the earlier detected error And an error correction decoding device.
[0030]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 1 of the present invention. In the figure, reference numeral 1 denotes a gate circuit for inputting a received bit, which is a received word, to a decoding circuit portion in a connected state, and outputs a 0 in a disconnected state. Reference numerals 2 and 3 denote XOR circuits for calculating a syndrome for random error correction. Reference numerals 4, 5 and 5 denote shift registers for storing syndromes for random error correction, and reference numeral 6 denotes a value for the registers 4 and 5 for storing syndromes for random error from the value for the error for burst error (nkb). ) Linear conversion means for converting to a bit-shifted value.
[0031]
7 is a shift register for storing the output of the linear conversion means 6, 8 is zero determination means for determining whether or not all the values of the lower (nkb) bits of the shift register 7 are zero; 9 Is a storage means for storing the received bits input to the decoding circuit, 10 is a gate circuit for sequentially outputting the received bits stored in the storage means 9, 11 is a gate circuit for outputting an error pattern, and 12 is an error circuit. An XOR circuit 13 for correction is storage means for temporarily saving and storing the burst error pattern. Although not shown, a gate control signal is supplied to each gate circuit based on a count value of a counter (which can also be configured by software or the like and is not particularly shown) or a determination result of a zero determination unit, and the like. The following control is performed (the same applies hereinafter).
[0032]
Next, the operation will be described. First, an n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the shift registers 4 and 5. The storage means 9 stores the received bits. The shift registers 4 and 5 perform a shift operation to calculate a syndrome for random error correction. The values stored in the shift registers 4 and 5 at the time when the n received bits are input become a syndrome for random error correction.
[0033]
After the n information bits are input, the gate circuit 1 is disconnected to output 0, and the shift operation of the shift registers 4 and 5 is performed each time. At this time, the linear conversion means 6 converts the syndrome of the random error for each step. At this time, the linear transformation means 6 is constituted by a combinational logic circuit which converts the syndrome for random error correction into a value shifted by (nkb) bits for the syndrome of burst error.
[0034]
The value converted by the linear transformation means 6 is stored in the shift register 7. In the shift register 7, the zero determination means 8 determines whether or not the values of the lower (nkb) bits are all zero. At this time, there are two conditions depending on the number of shifts.
[0035]
When all the lower (nkb) bits of the shift register 7 become 0 in the zero determination means 8 when the number of shifts i is less than b, an error is detected as the last (bi) bit of the check part. And the first i bit of the received bit has an error. At this time, a counter (which can be constituted by software or the like and is not particularly shown) is set to (i + 1) to count up. On the other hand, the upper b bits of the shift register 7 are sequentially output from the head and stored in the storage means 13. Further, the gate circuit 11 is disconnected to output 0.
[0036]
When the value of the counter becomes "b", the gate circuits 10 and 11 are connected, and the contents of the storage means 9 are output in order from the upper bit. For the last part of the check bit, the contents stored in the storage means 13 are sequentially extracted to correct the error.
[0037]
When the number of shifts i is less than b and the lower-order (nkb) bits of the shift register 7 are not all 0 in the zero determination means 8, when the number of shifts becomes b, The gate circuit 10 is connected, and the received bits are output in order from the top, and the XOR circuit 12 performs error correction on the first (i + 1) bits of the received bits and outputs the result.
[0038]
Even if the number of shifts after connecting the gate circuit 10 becomes n, if the lower (nkb) bits are not all zero in the zero determination means 8 once, the burst error cannot be corrected. It is assumed that an error has occurred and cannot be corrected.
[0039]
With the configuration described above, burst error correction can be performed in order from the first bit of the received bit, and when it is necessary to perform error correction up to the check bit, the number of decoding process steps can be reduced and high speed can be achieved. There is an effect that can be decrypted.
[0040]
Embodiment 2 FIG.
FIG. 2 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 2 of the present invention. The same or corresponding parts as those in the above embodiment are denoted by the same reference numerals (the same applies hereinafter). In the figure, with respect to registers 14-1 to 14-b, zero determination means for detecting that all the values of the specific b bits are all zero for a register storing the syndrome of the burst error, and 15 is a zero determination means If at least one of the zero determination means from 14-1 to 14-b detects that all bits to be detected have become 0, the value of the b-th bit from the lower order is output. Otherwise, the gate circuit outputs 0.
[0041]
Next, the operation will be described. First, an n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the shift registers 4 and 5. The storage means 9 stores the received bits. The shift registers 4 and 5 perform a shift operation to calculate a syndrome for random error correction. The value stored in the shift registers 4 and 5 at the time when the n received bits are input becomes a syndrome for random error correction.
[0042]
After the n information bits have been input, the gate circuit 1 is cut off to output 0, and the shift calculation of the shift register is performed each time. The gate circuit 10 is connected to output the contents stored in the storage means 9 for each bit. At this time, for each step, the linear conversion means 6 converts the syndrome of the random error, generates a value shifted by (n−k−b) bits for the syndrome of the burst error, and stores the value in the shift register 7.
[0043]
Next, the zero determining means 14-1 determines that the values of the lower (nkb) bits are all 0 in the shift register 7, and the zero determining means 14-2 determines the lower ( As zero determination means for determining that the value of the (nkb-1) bit and the most significant bit is 0, the bit is similarly shifted one bit at a time. As zero determination means for determining that the values of (nkb- (b-1)) bits and the upper (b-1) bits are 0, the contents of the corresponding shift register are all 0 Is determined.
[0044]
In the zero determination means 14-1 to 14-b, when at least one of the zero determination means determines that all the bits are 0, the gate circuit 15 is connected and the value stored in the upper b bits is changed. The XOR circuit 12 corrects the error pattern. If the contents of the registers to be detected are not all 0 in the zero determination means 14-1 to 14-b, the gate circuit 15 is disconnected to output 0, and the storage means 9 And outputs the contents of the received bit stored as is.
[0045]
In the above-described embodiment, the burst error syndrome shifted from the random error syndrome by (n−k−b) times is generated by the linear conversion means, but the burst error syndrome is generated by (n−k−b) from the burst error syndrome. A similar error correction device can be obtained even if the shifted data is generated by linear conversion means.
[0046]
With the above configuration, burst error correction can be performed in order from the first bit of the received bit, and even if an error exists after the first bit and the check bit, an error pattern is stored. Thus, error correction can be performed without using the storage means, decoding can be performed at high speed, and the circuit size can be reduced.
[0047]
Embodiment 3 FIG.
FIG. 3 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 3 of the present invention. In the figure, reference numeral 16 denotes a shift operation means for calculating a value shifted once for a burst error syndrome, 17 denotes a burst error detection means for detecting a burst error pattern and outputting an error pattern, and 18 denotes a burst error detection means. The serial / parallel converter 19 is a parallel / serial converter.
[0048]
Next, the operation will be described. In the following description, for example, a case where decoding is performed in 3-bit parallel will be described. An n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the shift registers 4 and 5. The storage means 9 stores the received bits. The shift registers 4 and 5 perform a shift operation to calculate a syndrome for random error correction. The value stored in the shift registers 4 and 5 at the time when the n received bits are input becomes a syndrome for random error correction.
[0049]
After the n information bits are input, the shift calculation of the shift registers 4 and 5 is performed each time. In the shift calculation of the shift registers 4 and 5, three bits of feedback and shift operation are performed by one shift. At this time, for each step, the linear conversion means 6 converts the syndrome of the random error, and converts the syndrome of the burst error to a value shifted by (nkb) bits. Further, a value obtained by calculating a value shifted once by the shift operation means 16 is generated. Further, by shifting the shift operation means 16 in two stages, a value shifted by 2 bits is generated.
[0050]
When the burst error detecting means 17 detects a burst error using the method described in the second embodiment with respect to the value converted by the linear converting means 6, when the burst error is detected by the b kinds of zero determining means, the gate circuit 15 is turned off. The XOR circuit 12 outputs the value of the upper b bit and performs correction. If the contents of the register to be detected by the burst error detecting means 17 are not all 0, the gate circuit 15 is disconnected to output 0, and the reception stored in the storage means 9 is performed. Output the bit contents as they are.
[0051]
With the above-described configuration, burst error correction can be performed sequentially from the first bit of the received bits, and error detection can be performed simultaneously for a plurality of bits, thereby providing an effect of high-speed decoding.
[0052]
Embodiment 4 FIG.
FIG. 4 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 4 of the present invention. In the figure, 20 is a random error detecting means for generating a random error syndrome and detecting a random error, 21 is a storing means for storing a random error pattern, and 22 is a flag for setting a flag when a random error is detected. Random error detection flag storage means for storing.
[0053]
Reference numeral 23 denotes a burst error detecting unit for detecting a burst error from a value obtained by shifting the burst error syndrome by (n−k−b) bits by the linear conversion unit 6 from the random error syndrome, and 24 denotes a storage for storing a burst error pattern. Means 25 is a burst error detection flag storage means for setting and storing a flag when a random error is detected, and 26 is a selector for selecting a random correction pattern and a burst error pattern.
[0054]
Next, the operation will be described. First, an n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the random error detection means 20. The storage means 9 stores the received bits. The random error detecting means 20 calculates a syndrome for random error correction, and calculates a coefficient of an error locator polynomial for random error correction from the calculated value. From the coefficients of the error locator polynomial, checking is performed in order from the first bit to generate an error pattern, and the storage means 21 stores the random error pattern. When a random error is detected, a flag is set in the random error detection flag storage unit 22. If a random error cannot be detected and cannot be corrected, no flag is set in the random error detection flag storage unit 22.
[0055]
The random error syndrome calculated by the random error detection means 20 is generated by shifting the burst error correction syndrome (n−k−b) times by the linear conversion means 6 and input to the burst error detection means 23. Is done. According to the method described in the second embodiment, the burst error detection means 23 generates a burst error pattern in order from the first bit, and stores the burst error pattern in the storage means 24. When a burst error is detected, a flag is set in the burst error detection flag storage means 25. If a burst error cannot be detected and cannot be corrected, no flag is set in the burst error detection flag storage means 25.
[0056]
When an error pattern of a random error and a burst error is generated for all n bits, the gate circuits 10 and 11 are connected, and the received bits stored in the storage unit 9 and the storage units 21 and 24 are stored. The read error pattern is read out, and the XOR circuit 12 corrects the error.
[0057]
At this time, when one of the flags of the random error detection flag storage means 22 and the burst error detection flag storage means 25 is set, the selector 26 outputs the error pattern of the set flag. When both flags are on, the selector 26 outputs the predetermined error pattern. Further, when both flags are not set, the selector 26 outputs 0 and outputs the received bit as it is to stop error detection.
[0058]
With the above configuration, a random error and a burst error can be executed at the same time, and the decoding method can be changed according to the respective error detection situations, so that there is an effect of improving decoding performance.
[0059]
Embodiment 5 FIG.
FIG. 5 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 5 of the present invention. In the figure, 27 is a random error bit reliability information calculating means for calculating and storing the sum of the reliability information of the error bits detected by the random error detecting means 20, and 28 is an error bit detected by the burst error detecting means 23. Is a burst error bit reliability information calculating means for calculating and storing the sum of the reliability information of.
[0060]
Next, the operation will be described. First, an n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the random error detection means 20. The storage means 9 stores the received bits. The random error detecting means 20 calculates a syndrome for random error correction, and calculates a coefficient of an error locator polynomial for random error correction from the calculated value. From the coefficients of the error locator polynomial, checking is performed in order from the first bit to generate an error pattern, and the storage means 21 stores the random error pattern. Further, when a random error is detected, the random error bit reliability information calculation means 27 stores the result of adding the reliability information of the erroneous bit.
[0061]
The random error syndrome calculated by the random error detection means 20 is generated by shifting the burst error correction syndrome (n−k−b) times by the linear conversion means 6 and input to the burst error detection means 23. Is done. According to the method described in the second embodiment, the burst error detection means 23 generates a burst error pattern in order from the first bit, and stores the burst error pattern in the storage means 24. When a burst error is detected, the burst error bit reliability information calculating means 28 stores the result of adding the reliability information of the erroneous bit.
[0062]
When an error pattern of a random error and a burst error is generated for all n bits, the gate circuits 10 and 11 are connected, and the received bits stored in the storage unit 9 and the storage units 21 and 24 are stored. The read error pattern is read out, and the XOR circuit 12 corrects the error.
[0063]
At this time, if either a random error or a burst error is detected, the selector 26 outputs the error pattern in which the error is detected. If both a random error and a burst error are detected, the selector 26 outputs the predetermined error pattern. When both the random error and the burst error are detected, the selector 26 selects the smaller one of the values stored in the random error bit reliability information calculating means 27 and the burst error bit reliability information calculating means 28. Output the pattern. If both random and burst errors cannot be detected, the selector 26 outputs 0 and outputs the received bits as they are to stop error detection.
[0064]
With the above configuration, a random error and a burst error can be executed at the same time, and a method with high reliability can be selected as a decoding result, so that there is an effect of improving decoding performance.
[0065]
Embodiment 6 FIG.
FIG. 6 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 6 of the present invention. In the figure, reference numeral 29 denotes a selection signal generating means for outputting, as a selection signal of the selector 26, one of the error detection signals of the random error and the burst error which is detected first.
[0066]
Next, the operation will be described. First, an n-bit received bit sequence passes through the gate circuit 1 and is input to the storage means 9 and the random error detection means 20. The storage means 9 stores the received bits. The random error detecting means 20 calculates a syndrome for random error correction, and calculates a coefficient of an error locator polynomial for random error correction from the calculated value. From the coefficients of the error locator polynomial, checking is performed in order from the first bit, and error patterns are sequentially output. When a random error is detected, a detection signal is output at the same timing as when an error pattern is output.
[0067]
With respect to the syndrome of the random error calculated by the random error detecting means 20, the one obtained by shifting the syndrome for burst error correction by (nkb) times by the linear converting means 6 is generated and input to the burst error detecting means 23. You. According to the method described in the second embodiment, the burst error detecting means 23 generates burst error patterns in order from the first bit and outputs them in order. When a burst error is detected, a detection signal is output at the same timing as when an error pattern is output.
[0068]
When all of the n received bits are input, the gate circuits 10 and 11 are connected, and the received bits stored in the storage means 9 are read. The error correction is performed by the XOR circuit 12 and the output random error pattern or burst error pattern.
[0069]
At this time, the selection signal generating means 29 generates a selection signal for outputting a random error pattern when a random error is detected before the burst error, and generates a selection signal for outputting a random error pattern when the burst error is detected before the random error. A selection signal for outputting a burst error pattern is generated, and the selector 26 selects an error pattern. In addition, when they are detected at the same time, a predetermined method is selected.
[0070]
With the above-described configuration, there is an effect that decoding can be performed at high speed because the first error detected for random error correction and burst error correction is selected.
[0071]
【The invention's effect】
As described above, according to the present invention, a syndrome in which a random error syndrome is linearly transformed to perform a burst error correction is generated with a value shifted in advance by (nkb) bits. Burst error correction can be performed in order from the first bit of the bit, and when it is necessary to perform error correction up to the check bit, the number of decoding process steps can be reduced and decoding can be performed at high speed.
[0072]
Further, a value shifted by (n−k−b) bits is generated from the syndrome of the burst error, and b types of error checks are performed as a check of the burst error, and an error is detected when at least one of the conditions satisfies the condition. , Burst error correction can be performed in order from the first bit of the received bit, and even when an error exists after the first bit and the check bit, a storage means for storing an error pattern is provided. Error correction can be performed without using, decoding can be performed at high speed, and the circuit scale can be reduced.
[0073]
Also, since a value obtained by shifting a plurality of bits by a combination circuit is used to detect an error pattern of a plurality of bits, burst error correction can be performed sequentially from the first bit of the received bit, and moreover, errors can be detected simultaneously in a plurality of bits. And can be decoded at high speed.
[0074]
In addition, error detection is performed for both a random error and a burst error, and if an error is detected, decoding is performed using an error-detected method. If both errors are detected, decoding is performed using a predetermined method. With this configuration, a random error and a burst error can be executed at the same time, and the decoding method can be changed according to the respective error detection situations, so that decoding performance can be improved.
[0075]
In addition, error detection is performed for both random errors and burst errors. On the other hand, if an error is detected, decoding is performed using the error detection method. If both errors are detected, the lower reliability of the error bit is determined. Since the decoding is performed by the method, the random error and the burst error can be executed at the same time, and a method with high reliability can be selected as the decoding result, so that the decoding performance can be improved.
[0076]
In addition, since error detection is performed for both random errors and burst errors and decoding is performed using the method in which errors were detected first, it is necessary to select the first error detected for random error correction and burst error correction. In addition, it can be decoded at high speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an error correction decoding device according to Embodiment 1 of the present invention.
FIG. 2 is a block diagram showing a configuration of an error correction decoding device according to a second embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of an error correction decoding device according to a third embodiment of the present invention.
FIG. 4 is a block diagram showing a configuration of an error correction decoding device according to a fourth embodiment of the present invention.
FIG. 5 is a block diagram showing a configuration of an error correction decoding device according to a fifth embodiment of the present invention.
FIG. 6 is a block diagram showing a configuration of an error correction decoding device according to a sixth embodiment of the present invention.
FIG. 7 is a block diagram showing a configuration of a conventional error correction decoding device for performing burst error correction.
[Explanation of symbols]
1, 10, 11, 15 gate circuit, 2, 3, 12 XOR circuit, 4, 5, 7 shift register, 6 linear conversion means, 7 shift register, 8, 14-1 to 14-b zero determination means, 9, 13, 21, 24 storage means, 16 shift operation means, 17 burst error detection means, 18 serial / parallel conversion means, 19 parallel / serial conversion means, 20 random error detection means, 22 random error detection flag storage means, 23 burst error Detection means, 25 burst error detection flag storage means, 26 selector, 27 random error bit reliability information calculation means, 28 burst error bit reliability information calculation means, 29 selection signal generation means.

Claims (12)

符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、
ランダム誤り訂正用のシンドロームを生成する工程と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、
前記線形変換によって生成された値を用いてバースト誤りを訂正する工程と、
備えたことを特徴とする誤り訂正復号方法。
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Generating a syndrome for random error correction;
Linearly converting the syndrome for random error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction;
Correcting a burst error using the value generated by the linear transformation,
An error correction decoding method, comprising:
前記バースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値について、b組に分けて誤り判定を行う工程を備え、これらのb組の誤り判定のうち1組でも条件を満足している時に対応するビットの値を誤りパターンとしてバースト誤りを訂正することを特徴とする請求項1に記載の誤り訂正復号方法。The method further comprises the step of performing error determination in b sets on the value shifted by (n−k−b) bits from the burst error correction syndrome, and one of these b sets of error determinations satisfies the condition. 2. The error correction decoding method according to claim 1, wherein the burst error is corrected using the value of the corresponding bit as an error pattern when the error occurs. 符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、
ランダム誤り訂正用のシンドロームを生成する工程と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値から1ビットずつ順にシフトしたバースト誤り訂正用のシンドロームをそれぞれ生成しこれらの値を用いて複数のバースト誤りを同時に検出する工程と、
これらの誤り検出結果に従って複数ビッドのバースト誤りの訂正を同時に行う工程と、
備えたことを特徴とする誤り訂正復号方法。
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Generating a syndrome for random error correction;
The syndrome for random error correction is subjected to linear conversion to generate syndromes for burst error correction that are sequentially shifted one bit at a time from a value obtained by shifting (n−k−b) bits from the syndrome for burst error correction. Simultaneously detecting a plurality of burst errors using the value,
Simultaneously correcting burst errors of multiple bits according to these error detection results,
An error correction decoding method, comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、
ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する工程と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する工程と、
前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤り訂正方式で誤りの訂正を行い、両方の誤りが検出された場合は、予め定められた方の誤り訂正方式で誤り訂正を行う工程と、
を備えたことを特徴とする誤り訂正復号方法。
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Generating a syndrome for random error correction and detecting a random error;
Linearly converting the syndrome for random error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction;
A step of detecting a burst error from a value shifted by (nkb) bits from the burst error correction syndrome;
When one of the random error and the burst error is detected, the error is corrected by the detected error correction method, and when both errors are detected, the predetermined error correction method is used. Correcting the error in
An error correction decoding method comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、
ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する工程と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する工程と、
前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤り訂正方式で誤り訂正を行い、両方の誤りが検出された場合は、誤りビットの信頼度情報の低い方の誤り訂正方式で誤り訂正を行う工程と、
を備えたことを特徴とする誤り訂正復号方法。
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Generating a syndrome for random error correction and detecting a random error;
Linearly converting the syndrome for random error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction;
A step of detecting a burst error from a value shifted by (nkb) bits from the burst error correction syndrome;
When one of the random error and the burst error is detected, the error is corrected by the detected error correction method, and when both errors are detected, the lower reliability information of the error bit is used. Performing error correction using an error correction method;
An error correction decoding method comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号方法において、
ランダム誤り訂正用のシンドロームを生成して先頭ビットから順にランダム誤りを検出する工程と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する工程と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値に基づき先頭ビットから順に前記ランダム誤り検出と同じビットについてバースト誤りを検出する工程と、
前記ランダム誤りおよびバースト誤りの先に誤り検出された誤り訂正方式で誤り訂正を行う工程と、
を備えたことを特徴とする誤り訂正復号方法。
In a linear code error correction decoding method capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Generating a syndrome for random error correction and detecting random errors in order from the first bit;
Linearly converting the syndrome for random error correction to generate a value shifted by (nkb) bits from the syndrome for burst error correction;
A step of detecting a burst error for the same bit as the random error detection in order from the first bit based on a value shifted by (nkb) bits from the burst error correction syndrome;
Performing error correction by an error correction method in which an error is detected before the random error and the burst error,
An error correction decoding method comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、
ランダム誤り訂正用のシンドロームを生成する手段と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、
前記線形変換によって生成された値を用いてバースト誤りを訂正する手段と、
備えたことを特徴とする誤り訂正復号装置。
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Means for generating a syndrome for random error correction;
Means for performing a linear conversion on the syndrome for random error correction and generating a value shifted by (nkb) bits from the syndrome for burst error correction;
Means for correcting a burst error using a value generated by the linear transformation,
An error correction decoding device comprising:
前記バースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値について、b組に分けて誤り判定を行う手段を備え、これらのb組の誤り判定のうち1組でも条件を満足している時に対応するビットの値を誤りパターンとしてバースト誤りを訂正することを特徴とする請求項7に記載の誤り訂正復号装置。Means for performing error determination by dividing the value (n−k−b) bits from the burst error correction syndrome into b sets, wherein one of the b sets of error determinations satisfies the condition. 8. The error correction decoding apparatus according to claim 7, wherein the burst error is corrected using the value of the corresponding bit as an error pattern when the error occurs. 符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、
ランダム誤り訂正用のシンドロームを生成する手段と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値から1ビットずつ順にシフトしたバースト誤り訂正用のシンドロームをそれぞれ生成しこれらの値を用いて複数のバースト誤りを同時に検出する手段と、
これらの誤り検出結果に従って複数ビッドのバースト誤りの訂正を同時に行う手段と、
備えたことを特徴とする誤り訂正復号装置。
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Means for generating a syndrome for random error correction;
The syndrome for random error correction is subjected to linear conversion to generate syndromes for burst error correction that are sequentially shifted one bit at a time from a value obtained by shifting (n−k−b) bits from the syndrome for burst error correction. Means for simultaneously detecting a plurality of burst errors using the values,
Means for simultaneously correcting burst errors of a plurality of bits according to these error detection results,
An error correction decoding device comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、
ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する手段と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する手段と、
前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤りに基づく誤り訂正を行い、両方の誤りが検出された場合は、予め定められた方の誤り訂正に基づく訂正を行う手段と、
を備えたことを特徴とする誤り訂正復号装置。
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Means for generating a syndrome for random error correction and detecting a random error;
Means for performing a linear conversion on the syndrome for random error correction and generating a value shifted by (nkb) bits from the syndrome for burst error correction;
Means for detecting a burst error from a value shifted (nkb) bits from the burst error correction syndrome;
When one of the random error and the burst error is detected, the error correction based on the detected error is performed, and when both errors are detected, the correction based on the predetermined error correction is performed. Means for performing
An error correction decoding device comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、
ランダム誤り訂正用のシンドロームを生成してランダム誤りを検出する手段と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値からバースト誤りを検出する手段と、
前記ランダム誤りおよびバースト誤りの一方が検出された場合は、その検出された方の誤りに基づく誤り訂正を行い、両方の誤りが検出された場合は、誤りビットの信頼度情報の低い方の誤り訂正に基づき訂正を行う手段と、
を備えたことを特徴とする誤り訂正復号装置。
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Means for generating a syndrome for random error correction and detecting a random error;
Means for performing a linear conversion on the syndrome for random error correction and generating a value shifted by (nkb) bits from the syndrome for burst error correction;
Means for detecting a burst error from a value shifted (nkb) bits from the burst error correction syndrome;
If one of the random error and the burst error is detected, the error correction based on the detected error is performed. If both errors are detected, the error of the lower reliability information of the error bit is determined. Means for making corrections based on the corrections;
An error correction decoding device comprising:
符号長n、情報ビット数kでbビットまでのバースト誤りの訂正ができる線形符号の誤り訂正復号装置において、
ランダム誤り訂正用のシンドロームを生成して先頭ビットから順にランダム誤りを検出する手段と、
このランダム誤り訂正用のシンドロームについて線形変換を行ってバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値を生成する手段と、
このバースト誤り訂正用のシンドロームから(n−k−b)ビットシフトした値に基づき先頭ビットから順に前記ランダム誤り検出と同じビットについてバースト誤りを検出する手段と、
前記ランダム誤りおよびバースト誤りの先に誤り検出された方の誤り訂正に基づき訂正を行う手段と、
を備えたことを特徴とする誤り訂正復号装置。
In a linear code error correction decoding device capable of correcting a burst error up to b bits with a code length n and the number of information bits k,
Means for generating a syndrome for random error correction and detecting random errors in order from the first bit;
Means for performing a linear conversion on the syndrome for random error correction and generating a value shifted by (nkb) bits from the syndrome for burst error correction;
Means for detecting a burst error for the same bit as the random error detection in order from the first bit based on a value shifted by (nkb) bits from the burst error correction syndrome;
Means for performing correction based on the error correction of the random error and the error detected earlier of the burst error,
An error correction decoding device comprising:
JP2001060413A 2001-03-05 2001-03-05 Error correction decoding method and apparatus Expired - Fee Related JP3595271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001060413A JP3595271B2 (en) 2001-03-05 2001-03-05 Error correction decoding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001060413A JP3595271B2 (en) 2001-03-05 2001-03-05 Error correction decoding method and apparatus

Publications (2)

Publication Number Publication Date
JP2002261625A JP2002261625A (en) 2002-09-13
JP3595271B2 true JP3595271B2 (en) 2004-12-02

Family

ID=18919837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001060413A Expired - Fee Related JP3595271B2 (en) 2001-03-05 2001-03-05 Error correction decoding method and apparatus

Country Status (1)

Country Link
JP (1) JP3595271B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102631452B1 (en) 2021-06-30 2024-01-30 주식회사 에이리스 Method, system and recording medium for generating training data for detection model based on artificial intelligence

Also Published As

Publication number Publication date
JP2002261625A (en) 2002-09-13

Similar Documents

Publication Publication Date Title
US4958349A (en) High data rate BCH decoder
JP3234130B2 (en) Error correction code decoding method and circuit using this method
US20120072810A1 (en) Error correction circuit and method, and semiconductor memory device including the circuit
JPH0728227B2 (en) Decoding device for BCH code
JPS632370B2 (en)
US4914660A (en) Method and apparatus for decoding error correcting code
JP3595271B2 (en) Error correction decoding method and apparatus
JP3279624B2 (en) 1-bit error correction circuit based on CRC operation
Babaie et al. Double bits error correction using CRC method
JP3454962B2 (en) Error correction code encoder and decoder
US4298981A (en) Decoding shortened cyclic block codes
JP2732862B2 (en) Data transmission test equipment
WO2013027483A1 (en) Error-correcting decoder
JPH1117557A (en) Error correction method and device therefor
JP3071482B2 (en) Error correction circuit of packet receiver
KR100239798B1 (en) Error correction method in the reproduction of digital signal and apparatus therefor
JP2752510B2 (en) Error correction decoder
JP4854686B2 (en) Decoding device and communication system
JPS6217256B2 (en)
JP3583905B2 (en) Error correction device
RU2282307C2 (en) Method for syndrome decoding for convolution codes
JP3099890B2 (en) Error correction device for BCH code
JP3223513B2 (en) Error correction decoding device
JP2662457B2 (en) BCH code decoding circuit
JP2599001B2 (en) Error correction processing circuit

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040902

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees