JP2578740B2 - Error correction method - Google Patents

Error correction method

Info

Publication number
JP2578740B2
JP2578740B2 JP58225929A JP22592983A JP2578740B2 JP 2578740 B2 JP2578740 B2 JP 2578740B2 JP 58225929 A JP58225929 A JP 58225929A JP 22592983 A JP22592983 A JP 22592983A JP 2578740 B2 JP2578740 B2 JP 2578740B2
Authority
JP
Japan
Prior art keywords
error
location
error correction
code
pattern
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
JP58225929A
Other languages
Japanese (ja)
Other versions
JPS60117923A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP58225929A priority Critical patent/JP2578740B2/en
Publication of JPS60117923A publication Critical patent/JPS60117923A/en
Application granted granted Critical
Publication of JP2578740B2 publication Critical patent/JP2578740B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/033Theoretical methods to calculate these checking codes

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、デジタルデータの伝送受信システムあるい
は記録再生システムに用いることができる誤り訂正方法
に関するものである。
Description: TECHNICAL FIELD The present invention relates to an error correction method that can be used in a digital data transmission / reception system or a recording / reproducing system.

従来例の構成とその問題点 近年、オーディオ信号等をデジタル的に記録再生する
PCM録音機が開発されているが、記録媒体の欠陥や傷,
ゴミ等に起因する符号誤りを訂正するために誤り訂正符
号が用いられている。
Conventional configuration and its problems In recent years, audio signals and the like are digitally recorded and reproduced.
PCM recorders have been developed, but defects and scratches on the recording media
An error correction code is used to correct a code error caused by dust or the like.

以下図面を参照しながら従来の誤り訂正方法について
説明する。第1図は従来の誤り訂正回路で処理される誤
り訂正符号の構成図であり、Wはオーディオ信号等の情
報点部、Pは第1の検査点部、Qは第2の検査点部であ
り、第1符号C1は図の縦方向に6つの情報点からなる
情報点部Wと2つの検査点からなる第2の検査点部Qと
1つの検査点からなる第1の検査点部Pとにより構成さ
れており、これを1ブロックと称す。第2符号C2は、
図の右斜め下方向にインターリーブ距離D′(=16ブロ
ック)ごとに情報点部Wと第2の検査点部Qとにより構
成されている。第1符号C1はサイクリック・リダンダ
ンシィ・チェック符号(CRCCと称する)であり、誤りの
検出のみを行う。第2符号C2はb隣接符号であり、第
1符号の復号情報(即ち誤りが検出されたか否かの情
報)により誤り訂正を行う。
Hereinafter, a conventional error correction method will be described with reference to the drawings. FIG. 1 is a configuration diagram of an error correction code processed by a conventional error correction circuit, where W is an information point portion such as an audio signal, P is a first check point portion, and Q is a second check point portion. The first symbol C 1 is an information point portion W composed of six information points, a second inspection point portion Q composed of two inspection points, and a first inspection point portion composed of one inspection point in the vertical direction of the drawing. P, and this is called one block. The second code C 2 is
An information point portion W and a second inspection point portion Q are formed at an interleaving distance D '(= 16 blocks) in a diagonally lower right direction in the figure. First code C 1 is a cyclic Ridandanshii check code (referred to as CRCC), performed only detection of an error. The second code C 2 is a b-adjacent code, and performs error correction using decoded information of the first code (that is, information on whether an error has been detected).

第2図は従来の訂正装置のブロック図である。3は符
号化器であり、第2符号化器1と第1符号化器2を有す
る。20は伝送あるいは記録媒体、6は復号化器であり、
第1復号化器4、第2復号化器5を有する。
FIG. 2 is a block diagram of a conventional correction device. Reference numeral 3 denotes an encoder, which includes a second encoder 1 and a first encoder 2. 20 is a transmission or recording medium, 6 is a decoder,
It has a first decoder 4 and a second decoder 5.

以上のように構成された誤り訂正装置についてその動
作を以下に説明する。デジタル化されたオーディオ信号
等の情報点列は、符号化器3の入力端子より入力され、
先ず第2の符号化器1により発生された第2検査点部Q
と共に、第1図のC2方向にD′ブロックおきに配置さ
れる。C2方向に6つの情報点と2つの第2検査点が配
置されると、次の6つの情報点と2つの検査点の組は1
ブロック右にずれた位置からC2方向に配置され、以下
順に配置される。次に、第1符号化器2は上記に配列さ
れた情報点及び第2検査点部を8つづつ第1図のC1
向にとり出し、第1検査点部Pを追加して、伝送あるい
は記録媒体20に送り出す。第1列の送り出しが終ると、
第2列,第3列と順に送り出して行き、この情報点及び
検査点列は245ブロックを1セグメント単位と称する誤
り訂正符号を形成する。
The operation of the error correction device configured as described above will be described below. An information point sequence such as a digitized audio signal is input from an input terminal of the encoder 3,
First, the second check point Q generated by the second encoder 1
Together, they are arranged in D 'block every C 2 direction of Figure 1. When the 6 information points and two second check point C 2 direction are arranged, next set of 6 information points and two test points 1
Disposed C 2 direction from a position shifted to block the right, they are arranged in order below. Next, the first encoder 2 takes out the information points and the second check points arranged in the above manner eight by eight in the direction C1 in FIG. 1 and adds the first check points P to transmit or transmit. It is sent to the recording medium 20. When the first row is sent out,
The second column and the third column are sequentially sent out, and the information point and the check point sequence form an error correction code that calls 245 blocks as one segment unit.

伝送あるいは記録媒体20より受信あるいは再生された
情報点及び検査点列は、復号化器6に入力され、先ず第
1復号化器4により誤りの有無が検出される。この復号
情報は、第1図のC1方向に1列毎に誤りを検出すれば
1とし、誤りを検出しなければ0とする1ビットのポイ
ンタとして、情報点部W及び第2検査点部Qと共にイレ
ージャ訂正回路5に送られる。イレージャ訂正回路5は
2方向の各情報部W及び第2検査点部Qの属するポイ
ンタの数をチェックし、0であれば誤りなし、1あるい
は2であれば誤り訂正を行い、3以上であれば訂正不能
であることを示すフラグを各情報点部Wに付加しながら
2方向に情報点を読み出し、復号化器6の出力端子を
通して出力する。出力された情報点は再びアナログ化さ
れてもとのオーディオ信号等にもどされる。
The information points and the check point sequence received or reproduced from the transmission or the recording medium 20 are input to the decoder 6, and the first decoder 4 first detects the presence or absence of an error. The decoded information is set to 1 by detecting the error in the C 1 direction of FIG. 1 in each column, as a pointer bit to 0 if an error is detected, information point unit W and the second inspection point unit It is sent to the erasure correction circuit 5 together with Q. In erasure correction circuit 5 checks the number of pointers belongs each information unit W and the second inspection point Q of C 2 direction, no error if 0, if 1 or 2 performs error correction, 3 or more It reads the information points in the C 2 direction flag indicating a uncorrectable while adding to each information point unit W if and output through the output terminal of the decoder 6. The output information points are returned to the original audio signal or the like after being converted to analog again.

イレージャ訂正回路5での誤り訂正は以下に述べる手
順で実行される。今ポインタの数が2であると仮定する
とエラーの個数は2であり、そのロケーションは何番目
の情報点にポインタが立っているかを調べることにより
得られる。今、第i番目と第j番目の情報点にポインタ
が立っているとすると、そのロケーションは で与えられる。従ってエラーロケーションは、ポインタ
を読み出し、その値が0か1かを調べることにより求ま
る。次にシンドロームを次式に従い計算する。
Error correction in the erasure correction circuit 5 is performed in the following procedure. Assuming now that the number of pointers is two, the number of errors is two, and the location can be obtained by checking at what information point the pointer is standing. Assuming now that the pointer is standing at the i-th and j-th information points, the location is Given by Therefore, the error location is determined by reading the pointer and checking whether the value is 0 or 1. Next, the syndrome is calculated according to the following equation.

但し、Rjは受信データであり本従来例ではn=8,k=6
である。第2検査点Qは次式を満たすように作成されて
おり、 エラーを含んだ受信データRi,Rjはそのロケーションで
のエラーパタンをY1,Y2とすると、 と表わされるので、(2)式により得られるシンドロー
ムの値は、 となる。これによりエラーパタンY1,Y2を求めると、 となる。エラーパターンが求まれば訂正は(4)式によ
り次式のように行なわれる。
Here, R j is the received data, and in this conventional example, n = 8, k = 6
It is. The second inspection point Q is created so as to satisfy the following equation. The received data R i , R j including an error is represented by Y 1 , Y 2 as the error pattern at the location. Therefore, the value of the syndrome obtained by equation (2) is Becomes Thus, when error patterns Y 1 and Y 2 are obtained, Becomes If the error pattern is obtained, the correction is performed by the following equation according to the equation (4).

しかしながら、上記の構成においては、C2方向の誤
りの個数が3を超えるか又は、2つの誤りの内、一つの
誤りの位置すなはちエラーロケーションが不明の場合、
誤りが訂正できなくなると云う重大な問題点を有してい
た。さらに符号を拡張して第2検査符号の数を増やし3
個以上の誤りを訂正可能にしようとすると(5)式に相
等する式を解いてエラーパターンYiを求める(6)式
に相等する式を解くための計算量はエラーの個数iが増
えるにつれて急激に増大し、実用上実現不可能になると
いう問題点を有していた。
However, in the arrangement, or the number of errors in the C 2 direction exceeds 3, of the two error position of one erroneous sand eight if the error location is unknown,
There was a serious problem that the error could not be corrected. Further, the number of second check codes is increased by extending the code to 3
If you try to more than five error correctable (5) as expression by solving the formula for equality determining the error pattern Y i (6) calculating the amount for solving equations that equivalent to the equation is the number of errors i increases There was a problem that it increased rapidly and was not practically feasible.

発明の目的 本発明の目的は、エラーロケーションの不明なエラー
を一つ含む、3を超える誤りの訂正を少ない計算量によ
って実現する誤り訂正方法を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an error correction method that can correct more than three errors including one error whose error location is unknown with a small amount of calculation.

発明の構成 本発明の誤り訂正方法は、1個のエラーのロケーショ
ンが未知の場合の誤り訂正方法であって、誤り検査行列
が所定の正の整数kを用いて定義されるガロア体GF(2k)
上の原始元αによって と表現される前記ガロア体上の元を成分とする符号のベ
クトル の伝送途中にエラーが生じ前記符号ベクトルが受信ベク
トル に変化した受信ベクトルを受信し、前記受信ベクトルの
エラーが、l個(l:整数)のロケーション(ai′のロ
ケーションをαiで定義する)が既知のエラーと、1個
のロケーションが未知のエラーであり、 l+2≦m である場合に、前記l個のエラーのロケーションを X1,X23,X3,……,Xl とおき、前記各ロケーションのエラーパターン (ai′のエラーパターンを(ai+ai′)で定義する をそれぞれ Y1,Y23,Y3,……,Yl とおき、前記1個のエラーのロケーション及びエラーパ
ターンをそれぞれXl+1,Yl+1とおき、受信ベクトルのシ
ンドローム S0,S1,S2,……,Sm-1によって求めるシンドローム演算ステップと、 C(n,i)(n=1,2,3,……,l,i=0,1,2,……,n−1) をXに関する恒等式 によって求めるロケーション演算ステップと、エラーロ
ケーションが未知の1個のエラーのエラーロケーション
とエラーパタン及び、エラーロケーションが既知のl個
のエラーのエラーパタン Xl+1,Yl+1,Yl,Yl-1,……,Y2,Y1 を漸化式 0(1)=S0(2)+Y31(1)=S1(2)+X332={S1(1)+C(1,0)S0(1)}/(X2
1) S0(0)=S0(1)+Y21=S0(0) によって逐次求めるエラーパタン演算ステップとを含む
ことを特徴とするものであり、上記漸化式を用いること
により、誤り検査行列の行数を増やしても、少ない計算
量で、すなわち少ない計算時間、または計算回路で多く
の誤りを訂正できる利点を有するものである。
The error correction method according to the present invention is an error correction method in a case where the location of one error is unknown. The error correction matrix has a Galois field GF (2) defined using a predetermined positive integer k. k )
By the primitive element α A vector of codes whose components are elements on the Galois field expressed as An error occurs during transmission of the , And the errors in the received vector include an error in which 1 (l: an integer) locations (where a i ′ is defined by α i ) are known and one location is unknown. of an error, if it is l + 2 ≦ m, the l-number X 1 the location of the error, X 2 3, X 3, ......, X l Distant, wherein each location of the error pattern (a i ' the defining error pattern (a i + a i '), respectively Y 1, Y 2 3, Y 3, ......, Y l Distant, wherein each one of the error locations and error patterns X l + 1, Y l + 1 Distant, the received vector syndromes S 0, S 1, S 2 , ......, a S m-1 , And the identity calculation step for C (n, i) (n = 1,2,3, ..., l, i = 0,1,2, ..., n-1) , The error location and error pattern of one error whose error location is unknown, and the error pattern X l + 1 , Y l + 1 , Y l , Y of one error whose error location is known l-1 , ……, Y 2 , Y 1 is a recurrence formula S 0 (1) = S 0 (2) + Y 3 S 1 (1) = S 1 (2) + X 3 Y 3 Y 2 = {S 1 (1) + C (1,0) S 0 (1)} / (X 2 +
X 1 ) S 0 (0) = S 0 (1) + Y 2 Y 1 = S 0 (0) Thus, even if the number of rows of the error check matrix is increased, there is an advantage that a large amount of errors can be corrected with a small amount of calculation, that is, a small calculation time, or a calculation circuit.

実施例の説明 第3図は本発明の一実施例における誤り訂正符号の構
成図を示すものである。第3図において、Wは情報点
部、Pは第1検査点部、Qは第2検査部Qであり、第1
符号C1は図の縦方向に(n,k)リードソロモン符号(本
実施例の場n=32,k=29)を構成し、第2符号C2は図
の横方向に第1符号C1と直交する配列で、インターリ
ーブ距離D(本実施例の場合D=4)毎にh個の情報点
によりなる情報点部Wと第2検査点部Qより(m,h)リ
ードソロモン符号(本実施例の場合m=32,h=25)を構
成する。
Description of the embodiment FIG. 3 shows a configuration diagram of an error correction code according to an embodiment of the present invention. In FIG. 3, W is an information point part, P is a first inspection point part, Q is a second inspection part Q,
The code C 1 constitutes a (n, k) Reed-Solomon code (n = 32, k = 29 in this embodiment) in the vertical direction of the figure, and the second code C 2 constitutes the first code C in the horizontal direction of the figure. In an array orthogonal to 1 , an (m, h) Reed-Solomon code (m, h) is obtained from an information point portion W and a second check point portion Q each consisting of h information points at every interleave distance D (D = 4 in this embodiment). In this embodiment, m = 32, h = 25).

第4図は本発明の一実施例における誤り訂正装置のブ
ロック図である。10は符号化器であり、第2符号化器11
と第1符号化器12を有する。20は伝送あるいは記録媒
体、30は復号化器であり、第1復号化器31と第2復号化
器32を有する。
FIG. 4 is a block diagram of an error correction device according to one embodiment of the present invention. Reference numeral 10 denotes an encoder, and a second encoder 11
And a first encoder 12. 20 is a transmission or recording medium, 30 is a decoder, and has a first decoder 31 and a second decoder 32.

以上のように構成された本実施例の誤り訂正装置につ
いて以下その動作を説明する。信号の流れは従来例と同
じであるので、ここでは従来例との差について説明す
る。本実施例の場合、第1符号はGF(28)上の(32,2
9)リードソロモン符号であり、その生成多項式は次式
で与えられる。
The operation of the thus configured error correction apparatus of the present embodiment will be described below. Since the signal flow is the same as in the conventional example, the difference from the conventional example will be described here. In this embodiment, the first code is (32,2) on GF (2 8 ).
9) It is a Reed-Solomon code, and its generator polynomial is given by the following equation.

1(x)=(X+1)(X+α)(X+α2) ……(1
3) ここでαは方程式g(X)のGF(28)上の根である。
g(X)は原始多項式であればどのような多項式でもよ
く、例えば次式のような式が用いられる。
G 1 (x) = (X + 1) (X + α) (X + α 2 ) (1
3) where α is the root on GF (2 8 ) of equation g (X).
g (X) may be any polynomial as long as it is a primitive polynomial. For example, the following equation is used.

g(X)=X8+X4+X3+X2+1 ……(14) 29個の情報点をW1,W2,……,W29,3個の第1検査部の検
査点をP1,P2,P3とすると、第1符号の満たすべき検査
行列式は次式で与えられる。
g (X) = X 8 + X 4 + X 3 + X 2 +1 (14) 29 information points are represented by W 1 , W 2 ,..., W 29 , and three inspection points of the first inspection section are represented by P 1. , P 2 , P 3 , the parity check matrix to be satisfied by the first code is given by the following equation.

ここで とおくと(15)式は と表わされる。これにより、検査点P1,P2,P3は、 と表わされる。第1符号化器12は29個の情報点Wi(i
=1,2,3,……,29)を用いてA,B,Cを計算し、Pi(i=
1,2,3)を求める。この計算を行う第1符号化器12はコ
ンピュータのプログラムによりソフトウェアとしも実現
できるし、また理論回路によりハードウェアとしても実
現できる事は当業者の知るところであり、詳細な説明は
省略する(例えば、特願昭58-66159号公報に記載されて
いる)。第1符号C1は検査点が3個であるので符号間
距離が4であり、1重の誤り検出訂正と2重以上の誤り
検出が可能である。一般に符号間距離をd、訂正可能な
誤り数をtとすると、2t+1dが成立する。従って第
1復号化器31は、1重誤り訂正を行い、2重以上の誤り
を検出した場合は、ポインタをたてる。この誤り検出・
訂正過程は以下のごとくなる。受信又は再生された第1
符号をWi(i=1,2,3,……,32)で表わす。便宜上情報
点と検査点との区別は行なわない。先ず、シンドローム
i(i=0,1,2)を求める。
here Equation (15) is It is expressed as Thereby, the inspection points P 1 , P 2 , P 3 are It is expressed as The first encoder 12 has 29 information points W i (i
= 1,2,3, ..., 29) to calculate A, B, C and P i (i =
1,2,3). Those skilled in the art know that the first encoder 12 that performs this calculation can be realized as software by a computer program, or can also be realized as hardware by a theoretical circuit, and a detailed description thereof is omitted (for example, It is described in Japanese Patent Application No. 58-66159). First code C 1, since the inspection points is three a code distance is 4, it is possible to 1 double error detection and correction and double or more error detection. In general, if the inter-symbol distance is d and the number of correctable errors is t, 2t + 1d holds. Therefore, the first decoder 31 performs single error correction and raises a pointer when double or more errors are detected. This error detection
The correction process is as follows. The first received or played
The code is represented by W i (i = 1, 2, 3,..., 32). For convenience, no distinction is made between information points and inspection points. First, a syndrome S i (i = 0, 1, 2) is obtained.

ただし、P1=W30,P2=W31,P3=W32 今、第i番目のワードWi上に誤りが発生していると
仮定し、そのエラーパターンをYi,ロケーションを表
わすαi-1をXiで表わすと、受信データRiは次式で表
わされる。
However, P 1 = W 30, P 2 = W 31, P 3 = W 32 now assume that an error has occurred on the i-th word W i, represents the error pattern Y i, the location When α i−1 is represented by X i , received data R i is represented by the following equation.

i=Wi+Yi ……(20) 又、シンドロームの値は(3)式を満すので、 と表わされる。従って第1復号化器31は、S0,S1,S2
計算し、各々の値が0でない事により誤りの発生を検出
し、又 S1/S0=S2/S1=Xi ……(22) であるかどうかを調べて、それが1重誤りか否かを判定
する。(22)式を満すiが存在すれば1重誤りと判定
し、(21)の第1式で得られる誤りパターンを第i番目
の受信データRiに加える事により誤り訂正を完了す
る。
R i = W i + Y i (20) Since the value of the syndrome satisfies the expression (3), It is expressed as Therefore, the first decoder 31 calculates S 0 , S 1 , and S 2 , detects the occurrence of an error when each value is not 0, and calculates S 1 / S 0 = S 2 / S 1 = X i ... (22) is checked to determine if it is a single error. If i that satisfies the expression (22) exists, it is determined that the error is a single error, and the error correction obtained by adding the error pattern obtained by the expression 1 in the expression (21) to the i-th received data R i is completed.

i=Ri+Yi ……(23) (22)式を満すiが存在しない場合は、2重以上の誤り
と判定し、ポインタを発生して、第2復号化器32内のメ
モリに送る。上記の誤り検出・訂正過程の実現手段は第
1符号化器12と同様に当業者の知る所であり、詳細な説
明は省略する。なお詳しくは、例えば、特開昭58-66159
号公報や、今井他著「符号理論」昭晃堂1975年等に記載
されている。第2符号C2は、本実施例の場合、GF
(28)上の(32,25)RS符号であり、その符号間距離は
8であるので、単独では3重誤り検出・訂正まで可能で
あり、又エラーの位置即ちロケーションがポインタ等に
より既知の場合は、7重訂正まで可能である。一般にロ
ケーションが既知の場合の誤り訂正をイレージャ訂正と
呼び、符号間距離をdとし、イレージャ訂正可能な誤り
数をeとすると、e+1≦dが成立する。又イレージャ
訂正とt重誤り検出訂正(略してエラー訂正と称す)と
を組み合わせる事も可能で、その場合は 2t+e+1≦d ……(24) が成立する。第2符号化器11は第1符号化器12と同様に
次式を満す第2検査点部Qi(i=1,2,……,7)を発生
する。
W i = R i + Y i (23) If there is no i that satisfies the expression (22), it is determined that there is a double or more error, a pointer is generated, and the memory in the second decoder 32 is stored. Send to Means for realizing the above error detection / correction process are known to those skilled in the art, like the first encoder 12, and a detailed description thereof will be omitted. For further details, see, for example, JP-A-58-66159.
And in Ichi et al., "Coding Theory", Shokodo, 1975. The second code C 2 is GF in this embodiment.
(2 8 ) The above (32,25) RS code, and its inter-code distance is 8, so it is possible to detect and correct triple errors by itself, and the position of the error, that is, the location is known by a pointer or the like. In the case of, up to sevenfold correction is possible. In general, error correction in the case where the location is known is called erasure correction, and if the inter-code distance is d and the number of erasure-correctable errors is e, then e + 1 ≦ d holds. It is also possible to combine erasure correction and t-error detection correction (abbreviated as error correction), in which case 2t + e + 1 ≦ d (24) is satisfied. Like the first encoder 12, the second encoder 11 generates a second check point Q i (i = 1, 2,..., 7) satisfying the following equation.

第5図は、本発明の一実施例における誤り訂正の方法
を用いた第2復号化器32のブロック図であり、321はイ
レージャ訂正回路、322はイレージャエラー訂正回路、3
23はエラー訂正回路である。以上のように構成された本
実施例の第2復号化器について以下に動作を説明する。
第2復号化器32は本実施例の場合、ポインタの数Pによ
って以下の訂正を行う。
FIG. 5 is a block diagram of a second decoder 32 using an error correction method according to one embodiment of the present invention, wherein 321 is an erasure correction circuit, 322 is an erasure error correction circuit,
23 is an error correction circuit. The operation of the second decoder configured as described above according to the present embodiment will be described below.
In the case of the present embodiment, the second decoder 32 performs the following correction based on the number P of pointers.

(1) p≧8,1≦P≦2のとき、エラー訂正回路323で
2重エラー訂正を行う。
(1) When p ≧ 8, 1 ≦ P ≦ 2, the error correction circuit 323 performs double error correction.

(2) P=7のとき、イレージャ訂正回路321で7イ
レージャ訂正を行う。
(2) When P = 7, the erasure correction circuit 321 performs seven erasure corrections.

(3) 3≦P≦6のとき、イレージャ・エラー訂正回
路322で5イレージャ及び1重エラー訂正を行う。
(3) When 3 ≦ P ≦ 6, the erasure error correction circuit 322 performs five erasures and single error correction.

ポインタは第3図に於て各列に1つづつであり、第1
符号に直交する第2符号からみると、ポインタは各行毎
の第2符号に共通であるので、ポインタ及びロケーショ
ンに関する演算は、1回求めておけば各行に共通に使え
るので演算回数を少くすることが可能である。ここでは
5イレージャ及び1重エラー訂正について説明する。最
初にエラーのポインタ数が3以上5以下であったとする
と、適当のエラーのポインタを追加し、エラーのポイン
タ数が5になるようにする。
The pointer is one for each column in FIG.
From the viewpoint of the second code orthogonal to the code, since the pointer is common to the second code for each row, it is necessary to calculate the pointer and location once and use it commonly for each row. Is possible. Here, 5 erasures and single error correction will be described. If the number of error pointers is 3 or more and 5 or less at first, an appropriate error pointer is added so that the number of error pointers becomes 5.

第6図は本発明の一実施例における誤り訂正方法を用
いた5イレージャ及び1エラーを訂正するイレージャエ
ラー訂正回路のブロック図であり、3221はロケーション
演算回路、3222はシンドローム演算回路、3223はエラー
パターン演算回路である。以上のように構成された本発
明の一実施例における5イレージャ及び1エラー訂正回
路について以下その動作を説明する。先ず、5つのポイ
ンタに対応するエラーのロケーションをX1,X2,33,X4,X
5とし、ロケーション演算回路3221に於て、次のXに関
する恒等式を満たす。
FIG. 6 is a block diagram of an erasure error correction circuit for correcting five erasures and one error using the error correction method in one embodiment of the present invention, where 3221 is a location operation circuit, 3222 is a syndrome operation circuit, and 3223 Is an error pattern operation circuit. The operation of the five erasure and one error correction circuit according to the embodiment of the present invention configured as described above will be described below. First, the location of the error corresponding to the five pointers X 1, X 2, 3 3 , X 4, X
In the location arithmetic circuit 3221, the following equation about X is satisfied.

で定義されるC(n,i)を以下の手順で求める。 Is obtained by the following procedure.

C(1,0)=X1 次にシンドローム演算回路3222は次式を計算しシンドロ
ームSj(j=0,1,……,6)を求める。
C (1,0) = X 1 Next, the syndrome calculation circuit 3222 calculates the following equation to obtain a syndrome S j (j = 0, 1,..., 6).

一方シンドロームはイレージャのロケーションXi及び
エラーのパターンYi(Y=1,2,3,4,5)とロケーション
未知の1重エラーのロケーション及びエラーパターンX
6,Y6により次式で表わされる。
On the other hand, the syndrome is the location X i of the erasure and the error pattern Y i (Y = 1, 2, 3, 4, 5) and the location and error pattern X of the single error whose location is unknown.
6 , Y 6 is represented by the following equation.

この式を解いてエラーのロケーションX6とそのエラー
のパターンY6とを求めると、次式のようになるが、そ
の演算は演算回路3223により実行される。
When this equation is solved to find the error location X 6 and the error pattern Y 6 , the following equation is obtained. The operation is executed by the arithmetic circuit 3223.

次にY5を次式で定義されるSi(4)(i=0,1,2,3,
4)を用いて、 によって求める。以下同様にY4,Y3,Y2,Y1を以下の式に
よって求める。
Next, Y 5 is defined as S i (4) (i = 0,1,2,3,
4) Ask by. Hereinafter, similarly, Y 4 , Y 3 , Y 2 , and Y 1 are obtained by the following equations.

このようにして、全てのイレージャのエラーパターンY
1,Y2,Y3,Y4,Y5とロケーション未知のエラーロケーショ
ン及びエラーパターンX6,Y6とが求まり、エラーの訂正
を行うことができる。第2復号化器32の構成はソフトウ
エア及びハードウエアで実現可能であるということは云
うまでもない。
Thus, the error pattern Y of all the erasures
1 , Y 2 , Y 3 , Y 4 , Y 5 , an error location whose location is unknown, and error patterns X 6 , Y 6 are obtained, and the error can be corrected. It goes without saying that the configuration of the second decoder 32 can be realized by software and hardware.

以上のように本実施例によれば、イレージャの訂正を
漸化式を計算することによって実現するので、少ない演
算回数、すなわち復号化器をソフトウエアで実現した場
合には非常に短い演算時間で、またハードウエアで実現
した場合には非常に少ない演算回路によって、5つのロ
ケーションが既知のエラーと1つのロケーションが未知
のエラーを訂正することができる。なお、上記実施例で
は、エラーパターンYjを求める際に、 を計算したが、この値はポインタを求める際に1度計算
しておけば第3図の各行について共通に使えるので、全
体の演算時間または演算回路をさらに減らすことができ
る。
As described above, according to the present embodiment, the correction of the erasure is realized by calculating the recurrence formula. Therefore, when the number of operations is small, that is, when the decoder is realized by software, the operation time is very short. In addition, when implemented by hardware, it is possible to correct an error in which five locations are known and an error in which one location is unknown by using very few arithmetic circuits. In the above embodiment, when obtaining the error pattern Yj , However, if this value is calculated once when obtaining the pointer, it can be used in common for each row in FIG. 3, so that the total operation time or the operation circuit can be further reduced.

発明の効果 以上の説明から明らかなように、本発明はポインタに
よって得られるロケーションの漸化式を計算するように
構成し、ロケーション多項式の係数とシンドロームの漸
化式を計算する様に構成しているので、非常に少ない演
算時間または演算回路で、誤り位置の不明な誤りを含む
多重誤りを訂正可能にするという優れた効果が得られ
る。その効果により、この誤り訂正の方法を安価なPCM
録音機に用いることが可能になり、通常の使用状態では
半永久的に訂正後の信号の劣化が生じないという優れた
効果が得られる。
As is apparent from the above description, the present invention is configured to calculate the recurrence formula of the location obtained by the pointer, and configured to calculate the coefficients of the location polynomial and the recurrence formula of the syndrome. Therefore, an excellent effect that multiple errors including an error whose error position is unknown can be corrected with a very short operation time or an operation circuit can be obtained. Due to its effect, this error correction method can be used inexpensive PCM
It is possible to use the present invention for a recording machine, and an excellent effect that semi-permanent deterioration of a signal after correction does not occur in a normal use state is obtained.

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

第1図は従来の誤り訂正方法に用いられる誤り訂正符号
の構成図、第2図は同じく従来の誤り訂正の方法を用い
た誤り訂正装置のブロック図、第3図は本発明の一実施
例における誤り訂正方法を用いた誤り訂正符号の構成
図、第4図は同じく本発明の一実施例における誤り訂正
方法を用いた誤り訂正装置のブロック図、第5図は本発
明の一実施例における誤り訂正方法を用いた第2復号化
器のブロック図、第6図は本発明の一実施例における誤
り訂正方法を用いたイレージャエラー訂正回路のブロッ
ク図である。 W……情報点部、P……第1検査点部、Q……第2検査
点部、10……符号化器、11……第2符号化器、12……第
1符号化器、30……復号化器、31……第1復号化器、32
……第2復号化器、321……イレージャ訂正回路、3221
……ロケーション演算回路、3222……シンドローム演算
回路、3223……エラーパターン演算回路。
1 is a block diagram of an error correction code used in a conventional error correction method, FIG. 2 is a block diagram of an error correction device using the same error correction method, and FIG. 3 is an embodiment of the present invention. FIG. 4 is a block diagram of an error correction apparatus using an error correction method according to an embodiment of the present invention, and FIG. 5 is a block diagram of an error correction apparatus using the error correction method according to an embodiment of the present invention. FIG. 6 is a block diagram of a second decoder using the error correction method, and FIG. 6 is a block diagram of an erasure error correction circuit using the error correction method in one embodiment of the present invention. W ... information point part, P ... first check point part, Q ... second check point part, 10 ... encoder, 11 ... second encoder, 12 ... first encoder, 30 ... decoder, 31 ... first decoder, 32
... Second decoder, 321 erasure correction circuit, 3221
…… Location operation circuit, 3222 …… Syndrome operation circuit, 3223 …… Error pattern operation circuit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】1個のエラーのロケーションが未知の場合
の誤り訂正方法であって、誤り検査行列が所定の正の整
数kを用いて定義されるガロア体GF(2k)上の原始元αに
よって と表現される前記ガロア体上の元を成分とする符号のベ
クトル の伝送途中にエラーが生じ前記符号ベクトルが受信ベク
トル に変化した受信ベクトルを受信し、前記受信ベクトルの
エラーが、l個(l:整数)のロケーション(ai′のロ
ケーションをαiで定義する)が既知のエラーと、1個
のロケーションが未知のエラーであり、 l+2≦m である場合に、前記l個のエラーのロケーションを X1,X2,X3,……,Xl とおき、前記各ロケーションのエラーパターン (ai′のエラーパターンを(ai+ai′)で定義する をそれぞれ Y1,Y2,Y3,……,Yl とおき、前記1個のエラーのロケーション及びエラーパ
ターンをそれぞれXl+1,Yl+1とおき、受信ベクトルのシ
ンドローム S0,S1,S2,……,Sm-1によって求めるシンドローム演算ステップと、 C(n,i)(n=1,2,3,……,l,i=0,1,2,……,n−1) をXに関する恒等式 によって求めるロケーション演算ステップと、エラーロ
ケーションが未知の1個のエラーのエラーロケーション
とエラーパタン及び、エラーロケーションが既知のl個
のエラーのエラーパタン Xl+1,Yl+1,Yl,Yl-1,……,Y2,Y1 を漸化式 0(1)=S0(2)+Y31(1)=S1(2)+X332={S1(1)+C(1,0)S0(1)}/(X2
1) S0(0)=S0(1)+Y21=S0(0) によって逐次求めるエラーパタン演算ステップとを含む
ことを特徴とする誤り訂正方法。
1. An error correction method when the location of one error is unknown, wherein an error check matrix is defined by a primitive element on a Galois field GF (2 k ) defined using a predetermined positive integer k. by α A vector of codes whose components are elements on the Galois field expressed as An error occurs during transmission of the , And the errors in the received vector include an error in which 1 (l: an integer) locations (where a i ′ is defined by α i ) are known and one location is unknown. If l + 2 ≦ m, the locations of the l errors are set as X 1 , X 2 , X 3 ,..., X l , and the error pattern (a i ′ The pattern defined by (a i + a i ′) is defined as Y 1 , Y 2 , Y 3 ,..., Y l , and the location and error pattern of the one error are defined as X l + 1 , Y l , respectively. +1 Distant, syndromes S 0, S 1, S 2 of the received vector, ..., and S m-1 , And the identity calculation step for C (n, i) (n = 1,2,3, ..., l, i = 0,1,2, ..., n-1) , The error location and error pattern of one error whose error location is unknown, and the error pattern X l + 1 , Y l + 1 , Y l , Y of one error whose error location is known l-1 , ……, Y 2 , Y 1 is a recurrence formula S 0 (1) = S 0 (2) + Y 3 S 1 (1) = S 1 (2) + X 3 Y 3 Y 2 = {S 1 (1) + C (1,0) S 0 (1)} / (X 2 +
X 1 ) S 0 (0) = S 0 (1) + Y 2 Y 1 = S 0 (0).
JP58225929A 1983-11-30 1983-11-30 Error correction method Expired - Lifetime JP2578740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58225929A JP2578740B2 (en) 1983-11-30 1983-11-30 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58225929A JP2578740B2 (en) 1983-11-30 1983-11-30 Error correction method

Publications (2)

Publication Number Publication Date
JPS60117923A JPS60117923A (en) 1985-06-25
JP2578740B2 true JP2578740B2 (en) 1997-02-05

Family

ID=16837102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58225929A Expired - Lifetime JP2578740B2 (en) 1983-11-30 1983-11-30 Error correction method

Country Status (1)

Country Link
JP (1) JP2578740B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63193723A (en) * 1987-02-06 1988-08-11 Sony Corp Decoding method for reed-solomon code

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6034136B2 (en) * 1981-10-15 1985-08-07 日本電気株式会社 Reed-Solomon code decoding method
JP2578739B2 (en) * 1983-11-25 1997-02-05 松下電器産業株式会社 Erase correction method

Also Published As

Publication number Publication date
JPS60117923A (en) 1985-06-25

Similar Documents

Publication Publication Date Title
US4546474A (en) Method of error correction
US4497058A (en) Method of error correction
EP0167627A1 (en) Method and apparatus for decoding error correction code
US4646301A (en) Decoding method and system for doubly-encoded Reed-Solomon codes
JPH084233B2 (en) Error correction code decoding device
JP3945602B2 (en) Correction inspection method and correction inspection apparatus
JP2563389B2 (en) Error detection and correction method
JPS5846741A (en) Decoder
JP2578740B2 (en) Error correction method
JPH048979B2 (en)
JP2578739B2 (en) Erase correction method
JP2000010807A (en) Digital data reproducing device
JPH082028B2 (en) Code correction device
JPH06244741A (en) Error correcting method
JP2684031B2 (en) Data decryption method
JP2768723B2 (en) Decryption device
JP2796291B2 (en) Error correction method
JP3583905B2 (en) Error correction device
JP2518827B2 (en) Encoding / decoding device
JP2600672B2 (en) Error correction encoding method and error correction encoding device
JP2647646B2 (en) Error correction method
JP3242682B2 (en) Error correction processor
JPH07112160B2 (en) Decoding method of error correction code
JP2532258B2 (en) Error detection method
KR100246342B1 (en) Reed solomon error correction apparatus