JP2605269B2 - Error correction method - Google Patents

Error correction method

Info

Publication number
JP2605269B2
JP2605269B2 JP62026081A JP2608187A JP2605269B2 JP 2605269 B2 JP2605269 B2 JP 2605269B2 JP 62026081 A JP62026081 A JP 62026081A JP 2608187 A JP2608187 A JP 2608187A JP 2605269 B2 JP2605269 B2 JP 2605269B2
Authority
JP
Japan
Prior art keywords
error
symbols
correction
error correction
code
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 - Lifetime
Application number
JP62026081A
Other languages
Japanese (ja)
Other versions
JPS63193722A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP62026081A priority Critical patent/JP2605269B2/en
Publication of JPS63193722A publication Critical patent/JPS63193722A/en
Application granted granted Critical
Publication of JP2605269B2 publication Critical patent/JP2605269B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディジタルオーディオディスク(所謂コ
ンパクトディスク)の再生信号のエラー訂正に適用され
るエラー訂正方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction method applied to error correction of a reproduction signal of a digital audio disk (a so-called compact disk).

〔従来の技術〕[Conventional technology]

コンパクトディスクで採用されているエラー訂正符号
は、CIRC訂正符号(クロスインターリーブ・リードソロ
モン符号)と称されている。CIRC訂正符号では、第1の
配列状態にある2チャンネルステレオオーディオデータ
の24シンボル(1シンボルは、オーディオサンプルの上
位側又は下位側の8ビット)に対して、(28,24)リー
ドソロモン符号(C2符号)の符号化がされ、次にインタ
ーリーブによってデータの配列が第1の配列状態から第
2の配列状態に並び替えられ、第2の配列状態にある28
シンボルに関して、(32,28)リードソロモン符号(C1
符号)の符号化がされる。
The error correction code used in the compact disc is called a CIRC correction code (cross-interleaved Reed-Solomon code). In the CIRC correction code, the (28,24) Reed-Solomon code (28,24) is used for 24 symbols (one symbol is the upper 8 bits or lower 8 bits of the audio sample) of the 2-channel stereo audio data in the first arrangement state. (C2 code), and then the data array is rearranged from the first array state to the second array state by interleaving.
For symbols, the (32,28) Reed-Solomon code (C1
Sign) is encoded.

CIRC訂正符号を復号する場合には、C1復号がされ、次
に、インターリーブと相補的なディインターリーブがさ
れ、更にC2復号がされる。CIRC訂正符号の復号方法とし
ては、特開昭57−10557号公報,特開昭57−10558号公
報,特開昭57−10559号公報,特開昭57−10560号公報,
特開昭57−10561号公報,特開昭57−24143号公報に記載
されたものが知られている。また、リードソロモン符号
の復号方法としては、特開昭57−25047号公報,特開昭6
0−197020号公報に記載されたものが知られている。従
来のCIRC訂正符号の復号方法では、初段のC1複合におい
て、2重エラー訂正までを行い、次段のC2復号では、C1
復号において得られたポインタ情報を参照して2重エラ
ー訂正がなされる。
When decoding the CIRC correction code, C1 decoding is performed, then deinterleaving complementary to interleaving is performed, and further C2 decoding is performed. As a decoding method of the CIRC correction code, there are disclosed Japanese Patent Application Laid-Open No. 57-10557, Japanese Patent Application Laid-Open No. 57-10558, Japanese Patent Application Laid-Open No. 57-10559, Japanese Patent Application Laid-Open No. 57-10560,
The ones described in JP-A-57-10561 and JP-A-57-24143 are known. As a method for decoding a Reed-Solomon code, Japanese Patent Application Laid-Open Nos.
What is described in JP-A-197020 is known. In the conventional CIRC correction code decoding method, up to double error correction is performed in the first-stage C1 composite, and in the next-stage C2 decoding, C1
Double error correction is performed with reference to the pointer information obtained in the decoding.

エラー訂正符号の復号方法の一つとして、既知のポイ
ンタ情報によってエラーシンボルのエラーロケーション
が指示され、このエラーシンボルに対して訂正を行うイ
レージャ訂正が知られている。上述のC1符号及びC2符号
は、共に消失なしで2重エラーまでの訂正が可能であ
り、消失があれば、4重エラーまで訂正可能である。従
って、エラー訂正能力を高くするには、イレージャ訂正
を行えば良く、特に、イレージャ訂正は、バーストエラ
ーに対して効果的である。一方、イレージャ訂正を行う
には、エラーロケーションを前もってポインタ情報から
知っておく必要があり、然も、ポインタ情報の信頼性が
高いことが必要である。
As one of the decoding methods of the error correction code, an erasure correction in which an error location of an error symbol is indicated by known pointer information and the error symbol is corrected is known. Both the C1 code and the C2 code can correct up to a double error without erasure, and can correct up to a quadruple error if there is an erasure. Therefore, erasure correction may be performed to increase the error correction capability. In particular, erasure correction is effective for burst errors. On the other hand, to perform erasure correction, it is necessary to know the error location from the pointer information in advance, and it is necessary that the pointer information be highly reliable.

従来のCIRC訂正符号の符号方法では、C1復号器では、
2重エラー訂正まで行い、そのときに3重エラーが生じ
るおそれがあるので、C1ポインタを次段のC2復号器に送
り、C2復号器では、C1ポインタを利用してエラー訂正を
行っている。このC2復号器でイレージャ訂正を行うこと
により、エラー訂正能力を高くすることが考えられる。
In the conventional CIRC correction code coding method, in the C1 decoder,
Since double error correction is performed and a triple error may occur at that time, the C1 pointer is sent to the next-stage C2 decoder, and the C2 decoder performs error correction using the C1 pointer. By performing erasure correction with this C2 decoder, it is conceivable to increase the error correction capability.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

従来のCIRC訂正符号では、第6図に示すように、C1符
号の系列(C1系列)は、隣接する2フレーム(1フレー
ム:32シンボル)に交互に含まれる32シンボルにより形
成されており、C2符号の系列(C2系列)は、108フレー
ム内の所定のフレームに含まれる28シンボルにより形成
されている。C2系列に比してC1系列のインターリーブ長
が短いので、早送り再生(キュー,レビュー)を行った
時などに、フレームが欠落してフレームの連続性が失わ
れた場合に問題が生じる。即ち、不連続点の前後の±1
フレームでは、C1ポインタがエラー有りを示すものとな
るが、それ以外では、C1ポインタがエラー無しを示すも
のとなる。一方、C2系列は、インターリーブ長が108フ
レームあるので、不連続点が含まれる108フレームは、
正しいC2系列でなくなる。この正しくないC2系列に対し
て、上記のC1ポインタを用いてイレージャ訂正を行う
と、エラー訂正が誤ったものとなる。
In the conventional CIRC correction code, as shown in FIG. 6, a C1 code sequence (C1 sequence) is formed by 32 symbols alternately included in two adjacent frames (1 frame: 32 symbols), and C2 The code sequence (C2 sequence) is formed by 28 symbols included in a predetermined frame in 108 frames. Since the interleave length of the C1 sequence is shorter than that of the C2 sequence, a problem occurs when a frame is lost and the continuity of the frame is lost when fast-forward playback (cue, review) is performed. That is, ± 1 before and after the discontinuity point
In the frame, the C1 pointer indicates that there is an error, but otherwise, the C1 pointer indicates that there is no error. On the other hand, since the C2 sequence has an interleave length of 108 frames, 108 frames including discontinuous points are:
It is not a correct C2 series. If erasure correction is performed on the incorrect C2 sequence using the C1 pointer, the error correction will be erroneous.

従って、この発明の目的は、CIRC訂正符号のエラー訂
正を行う場合に、イレージャ訂正により最大限の訂正能
力が得られると共に、誤った訂正を防止することができ
るエラー訂正方法を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an error correction method capable of obtaining maximum correction capability by erasure correction and preventing erroneous correction when performing error correction of a CIRC correction code. .

〔問題点を解決するための手段〕[Means for solving the problem]

この発明は、第1の配列状態にある複数個のシンボル
に関して、m重エラー訂正及びn重エラーのイレージャ
訂正が可能な第1のエラー訂正符号(C2符号)の符号化
がされ、複数個のシンボル及び第1のエラー訂正符号の
第1のチェックシンボルの配列が並び替えられて第2の
配列状態とされ、第2の配列状態にある複数個のシンボ
ル及び第1のチェックシンボルに関して、k重エラー訂
正が可能な第2のエラー訂正符号(C1符号)の符号化が
されたもののエラー訂正方法において、 第2の配列状態にある複数個のシンボルに関して、C1
符号により、k以下の所定数のエラーシンボルのエラー
訂正を行うと共に、少なくとも所定数をこえる個数のエ
ラーシンボルに対してエラーポインタをセットする第1
のステップと、 第2の配列状態を第1の配列状態に変換する第2のス
テップと、 第1の配列状態にある複数個のシンボルに関して、C2
符号により、第1のステップでセットされたエラーポイ
ンタで示されるnまでの個数のエラーシンボルのイレー
ジャ訂正を行う第3のステップと、 第1の配列状態を第2の配列状態に変換する第4のス
テップと、 第2の配列状態にある複数個のシンボルに関して、C1
符号により、k以下の所定数のエラーシンボルのエラー
訂正を行うと共に、少なくとも所定数をこえる個数のエ
ラーシンボルに対してエラーポインタをセットする第5
のステップと、 第2の配列状態を第1の配列状態に変換する第6のス
テップと、 第1の配列状態にある複数個のシンボルに関して、C1
符号により、第5のステップでセットされたエラーポイ
ンタを参照して、m以下の所定数のエラーシンボルのエ
ラー訂正を行う第7のステップと からなることを特徴とするエラー訂正方法である。
According to the present invention, a plurality of symbols in a first arrangement state are encoded with a first error correction code (C2 code) capable of m-level error correction and erasure correction of n-level errors, and a plurality of symbols are encoded. The arrangement of the symbols and the first check symbols of the first error correction code is rearranged into the second arrangement state, and the k symbols are arranged for the plurality of symbols and the first check symbols in the second arrangement state. In the error correction method, although the second error correction code (C1 code) capable of error correction has been coded, a plurality of symbols in the second arrangement state may have a C1 code.
A first code for performing error correction of a predetermined number of error symbols equal to or less than k and setting an error pointer for at least a predetermined number of error symbols;
And a second step of converting the second arrangement state to the first arrangement state; and C2 for a plurality of symbols in the first arrangement state.
A third step of performing erasure correction of up to n error symbols indicated by the error pointer set in the first step by using a code; and a fourth step of converting the first arrangement state to the second arrangement state. C1 for the plurality of symbols in the second arrangement state
The code corrects an error of a predetermined number of error symbols equal to or less than k, and sets an error pointer for at least a predetermined number of error symbols.
And a sixth step of converting the second arrangement state to the first arrangement state; and C1 for a plurality of symbols in the first arrangement state.
And a seventh step of performing error correction of a predetermined number of error symbols equal to or less than m by referring to the error pointer set in the fifth step by using a code.

〔作用〕[Action]

(k=n=2)(m=4)の場合において、C1復号の
後のC2復号において、イレージャ訂正により、4重エラ
ーまでの訂正がなされるので、エラー訂正能力の向上が
図られる。イレージャ訂正は、誤った訂正のおそれがあ
るので、次に、C1復号を行い、訂正結果が検証され、誤
った訂正を防止することができる。
In the case of (k = n = 2) (m = 4), up to quadruple errors are corrected by erasure correction in C2 decoding after C1 decoding, so that error correction capability is improved. Since there is a possibility of erroneous correction in erasure correction, next, C1 decoding is performed, the correction result is verified, and erroneous correction can be prevented.

〔実施例〕〔Example〕

以下、この発明の実施例について説明する。この説明
は、以下の項目に従ってなされる。
Hereinafter, embodiments of the present invention will be described. This description is made according to the following items.

a.復号の基本的方法 b.リードソロモン符号のイレージャ訂正方法 c.リードソロモン符号の復号装置 d.変形例 a.復号の基本的方法 この発明の一実施例について、図面を参照して説明す
る。この一実施例は、コンパクトディスクに採用されて
いるCIRC訂正符号の復号方法である。第1図は、復号の
順序をブロック図として表した図である。
a. Basic method of decoding b. Erasure correction method of Reed-Solomon code c. Decoder of Reed-Solomon code d. Modification a. Basic method of decoding One embodiment of the present invention will be described with reference to the drawings. . This embodiment is a method for decoding a CIRC correction code employed in a compact disc. FIG. 1 is a block diagram showing the order of decoding.

コンパクトディスクからの再生信号は、EFM復調さ
れ、1フレーム内の32シンボルが遅延処理段1に供給さ
れ、偶数シンボルのみが1フレーム遅延され、符号器側
の遅延回路で与えられた遅延がキャンセルされる。遅延
処理段1からの32シンボルがC1復号器2に供給され、
(32,28)リードソロモン符号の復号がC1復号器2でな
される。C1復号器2では、C1系列内の2個のエラーシン
ボルまでの訂正がされる。C1復号器2において、3重以
上のエラーが検出されたときには、そのC1系列内の全シ
ンボルに対してエラー有りのC1ポインタが設定される。
The reproduction signal from the compact disk is EFM demodulated, and 32 symbols in one frame are supplied to the delay processing stage 1, only even symbols are delayed by one frame, and the delay given by the delay circuit on the encoder side is canceled. You. 32 symbols from the delay processing stage 1 are supplied to the C1 decoder 2,
The (32,28) Reed-Solomon code is decoded by the C1 decoder 2. The C1 decoder 2 corrects up to two error symbols in the C1 sequence. When three or more errors are detected in the C1 decoder 2, a C1 pointer with an error is set for all symbols in the C1 sequence.

C1復号器2で訂正されたデータ及びエラーポインタが
ディインターリーブ処理段3において処理される。ディ
インターリーブ処理段3は、符号器側で行われたインタ
ーリーブを元に戻す処理を行い、ディインターリーブ処
理段3の出力がC2復号器4に供給される。C1復号器2で
発生した各シンボルのC1ポインタは、ディインターリー
ブ処理段3でデータと同様のディインターリーブ処理を
受ける。遅延処理及びディインターリーブは、RAMから
データを読み出す時のアドレス制御でなしうる。C1ポイ
ンタは、RAMの一部のメモリ領域に書き込まれ、データ
と同一のアドレス制御を受ける。C2復号器4では、C1ポ
インタを使用して、4重エラーまでのイレージャ訂正が
なされる。このC2符号器4において、イレージャ訂正が
終了すると、C1ポインタがクリアされ、また、2回めの
C1復号にポインタ情報が伝達されない。このように、1
回めのC2復号のC2ポインタを伝達しないことにより、RA
Mの1回めのC2ポインタ記憶用のメモリエリアが不用と
なり、メモリ容量が節約されている。
The data corrected by the C1 decoder 2 and the error pointer are processed in a deinterleave processing stage 3. The deinterleave processing stage 3 performs a process of restoring the interleaving performed on the encoder side, and the output of the deinterleave processing stage 3 is supplied to the C2 decoder 4. The C1 pointer of each symbol generated by the C1 decoder 2 undergoes the same deinterleaving processing as the data in the deinterleaving processing stage 3. The delay processing and the deinterleaving can be performed by address control when data is read from the RAM. The C1 pointer is written into a part of the memory area of the RAM, and receives the same address control as that of the data. The C2 decoder 4 performs erasure correction up to a quadruple error using the C1 pointer. In the C2 encoder 4, when the erasure correction is completed, the C1 pointer is cleared, and the second time
No pointer information is transmitted to C1 decoding. Thus, 1
By not transmitting the C2 pointer for the second C2 decoding, RA
The memory area for storing the C2 pointer for the first time of M becomes unnecessary, and the memory capacity is saved.

C2復号器4からのデータがインターリーブ処理段5に
供給される。インターリーブ処理段5は、データの配列
を再生時の配列と同一のものに戻す。インターリーブ処
理段5の出力データが遅延処理段6に供給され、遅延処
理段6から1フレーム(32シンボル)のデータが得られ
る。実際には、C1復号処理段2及びC2復号処理段4によ
り訂正されたデータがRAMに記憶されているので、この
データの読み出しアドレスを制御することにより、イン
ターリーブ処理段5及び遅延処理段6の処理をなしう
る。
Data from the C2 decoder 4 is supplied to an interleave processing stage 5. The interleave processing stage 5 returns the data arrangement to the same arrangement as at the time of reproduction. The output data of the interleave processing stage 5 is supplied to the delay processing stage 6, from which one frame (32 symbols) of data is obtained. Actually, since the data corrected by the C1 decoding processing stage 2 and the C2 decoding processing stage 4 are stored in the RAM, by controlling the read address of this data, the interleaving processing stage 5 and the delay processing stage 6 are controlled. Processing can be performed.

遅延処理段6からの32シンボルのデータがC1復号器7
に供給される。C1復号器7では、(32,28)リードソロ
モン符号の復号がされ、2重エラーまでの訂正がなされ
る。C1復号器7では、3重以上のエラーが有る場合のみ
ならず、2重エラーの訂正をした場合にも、C1ポインタ
のセットがなされる。
The 32-symbol data from the delay processing stage 6 is the C1 decoder 7
Supplied to The C1 decoder 7 decodes the (32,28) Reed-Solomon code and corrects up to a double error. The C1 decoder 7 sets the C1 pointer not only when there are three or more errors but also when a double error is corrected.

C1復号器7からの出力データがディインターリーブ処
理段8に供給され、ディインターリーブがなされる。デ
ィインターリーブ処理段8からの28シンボルのデータが
C2復号器9に供給され、(28,24)リードソロモン符号
の復号が行われる。このC2復号器9では、C1ポインタの
個数,状態を参照して、2重エラーまでの訂正がなされ
る。C2復号器9からの出力データがディスクランブル処
理段10に供給され、符号器側でなされたスクランブル処
理と逆の処理がなされる。C1復号器7及びC2復号器9に
よりなされる復号動作は、コンパクトディスクの再生回
路に設けられているCIRC訂正符号の復号器と同一とされ
ている。
Output data from the C1 decoder 7 is supplied to a deinterleave processing stage 8 where the data is deinterleaved. The data of 28 symbols from the deinterleave processing stage 8 is
The data is supplied to the C2 decoder 9 and the (28, 24) Reed-Solomon code is decoded. The C2 decoder 9 corrects up to a double error with reference to the number and state of the C1 pointer. The output data from the C2 decoder 9 is supplied to a descramble processing stage 10, and the reverse of the scramble processing performed on the encoder side is performed. The decoding operation performed by the C1 decoder 7 and the C2 decoder 9 is the same as that of the CIRC correction code decoder provided in the reproduction circuit of the compact disc.

上述のように、C1符号器2で発生したC1ポインタを使
用して、C2符号器4において、4重イレージャ訂正を行
うので、訂正できるエラーシンボルが多くなり、エラー
訂正能力の向上を図ることができる。イレージャ訂正を
行った場合の誤った訂正は、C1復号及びC2復号を再度行
うことにより、排除され、誤った訂正のおそれを低くす
ることができる。第2図は、現行のコンパクトディスク
に採用されている従来のCIRC訂正符号の復号器とこの一
実施例とのエラー訂正能力の比較のためのグラフであ
る。
As described above, the quadruple erasure correction is performed in the C2 encoder 4 using the C1 pointer generated in the C1 encoder 2, so that the number of error symbols that can be corrected increases, and the error correction capability can be improved. it can. Erroneous correction in the case of performing erasure correction is eliminated by performing C1 decoding and C2 decoding again, and the risk of erroneous correction can be reduced. FIG. 2 is a graph for comparing the error correction capability of a conventional CIRC correction code decoder employed in a current compact disc with this embodiment.

第2図の横軸が訂正前のシンボルエラー確率Psであ
り、縦軸が訂正前のワードエラー確率Pwである。この一
実施例では、訂正不能が生じる場合は、11Aで示すもの
となり、従来のCIRC訂正符号の復号器が訂正不能となる
場合を示す11Bとの比較から分かるように、訂正能力が
向上している。また、この一実施例で誤った訂正が生じ
る場合は、12Aで示すものとなり、従来の復号器が訂正
不能となる場合12Bと比較して、略々同じか、やや改善
されている。
The horizontal axis in FIG. 2 is the symbol error probability Ps before correction, and the vertical axis is the word error probability Pw before correction. In this embodiment, when uncorrection occurs, the correction capability is improved as shown by 11A, as can be seen from comparison with 11B which indicates that the conventional CIRC correction code decoder becomes uncorrectable. I have. Further, when an erroneous correction occurs in this embodiment, it is indicated by 12A, which is almost the same or slightly improved as compared with 12B when the conventional decoder becomes uncorrectable.

b.リードソロモン符号のイレージャ訂正方法 リードソロモン符号の場合、一般的には、イレージャ
訂正が下記の式を解くことによりなされる。
b. Erasure correction method for Reed-Solomon code In the case of Reed-Solomon code, erasure correction is generally performed by solving the following equation.

但し、ν=0〜d−2 n:消失の数 Xj:j番目のエラーロケーション Sν:シンドローム Yj:j番目のエラーベクトル d:符号のハミング距離 この一実施例では、C2復号器4において、イレージャ
訂正がされ、C2符号のハミング距離は、(d=5)であ
る。例えば4個のエラーシンボルが含まれる場合、シン
ドロームは、下記のものとなる。
Where ν = 0 to d−2 n: number of erasures X j : j-th error location Sν: syndrome Y j : j-th error vector d: Hamming distance of code In this embodiment, the C2 decoder 4 , Erasure correction is performed, and the Hamming distance of the C2 code is (d = 5). For example, when four error symbols are included, the syndrome is as follows.

C2符号の符号長は、28であり、受信されたシンボル
27に関して、にY1のエラーベクトルがあった
場合、 となる。つまり、に1個のエラーがある場合、(X1
=α)とすると、 S0=Y1 S1=αnY1 S2=α2nY1 S3=α3nY1 となる。Xj,Yjのjは、受信データのエラーに順番を付
したのに過ぎない。
The code length of the C2 code is 28 and the received symbol
Respect 0 to 27, if an error vector of Y 1 to n, Becomes That is, if there is one error in n , (X 1
= Α n ), then S 0 = Y 1 S 1 = α n Y 1 S 2 = α 2n Y 1 S 3 = α 3n Y 1 . The j of X j and Y j merely ranks the errors in the received data.

例えば受信された28個のシンボル27の中で、
0,5,10,18の4個のシンボルにエラーがあった
とすると、 =W0+Y1 =W1+Y2 10 =W10+Y3 18 =W18+Y4 となる。(X1=α0,X2=α5,X3=α10,X4=α18)を意
味する。従って、4個のシンボルにエラーが有る場合に
は、 S0=Y1+Y2+Y3+Y4 S1=α0Y1+α5Y2+α10Y3+α18Y4 S2=α0Y1+α10Y2+α20Y3+α36Y4 S3=α0Y1+α15Y2+α30Y3+α54Y4 が得られるシンドロームである。
For example, among the 28 symbols 0 to 27 received,
0, 5, 10, 18 4 When there is an error in the symbols, and 0 = W 0 + Y 1 5 = W 1 + Y 2 10 = W 10 + Y 3 18 = W 18 + Y 4. (X 1 = α 0 , X 2 = α 5 , X 3 = α 10 , X 4 = α 18 ). Therefore, if the error is present in the four symbols, S 0 = Y 1 + Y 2 + Y 3 + Y 4 S 1 = α 0 Y 1 + α 5 Y 2 + α 10 Y 3 + α 18 Y 4 S 2 = α 0 Y 1 + α 10 Y 2 + α 20 Y 3 + α 36 Y 4 S 3 = α 0 Y 1 + α 15 Y 2 + α 30 Y 3 + α 54 Y 4 is a syndrome resulting.

エラーロケーションX1〜X4がC1ポインタにより、既知
であるから、下記のように、エラーベクトルY1〜Y4が求
められる。
The error location X 1 to X 4 is C1 pointer, because it is known, as described below, the error vector Y 1 to Y 4 are obtained.

となる。 Becomes

上述のイレージャ訂正方法は、エラーベクトルY1〜Y4
を求めるのに必要な計算回数として、(加算:40回,乗
算:40回,除算:4回)の計84回必要である。この計算回
数を減少させることができる改良されたイレージャ訂正
について以下に説明する。
The erasure correction method described above uses the error vectors Y 1 to Y 4
As the number of calculations required to obtain, (addition: 40 times, multiplication: 40 times, division: 4 times), a total of 84 times are required. An improved erasure correction that can reduce the number of calculations will be described below.

シンドロームSν(ν=0〜n−1)とエラーロケー
ションXj(j=1〜n)とを次の規則で順次、積和演算
し、i回目の答えをSν,iとする。即ち、 Sν,i=Sν,i−1Xi+Sν+i,i−1 (1≦i≦n−1) 但し、(Sν,0=Sν)とする。
The syndrome Sν (ν = 0 to n−1) and the error location X j (j = 1 to n) are sequentially multiplied by the following rule, and the i-th answer is Sν , i . That, Sν, i = Sν, i -1 X i + Sν + i, i-1 (1 ≦ i ≦ n-1) where a (Sν, 0 = Sν).

このようにして、S0,n−1を求めると、 でYnが求まる。Thus, when S 0, n−1 is obtained, Gives Y n .

前述と同様に、4個のエラーシンボルをイレージャ訂
正する場合(即ち、n=4)の復号方法について説明す
る。最初に、 0,3=S0,2X3+S1,2 を順次求め、最後に により、Y4が得られる。このエラーベクトルを用いて、
元のシンドロームを3重エラーの時のシンドロームに修
正する。即ち、 S0+Y4→S0 S1+X4Y4→S1 S2+X4 2Y4→S2 この修正後のシンドロームに対して次の計算を行い、エ
ラーベクトルY3を求める。
As described above, a decoding method for erasure correction of four error symbols (that is, n = 4) will be described. At first, S 0,3 = S 0,2 X 3 + S 1,2 By, Y 4 is obtained. Using this error vector,
Correct the original syndrome to the syndrome at the time of triple error. That is, S 0 + Y 4 → S 0 S 1 + X 4 Y 4 → S 1 S 2 + X 4 2 Y 4 → S 2 The following calculation is performed on the syndrome after this correction, and the error vector Y 3 is obtained.

0,2=S0,1X2+S1,1 Y3=S0,2/(X3+X1)(X3+X2) 以下、同様に、シンドロームを修正してY2及びY1を求
める。
S 0,2 = S 0,1 X 2 + S 1,1 Y 3 = S 0,2 / (X 3 + X 1 ) (X 3 + X 2 ) Hereinafter, similarly, the syndromes are corrected and Y 2 and Y 1 are corrected. Ask for.

S0+Y3→S0 S1+X3Y3→S10,1=S0X1+S1 Y2=S0,1/(X2+X1) S0+Y2→S0 Y1=S0 前述のエラーベクトルYnを求めるための下記の定理の
説明について以下に述べる。つまり、 「定理1」の式に対して、ν=0,i=n−1を代入する
となり、Ynが求まった。
S 0 + Y 3 → S 0 S 1 + X 3 Y 3 → S 1 S 0,1 = S 0 X 1 + S 1 Y 2 = S 0,1 / (X 2 + X 1 ) S 0 + Y 2 → S 0 Y 1 = S 0 A description of the following theorem for obtaining the above-described error vector Y n will be given below. That is, Substituting ν = 0, i = n-1 into the equation of "Theorem 1" And Y n was found.

c.リードソロモン符号の復号装置 リードソロモン符号の復号器は、例えば第3図に示す
構成とされている。第3図において、21で示す内部デー
タバスに対して、書き込みレジスタ23及び読み出しレジ
スタ24を介して外部RAM22が接続される。また、内部デ
ータバス21には、演算ロジック(ALU),シンドローム
レジスタ26及びワーキングRAMが接続されている。外部R
AM22には、コンパクトディスクから再生されたデータ等
の復号すべきデータが格納されている。
c. Decoder for Reed-Solomon Code The decoder for the Reed-Solomon code has, for example, the configuration shown in FIG. In FIG. 3, an external RAM 22 is connected to an internal data bus 21 via a write register 23 and a read register 24. The internal data bus 21 is connected to an arithmetic logic (ALU), a syndrome register 26, and a working RAM. External R
The AM 22 stores data to be decoded, such as data reproduced from a compact disc.

第3図に示す復号器は、マイクロプログラム方式の構
成であって、マイクロ命令がマイクロプログラムROM28
から読み出される。マイクロ命令は、レジスタ29を介し
て各制御部に制御信号を与える。マイクロプログラムRO
M28と関連してプログラムカウンタ30が設けられてい
る。各部の内部状態が判断回路31に供給され、判断回路
31の出力信号に応じてジャンプ先アドレスを発生し、こ
のジャンプ先アドレスをプログラムカウンタ30に与える
ジャンプ先アドレス発生回路32が設けられている。
The decoder shown in FIG. 3 has a microprogram system configuration, in which microinstructions are stored in a microprogram ROM 28.
Is read from. The micro instruction gives a control signal to each control unit via the register 29. Micro program RO
A program counter 30 is provided in association with M28. The internal state of each part is supplied to the judgment circuit 31, and the judgment circuit 31
A jump destination address generating circuit 32 is provided which generates a jump destination address in accordance with the output signal of 31 and supplies the jump destination address to the program counter 30.

第3図に示す復号器では、外部RAM22から読み出され
たデータからALU25により、シンドロームが計算され、
このシンドロームがシンドロームレジスタ26に貯えられ
る。ALU25は、シンドロームの演算のみならず、積和演
算が可能な構成とされている。また、ワーキングRAM27
には、ALU25により求められたエラーロケーション,途
中の計算結果(Sν,i等)が格納される。
In the decoder shown in FIG. 3, the syndrome is calculated by the ALU 25 from the data read from the external RAM 22,
This syndrome is stored in the syndrome register 26. The ALU 25 is configured to perform not only a syndrome operation but also a product-sum operation. Also working RAM27
Stores the error location obtained by the ALU 25 and the intermediate calculation results (Sν, i, etc.).

第4図は、ALU25に設けられ、イレージャ訂正を行う
ためのALUの一例の構成を示す。イレージャ訂正の処理
は、積和演算で行われるので、第4図に示すALUは、乗
算部及び加算部が縦続接続された構成を有している。
FIG. 4 shows an example of the configuration of an ALU provided in the ALU 25 for performing erasure correction. Since the erasure correction process is performed by a product-sum operation, the ALU shown in FIG. 4 has a configuration in which a multiplication unit and an addition unit are cascaded.

第4図において、内部データバス21と接続されたlogR
OM41は、ガロア体上の元α(8ビットのデータがアド
レス入力として供給された時に、指数i(8ビット)を
出力するROMである。logROM41の出力が加算器42に供給
され、加算器42の出力がレジスタ43に供給され、レジス
タ43の出力が逆logROM44に供給されると共に、加算器42
に帰還される。加算器42は、指数の加算即ち、αの乗算
を行うものである。
In FIG. 4, logR connected to the internal data bus 21
The OM 41 is a ROM that outputs an exponent i (8 bits) when the element α i (8-bit data) on the Galois field is supplied as an address input. The output of the log ROM 41 is supplied to the adder 42, The output of the register 42 is supplied to a register 43, and the output of the register 43 is supplied to an inverse log ROM 44.
Will be returned to The adder 42 performs addition of exponents, that is, multiplication by α.

逆logROM44は、指数iがアドレス入力として供給され
ると、αを出力し、この逆logROM44の出力がレジスタ
47に格納される。レジスタ47の出力がエクスクルーシブ
OR回路(mod.2の加算器)に供給される。エクスクルー
シブOR回路48の出力がレジスタ49に供給され、レジスタ
49の出力がエクスクルーシブOR回路48に帰還されると共
に、内部データバス21に供給される。エクスクルーシブ
OR回路48により、ガロア体上の加算がなされる。
When the index i is supplied as an address input, the inverse logROM 44 outputs α i, and the output of the inverse logROM 44 is
Stored in 47. The output of register 47 is exclusive
It is supplied to the OR circuit (mod.2 adder). The output of the exclusive OR circuit 48 is supplied to the register 49,
The output of 49 is fed back to the exclusive OR circuit 48 and supplied to the internal data bus 21. Exclusive
The OR circuit 48 performs addition on the Galois field.

また、第5図は、イレージャ訂正及びエラー訂正の両
者に使用できるようにしたALUの構成を示す。第4図と
同様に、logROM41,加算器42,レジスタ43,逆logROM44,レ
ジスタ47,エクスクルーシブOR回路48,レジスタ49が積和
演算回路を構成している。リードソロモン符号の2重エ
ラー訂正において、エラーロケーション方程式を解くた
めに、変換PLA45が必要とされる。従って、レジスタ43
には、逆logROM44と変換PLA45とが接続され、両者の出
力がセレクタ46に供給されている。セレクタ46は、イレ
ージャ訂正等の積和演算を行う時には、逆logROM44の出
力を選択し、エラー訂正中に、エラーロケーションを求
める時の所定のステップでは、変換PLA45の出力を選択
する。
FIG. 5 shows a configuration of an ALU which can be used for both erasure correction and error correction. As in FIG. 4, the logROM 41, the adder 42, the register 43, the inverse logROM 44, the register 47, the exclusive OR circuit 48, and the register 49 constitute a product-sum operation circuit. In the double error correction of the Reed-Solomon code, a transform PLA 45 is required to solve the error location equation. Therefore, register 43
Is connected to an inverse log ROM 44 and a conversion PLA 45, and the outputs of both are supplied to a selector 46. The selector 46 selects the output of the inverse logROM 44 when performing a product-sum operation such as erasure correction, and selects the output of the conversion PLA 45 in a predetermined step when obtaining an error location during error correction.

〔発明の効果〕〔The invention's effect〕

この発明に依れば、イレージャ訂正を行うことによ
り、エラー訂正能力を向上させることができる。また、
イレージャ訂正において、誤った訂正が生じた場合て
も、次段の復号により誤った訂正を検出できる。
According to the present invention, by performing erasure correction, the error correction capability can be improved. Also,
In the erasure correction, even if an erroneous correction occurs, the erroneous correction can be detected by decoding in the next stage.

【図面の簡単な説明】[Brief description of the drawings]

第1図はこの発明の一実施例の訂正処理の順序に従った
ブロック図、第2図はこの発明のエラー訂正能力の説明
のためのグラフ、第3図はこの発明に使用できるリード
ソロモン符号の復号器の一例のブロック図、第4図はリ
ードソロモン符号の復号器に使用されるALUの一例のブ
ロック図、第5図はリードソロモン符号の復号器に使用
されるALUの他の例のブロック図、第6図はCIRC訂正符
号の符号系列の説明に用いる略線図である。 図面における主要な符号の説明 2,7:C1復号器、4,9:C2復号器、 3,8:ディインターリーブ処理段、 5:インターリーブ処理段。
FIG. 1 is a block diagram according to the order of correction processing according to one embodiment of the present invention, FIG. 2 is a graph for explaining the error correction capability of the present invention, and FIG. 3 is a Reed-Solomon code usable in the present invention. FIG. 4 is a block diagram of an example of an ALU used in a Reed-Solomon code decoder, and FIG. 5 is a block diagram of another example of an ALU used in a Reed-Solomon code decoder. FIG. 6 is a schematic diagram used for explaining a code sequence of the CIRC correction code. Description of main symbols in the drawings 2,7: C1 decoder, 4,9: C2 decoder, 3, 8: deinterleave processing stage, 5: interleave processing stage.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】第1の配列状態にある複数個のシンボルに
関して、m重エラー訂正及びn重エラーのイレージャ訂
正が可能な第1のエラー訂正符号の符号化がされ、上記
複数個のシンボル及び上記第1のエラー訂正符号の第1
のチェックシンボルの配列が並び替えられて第2の配列
状態とされ、上記第2の配列状態にある上記複数個のシ
ンボル及び上記第1のチェックシンボルに関して、k重
エラー訂正が可能な第2のエラー訂正符号の符号化がさ
れたもののエラー訂正方法において、 上記第2の配列状態にある複数個のシンボルに関して、
上記第2のエラー訂正符号により、上記k以下の所定数
までのエラーシンボルのエラー訂正を行うと共に、少な
くとも上記所定数をこえる個数のエラーシンボルに対し
てエラーポインタをセットする第1のステップと、 上記第2の配列状態を上記第1の配列状態に変換する第
2のステップと、 上記第1の配列状態にある複数個のシンボルに関して、
上記第1のエラー訂正符号により、上記第1のステップ
でセットされたエラーポインタで示されるnまでの個数
のエラーシンボルの上記イレージャ訂正を行う第3のス
テップと、 上記第1の配列状態を上記第2の配列状態に変換する第
4のステップと、 上記第2の配列状態にある複数個のシンボルに関して、
上記第2のエラー訂正符号により、上記k以下の所定数
のエラーシンボルのエラー訂正を行うと共に、少なくと
も上記所定数をこえる個数のエラーシンボルに対してエ
ラーポインタをセットする第5のステップと、 上記第2の配列状態を上記第1の配列状態に変換する第
6のステップと、 上記第1の配列状態にある複数個のシンボルに関して、
上記第1のエラー訂正符号により、上記第5のステップ
でセットされたエラーポインタを参照して、m以下の所
定数のエラーシンボルのエラー訂正を行う第7のステッ
プと からなることを特徴とするエラー訂正方法。
1. A plurality of symbols in a first arrangement state are encoded with a first error correction code capable of m-level error correction and erasure correction of n-level errors. The first of the first error correction codes
Are rearranged into a second arrangement state, and the second plurality of symbols and the first check symbol in the second arrangement state are k-th error-correctable second arrangements. In the error correction method in which the error correction code is coded, the plurality of symbols in the second arrangement state are
A first step of performing error correction of up to a predetermined number of error symbols equal to or less than k by the second error correction code, and setting an error pointer for at least the number of error symbols exceeding the predetermined number; A second step of converting the second arrangement state to the first arrangement state; and a plurality of symbols in the first arrangement state,
A third step of performing the erasure correction of up to n error symbols indicated by the error pointer set in the first step by the first error correction code, and A fourth step of converting to the second arrangement state; and a plurality of symbols in the second arrangement state,
A fifth step of performing error correction of a predetermined number of error symbols equal to or less than k using the second error correction code, and setting an error pointer for at least the number of error symbols exceeding the predetermined number; A sixth step of converting a second arrangement state to the first arrangement state; and a plurality of symbols in the first arrangement state,
A seventh step of performing error correction of a predetermined number of error symbols equal to or less than m with reference to the error pointer set in the fifth step by the first error correction code. Error correction method.
JP62026081A 1987-02-06 1987-02-06 Error correction method Expired - Lifetime JP2605269B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62026081A JP2605269B2 (en) 1987-02-06 1987-02-06 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62026081A JP2605269B2 (en) 1987-02-06 1987-02-06 Error correction method

Publications (2)

Publication Number Publication Date
JPS63193722A JPS63193722A (en) 1988-08-11
JP2605269B2 true JP2605269B2 (en) 1997-04-30

Family

ID=12183678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62026081A Expired - Lifetime JP2605269B2 (en) 1987-02-06 1987-02-06 Error correction method

Country Status (1)

Country Link
JP (1) JP2605269B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950002304B1 (en) * 1992-10-07 1995-03-16 삼성전자주식회사 Multi-error correction method
JPH1117557A (en) * 1997-05-01 1999-01-22 Mitsubishi Electric Corp Error correction method and device therefor

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58171146A (en) * 1982-04-01 1983-10-07 Mitsubishi Electric Corp Decoding device
JPS58171145A (en) * 1982-04-01 1983-10-07 Mitsubishi Electric Corp Decoding device
JPS6076817A (en) * 1983-10-03 1985-05-01 Mitsubishi Electric Corp Decoding system
JPS6113715A (en) * 1984-06-28 1986-01-22 Mitsubishi Electric Corp Decoder for code coded in two stages
JPS61142575A (en) * 1984-12-17 1986-06-30 Ricoh Co Ltd Error correction system
JPH082028B2 (en) * 1986-06-18 1996-01-10 三菱電機株式会社 Code correction device
JPS6387025A (en) * 1986-09-30 1988-04-18 Nec Home Electronics Ltd Code error correcting circuit

Also Published As

Publication number Publication date
JPS63193722A (en) 1988-08-11

Similar Documents

Publication Publication Date Title
EP0278383B1 (en) Error correction method using reed-solomon code
KR930001071B1 (en) Error correction circuit
EP0167627A1 (en) Method and apparatus for decoding error correction code
EP0129849B1 (en) Error correction method and system
JP2570252B2 (en) Error correction code generation method
JPH084233B2 (en) Error correction code decoding device
EP0317197B1 (en) Error detection and correction method
JPS632370B2 (en)
EP0169908A1 (en) Method and circuit for decoding error coded data
KR960016509B1 (en) Method and circuit for detecting data error
JP2605269B2 (en) Error correction method
JPH0628343B2 (en) Product code decoding method
JP2000236265A (en) Device and method for pseudo-product encoding and decoding
JP2684031B2 (en) Data decryption method
JP2796291B2 (en) Error correction method
US6581083B1 (en) Syndrome generator and method for generating syndromes in a video/audio processing system
JP2000187948A (en) Error correction coding/decoding system and device therefor
JP2647646B2 (en) Error correction method
JP2775432B2 (en) Reed-Solomon code decoder for simultaneously performing error correction / error detection / erasure error correction
KR0158639B1 (en) Error correction and method using conversion of syndrome
JPS61237523A (en) Error correction method
JP2561236B2 (en) Error correction device
JPH07288477A (en) Coding method/device and coding/decoding device
JPS62274933A (en) Error detection system
JPS6029074A (en) Error detection correction and encoding method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term