JPS63193722A - Error correction method - Google Patents

Error correction method

Info

Publication number
JPS63193722A
JPS63193722A JP2608187A JP2608187A JPS63193722A JP S63193722 A JPS63193722 A JP S63193722A JP 2608187 A JP2608187 A JP 2608187A JP 2608187 A JP2608187 A JP 2608187A JP S63193722 A JPS63193722 A JP S63193722A
Authority
JP
Japan
Prior art keywords
error
correction
symbols
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.)
Granted
Application number
JP2608187A
Other languages
Japanese (ja)
Other versions
JP2605269B2 (en
Inventor
Kazutoshi Shimizume
和年 清水目
Takeshi Sasaki
武志 佐々木
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

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To improve the capacity of error correction, by performing quadruple erasure correction in a C2 encoder by using a C1 pointer generated in a C1 encoder. CONSTITUTION:The decoding of an error correction code C1(C1 decode) is performed by finding an error location from a syndrome, and an error pointer(C1 pointer) is set for an error symbol impossible to be corrected by the C1 decode. The decoding of an error correction code C2 after re-interleave(C2 decode) is designated as erasure correction based on the C1 pointer, and furthermore, and a state is converted from a first arranging state to a second arranging state by interleave, and the C1 decode is applied again. Thus, since the erasure correction is used, it is possible to improve the capacity of the error correction and to prevent erroneous correction from being performed.

Description

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

〔発明の概要〕[Summary of the invention]

この発明では、第1の配列状態にある複数個のシンボル
に関して、第1のエラー訂正符号C2の符号化がされ、
インターリーブにより、第1の配列状態が第2の配列状
態に変換され、第2の配列状態にある複数個のシンボル
に関して、第2のエラー訂正符号CIの符号化がされた
もののエラー訂正方艦において、エラー訂正符号CIの
復号(C1復号)は、シンドロームからエラーロケーシ
ョンを求めることでなされ、このC1復号で訂正するこ
とができないエラーシンボルに対してエラーポインタ(
CIポインタ)がセットされ、ディインターリーブ後の
エラー訂正符号C2の復号(C2復号)は、C1ポイン
タに基づくイレージヤ訂正とされ、更に第1の配列状態
からインターリーブにより第2の配列状態に変換され、
C1復号が再びなされる。この発明では、イレージヤ訂
正が用いられているので、エラー訂正能力の向上が図ら
れ、また、誤った訂正が防止される。
In this invention, the plurality of symbols in the first arrangement state are encoded with the first error correction code C2,
Through interleaving, the first arrangement state is converted to the second arrangement state, and the plurality of symbols in the second arrangement state are encoded with the second error correction code CI. , Decoding of the error correction code CI (C1 decoding) is performed by finding the error location from the syndrome, and an error pointer (
CI pointer) is set, decoding of the error correction code C2 after deinterleaving (C2 decoding) is performed as erasure correction based on the C1 pointer, and the first array state is further converted to the second array state by interleaving,
C1 decoding is done again. In this invention, since erasure correction is used, error correction capability is improved and erroneous corrections are prevented.

〔従来の技術〕 ・コンパクトディスクで採用されているエラー訂正符号
は、CIRC訂正符号(クロスインターリーブ・リード
ソロモン符号)と称されている。CIRC訂正符号では
、第1の配列状態にある2チヤンネルステレオオーデイ
オデータの24シンボル(1シンボルは、オーディオサ
ンプルの上位側又は下位側の8ピント)に対して、(2
8,24)リードソロモン符号(C2符号)の符号化が
され、次にインターリーブによってデータの配列が第1
の配列状態から第2の配列状態に並び替えられ、第2の
配列状態にある28シンボルに関して、(32,28)
 リードソロモン符号(CI符号)の符号化がされる。
[Prior Art] - The error correction code used in compact discs is called a CIRC correction code (cross-interleaved Reed-Solomon code). In the CIRC correction code, (2
8, 24) The Reed-Solomon code (C2 code) is encoded, and then the data arrangement is changed to the first one by interleaving.
For the 28 symbols that are rearranged from the array state to the second array state and are in the second array state, (32, 28)
Encoding is performed using a Reed-Solomon code (CI code).

CIRC訂正符号を復号する場合には、C1復号がされ
、次に、インターリーブと相補的なディインターリーブ
がされ、更にC2復号がされる。
When decoding a CIRC correction code, C1 decoding is performed, then deinterleaving complementary to interleaving is performed, and then C2 decoding is performed.

CfRC訂正符号の復号方法としては、特開昭57−1
0557号公報、特開昭57−10558号公報、特開
昭57−10559号公報、特開昭57−10560号
公報、特開昭57−10561号公報、特開昭57−2
4143号公報に記載されたものが知られている。また
、リードソロモン符号の復号方法としては、特開昭57
−25047号公報。
As a decoding method of CfRC correction code, Japanese Patent Application Laid-Open No. 57-1
0557, JP 57-10558, JP 57-10559, JP 57-10560, JP 57-10561, JP 57-2
The one described in Publication No. 4143 is known. Furthermore, as a method for decoding Reed-Solomon codes, Japanese Patent Laid-Open No. 57
-25047 publication.

特開昭60−197020号公報に記載されたものが知
られている。従来の(IRc訂正符号の復号方法では、
初段のC1復号において、2重エラー訂正までを行い、
次段のC2復号では、C1復号において得られたポイン
タ情報を参照して2重エラー訂正がなされる。
The one described in JP-A-60-197020 is known. In the conventional (IRc correction code decoding method),
In the first stage C1 decoding, double error correction is performed,
In the next stage of C2 decoding, double error correction is performed with reference to the pointer information obtained in C1 decoding.

エラー訂正符号の復号方法の一つとして、既知のポイン
タ情報によってエラーシンボルのエラーロケーションが
指示され、このエラーシンボルに対して訂正を行うイレ
ージヤ訂正が知られている。
As one of the methods for decoding error correction codes, erasure correction is known, in which the error location of an error symbol is indicated by known pointer information, and the error symbol is corrected.

上述のC1符号及びC2符号は、共に消失なしで2重エ
ラーまでの訂正が可能であり、消失があれば、4重エラ
ーまで訂正可能である。従って、エラー訂正能力を高く
するには、イレージヤ訂正を行えば良く、特に、イレー
ジヤ訂正は、バーストエラーに対して効果的である。一
方、イレージヤ訂正を行うには、エラーロケーションを
前もってポインタ情報から知っておく必要があり、然も
、ポインタ情報の信頬性が高いことが必要である。
Both the C1 code and C2 code described above can correct up to double errors without erasure, and if erasure occurs, can correct up to quadruple errors. Therefore, in order to improve the error correction capability, erasure correction may be performed, and erasure correction is particularly effective against burst errors. On the other hand, in order to perform erasure correction, it is necessary to know the error location in advance from pointer information, and it is also necessary that the reliability of the pointer information is high.

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

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

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

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

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

この発明では、m重エラー訂正及び0重エラーのイレー
ジヤ訂正が可能な第1のエラー訂正符号(C2符号)の
符号化とに重エラー訂正が可能な第2のエラー訂正符号
(C1符号)を用いたエラー訂正符号のエラー訂正方法
において、インターリーブされた状態にある複数個のシ
ンボルに関して、C1符号により、k以下の個数のエラ
ーシンボルの訂正を行うと共に、少なくともkを超える
個数のエラーシンボルに対してエラーポインタをセット
するステップと、 ディインターリーブ後の複数個のシンボルに関して、C
2符号により、エラーポインタで示されるn以下の個数
のエラーシンボルのイレージヤ訂正を行うステップと、 インターリーブされた状態にある複数個のシンボルに関
して、C1符号により、k以下の個数のエラーシンボル
の訂正を行うと共に、少なくともkをこえる個数のエラ
ーシンボルに対してポインタをセットするステップと によ、す、エラー訂正がなされる。
In this invention, a first error correction code (C2 code) capable of erasure correction of m-fold error correction and zero-fold error correction is encoded, and a second error correction code (C1 code) capable of multi-error correction is used. In the error correction method of the error correction code used, for multiple symbols in an interleaved state, the C1 code corrects the error symbols of k or less, and corrects the error symbols of at least more than k. Regarding the step of setting an error pointer and the multiple symbols after deinterleaving, C
2 code to perform erasure correction of n or less error symbols indicated by the error pointer; and regarding a plurality of interleaved symbols, perform correction of k or less error symbols by C1 code. Error correction is performed by setting pointers to at least k error symbols.

〔作用〕[Effect]

(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 risk of erroneous correction in erasure correction, C1 decoding is then performed to verify the correction result, thereby making it possible to prevent erroneous correction.

〔実施例〕〔Example〕

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

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

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

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

C2復号器4からのデータがインターリーブ処理段5に
供給される。インターリーブ処理段5は、データの配列
を再生時の配列と同一のものに戻す。
Data from the C2 decoder 4 is fed to an interleaving stage 5. The interleave processing stage 5 returns the data arrangement to the same arrangement as the arrangement at the time of reproduction.

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

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

C1復号器7からの出力データがディインターリーブ処
理段8に供給され、ディインターリーブがなされる。デ
ィインターリーブ処理段8からの28シンボルのデータ
がC2復号器9に供給され、(28,,24) リード
ソロモン符号の復号が行われる。このC2復号器9では
、C1ポインタの個数、状態を参照して、2重エラーま
での訂正がなされる。C2′IJ!、号器9からの出力
データがディスクランブル処理段10に供給され、符号
器側でなされたスクランブル処理と逆の処理がなされる
The output data from the C1 decoder 7 is supplied to a deinterleave processing stage 8, where it is deinterleaved. The 28 symbols of data from the deinterleave processing stage 8 are supplied to the C2 decoder 9, where the (28,,24) Reed-Solomon code is decoded. The C2 decoder 9 corrects up to double errors by referring to the number and status of C1 pointers. C2'IJ! , the output data from the encoder 9 is supplied to a descramble processing stage 10, where the scramble processing performed on the encoder side is reversed.

C1復号器7及びC2復号器9によりなされる復号動作
は、コンパクトディスクの再生回路に設けられているC
TRC訂正符号の復号器と同一とされている。
The decoding operation performed by the C1 decoder 7 and the C2 decoder 9 is performed by the C1 decoder 7 and the C2 decoder 9 provided in the compact disc playback circuit.
It is said to be the same as the TRC correction code decoder.

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

第2図の横軸が訂正前のシンボルエラー確率PSであり
、線軸が訂正前のワードエラー確率pwである。この一
実施例では、訂正不能が生じる場合は、ILAで示すも
のとなり、従来のCTRC訂正符号の復号器が訂正不能
となる場合を示すlIBとの比較から分かるように、訂
正能力が向上している。また、この一実施例で誤った訂
正が生じる場合は、12Aで示すものとなり、従来の復
号器が訂正不能となる場合12Bと比較して、略々間し
か、やや改善されている。
The horizontal axis in FIG. 2 is the symbol error probability PS before correction, and the line axis is the word error probability pw before correction. In this embodiment, when uncorrectability occurs, it is indicated by ILA, and as can be seen from a comparison with IIB, which indicates when the conventional CTRC correction code decoder becomes uncorrectable, the correction ability is improved. There is. Further, in the case where an erroneous correction occurs in this embodiment, the result is shown as 12A, and compared to 12B when the conventional decoder is unable to make corrections, it is slightly improved by only a short amount of time.

b、リードソロモン符号のイレージヤ訂正方法リードソ
ロモン符号の場合、−i的には、イレージヤ訂正が下記
の式を解くことによりなされろ。
b. Reed-Solomon code erasure correction method In the case of a Reed-Solomon code, erasure correction can be performed by solving the following equation.

SシーΣX、νY。Scy ΣX, νY.

但し、シー0〜d−2 n:消失の数 X、:3番目のエラーロケーション Sν;シンドローム ¥j ij番目のエラーベクトル d:符号のハミング距離 この一実施例では、C2復号器4において、イレージヤ
訂正がされ、C2符号のハミング距離は、(d=5)で
ある。例えば4個のエラーシンボルが含まれる場合、シ
ンドロームは、下記のものとなる。
However, sea 0 to d-2 n: number of erasures After correction, the Hamming distance of the C2 code is (d=5). For example, if four error symbols are included, the syndrome will be as follows.

C2符号の符号長は、28であり、受信されたシンボル
W0〜曾27に関して、曽、にYlのエラーベクトルが
あった場合、 WO=vq。
The code length of the C2 code is 28, and for received symbols W0 to 27, if there is an error vector of Yl in WO, then WO=vq.

W2.=専27 となる。つまり、W7に1個のエラーがある場合、(X
+  −α′)とすると、 So”YI Sl =α′I YI St  =αanyI Sl  =α37Y1 となる。x、、y、のjは、受信データのエラーに順番
を付したのに過ぎない。
W2. = Special 27. In other words, if there is one error in W7, (X
+ - α'), then So"YI Sl = α'I YI St = αanyI Sl = α37Y1. The j of x, y, is simply an order of errors in the received data.

例えば受信された28個のシンボルVJ o −W 2
−。
For example, the received 28 symbols VJ o −W 2
−.

の中で、Wo 、 Vs 、 ’ij/+。+W+sの
4個のシンボルにエラーがあったとすると、 曾。=w0+y。
Among them, Wo, Vs, 'ij/+. If there is an error in the four symbols +W+s, then . =w0+y.

曽1wW、+Y2 W、。=W、。+Y。So1wW, +Y2 W. =W. +Y.

W + ll= W ls + Y aとなる。 (X
l =α’+X2 =α’+X3”’α”、  Xa 
=α18)を意味する。従って、4個のシンボルにエラ
ーが有る場合には、 S0=、  Y、+   ’/、=   ’y’、+ 
  YaS+=α0YI +α5Y2 +αtoy3+
α1llY4S2=α0Y、+α1°Y2−4−α20
Y3↓α36Y4S、=αOYl +αl5Y2+α3
0Y、 +α54Y4が得られるシンドロームである。
W+ll=Wls+Ya. (X
l = α'+X2 = α'+X3"'α", Xa
=α18). Therefore, if there are errors in 4 symbols, S0=, Y, + '/, = 'y', +
YaS+=α0YI +α5Y2 +αtoy3+
α1llY4S2=α0Y, +α1°Y2-4-α20
Y3↓α36Y4S, =αOYl +αl5Y2+α3
This is a syndrome in which 0Y, +α54Y4 is obtained.

エラーロケーションXI〜X4がCIポインタにより、
既知であるから、下記のように、エラーベクトルY1〜
Y4が求められる。
Error locations XI to X4 are set by CI pointer,
Since it is known, the error vector Y1~
Y4 is required.

(X44X+) (X4+X2) (X3+X4)(X
3+L)(Xi+Xz) (X3+X4)(Xz+X+
) (XZ+X1) (L+X4)(XI+XZ) (
Xl+X、3) (L+Xa)となる。
(X44X+) (X4+X2) (X3+X4) (X
3+L)(Xi+Xz) (X3+X4)(Xz+X+
) (XZ+X1) (L+X4) (XI+XZ) (
Xl+X, 3) (L+Xa).

上述のイレージヤ訂正方法は、エラーベクトルY、−Y
、を求めるのに必要な計算回数として、(加算:40回
1乗算:40回、除算=4回)の計84回必要である。
The above erasure correction method uses error vectors Y, -Y
, a total of 84 calculations are required (addition: 40 times, multiplication: 40 times, division = 4 times).

この計算回数を減少させることができろ改良されたイレ
ージヤ訂正について以下に説明する。
An improved erasure correction that can reduce the number of calculations will be described below.

シンドロームSν (シー0〜n−1)とエラーロケー
ションXj  (j=1〜n)とを次の規則で順次、積
和演算し、i回目の答えをSr1、とする。
Syndrome Sv (sea 0 to n-1) and error location Xj (j=1 to n) are sequentially subjected to a product-sum operation according to the following rule, and the i-th answer is set as Sr1.

即ち、 Sr1.=Sν、 i−I X L ” Sr1.1−
1(1≦ i ≦n−1) 但し、(Sν、。=Sν)とする。
That is, Sr1. =Sν, i−IXL”Sr1.1−
1 (1≦i≦n−1) However, (Sν, .=Sν).

このようにして、SO+n−1を求めると、でY、lが
求まる。
In this way, by finding SO+n-1, Y and l are found.

前述と同様に、4個のエラーシンボルをイレージヤ訂正
する場合(即ち、n=4)の復号方法について説明する
。最初に、 3に、l ”’Sit x、 +3.   jSo、2
 =So、+ X2 + St、I ]S+、z =S
+、+ Xz +Sz、+So、a  =So、t  
Xs  ”S+、tを順次求め、最後に S(1,3/(Xa +x+)(Xa +xz)(Xa
 +X3 )により、Y4が得られる。このエラーベク
トルを用いて、元のシンドロームを3重エラーの時のシ
ンドロームに修正する。即ち、 SO+Y4→S0 s、+X4 Y4→5I S2 + Xa ” Y4−3z この修正後のシンドロームに対して次の計算を行い、エ
ラーベクトルY3を求める。
Similar to the above, a decoding method when erasure correction is performed on four error symbols (that is, n=4) will be described. First, to 3, l ”'Sit x, +3. jSo, 2
= So, + X2 + St, I] S+, z = S
+, + Xz +Sz, +So, a =So, t
Xs ”S+, t are sequentially determined, and finally S(1, 3/(Xa +x+)(Xa +xz)(Xa
+X3) yields Y4. Using this error vector, the original syndrome is corrected to a triple error syndrome. That is, SO+Y4→S0 s, +X4 Y4→5I S2 + Xa ” Y4-3z The following calculation is performed on this modified syndrome to obtain an error vector Y3.

So+z =30.、  Xz ”S++’+Y3 =
 So、z / (X3 ” XI)(Xa + Xt
)以下、同様に、シンドロームを修正してY2及びYl
を求める。
So+z=30. , Xz "S++'+Y3 =
So, z / (X3 ”XI) (Xa + Xt
) Below, in the same way, the syndrome is corrected and Y2 and Yl
seek.

SO+Y3→S0 S+ +X3 Y:l→S。SO+Y3→S0 S+ +X3 Y:l→S.

So、+  =SOXI +51 Yz  = So+ 1  / (Xz  + X +
)So+Y2  →S0 Y +  = S 。
So, + = SOXI +51 Yz = So+ 1 / (Xz + X +
) So+Y2 →S0 Y + = S.

前述のエラーベクトルY、、を求めるための下記の定理
の証明について以下に述べる。つまり、Sν、。=Sν
       (シー0〜n−1)S v= t−S 
シ、i−+ Xt ” Sν+l+ 1−1(i=1〜
n−1,シー0〜n−1−i)のアルゴリズムで次々に
Sν1.を計算すると、である。」・・・定理1 (証明) i=lの時 左辺=Sν1−8ν、。XI +Sνや5.。
The proof of the following theorem for finding the above-mentioned error vector Y, will be described below. In other words, Sν. =Sν
(C0~n-1) S v= t-S
S, i−+ Xt ” Sν+l+ 1−1 (i=1~
n-1, Sv1. When calculated, it is. ”...Theorem 1 (Proof) When i=l, left side=Sν1-8ν,. XI +Sν and 5. .

=2.X、’ y、X、+2.X、ν1Y。=2. X,'y,X,+2. X, ν1Y.

=i’x、シY、(X、+X、) 故に、(左辺=右辺) (i=i)まで正しいとすると、(i=i+l)のとき S ’+ 、、、= S ’+ tXt++ +S ’
 、I+ i=ΣX、 νYi  (Xt−+ ”X;
 ) rT (Xk+X、)j軍ム◆1 =ΣXjνY、(Xl、l +X、) n (xk+x
、)(証明路わり) 「定理1」の式に対して、シ=O,1=n−1を代入す
ると となり、Y、、が求まった。
= i'x, shiY, (X, +X,) Therefore, (left side = right side) If (i=i) is correct, when (i=i+l), S '+ ,,, = S '+ tXt++ +S '
, I+ i=ΣX, νYi (Xt−+ ”X;
) rT (Xk+X,)j army ◆1 = ΣXjνY, (Xl, l +X,) n (xk+x
, ) (Proof) By substituting shi=O, 1=n-1 into the formula of "Theorem 1", we have found Y, .

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

第3図に示す復号器は、マイクロプログラム方式の構成
であって、マイクロ命令がマイクロプログラムROM2
8から読み出される。マイクロ命令は、レジスタ29を
介して各制御部に制御信号を与える。マイクロプログラ
ムROM2Bと関連してプログラムカウンタ30が設け
られている。
The decoder shown in FIG. 3 has a microprogram system configuration, and microinstructions are stored in the microprogram ROM2
8. The microinstruction provides control signals to each control unit via the register 29. A program counter 30 is provided in association with the microprogram ROM 2B.

各部の内部状態が判断回路31に供給され、判断回路3
1の出力信号に応じてジャンプ先アドレスを発生し、こ
のジャンプ先アドレスをプログラムカウンタ30に与え
るジャンプ先アドレス発生回路32が設けられている。
The internal state of each part is supplied to the judgment circuit 31, and the judgment circuit 3
A jump destination address generating circuit 32 is provided which generates a jump destination address in response to the output signal 1 and supplies this jump destination address to the program counter 30.

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

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

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

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

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

d、変形例 この発明では、イレージヤ訂正の後にC1復号及びC2
復号の両者を行っているが、いずれか一方の復号のみを
行うようにしても良い。
d. Modification In this invention, C1 decoding and C2 decoding are performed after erasure correction.
Although both decoding is performed, only one of the decoding may be performed.

〔発明の効果〕〔Effect of the invention〕

この発明に依れば、イレージヤ訂正を行うことにより、
エラー能力を向上させることができる。
According to this invention, by performing erasure correction,
Error ability can be improved.

また、イレージヤ訂正において、誤った訂正が生じた場
合でも、次段の復号により誤った訂正を検出できる。
Furthermore, even if an erroneous correction occurs in erasure correction, the erroneous correction can be detected by the next stage of decoding.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の訂正処理の順序に従った
ブロック図、第2図はこの発明のエラー訂正能力の説明
のためのグラフ、第3図はこの発明に使用できるリード
ソロモン符号の復号器の一例のブロック図、第4図はリ
ードソロモン符号の復号器に使用されるALUの一例の
ブロック図、第5図はリードソロモン符号の復号器に使
用されるALUの他の例のブロック図、第6図はCIR
C訂正符号の符号系列の説明に用いる路線図である。 図面における主要な符号の説明 2.7:C1復号器、4,9:C2復号器、3.8:デ
ィインターリーブ処理段、 5:インターリーブ処理段。
FIG. 1 is a block diagram showing the order of correction processing according to an embodiment of the present invention, FIG. 2 is a graph for explaining the error correction ability of this invention, and FIG. 3 is a Reed-Solomon code that can be used in this invention. 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. Block diagram, Figure 6 is CIR
It is a route map used for explaining the code sequence of the C 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)

【特許請求の範囲】 第1の配列状態にある複数個のシンボルに関して、m重
エラー訂正及びn重エラーのイレージャ訂正が可能な第
1のエラー訂正符号の符号化がされ、上記複数個のシン
ボル及び上記第1のエラー訂正符号の第1のチェックシ
ンボルの配列が並び替えられて第2の配列状態とされ、
上記第2の配列状態にある上記複数個のシンボル及び上
記第1のチェックシンボルに関して、k重エラー訂正が
可能な第2のエラー訂正符号の符号化がされたもののエ
ラー訂正方法において、 上記第2の配列状態にある複数個のシンボルに関して、
上記第2のエラー訂正符号により、上記に以下の個数の
エラーシンボルの訂正を行うと共に、少なくともkを超
える個数のエラーシンボルに対してエラーポインタをセ
ットするステップと、上記第2の配列状態を上記第1の
配列状態に変換するステップと、 上記第1の配列状態にある複数個のシンボルに関して、
上記第1のエラー訂正符号により、上記エラーポインタ
で示されるn以下の個数のエラーシンボルの上記イレー
ジャ訂正を行うステップと、上記第1の配列状態を上記
第2の配列状態に変換するステップと、 上記第2の配列状態にある複数個のシンボルに関して、
上記第2のエラー訂正符号により、上記に以下の個数の
エラーシンボルの訂正を行うと共に、少なくともkをこ
える個数のエラーシンボルに対してポインタをセットす
るステップと からなることを特徴とするエラー訂正方法。
[Scope of Claims] A first error correction code capable of m-fold error correction and n-fold error erasure correction is encoded with respect to a plurality of symbols in a first arrangement state, and the plurality of symbols are and the arrangement of the first check symbols of the first error correction code is rearranged into a second arrangement state,
In the error correction method for encoding the plurality of symbols in the second arrangement state and the first check symbol with a second error correction code capable of performing k-fold error correction, the second Regarding multiple symbols in an array state,
Correcting the following number of error symbols using the second error correction code, and setting error pointers for at least k or more error symbols; a step of converting to a first array state; and regarding the plurality of symbols in the first array state,
performing the erasure correction of n or less error symbols indicated by the error pointer using the first error correction code; converting the first arrangement state to the second arrangement state; Regarding the plurality of symbols in the second array state,
An error correction method comprising the steps of correcting the following number of error symbols using the second error correction code, and setting a pointer to at least k error symbols. .
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 true JPS63193722A (en) 1988-08-11
JP2605269B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0592229A2 (en) * 1992-10-07 1994-04-13 Samsung Electronics Co., Ltd. Multiple error correcting method
US6145112A (en) * 1997-05-01 2000-11-07 Mitsubishi Denki Kabushiki Kaisha Error correcting method and apparatus

Citations (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
JPS62299117A (en) * 1986-06-18 1987-12-26 Mitsubishi Electric Corp Code correcting device
JPS6387025A (en) * 1986-09-30 1988-04-18 Nec Home Electronics Ltd Code error correcting circuit

Patent Citations (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
JPS62299117A (en) * 1986-06-18 1987-12-26 Mitsubishi Electric Corp Code correcting device
JPS6387025A (en) * 1986-09-30 1988-04-18 Nec Home Electronics Ltd Code error correcting circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0592229A2 (en) * 1992-10-07 1994-04-13 Samsung Electronics Co., Ltd. Multiple error correcting method
EP0592229A3 (en) * 1992-10-07 1995-06-14 Samsung Electronics Co Ltd Multiple error correcting method.
US6145112A (en) * 1997-05-01 2000-11-07 Mitsubishi Denki Kabushiki Kaisha Error correcting method and apparatus

Also Published As

Publication number Publication date
JP2605269B2 (en) 1997-04-30

Similar Documents

Publication Publication Date Title
JPS63193723A (en) Decoding method for reed-solomon code
US5068857A (en) Error correction circuit
EP0387924B1 (en) Method and apparatus for decoding error correction code
EP0129849B1 (en) Error correction method and system
CA1291819C (en) Decoder
JPS6151814B2 (en)
JPS63236416A (en) Encoding/decoding method
JPH0556050B2 (en)
US9164831B2 (en) Memory controller, semiconductor storage device, and decoding method
US6405339B1 (en) Parallelized programmable encoder/syndrome generator
JPH06187248A (en) Data error detection and correction control circuit
US5974582A (en) High-speed chien search logic
JP3260095B2 (en) Error correction code and error detection code decoder and decoding method thereof
JPS63193722A (en) Error correction method
EP1388944A1 (en) Cross interleave reed-solomon code correction
EP0603932B1 (en) Method and apparatus for implementing a quasi-product code with different degrees of protection against errors
US7225386B2 (en) High-efficiency error detection and/or correction code
JP2684031B2 (en) Data decryption method
JPS5856547A (en) Correction system for coding error
JPH0628343B2 (en) Product code decoding method
JPS6322736B2 (en)
JPS58125175A (en) Multiplying circuit of galois field
JP2570251B2 (en) Arithmetic circuit of finite field
KR950010339B1 (en) Error correction system
JPH1145595A (en) Error correcting circuit for multilevel cell

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term