JPS5815352A - Decoding system with three-error correction code - Google Patents

Decoding system with three-error correction code

Info

Publication number
JPS5815352A
JPS5815352A JP56113617A JP11361781A JPS5815352A JP S5815352 A JPS5815352 A JP S5815352A JP 56113617 A JP56113617 A JP 56113617A JP 11361781 A JP11361781 A JP 11361781A JP S5815352 A JPS5815352 A JP S5815352A
Authority
JP
Japan
Prior art keywords
circuit
bit string
bit
syndrome
error
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.)
Granted
Application number
JP56113617A
Other languages
Japanese (ja)
Other versions
JPS6135731B2 (en
Inventor
Keiichiro Koga
敬一郎 古賀
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP56113617A priority Critical patent/JPS5815352A/en
Priority to GB8204214A priority patent/GB2093238B/en
Priority to US06/349,319 priority patent/US4468769A/en
Publication of JPS5815352A publication Critical patent/JPS5815352A/en
Publication of JPS6135731B2 publication Critical patent/JPS6135731B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes

Landscapes

  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To simplify the constitution of a device and to decode a coded word in a short time, by obtaining the 1st, 2nd and 3rd syndrome through the use of a shift register from the coded word of 3-error correction BCH and correcting the error with the primitive element of the Galois field of the element. CONSTITUTION:The 1st, 2nd and 3rd syndromes A1, A2 and A3 are outputted from the 1st, 2nd and 3rd syndrome producing circuits 102, 104 and 106 by using a data buffer 101 consisting of shift registers for an input data (a). Further, a correction condition discriminating circuit 108 discriminates if A1<3>+A2 is zero and a bit number (t) taking S1=A1+alpha<n-t> as zero is applied to a selection circuit 117. The 1st and 2nd error detection circuits 115 and 116 discriminate if A1<3>+A2not equal to 0, bit trains S1, S2 and S3 are taken as equation 1, an input bit corresponding to values t1, t2, t3, up to three, of a bit number (t) giving EL(t) is inverted, the others are outputted as they are, and three errors are corrected at an error correction circuit 118.

Description

【発明の詳細な説明】 本発明はディジタルデータの伝送や蓄積時に生じるビッ
ト誤りを自動的に検出し訂正する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a system for automatically detecting and correcting bit errors that occur during transmission and storage of digital data.

データ伝送や蓄積時に生じる誤りを自動的に訂正する方
法として誤り訂正符号化技術が用いられている。これに
使われる誤り訂正符号には各種あるが、その中でBCH
(ボーゼ・チョドーリ・ホッキンジェム)符号は符号長
や誤り訂正能力の選択の自由度が大きく、また付加され
た検査ビット数のわりに誤り訂正能力が優わた符号とし
て知られている。本発明はBCH符号の内、一符号語に
3つ以下のビット誤りがある場合にその誤りを訂正でき
る符号、すなわち3誤り訂正BCH符号を用いて符号化
さねた信号中に生じたビット誤りを訂正する装置すなわ
ち復号装置に関する。
Error correction coding technology is used as a method for automatically correcting errors that occur during data transmission and storage. There are various error correction codes used for this, but among them, BCH
The (Bose-Chowdhury-Hockinggem) code has a high degree of freedom in selecting the code length and error correction ability, and is known as a code that has superior error correction ability relative to the number of added check bits. The present invention is a BCH code that can correct errors when one code word has three or less bit errors, that is, a 3-error correcting BCH code. The present invention relates to a decoding device, that is, a decoding device.

ここで3誤り訂正BCH符号について簡単に説明してお
く。
Here, the 3-error correction BCH code will be briefly explained.

3誤り訂正BCH符号においては符号語Cはk個の情報
ビット(αl、α2.・・・・・・、αk)とこれらの
情報ビットから計算されたq個の検査ビット(αに+1
In the 3-error correcting BCH code, the code word C consists of k information bits (αl, α2..., αk) and q check bits (α plus 1) calculated from these information bits.
.

(Zk+2.・・・、α&+q)より構成される。つま
り符号語Cは C=(α1.α2.・・・・・・、αに、αi+1、・
・・・・・、αに+9)となる。
(Zk+2. . . , α&+q). In other words, the code word C is C=(α1.α2..., α, αi+1, .
..., α becomes +9).

但しk、はmを4以上の整数として k=2−3m−1 q=8m となるよう決定される。以後符号長に十q=2−1をn
で表わす。すなわち符号語Cは C=(α1.α2.・・・・・・、α、、−11LLn
)となる。検査ビットは符号語が HC=0 を満足するよう決定される。ここでCはCの転置ベクト
ルである。Hはパリティ検査行列でGF(2”)の原始
元αを用いて と表わされる。Hの各要素α′(w=o、1.−、s−
1)はm要素の列ベクトルで表わされる。
However, k is determined so that k=2-3m-1 q=8m where m is an integer of 4 or more. From now on, the code length will be 1q=2-1 as n.
It is expressed as That is, the code word C is C=(α1.α2..., α,, -11LLn
). The check bits are determined so that the code word satisfies HC=0. Here, C is the transposed vector of C. H is a parity check matrix and is expressed as using the primitive element α of GF(2''). Each element α' of H (w=o, 1.-, s-
1) is represented by a column vector of m elements.

ここでCに誤りが生じてC′となったとする、C′=(
α′1、α′2、・・・・・・、α′n−1、α′n)
C′はCと誤りベクトルeにより次のように表わされる
Now suppose that an error occurs in C and it becomes C', C' = (
α'1, α'2, ..., α'n-1, α'n)
C' is expressed by C and error vector e as follows.

C′=C+e 但しeはC′の誤りビットの位置では1.他の位置でH
oである要素からなるベクトルである。
C'=C+e where e is 1 at the position of the error bit of C'. H in other positions
It is a vector consisting of elements o.

e=(el、e2・・・・・・、en−1、en)C′
が与えられた時に、もとのCを再現するのが復号であり
2本発明はそれを実現する新しい装置を与えるものであ
る。
e=(el, e2..., en-1, en)C'
When C is given, decoding is to reproduce the original C, and the present invention provides a new device for realizing this.

従来の3誤り訂正符号の復号は、通常、以下に述べる方
法で行なわわている。
Decoding of conventional 3-error correction codes is usually performed by the method described below.

まず次式で定義される第1.第2、および第3シンドロ
ームすなわちA1、A2、およびA3を計算する。
First, the first one defined by the following equation. Calculate the second and third syndromes, A1, A2, and A3.

シンドロームA1、A2、およびA3は例えばF、J。Syndromes A1, A2, and A3 are eg F, J.

MacWilliams、N、J、A、51oane著
”TheTheoryofError−Correct
ingCodes、PartI”(North−Hol
landPublishingCompany)pp、
270−272にあるようにして生成される。つまり第
1シンドロームA1はαの最小多項式に対応するフィー
ドバックシフトレジスタにC′のビットをα′1からα
′nまで入力し、αこが入力された時点でシフトレジス
タ中に完成する。第2シンドロームA2はαの最小多項
式に対応するフィードバックシフトレジスタにC′を入
力し、最後のビットが入力された時点でシフトレジスタ
中にできあがったビット列を排他的論理和回路を用いて
変換して得られる。第8シンドロームA3も、同様に、
αの最小多項式に対応するフィードバックシフトレジス
タにC′を入力し。
“The Theory of Error-Correct” by MacWilliams, N. J. A., 51oane.
ingCodes, Part I” (North-Hol
land Publishing Company) pp,
270-272. In other words, the first syndrome A1 changes the bits of C' from α'1 to α to the feedback shift register corresponding to the minimum polynomial of α.
'n is input, and when α is input, it is completed in the shift register. In the second syndrome A2, C' is input to the feedback shift register corresponding to the minimum polynomial of α, and when the last bit is input, the bit string created in the shift register is converted using an exclusive OR circuit. can get. Similarly, the eighth syndrome A3 is
Input C' into the feedback shift register corresponding to the minimum polynomial of α.

最後のビットが入力された時点でシフトレジスタ中にで
きあがったビット列を排他的論理和回路を用いて変換し
て得られる。次にこのAI、A2およびA3を用いて誤
り位置多項式σ(Z)を求める。
It is obtained by converting the bit string created in the shift register when the last bit is input using an exclusive OR circuit. Next, the error locator polynomial σ(Z) is determined using this AI, A2, and A3.

このσ(Z)にαt(t=1、2・・・・・・、n)を
代入し、σ(Z)=0となるtの値が誤りの位置を示す
としてその位置のビットを反転して誤り訂正を行う。
Assign αt (t=1, 2..., n) to this σ(Z), assume that the value of t that makes σ(Z) = 0 indicates the error position, and invert the bit at that position. to correct errors.

以上が従来の復号装置で行なわれている復号動作である
。しかしながらこの方法ではσ(Z)の各糸数を求める
のに比較的複雑な装置が必要であるし。
The above is the decoding operation performed by the conventional decoding device. However, this method requires a relatively complicated device to determine each thread count of σ(Z).

時間がかかる。it takes time.

従って本発明は比較的簡単な装置を用いて短時間に復号
することの出来る3誤り訂正符号復号方式を提供するこ
とを目的とする。
Therefore, an object of the present invention is to provide a 3-error correction code decoding system that can be decoded in a short time using a relatively simple device.

次に本発明の復号装置の行う復号動作を説明する。Next, the decoding operation performed by the decoding device of the present invention will be explained.

本発明の復号装置においても第1、第2および第3シン
ドロームAl、A2.A3をまず計算することは従来の
方法と同じである。次に第1シンドロームAIと第2シ
ンドロームA2を用いてAt′+A2を計算する。A1
はROMテーブル等を用いた3乗器にAlを入力して計
算できる。AtとA2との加算は排他的論理和回路を用
いて容菖に実現できる。さらにαn−t、α3(n−1
)およびα5(n−1)をt=1からnまで順次発生す
る。αn−1はビット列1で、α3(n−1)はビット
列2でα5(n−1)はビット列3で表わす。
Also in the decoding device of the present invention, the first, second and third syndromes Al, A2. Calculating A3 first is the same as the conventional method. Next, At'+A2 is calculated using the first syndrome AI and the second syndrome A2. A1
can be calculated by inputting Al to a cuber using a ROM table or the like. Addition of At and A2 can be easily realized using an exclusive OR circuit. Furthermore, αn-t, α3(n-1
) and α5(n-1) are generated sequentially from t=1 to n. αn-1 is represented by bit string 1, α3(n-1) is represented by bit string 2, and α5(n-1) is represented by bit string 3.

αn−1の発生は例えば宮用他著符号理論(昭電堂)p
.119にあるようにαの最小多項式に対応するフィー
ドバックシフトレジスタにαn=1なる初期値を設定し
てt回シフトすればαn−1が得られる。
The generation of αn-1 is, for example, Miyayo et al. Coding Theory (Shodendo) p.
.. As shown in 119, by setting the initial value αn=1 in the feedback shift register corresponding to the minimum polynomial of α and shifting it t times, αn-1 can be obtained.

α3(n−1)はαn−1を例えばROMテーブルを用
いた3乗器に入力して得られる。α5(n−t)も同様
にαn−1を5乗器に入力して得らhる。又は宮用他著
符号理論(昭晃堂)p、120にあるような1回のシフ
トでα−3あるいはα−5を乗するシフトレジスタ回路
にα3n=α5n=1なる初期値を設定してt回シフト
すれば得られる。各tの値に対して第1シンドロームA
z、第2シンドロームA2.第3シンドロームA3、α
n−1、α3(n−1)およびα5(n−t)を用いて
次式で定義されるSt、S2およびs3を計算する。
α3(n-1) is obtained by inputting αn-1 into a cuber using a ROM table, for example. α5(nt) is similarly obtained by inputting αn-1 to the fifth power. Alternatively, set the initial value α3n=α5n=1 in a shift register circuit that multiplies α-3 or α-5 with one shift, as described in Miyayo et al.'s Coding Theory (Shokodo), p. 120. It can be obtained by shifting t times. The first syndrome A for each value of t
z, second syndrome A2. Third syndrome A3, α
St, S2 and s3 defined by the following equations are calculated using n-1, α3(n-1) and α5(nt).

S1=A1+αn−1 S2=A2+α3(n−t) S3=A3+α5(n−t) S1はビット列4で、Szuビット列5で、S3はビッ
ト列6で表わされる。A1とαn−1の加算、A2とα
3(n−1)の加算、A3とα5(n−1)の加算は排
他的論理和回路により容易に実現される。次に次式で定
義されるEL(t)を計算する。
S1=A1+αn-1 S2=A2+α3(nt) S3=A3+α5(nt) S1 is represented by bit string 4, Szu bit string 5, and S3 is represented by bit string 6. Addition of A1 and αn-1, A2 and α
The addition of 3(n-1) and the addition of A3 and α5(n-1) are easily realized by an exclusive OR circuit. Next, EL(t) defined by the following equation is calculated.

EL(t)=SI十S2+SIS2+SI5aEL(t
)はROMテーブルで構成された6乗回路でSIからS
tを計算し、ROMテーブルで構成された2乗回路で8
2から82を計算し、ROMテーブルで構成された3乗
および積回路でSlとS3からs13S2を計算し、同
じ<ROMテーブルで構成された積回路でS1とS3か
らS1S3を計算し、S61とS22とS13とS1S
3を排他的論理和回路を用いて加算すれば得られる。前
記AI+A2が0であるならば。
EL(t)=SI×S2+SIS2+SI5aEL(t
) is a 6th power circuit made up of a ROM table, from SI to S.
Calculate t and use a square circuit made up of a ROM table to calculate 8
2 to 82, calculate s13S2 from Sl and S3 with a cube and product circuit configured with a ROM table, calculate S1S3 from S1 and S3 with a product circuit configured with the same <ROM table, and calculate S61 and S22, S13 and S1S
3 using an exclusive OR circuit. If said AI+A2 is 0.

各t値に対してSlの値を調べS1=0となるtにおい
てC′中のt番目のビットα′が誤りであるとしてα;
を反転して誤りの訂正を行ない、A13+A2が0でな
いならば、各tの値に対して前記EL(t)の値を調べ
EL(t)=0となるtにおいてC′中のt番目のビッ
トα:が誤りであるとしてa;を反転して誤りの訂正を
行なうのが本発明の復号装置が行なう復号動作である。
Check the value of Sl for each t value and assume that at t when S1=0, the t-th bit α' in C' is an error, α;
If A13+A2 is not 0, the value of EL(t) is checked for each value of t, and at t when EL(t)=0, the t-th value in C' is calculated. The decoding operation performed by the decoding apparatus of the present invention is to correct the error by inverting bit a;, assuming that bit α: is an error.

との復号動作では比較的簡単な動作が符号語の各ビット
に対して繰り返されるが、従来の復号方法における誤り
位置多項式を求めるような複雑な動作がないので装置が
簡単になる。
In the decoding operation, a relatively simple operation is repeated for each bit of the code word, but since there is no complicated operation such as determining the error locator polynomial in the conventional decoding method, the device becomes simpler.

本動作により誤りのビット数が3以下の時必ず正しい誤
り訂正が行々われることを以下に示す。
It will be shown below that by this operation, correct error correction is always performed when the number of error bits is 3 or less.

まず誤りが1ビットもないとしよう。この時はAI=A
2=A3=0 従って。
First, let's assume that there is not a single bit error. At this time AI=A
2=A3=0 Therefore.

Al+A2=0 従って81の値に従って誤り訂正が行なわれる。ところ
で St=At+αn−1=αn−1 はどんなtの値に対しても0にならない。従ってC′中
のどんなビットに対しても反転はなされない。
Al+A2=0 Therefore, error correction is performed according to the value of 81. By the way, St=At+αn-1=αn-1 does not become 0 for any value of t. Therefore, no inversion is performed on any bits in C'.

次にi番目のビットα、だけが誤りであるとしよう。こ
の時 AI=αn−1 A2=α3(n−1) 従って Al十A2=0 従ってS1の値に従って誤り訂正が行なわれる。
Next, suppose that only the i-th bit α is erroneous. At this time, AI=αn-1 A2=α3(n-1) Therefore, Al+A2=0 Therefore, error correction is performed according to the value of S1.

この時 S1=A1+αn−1=αn−1+αn−1S1はt=
iの時だけ0となりrt\iでは0とならない。従って
正しい誤り訂正が行なわれる。
At this time, S1=A1+αn-1=αn-1+αn-1S1 is t=
It becomes 0 only when i, and does not become 0 when rt\i. Correct error correction is therefore performed.

次にi番目とj番目のビットつまりα′iとα′jが誤
りであるとしよう。この時 Al=αn−1+αn−1 A2=α3(n−1)+α3(n−j)A13+A2=
α(n−1)+αn−1(αn−1+αn−1)i\i
であるからAI+A2\0 従ってEL(t)の値に従って誤り訂正が行なわわる。
Next, suppose that the i-th and j-th bits, ie, α'i and α'j, are errors. At this time, Al=αn-1+αn-1 A2=α3(n-1)+α3(n-j)A13+A2=
α(n-1)+αn-1(αn-1+αn-1)i\i
Therefore, AI+A2\0 Therefore, error correction is performed according to the value of EL(t).

この時。At this time.

EL(t)はtがi又はjと一致した時だけ0となり。EL(t) becomes 0 only when t matches i or j.

tが他の値をとった時は0とならない。従って正しい誤
り訂正が行なわわる。
When t takes other values, it does not become 0. Correct error correction is therefore performed.

次にt番目とj番目と1番目のビット、すなわちα;と
α;とイが誤りであるとしよう。この時従ってEL、(
tlの値に従って誤り訂正が行々われる。
Next, suppose that the t-th, j-th, and 1-th bits, that is, α;, α;, and i, are errors. At this time, therefore EL, (
Error correction is performed according to the value of tl.

この時 EL(t)はtがi又はj又はlと一致した時だけ0と
なり、tが他の値をとった時は0とならない。
At this time, EL(t) becomes 0 only when t matches i, j, or l, and does not become 0 when t takes other values.

従って正しい誤り訂正が行なわハる。以上よりわかるよ
う(C誤9ビツトの数が3以下であわば必ず正しい復号
が行なわれる。
Therefore, correct error correction can be performed. As can be seen from the above (if the number of C error 9 bits is 3 or less, correct decoding is always performed.

次に本発明による復号装置を実施例の図面を参照しなが
ら説明する。これまで述べたように本発明の復号装置で
は、その復号手順においてガロア体の元を取り扱う。G
F(2′)の任意の元はαを原始元としてlt、α、α
2.α、αの線形結合であらわすことができることはよ
〈知られている。
Next, a decoding device according to the present invention will be explained with reference to drawings of embodiments. As described above, the decoding device of the present invention handles elements of a Galois field in its decoding procedure. G
Any element of F(2') is lt, α, α with α as a primitive element.
2. It is well known that it can be expressed as a linear combination of α and α.

本実施例においてはガロア体の元は上記線形結合の系数
列であるmビットでめられすものとする。
In this embodiment, it is assumed that the elements of the Galois field are found using m bits, which is a series of the linear combinations.

もちろん全復号手順でガロア体の元のビット列によるあ
らわし方を統一する必要はなく、むしろ部分的に異なっ
たあらわし方を用いることで装置が若干簡単になること
もあり得るが、ここでは説明の簡単のため上記のあらわ
し方に統一するものとする。
Of course, it is not necessary to unify the representation of the original bit string of the Galois field in the entire decoding procedure; rather, the device may be slightly simpler by using partially different representations, but here we will provide a simple explanation. Therefore, the above expression will be unified.

図1は本発明による実施例の構成を示すブロック図であ
る。図1において入力データαはデータバッファ101
と、第1シンドローム生成回路102、第2シンドロー
ム生成回路104.及び第3シンドロームの生成回路1
06に加えられる。データバッファ101は、1符号語
長nビットに、シンドローム生成回路で生成されたシン
ドロームをシンドロームバッファに移すのに必要々時間
信号を保持するための1ビツトを加えた、合計n+1ビ
ットのシフトレジスタより構成される。第1シンドロー
ム生成回路102は、GF(2m)の原始元αの最小多
項式に対応する常設のフィードバックシフトレジスタか
らなる。第2シンドローム生成回路104はα3の最小
多項式に対応する常設のフィードバツクシフトレジスタ
と排他的論理和回路より構成されるビット列変換回路か
らなる。第8シンドローム生成回路106はα5の最小
多項式に対応するフィードバックシフトレジスタと排他
的論理和回路より構成されるビット列変換回路からなる
。符号語の最後のビットがデータバッファ101に入力
し終った時、第1.第2.および第3シンドロームは各
シンドローム生成回路により生成されている。
FIG. 1 is a block diagram showing the configuration of an embodiment according to the present invention. In FIG. 1, input data α is the data buffer 101
, a first syndrome generation circuit 102, a second syndrome generation circuit 104. and third syndrome generation circuit 1
Added to 06. The data buffer 101 is constructed of a shift register with a total of n+1 bits, which is n bits long for one code word and 1 bit for holding a signal for the time necessary to transfer the syndrome generated by the syndrome generation circuit to the syndrome buffer. configured. The first syndrome generation circuit 102 consists of a permanent feedback shift register corresponding to the minimum polynomial of the primitive element α of GF(2m). The second syndrome generation circuit 104 consists of a bit string conversion circuit composed of a permanent feedback shift register corresponding to the minimum polynomial of α3 and an exclusive OR circuit. The eighth syndrome generation circuit 106 consists of a bit string conversion circuit composed of a feedback shift register corresponding to the minimum polynomial of α5 and an exclusive OR circuit. When the last bit of the code word has been input into the data buffer 101, the first . Second. and the third syndrome are generated by each syndrome generation circuit.

生成された第1.第2.および第3シンドロームは次の
、符号語がシンドローム生成回路に入力されると破壊さ
れるので、その前に各々第1、第2、および第8シンド
ロームバツフアに移される。第1シンドローム(Al)
と第2シンドローム(A2)は訂正条件判別回路108
に入力され、訂正条件判別回路108はA、3+A2が
0か否がの判別を行って。
The generated 1st. Second. and the third syndrome are destroyed when the next codeword is input to the syndrome generation circuit, and are therefore transferred to the first, second, and eighth syndrome buffers, respectively, before that. First syndrome (Al)
and the second syndrome (A2) are corrected by the correction condition determination circuit 108.
The correction condition determining circuit 108 determines whether A, 3+A2 is 0 or not.

AI+A2が0の時は0を、そうでない時は1を出力し
て選択回路117に与える。訂正条件判別回路はROM
、テーブルで構成された8乗回路と排他的論理和で構成
された加算回路と加算結果が全ビット0かどうかを判別
する論理和回路よりなる。データバッファ101に格納
された符号語は先頭のビットから1ビットづつ出力さね
、誤り訂正回路118に入力される。第t番目(t=1
,2.・・・n)のビットがデータバッファ101より
出力され誤り訂正回路118に入力さする時、αのベキ
発生回路110はαをあらわすmビットのビット列であ
るビット列1を発生し、α3のベキ発生回路112はα
3(n−1)をあらわすmビットのビット列であるビッ
ト列2を発生し、又α5のベキ発生回路114はα5(
n−1)をあらわすビット列3を発生する。αのベキ発
生回路110はαの最小多項式に対応するフィードバッ
クシフトレジスタからなる。α3のベキ発生回路112
はα3最小多項式に対応するフィードバックシフトレジ
スタからなる。α5のベキ発生回路114はα2の最小
多項式に対応するフィードバックシフトレジスタからな
る。ビット列1と第1シンドロームは排他的論理和回路
109によシ対応するビット毎に排他的論理和をとられ
ることで加算され。
When AI+A2 is 0, 0 is output; otherwise, 1 is output and given to the selection circuit 117. Correction condition determination circuit is ROM
, an 8th power circuit made up of a table, an addition circuit made up of an exclusive OR, and an OR circuit that determines whether the addition result is all bits 0 or not. The code word stored in the data buffer 101 is output bit by bit starting from the first bit, and is input to the error correction circuit 118. tth (t=1
,2. ... n) bits are output from the data buffer 101 and input to the error correction circuit 118, the power generation circuit 110 of α generates bit string 1, which is a bit string of m bits representing α, and generates the power of α3. The circuit 112 is α
The power generating circuit 114 of α5 generates bit string 2, which is an m-bit bit string representing 3(n-1).
A bit string 3 representing n-1) is generated. The power generation circuit 110 of α consists of a feedback shift register corresponding to the minimum polynomial of α. α3 power generation circuit 112
consists of a feedback shift register corresponding to the α3 minimum polynomial. The power generation circuit 114 of α5 is composed of a feedback shift register corresponding to the minimum polynomial of α2. Bit string 1 and the first syndrome are added by exclusive ORing for each corresponding bit by exclusive OR circuit 109.

S1=At+αn−1をあらわすビット列4が生成され
る。
Bit string 4 representing S1=At+αn-1 is generated.

同様にビット列2と第2シンドロームは排他的論理和回
路111を用いて加算されS2=A2+α3(+a、−
1)′をあらわすビット列5が生成される。さらにビッ
ト列3と第3シンドロームは排他的論理和回路118を
用いて加算されて、S3=A3+α5(n−1)をあら
わすビット列6が生成される。ビット列4は第1誤り検
出回路115と第2誤り検出回路116に供給さ名、ビ
ット列5とビット列6は第2誤り検出回路に供給される
。第1誤り検出回路115はS1が0の時はlを、そう
でない時は0を出力して選択回路117に与えるもので
あり、論理和回路と否定回路で構成される。第2誤り検
出回路116はSlをあらわすビット列4.S2をあら
わすビット列5.およびSsをあらわすビット列6を入
力してS1+S2十513S2+StSsが0の時はl
を、そうでない時は0を出力して選択回路117に与え
るものである。
Similarly, bit string 2 and the second syndrome are added using the exclusive OR circuit 111, and S2=A2+α3(+a, -
1) A bit string 5 representing ' is generated. Furthermore, bit string 3 and the third syndrome are added using exclusive OR circuit 118 to generate bit string 6 representing S3=A3+α5(n-1). Bit string 4 is supplied to the first error detection circuit 115 and second error detection circuit 116, and bit string 5 and bit string 6 are supplied to the second error detection circuit. The first error detection circuit 115 outputs l when S1 is 0, and otherwise outputs 0 and provides it to the selection circuit 117, and is composed of an OR circuit and a NOT circuit. The second error detection circuit 116 generates a bit string 4. Bit string representing S25. and input the bit string 6 representing Ss, and if S1+S2+513S2+StSs is 0, then l
otherwise, 0 is output and given to the selection circuit 117.

図2は第2誤り検出回路116の構成例を示す。FIG. 2 shows an example of the configuration of the second error detection circuit 116.

図2においてビット列4は6東回路201.8乗及び積
回路203、及び積回路204に供給さり、又ビット列
5は2東回路202と8乗及び積回路208に供給され
、さらにビット列6は積回路204に供給される。6東
回路201はS、Fをあらわすビット列7を生成する。
In FIG. 2, bit string 4 is supplied to 6 East circuit 201.8 power and product circuit 203, and product circuit 204, bit string 5 is supplied to 2 East circuit 202, 8 power and product circuit 208, and bit string 6 is is supplied to circuit 204. 6 East circuit 201 generates a bit string 7 representing S and F.

2東回路202はS2をあらわすビット列8を生成する
。8乗及び積回路203は513S2をあらわすビット
列9を生成する。積回路204は5IS3をあらわすビ
ット列10を生成する。6乗回路201.2乗回路20
2.8乗及び積回路203.及び積回路204は全てR
OMテーブルで構成される。
2 East circuit 202 generates bit string 8 representing S2. The 8th power and product circuit 203 generates a bit string 9 representing 513S2. Product circuit 204 generates a bit string 10 representing 5IS3. 6th power circuit 201. 2nd power circuit 20
2.8 power and product circuit 203. and the product circuit 204 are all R
Consists of OM tables.

排他的論理和回路205はビット列7とビット列8の対
応するビット毎に排他的論理和をとることで加算を行い
s、6+S22をあらわすビット列11を作成する。排
他的論理和回路206はビット列9とビット列10の対
応するビット毎に排他的論理和をとることで加算を行い
513S2+StSsをあらわすビット列12を作成す
る。排他的論理和回路207はビット列11とビット列
12の対応するビット毎に排他的論理和をとることで加
算を行いS′l+S2+513Sz+5tS3をあらわ
すビット列13を作成する。論理和回路208はビット
列18の全ビットの論理和をとることでSl中S2+5
IS2+S!S3が0の場合は0を出力し、他の場合は
1を出力する。否定回路209は論理和回路208の出
力の極性を反転し、St+S2+StSz”5tS3が
0の場合1、他の場合は0を出力する。図1にもどって
選択回路117は論理積回路、論理和回路及び否定回路
より構成され、訂正条件判別回路108がAH3+A2
=Oであると判定して0を出力している場合には第1訝
り検出回路115の出力をその出力とじ、訂正条件判別
回路108がAH3+A2\0であると判定して14出
力している場合には第2誤り検出回路116の出力をそ
の出力とする。誤り訂正回路118は排他的論理和回路
であり、データッファ101の出力である第を番目のビ
ットα:と選択回路117の出方との排他的論理和をと
る。従って訂正条件判別回路108の出力が0でかつ第
1誤り検出回路115の出力が1である場合、又は訂正
条件判別回路108の出力が1でかつ第2誤り検出回路
116の出力が1である場合に誤り訂正回路118の出
力はデータバッファ101の出力である第を番目のビッ
トα;を反転したものとなし、そうでない場合は誤り訂
正回路118の出力はデータバッファ101の出力α;
そのままである。誤り訂正回路118の出力Uは出力デ
ータとなる。
The exclusive OR circuit 205 performs addition by performing exclusive OR for each corresponding bit of the bit string 7 and the bit string 8, and creates a bit string 11 representing s, 6+S22. The exclusive OR circuit 206 performs addition by performing exclusive OR for each corresponding bit of bit string 9 and bit string 10, and creates bit string 12 representing 513S2+StSs. The exclusive OR circuit 207 performs addition by performing exclusive OR for each corresponding bit of the bit string 11 and the bit string 12 to create a bit string 13 representing S'l+S2+513Sz+5tS3. The OR circuit 208 performs the OR of all bits of the bit string 18 to obtain S2+5 in Sl.
IS2+S! If S3 is 0, it outputs 0, otherwise it outputs 1. The NOT circuit 209 inverts the polarity of the output of the OR circuit 208, and outputs 1 when St+S2+StSz"5tS3 is 0, and 0 in other cases. Returning to FIG. 1, the selection circuit 117 includes an AND circuit and an OR circuit. and a NOT circuit, and the correction condition determination circuit 108 is AH3+A2.
If it determines that =O and outputs 0, the output of the first error detection circuit 115 is omitted, and the correction condition determination circuit 108 determines that AH3+A2\0 and outputs 14. If so, the output of the second error detection circuit 116 is used as the output. The error correction circuit 118 is an exclusive OR circuit, and performs an exclusive OR of the output of the data buffer 101, the second bit α:, and the output of the selection circuit 117. Therefore, if the output of the correction condition determination circuit 108 is 0 and the output of the first error detection circuit 115 is 1, or the output of the correction condition determination circuit 108 is 1 and the output of the second error detection circuit 116 is 1. In this case, the output of the error correction circuit 118 is the inverted version of the output of the data buffer 101, the second bit α; otherwise, the output of the error correction circuit 118 is the output α of the data buffer 101.
It remains as it is. The output U of the error correction circuit 118 becomes output data.

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

図1は本発明による復号装置の実施例の構成図であり1
図2は図1の中の第2誤り検出回路116の構成例であ
る。図において101はデータバッファ。 102は第1シンドローム生成回路、108は第1シン
ドロームバッファ、104は第2シンドローム生成回路
、105は第2シンドロームバッファ、106は第3シ
ンドローム生成回路、107は第3シンドロームバッフ
ァ、108は訂正条件判別回路、109は排他的論理和
回路、110はαのベキ発生回路。 111は排他的論理和回路、112はαのベキ発生回路
、113は排他的論理和回路、114はα5のベキ発生
回路、115は第1誤り検出回路、116は第2誤り検
出回路、117は選択回路、118は誤り訂正回路、2
01は6乗回路、202は2乗回路、203は8乗及び
積回路、204は積回路、205は排他的論理和回路、
206は排他的論理和回路、207は排他的論理和回路
、208は論理和回路、209は否定回路。 aは入力データ、、bはfXlシンドローム、Cは第2
シンドローム、dは第8シンドローム、εはビット列1
./はビット列LQはビット列8.hはビット列′eF
はビット列5.rはビット列6、νはビット列7、zは
ビット列8.νはビット列9.8αはビット列10.c
cはビット列12.ddはビット列18.fは復号出力
である。 特許出願人 国際電信電話株式会社 特許出願代理人 弁理士山本恵−
FIG. 1 is a block diagram of an embodiment of a decoding device according to the present invention.
FIG. 2 shows an example of the configuration of the second error detection circuit 116 in FIG. In the figure, 101 is a data buffer. 102 is a first syndrome generation circuit, 108 is a first syndrome buffer, 104 is a second syndrome generation circuit, 105 is a second syndrome buffer, 106 is a third syndrome generation circuit, 107 is a third syndrome buffer, and 108 is a correction condition determination circuit. 109 is an exclusive OR circuit, and 110 is an α power generation circuit. 111 is an exclusive OR circuit, 112 is a power generation circuit for α, 113 is an exclusive OR circuit, 114 is a power generation circuit for α5, 115 is a first error detection circuit, 116 is a second error detection circuit, and 117 is a power generation circuit for α5. selection circuit; 118 is an error correction circuit; 2
01 is a 6th power circuit, 202 is a 2nd power circuit, 203 is an 8th power and product circuit, 204 is a product circuit, 205 is an exclusive OR circuit,
206 is an exclusive OR circuit, 207 is an exclusive OR circuit, 208 is an OR circuit, and 209 is a NOT circuit. a is the input data, b is the fXl syndrome, C is the second
syndrome, d is the 8th syndrome, ε is bit string 1
.. / means bit string LQ is bit string 8. h is the bit string 'eF
is the bit string 5. r is bit string 6, ν is bit string 7, z is bit string 8. ν is a bit string 9.8 α is a bit string 10. c.
c is a bit string 12. dd is the bit string 18. f is the decoded output. Patent applicant International Telegraph and Telephone Co., Ltd. Patent application agent Megumi Yamamoto

Claims (1)

【特許請求の範囲】 3誤り訂正BCH符号の符号語Cに誤りベクトルeが加
算されて出来た入力系列C′=(α活、α2.α1゜・
・・α−)、(外は符号長n=2、rnは自然数)を復
号装置に入力して誤まり訂正を行なう復号方式において
、前記入力系列C′から第1シンドロームAI、K2シ
ンドロームA2.及び第3シンドロームA3; をシフトレジスタを用いて求め2次いでAI+A2=0
であわば (αは2′個の要素よりなるガロア体GF(2”)の原
始元、tは誤りかどうかを判定されるビットを指定する
番号でnを越えない自然数)をOとするtの値があれば
それに対応する入力ビットαtを誤りとして反転して他
の入力ビットはそのまま出力し、又 として EL(t)=St+Sz+StS2+5IS3=0を与
える3個までのtの値(tx、′2+′3)に対応する
入力ビット(α′11.α′t2.αt3)を反転し、
他の入力ビットはそのまま出力することにより、3個ま
での誤りを訂正することを特徴とする3誤り訂正符号復
号方式。
[Claims] Input sequence C′=(α active, α2.α1°·
. and the third syndrome A3; are obtained using a shift register, and then AI+A2=0
In other words, (α is a primitive element of the Galois field GF (2'') consisting of 2' elements, t is a natural number that specifies the bit to be determined as an error and does not exceed n) is t. If there is a value of , the corresponding input bit αt is treated as an error and inverted, the other input bits are output as they are, and up to three values of t (tx, '2+ '3) Invert the input bit (α'11.α't2.αt3) corresponding to
A three-error correction code decoding system characterized by correcting up to three errors by outputting other input bits as they are.
JP56113617A 1981-02-18 1981-07-22 Decoding system with three-error correction code Granted JPS5815352A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP56113617A JPS5815352A (en) 1981-07-22 1981-07-22 Decoding system with three-error correction code
GB8204214A GB2093238B (en) 1981-02-18 1982-02-12 Error correcting system for simultaneous errors in a code
US06/349,319 US4468769A (en) 1981-02-18 1982-02-16 Error correcting system for correcting two or three simultaneous errors in a code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56113617A JPS5815352A (en) 1981-07-22 1981-07-22 Decoding system with three-error correction code

Publications (2)

Publication Number Publication Date
JPS5815352A true JPS5815352A (en) 1983-01-28
JPS6135731B2 JPS6135731B2 (en) 1986-08-14

Family

ID=14616746

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56113617A Granted JPS5815352A (en) 1981-02-18 1981-07-22 Decoding system with three-error correction code

Country Status (1)

Country Link
JP (1) JPS5815352A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62137924A (en) * 1985-12-12 1987-06-20 Nec Home Electronics Ltd Error position decision circuit of reed solomon coding and decoding system
JPH0239728A (en) * 1988-07-29 1990-02-08 Canon Inc Error correcting device
JPH03179923A (en) * 1989-12-08 1991-08-05 Matsushita Electric Ind Co Ltd Method and device for decoding bch code

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0593739U (en) * 1992-05-28 1993-12-21 エヌオーケー株式会社 Work supply device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62137924A (en) * 1985-12-12 1987-06-20 Nec Home Electronics Ltd Error position decision circuit of reed solomon coding and decoding system
JPH036700B2 (en) * 1985-12-12 1991-01-30 Nippon Denki Hoomu Erekutoronikusu Kk
JPH0239728A (en) * 1988-07-29 1990-02-08 Canon Inc Error correcting device
JPH03179923A (en) * 1989-12-08 1991-08-05 Matsushita Electric Ind Co Ltd Method and device for decoding bch code

Also Published As

Publication number Publication date
JPS6135731B2 (en) 1986-08-14

Similar Documents

Publication Publication Date Title
EP0114938B1 (en) On-the-fly multibyte error correction
JPS6327734B2 (en)
JPH07312560A (en) Error correction coder, error correction decoder, data transmission system with error correction code and decoding method for error correction code
JPH0452556B2 (en)
US5748652A (en) Apparatus for detecting and correcting cyclic redundancy check errors
JPH0728227B2 (en) Decoding device for BCH code
JP2001524274A (en) Method and apparatus for shortened fire code error trapping decoding
CA1213673A (en) Burst error correction using cyclic block codes
US3588819A (en) Double-character erasure correcting system
JPS5815352A (en) Decoding system with three-error correction code
JPH05183447A (en) Improved error detection coding system
JP3248098B2 (en) Syndrome calculation device
JPH0241032A (en) Error correction device
Umanesan et al. Parallel decoding cyclic burst error correcting codes
JPH0345020A (en) Cyclic code processing circuit
JPH0361210B2 (en)
JPS6150416B2 (en)
JPS61154331A (en) Data converter
JP2534563B2 (en) Tolerable error successive correction circuit
KR100192792B1 (en) Polynomial evaluator of rs decoder
JPH01160118A (en) Bch decoder
JPH04297164A (en) Error correction system
KR890007345Y1 (en) System for generation of digital signals in reedsolomon code
RU1810909C (en) Error corrector
JPH0373902B2 (en)