JPH01260930A - Decoding method for error correction code - Google Patents

Decoding method for error correction code

Info

Publication number
JPH01260930A
JPH01260930A JP8734288A JP8734288A JPH01260930A JP H01260930 A JPH01260930 A JP H01260930A JP 8734288 A JP8734288 A JP 8734288A JP 8734288 A JP8734288 A JP 8734288A JP H01260930 A JPH01260930 A JP H01260930A
Authority
JP
Japan
Prior art keywords
error
syndromes
symbol
symbols
kinds
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.)
Pending
Application number
JP8734288A
Other languages
Japanese (ja)
Inventor
Hidehiro Kaneda
英宏 金田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8734288A priority Critical patent/JPH01260930A/en
Publication of JPH01260930A publication Critical patent/JPH01260930A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the error detection calculation of <=2 symbols by selecting 2n kinds of syndromes obtained at decoding, obtaining an error location and an error pattern in n-symbol error and checking whether or not the pattern is in a prescribed relation with the remaining syndrome. CONSTITUTION:A digital signal from a recovered data input terminal 1 is processed by a syndrome arithmetic circuit 2 to obtain 6 kinds of syndromes S0-S5. An error check circuit 4 applies check of null/non null to 4 kinds of the syndromes S0-S3, and when the condition of 2-symbol error is satisfied, that is, in case of Anot equal to 0, Bnot equal to 0, Cnot equal to 0, tentative error locations i', j' and error patterns Ei', Ej' are obtained from a location polynomial. On the other hand, equation II is established in syndromes S4, S5 when a 2-symbol error takes place. Then the values i', j',Ei',Ej' are substituted in the equation II to check whether or not the result is equivalent to the case with the substitution of the values S4,S5, the the detection condition to 2-symbol error is incorporated with the condition of the values S4, S5 and the number of times of multiplication, and addition is decreased more than those of a conventional method.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル信号を記録・再生(又は伝送)す
る装置における誤り訂正符号の復号方法に係り、特に誤
り検出を実行する際の復号方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for decoding an error correction code in an apparatus for recording and reproducing (or transmitting) digital signals, and in particular a decoding method for performing error detection. Regarding.

〔従来の技術〕[Conventional technology]

ディジタルデータを取り扱うシステムでは、信頼性向上
を目的として誤り訂正符号が幅広く用いられている。例
えばオーディオ信号やビデオ信号をディジタル化して記
録再生するディジタルオーディオディスク(CD)、デ
ィジタルVTRなどである。
Error correction codes are widely used in systems that handle digital data for the purpose of improving reliability. Examples include digital audio discs (CDs) and digital VTRs that record and reproduce digitized audio and video signals.

これらのf211では再生信号のレベル変動や欠如など
の影響により符号誤り(エラー)が発生する。
In these f211, code errors (errors) occur due to level fluctuations or lack of reproduction signals.

このようなエラーを訂正する場合、まず誤り訂正符号を
構成するデータブロック内に発生したエラーの数をあら
かじめ求める必要がある。
To correct such errors, it is first necessary to determine in advance the number of errors that have occurred in the data blocks that constitute the error correction code.

例えば、情報処理学会論文誌VOL25 、N(L5 
For example, Information Processing Society of Japan Journal VOL25, N(L5
.

1)り842−848の「2nおよび3重誤り訂正几e
ed−8olomon符号の復号」では6柚のパリティ
シンボルを用いてエラーを検出する方法を提案している
。WI2図に上記復号の手順を示す。
1) 842-848's "2n and triple error correction method"
ed-8 "Decoding of Olomon Code" proposes a method of detecting errors using six parity symbols. Figure WI2 shows the above decoding procedure.

まず、再生したデータより6種のシンドロームso、s
1+S2 、s3.s4.s5を求める。次に各シンド
ロームについて零、非零を検定し、スべて零であればエ
ラーなし、非零であればエラーありと判定している。も
しエラーありと判定した場合、ざらに下記の演算を行う
First, from the reproduced data, six types of syndromes so, s
1+S2, s3. s4. Find s5. Next, each syndrome is tested for zero or non-zero, and if all are zero, it is determined that there is no error, and if all are non-zero, it is determined that there is an error. If it is determined that there is an error, perform the following calculations.

・・・・・・ (1) そしてX、Yのいずれも零であれば2シンボル以下のエ
ラー、非零であれば3シンボルのエラーと判定している
。2シンボル以下のエラーと判定した場合、さらに下記
の演算を行う。
(1) If both X and Y are zero, it is determined that there is an error of two symbols or less, and if they are non-zero, it is determined that there is an error of three symbols. If it is determined that there is an error of 2 symbols or less, the following calculation is further performed.

A−so−s2+st そしてABCのすべてが零であれは1シンボルエラー、
非零であれば2シンボルエラーとしている。
A-so-s2+st And if all of ABC are zero, it is one symbol error.
If it is non-zero, it is considered as a 2-symbol error.

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

一方、6alのパリティシンボルを用いた誤り訂正では
3シンボル以下のエラーを訂正することが可能である。
On the other hand, error correction using 6al parity symbols can correct errors of 3 symbols or less.

ところが上記誤り検出においては4シンボル以上のエラ
ーが発生した場合、3シンボルのエラーと4シンボル以
上のエラーを区別することが出来ない。この様な状態に
陥いった時に3シンボルエラーの訂正を実行すると誤訂
正によるエラーが発生してしまう。
However, in the above error detection, when an error of four or more symbols occurs, it is not possible to distinguish between an error of three symbols and an error of four or more symbols. If a three-symbol error is corrected when such a situation occurs, an error will occur due to incorrect correction.

これは、3シンボルエラー訂正における訂正不ljシ判
断が考慮されていないためである。そこで、訂正動作の
対象を2シンボル以下のエラーに限定し、3シンボル以
上のエラーに対して訂正不能の判断を下すと上記誤訂正
によるエラーを軽減することができる。
This is because the correction error determination in 3-symbol error correction is not taken into consideration. Therefore, by limiting the correction operation to errors of two symbols or less and determining that errors of three or more symbols are uncorrectable, errors caused by the above-mentioned erroneous correction can be reduced.

この場合、上記(1)式の演算結果を見て訂正可、不可
の判断をすることになるが、演算式からも分かる様に多
数の乗算および加算を必要とするため、演算処理に時間
がかかり、実現回路の規模も大きくなる。
In this case, it is determined whether the correction is possible or not by looking at the calculation result of the above formula (1), but as can be seen from the calculation formula, it requires a large number of multiplications and additions, so the calculation process takes time. This also increases the scale of the implementation circuit.

特に上記(1)式は、3シンボルのエラーを訂正するこ
とを前提にi&適化した式であり、2シンボル以下のエ
ラーをWt出、訂正を実行する誤り訂正動作では復号の
効率がわるくなる。
In particular, the above formula (1) is an i&optimized formula on the premise that errors of 3 symbols are corrected, and decoding efficiency decreases in an error correction operation that outputs and corrects errors of 2 symbols or less. .

本発明の目的は、2シンボル以下のエラー検出演Sを簡
略化することのできる誤り訂正符号の復号方法を提供す
ることにある。
An object of the present invention is to provide an error correction code decoding method that can simplify the error detection function S of two symbols or less.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、例えば復号時に得られる6種のシンドロー
ムのうち第1の処理で4種のシンドロームをM 択L2
シンボルエラーのエラーロケーションとエラーパターン
を求め、第2の処理で前記エラーロケーションとエラー
パターンが第1の処理で用いなかった残り2棟のシンド
ロームに対して一定の関係が成立するかを検定すること
により達成される。
The above purpose is, for example, to select 4 types of syndromes in the first process among 6 types of syndromes obtained during decoding.
Obtaining the error location and error pattern of the symbol error, and testing in a second process whether a certain relationship holds between the error location and the error pattern with respect to the remaining two syndromes that were not used in the first process. This is achieved by

〔作用〕[Effect]

以下、第1図に本発明の復号手順を示す。復号時に得る
61Mのシンドロームのうち、SOt Sl es21
 S3を用いて前記(2)式の演算を行う。もし2シン
ボルエラーの条件を満足した場合、丁なわちA←0.B
〜0.C〜0のとき位置多項式より一方、2シンボルエ
ラーが発生したときのシンドロームS4.S5は が成立する。そこで上記仮のエラーロケーションおよび
エラーパターン金上記(3)式((代入し、S4および
S5と同値であるかを検定することにより、2シンボル
誤りに対する検出条件に84185の条件を組込むこと
ができる。
Below, FIG. 1 shows the decoding procedure of the present invention. Among the 61M syndromes obtained during decoding, SOt Sl es21
The above equation (2) is calculated using S3. If the two-symbol error condition is satisfied, then A←0. B
~0. From the position polynomial when C~0, on the other hand, syndrome S4 when a two symbol error occurs. S5 is established. Therefore, by substituting the above provisional error location and error pattern into the above equation (3) and testing whether they are equivalent to S4 and S5, the condition of 84185 can be incorporated into the detection condition for two symbol errors.

ここでαはパリティ生成で用いた生成多項式〇(X)−
0とした時の1根である。
Here α is the generator polynomial used in parity generation〇(X)−
It is one root when set to 0.

同様に1シンボルのエラーが発生した場合、すなわち上
記(2)式の演算においてA−B−C−0の条件を満足
するときエラーロケーション11エラーパターンSoに
対してシンドローム84.S5d、が成立する。
Similarly, when a one-symbol error occurs, that is, when the condition ABC-0 is satisfied in the calculation of equation (2) above, syndrome 84. S5d is established.

このときエラーパターンftEi = So r ”j
 ”’Oとして上記(3)式に代入すると上記(4)式
を得る0すなわち、上記(3)式は2シンボル以下のエ
ラーロケーションとエラーパターンを検定する一般式と
みなすことができる。
At this time, the error pattern ftEi = So r ”j
If ``'O'' is substituted into the above equation (3), the above equation (4) is obtained.In other words, the above equation (3) can be regarded as a general equation for testing error locations and error patterns of two symbols or less.

よって、2シンボル以下のエラー検出演算は上記(3)
式の演nt実行すればよいため、従来の上記(11式の
演算に比べ乗算および加算の演算を少なくすることがで
きる。
Therefore, the error detection calculation for 2 symbols or less is as described in (3) above.
Since it is only necessary to perform nt operations on the expression, the number of multiplication and addition operations can be reduced compared to the conventional operation of the above-mentioned expression (11).

以上、6シンボルのパリティを用いて2シンボル以下の
エラーを検出する方法について述べたが、8シンボルの
パリティを用いて3シンボル以下のエラーを検出する場
合にも本復号方法は有効である。この場合、6種のシン
ドロームSO* Sl pS2.S3.S4.S5より
エラーロケーション1゜j、kj15よびエラーパター
ンE1  v ”j r ”kを求め が成立するかを検定すればよい。
Although the method for detecting an error of 2 symbols or less using 6-symbol parity has been described above, this decoding method is also effective when detecting an error of 3 symbols or less using 8-symbol parity. In this case, six syndromes SO* Sl pS2. S3. S4. From S5, the error location 1°j, kj15 and the error pattern E1 v ``j r ''k can be found and it is checked whether the results are established.

〔実施例〕〔Example〕

以下、本発明の1実施例をW2B図により説明する。同
図において、2はシンドローム演算回路、3は4種のシ
ンドロームより2シンボルエラーおよび1シンボルエラ
ーを検出して、エラーロケーションとエラーパターンを
求める回路である。また、19,20,21,22.2
3は本発明により付加した演算回路である。
Hereinafter, one embodiment of the present invention will be explained using a W2B diagram. In the figure, 2 is a syndrome calculation circuit, and 3 is a circuit that detects 2-symbol errors and 1-symbol errors from four types of syndromes to obtain error locations and error patterns. Also, 19, 20, 21, 22.2
3 is an arithmetic circuit added according to the present invention.

再生データ入力端子1からのディジタル信号をシンドロ
ーム演算回路2により処理し、6MのシンドロームSO
+ Sl + S3 t S4 + S5を得る0工ラ
ー検定回路4は6種のシンドロームのうち4種のシンド
ロームSOr Sl e S2 # S3に対して零、
非零の検定を行ない、すべて零であればエラーなしとし
て端子18にエラーなしの7ラグを出力する。
The digital signal from the playback data input terminal 1 is processed by the syndrome calculation circuit 2, and the syndrome SO of 6M is processed.
+ Sl + S3 t S4 + S5 The zero-factor test circuit 4 is zero for four out of six syndromes SOr Sl e S2 # S3,
A non-zero test is performed, and if all are zero, it is assumed that there is no error and 7 lags with no error are output to the terminal 18.

非零の場合、エラーありと判定し上記(2)式に示す演
算を行なう。このとき演算結果A、B、Cがすべて零で
あれば1シンボルエラーと判定、端子17に1シンボル
エラーのフラグを出力する。そしてこれによりスイッチ
Kl * K2 、に3が切り替わり、端子13には端
子7のデータ、すなわち1シンボルエラーのエラーバタ
ーySOをlflカシ、また端子14には端子9のデー
タ、すなわち1シンボル工ラーロケーシヨン演算回路5
により求めた1シンボルエラーのエラーロケーションを
出力する。端子15には端子11のデータ零を出力し、
後述する乗算回路の演算結果が零となる様にしている。
If it is non-zero, it is determined that there is an error and the calculation shown in equation (2) above is performed. At this time, if the calculation results A, B, and C are all zero, it is determined that there is a one-symbol error, and a one-symbol error flag is output to the terminal 17. As a result, the switch Kl*K2 switches to 3, and the terminal 13 receives the data of the terminal 7, that is, the error butter ySO of 1 symbol error, and the terminal 14 receives the data of the terminal 9, that is, the 1 symbol factory location. Yon calculation circuit 5
Outputs the error location of the one-symbol error determined by Output the data zero of terminal 11 to terminal 15,
The calculation result of the multiplication circuit, which will be described later, is made to be zero.

一万、演算結果A、B、Cのいずれかが非零の場合、エ
ラー検定回路4は2シンボルエラーと判定、2シンボル
エラーロケーシヨンおよびエラーパターン演算回路6で
演算した2シンボルエラーのエラーパターンg、 、 
gjを端子8および12を介して出力端子13と15に
出力する。ざらにエラー胃ケーションiは端子10を介
して出力潮干14に、エラーロケーションjは直!I!
!端子16に出力する。
If any of the calculation results A, B, or C is non-zero, the error verification circuit 4 determines that it is a 2-symbol error, and the 2-symbol error location and error pattern calculation circuit 6 calculates the 2-symbol error error pattern. g, ,
gj is outputted to output terminals 13 and 15 via terminals 8 and 12. The error location i is output through the terminal 10 to the output 14, and the error location j is directly output! I!
! Output to terminal 16.

19.20は乗算および加算を行なう回路で端子13,
14,15.16からの出力データi。
19.20 is a circuit that performs multiplication and addition, and terminals 13,
14, 15. Output data i from 16.

i F’l + J + ”Jに対してそれぞれ(α ・E
i+α”−Ej)、(αS1・Ei+α5j−Ej)の
演算を行なう。これらの演算は前もって演算結果f:R
OM(リードオンリーメモリ)に記憶しておきテーブル
ルックアップで検索すればよい。
i F'l + J + "J, respectively (α ・E
i+α”-Ej) and (αS1・Ei+α5j-Ej).These operations are performed using the calculation result f:R in advance.
It can be stored in OM (read only memory) and searched by table lookup.

また1シンゴル工ラー時、端子13の出力にはエラーパ
ターンSoが、端子15には零が出力される。すなわち
Ei−8o 、 Ej−0として演算回路19.20に
データが人力されるため演算出力は4i     si α ・S(1+α ・Soとなり、前記(4)式の右辺
の演算結果を得る。
Further, when one single error occurs, the error pattern So is output to the terminal 13 and zero is output to the terminal 15. That is, since the data is manually entered into the arithmetic circuit 19.20 as Ei-8o and Ej-0, the arithmetic output becomes 4i si α ·S(1+α ·So), and the result of the arithmetic operation on the right side of equation (4) is obtained.

21.22.23は演算回路19.20の演算結果とシ
ンドロームS4.S5の一致を検定し、結果1&:端子
26に出、力する。
21.22.23 shows the calculation results of the calculation circuit 19.20 and the syndrome S4. The coincidence of S5 is verified and the result is output to the terminal 26.

訂正の実行では、まず端子18の出力によりエラーの有
無1に′I4べ、もしエラー有と判断した場合、さらに
端子26の出力により訂正可、不可の判断を行なう。訂
正可、すなわち2シンボル以下のエラーと判断した場合
、端子17の出力状態に応じて端子24,25,27.
28に出力しているエラーロケーションとエラーパター
ンを選択シ、エラーロケーションが示すデータに対して
エラーパターンを加算する。
In executing the correction, first, the output from the terminal 18 is used to determine whether or not there is an error. If it is determined that there is an error, the output from the terminal 26 is used to determine whether correction is possible or not. If it is determined that the error is correctable, that is, the error is 2 symbols or less, the terminals 24, 25, 27 .
Select the error location and error pattern output to 28, and add the error pattern to the data indicated by the error location.

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

本発明によれば、2シンボル以下のエラーの検出演算に
おける加算と乗算を少なくしているので復号器の回路規
模増大を抑えることが出来る。
According to the present invention, since the number of additions and multiplications in the calculation for detecting errors of two symbols or less is reduced, it is possible to suppress an increase in the circuit size of the decoder.

また演算にかかる時間を短縮することが出来るため、高
速に復号を行うことが可能となる。
Furthermore, since the time required for calculation can be shortened, decoding can be performed at high speed.

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

第1図は本発明による復号手順を示す流れ図、第2図は
従来方式の復号手順を示す流れ図、第3図は本発明の一
実施例をボす回路図、である。 符号の説明 ゛ 2・・・・・・シンドローム演算回路、4・・・・・・
エラー検定回路、訃・・・・・1シンボル工ラーロケー
シヨン演算回路、6・・・・・・2シンボルエラーロケ
ーシヨンおよびエラーパターン演算回路、19.20・
・・・・・乗算および加算回路、21,22.23・・
・・・・一致回代理人 弁理士 並 木 昭 夫 1t1  図 12 図
FIG. 1 is a flow chart showing a decoding procedure according to the present invention, FIG. 2 is a flow chart showing a conventional decoding procedure, and FIG. 3 is a circuit diagram showing an embodiment of the present invention. Explanation of symbols ゛2...Syndrome calculation circuit, 4...
Error verification circuit, 1 symbol engineer location calculation circuit, 6... 2 symbol error location and error pattern calculation circuit, 19.20.
...Multiplication and addition circuit, 21, 22.23...
...Coincidence agent Patent attorney Akio Namiki 1t1 Figure 12 Figure

Claims (1)

【特許請求の範囲】 1、m種のパリテイシンボルを用いてnシンボル以下(
但し、nは(m/2−1)以下の自然数)の符号誤りを
訂正する誤り訂正符号の復号方法において、 復号時に得られるm種のシンドロームのうち2n種のシ
ンドロームを選択し、これをもとにnシンボル誤りのエ
ラーロケーションとエラーパターンを求める第1の段階
と、前記m種のシンドロームのうち、前記2n種のシン
ドロームを除いた残りのシンドロームが前記エラーロケ
ーションとエラーパターンに対して所定の関係にあるか
を検定する第2の段階と、を含むことを特徴とする誤り
訂正符号の復号方法。
[Claims] 1. Using m types of parity symbols, n symbols or less (
However, in the decoding method of an error correction code that corrects code errors (n is a natural number equal to or less than (m/2-1)), 2n types of syndromes are selected from among the m types of syndromes obtained during decoding, and these are also a first step of determining the error location and error pattern of n symbol errors; A method for decoding an error correction code, comprising: a second step of testing whether there is a relationship.
JP8734288A 1988-04-11 1988-04-11 Decoding method for error correction code Pending JPH01260930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8734288A JPH01260930A (en) 1988-04-11 1988-04-11 Decoding method for error correction code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8734288A JPH01260930A (en) 1988-04-11 1988-04-11 Decoding method for error correction code

Publications (1)

Publication Number Publication Date
JPH01260930A true JPH01260930A (en) 1989-10-18

Family

ID=13912196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8734288A Pending JPH01260930A (en) 1988-04-11 1988-04-11 Decoding method for error correction code

Country Status (1)

Country Link
JP (1) JPH01260930A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145112A (en) * 1997-05-01 2000-11-07 Mitsubishi Denki Kabushiki Kaisha Error correcting method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145112A (en) * 1997-05-01 2000-11-07 Mitsubishi Denki Kabushiki Kaisha Error correcting method and apparatus

Similar Documents

Publication Publication Date Title
US4477903A (en) Error correction method for the transfer of blocks of data bits, a device for preforming such a method, a decoder for use with such a method, and a device comprising such a decoder
EP0217292B1 (en) A code error correcting method
JPH084233B2 (en) Error correction code decoding device
JPS6095640A (en) Method and device for correcting error
JPH0444447B2 (en)
JPH04222029A (en) Method for correcting error
JPS632370B2 (en)
JPH0612791A (en) Device for reproducing cd-rom
JPH048979B2 (en)
JPH01260930A (en) Decoding method for error correction code
JP3853615B2 (en) Address information detecting apparatus and address information detecting method
JP2578740B2 (en) Error correction method
JP2796291B2 (en) Error correction method
JPH06244741A (en) Error correcting method
JP2647646B2 (en) Error correction method
JP3583905B2 (en) Error correction device
JPS63298777A (en) Correction system for error detection
JP2957190B2 (en) Error correction device
JPS63255876A (en) Method for detecting code error
JPS62173820A (en) Error correcting method
JPH07114373B2 (en) Error correction execution method in lead solomon coding / decoding
JPH06112845A (en) Error signal correction device
JPH09331263A (en) Method and device for correcting error
JPH07230388A (en) Method and device for error correction
JPH05189257A (en) Error control system for disk array