JP3583903B2 - Error correction device and error correction method - Google Patents

Error correction device and error correction method Download PDF

Info

Publication number
JP3583903B2
JP3583903B2 JP19104797A JP19104797A JP3583903B2 JP 3583903 B2 JP3583903 B2 JP 3583903B2 JP 19104797 A JP19104797 A JP 19104797A JP 19104797 A JP19104797 A JP 19104797A JP 3583903 B2 JP3583903 B2 JP 3583903B2
Authority
JP
Japan
Prior art keywords
error
erasure
correction
code
line
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
JP19104797A
Other languages
Japanese (ja)
Other versions
JPH1141111A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP19104797A priority Critical patent/JP3583903B2/en
Publication of JPH1141111A publication Critical patent/JPH1141111A/en
Application granted granted Critical
Publication of JP3583903B2 publication Critical patent/JP3583903B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、誤り訂正装置および誤り訂正方法に関し、特に、デジタルデータの受信再生システムにおいて、積符号ブロック化された受信再生データに対して各方向の符号の誤り訂正を順次行なう誤り訂正装置および誤り訂正方法に関する。
【0002】
【従来の技術】
デジタル伝送システム、コンピュータの周辺装置などの、データをデジタルで伝送処理する環境においては、デジタルデータの信頼性の向上を図るため、一般に誤り訂正符号が用いられている。特に最近では、デジタルデータの受信再生側におけるデータ処理能力の向上に伴い、高度な訂正能力を有する誤り訂正符号が用いられるようになってきている。このような誤り訂正符号の代表的なものとして、符号長・冗長度の大きいロングディスタンスコードの積符号を挙げることができる。
【0003】
図5は、このような積符号がデジタルデータ(情報シンボル)に付加される態様を模式的に示す図である。図5を参照して、積符号は一般に、縦横の異なる方向の誤り訂正符号を組合せたものであり、より特定的には、情報シンボルの縦方向に対して付加された外符号のパリティPOと、情報シンボルおよびPOの横方向に対して付加された内符号のパリティPIとから構成される。
【0004】
それぞれの誤り訂正符号としては、バイト単位の誤り訂正が可能なリード・ソロモン(RS)符号が用いられることが多く、図5の例では、PO方向の誤り訂正符号は、符号長n,情報長k,最小距離dのRS符号であり、PI方向の誤り訂正符号は、符号長n,情報長k、最小距離dのRS符号である。
【0005】
なお、ここでd=2t+1,d=2t+1の関係が成り立っているものとする。
【0006】
このように2つの方向のRS誤り訂正符号が付加されて積符号ブロック化されたデータの受信再生側でのデコード(誤り訂正)は、一般に、各方向の符号の誤り訂正を繰返すことにより行なわれる。誤り訂正そのものの方式としては、以下に説明する検出訂正および消失訂正の2種類の方式が存在する。
【0007】
検出訂正は、大きくは以下の3つのステップから構成される:
(1) 受信再生した符号からシンドローム多項式を求める;
(2) シンドローム多項式から誤り位置多項式および誤り数値多項式を求める;
(3) 誤り位置多項式からチェンサーチ法により誤り位置を求め、その位置に対する誤りパターンを求めて誤り訂正を行なう。
【0008】
これに対し、消失訂正は、誤りである符号(シンボル)の位置(消失位置)が予めわかっていることを前提として、誤りパターンのみを求めるものである。すなわち、積符号ブロック化されたデータに対し一方の方向の符号の誤り訂正(検出訂正)を行なった結果、訂正不能であったライン(誤り符号と他の符号とが共存している)の位置を消失位置として記憶しておくことにより、他方の方向の符号の誤り訂正を行なう際に誤りである符号の位置が予めわかっていることとなり、誤り位置を改めて求める必要がなくなる。すなわち、消失訂正では、誤りのパターンのみ求めればよく、検出訂正に比べて、シンドローム多項式から求める多項式は消失数値多項式の1つだけでよい。したがって訂正能力は検出訂正の2倍になる。
【0009】
このような消失訂正は、大きくは以下の3つのステップから構成される:
(1) 受信再生した符号からシンドローム多項式を求める;
(2) 消失位置から得られる消失位置多項式を用いて、シンドローム多項式を修正し、消失数値多項式を求める;
(3) 消失位置に対して消失パターンを求めて誤り訂正を行なう。
【0010】
次に、図6から図8は、積符号が付加されたデータの誤りが訂正されていく過程の一例を模式的に示す図である。図6から図8の各々は、図5の積符号ブロック化されたデータの全体構成に相当し、簡単のためにパリティ長4のPOとパリティ長6のPIとが情報シンボルに付加されて構成されているものとする。図中黒塗りの部分は誤っている符号(シンボル)を示している。また、斜線で示された部分は、誤りが訂正された符号(シンボル)を示している。
【0011】
図6を参照して、まず横方向の符号からなるPI系列の各ラインごとに上述の検出訂正が行なわれる。この検出訂正では、たとえば、ラインごとに最大で3個まで誤り符号を訂正することができるものとする。
【0012】
したがって、図7に示すように、4個以上の誤った符号が存在する1,8,14番目のラインについては、誤り符号の数が訂正能力を超えているとして訂正は一切行なわれない。それ以外のライン上の誤り符号は検出訂正により訂正される。
【0013】
次に図8を参照して、縦方向の符号からなるPO系列の各ラインごとに上述の消失訂正が行なわれる。ここで、PO系列の各ラインについては、PI系列で訂正不能であった1,8,14番目の横方向ライン上にのみ誤りが残留していることとなる。したがって、誤り位置を改めて求めることなく、1,8,14番目の横方向ラインを誤り位置(消失位置)として誤りパターンのみを求め、消失訂正を実行する。なお、消失位置である1,8,14番目のライン上には、誤り符号以外に誤りでない符号も多数存在している(空消失)。このような誤りでない符号に対する消失パターンは0になる。
【0014】
以上のように、横方向の符号に検出訂正、縦方向の符号に消失訂正を行なうことにより、すべての誤り符号が訂正されることになる。
【0015】
【発明が解決しようとする課題】
前述のように、消失訂正は検出訂正に比べて高い(2倍の)訂正能力を有している。したがって、積符号を用いた誤り訂正能力の向上を図るために、縦方向のPO系列の符号に対しては消失訂正が行なわれるのが普通である。
【0016】
しかしながら、先行する横方向のPI系列の符号の訂正の際に誤訂正が生じていた場合には、このような誤り符号が消失位置として取扱われない可能性がある。すなわち、訂正のための演算が正確に行なわれたとしても訂正結果が必ずしも正しくない場合が起こり得るものであり、そのような誤り訂正が消失位置(たとえば図6から図8のライン1,8,14以外に存在するような場合には、縦方向のPO系列のそれぞれのラインの中には、消失位置以外に誤り符号が存在するようなラインが出てくることになる。
【0017】
したがって、そのようなラインの符号に対しては消失訂正が正しく機能しなくなる。この結果、消失訂正実行後に、訂正されない符号が残留したり、訂正されなくてもよい符号が訂正されて誤りとなってしまうなど、訂正能力の低下が生じるおそれがある。
【0018】
この発明は、このような問題点を解決するためになされたもので、積符号ブロック化されたデータの符号の誤りの状態に応じて訂正方式を変更することによって、誤訂正を防ぎ、訂正能力を高めた誤り訂正装置および誤り訂正方法を提供することを目的とする。
【0019】
【課題を解決するための手段】
請求項1に係る誤り訂正装置は、異なる方向の誤り訂正符号を付加することによって積符号ブロック化されたデータに対し、各方向の符号の誤り訂正を順次行なう誤り訂正装置であり、第1の方向の符号に対し、ラインごとに誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行する手段と、検出訂正の結果、訂正不能であったラインの位置を消失位置として記憶する手段と、第1の方向とは異なる第2の方向の符号に対し、ラインごとに消失位置以外に符号の誤りが存在するか否かを判定する手段と、消失位置以外に符号の誤りが存在しないことが判定された場合、当該ラインの消失位置に対する消失パターンを算出して符号の誤りを訂正する消失訂正を実行する手段と、消失位置以外に符号の誤りが存在することが判定された場合、当該ラインの誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行する手段とを備えている。
【0020】
請求項2に係る誤り訂正装置は、請求項1の誤り訂正装置において、消失位置以外に符号の誤りが存在するか否かを判定する手段が、当該ラインの第2の方向の符号に対しシンドローム多項式および消失位置多項式を用いて消失数値多項式を算出する手段と、算出された消失数値多項式の次数と、記憶された消失位置の個数とを比較する手段と、比較の結果に基づいて、消失数値多項式の次数が消失位置の個数よりも少なければ消失位置以外に符号の誤りは存在しないと判定し、それ以外の場合には消失位置以外に符号の誤りが存在すると判定する手段とを含む。
【0021】
請求項3に係る誤り訂正方法は、異なる方向の誤り訂正符号を付加することによって積符号ブロック化されたデータに対し、各方向の符号の誤り訂正を順次行なう誤り訂正方法であり、第1の方向の符号に対し、ラインごとに誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行するステップと、検出訂正の結果、訂正不能であったラインの位置を消失位置として記憶するステップと、第1の方向とは異なる第2の方向の符号に対し、ラインごとに消失位置以外に符号の誤りが存在するか否かを判定するステップと、消失位置以外に符号の誤りが存在しないことが判定された場合、当該ラインの消失位置に対する消失パターンを算出して符号の誤りを訂正する消失訂正を実行するステップと、消失位置以外に符号の誤りが存在することが判定された場合、当該ラインごとに誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行するステップとを備えている。
【0022】
請求項4に係る誤り訂正方法は、請求項3の誤り訂正方法において、消失位置以外に符号の誤りが存在するか否かを判定するステップが、当該ラインの第2の方向の符号に対しシンドローム多項式および消失位置多項式を用いて消失数値多項式を算出するステップと、算出された消失数値多項式の次数と、記憶された消失位置の個数とを比較するステップと、比較の結果に基づいて、消失数値多項式の次数が消失位置の個数よりも少なければ消失位置以外に符号の誤りは存在しないと判定し、それ以外の場合には消失位置以外に符号の誤りが存在すると判定するステップとを含む。
【0023】
【発明の実施の形態】
図1は、この発明による誤り訂正装置を用いた情報受信再生システムの一例としての光ディスク再生システムの構成を示す概略ブロック図である。
【0024】
図1を参照して、光ディスク1から読出された信号は、読み出し二値化回路2によってデジタル信号に変換された後、復調・デフォーマット回路4に与えられ、図5に示す形態の積符号ブロック化されたデータに復調される。この図5に示す形態の1ブロック分のデータは、バッファメモリ5に格納される。
【0025】
一方、サーボ制御回路3は、復調・デフォーマット回路4の出力に基づいて、光ディスク1のドライブ機構(図示せず)をサーボ制御する。復調・デフォーマット回路4およびサーボ制御回路3の動作は、コントローラ8によって制御される。
【0026】
コントローラ8はさらに、バッファメモリ5に格納された1ブロック分のデータに対するデコード(誤り訂正)命令を誤り訂正装置6に与える。誤り訂正装置6は、この命令に応じて、以下に詳述するような誤り訂正をバッファメモリ5に格納されているデータに施す。誤り訂正が施されたデータは、コントローラ8によって制御される出力インタフェース回路7を介してバッファメモリ5から読出される。
【0027】
次に、図2は、図1に示した誤り訂正装置6の構成を詳細に示すブロック図である。図2において、誤り訂正装置6は、バッファメモリ5に格納された積符号ブロック化されたデータの横方向(PI系列)または縦方向(PO系列)の1ライン分のデータを格納するラインバッファ9と、ラインバッファ9に格納されたデータを読出してシンドローム演算を行なうシンドローム演算回路10とを備えている。
【0028】
シンドローム演算回路10で算出されたシンドローム多項式は、誤り位置/数値多項式生成回路11および消失位置/数値多項式生成回路21に与えられる。一方、訂正能力を超える誤り符号の存在するラインがあるときには消失数カウンタ17のカウント値がインクリメントされて消失個数を示し、ラインカウンタ18のライン番号が訂正不能ラインのライン番号、すなわち消失位置として消失位置レジスタ19に格納される。
【0029】
誤り位置/数値多項式生成回路11は、シンドローム多項式をもとに、誤り位置/数値多項式を算出し、消失位置/数値多項式生成回路21は、シンドローム多項式および消失位置レジスタ19に格納された消失位置をもとに、消失位置/数値多項式を算出する。
【0030】
誤り位置/数値多項式生成回路11で算出された誤り位置多項式および消失位置/数値多項式生成回路21で算出された消失数値多項式は次数演算回路12に与えられ、各位置多項式の次数が算出される。一方、誤り位置/数値多項式生成回路11で算出された誤り位置/数値多項式および消失位置/数値多項式生成回路21で算出された消失位置/数値多項式は誤りパターン生成訂正回路13にも与えられ、誤りパターンおよび消失パターンが算出される。誤り数カウンタ15は、誤りパターン生成訂正回路13で検出された誤りの個数をカウントする。
【0031】
選択回路22は、消失数カウンタ17でカウントされた消失個数または誤り数カウンタ15でカウントされた誤りの個数のいずれかを選択して比較回路16に与える。比較回路16は、このように与えられたカウンタ出力と、次数演算回路12によって算出された位置多項式の次数とを比較し、その比較結果をシーケンスコントローラ20に与える。
【0032】
シーケンスコントローラ20は、ラインバッファ9と、シンドローム演算回路10と、誤り位置/数値多項式生成回路11と、誤りパターン生成訂正回路13と、誤り数カウンタ15と、消失数カウンタ17と、ラインカウンタ18と、消失位置レジスタ19と、消失位置/数値多項式生成回路21と、選択回路22とを制御する。
【0033】
次に、図3は、図2の誤り訂正装置6を用いたPI系列の検出訂正動作を示すフロー図である。まず、図2および図3を参照して、この発明の実施の形態によるPI系列の検出訂正動作について説明する。
【0034】
PI系列の検出訂正がスタートすると、まずステップS1においてラインカウンタ18および消失数カウンタ17のそれぞれのカウント値がリセットされる。
【0035】
次に、ステップS2において、PI系列(横方向)の1ライン分のデータがバッファメモリ5からラインバッファ9に読込まれる。次に、ステップS3において、シンドローム演算回路10により、ラインバッファ9からデータが読出され、次式で定義されるシンドローム多項式S(x)の係数Sが算出される。
【0036】
【数1】

Figure 0003583903
【0037】
ここで、(1)式はシンドローム多項式の係数Sを表示し、(2)式はシンドローム多項式S(x)そのものを表示している。(1)式におけるαは、ガロア体GF(2)の元であり、γはPI系列の符号(シンボル)を表わしている。
【0038】
次に、ステップS4において、誤り位置/数値多項式生成回路11は、上述のシンドローム多項式S(x)の係数Sをもとに、次式で定義される誤り位置多項式σ(x)および誤り数値多項式ω(x)の係数を求める。
【0039】
【数2】
Figure 0003583903
【0040】
ここで、(3),(4)式は誤り位置多項式σ(x)を表わし、(5),(6)式は誤り数値多項式ω(x)を表わしている。ここでEは誤りの集合を表わし、Lは符号上の誤り位置を示している。これらの多項式の係数とは、具体的には次式で示すものである。
【0041】
【数3】
Figure 0003583903
【0042】
ここで、上述のシンドローム多項式の係数から、誤り位置多項式および誤り数値多項式の係数を算出するための方法として、ピーターンアルゴリズム、ユークリッドアルゴリズム等が考えられるが、いずれの方法を用いて誤り位置/数値多項式生成回路11を構成してもよい。
【0043】
またステップS4においては、次数演算回路12により、誤り位置多項式σ(x)の次数も求められる。
【0044】
次に、ステップS5において、誤りパターン生成訂正回路13は、誤りパターンを算出して誤り訂正を行なう。誤りのパターンは次式のように求められる。
【0045】
【数4】
Figure 0003583903
【0046】
ここで、(7)式を満たすLはi番目の誤り位置を表わしており、おのLに対して(8)式を計算することにより、誤りパターンeが求められる。このように(7)式が成り立つか否かを判定してLを求める方法はチェンサーチ法として知られている。
【0047】
一方、(8)式におけるσ′(x)はσ(x)の形式微分を表わし、次式によって定義される。
【0048】
【数5】
Figure 0003583903
【0049】
上記の(7),(8)および(9)式における、次式に列挙する要素は、誤りパターン生成訂正回路13により生成される。
【0050】
【数6】
Figure 0003583903
【0051】
また、(8)式の誤りパターンeも誤りパターン生成訂正回路13により生成される。そして、(7)式が成立する場合にのみ、ステップS5においてラインバッファ9に格納されているシンボルの訂正が行なわれる。
【0052】
上述のチェンサーチ法により誤りパターン生成訂正回路13で検出された誤り符号の数は誤り数カウンタ15によりカウントされる。ここで誤り位置/数値多項式生成回路11によって求められた誤り位置多項式が正確なものであれば、検出される誤りの数と誤り位置多項式の次数とが一致するはずである。したがって、符号長nのデータに対してチェンサーチ法による誤り検出が終了した後、ステップS6において、比較回路16により、次数演算回路12から出力される誤り位置多項式の次数dimσと誤りカウンタ15の出力nとを比較することにより、訂正の正誤判定がなされる。
【0053】
すなわち、ステップS6において両者が互いに一致すれば訂正は正しいと判断され、ラインバッファ9の訂正済みの符号(情報シンボル)がバッファメモリ5へ書き戻される(ステップS7)。一方、ステップS6において両者が互いに一致しなければ、誤りの数が訂正能力を超えていたと判断し、消失数カウンタ17のカウント値をインクリメントする(ステップS9)とともに、そのときのラインカウンタ18のカウント値であるライン番号を消失位置として消失位置レジスタ19に格納する(ステップS9)。この記憶された消失位置は、後述するPO系列の訂正を行なう際に消失ライン情報として利用される。
【0054】
以上のように、1ライン分のデータの訂正が終了するか(ステップS7)、または訂正不能が判断され消失ライン情報が記憶されると(ステップS9)、ラインカウンタ18はインクリメントされ(ステップS10)、以上のステップS1〜S10の誤り訂正動作をPI系列の各ラインごとに繰返す。
【0055】
ステップS11において、PI系列のすべてのラインに対する訂正が終了したことが判定されると、ステップS12において、PI系列の検出動作は終了し、消失数カウンタ17には消失個数が、消失位置レジスタ19にはPO系列での消失位置が格納されていることになる。
【0056】
なお、上述のステップS1〜S12の動作は、シーケンスコントローラ20によって制御される。
【0057】
次に、PO系列(縦方向)のラインでは、上述のPI系列と同様の検出訂正の他に、消失ラインカウンタ17の消失個数が2t(tは検出訂正における最大訂正能力)個以下の場合には、消失訂正が可能である。
【0058】
図4は、図2の誤り訂正装置6を用いたPO系列の消失訂正動作を示すフロー図である。以下に、図2および図4を参照して、この発明の実施の形態による消失訂正動作について説明する。
【0059】
PO系列の消失訂正がスタートすると、まず、ステップS101において、ラインカウンタ18のカウント値がリセットされる。
【0060】
次に、ステップS102において、PO系列(縦方向)の1ライン分のデータがバッファメモリ5からラインバッファ9に読込まれる。次に、ステップS103において、シンドローム演算回路10により、ラインバッファ9からデータが読出され、(1),(2)式で定義されるPI系列のシンドローム多項式S(x)に対応するPO系列のシンドローム多項式S(x)の係数Sが演算される。この場合、(1)式のγはPO系列のシンボルを表わしているものとする。また、(1),(2)式のn,tはPO系列の場合n,tとしてそれぞれ表現されることになる。
【0061】
次に、ステップS104において、消失位置/数値多項式生成回路21は、次の(10)式で定義される消失位置レジスタ19の消失位置に基づいて、消失位置多項式を求める。
【0062】
【数7】
Figure 0003583903
【0063】
また、消失位置/数値多項式生成回路21は、シンドローム多項式および(10)式の消失位置多項式に基づいて、次の(11)式で定義される消失数値多項式を求める。
【0064】
【数8】
Figure 0003583903
【0065】
ここで、消失訂正では、前述のように予めわかっている消失位置以外に符号の誤りが存在すると、正確な訂正を行なうことができなくなり誤訂正となる。消失位置以外に誤りが存在するか否かは、次数演算回路12によって求められた、消失数値多項式(11)式の次数と、消失数カウンタ17の値とを比較することにより、検出することができる。
【0066】
したがって、ステップS105において、次式に示す比較が比較回路16により行なわれる。
【0067】
【数9】
Figure 0003583903
【0068】
ここで(12)式の左辺は、次数演算回路12で求められた消失数値多項式の次数であり、右辺は消失数カウンタ17の示す消失個数である。上記(12)式が成り立てば、消失位置以外に誤りは存在しないものと判断し、誤りパターン生成訂正回路13は消失訂正を実行する(ステップS106)。一方、(12)式が成り立たない場合は、消失位置以外に誤りが存在するため、そのまま消失訂正を実行すると誤訂正が生じてしまう。
【0069】
上述の(12)式が成立し、消失訂正が可能な場合には、ステップS106において、誤りパターン生成訂正回路13により消失パターンが生成される。
【0070】
次に、消失位置すなわち次式を満たすLが求められる。
【0071】
【数10】
Figure 0003583903
【0072】
次に、このLに対して次式が求められる。
【0073】
【数11】
Figure 0003583903
【0074】
消失パターンεを用いて、ラインバッファ9内のシンボルの訂正が行なわれ(ステップS106)、訂正された符号はバッファメモリ5に書き戻される(ステップS107)。
【0075】
一方、上述の(12)式が成立せず、消失訂正が不可能な場合には、検出訂正を行なう。すなわち、ステップS103において、シンドローム演算回路10によって算出されたシンドローム多項式の係数に基づいて、ステップS108において、誤り位置/数値多項式生成回路11は、誤り位置多項式および誤り数値多項式を生成し、次数演算回路12は、誤り位置多項式の次数を算出する。
【0076】
ステップS109において、誤りパターン生成訂正回路13は、誤りパターンを求めるのに必要な下記の値を求める。
【0077】
【数12】
Figure 0003583903
【0078】
ステップS109において、誤りパターン生成訂正回路13はさらに、次式を満たすLに対する誤りパターンを生成し、ラインバッファ9内のシンボルを訂正する。
【0079】
【数13】
Figure 0003583903
【0080】
次に、ステップS110において、次数演算回路12から出力される誤り位置多項式の次数と、誤り数カウンタ15のカウント値とが、比較回路16で比較される。一致すれば訂正は正しいと判断され、ラインバッファ9内の訂正済みのシンボルがバッファメモリ5へ書き戻される(ステップS111)。
【0081】
このようにして、消失訂正または検出訂正により、PO系列の1ライン分の訂正が終了するごとに、ステップS112において、ラインカウンタ18はインクリメントされる。以上のステップS101〜S112の誤り訂正動作をPO系列の各ラインごとに繰返す。
【0082】
ステップS113において、PO系列のすべてのラインに対する訂正が終了したことが判定されると、ステップS114においてPO系列の検出訂正は終了する。
【0083】
なお、以上のステップS101〜S114の動作は、シーケンスコントローラ20によって制御される。
【0084】
以上のように、図2に示した誤り訂正装置6によれば、PI系列に対しては検出訂正を行ない、PO系列に対してはラインごとに消失訂正の可否を判断し、そのまま消失訂正を行なえば誤訂正となることが判定された場合には、訂正方式を検出訂正に切換えているので、誤訂正を防止することができる。また、たとえ検出訂正に切換えたとしても、誤りの数がt個までであれば訂正を行なうことができるので、全体として訂正能力の向上が期待できる。
【0085】
【発明の効果】
以上のように、この発明によれば、異なる方向の誤り訂正符号を付加することによって積符号ブロック化されたデータに対し、第1の方向の符号に対してラインごとに検出訂正を実行し、その結果訂正不能であったラインの位置を消失位置として記憶し、第2の方向の符号に対しこの消失位置以外に符号の誤りが存在するか否かをラインごとに判定し、存在しない場合には第2の方向の符号に対して消失訂正を実行し、存在する場合には第2の方向の符号に対して検出訂正を実行するように構成したので、消失位置以外に誤り符号が存在するような場合にも、誤訂正が生じることを防止することができ、誤り訂正能力の向上を図ることができる。
【図面の簡単な説明】
【図1】この発明による誤り訂正装置を用いた光ディスク再生システムの構成を示す概略ブロック図である。
【図2】図1に示した誤り訂正装置の構成を示すブロック図である。
【図3】図2の誤り訂正装置を用いたPI系列の検出訂正動作を示すフロー図である。
【図4】図2の誤り訂正装置を用いたP0系列の消失訂正動作を示すフロー図である。
【図5】積符号がデジタルデータに付加される態様を模式的に示す図である。
【図6】積符号が付加されたデータの誤りが訂正されていく過程を模式的に示す図である。
【図7】積符号が付加されたデータの誤りが訂正されていく過程を模式的に示す図である。
【図8】積符号が付加されたデータの誤りが訂正されていく過程を模式的に示す図である。
【符号の説明】
1 光ディスク
2 読み出し二値化回路
3 サーボ制御回路
4 復調デフォーマット回路
5 バッファメモリ
6 誤り訂正装置
7 出力インタフェース回路
8 コントローラ
9 ラインバッファ
10 シンドローム演算回路
11 誤り位置/数値多項式生成回路
12 次数演算回路
13 誤りパターン生成訂正回路
15 誤り数カウンタ
16 比較回路
17 消失数カウンタ
18 ラインカウンタ
19 消失位置レジスタ
20 シーケンスコントローラ
21 消失位置/数値多項式生成回路
22 選択回路[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an error correction device and an error correction method, and more particularly, to an error correction device and an error correction method for sequentially performing error correction of a code in each direction on reception reproduction data divided into product codes in a digital data reception reproduction system. Regarding the correction method.
[0002]
[Prior art]
In an environment in which data is digitally transmitted and processed, such as a digital transmission system and a peripheral device of a computer, an error correction code is generally used in order to improve the reliability of digital data. In particular, recently, with the improvement of the data processing capability on the digital data receiving / reproducing side, an error correction code having a high correction capability has been used. A typical example of such an error correction code is a product code of a long distance code having a large code length and redundancy.
[0003]
FIG. 5 is a diagram schematically illustrating a mode in which such a product code is added to digital data (information symbols). Referring to FIG. 5, a product code is generally a combination of error correction codes in different vertical and horizontal directions, and more specifically, a parity PO of an outer code added in a vertical direction of an information symbol and a parity PO of an outer code. , An information symbol, and a parity PI of an inner code added in the horizontal direction of the PO.
[0004]
As each error correction code, a Reed-Solomon (RS) code capable of performing error correction in byte units is often used. In the example of FIG. 5, the error correction code in the PO direction has a code length n. o , Information length k o , Minimum distance d o And the error correction code in the PI direction has a code length n i , Information length k i , Minimum distance d i RS code.
[0005]
Here, d i = 2t i +1, d o = 2t o It is assumed that the relationship of +1 holds.
[0006]
Decoding (error correction) on the receiving / reproducing side of the product code-blocked data to which the RS error correction codes in two directions are added as described above is generally performed by repeating the error correction of the code in each direction. . As a method of error correction itself, there are two types of detection correction and erasure correction described below.
[0007]
Detection correction consists of the following three steps:
(1) Find a syndrome polynomial from the received and reproduced code;
(2) calculating an error location polynomial and an error numerical polynomial from the syndrome polynomial;
(3) An error position is obtained from the error position polynomial by the Chien search method, and an error pattern for the position is obtained to perform error correction.
[0008]
On the other hand, erasure correction determines only an error pattern on the assumption that the position (erasure position) of an error code (symbol) is known in advance. That is, as a result of performing error correction (detection correction) of a code in one direction on the product code-blocked data, the position of a line that cannot be corrected (an error code and another code coexist) Is stored as the erasure position, the position of the erroneous code is known in advance when performing the error correction of the code in the other direction, and it is not necessary to find the error position again. That is, in the erasure correction, only the error pattern needs to be obtained, and only one of the erasure numerical polynomials needs to be obtained from the syndrome polynomial as compared with the detection and correction. Therefore, the correction capability is twice that of the detection correction.
[0009]
Such an erasure correction is roughly composed of the following three steps:
(1) Find a syndrome polynomial from the received and reproduced code;
(2) correcting the syndrome polynomial by using the erasure position polynomial obtained from the erasure position to obtain an erasure numerical polynomial;
(3) Error correction is performed for an erasure position by obtaining an erasure pattern.
[0010]
Next, FIGS. 6 to 8 are diagrams schematically showing an example of a process in which errors in data to which a product code is added are being corrected. Each of FIGS. 6 to 8 corresponds to the entire structure of the product-code-blocked data in FIG. 5, and for the sake of simplicity, a PO of parity length 4 and a PI of parity length 6 are added to information symbols. It is assumed that Black portions in the figure indicate erroneous codes (symbols). The hatched portion indicates a code (symbol) in which an error has been corrected.
[0011]
Referring to FIG. 6, first, the above-described detection and correction is performed for each line of a PI sequence composed of horizontal codes. In this detection and correction, for example, it is assumed that up to three error codes can be corrected for each line.
[0012]
Therefore, as shown in FIG. 7, no correction is performed on the first, eighth, and 14th lines in which four or more erroneous codes exist, assuming that the number of error codes exceeds the correction capability. Error codes on other lines are corrected by detection and correction.
[0013]
Next, referring to FIG. 8, the above-described erasure correction is performed for each line of the PO sequence composed of codes in the vertical direction. Here, for each line of the PO sequence, an error remains only on the first, eighth, and 14th horizontal lines that could not be corrected by the PI sequence. Therefore, the erasure correction is performed by determining only the error pattern using the first, eighth, and 14th horizontal lines as the error position (erasure position) without re-determining the error position. In addition, on the 1st, 8th, and 14th lines, which are the erasure positions, there are many non-error codes other than the error codes (empty erasure). The erasure pattern for such a non-error code is zero.
[0014]
As described above, by performing detection correction on horizontal codes and erasure correction on vertical codes, all error codes are corrected.
[0015]
[Problems to be solved by the invention]
As described above, erasure correction has a higher (double) correction capability than detection correction. Therefore, in order to improve the error correction capability using a product code, erasure correction is generally performed on a code of a vertical PO series.
[0016]
However, if an erroneous correction has occurred during the correction of the preceding horizontal PI sequence code, such an error code may not be treated as an erasure position. In other words, even if the operation for correction is correctly performed, the result of the correction may not always be correct, and such error correction may be performed at the erasure position (for example, lines 1, 8, and In the case where there is a line other than 14, a line in which an error code exists other than the erasure position appears in each line of the vertical PO sequence.
[0017]
Therefore, erasure correction does not function correctly for such a line code. As a result, after the erasure correction is performed, there is a possibility that a code that is not corrected remains, or a code that does not need to be corrected is corrected and an error occurs.
[0018]
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and prevents erroneous correction by changing a correction method according to an error state of a code of product-code-blocked data, thereby preventing erroneous correction. It is an object of the present invention to provide an error correction device and an error correction method in which the error correction is improved.
[0019]
[Means for Solving the Problems]
An error correction apparatus according to claim 1 is an error correction apparatus for sequentially performing error correction of a code in each direction to data product-blocked by adding error correction codes in different directions. Means for detecting and correcting the error of the code by calculating the error position and error pattern for each line for the code in the direction, and storing the position of the line that could not be corrected as a result of the detection and correction as an erasure position Means for determining whether there is a code error other than the erasure position for each line for a code in a second direction different from the first direction; If it is determined that there is no erasure, a means for performing an erasure correction for calculating an erasure pattern for the erasure position of the line and correcting a code error, and the presence of a code error other than the erasure position If it is determined, and a means for performing the detection and correction for correcting errors of the code to calculate the error position and error pattern of the line.
[0020]
An error correction device according to a second aspect of the present invention is the error correction device according to the first aspect, wherein the means for determining whether or not there is a code error other than the erasure position is a syndrome for the code in the second direction of the line. Means for calculating an erasure value polynomial using a polynomial and an erasure position polynomial, means for comparing the degree of the calculated erasure number polynomial, and the number of stored erasure positions, and an erasure value based on a result of the comparison. If the degree of the polynomial is smaller than the number of erasure positions, a means for determining that there is no code error other than the erasure position, and otherwise determining means that a code error exists other than the erasure position.
[0021]
An error correction method according to a third aspect is an error correction method for sequentially performing error correction of a code in each direction to data product-blocked by adding an error correction code in a different direction. Calculating the error position and error pattern for each line for the code in the direction and performing detection and correction to correct the code error; and storing the uncorrectable line position as a lost position as a result of the detection and correction. And determining whether there is a code error other than the erasure position for each line for the code in the second direction different from the first direction. If it is determined that there is no erasure, a step of calculating an erasure pattern for the erasure position of the line and performing erasure correction to correct a code error; If There is judged that the present, and a step of performing detection and correction for correcting errors of the code to calculate an error location and an error pattern for each corresponding line.
[0022]
An error correction method according to a fourth aspect of the present invention is the error correction method according to the third aspect, wherein the step of determining whether or not there is a code error other than the erasure position is performed on the code of the line in the second direction. Calculating the erasure numerical value polynomial using the polynomial and the erasure position polynomial; comparing the calculated degree of the erasure numerical value polynomial with the number of the stored erasure positions; If the degree of the polynomial is smaller than the number of erasure positions, it is determined that no code error exists other than at the erasure position; otherwise, it is determined that a code error exists other than at the erasure position.
[0023]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a schematic block diagram showing a configuration of an optical disk reproduction system as an example of an information reception / reproduction system using an error correction device according to the present invention.
[0024]
Referring to FIG. 1, a signal read from optical disc 1 is converted into a digital signal by read / binarization circuit 2 and then applied to demodulation / deformatting circuit 4, where a product code block of the form shown in FIG. Demodulated into coded data. One block of data in the form shown in FIG. 5 is stored in the buffer memory 5.
[0025]
On the other hand, the servo control circuit 3 servo-controls a drive mechanism (not shown) of the optical disc 1 based on the output of the demodulation / deformatting circuit 4. The operations of the demodulation / deformatting circuit 4 and the servo control circuit 3 are controlled by the controller 8.
[0026]
Further, the controller 8 gives a decoding (error correction) instruction for the data of one block stored in the buffer memory 5 to the error correction device 6. The error correction device 6 performs an error correction described below in detail on the data stored in the buffer memory 5 in response to the instruction. The error-corrected data is read from the buffer memory 5 via the output interface circuit 7 controlled by the controller 8.
[0027]
Next, FIG. 2 is a block diagram showing the configuration of the error correction device 6 shown in FIG. 1 in detail. In FIG. 2, an error correction device 6 includes a line buffer 9 for storing one line of data in the horizontal direction (PI sequence) or the vertical direction (PO sequence) of the product code-blocked data stored in the buffer memory 5. And a syndrome operation circuit 10 for reading data stored in the line buffer 9 and performing a syndrome operation.
[0028]
The syndrome polynomial calculated by the syndrome calculation circuit 10 is provided to an error position / numerical value polynomial generation circuit 11 and an erasure position / numerical value polynomial generation circuit 21. On the other hand, when there is a line having an error code exceeding the correction capability, the count value of the erasure number counter 17 is incremented to indicate the number of erasures, and the line number of the line counter 18 is the line number of the uncorrectable line, that is, the erasure position. It is stored in the position register 19.
[0029]
The error position / numerical polynomial generation circuit 11 calculates the error position / numerical polynomial based on the syndrome polynomial, and the erasure position / numerical polynomial generation circuit 21 calculates the syndrome polynomial and the erasure position stored in the erasure position register 19. The vanishing position / numerical polynomial is calculated based on this.
[0030]
The error position polynomial calculated by the error position / numerical polynomial generation circuit 11 and the erasure numerical polynomial calculated by the erasure position / numerical polynomial generation circuit 21 are given to an order calculation circuit 12, and the order of each position polynomial is calculated. On the other hand, the error position / numerical polynomial calculated by the error position / numerical polynomial generation circuit 11 and the erasure position / numerical polynomial calculated by the erasure position / numerical polynomial generation circuit 21 are also given to the error pattern generation / correction circuit 13 and A pattern and a disappearance pattern are calculated. The error number counter 15 counts the number of errors detected by the error pattern generation and correction circuit 13.
[0031]
The selection circuit 22 selects one of the number of erasures counted by the erasure number counter 17 and the number of errors counted by the error number counter 15 and supplies the selected number to the comparison circuit 16. The comparison circuit 16 compares the counter output given in this way with the order of the position polynomial calculated by the order calculation circuit 12, and gives the comparison result to the sequence controller 20.
[0032]
The sequence controller 20 includes a line buffer 9, a syndrome operation circuit 10, an error position / numerical polynomial generation circuit 11, an error pattern generation and correction circuit 13, an error counter 15, an erasure counter 17, and a line counter 18. , The erasure position register 19, the erasure position / numerical polynomial generation circuit 21, and the selection circuit 22.
[0033]
Next, FIG. 3 is a flowchart showing a PI sequence detection / correction operation using the error correction device 6 of FIG. First, a PI sequence detection / correction operation according to the embodiment of the present invention will be described with reference to FIGS.
[0034]
When detection and correction of the PI sequence are started, first, in step S1, the count values of the line counter 18 and the erasure number counter 17 are reset.
[0035]
Next, in step S2, one line of data in the PI sequence (horizontal direction) is read from the buffer memory 5 into the line buffer 9. Next, in step S3, data is read from the line buffer 9 by the syndrome arithmetic circuit 10, and the coefficient S of the syndrome polynomial S (x) defined by the following equation is calculated. j Is calculated.
[0036]
(Equation 1)
Figure 0003583903
[0037]
Here, equation (1) is the coefficient S of the syndrome polynomial. j And equation (2) represents the syndrome polynomial S (x) itself. Α in the equation (1) is a Galois field GF (2 8 ) And γ i Represents a code (symbol) of the PI sequence.
[0038]
Next, in step S4, the error position / numerical polynomial generation circuit 11 calculates the coefficient S of the syndrome polynomial S (x). j , The coefficients of the error locator polynomial σ (x) and the error numerical polynomial ω (x) defined by the following equation are obtained.
[0039]
(Equation 2)
Figure 0003583903
[0040]
Here, equations (3) and (4) represent the error locator polynomial σ (x), and equations (5) and (6) represent the error numerical polynomial ω (x). Where E represents a set of errors, L i Indicates an error position on the code. The coefficients of these polynomials are specifically represented by the following equations.
[0041]
(Equation 3)
Figure 0003583903
[0042]
Here, as a method for calculating the coefficients of the error locator polynomial and the error numerical polynomial from the coefficients of the syndrome polynomial described above, a P-turn algorithm, a Euclidean algorithm, or the like can be considered. The polynomial generation circuit 11 may be configured.
[0043]
In step S4, the order of the error locator polynomial σ (x) is also obtained by the order calculation circuit 12.
[0044]
Next, in step S5, the error pattern generation and correction circuit 13 calculates an error pattern and performs error correction. The error pattern is obtained as follows.
[0045]
(Equation 4)
Figure 0003583903
[0046]
Here, L satisfying the expression (7) i Represents the ith error position, and each L i By calculating the expression (8) with respect to i Is required. As described above, it is determined whether or not Expression (7) holds, and L i Is known as the Chien search method.
[0047]
On the other hand, σ ′ (x) in Expression (8) represents a formal derivative of σ (x), and is defined by the following expression.
[0048]
(Equation 5)
Figure 0003583903
[0049]
The elements listed in the following equations in the above equations (7), (8) and (9) are generated by the error pattern generation and correction circuit 13.
[0050]
(Equation 6)
Figure 0003583903
[0051]
In addition, the error pattern e in equation (8) i Is also generated by the error pattern generation and correction circuit 13. Then, only when the equation (7) is satisfied, the symbol stored in the line buffer 9 is corrected in step S5.
[0052]
The number of error codes detected by the error pattern generation and correction circuit 13 by the above-described Chien search method is counted by the error number counter 15. Here, if the error location polynomial obtained by the error location / numerical polynomial generation circuit 11 is accurate, the number of detected errors and the order of the error location polynomial should match. Therefore, the code length n i After the error detection by the Chien search method is completed for the data of step (c), in step S6, the degree dimσ of the error locator polynomial output from the degree arithmetic circuit 12 and the output n of the error counter 15 are output by the comparison circuit 16 e Is compared, the correctness of the correction is determined.
[0053]
That is, if they match each other in step S6, it is determined that the correction is correct, and the corrected code (information symbol) of the line buffer 9 is written back to the buffer memory 5 (step S7). On the other hand, if they do not match each other in step S6, it is determined that the number of errors has exceeded the correction capability, the count value of the erasure counter 17 is incremented (step S9), and the count of the line counter 18 at that time is increased. The line number, which is a value, is stored in the erasure position register 19 as an erasure position (step S9). This stored erasure position is used as erasure line information when correcting the PO sequence described later.
[0054]
As described above, when the correction of the data for one line is completed (step S7), or when it is determined that the correction is impossible and the lost line information is stored (step S9), the line counter 18 is incremented (step S10). The above-described error correction operation of steps S1 to S10 is repeated for each line of the PI sequence.
[0055]
In step S11, when it is determined that the correction for all the lines of the PI sequence has been completed, the detection operation of the PI sequence is completed in step S12, Means that the disappearance position in the PO sequence is stored.
[0056]
The operations in steps S1 to S12 are controlled by the sequence controller 20.
[0057]
Next, in the line of the PO series (vertical direction), in addition to the detection and correction similar to the PI series described above, the number of lost lines of the lost line counter 17 is 2t. o (T o Is the maximum correction capability in detection and correction), erasure correction is possible.
[0058]
FIG. 4 is a flowchart showing the erasure correction operation of the PO sequence using the error correction device 6 of FIG. The erasure correction operation according to the embodiment of the present invention will be described below with reference to FIGS.
[0059]
When the erasure correction of the PO sequence is started, first, in step S101, the count value of the line counter 18 is reset.
[0060]
Next, in step S102, one line of data in the PO sequence (vertical direction) is read from the buffer memory 5 into the line buffer 9. Next, in step S103, data is read from the line buffer 9 by the syndrome arithmetic circuit 10, and the PO series syndrome corresponding to the PI series syndrome polynomial S (x) defined by the equations (1) and (2). Coefficient S of polynomial S (x) j Is calculated. In this case, γ in equation (1) i Represents a PO series symbol. Also, n in the expressions (1) and (2) i , T i Is n for PO series o , T o Respectively.
[0061]
Next, in step S104, the erasure position / numerical polynomial generation circuit 21 obtains the erasure position polynomial based on the erasure position of the erasure position register 19 defined by the following equation (10).
[0062]
(Equation 7)
Figure 0003583903
[0063]
Further, the erasure position / numerical polynomial generation circuit 21 obtains an erasure numerical polynomial defined by the following equation (11) based on the syndrome polynomial and the erasure position polynomial of the equation (10).
[0064]
(Equation 8)
Figure 0003583903
[0065]
Here, in the erasure correction, if there is a code error other than the previously known erasure position as described above, accurate correction cannot be performed, resulting in erroneous correction. Whether or not there is an error other than the erasure position can be detected by comparing the degree of the erasure numerical polynomial (11) obtained by the degree operation circuit 12 with the value of the erasure number counter 17. it can.
[0066]
Therefore, in step S105, the comparison expressed by the following equation is performed by the comparison circuit 16.
[0067]
(Equation 9)
Figure 0003583903
[0068]
Here, the left side of the equation (12) is the order of the erasure numerical polynomial obtained by the degree calculation circuit 12, and the right side is the number of erasures indicated by the erasure number counter 17. If the above equation (12) holds, it is determined that there is no error other than the erasure position, and the error pattern generation / correction circuit 13 performs erasure correction (step S106). On the other hand, if the equation (12) does not hold, there is an error other than the erasure position, and if the erasure correction is executed as it is, an erroneous correction will occur.
[0069]
If the above equation (12) is satisfied and erasure correction is possible, an erasure pattern is generated by the error pattern generation and correction circuit 13 in step S106.
[0070]
Next, the disappearance position, that is, L satisfying the following equation: i Is required.
[0071]
(Equation 10)
Figure 0003583903
[0072]
Next, this L i The following equation is obtained for
[0073]
(Equation 11)
Figure 0003583903
[0074]
Vanishing pattern ε i Is used to correct the symbols in the line buffer 9 (step S106), and the corrected code is written back to the buffer memory 5 (step S107).
[0075]
On the other hand, if the above equation (12) does not hold and erasure correction is impossible, detection and correction are performed. That is, based on the coefficients of the syndrome polynomial calculated by the syndrome calculation circuit 10 in step S103, the error position / numerical polynomial generation circuit 11 generates an error position polynomial and an error numerical polynomial in step S108. 12 calculates the order of the error locator polynomial.
[0076]
In step S109, the error pattern generation and correction circuit 13 obtains the following values required for obtaining the error pattern.
[0077]
(Equation 12)
Figure 0003583903
[0078]
In step S109, the error pattern generation and correction circuit 13 further performs L i Is generated, and the symbol in the line buffer 9 is corrected.
[0079]
(Equation 13)
Figure 0003583903
[0080]
Next, in step S110, the degree of the error locator polynomial output from the degree arithmetic circuit 12 and the count value of the error number counter 15 are compared by the comparison circuit 16. If they match, the correction is determined to be correct, and the corrected symbol in the line buffer 9 is written back to the buffer memory 5 (step S111).
[0081]
In this way, each time the correction for one line of the PO sequence is completed by the erasure correction or the detection correction, the line counter 18 is incremented in step S112. The error correction operation of steps S101 to S112 is repeated for each line of the PO sequence.
[0082]
If it is determined in step S113 that the correction for all the lines of the PO sequence has been completed, the detection and correction of the PO sequence ends in step S114.
[0083]
The operations of steps S101 to S114 are controlled by the sequence controller 20.
[0084]
As described above, according to the error correction device 6 shown in FIG. 2, the PI sequence is detected and corrected, and the PO sequence is determined on a line-by-line basis as to whether or not erasure correction is possible. If it is determined that an erroneous correction will be made if the correction is performed, the erroneous correction can be prevented because the correction method is switched to the detection correction. Even if the mode is switched to the detection and correction, the number of errors is t o Since the correction can be performed up to the number, the improvement of the correction capability can be expected as a whole.
[0085]
【The invention's effect】
As described above, according to the present invention, detection and correction are performed line by line with respect to a code in a first direction with respect to data product-blocked by adding error correction codes in different directions, As a result, the position of the line that could not be corrected is stored as an erasure position, and it is determined for each line whether or not a code error exists in the code in the second direction other than the erasure position. Is configured to perform erasure correction on the code in the second direction and, if present, perform detection and correction on the code in the second direction. Therefore, there is an error code other than the erasure position. In such a case, it is possible to prevent erroneous correction from occurring, and to improve the error correction capability.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing a configuration of an optical disk reproduction system using an error correction device according to the present invention.
FIG. 2 is a block diagram showing a configuration of the error correction device shown in FIG.
FIG. 3 is a flowchart showing a PI sequence detection / correction operation using the error correction device of FIG. 2;
FIG. 4 is a flowchart showing an erasure correction operation of a P0 sequence using the error correction device of FIG. 2;
FIG. 5 is a diagram schematically illustrating a mode in which a product code is added to digital data.
FIG. 6 is a diagram schematically illustrating a process in which errors in data to which a product code is added are corrected.
FIG. 7 is a diagram schematically illustrating a process in which errors in data to which a product code is added are corrected.
FIG. 8 is a diagram schematically illustrating a process in which an error in data to which a product code is added is corrected.
[Explanation of symbols]
1 optical disk
2 Readout binarization circuit
3 Servo control circuit
4 Demodulation Deformat Circuit
5 Buffer memory
6 Error correction device
7. Output interface circuit
8 Controller
9 line buffer
10. Syndrome arithmetic circuit
11 Error location / numerical polynomial generation circuit
12th order arithmetic circuit
13 Error pattern generation and correction circuit
15 Error counter
16 Comparison circuit
17 Elimination counter
18 line counter
19 Erasure position register
20 Sequence controller
21 Erasure position / numerical polynomial generation circuit
22 Selection circuit

Claims (4)

異なる方向の誤り訂正符号を付加することによって積符号ブロック化されたデータに対し、各方向の符号の誤り訂正を順次行なう誤り訂正装置であって、
第1の方向の符号に対し、ラインごとに誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行する手段と、
前記検出訂正の結果、訂正不能であったラインの位置を消失位置として記憶する手段と、
前記第1の方向とは異なる第2の方向の符号に対し、ラインごとに前記消失位置以外に符号の誤りが存在するか否かを判定する手段と、
前記消失位置以外に符号の誤りが存在しないことが判定された場合、当該ラインの前記消失位置に対する消失パターンを算出して符号の誤りを訂正する消失訂正を実行する手段と、
前記消失位置以外に符号の誤りが存在することが判定された場合、当該ラインの誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行する手段とを備えた、誤り訂正装置。
An error correction device for sequentially performing error correction of a code in each direction on data product-blocked by adding error correction codes in different directions,
Means for calculating an error position and an error pattern line by line for the code in the first direction, and performing detection and correction for correcting the code error;
As a result of the detection and correction, means for storing the position of the uncorrectable line as a lost position,
Means for determining, for a code in a second direction different from the first direction, whether there is a code error other than the erasure position for each line,
When it is determined that there is no code error other than the erasure position, means for performing erasure correction to correct a code error by calculating an erasure pattern for the erasure position of the line,
Means for calculating an error position and an error pattern of the line and performing detection and correction for correcting the code error when it is determined that a code error exists other than the erasure position. .
前記消失位置以外に符号の誤りが存在するか否かを判定する手段は、
当該ラインの前記第2の方向の符号に対しシンドローム多項式および消失位置多項式を用いて消失数値多項式を算出する手段と、
前記算出された消失数値多項式の次数と、前記記憶された消失位置の個数とを比較する手段と、
前記比較の結果に基づいて、前記消失数値多項式の次数が前記消失位置の個数よりも少なければ消失位置以外に符号の誤りは存在しないと判定し、それ以外の場合には消失位置以外に符号の誤りが存在すると判定する手段とを含む、請求項1に記載の誤り訂正装置。
Means for determining whether there is a code error other than the erasure position,
Means for calculating an erasure numerical polynomial using a syndrome polynomial and an erasure position polynomial for the code in the second direction of the line;
Means for comparing the degree of the calculated erasure numerical polynomial and the number of the stored erasure positions,
Based on the result of the comparison, if the degree of the erasure numerical polynomial is smaller than the number of the erasure positions, it is determined that there is no code error other than the erasure position. 2. The error correction device according to claim 1, further comprising: means for determining that an error exists.
異なる方向の誤り訂正符号を付加することによって積符号ブロック化されたデータに対し、各方向の符号の誤り訂正を順次行なう誤り訂正方法であって、
第1の方向の符号に対し、ラインごとに誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行するステップと、
前記検出訂正の結果、訂正不能であったラインの位置を消失位置として記憶するステップと、
前記第1の方向とは異なる第2の方向の符号に対し、ラインごとに前記消失位置以外に符号の誤りが存在するか否かを判定するステップと、
前記消失位置以外に符号の誤りが存在しないことが判定された場合、当該ラインの前記消失位置に対する消失パターンを算出して符号の誤りを訂正する消失訂正を実行するステップと、
前記消失位置以外に符号の誤りが存在することが判定された場合、当該ラインの誤り位置および誤りパターンを算出して符号の誤りを訂正する検出訂正を実行するステップとを備えた、誤り訂正方法。
An error correction method for sequentially performing error correction of a code in each direction on data product-blocked by adding error correction codes in different directions,
Calculating the error position and error pattern line by line for the code in the first direction and performing detection and correction to correct the code error;
As a result of the detection and correction, storing the position of the uncorrectable line as a lost position,
Determining, for a code in a second direction different from the first direction, whether or not there is a code error other than the erasure position for each line;
If it is determined that there is no code error other than the erasure position, executing erasure correction to correct the code error by calculating the erasure pattern for the erasure position of the line,
Performing a detection and correction to correct the code error by calculating an error position and an error pattern of the line when it is determined that a code error exists other than the erasure position. .
前記消失位置以外に符号の誤りが存在するか否かを判定するステップは、
当該ラインの前記第2の方向の符号に対しシンドローム多項式および消失位置多項式を用いて消失数値多項式を算出するステップと、
前記算出された消失数値多項式の次数と、前記記憶された消失位置の個数とを比較するステップと、
前記比較の結果に基づいて、前記消失数値多項式の次数が前記消失位置の個数よりも少なければ消失位置以外に符号の誤りは存在しないと判定し、それ以外の場合には消失位置以外に符号の誤りが存在すると判定するステップとを含む、請求項3に記載の誤り訂正方法。
The step of determining whether there is a code error other than the erasure position,
Calculating an erasure numerical polynomial using a syndrome polynomial and an erasure position polynomial for the code in the second direction of the line;
Comparing the degree of the calculated erasure numerical polynomial with the number of the stored erasure positions,
Based on the result of the comparison, if the degree of the erasure numerical polynomial is smaller than the number of the erasure positions, it is determined that there is no code error other than the erasure position. Determining the presence of an error.
JP19104797A 1997-07-16 1997-07-16 Error correction device and error correction method Expired - Fee Related JP3583903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19104797A JP3583903B2 (en) 1997-07-16 1997-07-16 Error correction device and error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19104797A JP3583903B2 (en) 1997-07-16 1997-07-16 Error correction device and error correction method

Publications (2)

Publication Number Publication Date
JPH1141111A JPH1141111A (en) 1999-02-12
JP3583903B2 true JP3583903B2 (en) 2004-11-04

Family

ID=16268013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19104797A Expired - Fee Related JP3583903B2 (en) 1997-07-16 1997-07-16 Error correction device and error correction method

Country Status (1)

Country Link
JP (1) JP3583903B2 (en)

Also Published As

Publication number Publication date
JPH1141111A (en) 1999-02-12

Similar Documents

Publication Publication Date Title
KR960003094B1 (en) Error correction code generator
US5684810A (en) Error correcting decoder and error correction decoding method
EP0198702B1 (en) Methods of correcting errors in digital data
US6651212B1 (en) Recording/reproduction device, semiconductor memory, and memory card using the semiconductor memory
US6138263A (en) Error correcting method and apparatus for information data having error correcting product code block
US6868517B1 (en) Method and apparatus for checking read errors with two cyclic redundancy check stages
JPH0799503B2 (en) Error correction method for encoded data
JP3583903B2 (en) Error correction device and error correction method
EP0629052B1 (en) Method of and circuit for correcting errors
JP3583905B2 (en) Error correction device
KR100330642B1 (en) Error Correction Method and Error Correction Device
JPH05218883A (en) Decoder circuit
KR100207492B1 (en) Method for testing error correction and apparatus therefor
JP2606647B2 (en) Error correction method
JP3583904B2 (en) Error correction device and error correction method
JP3242682B2 (en) Error correction processor
JP2796291B2 (en) Error correction method
JP2578740B2 (en) Error correction method
JPH07112160B2 (en) Decoding method of error correction code
JP4129608B2 (en) Reed-Solomon code setting method
JP2647646B2 (en) Error correction method
KR19980074516A (en) An error correction method and an apparatus therefor for reproducing a digital signal
JPH1141110A (en) Error correcting device and error correcting method
JP2000101447A (en) Device and method of error correction
JPH0897730A (en) Error correction device and method thereof

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: 20040720

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040730

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

Free format text: PAYMENT UNTIL: 20070806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080806

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090806

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees