JP2694794B2 - Error correction processing method - Google Patents

Error correction processing method

Info

Publication number
JP2694794B2
JP2694794B2 JP5083177A JP8317793A JP2694794B2 JP 2694794 B2 JP2694794 B2 JP 2694794B2 JP 5083177 A JP5083177 A JP 5083177A JP 8317793 A JP8317793 A JP 8317793A JP 2694794 B2 JP2694794 B2 JP 2694794B2
Authority
JP
Japan
Prior art keywords
polynomial
error
syndrome
order
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP5083177A
Other languages
Japanese (ja)
Other versions
JPH06303150A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5083177A priority Critical patent/JP2694794B2/en
Publication of JPH06303150A publication Critical patent/JPH06303150A/en
Application granted granted Critical
Publication of JP2694794B2 publication Critical patent/JP2694794B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、誤り訂正処理方法に関
し、特にリードソロモン符号を含む符号の復号に適用で
きる誤り訂正処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction processing method, and more particularly to an error correction processing method applicable to the decoding of codes including Reed Solomon codes.

【0002】[0002]

【従来の技術】従来の誤り訂正処理方法について図面を
参照して説明する。
2. Description of the Related Art A conventional error correction processing method will be described with reference to the drawings.

【0003】図5,図6はそれぞえ第1,第2の従来例
を示すユークリッドアルゴリズムのフローチャートであ
る。
FIGS. 5 and 6 are flowcharts of the Euclidean algorithm showing the first and second conventional examples, respectively.

【0004】まず、図5に示す第1の従来例のエラー訂
正時におけるユークリッドアルゴリズムについて説明す
る。
First, the Euclidean algorithm at the time of error correction of the first conventional example shown in FIG. 5 will be described.

【0005】ここで、B0 (X)は今求まっている誤り
位置多項式を、B-1(X)は、1つ前の演算で求まった
誤り位置多項式を、Bi (X)はi回後の演算で求まる
誤り位置多項式を示し、R0 (X)は今求まっている誤
り数値多項式を、R-1(X)は1つ前の演算で求まった
誤り数値多項式を、Riはi回数後の演算で求まる誤り
数値多項式を示す。初期設定としてステップ51でB-1
(X)に0を、B0 (X)に1を、R-1(X)にX
2tを、R0 (X)にS(X)を代入する。ここでtは最
大誤り訂正能力数、S(X)はシンドローム多項式であ
る。
Here, B 0 (X) is the error locator polynomial that has just been calculated, B -1 (X) is the error locator polynomial that has been calculated in the previous operation, and B i (X) is i times. The error locator polynomial obtained by the later operation is shown. R 0 (X) is the error number polynomial that is currently obtained, R -1 (X) is the error number polynomial obtained by the previous operation, and Ri is the number of times i. The error numerical polynomial obtained by the following calculation is shown. B -1 in step 51 as initial setting
0 for (X), 1 for B 0 (X), X for R -1 (X)
Substitute 2 ( t ) with S (X) for R 0 (X). Here, t is the maximum error correction capability number, and S (X) is a syndrome polynomial.

【0006】i=1とし、ステップ52、ステップ53
でRi-1 (X)/Ri-1 (X)=Qi (X),R
i-2 (X)−Ri-1 (X)・Qi (X)=Ri (X),
i-2 (X)−Bi-1 (X)・Qi (X)の演算を行
い、商Q1 (X)を求めてから、R1(X)、B
1 (X)を求める。そして、ステップ54においてR1
(X)の次数とtとの比較を行う。この結果、R
1 (X)の次数がtより下がっていれば、ステップ56
でB1 (X)が誤り位置多項式σ(X)に、R1 (X)
が誤り数値多項式η(X)となる。R1 (X)の次数が
tより高ければステップ55でiに1を加算して2と
し、再びステップ52、ステップ53の演算を行い、R
i (X)の次数がtより低くなるまで繰り返し行う。低
くなった時点で、Bi (X)が誤り位置多項式σ(X)
に、Ri (X)が誤り数値多項式η(X)となる。
When i = 1, step 52 and step 53
Where R i-1 (X) / R i-1 (X) = Q i (X), R
i-2 (X) -Ri -1 (X) .Qi (X) = Ri (X),
The calculation of B i-2 (X) -B i-1 (X) · Q i (X) is performed to obtain the quotient Q 1 (X), and then R 1 (X), B
Calculate 1 (X). Then, in step 54, R 1
The order of (X) and t are compared. As a result, R
If the degree of 1 (X) is lower than t, step 56.
Where B 1 (X) is the error locator polynomial σ (X) and R 1 (X)
Is the error numerical polynomial η (X). If the order of R 1 (X) is higher than t, 1 is added to i in step 55 to obtain 2, and the operations in steps 52 and 53 are performed again to obtain R
Repeat until the order of i (X) becomes lower than t. At the time when it becomes lower, B i (X) is the error locator polynomial σ (X)
Then, R i (X) becomes the error numerical polynomial η (X).

【0007】このσ(X)、η(X)を用いることでエ
ラーロケーション、エラーパターンを求めることがで
き、訂正が可能となる。
By using σ (X) and η (X), the error location and the error pattern can be obtained and correction can be performed.

【0008】次に図6に示す第2の従来例のエラー訂
正、イレージャ訂正混在時におけるユークリッドアルゴ
リズムについて説明する。
Next, the Euclidean algorithm when the error correction and erasure correction are mixed in the second conventional example shown in FIG. 6 will be described.

【0009】初期設定としてステップ61でB-1(X)
に0をB0 (X)に1を、R-1(X)にX2tを、R
0 (X)に[σK (X)・S(X)]modX2tを代入
する。こでtは最大誤り訂正能力数、σK (X)はイレ
ージャロケーション多項式、S(X)はシンドローム多
項式である。
As an initial setting, in step 61, B -1 (X)
To 0, B 0 (X) to 1, R -1 (X) to X 2t , R
Substitute [σ K (X) · S (X)] modX 2t for 0 (X). Here, t is the maximum error correction capability number, σ K (X) is the erasure location polynomial, and S (X) is the syndrome polynomial.

【0010】i=1とし、ステップ62,63において
i-1 (X)/Ri-1 (X)=Qi(X),R
i-2 (X)−Ri-1 (X)・Qi (X)=Ri (X),
i-2 (X)−Bi-1 (X)・Qi (X)の演算を行
い、ステップ64においてR1 (X)の次数とu=
「(d−1+k)/2」との比較を行う。ここでdは受
信符号と送信符号間の訂正可能な符号間最小距離、kは
イレージャ数である。この結果、R1(X)の次数がu
より下がっていれば、ステップ66でB1 (X)が誤り
位置多項式σ(X)に、R1 (X)が誤り数値多項式η
(X)となる。R1 (X)の次数がuより高ければステ
ップ65でiに1を加算して2とし、再びステップ6
2,63の演算を行い、R1 (X)の次数がuより低く
なるまで繰り返し行う。低くなった時点で、Bi (X)
が誤り位置多項式σ(X)に、R1 (X)が誤り数値多
項式η(X)となる。
When i = 1, in steps 62 and 63, R i-1 (X) / R i-1 (X) = Q i (X), R
i-2 (X) -Ri -1 (X) .Qi (X) = Ri (X),
B i−2 (X) −B i−1 (X) · Q i (X) is calculated, and in step 64, the order of R 1 (X) and u =
A comparison with “(d−1 + k) / 2” is performed. Here, d is the correctable minimum distance between codes between the received code and the transmitted code, and k is the number of erasures. As a result, the order of R 1 (X) is u
If so, B 1 (X) is the error locator polynomial σ (X) and R 1 (X) is the error numerical polynomial η in step 66.
(X). If the order of R 1 (X) is higher than u, 1 is added to i in step 65 to make 2 and step 6 is performed again.
The calculation of 2, 63 is repeated and repeated until the order of R 1 (X) becomes lower than u. When it becomes low, B i (X)
Is the error locator polynomial σ (X), and R 1 (X) is the error numerical polynomial η (X).

【0011】イレージャ訂正においても、このσ
(X)、η(X)を用いることでエラーロケーション、
エラーパターンを求めることができ、訂正が可能とな
る。
Even in erasure correction, this σ
By using (X) and η (X), error location,
The error pattern can be obtained and can be corrected.

【0012】[0012]

【発明が解決しようとする課題】この第1の従来例の誤
り訂正処理方法では、初期設定時に与えられるシンドロ
ーム多項式S(X)が、全符号共オール“0”でなく、
即ちエラーが存在し、且つ上位t位の符号がすべて
“0”、つまり初期時から次数がtより下がっている場
合、このままiに1を与えて演算しようとすると、誤っ
たB1 (X)、R1 (X)の値が得られ、結果として誤
り訂正を行ってしまうという問題点があった。
In the error correction processing method of the first conventional example, the syndrome polynomial S (X) given at the time of initialization is not all "0" for all codes,
That is, if there is an error and all of the codes of the upper t places are "0", that is, if the order is lower than t from the initial stage, if an attempt is made to give 1 to i as it is, an erroneous B 1 (X) , R 1 (X) are obtained, resulting in error correction.

【0013】また、第2の従来例の誤り訂正処理方法で
は、イレージャ訂正の際の判定条件となっているu=
「(d−1+k)/2」において、i=1を与える以前
の初期設定の時点から、R0 (X)の次数がuより下が
っている場合に対する設定がなく、このままiに1を与
えて演算してしまっては、本来訂正可能なデータ列に対
し、誤ったBi (X)、Ri (X)を算出し、誤り訂正
を行ってしまうという問題点があった。
Further, in the error correction processing method of the second conventional example, u = which is a judgment condition for erasure correction.
In "(d-1 + k) / 2", there is no setting for the case where the order of R 0 (X) is lower than u from the time of initial setting before giving i = 1. If the calculation is done, there is a problem that incorrect B i (X) and R i (X) are calculated for the originally correctable data string and the error is corrected.

【0014】[0014]

【課題を解決するための手段】本発明の誤り訂正処理方
法は、複数のデジタル符号列からなる入力信号の誤り位
置を算出する誤り位置多項式及び誤り数値を算出する誤
り数値多項式を求めることができる第1のユークリッド
アルゴリズムを備え、前記入力信号に対して予め定めら
れた最大誤り訂正能力数t(t≧1の整数)のシンドロ
ーム多項式演算を行い、このシンドローム多項式の演算
結果のシンドローム符号列が全て“0”でないかの第1
の判定を行い、この第1の判定結果、前記シンドローム
符号列が全て“0”の場合には前記入力信号は誤りなし
とし、前記シンドローム符号列の全てが“0”でない場
合には前記シンドローム符号列の上位t位まで全て
“0”でないかの第2の判定を行い、この第2の判定結
果全てが“0”でないと判定された場合のみ前記シンド
ローム符号列に対し前記第1のユークリッドアルゴリズ
ムによる前記誤り位置多項式及び前記誤り数値多項式の
演算を行う。
According to the error correction processing method of the present invention, an error locator polynomial for calculating an error position of an input signal composed of a plurality of digital code strings and an error value polynomial for calculating an error value can be obtained. A first Euclidean algorithm is provided, and a syndrome polynomial operation of a predetermined maximum error correction capability number t (integer of t ≧ 1) is performed on the input signal, and all the syndrome code strings of the operation results of the syndrome polynomial are The first whether it is not "0"
If the syndrome code sequence is all "0", the input signal is judged to be error-free, and if all of the syndrome code sequences are not "0", the syndrome code is determined. The first Euclidean algorithm is applied to the syndrome code sequence only when it is determined that all of the upper t ranks of the sequence are not “0” and all the second determination results are not “0”. The error locator polynomial and the error numerical polynomial are calculated according to

【0015】また、本発明の誤り訂正処理方法は、複数
のデジタル符号列からなる入力信号をイレージャロケー
ション多項式でイレージャ訂正を行って、前記入力信号
の誤り位置を算出する誤り位置多項式及び誤り数値を算
出する誤り数値多項式を求めることができる第2のユー
クリッドアルゴリズムを備え、前記入力信号に対して予
め定められた最大誤り訂正能力数t(t≧1の整数)の
シンドローム多項式演算を行い、このシンドローム多項
式の演算結果のシンドローム符号列が全て“0”でない
かの第1の判定を行い、この第1の判定結果、前記シン
ドローム符号列が全て“0”の場合には前記入力信号は
誤りなしとし、前記シンドローム符号列の全てが“0”
でない場合には前記シンドローム符号列の上位t位まで
全て“0”でないかの第2の判定を行い、この第2の判
定結果、全てが“0”でないと判定された場合のみ前記
シンドローム符号列に対し前記第2のユークリッドアル
ゴリズムによるイレージャーロケーション多項式,前記
誤り位置多項式及び前記誤り数値多項式の演算を行う。
Further, the error correction processing method of the present invention performs an erasure correction on an input signal composed of a plurality of digital code strings by an erasure location polynomial to calculate an error position of the input signal. A second Euclidean algorithm capable of obtaining an error numerical value polynomial for calculating a numerical value is provided, and a syndrome polynomial operation of a predetermined maximum error correction capability number t (integer of t ≧ 1) is performed on the input signal, A first judgment is made as to whether all the syndrome code strings of the calculation result of this syndrome polynomial are not "0". If the first judgment result is that all the syndrome code strings are "0", the input signal is erroneous. None, and all the syndrome code strings are “0”
If not, a second determination is made as to whether all of the higher order t of the syndrome code sequence are not "0", and the syndrome code sequence is determined only when it is determined that all are not "0" as a result of the second determination. Then, the erasure location polynomial, the error locator polynomial, and the error numerical polynomial are calculated by the second Euclidean algorithm.

【0016】この構成において、前記第2のユークリッ
ドアルゴリズムは、前記第2の判定結果、前記シンドロ
ーム符号列の上位t位までの全てが“0”でないと判定
された場合に、前記シンドローム符号列の符号をXと
し、前記シンドローム符号列の多項式をS(X)、今求
まっている誤り位置多項式及び誤り数値多項式をそれぞ
れB0 (X)及びR0 (X)、1つ前の演算で求まった
誤り位置多項式及び誤り数値多項式をそれぞれB
-1(X)及びR-1(X)、i回(i≧0の整数)後の演
算で求まる誤り位置多項式及び誤り数値多項式をそれぞ
れBi (X)及びRi (X)、誤り訂正能力数をt、符
号間最小距離をd、イレージャ数をk(t,d,kは共
に1以上の整数)、kイレージャの予め定められたイレ
ージャ多項式をσk (X)と表して、B-1(X)を0
に、B0 (X)を1に、R-1(X)をX2tに、R
0 (X)に〔σK (X)・S(X)〕modX2tの演算
結果を代入して初期設定をし、R0 (X)の多項式が予
め定められた次数判定条件を満足するのかどうかの第3
の判定を行い、この第3判定の結果、前記初期設定で前
記次数判定条件を満足する場合には、B0 (X)を誤り
位置多項式σ(X)とするとともにR0 (X)を誤り数
値多項式η(X)とし、前記初期設定で前記次数判定条
件を満足しない場合には、i=1からi回のR
i-2 (X)/Ri-1 (X)=Qi (X)と定義して、 Ri-2 (X)−Ri-1 (X)・Qi (X)=Ri (X) Bi-2 (X)−Bi-1 (X)・Qi (X)=Bi (X) の演算を順次行い、このi回目の演算結果、前記次数判
定条件を満足させる場合に、Bi (X)=σ(X),R
i (X)=η(X)とする。
In this configuration, the second Euclidean algorithm determines that the syndrome code string of the syndrome code string is not all “0” up to the upper t-th place of the syndrome code string as a result of the second judgment. Let X be the code, S (X) be the polynomial of the syndrome code string, B 0 (X) and R 0 (X) be the error locator polynomial and the error value polynomial that have just been obtained, respectively, and be obtained by the previous operation. The error locator polynomial and the error numerical polynomial are B
−1 (X) and R −1 (X), the error locator polynomial and the error value polynomial obtained by the operation after i times (i ≧ 0) are B i (X) and R i (X), and error correction, respectively. Let t be the number of capabilities, d be the minimum distance between codes, k be the number of erasures (t, d, and k are integers greater than or equal to 1), and the predetermined erasure polynomial of the k erasure be σ k (X), and B -1 (X) is 0
, B 0 (X) to 1, R -1 (X) to X 2t , R
0 (X) by substituting [sigma K (X) · S (X)] MODx 2t calculation result of the initial setting, whether polynomial R 0 (X) satisfies a predetermined degree determination conditions How about the third
If, as a result of the third determination, the order determination condition is satisfied in the initial setting, B 0 (X) is set as an error locator polynomial σ (X) and R 0 (X) is set as an error. If a numerical polynomial η (X) is used and the order determination conditions are not satisfied in the initial setting, i = 1 to i times of R
i-2 (X) / R i-1 (X) = Q i (X), and R i-2 (X) −R i-1 (X) · Q i (X) = R i ( X) B i-2 (X) -B i-1 (X) · Q i (X) = B i (X) are sequentially performed, and the i-th operation result satisfies the order determination condition. And B i (X) = σ (X), R
Let i (X) = η (X).

【0017】[0017]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0018】図1は本発明の第1の実施例のアルゴリズ
ムを示すフローチャート、図2は第1の実施例における
シンドローム演算回路のブロック図、図3は第1の実施
例におけるシンドローム符号の全“0”および上位8位
までのシンドローム符号の全“0“を判定する判定回路
である。
FIG. 1 is a flow chart showing an algorithm of a first embodiment of the present invention, FIG. 2 is a block diagram of a syndrome arithmetic circuit in the first embodiment, and FIG. 3 is a full "symbol code" in the first embodiment. This is a determination circuit for determining “0” and all “0” s of the syndrome codes of the upper 8th place.

【0019】図2において、第1の実施例におけるシン
ドローム演算回路は各位が8ビット入力による0位から
15位までの16個の演算回路から成り、第i位(i=
0〜15)の演算回路は、今回の入力8ビットと前回の
演算結果の8ビットとを加算する加算回路111i と、
加算回路111i の結果に定数αi を乗ずる乗算回路1
12i と、乗算回路112i の結果を加算回路111i
へフィードバックするレジスタ(D)113i とを有し
て構成している。
In FIG. 2, the syndrome arithmetic circuit according to the first embodiment is composed of 16 arithmetic circuits from 0th place to 15th place, each of which is an 8-bit input.
0 to 15) adder circuit 111 i for adding the current input 8 bits and the previous operation result 8 bits,
Multiplier 1 for multiplying the result of the adder 111 i by a constant α i
12 i and the result of the multiplication circuit 112 i are added to the addition circuit 111 i.
And a register (D) 113 i for feedback to

【0020】図3において、第1の実施例における判定
回路は、第i位(i=1〜15)の入力8ビットに対す
るNOR114i と、NOR1140 〜NOR11415
の各出力の論理積ととってシンドローム符号の全“0”
を検出するAND115と、NOR1149 からNOR
11415までの各出力の論理積をとって上位8位までの
シンドローム符号の全“0”を検出するAND116と
を有して構成している。
In FIG. 3, the decision circuit in the first embodiment is arranged such that NOR 114 i and NOR 114 0 to NOR 114 15 for the input 8 bits of the i-th place (i = 1 to 15).
“0” of the syndrome code as the logical product of each output of
To detect and AND115, NOR from NOR114 9
AND 116 for detecting all "0" s of the syndrome codes up to the upper 8th place by taking the logical product of the respective outputs up to 114 15 .

【0021】この実施例では符号間最小距離d=17、
最大誤り訂正能力数t=8として、処理の手順を説明す
る。
In this embodiment, the minimum distance between codes d = 17,
The processing procedure will be described assuming that the maximum error correction capability number t = 8.

【0022】まず、ステップ11では図2に示すシンド
ローム演算回路で入力信号に対すシンドローム符号を算
出し、このシンドローム符号をシンドローム多項式S
(X)=S1515+S1414+…+S2 2 +S1 X+
0 として表す。このステープ11で図3に示す判定回
路のAND115の出力信号から各位の符号が全て
“0”でなく即ちS(X)≠0の場合にはステップ12
で図3に示す判定回路のAND116の出力信号から8
位以上の上位の符号が全て“0”でないと判定される
と、第1のユークリッドアルゴリズムによる演算が行わ
れる。
First, in step 11, the syndrome code for the input signal is calculated by the syndrome arithmetic circuit shown in FIG. 2, and this syndrome code is used as the syndrome polynomial S.
(X) = S 15 X 15 + S 14 X 14 + ... + S 2 X 2 + S 1 X +
Represented as S 0 . In this staple 11, if all the signs of each digit are not “0”, that is, S (X) ≠ 0 from the output signal of the AND 115 of the determination circuit shown in FIG.
8 from the output signal of AND 116 of the judgment circuit shown in FIG.
If it is determined that all of the higher-order codes higher than the order are not "0", the operation by the first Euclidean algorithm is performed.

【0023】ここで、今求まっている誤り位置多項式を
0 (X),誤り数値多項式をR0(X)とし、1つ前
の演算で求まった誤り位置多項式をB-1(X),誤り数
値多項式をR-1(X)とし、i回後の演算で求まる誤り
位置多項式をBi (X),誤り数値多項式をRi (X)
と表す。
Here, the error locator polynomial thus obtained is B 0 (X), the error numerical polynomial is R 0 (X), and the error locator polynomial obtained by the previous operation is B -1 (X), an error value polynomial and R -1 (X), an error position polynomial calculated by the calculation after i times B i (X), an error value polynomial R i (X)
It expresses.

【0024】ステップ11の初期設定時に与えられるシ
ンドローム多項式S(X)において、初期時から次数が
tより下がっている場合、S(X)はシンドローム演算
より、S(X)=S1515+S1414+S1313……+
2 2 +S1 X+S0 の式で与えられる。X2tはt=
8であるからX16である。ここでステップ15におい
て、R-1(X)にX16を、R0 (X)にS1515+S14
14+S1313+……+S2 2 +S1 X+S0 が代入
され、i=1として、ステップ16,17においてR
i-2 (X)/Ri-1 =Qi (X),Ri-2 (X)−R
i-1 (X)・Qi (X),Bi-2 (X)−Bi-1 (X)
・Qi (X)の演算を行って、R-1(X)/R0 (X)
の徐算の商Q1 (X)、及びR1 (X)、B1 (X)の
算出が行われる。ここで被除数の次数が16次、除数の
次数が15次であるから、徐算を行った時、商は1次、
剰余は14次の多項式で表現される。この場合、剰余多
項式R1(X)の次数が14次であり、ステップ18に
おいて次数判定の結果、8次であるtより次数が高いの
で、ステップ19でiに1を加算して2とし、続いてス
テップ16,17においてR0 (X)/R1 (X)の徐
算の商Q2 (X)、及びR2 (X),B2 (X)の算出
を行い、剰余多項式の次数がtより低くなるまで繰り返
し行っていく。そして、低くなった時点で、ステップ2
0においてB1 (X)が誤り位置多項式σ(X)に、R
1 (X)が誤り数値多項式η(X)となる。
In the syndrome polynomial S (X) given at the initialization of step 11, if the order is lower than t from the initial stage, S (X) is calculated by the syndrome, S (X) = S 15 X 15 + S 14 X 14 + S 13 X 13 ... +
It is given by the formula S 2 X 2 + S 1 X + S 0 . X 2t is t =
Since it is 8, it is X 16 . Here, in Step 15, R -1 (X) is X 16 and R 0 (X) is S 15 X 15 + S 14.
X 14 + S 13 X 13 + ... + S 2 X 2 + S 1 X + S 0 is substituted, and i = 1, R is set in steps 16 and 17.
i-2 (X) / R i-1 = Q i (X), R i-2 (X) -R
i-1 (X) · Q i (X), B i-2 (X) -B i-1 (X)
-Calculate Q i (X) to obtain R -1 (X) / R 0 (X)
The quotient Q 1 (X), and R 1 (X) and B 1 (X) are calculated. Since the order of the dividend is 16 and the order of the divisor is 15, the quotient is the first order when division is performed,
The remainder is expressed by a 14th degree polynomial. In this case, the order of the remainder polynomial R 1 (X) is 14th order, and as a result of the order determination in step 18, the order is higher than t, which is 8th order, so 1 is added to i in step 19 to be 2, Subsequently, in steps 16 and 17, the quotient Q 2 (X) of R 0 (X) / R 1 (X) and R 2 (X) and B 2 (X) are calculated, and the degree of the remainder polynomial is calculated. Is repeated until becomes lower than t. And when it becomes low, step 2
At 0, B 1 (X) becomes the error locator polynomial σ (X), and R 1
1 (X) becomes the error numerical polynomial η (X).

【0025】次にステップ11でS(X)が初期時から
15〜S9 が“0”であり、少なくともS8 が“0”で
ないS(X)=S8 8 +S7 7 +S6 6 +……+
22 +S1 X+S0 の場合について説明する。この
場合R-1(X)/R0 (X)の演算は被除数が16次、
除数が8次であるから、商は8次、剰余は7次の多項式
で表現される。これにより、剰余多項式R1 (X)の次
数は7次となり、8次であるt=8より低くなる。よっ
て、判定条件を満足し、B1 (X)が誤り位置多項式σ
(X)に、R1 (X)が誤り数値多項式η(X)とな
る。
[0025] Next S at step 11 (X) is a S 15 to S 9 is "0" from the initial time, at least not S 8 is "0" S (X) = S 8 X 8 + S 7 X 7 + S 6 X 6 + …… +
The case of S 2 X 2 + S 1 X + S 0 will be described. In this case, in the calculation of R −1 (X) / R 0 (X), the dividend is 16th order,
Since the divisor is the 8th degree, the quotient is expressed by the 8th degree and the remainder is expressed by the 7th degree polynomial. As a result, the order of the remainder polynomial R 1 (X) becomes 7th order, which is lower than the 8th order t = 8. Therefore, the determination condition is satisfied, and B 1 (X) is the error locator polynomial σ.
In (X), R 1 (X) becomes an error numerical polynomial η (X).

【0026】次に、S(X)が初期時からS15〜S8
“0”であり、少なくともS7 が“0”でないS(X)
=S7 7 +S6 6 +……+S2 2 +S1 X+S0
の場合について説明する。この場合R-1(X)/R
0 (X)の演算は被除数が16次、除数が7次であるか
ら、商は9次、剰余は6次の多項式で表現される。これ
により剰余多項式は6次となり、判定条件を満足するこ
とになるが、R0 (X)が初期時から7次であり、判定
条件を満足しているとも考えられるので、徐算を行うべ
きか、或は訂正可能なデータなのか、別の考え方で判断
してみる。
Next, S (X) is S (X) in which S 15 to S 8 are “0” since the initial stage and at least S 7 is not “0”.
= S 7 X 7 + S 6 X 6 + ...... + S 2 X 2 + S 1 X + S 0
The case will be described. In this case R -1 (X) / R
The operation of 0 (X) has a 16th-order dividend and a 7th-order divisor, so the quotient is expressed by a 9th-order polynomial and the remainder is expressed by a 6th-order polynomial. As a result, the remainder polynomial becomes 6th order and satisfies the judgment condition. However, since R 0 (X) is 7th order from the initial stage, it is considered that the judgment condition is also satisfied, so it is necessary to perform gradual division. Whether it is correctable data or not, try to use another way of thinking.

【0027】次に、第1の実施例を原子多項式f(X)
=X8 +X4 +X2 +X+1とし入力信号の符号の多項
式が情報多項式W=(X−α15)として表される場合に
ついて説明する。この情報多項式W(X)が意味するの
はS15=W(α15)=α15−α15=0になるということ
である。このW(X)に任意の多項式T(X)を掛け合
わせたものを情報多項式と考えることもできる。W(α
15)=0であるので、W(X)・T(X)=0となる。
よって(X−α15)を含む任意の多項式はS15の項が
“0”になると考えられる。
Next, the first embodiment will be described with reference to the atomic polynomial f (X).
= X 8 + X 4 + X 2 + X + 1, the polynomial of the code of the input signal will be described as the information polynomial W = (X−α 15 ). This information polynomial W (X) means that S 15 = W (α 15 ) = α 15 −α 15 = 0. The product of W (X) and an arbitrary polynomial T (X) can be considered as an information polynomial. W (α
Since 15 ) = 0, W (X) · T (X) = 0.
Therefore, it is considered that the term of S 15 becomes “0” in any polynomial including (X−α 15 ).

【0028】この考えを更に用いてW(X)を(X−α
15)(X−α14)とするとS15、S14とも“0“にな
る。故にW(X)=(X−αn )(X−αn-1 )……に
“0”にしたいシンドロームの項の符号を用いること
で、シンドローム多項式の上位の項を任意の数だけ
“0”にすることが可能となる。S15=S14=S13=S
12=S11=S10=S9 =S8 =0ということは、W
(X)は(X−α15)(X−α14)(X−α13)(X−
α12)(X−α11)(X−α10)(X−α9 )(X−α
8 )を含んでいると言える。
Using this idea further, W (X) is given by (X-α
15 ) (X-α 14 ), both S 15 and S 14 are “0”. Therefore, by using the sign of the term of the syndrome to be set to “0” in W (X) = (X−α n ) (X−α n-1 ) ..., an arbitrary number of upper terms of the syndrome polynomial are “ It is possible to set it to 0 ". S 15 = S 14 = S 13 = S
12 = S 11 = S 10 = S 9 = S 8 = 0 means W
(X) is (X-α 15 ) (X-α 14 ) (X-α 13 ) (X-
α 12 ) (X-α 11 ) (X-α 10 ) (X-α 9 ) (X-α
8 ) can be said to include.

【0029】ここで、T(X)=0とすると、W(X)
・T(X)=(X−α15)(X−α14)(X−α13
(X−α12)(X−α11)(X−α10)(X−α9
(X−α8 )=X8 +α183 7 +α254 6 +α232
5 +α264 +α0 3 +α452 +α252 X+α92
となる。これを符号長Nのデータ列で表してみると、
(0、0……0、0、α0 、α183 、α254 、α232
α26、α0 、α45、α252 、α92)というデータである
とみなすことができる。
Here, assuming that T (X) = 0, W (X)
* T (X) = (X- (alpha) 15 ) (X- (alpha) 14 ) (X- (alpha) 13 )
(X-α 12) (X -α 11) (X-α 10) (X-α 9)
(X-α 8 ) = X 8 + α 183 X 7 + α 254 X 6 + α 232
X 5 + α 26 X 4 + α 0 X 3 + α 45 X 2 + α 252 X + α 92
Becomes Representing this with a data string of code length N,
(0, 0 ... 0, 0, α 0 , α 183 , α 254 , α 232 ,
It can be regarded as data of α 26 , α 0 , α 45 , α 252 , α 92 ).

【0030】ところで、符号長Nの“0”の符号語
(0、0、0、0、……、0、0、0、0)を送信語と
し、(0、0、……、0、0、α0 、α183 、α254
α232 、α26、α0 、α45、α252 、α92)を受信語と
したとき、これは“0”以外の項が9個あるので9エラ
ーであることが分かる。このときシンドロームはS15
14=……=S9 =S8 =0、S7 =α75、S6 =α
162 、S5 =α125 、S4 =α139 、S3 =α158 、S
2 =α111 、S1 =α136 、S0 =α49となり、上位t
シンボルが“0”という状態になっている。故に、この
ことからシンドローム多項式の上位tシンボルが“0”
の場合は、訂正能力を上回るエラーが有ると判断でき
る。このような時は除算を行って誤り訂正してしまうの
を防ぐため、訂正不能と判断して訂正を行わせないよう
にする。
By the way, a code word of "0" having a code length N (0, 0, 0, 0, ..., 0, 0, 0, 0) is used as a transmission word, and (0, 0, ..., 0, 0, α 0 , α 183 , α 254 ,
When α 232 , α 26 , α 0 , α 45 , α 252 , and α 92 ) are the received words, it can be seen that this is 9 errors because there are 9 terms other than “0”. At this time, the syndrome is S 15 =
S 14 = ... = S 9 = S 8 = 0, S 7 = α 75 , S 6 = α
162 , S 5 = α 125 , S 4 = α 139 , S 3 = α 158 , S
2 = α 111 , S 1 = α 136 , S 0 = α 49 , and the higher t
The symbol is in the state of "0". Therefore, from this fact, the upper t symbol of the syndrome polynomial is “0”.
In the case of, it can be judged that there is an error exceeding the correction capability. In such a case, in order to prevent an error correction by performing division, it is determined that the correction is impossible and the correction is not performed.

【0031】次に、S=15=S14=S13=S12=S11
10=S9 =0の場合について説明する。T(X)=0
とすると、W(X)・T(X)=(X−α15)(X−α
14)(X−α13)(X−α12)(X−α11)(X−
α10)(X−α9 )=X7 +α966 +α247 5 +α
173 4 +α185 3 +α282 +α156 X+α84とな
る。これを符号長Nのデータ列で表してみると、(0、
0、…、0、0、α0 、α96、α247 、α173
α185 、α28、α156 、α84)というデータであるとみ
なすことができる。これを上述と同じく符号長Nの
“0”の符号語(0、0、0、0、…、0、0、0、
0)を送信語とし、(0、0、…、0、0、α0
α96、α247 、α173 、α185 、α28、α156 、α84
を受信語としたとき、これは8エラーであることが分か
る。このときシンドロームはS15=S14=…S9=0、
8 =α130 、S7 =α43、S6 =α106 、S5 =α
152 、S4 =α35、S3 =α17、S2 =α173 、S1
α23、S0 =α104 となるため、上位t−1位の符号が
“0”という状態になっている。故に、このことからシ
ンドローム多項式の上位t−1位の符号までが“0”の
場合は訂正可能であると判断できる。
[0031] Next, S = 15 = S 14 = S 13 = S 12 = S 11 =
A case where S 10 = S 9 = 0 will be described. T (X) = 0
Then, W (X) · T (X) = (X−α 15 ) (X−α
14 ) (X-α 13 ) (X-α 12 ) (X-α 11 ) (X-
α 10 ) (X−α 9 ) = X 7 + α 96 X 6 + α 247 X 5 + α
It becomes 173 X 4 + α 185 X 3 + α 28 X 2 + α 156 X + α 84 . Representing this with a data string of code length N, (0,
0, ..., 0, 0, α 0 , α 96 , α 247 , α 173 ,
It can be regarded as the data α 185 , α 28 , α 156 , α 84 ). This is similar to the above, the code word of the code length N is “0” (0, 0, 0, 0, ..., 0, 0, 0,
0) as a transmission word, and (0, 0, ..., 0, 0, α 0 ,
α 96 , α 247 , α 173 , α 185 , α 28 , α 156 , α 84 )
It can be seen that there are 8 errors when is the received word. At this time, the syndrome is S 15 = S 14 = ... S 9 = 0,
S 8 = α 130 , S 7 = α 43 , S 6 = α 106 , S 5 = α
152 , S 4 = α 35 , S 3 = α 17 , S 2 = α 173 , S 1 =
Since α 23 and S 0 = α 104 , the code at the higher-order t−1th place is “0”. Therefore, from this, it can be determined that the correction is possible when the code up to the higher-order t−1 th position of the syndrome polynomial is “0”.

【0032】即ち、図1に示す11ステップにおいて、
シンドローム多項式の全符号共オール“0”かの判定を
行い、オール“0”のときは12ステップでノーエラー
と判断する。オール“0”でないときは13ステップに
おいて、シンドローム多項式の上位t位符号が“0”か
どうかの判断を行い、“0”であれば14ステップにお
いて訂正不能と判断して訂正は行わず、フラグを出力し
て次段での処理に任せることにより、従来、誤った判断
を行い誤訂正していたデータ列に対し、適切な対応をと
ることができるようになり、誤り訂正確率を抑え、より
信頼性を向上することができるようになる。
That is, in the 11 steps shown in FIG.
It is determined whether all codes of the syndrome polynomial are all “0”. When all the codes are “0”, it is determined that there is no error in 12 steps. If not all “0”, it is determined in step 13 whether the higher-order t-th code of the syndrome polynomial is “0”. If it is “0”, it is determined that the correction cannot be performed in step 14 and no correction is performed. By outputting and leaving it to the processing of the next stage, it becomes possible to take an appropriate response to a data string that was conventionally erroneously determined and erroneously corrected, suppressing the error correction probability, and more It becomes possible to improve reliability.

【0033】図4は本発明の第2の実施例のアルゴリズ
ムを示すフローチャートである。
FIG. 4 is a flow chart showing the algorithm of the second embodiment of the present invention.

【0034】この実施例のアルゴリズムは符号間最小距
離d=9、誤り訂正能力数t=4,イレージャ数=Kの
場合について説明し、ステップ31からステップ34ま
では第1の実施例におけるステップ11からステップ1
4までと同一なので説明を省略し、入力信号のエラー訂
正,イレージャ訂正混在の場合におけるステップ35か
らステップ40までの第2のユークリッドアルゴリズム
について以下に説明する。
The algorithm of this embodiment will be described for the case where the minimum inter-code distance d = 9, the number of error correction capabilities t = 4, and the number of erasures = K, and steps 31 to 34 are step 11 in the first embodiment. From step 1
The description of the second Euclidean algorithm from step 35 to step 40 in the case of mixed error correction and erasure correction of the input signal will be described below because it is the same as that of step 4.

【0035】ステップ35において、ステップ33まで
に求まったS(X)に[σk (X)・S(X)]mod
2tの演算を行ってR0 (X)に代入する。ここでσk
(X)はイレージャロケーション多項式である。以降、
基本的流れは図1と同じアルゴリズムをとるのでそれに
準じて説明する。
In step 35, [σ k (X) · S (X)] mod is added to S (X) obtained up to step 33.
The calculation of X 2t is performed and is substituted into R 0 (X). Where σ k
(X) is an erasure location polynomial. Or later,
The basic flow takes the same algorithm as in FIG. 1 and will be described accordingly.

【0036】R0 (X)は[σk (x)・S(X)]m
odX2tの演算を行って得られたS7 7 +S6 6
5 5 +…+S2 2 +S1 X+S0 の式で与えら
れ、X2tはt=4であるからX8 である。R-1(X)に
8 が、R0 (X)にS7 7 +S6 6 +S5 5
…+S2 2 +S1 X+S0 が代入され、i=1とし
て、R-1(X)/R0 (X)の除算の商Q1 (X)、及
びR1 (X)、B1 (X)の算出が行われる。
R 0 (X) is [σ k (x) · S (X)] m
S 7 X 7 + S 6 X 6 + obtained by calculation of odX 2t
S 5 X 5 + ... + S 2 X 2 + S 1 X + S 0 is given and X 2t is X 8 because t = 4. R -1 (X) has X 8 and R 0 (X) has S 7 X 7 + S 6 X 6 + S 5 X 5 +
... + S 2 X 2 + S 1 X + S 0 is substituted, and when i = 1, the quotient Q 1 (X) of the division of R −1 (X) / R 0 (X) and R 1 (X), B 1 (X ) Is calculated.

【0037】ここで、被除数の次数が8次、除数の次数
が7次であるから、除算を行った時、商は1次、剰余は
6次の多項式で表現がされる。この場合、剰余多項式R
1 (X)の次数は6次であり、ステップ36で次数判定
条件u=「(d−1+k)/2」との比較を行う。ここ
で「(d−1+k)/2」はN+1>(d−1+k)/
2≧N,N:整数の場合に「(d−1+k)/2」=N
を表す。0イレージャであればu=「(9−1+0)/
2」=4、7イレージャであればu=「(9−1+7)
/2」=7となり、このuとR1 (X)の次数との比較
を行う。
Here, since the order of the dividend is the 8th order and the order of the divisor is the 7th order, when the division is performed, the quotient is represented by the 1st order and the remainder is expressed by the 6th order polynomial. In this case, the remainder polynomial R
The order of 1 (X) is 6th order, and in step 36, the order is compared with the order determination condition u = “(d−1 + k) / 2”. Here, "(d-1 + k) / 2" means N + 1> (d-1 + k) /
2 ≧ N, N: “(d−1 + k) / 2” = N when integer
Represents If it is 0 erasure, u = “(9-1 + 0) /
2 "= 4, 7 If erasure, u =" (9-1 + 7)
/ 2 "= 7, and u is compared with the order of R 1 (X).

【0038】u=4であれば、6次であるR1 (X)
は、4次であるuより高いので、iに1を加算して2と
し、今度はR0 (X)/R1 (X)の除算、及びR
2 (X)、B2 (X)の算出を行い、剰余多項式の次数
がuより低くなるまで繰り返し行っていく。また、u=
7であれば6次であるR1 (X)は、7次であるuより
低くなっている。よって、この時点で判定条件を満足
し、B1 (X)が誤り位置多項式σ(X)に、R
1 (X)が誤り数値多項式η(X)となる。
When u = 4, R 1 (X) which is 6th order
Is higher than u, which is the fourth order, so 1 is added to i to be 2, and this time division of R 0 (X) / R 1 (X), and R
2 (X) and B 2 (X) are calculated and repeated until the order of the remainder polynomial becomes lower than u. Also, u =
If it is 7, R 1 (X), which is 6th order, is lower than u, which is 7th order. Therefore, at this point, the determination condition is satisfied, and B 1 (X) is added to the error locator polynomial σ (X) by R
1 (X) becomes the error numerical polynomial η (X).

【0039】ここで、例えば、特別な場合として、8イ
レージャについて説明する。
Here, for example, an 8-erasure will be described as a special case.

【0040】u=「(9−1+8)/2」であるから、
-1(X)である[σk (X)・S(X)]modX2t
はmodX8 をとっているので、初期時から7次以下と
なり、次数判定条件を満たしていることになる。即ち、
iに1を与える前の初期時からR-1(X)が次数判定条
件を満たしているときのアルゴリズムが必要となる。
Since u = “(9-1 + 8) / 2”,
R −1 (X) [σ k (X) · S (X)] modX 2t
Takes modX 8 , the order is 7th or less from the initial stage, which means that the order determination condition is satisfied. That is,
An algorithm is required when R −1 (X) satisfies the order determination condition from the initial stage before giving 1 to i.

【0041】例えば、0エラー8イレージャについて説
明する。u=8であるから、初期時からR-1(X)は7
次以下なので、次数判定条件を満たしている。故に、B
0 (X)が誤り位置多項式σ(X)に、R0 (X)が誤
り数値多項式η(X)となる。このときのB0 (X)は
1、R0 (X)は[σk (x)・S(X)]modX2t
となる。誤り位置多項式が1となり、誤り位置が示され
ないが、エラー数は0、イレージャ数が8であるので、
誤り位置多項式が1というのは支障が無い。実際、この
後にσ(X)・σk (X)の演算を行い、誤り位置を求
めるので、このときにはσk (X)で表現されるイレー
ジャ位置が正しく求まる。
For example, the 0 error 8 erasure will be described. Since u = 8, R −1 (X) is 7 from the beginning.
Since it is less than or equal to the next degree, the order determination condition is satisfied. Therefore, B
0 (X) is the error locator polynomial σ (X), and R 0 (X) is the error numerical polynomial η (X). At this time, B 0 (X) is 1 and R 0 (X) is [σ k (x) · S (X)] modX 2t.
Becomes The error locator polynomial is 1, and no error position is shown, but since the number of errors is 0 and the number of erasures is 8,
There is no problem that the error locator polynomial is 1. Actually, after this, the calculation of σ (X) · σ k (X) is performed to obtain the error position, so that the erasure position represented by σ k (X) can be obtained correctly at this time.

【0042】初期時から次数判定条件を満たしているか
の判定が無い場合は、同じく0エラー8イレージャを例
にとると、無意味に1回除算を行った後に判定条件を満
足することになり、そのときのB1 (X)を誤り位置多
項式としてしまう。これでは、本来エラーの無いデータ
列に対し、誤った誤り位置多項式が求まってしまい、誤
り訂正を行ってしまうことになる。
If it is not judged from the initial stage whether or not the order judgment condition is satisfied, taking the 0 error 8 erasure as an example, the judgment condition is satisfied after the division is performed meaninglessly once. B 1 (X) at that time is set as an error locator polynomial. In this case, an erroneous error locator polynomial is found for an originally error-free data string, and error correction is performed.

【0043】よって、ステップ35においてB
-1(X)、B0 (X)、R-1(X)、R0 (X)の初期
設定を行った後、i=0として、ステップ36において
初期時から次数判定条件を満たしているかを調べる。満
たしている場合は、ステップ40において、B0 (X)
が誤り位置多項式σ(X)に、R0 (X)が誤り数値多
項式η(X)となる。満たしていない時は、ステップ3
7においてiに1を加算して1とし、ステップ38,3
9でRi-2 (X)/Ri-1 (X)=Qi (X),Ri-2
(X)−Ri-1 (X)・Qi (X),Bi-2 (X)−B
i-1 (X)・Qi (X)の演算を行って、R-1(X)/
0 (X)の除算の商Q1 (X)、及びB1 (X)、R
1 (X)の算出を行い、再びステップ36で次数判定を
行う。満たしていれば、誤り位置多項式、誤り数値多項
式が求まり、満たしていなければ満たすまで除算を繰り
返すことで誤り位置多項式、誤り数値多項式を求めるこ
とができる。これにより、従来、訂正できたのに誤った
判断を行い誤り訂正していたデータ列に対し、適切な対
応をとることができ、正しい訂正ができるようになる。
Therefore, in step 35, B
After initializing −1 (X), B 0 (X), R −1 (X), and R 0 (X), set i = 0 and at step 36, whether the order determination condition is satisfied from the initial state. Find out. If so, in step 40, B 0 (X)
Is the error locator polynomial σ (X), and R 0 (X) is the error numerical polynomial η (X). If not, step 3
In step 7, i is incremented by 1 to be 1, and steps 38 and 3 are performed.
In 9 R i-2 (X) / R i-1 (X) = Q i (X), R i-2
(X) -R i-1 (X) · Q i (X), B i-2 (X) -B
i-1 (X) · Q i (X) is calculated to obtain R -1 (X) /
The quotient of division of R 0 (X), Q 1 (X), and B 1 (X), R
1 (X) is calculated, and the order is determined again in step 36. If they are satisfied, the error locator polynomial and the error value polynomial are obtained, and if they are not satisfied, the error locator polynomial and the error value polynomial can be obtained by repeating division until they are satisfied. As a result, it is possible to take an appropriate action and correct the data string that has been corrected in the past but was erroneously determined and error-corrected.

【0044】また、第1の実施例と同じく、ステップ3
1において、シンドローム多項式の全符号共オール
“0”かの判定を行い、オール“0”の時はステップ3
2でノーエラーと判断する。オール“0”でない時はス
テップ33において、シンドローム多項式の上位t符号
が“0”かどうかの判断を行い、“0”であればステッ
プ34において訂正不能と判断して訂正は行わず、フラ
グを出力して次段での処理に任せることにより、従来、
誤った判断を行い誤り訂正していたデータ列に対し、適
切な対応をとることができるようになり、誤り訂正確率
を抑え、より信頼性を向上することができるようにな
る。
Also, as in the first embodiment, step 3
In step 1, it is judged whether all the codes of the syndrome polynomial are all “0”, and if all “0”, step 3
It is judged that there is no error in 2. When all are not "0", it is determined in step 33 whether the upper t code of the syndrome polynomial is "0". If it is "0", it is determined that the correction is impossible in step 34 and no correction is performed, and the flag is set. By outputting and letting it be processed in the next stage,
It becomes possible to take an appropriate response to the data string that has been erroneously determined and error-corrected, and it is possible to suppress the error-correction probability and further improve the reliability.

【0045】[0045]

【発明の効果】以上説明したように本発明は、最大誤り
訂正能力数tのシンドローム多項式を除数多項式と設定
する初期時に、シンドローム多項式の全符号共オール
“0”かの判定を行い、オール“0”のときはノーエラ
ーとし、オール“0”でないときは上位t位符号がすべ
て0であるかの判定を行い、すべて0のときは訂正不能
と判断して訂正は行わず、フラグを出力して次段での処
理に任せるようにすることにより、従来より誤り訂正の
信頼性を向上することができる効果がある。
As described above, according to the present invention, at the initial stage of setting a syndrome polynomial having the maximum error correction capability number t as a divisor polynomial, it is determined whether all codes of the syndrome polynomial are all "0" and all " When it is "0", it is judged as no error, and when it is not all "0", it is judged whether the upper t-order codes are all 0s. When it is all 0s, it is judged as uncorrectable and correction is not executed and a flag is output. By leaving it to the processing in the next stage, there is an effect that the reliability of error correction can be improved as compared with the conventional case.

【0046】また、イレージャ訂正においての初期時か
ら次数判定条件を満たしているときは、その時点で誤り
位置多項式、誤り数値多項式を求め、満たしていなけれ
ば次数判定条件を満たすまで繰り返し除算を行って求め
ることにより、従来、誤った演算を行い誤り訂正を行っ
ていたデータ列、或いは、訂正できたのに誤った判断を
行って誤り訂正していたデータ列に対し、正しい訂正が
できるようになり、また誤り訂正を抑えることができる
という効果がある。
If the order determination condition is satisfied from the initial stage of erasure correction, the error locator polynomial and the error value polynomial are obtained at that time, and if they are not satisfied, the division is repeatedly performed until the order determination condition is satisfied. By obtaining it, it becomes possible to correct the data string that was conventionally erroneously calculated and error-corrected, or the data string that could be corrected but was erroneously judged and error-corrected. Moreover, there is an effect that error correction can be suppressed.

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

【図1】本発明の第1の実施例のアルゴリズムを示すフ
ローチャートである。
FIG. 1 is a flowchart showing an algorithm of a first exemplary embodiment of the present invention.

【図2】第1の実施例におけるシンドローム演算回路の
一例を示す。
FIG. 2 shows an example of a syndrome arithmetic circuit in the first embodiment.

【図3】第1の実施例におけるシンドローム符号の全
“0”および上位8位までのシンドローム符号の全
“0”を判定する判定回路の一例を示す。
FIG. 3 shows an example of a judgment circuit for judging all “0” s of the syndrome code and all “0s” of the syndrome codes up to the 8th highest rank in the first embodiment.

【図4】本発明の第2の実施例のアルゴリズムを示すフ
ローチャートである。
FIG. 4 is a flowchart showing an algorithm of the second exemplary embodiment of the present invention.

【図5】第1の従来例のアルゴリズムを示すフローチャ
ートである。
FIG. 5 is a flowchart showing an algorithm of a first conventional example.

【図6】第2の従来例のアルゴリズムを示すフローチャ
ートである。
FIG. 6 is a flowchart showing an algorithm of a second conventional example.

【符号の説明】[Explanation of symbols]

1110 ,…11115 加算回路 1120 ,…11215 乗算回路 1130 ,…11315 レジスタ(D) 1140 ,…11415 NOR 115,116 AND111 0 , ... 111 15 Adder circuit 112 0 , ... 112 15 Multiplier circuit 113 0 , ... 113 15 Register (D) 114 0 , ... 114 15 NOR 115, 116 AND

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のデジタル符号列からなる入力信号
の誤り位置を算出する誤り位置多項式及び誤り数値を算
出する誤り数値多項式を求めることができる第1のユー
クリッドアルゴリズムを備え、 前記入力信号に対して予め定められた最大誤り訂正能力
数t(t≧1の整数)のシンドローム多項式演算を行
い、このシンドローム多項式の演算結果のシンドローム
符号列が全て“0”でないかの第1の判定を行い、この
第1の判定結果、前記シンドローム符号列が全て“0”
の場合には前記入力信号は誤りなしとし、前記シンドロ
ーム符号列の全てが“0”でない場合には前記シンドロ
ーム符号列の上位t位まで全て“0”でないかの第2の
判定を行い、この第2の判定結果、全てが“0”でない
と判定された場合のみ前記シンドローム符号列に対し前
記第1のユークリッドアルゴリズムによる前記誤り位置
多項式及び前記誤り数値多項式の演算を行うことを特徴
とする誤り訂正処理方法。
1. A first Euclidean algorithm capable of obtaining an error locator polynomial for calculating an error position of an input signal composed of a plurality of digital code strings and an error value polynomial for calculating an error value, wherein: Then, a syndrome polynomial operation of a predetermined maximum error correction capability number t (integer of t ≧ 1) is performed, and a first determination is made whether all the syndrome code strings of the operation results of this syndrome polynomial are “0”, As a result of this first determination, all the syndrome code strings are “0”.
In the case of, the input signal is assumed to be error-free, and when all of the syndrome code sequences are not "0", a second determination is made as to whether all of the higher order t of the syndrome code sequence are not "0". An error characterized in that the error locator polynomial and the error value polynomial are calculated by the first Euclidean algorithm for the syndrome code string only when it is determined that all are not “0” as a second determination result. Correction processing method.
【請求項2】 複数のデジタル符号列からなる入力信号
をイレージャロケーション多項式でイレージャ訂正を行
って、前記入力信号の誤り位置を算出する誤り位置多項
式及び誤り数値を算出する誤り数値多項式を求めること
ができる第2のユークリッドアルゴリズムを備え、 前記入力信号に対して予め定められた最大誤り訂正能力
数t(t≧1の整数)のシンドローム多項式演算を行
い、このシンドローム多項式の演算結果のシンドローム
符号列が全て“0”でないかの第1の判定を行い、この
第1の判定結果、前記シンドローム符号列が全て“0”
の場合には前記入力信号は誤りなしとし、前記シンドロ
ーム符号列の全てが“0”でない場合には前記シンドロ
ーム符号列の上位t位まで全て“0”でないかの第2の
判定を行い、この第2の判定結果、全てが“0”でない
と判定された場合のみ前記シンドローム符号列に対し前
記第2のユークリッドアルゴリズムによるイレージャー
ロケーション多項式,前記誤り位置多項式及び前記誤り
数値多項式の演算を行うことを特徴とする誤り訂正処理
方法。
2. An error position polynomial for calculating an error position of the input signal and an error value polynomial for calculating an error value are obtained by performing erasure correction on an input signal composed of a plurality of digital code sequences with an erasure location polynomial. A second Euclidean algorithm capable of performing a syndrome polynomial operation of a predetermined maximum error correction capability number t (integer of t ≧ 1) on the input signal, and a syndrome code of the operation result of the syndrome polynomial. A first judgment is made as to whether or not all the strings are "0", and as a result of this first judgment, all the syndrome code strings are "0".
In the case of, the input signal is assumed to be error-free, and when all of the syndrome code sequences are not "0", a second determination is made as to whether all of the higher order t of the syndrome code sequence are not "0". Only when it is determined that all are not “0” as a result of the second determination, the erasure location polynomial, the error locator polynomial, and the error value polynomial are calculated by the second Euclidean algorithm for the syndrome code string. An error correction processing method characterized by the above.
【請求項3】 前記第2のユークリッドアルゴリズム
は、前記第2の判定結果、前記シンドローム符号列の上
位t位までの全てが“0”でないと判定された場合に、
前記シンドローム符号列の符号をXとし、前記シンドロ
ーム符号列の多項式をS(X)、今求まっている誤り位
置多項式及び誤り数値多項式をそれぞれB0 (X)及び
0 (X)、1つ前の演算で求まった誤り位置多項式及
び誤り数値多項式をそれぞれB-1(X)及びR
-1(X)、i回(i≧0の整数)後の演算で求まる誤り
位置多項式及び誤り数値多項式をそれぞれBi (X)及
びRi (X)、誤り訂正能力数をt、符号間最小距離を
d、イレージャ数をk(t,d,kは共に1以上の整
数)、kイレージャの予め定められたイレージャ多項式
をσk(X)と表して、B-1(X)を0に、B0 (X)
を1に、R-1(X)をX2tに、R0 (X)に〔σ
K (X)・S(X)〕modX2tの演算結果を代入して
初期設定をし、R0 (X)の多項式が予め定められた次
数判定条件を満足するのかどうかの第3の判定を行い、
この第3判定の結果、前記初期設定で前記次数判定条件
を満足する場合には、B0 (X)を誤り位置多項式σ
(X)とするとともにR0(X)を誤り数値多項式η
(X)とし、 前記初期設定で前記次数判定条件を満足しない場合に
は、i=1からi回のRi-2 (X)/Ri-1 (X)=Q
i (X)と定義して、 Ri-2 (X)−Ri-1 (X)・Qi (X)=Ri (X) Bi-2 (X)−Bi-1 (X)・Qi (X)=Bi (X) の演算を順次行い、このi回目の演算結果、前記次数判
定条件を満足させる場合に、Bi (X)=σ(X),R
i (X)=η(X)とすることを特徴とする請求項2記
載の誤り訂正処理方法。
3. The second Euclidean algorithm, when the second determination result is that all of the upper t places of the syndrome code string are not “0”,
Let X be the code of the syndrome code string, S (X) be the polynomial of the syndrome code string, and B 0 (X) and R 0 (X) be the error locator polynomial and the error value polynomial that have been obtained, respectively. The error locator polynomial and the error value polynomial obtained by the calculation of B are calculated as B −1 (X) and R, respectively.
−1 (X), B i (X) and R i (X) are the error locator polynomial and the error value polynomial obtained by the operation after i times (integer of i ≧ 0), t is the error correction capability number, and The minimum distance is represented by d, the number of erasures is represented by k (t, d, and k are all integers of 1 or more), and a predetermined erasure polynomial of the k erasure is represented by σ k (X), and B -1 (X) is represented by 0. And B 0 (X)
To 1, R -1 (X) to X 2t , and R 0 (X) to [σ
The calculation result of K (X) · S (X)] modX 2t is substituted for initialization, and a third judgment is made as to whether or not the polynomial of R 0 (X) satisfies a predetermined order judgment condition. Done,
As a result of the third determination, if the order determination condition is satisfied in the initial setting, B 0 (X) is set to the error locator polynomial σ.
(X) and R 0 (X) is an error numerical polynomial η
(X), and if the order determination condition is not satisfied in the initial setting, i = 1 to i times of R i-2 (X) / R i-1 (X) = Q
i (X), R i-2 (X) -R i-1 (X) .Q i (X) = R i (X) B i-2 (X) -B i-1 (X ) .Q i (X) = B i (X) is sequentially performed, and when the i-th operation result satisfies the order determination condition, B i (X) = σ (X), R
3. The error correction processing method according to claim 2, wherein i (X) = [eta] (X).
JP5083177A 1993-04-09 1993-04-09 Error correction processing method Expired - Fee Related JP2694794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5083177A JP2694794B2 (en) 1993-04-09 1993-04-09 Error correction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5083177A JP2694794B2 (en) 1993-04-09 1993-04-09 Error correction processing method

Publications (2)

Publication Number Publication Date
JPH06303150A JPH06303150A (en) 1994-10-28
JP2694794B2 true JP2694794B2 (en) 1997-12-24

Family

ID=13795016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5083177A Expired - Fee Related JP2694794B2 (en) 1993-04-09 1993-04-09 Error correction processing method

Country Status (1)

Country Link
JP (1) JP2694794B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6374384B1 (en) * 1996-06-27 2002-04-16 Matsushita Electric Industrial Co., Ltd. Reed Solomon error correcting circuit and method and device for Euclidean mutual division
IL122393A0 (en) 1997-12-01 1998-06-15 Ttr Technologies Ltd A code word for use in digital optical media and a method of generation thereof
JP5547690B2 (en) * 2011-06-15 2014-07-16 日本電信電話株式会社 BCH code decoding method and BCH code decoding apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2553488B2 (en) * 1984-04-13 1996-11-13 三菱電機株式会社 Decoder

Also Published As

Publication number Publication date
JPH06303150A (en) 1994-10-28

Similar Documents

Publication Publication Date Title
EP0290349B1 (en) Method and apparatus for encoding using a Reed-Solomon error correction code
US6449746B1 (en) Decoding method for correcting both erasures and errors of reed-solomon codes
EP0233075B1 (en) Method and apparatus for generating error detection check bytes for a data record
US20130139028A1 (en) Extended Bidirectional Hamming Code for Double-Error Correction and Triple-Error Detection
JPH0728227B2 (en) Decoding device for BCH code
US5107506A (en) Error trapping decoding method and apparatus
US20140013181A1 (en) Error Correction Coding Using Large Fields
US5541937A (en) Apparatus for uniformly correcting erasure and error of received word by using a common polynomial
KR19990087035A (en) Improved multi-burst correction system
US6868517B1 (en) Method and apparatus for checking read errors with two cyclic redundancy check stages
JPH058610B2 (en)
JP2001196938A (en) Device and method for decoding digital data
JP2694794B2 (en) Error correction processing method
KR19990026630A (en) Reed-Solomon decoder and its decoding method
JP3245290B2 (en) Decoding method and device
KR100281946B1 (en) Syndrome calculation device
JP2606647B2 (en) Error correction method
JP2691973B2 (en) Decoding device for single error correction and multiple error detection BCH code
JPH10229343A (en) Error correction processing method
KR100192802B1 (en) Apparatus for calculating error-value and for correcting error in reed-solomon decoder
JP3099890B2 (en) Error correction device for BCH code
JP2553571B2 (en) Galois field arithmetic unit
KR100532373B1 (en) Error correction method in reproduction of digital signal
JPH0778968B2 (en) Soft decision decoding method
KR950008485B1 (en) Unierror correction r-s decoder

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970812

LAPS Cancellation because of no payment of annual fees