JP2532258B2 - Error detection method - Google Patents

Error detection method

Info

Publication number
JP2532258B2
JP2532258B2 JP62271015A JP27101587A JP2532258B2 JP 2532258 B2 JP2532258 B2 JP 2532258B2 JP 62271015 A JP62271015 A JP 62271015A JP 27101587 A JP27101587 A JP 27101587A JP 2532258 B2 JP2532258 B2 JP 2532258B2
Authority
JP
Japan
Prior art keywords
error
rom
stored
data
polynomial
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
JP62271015A
Other languages
Japanese (ja)
Other versions
JPH01114124A (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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP62271015A priority Critical patent/JP2532258B2/en
Publication of JPH01114124A publication Critical patent/JPH01114124A/en
Application granted granted Critical
Publication of JP2532258B2 publication Critical patent/JP2532258B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はリードソロモン符号の復号時に誤り位置を検
出する方式に関する。
The present invention relates to a method for detecting an error position when decoding a Reed-Solomon code.

〔発明の概要〕[Outline of Invention]

第1の本発明においては誤り位置を演算するためのデ
ータがROMに予め記憶されており、そのデータのMSBが連
続誤り検出のために用いられる。また第2の本発明にお
いては、誤り位置を演算するための係数の約半分だけが
ROMに記憶される。
In the first aspect of the present invention, the data for calculating the error position is stored in the ROM in advance, and the MSB of the data is used for continuous error detection. In the second aspect of the present invention, only about half of the coefficients for calculating the error position are
Stored in ROM.

〔背景技術〕[Background technology]

第3図は符号語の構成を模式的に表わしている。例え
ばA、B、C、Dの4つのワードに対し、4つの検査ワ
ードP、Q、R、Sが付加されている。リードソロモン
符号の場合、検査ワードP、Q、R、Sは次の連立方程
式の解として定義される。
FIG. 3 schematically shows the structure of the code word. For example, four check words P, Q, R, and S are added to the four words A, B, C, and D. For Reed-Solomon codes, the test words P, Q, R, S are defined as the solution of the following simultaneous equations.

第2図は係るデータの誤りを訂正する従来の訂正回路
のブロック図である。記録媒体等より再生されたデータ
は生成回路1に入力される。生成回路1は入力されたデ
ータから4つのシンドロームS0、S1、S2、S3を生成す
る。演算回路2は2n個の元が存在するガロア体GF(2n
において所定の多項式を法とする演算を行い、誤りの位
置α、αとその大きさei、ejを演算する。ROM3には
この演算を行うのに必要なデータが予め記憶してある。
訂正回路4は演算回路2の演算結果に対応してデータの
誤りを訂正する。
FIG. 2 is a block diagram of a conventional correction circuit for correcting such a data error. Data reproduced from a recording medium or the like is input to the generation circuit 1. The generation circuit 1 generates four syndromes S 0 , S 1 , S 2 and S 3 from the input data. Arithmetic circuit 2 Galois field the 2 n original exists GF (2 n)
In, a calculation is performed modulo a predetermined polynomial to calculate error positions α i and α j and their magnitudes e i and e j . The ROM 3 stores in advance the data necessary for performing this calculation.
The correction circuit 4 corrects a data error according to the calculation result of the calculation circuit 2.

例えば2つのワードの誤りの位置α、αは次のよ
うにして求められる。
For example, the error positions α i and α j of the two words are obtained as follows.

先ず次のような誤り位置多項式が定義される。 First, the following error locator polynomial is defined.

(X+α)(X+α) =X2+(α+α)X+αα =X2+σ1X+σ ……(2) (2)式の係数σ、σはシンドロームS0乃至S3
ら次のように求められる。
(X + α i ) (X + α j ) = X 2 + (α i + α j ) X + α i α j = X 2 + σ 1 X + σ 0 (2) Coefficients σ 1 and σ 0 in the equation (2) are syndromes S 0 to S 0 to. It is calculated from S 3 as follows.

σ=αα=(S2 2+S1S3)/(S1 2+S0S2) ……
(3) σ=α+α=(S0S3+S1S2)/(S1 2+S0S2) …
…(4) (3)、(4)式の連立方程式を解くことにより
α、αを演算することも可能であるが、解が2つあ
るので面倒である。そこで(2)式にσ0 -1を乗算し、 X=σ 1/2Y ……(5) として変数の変換を行い次式を得る。
σ 0 = α i α j = (S 2 2 + S 1 S 3 ) / (S 1 2 + S 0 S 2 ) ...
(3) σ 1 = α i + α j = (S 0 S 3 + S 1 S 2 ) / (S 1 2 + S 0 S 2 ) ...
(4) It is possible to calculate α i and α j by solving the simultaneous equations of the formulas (3) and (4), but it is troublesome because there are two solutions. Therefore, the equation (2) is multiplied by σ 0 −1 and the variables are converted by X = σ 0 1/2 Y (5) to obtain the following equation.

σ0 -1X2+σσ0 -1X+1 =Y2+σσ −1/2Y+1 =Y2+(α+α)(αα−1/2Y+1 =Y2+{(αi-j1/2+(αi-j−1/2}Y+1 ={Y+(αi-j1/2}{Y+(αi-j−1/2} =(Y+Y0)(Y+Y1) ……(6) (6)式より Y0=(αi-j1/2 ……(7) Y1=Y0 -1 ……(8) となる。そこで各係数σ、σに対して次式を満足す
るY0(又はその指数)(又はY1(又はその指数))のデ
ータをROM3に予め記憶させておく。
σ 0 -1 X 2 + σ 1 σ 0 -1 X + 1 = Y 2 + σ 1 σ 0 −1/2 Y + 1 = Y 2 + (α i + α j ) (α i α j ) −1/2 Y + 1 = Y 2 + {(Α ij ) 1/2 + (α ij ) −1/2 } Y + 1 = {Y + (α ij ) 1/2 } {Y + (α ij ) −1/2 } = (Y + Y 0 ) (Y + Y 1 ) (6) From the formula (6), Y 0 = (α ij ) 1/2 (7) Y 1 = Y 0 -1 (8) Therefore, the data of Y 0 (or its index) (or Y 1 (or its index)) satisfying the following equation for each coefficient σ 0 , σ 1 is stored in the ROM 3 in advance.

Y0 2+σσ −1/2Y0+1=0 ……(9) このとき変数は1つ(Y0のみ)であるからROM3に記憶
させるテーブル(係数σ、σと定数Y0の関係)は比
較的簡単に求めることができる。
Y 0 2 + σ 1 σ 0 −1/2 Y 0 + 1 = 0 (9) At this time, since there is only one variable (Y 0 only), a table (coefficients σ 0 and σ 1 and constant Y to be stored in ROM 3 is stored. The relationship of 0 ) can be obtained relatively easily.

そして(3)、(4)式より求められた係数σ(σ
−1/2)、σを引数として対応するY0のデータをROM3
より読み出す。(5)式より次式が得られる。
Then, the coefficient σ 0 (σ calculated from equations (3) and (4)
−1/2 ), σ 1 as an argument and corresponding Y 0 data in ROM3
Read more. The following equation is obtained from the equation (5).

α=σ 1/2Y0 ……(10) 従ってROM3により読みだされたデータにσ 1/2を乗
算することにより第1の誤り位置αを得ることができ
る。
α i = σ 0 1/2 Y 0 (10) Therefore, the first error position α i can be obtained by multiplying the data read by the ROM 3 by σ 0 1/2 .

第1の誤り位置αが求められれば、第2の誤り位置
αは(4)式と等価な次式より得ることができる。
If the first error position α i is obtained, the second error position α j can be obtained by the following equation equivalent to the equation (4).

α=σ+α ……(11) 〔発明が解決しようとする問題点〕 従来はこのようにROM3に記憶されたデータから先ず位
置αを求め、次に位置αを求めるようにしていた。
従って2つのデータが連続して誤っている(i=j+
1)か否かを検出するには、さらにコンパレータ等によ
りY0が所定の値になっていることを検出する必要があ
り、構成が複雑になる欠点がある。
α j = σ 1 + α i (11) [Problems to be solved by the invention] Conventionally, the position α i is first obtained from the data thus stored in the ROM 3, and then the position α j is obtained. Was there.
Therefore, two data are consecutively wrong (i = j +
In order to detect whether or not 1), it is necessary to further detect that Y 0 is a predetermined value by a comparator or the like, which has a drawback that the configuration becomes complicated.

また例えば1ワードのデータが8ビットで構成されて
いる場合、ROM3も8ビットの語長を必要とし、256個の
データの容量がなければならない。従ってROM3の容量が
大きくなるばかりでなく、演算回路2の規模も大きくな
る欠点があった。
For example, when one word of data is composed of 8 bits, the ROM 3 also needs a word length of 8 bits, and must have a capacity of 256 pieces of data. Therefore, there is a drawback that not only the capacity of the ROM 3 increases but also the scale of the arithmetic circuit 2 increases.

そこで本発明は連続する2つの誤りを簡単に検出でき
るようにするとともに、回路規模を小さくできるように
するものである。
Therefore, the present invention makes it possible to easily detect two consecutive errors and reduce the circuit scale.

〔問題点を解決するための手段−1〕 本発明の誤り検出方法は、2n個の元が存在するガロア
体GF(2n)において所定の多項式を法とする演算を行
い、2ワードの連続する誤りを検出する誤り検出方式に
おいて、1ワードがnビットのデータ列より4ワードの
シンドロームを生成し、該シンドロームより (X+α)(X+α)=X2+δ1X+δ 但し、δ=αα=(S2 2+S1S3)/(S1 2+S0S2) δ=α+α=(S0S3+S1S2)/(S1 2+S0S2) で表される誤り位置多項式の2つの係数δとδを演
算し、該誤り位置多項式の変数を変換した δ0 -1X2+δδ0 -1X+1=(Y+Y0)(Y+Y1) で表される変換多項式の定数Y0、Y1のうち小さい方だけ
をn−1ビットのデータとして予めROMに記憶させると
ともに、2つのワードに連続して誤りが発生した場合、
該定数Y0、Y1の大きい方をMSB=1又は0としたデータ
として該ROMに予め記憶させ、該係数δ、δを引数
として該ROMより記憶データを読みだして誤り位置を演
算すると同時に、該ROMから読みだされた該データのMSB
より連続エラーを検出することを特徴とする。
Error detection method of the present invention Measure -1 for solving the problems], in the 2 n Galois field source it is present GF (2 n) performs an operation modulo a predetermined polynomial, two words In an error detection method for detecting continuous errors, a syndrome of 4 words is generated from a data string of 1 bit of n bits, and (X + α i ) (X + α j ) = X 2 + δ 1 X + δ 0 where δ 0 = Α i α j = (S 2 2 + S 1 S 3 ) / (S 1 2 + S 0 S 2 ) δ 1 = α i + α j = (S 0 S 3 + S 1 S 2 ) / (S 1 2 + S 0) The two coefficients δ 0 and δ 1 of the error locator polynomial represented by S 2 ) are calculated, and the variables of the error locator polynomial are converted δ 0 −1 X 2 + δ 1 δ 0 −1 X + 1 = (Y + Y 0 ). (Y + Y 1) constant Y 0 transformation polynomial represented by only a smaller one of Y 1 when the pre-stored in the ROM as a n-1 bits of data together If an error occurs continuously in two words,
The larger one of the constants Y 0 and Y 1 is stored in advance in the ROM as data with MSB = 1 or 0, and the stored data is read from the ROM using the coefficients δ 0 and δ 1 as an argument to calculate the error position. At the same time, the MSB of the data read from the ROM
It is characterized by detecting more consecutive errors.

〔作用−1〕 1ワードがnビット(例えば8ビット)のデータ列よ
り4ワードのシンドロームが生成され、シンドロームよ
り誤り位置多項式の係数σ、σが演算される。この
係数σ、σを引数としてROMより定数Y0(又はY1
が読みだされる。ROMには定数Y0、Y1のうち小さい方の1
27種のデータが実質的に7ビットで記憶されている(こ
れらのMSBはいずれも0(又は1)である)。2つのワ
ードに連続して誤りが発生した場合における定数Y0、Y1
としては大きい方が8ビットのデータ(そのMSBは1
(又は0))としてROMに記憶されている。ROMより読み
だされたデータのMSBは、誤りが連続していない場合は
0であり、連続しているとき1となるので、これにより
誤りが連続しているか否かが判る。
[Operation-1] A 4-word syndrome is generated from a data string in which 1 word is n bits (for example, 8 bits), and the coefficients calculate σ 0 and σ 1 of the error locator polynomial. Constants Y 0 (or Y 1 ) from ROM using these coefficients σ 0 and σ 1 as arguments
Is read out. The smaller one of constants Y 0 and Y 1 is stored in ROM
27 kinds of data are substantially stored in 7 bits (all of these MSBs are 0 (or 1)). Constants Y 0 and Y 1 when two words have consecutive errors
The larger one is 8-bit data (the MSB is 1
(Or 0)) is stored in the ROM. The MSB of the data read from the ROM is 0 when the errors are not continuous and is 1 when the errors are continuous, so that it can be determined from this whether or not the errors are continuous.

従ってコンパレータ等、特別の回路を設けずに、連続
誤りの検出が可能となる。
Therefore, continuous errors can be detected without providing a special circuit such as a comparator.

〔問題点を解決するための手段−2〕 本発明の誤り検出方式は、2n個の元が存在するガロア
体GF(2n)において所定の多項式を法とする演算を行
い、誤りを検出する誤り検出方式において、1ワードが
nビットのデータ列より4ワードのシンドロームを生成
し、該シンドロームより (X+α)(X+α)=X2+δ1X+δ 但し、δ=αα=(S2 2+S1S3)/(S1 2+S0S2) δ=α+α=(S0S3+S1S2)/(S1 2+S0S2) で表される誤り位置多項式の2つの係数δとδを演
算し、該誤り位置多項式の変数を変換した δ0 -1X2+δδ0 -1X+1=(Y+Y0)(Y+Y1) で表される変換多項式の定数Y0、Y1のうち小さい方だけ
をROMに予め記憶しておき、該係数δ、δを引数と
して該ROMに記憶されている該定数を読みだし、該定数
に該係数を乗算して誤り位置を示す該誤り位置多項式の
解α、αのうちの該ROMの記憶に対応する方を得、
得られた該解と該係数より他方の該解を演算することを
特徴とする。
Error detection method of the present invention Measure -2 for solving the problem] is the Galois field the 2 n original exists GF (2 n) performs an operation modulo a predetermined polynomial, detects an error In the error detection method, a syndrome of 4 words is generated from a data string in which 1 word is n bits, and from the syndrome, (X + α i ) (X + α j ) = X 2 + δ 1 X + δ 0 where δ 0 = α i α j = (S 2 2 + S 1 S 3 ) / (S 1 2 + S 0 S 2 ) δ 1 = α i + α j = (S 0 S 3 + S 1 S 2 ) / (S 1 2 + S 0 S 2 ) The two coefficients δ 0 and δ 1 of the error locator polynomial are calculated, and the variables of the error locator polynomial are converted to δ 0 −1 X 2 + δ 1 δ 0 −1 X + 1 = (Y + Y 0 ) (Y + Y 1 ). only smaller of the constants Y 0, Y 1 transformation polynomial represented stored in advance in the ROM, the engagement number [delta] 0, is stored in the ROM of the [delta] 1 as an argument Read out the constant number, to obtain a better corresponding to the mis-Ri solution alpha i position polynomial, alpha memories of the ROM of the j indicating error position by multiplying the coefficient of the number of the constant,
It is characterized in that the other solution is calculated from the obtained solution and the coefficient.

〔作用−2〕 1ワードがnビット(例えば8ビット)のデータ列よ
り4ワードのシンドロームが生成され、シンドロームよ
り誤り位置多項式の係数σ、σが演算される。この
係数σ、σを引数としてROMより定数Y0(又はY1
が読みだされる。ROMには定数Y0、Y1のうち小さい方の1
27種のデータが実質的に7ビットで記憶されている。RO
Mから読み出されたデータに係数σの1/2乗の値が乗算
され、誤り位置多項式の解α、αのうち一方が演算
される。ROMの記憶データがY0のときα、Y1のときα
が得られる。他方の解は係数σと一方の解とより演
算される。
[Operation-2] A 4-word syndrome is generated from a data string in which 1 word is n bits (for example, 8 bits), and the coefficients σ 0 and σ 1 of the error locator polynomial are calculated from the syndrome. Constants Y 0 (or Y 1 ) from ROM using these coefficients σ 0 and σ 1 as arguments
Is read out. The smaller one of constants Y 0 and Y 1 is stored in ROM
27 kinds of data are substantially stored in 7 bits. RO
The data read from M is multiplied by the 1/2 power of the coefficient σ 0 to calculate one of the solutions α i and α j of the error locator polynomial. Α i when the stored data in ROM is Y 0 , α when Y 1
j is obtained. The other solution is calculated from the coefficient σ 1 and one solution.

従ってROMの容量は小さくて済み、演算のための回路
も簡単に構成することができる。
Therefore, the capacity of the ROM is small, and the circuit for calculation can be easily configured.

〔実施例〕〔Example〕

第1図は本発明の誤り訂正回路のブロック図であり、
第2図における場合と対応する部分には同一の符号を付
してある。
FIG. 1 is a block diagram of an error correction circuit of the present invention,
The parts corresponding to those in FIG. 2 are designated by the same reference numerals.

本発明においては、連続する2つのデータが誤ってい
ない場合におけるデータとして、Y0とY1(又はその指
数)のうち小さい方がROM3に記憶されている。従って例
えばGF(28)である場合、Y0又はY1の解は指数で1乃至
127の127個となる。その結果そのMSBが実質的に不要
(0)となり、これらのデータは7ビットとすることが
可能である。従ってROM3の容量は小さくてよい。
In the present invention, the smaller one of Y 0 and Y 1 (or its exponent) is stored in the ROM 3 as data when two consecutive data are not erroneous. So, for example, in the case of GF (2 8 ), the solution of Y 0 or Y 1 is an index from 1 to
It becomes 127 of 127. As a result, the MSB is substantially unnecessary (0), and these data can be 7 bits. Therefore, the capacity of ROM3 may be small.

一方2つのワードに連続して誤りが発生すると、 i=j+1 ……(12) となる。このときY0は式(7)より、 Y0=(αi-j1/2=α1/2=(α2561/2=α128 ……
(13) となる。またY1は(8)式より、 Y1=Y0 -1=α-128=1/α128=α255128=α127 ……
(14) となる。
On the other hand, if an error occurs continuously in two words, i = j + 1 (12). At this time, Y 0 is calculated from the formula (7) as follows: Y 0 = (α ij ) 1/2 = α 1/2 = (α 256 ) 1/2 = α 128
(13) Further, Y 1 is calculated from the equation (8) as follows: Y 1 = Y 0 -1 = α -128 = 1 / α 128 = α 255 / α 128 = α 127
(14)

この場合は小さい方のα127(Y1)ではなく、大きい
方のα128(Y0)がROM3に記憶される。従ってこのデー
タだけがそのMSBが1となり、8ビットとなる。その結
果MSBをモニタすることにより、2つのワードに連続し
てエラーが発生したか否かが検出される。
In this case, the larger α 128 (Y 0 ) is stored in the ROM 3 instead of the smaller α 127 (Y 1 ). Therefore, only this data has an MSB of 1 and has 8 bits. As a result, by monitoring the MSB, it is detected whether or not an error has occurred in two words consecutively.

ROM3に記憶されているのがY0である場合、前述した場
合と同様に式(10)から第1の誤り位置αが演算さ
れ、式(11)から第2の誤り位置αが演算される。
When Y 0 is stored in the ROM 3, the first error position α i is calculated from the equation (10) and the second error position α j is calculated from the equation (11) as in the case described above. To be done.

一方ROM3に記憶されているのがY1である場合、式(1
0)と同様に次式が成立するから、 α=σ 1/2Y1 ……(13) この式より第2の誤り位置αが先ず演算される。そし
て第1の誤り位置は(4)式と等価な次式より求めるこ
とができる。
On the other hand, if Y 1 is stored in ROM3, the formula (1
As in the case of 0), the following equation is established, so α j = σ 0 1/2 Y 1 (13) From this equation, the second error position α j is first calculated. Then, the first error position can be obtained from the following equation equivalent to equation (4).

α=σ+α ……(14) すなわち従来の場合、必ず先ず第1の誤り位置α
求められ、それから第2の位置αが求められていた
が、本発明の場合、ROM3の出力にσ1/2を乗算して得ら
れたのがαなのかαなのかは不明となる。しかしな
がらαとαは演算上等価であり、いずれをα、α
とすることもできる。従っていずれが先に求められた
としても演算上支障は生じない。
α i = σ 1 + α j (14) That is, in the conventional case, the first error position α i was always found first, and then the second position α j was found, but in the case of the present invention, ROM3 It is unknown whether α i or α j was obtained by multiplying the output of σ by σ 1/2 . However, alpha i and alpha j is a computational equivalent, either alpha i, alpha
It can also be j . Therefore, no matter which one is obtained first, no operational problem occurs.

検査ワードを4ワードにした場合、2ワード(2重)
の誤り訂正が可能である。2ワードの誤りが連続してい
ない場合、3ワード以上の誤りが誤検出された可能性が
ある。これに対して2ワードの誤りが連続している場
合、誤検出の可能性もあるがこのような誤りは記録媒体
等の欠陥(ドロップアウト)から生じたものである確率
が高いことが経験的に明らかとなっている。そこで訂正
を複数回繰り返す場合、連続する誤りを先ず訂正するこ
とにより誤訂正を少なくすることができる。従って訂正
回路4はROM3の出力のMSBをモニタし、その結果に対応
した訂正を行う。
If the inspection word is 4 words, 2 words (double)
Error correction is possible. When the error of 2 words is not continuous, the error of 3 words or more may have been erroneously detected. On the other hand, if two word errors are consecutive, there is a possibility of erroneous detection, but it is empirically that such an error has a high probability of being caused by a defect (dropout) of a recording medium or the like. Has become clear. Therefore, when the correction is repeated a plurality of times, the erroneous correction can be reduced by first correcting the consecutive errors. Therefore, the correction circuit 4 monitors the MSB of the output of the ROM 3 and makes a correction corresponding to the result.

〔効果〕〔effect〕

以上の如く本発明によれば、連続の誤りに対応するデ
ータを非連続の誤りに対応するデータより1ビットだけ
実質的に大きくなるようにROMに記憶させるようにした
ので、簡単に連続する誤りを検出することができ、また
ROM、演算回路等の容量を小さくし、構成を簡単にする
ことができる。
As described above, according to the present invention, the data corresponding to the continuous error is stored in the ROM so as to be substantially larger than the data corresponding to the non-continuous error by one bit. Can also be detected
The capacity of ROM, arithmetic circuit, etc. can be reduced and the configuration can be simplified.

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

第1図は本発明の誤り訂正回路のブロック図、第2図は
従来の誤り訂正回路のブロック図、第3図は符号語の説
明図である。 1……生成回路 2……演算回路 3……ROM 4……訂正回路
FIG. 1 is a block diagram of an error correction circuit according to the present invention, FIG. 2 is a block diagram of a conventional error correction circuit, and FIG. 3 is an explanatory diagram of code words. 1 ... Generation circuit 2 ... Arithmetic circuit 3 ... ROM 4 ... Correction circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2n個の元が存在するガロア体GF(2n)にお
いて所定の多項式を法とする演算を行い、2ワードの連
続する誤りを検出する誤り検出方式において、 1ワードがnビットのデータ列より4ワードのシンドロ
ームを生成し、該シンドロームより (X+α)(X+α)=X2+δ1X+δ 但し、δ=αα=(S2 2+S1S3)/(S1 2+S0S2) δ=α+α=(S0S3+S1S2)/(S1 2+S0S2) で表される誤り位置多項式の2つの係数δとδを演
算し、該誤り位置多項式の変数を変換した δ0 -1X2+δδ0 -1X+1=(Y+Y0)(Y+Y1) で表される変換多項式の定数Y0、Y1のうち小さい方だけ
をn−1ビットのデータとして予めROMに記憶させると
ともに、2つのワードに連続して誤りが発生した場合、
該定数Y0、Y1の大きい方をMSB=1又は0としたデータ
として該ROMに予め記憶させ、該係数δ、δを引数
として該ROMより記憶データを読みだして誤り位置を演
算すると同時に、該ROMから読みだされた該データのMSB
より連続エラーを検出することを特徴とする誤り検出方
式。
1. A performs the Galois field 2 n number of elements are present GF (2 n) arithmetic modulo a predetermined polynomial, the error detection method for detecting a continuous error of two words, one word is n A 4-word syndrome is generated from the bit data string, and from the syndrome, (X + α i ) (X + α j ) = X 2 + δ 1 X + δ 0 where δ 0 = α i α j = (S 2 2 + S 1 S 3 ) / (S 1 2 + S 0 S 2 ) δ 1 = α i + α j = (S 0 S 3 + S 1 S 2 ) / (S 1 2 + S 0 S 2 ) 0 and calculates the [delta] 1, said error Ri was converted variable position polynomial δ 0 -1 X 2 + δ 1 δ 0 -1 X + 1 = (Y + Y 0) (Y + Y 1) constant Y 0 transformation polynomial represented by, If only the smaller one of Y 1 is stored in the ROM as n-1 bit data in advance and two consecutive words have errors,
The larger one of the constants Y 0 and Y 1 is stored in advance in the ROM as data with MSB = 1 or 0, and the stored data is read from the ROM using the coefficients δ 0 and δ 1 as an argument to calculate the error position. At the same time, the MSB of the data read from the ROM
An error detection method characterized by detecting more consecutive errors.
【請求項2】2n個の元が存在するガロア体GF(2n)にお
いて所定の多項式を法とする演算を行い、誤りを検出す
る誤り検出方式において、 1ワードがnビットのデータ列より4ワードのシンドロ
ームを生成し、該シンドロームより (X+α)(X+α)=X2+δ1X+δ 但し、δ=αα=(S2 2+S1S3)/(S1 2+S0S2) δ=α+α=(S0S3+S1S2)/(S1 2+S0S2) で表される誤り位置多項式の2つの係数δとδを演
算し、該誤り位置多項式の変数を変換した δ0 -1X2+δδ0 -1X+1=(Y+Y0)(Y+Y1) で表される変換多項式の定数Y0、Y1のうち小さい方だけ
をROMに予め記憶しておき、該係数δ、δを引数と
して該ROMに記憶されている該定数を読みだし、該定数
に該係数を乗算して誤り位置を示す該誤り位置多項式の
解α、αのうちの該ROMの記憶に対応する方を得、
得られた該解と該係数より他方の該解を演算することを
特徴とする誤り検出方式。
2. A Galois 2 n number of elements are present GF (2 n) performs an operation modulo a predetermined polynomial, the error detection method for detecting an error, from one word data string n bits A 4-word syndrome is generated, and from the syndrome, (X + α i ) (X + α j ) = X 2 + δ 1 X + δ 0 where δ 0 = α i α j = (S 2 2 + S 1 S 3 ) / (S 1 2 + S 0 S 2 ) δ 1 = α i + α j = (S 0 S 3 + S 1 S 2 ) / (S 1 2 + S 0 S 2 ) Two coefficients δ 0 and δ 1 of the error locator polynomial Smaller one of the constants Y 0 and Y 1 of the conversion polynomial represented by δ 0 −1 X 2 + δ 1 δ 0 −1 X + 1 = (Y + Y 0 ) (Y + Y 1 ) Write only stored in advance in the ROM, the engagement number [delta] 0, read the number of the constant stored in the ROM of the [delta] 1 as an argument, false by multiplying the coefficient of the number of the constant Solution alpha i of said error Ri position polynomial indicating a position, to give the person corresponding to the storage of the ROM of the alpha j,
An error detection method characterized in that the other solution is calculated from the obtained solution and the coefficient.
JP62271015A 1987-10-27 1987-10-27 Error detection method Expired - Fee Related JP2532258B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62271015A JP2532258B2 (en) 1987-10-27 1987-10-27 Error detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62271015A JP2532258B2 (en) 1987-10-27 1987-10-27 Error detection method

Publications (2)

Publication Number Publication Date
JPH01114124A JPH01114124A (en) 1989-05-02
JP2532258B2 true JP2532258B2 (en) 1996-09-11

Family

ID=17494221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62271015A Expired - Fee Related JP2532258B2 (en) 1987-10-27 1987-10-27 Error detection method

Country Status (1)

Country Link
JP (1) JP2532258B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102560971B1 (en) * 2018-01-19 2023-07-31 엘지전자 주식회사 Air conditioner and a method for controlling the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60169230A (en) * 1984-02-13 1985-09-02 Sony Corp Error correcting device of reed solomon or bch code
JPS60233938A (en) * 1984-05-07 1985-11-20 Matsushita Electric Ind Co Ltd Error correction coder
JPS6130819A (en) * 1984-07-24 1986-02-13 Nippon Columbia Co Ltd Error correction device
JPS6449431A (en) * 1987-08-20 1989-02-23 Oki Electric Ind Co Ltd Circuit for solving error position polynomial

Also Published As

Publication number Publication date
JPH01114124A (en) 1989-05-02

Similar Documents

Publication Publication Date Title
KR930005427B1 (en) Real time bch error correction code decoding mechanism
EP0167627A1 (en) Method and apparatus for decoding error correction code
JP2007274239A (en) Error correction apparatus
US7278086B2 (en) Identifying uncorrectable codewords in a Reed-Solomon decoder for errors and erasures
JPS632370B2 (en)
JP2532258B2 (en) Error detection method
US8006171B2 (en) Apparatus for random parity check and correction with BCH code
KR101238108B1 (en) A method of reed-solomon encoding and decoding
KR100330642B1 (en) Error Correction Method and Error Correction Device
JPH048974B2 (en)
JP2578739B2 (en) Erase correction method
JP3252515B2 (en) Error correction device
JP2606647B2 (en) Error correction method
JPH02301328A (en) Error correcting device
JP2691973B2 (en) Decoding device for single error correction and multiple error detection BCH code
JP2578740B2 (en) Error correction method
JPS638984Y2 (en)
KR100246342B1 (en) Reed solomon error correction apparatus
KR930000220B1 (en) Error correcting system
JP2611204B2 (en) Error correction method
JP2553571B2 (en) Galois field arithmetic unit
JPH05259924A (en) Decoding method for error correction code
JPH0430618B2 (en)
CA1310125C (en) Real-time bch error correction code decoding mechanism
JP2500141B2 (en) Error correction method and apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees