JP2579616B2 - Decoder - Google Patents

Decoder

Info

Publication number
JP2579616B2
JP2579616B2 JP59075226A JP7522684A JP2579616B2 JP 2579616 B2 JP2579616 B2 JP 2579616B2 JP 59075226 A JP59075226 A JP 59075226A JP 7522684 A JP7522684 A JP 7522684A JP 2579616 B2 JP2579616 B2 JP 2579616B2
Authority
JP
Japan
Prior art keywords
error
information
flag
flags
probability
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
JP59075226A
Other languages
Japanese (ja)
Other versions
JPS60218927A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59075226A priority Critical patent/JP2579616B2/en
Publication of JPS60218927A publication Critical patent/JPS60218927A/en
Application granted granted Critical
Publication of JP2579616B2 publication Critical patent/JP2579616B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、消失情報と誤り情報とを同時に訂正する
(n,k,d)誤り訂正符号(n:符号長,k:情報長,d:最小距
離)の復号器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an (n, k, d) error correction code for simultaneously correcting erasure information and error information (n: code length, k: information length, d: (Minimum distance).

〔従来技術〕(Prior art)

従来、消失情報と誤り情報とを同時に訂正する(n,k,
d)誤り訂正符号の復号方式のフローチャートとして第
1図に示すものがあった。まず、n個の符号情報とN個
の消失情報数を指示するフラグとからシンドローム多項
式S(Z)とフラグ数Nxとを計算する(ステップ1,
2)。一例として、GF(28)(ガロア体)上の(32,24,
9)RS(Reed-Solomon)符号を考える。
Conventionally, erasure information and error information are corrected simultaneously (n, k,
d) FIG. 1 shows a flowchart of an error correction code decoding method. First, a syndrome polynomial S (Z) and the number of flags Nx are calculated from n pieces of code information and N pieces of flags indicating the number of pieces of erasure information (step 1,
2). As an example, GF (2 8) (Galois field) on the (32, 24,
9) Consider RS (Reed-Solomon) code.

一般に、生成多項式G(Z)を、 とすると、シンドローム多項式A(Z)は で与えられる。ここで、αは原始多項式の根で、原始多
項式は例えば、 Z8+Z4+Z3+Z2+1 で与えられる。パリティチェックマトリックスHは、 で与えられ、従ってSi(i=0,1,…,7)は、 Si=H・V7 …(4) で与えられる。ここでVは符号情報、Tは転置行列であ
る。従って誤りのない場合は、Si=0(i=0,1,…,7)
となる。
In general, the generator polynomial G (Z) is Then, the syndrome polynomial A (Z) becomes Given by Here, α is the root of a primitive polynomial, and the primitive polynomial is given by, for example, Z 8 + Z 4 + Z 3 + Z 2 +1. The parity check matrix H is Therefore, Si (i = 0, 1,..., 7) is given by Si = H · V 7 (4). Here, V is code information, and T is a transposed matrix. Therefore, when there is no error, Si = 0 (i = 0, 1,..., 7)
Becomes

第1図に戻って、シンドローム多項式S(Z)が0か
どうかをチェックし(ステップ3)、S(Z)=0の場
合は、誤りなしとして入力情報をそのまま出力するとと
もにフラグリセットして動作を終了する(ステップ
8)。
Returning to FIG. 1, it is checked whether the syndrome polynomial S (Z) is 0 (step 3). If S (Z) = 0, the input information is output as it is without error, and the flag is reset. Is ended (step 8).

一方、S(Z)≠0の場合は、フラグ数ZxがNx≧d
(=9)かどうかをチェックする(ステップ4)。そし
てNx≧dの場合は、復号不可能として誤り検出にとど
め、フラグセットして動作を終了する(ステップ9)。
On the other hand, when S (Z) ≠ 0, the flag number Zx is Nx ≧ d
It is checked whether (= 9) (step 4). If Nx ≧ d, it is determined that decoding is impossible and only error detection is performed, a flag is set, and the operation is terminated (step 9).

またNx<dの場合は、 Nx+2ne<d なる不等式を満足するNx個の消失情報とne個の誤り情報
とを訂正する復号器として動作する。このときの、消失
の誤りとを同時に訂正するアルゴリズムは、例えばY.SU
GIYAMA他「An Erasures-and-Errors Decoding Algorith
m for Goppa Codes」IEEE Transactions on Imformatio
n Theory 1976−3等に示されている。そして誤り位置
が正常に求められた場合は(ステップ5,6)、消失及び
誤りの大きさを計算して消失情報及び誤り情報を訂正す
るとともにフラグをリセットする(ステップ7)。誤り
位置が正常に求められなかった場合は、誤り検出として
フラグをセットする。(ステップ9)。ここでフラグは
誤り検出情報として用いている。
When Nx <d, the decoder operates as a decoder that corrects Nx erasure information and ne error information that satisfy the inequality Nx + 2ne <d. At this time, the algorithm for simultaneously correcting the erasure error is, for example, Y.SU
GIYAMA et al. `` An Erasures-and-Errors Decoding Algorith
m for Goppa Codes '' IEEE Transactions on Imformatio
n Theory 1976-3. Then, when the error position is normally obtained (steps 5 and 6), the magnitude of the erasure and the error are calculated to correct the erasure information and the error information, and the flag is reset (step 7). If the error position is not found normally, a flag is set as error detection. (Step 9). Here, the flag is used as error detection information.

このような従来の復号化方式では、復号結果は第2図
で示すようになる。第2図において、縦軸は1つの符号
語における消失(Erasure)情報の数、横軸は誤り(Err
or)情報の数である。図中、Cは正しく復号される状
態、Dは誤りが検出できるが訂正できない状態、Mは誤
って訂正または誤りを見逃す状態を示す。また○は消失
情報のうち情報が誤っていない状態、●は消失情報のう
ち情報が誤っている状態を表している。このような復号
結果で得られる誤り訂正能力は、消失及び誤りの発生確
率から計算が可能である。
In such a conventional decoding method, the decoding result is as shown in FIG. In FIG. 2, the vertical axis represents the number of erasure information in one codeword, and the horizontal axis represents error (Err).
or) Number of information. In the figure, C indicates a state where decoding is correctly performed, D indicates a state where an error can be detected but cannot be corrected, and M indicates a state where a correction or error is erroneously detected. In addition, ○ indicates a state where the information is not incorrect in the lost information, and ● indicates a state where the information is incorrect in the lost information. The error correction capability obtained from such a decoding result can be calculated from the erasure and error occurrence probabilities.

一例として、第3図について計算する。第3図は2段
符号化された符号の復号化ブロック図で、11は符号情報
の入力端子、12は復号された情報(データ)と検査情報
(フラグ)とを出力するC1復号器、13はC1符号の情報を
C2符号の情報順に並びかえるデ・インターリーブ回路、
14はC2符号器であり、これはデ・インターリーブ回路13
からの復号情報と検査情報とにより、消失・誤り訂正を
行って、出力端子15a,15bにそれぞれ復号情報,検査情
報を送出するものである。
As an example, the calculation is performed on FIG. FIG. 3 is a decoding block diagram of a two-stage encoded code, 11 is an input terminal for code information, 12 is a C1 decoder that outputs decoded information (data) and check information (flag), 13 Is the information of C1 code
A de-interleave circuit that rearranges information in the order of C2 code information,
14 is a C2 encoder, which is a deinterleave circuit 13
The erasure / error correction is performed based on the decoded information and the check information from, and the decoded information and the check information are sent to the output terminals 15a and 15b, respectively.

ここで、C1符号として(32,30,3)RS,C2符号として
(32,24,9)RSを用いるものとし、C1符号では検出能力
を良くするため、訂正を行わず検出のみを行なうとする
と、各情報の検出及び見逃し確率Pdf1,Pdt1,Pm1は、誤
りがランダムとすると となる。
Here, it is assumed that (32, 30, 3) RS is used as the C1 code, and (32, 24, 9) RS is used as the C2 code. In order to improve the detection capability of the C1 code, only detection without correction is performed. Then, the detection and oversight probability Pdf1, Pdt1, Pm1 of each information are Becomes

ここでPはシンボル誤り率,Pdf1はそのデータに誤り
のない消失情報(第2図中○印)となる確率、Pdt1はデ
ータに誤りのある消失情報(第2図中●印)となる確
率、Ai(n)は符号長n,重みiのRS符号語の数であり、
次式で与えられる。
Here, P is the symbol error rate, Pdf1 is the probability of erasure information having no error in the data ((in FIG. 2), and Pdt1 is the probability of erasure information having error in the data (● in FIG. 2). , Ai (n) are the number of RS code words of code length n and weight i,
It is given by the following equation.

ここで、d=3,q=28=256である。 Here, d = 3 and q = 2 8 = 256.

次にC2復号器14で誤り検出(第2図中D)となる確率
Pd2の主要項は、第2図を参照して、消失9個(○印8
個、●印1個),誤り0個の場合であり、 で与えられる。この場合、シンボル誤り率P(通常10-2
程度)が悪くなるとさらに消失個数の多い部分が検出確
率の主要項となり、誤り訂正能力は急速に劣化する。
Next, the probability of error detection (D in FIG. 2) by the C2 decoder 14
As shown in FIG. 2, the main term of Pd2 was 9 disappeared (circled 8).
Number, ● mark 1), 0 errors, Given by In this case, the symbol error rate P (usually 10 −2
If the degree is worse, the part with a larger number of erasures becomes the main term of the detection probability, and the error correction capability rapidly deteriorates.

また、C1復号器12で訂正を実行した場合では、シンボ
ル誤り率Pが10-2付近から悪くなると誤り0個で消失9
個以上の場合が主要項となっていた。
Further, when the correction is performed by the C1 decoder 12, if the symbol error rate P becomes worse from around 10 −2 , the error is lost with 0 errors.
More than one case was the main term.

このように、従来の復号化方式では、消失情報の検出
確率が高いほど、即ちC1復号器12からのフラグが多いほ
ど、またデータに誤りのない消失情報が多い場合、シン
ボル誤り率の悪い所で訂正能力が急速に劣化する、ある
いは十分な訂正能力が得られないという欠点があった。
As described above, in the conventional decoding method, as the detection probability of the erasure information increases, that is, as the number of flags from the C1 decoder 12 increases, and when there is much erasure information with no error in the data, the symbol error rate is poor. However, the correction capability deteriorates rapidly, or a sufficient correction capability cannot be obtained.

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

この発明は上記のような従来のものの欠点を除去するた
めになされたもので、消失フラグを2種類以上用いて、
訂正個数の少ない順にそのフラグ数が訂正能力を越えて
いるか否かを判定し、該判定結果により消失,誤り情報
を訂正するか、または誤り検出情報を検出するかを決定
するようにすることにより、誤り訂正能力を向上するこ
とのできる復号器を提供することを目的とする。
The present invention has been made in order to eliminate the above-mentioned drawbacks of the conventional device.
By judging whether or not the number of flags exceeds the correction capability in the order of the number of corrections, it is determined whether to correct lost or error information or to detect error detection information based on the determination result. It is another object of the present invention to provide a decoder capable of improving error correction capability.

〔発明の実施例〕(Example of the invention)

以下、本発明の実施例を図について説明する。第4図
は本発明の一実施例による復号器を示し、ここでは、信
頼度の高い順に2種類のフラグF1,F2を用いた場合を示
している。21はシンドローム多項式S(Z)及び各フラ
グF1,F2のフラグ数Nx1,Nx2を計算する計算手段、22は上
記シンドローム多項式S(Z)が0か否かを判定すると
ともに、上記フラグ数Nx1,Nx2がそれぞれ所定値d11,d21
(≦d)以上か否かを判定する判定手段、30は復号手段
であり、これは上記判定手段22の判定結果に基づいて所
定個数の消失情報と誤り情報とを訂正するものである。
この復号手段30において、23aは上記判定手段22の判定
結果がS(Z)≠0かつNx1<d11の場合に、Nx1+2ne1
<d12を満足するne1個の誤り位置を計算する第1の誤り
位置検出手段、23bは上記判定結果がS(Z)≠0,Nx1≧
d11,かつNx2<d21の場合に、Nx2+2ne2<d22を満足する
ne2個の誤り位置を計算する第2の誤り位置計算手段、2
4は上記第1,第2の誤り位置計算手段23a,23bによって求
められた誤り位置における誤りの大きさを計算し、消失
情報及び誤り情報を訂正する誤り訂正手段、25はS
(Z)=0、即ち誤りなし、または誤り訂正が行なわれ
た場合にフラグをリセットし、誤り訂正することなしに
誤り検出情報を検出する場合にフラグをセットするフラ
グセット/リセット手段である。そして上記計算手段2
1,判定手段22,及び復号手段30により第3図に示したC2
復号器14が構成されている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 4 shows a decoder according to an embodiment of the present invention, in which a case where two kinds of flags F1 and F2 are used in the order of higher reliability is shown. 21 is a calculating means for calculating the syndrome polynomial S (Z) and the number of flags Nx1 and Nx2 of each of the flags F1 and F2. Nx2 is a predetermined value d11, d21 respectively
Determining means 30 for determining whether or not (≦ d) or more is a decoding means, which corrects a predetermined number of erasure information and error information based on the determination result of the determining means 22.
In the decoding means 30, 23a is Nx1 + 2ne1 when the judgment result of the judgment means 22 is S (Z) ≠ 0 and Nx1 <d11.
<First error position detecting means for calculating ne1 error positions satisfying d12, 23b determines that the above-mentioned determination result is S (Z) ≠ 0, Nx1 ≧
When d11 and Nx2 <d21, satisfy Nx2 + 2ne2 <d22
ne 2 second error position calculating means for calculating 2 error positions, 2
4 is an error correction means for calculating the magnitude of the error at the error position obtained by the first and second error position calculation means 23a and 23b, and correcting the erasure information and the error information;
(Z) = 0 is a flag setting / resetting means for resetting a flag when no error or error correction is performed, and setting a flag when detecting error detection information without error correction. And the above calculation means 2
1, C2 shown in FIG. 3 by the judgment means 22 and the decoding means 30
A decoder 14 is configured.

次に本実施例の動作を第5図のフローチャートを用い
て説明する。ここでは、上述のように、2種類のフラグ
F1,F2を用い、信頼度はフラグF1の方が高いものとす
る。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Here, as described above, two types of flags are used.
F1 and F2 are used, and the reliability of the flag F1 is higher.

シンドローム多項式S(Z)の計算,フラグ数Nx1,Nx
2の計算,S(Z)の判定までは従来と同じである。(ス
テップ31〜33)。
Calculation of syndrome polynomial S (Z), number of flags Nx1, Nx
The calculation up to 2 and the determination of S (Z) are the same as in the past. (Steps 31-33).

S(Z)≠0の場合、最初に信頼度の高いフラグF1の
フラグ数Nx1がNx1≧d11かどうかをチェックする(ステ
ップ34)。ここでd11≦dとする。もしNx1<d11であれ
ば、Nx1+2ne1<d12(≦d)を満足するNx1個の消失情
報とne1個の誤り情報とを訂正する復号を行なう(ステ
ップ41)。またNx1≧d11であれば、Nx2≧d21(≦d)で
あるかどうかをチェックし(ステップ35)、Nx2<d21で
あればNx2+2ne2<d22(≦d)を満足するNx2個の消失
情報とne2個の誤り情報とを訂正する復号を行なう(ス
テップ36)。また、Nx2≧d21であれば誤り検出としてフ
ラグをセットする(ステップ40)。
If S (Z) ≠ 0, it is first checked whether the flag number Nx1 of the flag F1 with high reliability is Nx1 ≧ d11 (step 34). Here, d11 ≦ d. If Nx1 <d11, decoding is performed to correct Nx1 pieces of erasure information and ne1 pieces of error information that satisfy Nx1 + 2ne1 <d12 (≦ d) (step 41). If Nx1 ≧ d11, it is checked whether or not Nx2 ≧ d21 (≦ d) (step 35). If Nx2 <d21, Nx2 erasure information satisfying Nx2 + 2ne2 <d22 (≦ d) and ne2 The decoding for correcting the error information is performed (step 36). If Nx2 ≧ d21, a flag is set as error detection (step 40).

このようにして誤り位置が正常に求められた場合は、
消失及び誤りの大きさを計算して消失及び誤り情報を訂
正する(ステップ37,38)。また、誤り位置が正常に求
められなかった場合は、誤り検出情報としてフラグをセ
ットする(ステップ39)。ここで誤り位置が正常に求め
られなかった場合というのは、前述の文献にもあるよう
に基本方程式が解けなかった場合あるいは基本方程式は
解けたが誤り位置が符号語の中に入っていない場合など
である。
If the error position is found normally in this way,
The magnitude of the erasure and error is calculated to correct the erasure and error information (steps 37 and 38). If the error position is not found normally, a flag is set as error detection information (step 39). Here, the case where the error position was not found normally means that the basic equation could not be solved as described in the above-mentioned document, or that the basic equation was solved but the error position was not included in the code word. And so on.

次に第3図の2段符号化された符号の復号を例にとっ
て本実施例の作用効果を詳細に説明する。d11=d12=d2
1=dとする。従来例で説明したフラグをフラグF1とす
ると、各情報の検出及び見逃し確率は(5)(6)
(7)式で与えられる。ここでフラグF1は、(32,30,
3)RS符号を検出のみに復号しているので最も信頼度が
高い。次についで信頼度の高いフラグF2としては、C1符
号で1個の誤り情報は訂正してフラグを付加せずに、2
個以上の誤り情報を検出した場合にフラグを付加すると
すると、各情報の検出及び見逃し確率Pdf2,Pdt2,Pm2の
主要項は、誤りがランダムと仮定すると、 で与えられる。ここで、Pはシンボル誤り率、Pdf2は符
号データは誤っていないがF2フラグが付加された消失デ
ータとなる確率、Pdt2はF2フラグが付加されて符号デー
タが誤っている消失データとなる確率である。このよう
な2種類のフラグF1,F2を別々に用いて第1図に示す従
来の復号化方式で復号した場合の復号結果の確率は第6
図,第7図のようになっている。ここで、第6図はフラ
グF1,第7図はフラグF2を用いた場合の最小次数を表
し、係数は省略してある。
Next, the operation and effect of the present embodiment will be described in detail with reference to the decoding of the two-stage encoded code shown in FIG. d11 = d12 = d2
Let 1 = d. Assuming that the flag described in the conventional example is a flag F1, the detection and miss probability of each information is (5) (6)
It is given by equation (7). Here, the flag F1 is set to (32, 30,
3) Highest reliability because RS code is decoded only for detection. Next, as a highly reliable flag F2, one piece of error information is corrected with the C1 code and the flag is added without adding a flag.
If a flag is added when more than one error information is detected, the main term of the detection and oversight probability Pdf2, Pdt2, Pm2 of each information is, assuming that the error is random, Given by Here, P is the symbol error rate, Pdf2 is the probability that the code data is not erroneous but becomes lost data with the F2 flag added, and Pdt2 is the probability that the F2 flag is added and the code data becomes erroneous lost data. is there. The probability of the decoding result when the two types of flags F1 and F2 are separately used and decoded by the conventional decoding method shown in FIG.
FIG. 7 and FIG. Here, FIG. 6 shows the minimum order when the flag F1 and FIG. 7 use the flag F2, and the coefficients are omitted.

第6図,第7図を見てわかるように、信頼度の高いフ
ラグF1を用いた場合は信頼度の低いフラグF2を用いた場
合と比較して、誤り情報が多くなるにつれて発生確率が
小さくなっている(P≒10-2)。対照的に消失情報が多
くなるにつれて発生確率が大きくなっている。
As can be seen from FIGS. 6 and 7, when the flag F1 having high reliability is used, the probability of occurrence decreases as the error information increases, as compared with the case where the flag F2 having low reliability is used. (P ≒ 10 -2 ). In contrast, the probability of occurrence increases as the amount of lost information increases.

従って信頼度の高いフラグF1を用いて主に発生確率の
高い消失情報を訂正し(第5図のステップ41)、またフ
ラグF1ではフラグ数が多すぎて訂正能力を越えてしまう
場合は信頼度の低いフラグF2を用いて消失情報と誤り情
報とを訂正する(第5図のステップ36)ことにより、全
体として誤り訂正能力,誤り検出能力ともに向上できる
ことを以下に説明する。第2図と第6図より、フラグF1
を用いた場合の誤り検出確率PdF1の主要項は、消失情報
数が9,誤り情報数0の場合で、PdF1∝P9である。誤訂
正確率PmF1の主要項は、消失情報数が8,誤り情報数が1
の場合で、PmF1∝P11である。なお、上述した確率Pdf,
Pdt,Pmを算出する際に用いた各式は、シンボル誤り率P
が十分小さいときに成り立つものであり、シンボル誤り
率Pに乗算される係数となる数値はこの場合、無視する
ことができる。
Therefore, the erasure information having a high probability of occurrence is mainly corrected by using the flag F1 having high reliability (step 41 in FIG. 5). If the number of flags in the flag F1 is too large to exceed the correction capability, the reliability is corrected. It will be described below that the error correction capability and the error detection capability can be improved as a whole by correcting the erasure information and the error information by using the low flag F2 (step 36 in FIG. 5). From FIG. 2 and FIG.
Main terms of the error detection probability PdF1 when using the erasure information number 9, in the case of error information number 0 is PdF1arufaP 9. The main term of the error correction probability PmF1 is that the number of lost information is 8, and the number of error information is 1
In the case of a PmF1αP 11. Note that the above-mentioned probability Pdf,
The equations used to calculate Pdt and Pm are the symbol error rate P
Is sufficiently small, and a numerical value which is a coefficient to be multiplied by the symbol error rate P can be ignored in this case.

一方、フラグF2のみを用いた場合は、第2図と第7図
より、誤り検出確率PdF2の主要項は、消失情報数が1,誤
り情報数が4の場合で、PdF2∝P10である。誤訂正確率
PmF2の主要項は、消失情報数が0,誤り情報数が5の場合
で、PmF2∝P10である。
On the other hand, in the case of using only the flag F2, from FIG. 2 and FIG. 7, the primary term of the error detection probability PdF2 is lost information number 1, if the number of error information is 4, is PdF2arufaP 10 . Error correction probability
Main terms of PmF2 is lost information number 0, if the number of error information is 5, it is PmF2αP 10.

本実施例によれば、フラグF1の数が8以下の場合はF1
を用いて復号し、フラグF1の数が9以上の場合はフラグ
F2を用いて復号する。従って、誤り検出確率PdF1の主要
項であった消失情報が9、誤り情報数0の場合の確率
は、フラグF2では、フラグF1で消失9個の符号語はその
大部分が消失8個以下に移動することになり、訂正可能
となり、フラグF1ではP9に比例するものであったもの
が、P18に比例するようになり、改善される。
According to this embodiment, when the number of flags F1 is 8 or less, F1
And if the number of flags F1 is 9 or more,
Decrypt using F2. Therefore, the probability when the erasure information, which was the main term of the error detection probability PdF1, is 9 and the number of error information is 0, is as follows. It will be moved, correctable and will, what was in proportion to P 9 in the flag F1 is now proportional to P 18, is improved.

一方、フラグF2のみを用いた場合のPdF2の主要項であ
った消失情報数が1,誤り情報数が4の場合の確率を考え
る。フラグF2の場合の誤り情報確率Pm2の主要項は、1
誤り訂正を行って誤訂正になった場合であり、これはフ
ラグF1では誤り検出となっている。本発明ではフラグF1
で復号できる場合は復号されているので、フラグF1でみ
た時の消失情報数が9で誤り情報数0に相当し、消失情
報の内訳は(○○○○●●●●●)となる。ここで○は
Pに比例し、●はP2に比例する場合であるので、本実
施例でのPdF2は○が4ケ、●が5ケの場合でP14に比例
することになり改善される。
On the other hand, consider the probability when the number of lost information, which is the main term of PdF2, is 1 and the number of error information is 4, when only the flag F2 is used. The main term of the error information probability Pm2 in the case of the flag F2 is 1
This is the case where error correction is performed and error correction is performed, and this is error detection with the flag F1. In the present invention, the flag F1
In the case where decoding is possible, the number of lost information as seen by the flag F1 is 9, which corresponds to the number of error information 0, and the breakdown of the lost information is (○, ●, ●, ●). Here, ○ is proportional to P, and ● is proportional to P 2 , so PdF2 in this embodiment is improved because it is proportional to P 14 when ○ is 4 and ● is 5 You.

同様にPmF2は、フラグF2における誤り情報数5は、フ
ラグ1における消失情報数9(○○○○●●●●●)と
なるのでP14に比例することになり改善される。
Similarly PmF2 is error information number 5 in flag F2 is lost in the flag 1 Information Number 9 (OOOO ●●●●●) to be improved will be proportional to P 14 since.

従って、フラグF1を単独に用いて復号した場合の誤り
検出,誤訂正確率がそれぞれP9に比例し、フラグF2を
単独に用いた場合もそれぞれP10に比例するのに対し、
本実施例での誤り検出,誤訂正確率はそれぞれP14に比
例し、誤り訂正能力が向上していることがわかる。この
ように、第6図で示したフラグF1を用いた発生確率に
は、フラグF2を用いた場合の(11)(12)式と(10)式
の一部とが含まれていることから、第7図での誤り情報
はフラグF1で訂正される場合を除いたものとなってお
り、フラグF2単独で復号するよりも誤り訂正能力の高い
ことがわかる。
Therefore, error detection in the case of decoding by using the flag F1 alone, whereas erroneous correction probability is proportional to P 9 are proportional to P 10 each case of using the flag F2 alone,
Error detection in the present embodiment, erroneous correction probability is proportional to P 14, respectively, it can be seen that the improved error correction capability. As described above, the occurrence probability using the flag F1 shown in FIG. 6 includes the equations (11), (12), and a part of the equation (10) when the flag F2 is used. 7 excludes the case where the error information is corrected by the flag F1, and it can be seen that the error information has a higher error correction capability than decoding by the flag F2 alone.

さらに、各消失情報数と誤り情報数の発生確率を詳細
に計算し、d11,d12,d21,d22をきめ細かく設定すること
により、より一層誤り訂正能力,誤り検出能力を向上さ
せることができる。
Furthermore, by calculating the occurrence probability of each of the number of lost information and the number of error information in detail and setting d11, d12, d21, and d22 finely, the error correction capability and the error detection capability can be further improved.

また、本実施例では復号回数が1回であるので復号時
間が長くならず、かつd11=d12=d21=d22=dとしてい
るので、復号器の回路規模もほとんど従来通りで可能で
ある。
In this embodiment, since the number of times of decoding is one, the decoding time does not become long, and d11 = d12 = d21 = d22 = d, so that the circuit scale of the decoder can be almost the same as before.

なお、上記実施例では訂正符号としてRS符号を用いた
が、消失情報と誤り情報とを同時に訂正可能な誤り訂正
符号であれば、上記実施例と同様に適用可能である。
In the above embodiment, the RS code is used as the correction code. However, any error correction code that can simultaneously correct erasure information and error information can be applied in the same manner as in the above embodiment.

また、上記実施例では2種類のフラグを用いたが、3
種類以上のフラグを用いる場合も同様に適用できること
は言うまでもない。たとえば、3種のフラグを用いる場
合はC1符号として(32,28,5)RSを用いれば、復号結果
として誤りなし、1誤り訂正,2誤り訂正,誤り検出の4
つの状態が得られるのでフラグ1として誤り訂正を行わ
ずすべて誤り検出とした場合、フラグ2として1誤り訂
正を行い、2誤り訂正以上を検出とした場合、フラグ3
としては1及び2誤り訂正を行った場合の3種類のフラ
グを設定することができる。
In the above embodiment, two types of flags are used.
It goes without saying that the same applies to the case where more than two types of flags are used. For example, when three types of flags are used, if (32, 28, 5) RS is used as the C1 code, no error is detected as a decoding result, and one error correction, two error corrections, and error detection are performed.
Since two states are obtained, when all errors are detected without performing error correction as the flag 1, when one error correction is performed as the flag 2 and when two or more error corrections are detected, the flag 3 is used.
Can set three types of flags when 1 and 2 error corrections are performed.

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

以上のように、この発明によれば、2種類以上の消失
フラグを用い、訂正個数の少ない順にそのフラグ数が訂
正能力を越えているか否かを判定し、該判定結果により
消失,誤り情報の訂正、又は誤り検出を行うようにした
ので、誤り訂正、及び検出能力を向上することができる
という効果がある。
As described above, according to the present invention, using two or more types of erasure flags, it is determined whether the number of flags exceeds the correction capability in ascending order of the number of corrections. Since the correction or the error detection is performed, there is an effect that the error correction and the detection capability can be improved.

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

第1図は従来の復号化方式のフローチャートを示す図、
第2図は従来の復号化方式による(32,24,9)RS符号の
復号結果を示す図、第3図は2段符号化された符号の復
号化ブロック図、第4図はこの発明の一実施例による復
号器のブロック図、第5図は該復号器による復号化方式
のフローチャートを示す図、第6図はフラグF1を用いて
復号した場合の復号結果の確率の最小次数を示す図、第
7図はフラグF2を用いて復号した場合の復号結果の確率
の最小次数を示す図である。 21…計算手段、22…判定手段、30…復号手段。
FIG. 1 is a diagram showing a flowchart of a conventional decoding method,
FIG. 2 is a diagram showing a result of decoding a (32, 24, 9) RS code by a conventional decoding method, FIG. 3 is a block diagram of a two-stage coded code, and FIG. FIG. 5 is a block diagram of a decoder according to an embodiment, FIG. 5 is a flowchart of a decoding method by the decoder, and FIG. 6 is a diagram showing the minimum order of the probability of the decoding result when decoding is performed using the flag F1. FIG. 7 is a diagram showing the minimum order of the probability of the decoding result when decoding is performed using the flag F2. 21: calculation means, 22: determination means, 30: decoding means.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】m(≧2)種類以上のフラグを有する消失
情報と誤り情報とを同時に訂正する(n,k,d)誤り訂正
符号(n:符号長,k:情報長,d:最小距離)の復号器であっ
て、 入力情報からシンドローム多項式S(Z)及び訂正個数
の少ないフラグの順になる各フラグのフラグ数Nx1,Nx2,
…,Nxmを計算する計算手段と、 上記シンドローム多項式S(Z)が0か否か、及び上記
各フラグ数Nxi(i=1,2,…,m)が所定値di1(≦d,i=
1,2,…,m)以上か否かを判定する判定手段と、 上記シンドローム多項式がS(Z)=0の場合は、誤り
なしとして上記入力情報をそのまま出力し、上記シンド
ローム多項式がS(Z)≠0であり、かつ、上記各フラ
グ数Nxi(i=1,2,…,m)が所定値di1(≦d,i=1,2,…,
m)以上か否かをiが小さいものから順に判定し、該判
定した結果がNxi<di1の場合に、上記入力情報から、所
定値di2(≦d,i=1,2,…,m)に対してNxi+2・nei<di
2を満足するNxi個の消失情報とnei個の誤り情報とを訂
正する復号を行い、S(Z)≠0かつNxi≧dm1の場合は
誤り検出情報を出力する復号手段と、 を備えたことを特徴とする復号器。
1. An (n, k, d) error correction code (n: code length, k: information length, d: minimum) that simultaneously corrects erasure information and error information having m (≧ 2) or more types of flags. Distance), the number of flags Nx1, Nx2,
, Nxm, and whether or not the syndrome polynomial S (Z) is 0, and the number of flags Nxi (i = 1, 2,..., M) is a predetermined value di1 (≦ d, i =
(2,..., M) or more; and if the syndrome polynomial is S (Z) = 0, the input information is output as it is without error, and the syndrome polynomial is S (Z). Z) ≠ 0 and the number of flags Nxi (i = 1, 2,..., M) is a predetermined value di1 (≦ d, i = 1, 2,.
m) is determined in order from the smallest i, and if the determined result is Nxi <di1, a predetermined value di2 (≦ d, i = 1, 2,..., m) is obtained from the input information. Nxi + 2 · nei <di
Decoding means for performing decoding for correcting Nxi pieces of erasure information and nei pieces of error information satisfying 2 and outputting error detection information when S (Z) ≠ 0 and Nxi ≧ dm1. A decoder characterized by the above-mentioned.
JP59075226A 1984-04-13 1984-04-13 Decoder Expired - Lifetime JP2579616B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59075226A JP2579616B2 (en) 1984-04-13 1984-04-13 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59075226A JP2579616B2 (en) 1984-04-13 1984-04-13 Decoder

Publications (2)

Publication Number Publication Date
JPS60218927A JPS60218927A (en) 1985-11-01
JP2579616B2 true JP2579616B2 (en) 1997-02-05

Family

ID=13570095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59075226A Expired - Lifetime JP2579616B2 (en) 1984-04-13 1984-04-13 Decoder

Country Status (1)

Country Link
JP (1) JP2579616B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2646896B2 (en) * 1991-07-19 1997-08-27 松下電器産業株式会社 Digital signal decoding device

Also Published As

Publication number Publication date
JPS60218927A (en) 1985-11-01

Similar Documents

Publication Publication Date Title
JP4152887B2 (en) Erase location for linear block codes-and-single-error correction decoder
CN111628780B (en) Data encoding and decoding method and data processing system
US8032812B1 (en) Error correction decoding methods and apparatus
KR101819152B1 (en) Method and associated decoding circuit for decoding an error correction code
WO2011000176A1 (en) Coding and decoding method and codec of error correction code
JP2579616B2 (en) Decoder
EP1280281A1 (en) Decoder and decoding method
US5809042A (en) Interleave type error correction method and apparatus
JP2553488B2 (en) Decoder
US10387254B2 (en) Bose-chaudhuri-hocquenchem (BCH) encoding and decoding tailored for redundant array of inexpensive disks (RAID)
US7962839B1 (en) Single burst error correction
DE69330775T2 (en) Reed-Solomon error correction with Euclidean algorithm
US20030229842A1 (en) Method for calculating syndrome polynomial in decoding error correction codes
JP2567598B2 (en) Error count determination method
US8209589B2 (en) Reed-solomon decoder with a variable number of correctable errors
JPH0126569B2 (en)
JP2768723B2 (en) Decryption device
JPH1173797A (en) Storage device
JPH05235906A (en) Decoder fro multi-dimension code and error correction/ detection system using decoder
TWI387214B (en) Method and circuit for decoding an error correction code
KR19990039252A (en) Eraser correction method and apparatus
Jing et al. Decoding Process of RS Codes with Errors and Erasures: An Overview
JP4129608B2 (en) Reed-Solomon code setting method
JPH06244741A (en) Error correcting method
RU2282307C2 (en) Method for syndrome decoding for convolution codes

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term