JPH01289322A - Code error corrector - Google Patents

Code error corrector

Info

Publication number
JPH01289322A
JPH01289322A JP11830288A JP11830288A JPH01289322A JP H01289322 A JPH01289322 A JP H01289322A JP 11830288 A JP11830288 A JP 11830288A JP 11830288 A JP11830288 A JP 11830288A JP H01289322 A JPH01289322 A JP H01289322A
Authority
JP
Japan
Prior art keywords
syndrome
error
code
error pattern
conversion table
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
JP11830288A
Other languages
Japanese (ja)
Inventor
Tomoko Kodama
児玉 智子
Makoto Nakamura
誠 中村
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11830288A priority Critical patent/JPH01289322A/en
Publication of JPH01289322A publication Critical patent/JPH01289322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To decrease number of stored error patterns, to make the memory capacity small and to reduce the processing time by providing a means using a generation polynomial as to a syndrome obtained through the calculation of a reception code as a modulus, multiplying the result by (x) and obtaining a code series and storing only one of error patterns made equal to each other while being shifted sequentially. CONSTITUTION:A syndrome calculation circuit 2 uses a generation polynomial G(X) to calculate a syndrome S(X) from a received code R(X) and multiplies the obtained syndrome S(X) by a factor of (x) by taking the generation polynomial G(X) as a modulus. A specific error pattern is stored by a conversion table 6 and a shift circuit 8 and an error pattern corresponding to a syndrome or a series being a multiple of (x) of it is detected. A means replacing the detected error pattern cyclicly and a means 9 executing error correction are provided. As to each error pattern made equal while being shifted sequentially in this way, only one of them is stored. Thus, the capacity of conversion table is decreased considerably and the processing time is reduced.

Description

【発明の詳細な説明】 〔発明の目的〕 (IIi業上の利用分野) この発明は、符号化された信号を受信する際の符号誤り
を訂正する符号誤り訂正装置の改良に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Use) This invention relates to an improvement in a code error correction device that corrects code errors when receiving a coded signal.

(従来の技術) 従来から、各種通信伝送システムやAV機器。(Conventional technology) Traditionally, various communication transmission systems and AV equipment.

あるいはコンピュータの補助記憶装置など、デジタルデ
ータの伝送あるいはその伝送された情報を記憶する機器
においては、受けた符号情報の信頼性を得るためあるい
は信頼性を回復するため、符号誤り訂正装置が用いられ
る。
Alternatively, in devices that transmit digital data or store the transmitted information, such as computer auxiliary storage devices, code error correction devices are used to obtain or restore the reliability of the received coded information. .

一般に、符号誤り訂正装置では、予め送信側あるいは書
込み側で情報に冗長度を与えて符号語を生成し、これを
受けた受信側で正しい情報に復号するため、符号の誤り
を訂正する構成が採用される。そこで、符号誤り訂正装
置の構成は、大きく分けて■生成多項式〇 (X)を用
いて受信符号R(X)からシンドロームS (X)を算
出するシンドローム計算部、■シンドローム計算部から
の信号を受けて、誤りパターンを導出する導出部及び■
導出部で得た誤りパターンを訂正する訂正実行部からな
る。
In general, code error correction devices have a structure that corrects code errors because a code word is generated by giving redundancy to information in advance on the transmitting side or writing side, and the code word is decoded into correct information on the receiving side. Adopted. Therefore, the configuration of the code error correction device can be roughly divided into: (1) a syndrome calculation unit that calculates the syndrome S (X) from the received code R (X) using the generator polynomial 〇 (X); (2) a syndrome calculation unit that calculates the syndrome S (X) from the received code R (X) using and a derivation unit that derives an error pattern based on the received error pattern.
It consists of a correction execution unit that corrects the error pattern obtained by the derivation unit.

上記構成の中で、導出部の構成が最も複雑であり、しか
も最も多くデータ処理を要し、構成の簡易化並びに処理
時間の短縮化が要請されている。
Among the above configurations, the configuration of the deriving unit is the most complex and requires the most data processing, so there is a need to simplify the configuration and shorten the processing time.

一般に、シンドロームS (X)から誤りパターンを導
出する方法としては、算出したシンドロームS (X)
とこれに対応する誤りパターンを記憶した変換テーブル
を用いる方法がある。これは予めROM等に、訂正可能
な全ての誤りパタ゛−ンを構成しておき、得られたシン
ドロームS (X)から対応する誤りパターンを検索し
抽出するものである。
Generally, the method of deriving an error pattern from the syndrome S (X) is to use the calculated syndrome S (X)
There is a method using a conversion table that stores error patterns corresponding to the error patterns. In this method, all correctable error patterns are stored in a ROM or the like in advance, and a corresponding error pattern is searched and extracted from the obtained syndrome S (X).

いま、符号長をn、誤り訂正可能なシンボル数をt、ガ
ロア体G F (2”)の元をシンボルとしたとき、前
記変換テーブルに記憶すべき誤りパターン数は次式で示
される。
Now, when the code length is n, the number of error-correctable symbols is t, and the element of the Galois field G F (2'') is a symbol, the number of error patterns to be stored in the conversion table is expressed by the following equation.

Σnci・(2”−1)’        ■■讃1 (但し、tは訂正可能ビット数を表わし1mは正の整数
とする。) いま、例とシテ、受信語R(X)を2元(15,7)B
 CH(Boss Chaudori llocken
gan)符号とすると。
Σnci・(2”-1)' ■■san1 (However, t represents the number of bits that can be corrected, and 1m is a positive integer.) Now, as an example, the received word R(X) is expressed as a binary (15 ,7)B
CH (Boss Chaudori lockken)
gan) code.

この符号の生成多項式G (X)は次式で与えられる。The generator polynomial G(X) of this code is given by the following equation.

G(X)=X’+X’+X2+X’+ 1   ■そこ
で、上記受信符号の場合、誤り訂正可能ビット数t=2
であるが、前記0式によれば、変換テーブルに記憶する
誤りパターンの総数は第8図に示すように120個もの
多さになる。
G(X)=X'+X'+X2+X'+ 1 ■Therefore, in the case of the above received code, the number of error-correctable bits t=2
However, according to the above formula 0, the total number of error patterns stored in the conversion table is as large as 120 as shown in FIG.

このため、変換テーブルに要するメモリ容量は非常に大
となり、情報の符号長が長くなったり、誤り訂正能力を
拡大すると、そのメモリ容量は組合わせ関数的に更に増
大する欠点があった。
For this reason, the memory capacity required for the conversion table becomes extremely large, and when the code length of the information becomes longer or the error correction capability is expanded, the memory capacity increases further in terms of a combinatorial function.

(発明が解決しようとする課題) 従来の符号誤り訂正装置は、変換テーブルに訂正可能な
全ての誤りパターンを記憶する必要があったので、メモ
リ容量は増大し、訂正処理に要する時間も著しく増加す
る等の問題があった。
(Problems to be Solved by the Invention) Conventional code error correction devices had to store all correctable error patterns in a conversion table, which increased memory capacity and significantly increased the time required for correction processing. There were problems such as

そこで、この発明による符号誤り訂正装置は、記憶する
誤りパターンを少なくし、メモリ容量の小形化、処理時
間の縮小化を図ることを目的とする。
Therefore, an object of the code error correction device according to the present invention is to reduce the number of error patterns to be stored, thereby reducing the memory capacity and processing time.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) この発明による符号誤り訂正装置の第一は、生成多項式
G (X)を用いて受信符号R(X)からシンドローム
S (X)を算出する手段と、この手段により得られた
シンドロームS (X)を前記生成多項式G(X)を法
としてX倍する手段と、特定の誤りパターンを記憶し、
上記シンドロームまたはそれをX倍した系列に対応する
誤りパターンを検出する手段と、この手段により検出さ
れた誤りパターンを巡回直換する手段と、誤り訂正を実
行する手段とを具備することを特徴とする。
(Means for Solving the Problem) The first feature of the code error correction device according to the present invention is a means for calculating a syndrome S (X) from a received code R (X) using a generating polynomial G (X), and a means for calculating a syndrome S (X) from a received code R (X) using a generating polynomial G (X). means for multiplying the syndrome S (X) obtained by
It is characterized by comprising means for detecting an error pattern corresponding to the syndrome or a sequence obtained by multiplying the syndrome by X, means for cyclically converting the error pattern detected by the means, and means for performing error correction. do.

この発明の符号誤り訂正装置の第二は、前記誤りパター
ンを検出する手段において、シンドロームまたはそれを
X倍した系列と1シンボルを除いて等しいシンドローム
に対応する誤りパターンを検出することを特徴とする。
A second code error correction device of the present invention is characterized in that the error pattern detecting means detects an error pattern corresponding to a syndrome or a sequence obtained by multiplying the syndrome by X, except for one symbol. .

(作 用) この発明の装置は、受信符号R(X)から算出して得ら
れたシンドロームS (X)について、生成多項式〇 
(X)を法としてX倍して符号系列を得る手段を有する
ことによって、その符号系列は元の受信符号をシフトさ
せた系列から計算されるシンドロームS (X)に等し
くなることに着目し、順次シフト(巡回)して等しくな
る各誤りパターンについては、その1つのみを記憶して
おくだけで訂正可能としたものである。
(Function) The device of the present invention calculates the syndrome S (X) obtained by calculating from the received code R (X) using the generating polynomial 〇
By having means for obtaining a code sequence by multiplying (X) by X modulo, the code sequence becomes equal to the syndrome S (X) calculated from the sequence obtained by shifting the original received code, For each error pattern that becomes equal after being sequentially shifted (circulated), it is possible to correct it by storing only one of them.

従って、変換テーブルに記憶する誤りパターンの数は非
常に少なくなり、例えば、受信符号長がnの符号であれ
ば、その数は従来と比較してl / nに低減される。
Therefore, the number of error patterns stored in the conversion table becomes extremely small. For example, if the received code length is a code of n, the number is reduced to l/n compared to the conventional method.

(実施例) 以下、この発明による符号誤り訂正装置の実施例を図面
を参照して説明する。
(Example) Hereinafter, an example of the code error correction device according to the present invention will be described with reference to the drawings.

[実施例1] 第1図はこの発明装置の一実施例を示す構成図である。[Example 1] FIG. 1 is a block diagram showing an embodiment of the apparatus of this invention.

第1図において、受信信号である量子化された受信符号
R(X)(=r’141  rx3+ ”・ro)は。
In FIG. 1, the quantized reception code R(X) (=r'141 rx3+ ''·ro), which is the reception signal, is as follows.

符号入力端子ωから順次、夫々シンドローム計算回路■
及び遅延回路■に供給される。シンドローム計算回路■
はいわゆる生成多項式〇 (X)を用いて受信符号R(
X)からシンドロームS (X)を算出する回路で、第
2図に示すようなフィードバック・シフト・レジスタ回
路で構成される。
Each syndrome calculation circuit sequentially starts from the sign input terminal ω.■
and the delay circuit ■. Syndrome calculation circuit ■
is the received code R(
This circuit calculates the syndrome S (X) from X), and is composed of a feedback shift register circuit as shown in FIG.

いは、受信符号R(X)及びシンドロームS (X)の
生成多項式は夫々次弐〇に)のように表わされる。
Alternatively, the generating polynomials of the received code R(X) and the syndrome S(X) are expressed as follows.

R(X)= r、、 x”+ r、 x”+・=−+ 
re   ■5(X)=s、x’+s、x’+−−+s
m     @)また、  5(X)はR(X)をa 
(X)で割った剰余多項式であり。
R(X)= r,, x”+ r, x”+・=−+
re ■5(X)=s, x'+s, x'+--+s
m @) Also, 5(X) is R(X) as a
It is the remainder polynomial divided by (X).

S (X)ER(X) sod G (X)     
 ■と表わされる。ここで4 ’8ffw 8@e・・
・t go をシンドロームと呼ぶ。
S (X)ER(X) sod G (X)
It is expressed as ■. Here 4 '8ffw 8@e...
・t go is called a syndrome.

(なお、一般にG(X)(7)根(x 1(Co t 
1 @ ・・・p 2t−1)をR(X)に代入した値
をシンドロームと呼ぶことがあるが、stt sap・
・・、s、とは等価である。)第2図に示す、フィード
バック・シフト・レジスタ回路は、多段従属接続された
シフト・レジスタ(SO〜S7)の各途中にEX−OR
皿路(21〜24)を介在させ、符号入力端子(20)
からの受信符号R(X)が順次シフト・レジスタに供給
されることにより、シンドロームS (X)が保持され
る。
(In general, G(X)(7) root(x 1(Co t
The value obtained by substituting 1 @...p 2t-1) into R(X) is sometimes called a syndrome, but stt sap・
..., s, are equivalent. ) The feedback shift register circuit shown in FIG.
A sign input terminal (20) with a countersunk (21 to 24) interposed therebetween.
The syndrome S (X) is maintained by sequentially supplying the received code R(X) from the shift register to the shift register.

シンドローム計算回路■の出力、即ち前記各シフト・レ
ジスタ(SO〜S7)の出力は全零検査回路に)に夫々
並列に供給される。これは、前記シンドロームが全て零
(全零)であれば、誤り訂正は行わず、全て零ではない
(非零)の場合のみ1次の比較回路■に並列的に供給さ
れ、以下の誤り訂正が行われるよう構成されている。
The outputs of the syndrome calculation circuit (2), that is, the outputs of each of the shift registers (SO to S7), are supplied in parallel to the all-zero test circuit. This means that if the syndromes are all zeros (all zeros), no error correction is performed, and only if they are not all zeros (non-zero), they are supplied in parallel to the primary comparison circuit ■, and the following error corrections are performed. is configured to take place.

一方、この符号誤り訂正装置では、従来と同様に予めシ
ンドロームS (X)から誤りパターンを検出できるよ
うな変換テーブル■が設けられる。
On the other hand, in this code error correction device, a conversion table (2) is provided in advance so that an error pattern can be detected from the syndrome S (X), as in the conventional case.

いま、受信符号R(X)の条件を前述の従来例と同様に
、2元(15,7) BCH符号とすると、ROMで構
成される変換テーブル■は、第3図に示すように、01
4〜e1までの15桁からなるいくつかの誤りパターン
と、それに対応する97〜s、までの8桁からなるシン
ドロームとの組合おせで記憶されている。
Now, assuming that the condition of the received code R(X) is a binary (15,7) BCH code as in the conventional example described above, the conversion table (■) composed of ROM is 01 as shown in FIG.
It is stored as a combination of several error patterns consisting of 15 digits from 4 to e1 and the corresponding syndromes consisting of 8 digits from 97 to s.

そこで、変換テーブル■からシンドローム及びこれに対
応する誤りパターンを順次読み出し回路■に読み出し、
この読み出したシンドロームを前記比較回路■に供給し
、全零検査回路■からの信号と比較し、一致したシンド
ロームについてはその対応する誤りパターンを誤りパタ
ーンのシフト回路(ハ)に供給する。
Therefore, the syndromes and the corresponding error patterns are sequentially read out from the conversion table ■ to the reading circuit ■,
The read syndrome is supplied to the comparison circuit (3) and compared with the signal from the all-zero test circuit (2), and for matched syndromes, the corresponding error pattern is supplied to the error pattern shift circuit (3).

もし、比較回路■において、一致するものがない場合は
、前記シンドローム計算回路■において。
If there is no match in the comparison circuit (2), then in the syndrome calculation circuit (2).

シンドロームS (X)を生成多項式G (X)を法と
して1倍する。このシンドロームS (X)を1倍する
処理は、シンドロームが保持されている計算回路■のシ
フト・レジスタ(So〜S7)に、Oを入力端子(20
)に入力して、各シフト・レジスタから取出すことによ
って行われる。この1倍した新しいシンドロームに対し
、再び上述したように、変換テーブル0を検索し、一致
するシンドロームが得られるまで1倍する処理を繰返す
The syndrome S (X) is multiplied by 1 modulo the generator polynomial G (X). The process of multiplying this syndrome S (X) by 1 is to input O to the input terminal (20
) and out of each shift register. For this new syndrome multiplied by 1, the conversion table 0 is searched again as described above, and the process of multiplying by 1 is repeated until a matching syndrome is obtained.

h=1.2.・・・回に対し、一致するシンドロームが
テーブル内に得られないとすると。
h=1.2. Suppose that no matching syndrome is obtained in the table for ... times.

S    (X)E x   −S (X)  sod
  G (X)        ぐ9の係数をシンドロ
ームとしてテーブルを検索することになる。
S (X)E x −S (X) sod
The table will be searched using the coefficient of G (X) 9 as a syndrome.

ところで。by the way.

S     (X)=x   −R(X)  sod 
 G(X)         ■が成立するから、a(
X)を法としてS (X)をxh倍したS  (X)の
係数は、受信符号を6回シフトさせた系列のシンドロー
ムに等しい。
S(X)=x−R(X) sod
Since G(X) ■ holds true, a(
The coefficient of S (X), which is obtained by multiplying S (X) by xh modulo X), is equal to the syndrome of a sequence obtained by shifting the received code six times.

もし、S  (X)をシンドローム多項式とする誤りパ
ターンが変換テーブル(へ)から導出されれば。
If an error pattern with S (X) as a syndrome polynomial is derived from the conversion table (to).

S (X)をシンドロームとする誤りパターンはこれを
h回、逆方向にシフトさせたものであるから、これによ
り受信符号の誤りパターンを求められる。
Since the error pattern with S (X) as a syndrome is obtained by shifting this in the opposite direction h times, the error pattern of the received code can be obtained from this.

即ち、いま、h回に亘って1倍した後、一致するシンド
ロームが得られたとすると、シフト回路0では、そのシ
ンドロームに対応する誤りパターンを逆方向にh回シフ
トさせ、真の誤りパターンが得られる。
That is, if a matching syndrome is obtained after multiplying by 1 h times, shift circuit 0 shifts the error pattern corresponding to that syndrome in the opposite direction h times to obtain the true error pattern. It will be done.

例として、送信側で符号列(1oootot)を(10
00101: 11000000)に組織符号化して送
出し、受信側で(100110111000010)と
して受信したとすれば、計算結果、このシンドロームは
(10111010)となり、変換テーブル0内には存
在しない。
As an example, on the transmitting side, the code string (1oootot) is converted to (10
00101: 11000000) and is transmitted as (100110111000010) on the receiving side. As a result of calculation, this syndrome becomes (10111010) and does not exist in conversion table 0.

そこで、シンドローム計算回路■内のシフト・レジスタ
の入力端子(20)にOを順次供給し1丁度4回入力し
てシフトさせたとき、即ちS (X)をx4倍したとき
に、シンドロームは(00100001)となり。
Therefore, when O is sequentially supplied to the input terminal (20) of the shift register in the syndrome calculation circuit ■ and shifted by inputting it exactly four times, that is, when S (X) is multiplied by x4, the syndrome becomes ( 00100001).

変換テーブル0内の対応する誤りパターン(oooo。The corresponding error pattern in translation table 0 (oooo.

0000100001)であることが分る。従って、こ
れを4回逆方向にシフトさせた(0001000000
0010)が真の誤りパターンであり、これを誤り訂正
実行回路■に供給することによって、受信符号R(X)
の誤りが訂正され、もとの送信符号語(1000101
,1100oooo)及び送信情報(10001001
)を得ることができる。
0000100001). Therefore, it was shifted in the opposite direction four times (0001000000
0010) is the true error pattern, and by supplying this to the error correction execution circuit ■, the received code R(X)
error is corrected and the original transmitted codeword (1000101
, 1100oooo) and transmission information (10001001
) can be obtained.

誤り訂正実行回路■)は、前記遅延回路■からの時間F
11v!された受信信号の導入を受け、1ビツト毎の排
他的論理和の計算により誤り訂正が行なわれる。
The error correction execution circuit (■) is the time F from the delay circuit (■).
11v! In response to the introduction of the received signal, error correction is performed by calculating exclusive OR for each bit.

このように、この発明装置によれば、2元(15゜7)
BCH符号による変換テーブル0に記憶する誤りパター
ンの総数は第3図に示すように8個となり、第8図に示
した従来のものと比較すると、変換テーブルのテーブル
サイズは1/15に低減される。また、誤り訂正可能ビ
ット数t=2であるので、2個以下の誤りであれば、全
て訂正回復可能である。
In this way, according to the device of this invention, two elements (15°7)
The total number of error patterns stored in the BCH code conversion table 0 is 8 as shown in Figure 3, and the table size of the conversion table is reduced to 1/15 compared to the conventional one shown in Figure 8. Ru. Furthermore, since the number of error-correctable bits t=2, all errors can be corrected and recovered if there are two or less errors.

[実施例2] この発明による符号誤り訂正装置の第2の実施例につい
て、以下説明する。
[Embodiment 2] A second embodiment of the code error correction device according to the present invention will be described below.

即ち、この発明装置は前記実施例におけるような2元(
2値)符号にのみ適用し得るものではなく、以下説明す
る多元(多値)符号、例えばリード・ソロモン(Ree
d−5olomon)符号などにも適用できる。
That is, this inventive device has two elements (
It is not applicable only to binary (binary) codes, but also to multi-dimensional (multi-value) codes, such as Reed-Solomon (Ree
It can also be applied to d-5olomon) codes.

ガロア体GF(2”)の元をシンボルとする(7゜3)
2シンボル訂正リード・ソロモン符号での訂正可能な全
てのパターンは、従来は、第9図に示す1078個ある
が、この発明装置では、変換テーブル■に記憶すべき誤
りパターンはわずか154個に削減できる。
Let the element of Galois field GF (2”) be the symbol (7°3)
Conventionally, there are 1078 correctable patterns in a 2-symbol correction Reed-Solomon code, as shown in FIG. 9, but with this invention, the number of error patterns to be stored in the conversion table ■ is reduced to only 154. can.

即ち、符号長n、情報点数に、ガロア体GF(2”)で
の記憶すべき誤りパターン数は、次式で示される。
That is, the number of error patterns to be stored in the Galois field GF (2''), where n is the code length and the number of information points, is expressed by the following equation.

即ち、従来の前記の式で示される訂正可能な誤りパター
ン数の内、シフトして1等しくなるパターンを除いた数
になる。
That is, the number is the number excluding the pattern which becomes equal to 1 by shifting out of the conventional number of correctable error patterns shown by the above formula.

■式からも、明らかなように、前記従来の0式から得ら
れる値と比較し、1/nとなり、変換テーブルの容量は
非常に小さなものとなることを示している。
As is clear from equation (2), the value is 1/n compared to the value obtained from the conventional equation 0, indicating that the capacity of the conversion table is extremely small.

なお、より単純な誤りパターンの選び方としては、ある
特定位置のシンボルが必ず非零の値を持つ誤りパターン
を選択すれば良い、このときの変換テーブル0に記憶す
るシンドロームの数は、次式で示される。
Note that a simpler way to select an error pattern is to select an error pattern in which the symbol at a certain specific position always has a non-zero value.The number of syndromes to be stored in conversion table 0 in this case is calculated using the following formula. shown.

士 、−1CL−t・(2”−1)’       ■
i罫1 [実施例3] 次に、誤り訂正が可能なビット数t=2の場合を例に、
この請求項2に示す発明の第3の実施例を説明する6例
として、受信符号R(X)を2元(15゜7) B C
H符号について考える。
, -1CL-t・(2"-1)' ■
i-ruled 1 [Example 3] Next, taking as an example the case where the number of error-correctable bits t=2,
As six examples for explaining the third embodiment of the invention shown in claim 2, the received code R(X) is binary (15°7) B C
Consider the H code.

この符号の生成多項式〇 (X)は前記0式で表される
。第4図に示すように、5c1=15個の組合わせによ
る変換テーブル0を設ければ良い、この結果、テーブル
の大きさを第8図に示す従来のものと比較し1/8に小
さくすることができる。
The generating polynomial 〇 (X) of this code is expressed by the above equation 0. As shown in Fig. 4, it is sufficient to provide a conversion table 0 with 5c1=15 combinations.As a result, the size of the table is reduced to 1/8 compared to the conventional one shown in Fig. 8. be able to.

いま、第5図に示すこの発明装置の実施例において、第
1図に示す構成と同一構成には同一符号を付し、詳細な
説明を省略するが、読み出し回路■の誤りパターンは補
正回路(10)を介して、誤りパターン・シフト回路0
に接続されるよう構成され、この補正回路(10)に比
較回路■の出力が供給されるよう供給される。
Now, in the embodiment of the device of the present invention shown in FIG. 5, the same components as those shown in FIG. 10) through the error pattern shift circuit 0
The comparator circuit (10) is supplied with the output of the comparator circuit (2).

従って、前記補正回路(10)では比較回路■からの1
ビツト異なるビット位置情報と、読み出し回路■からの
誤りパターンとにより、真の誤りパターンが求められ、
以下、シフト回路(ハ)及び誤り訂正実行回路0にて、
訂正回復が行われる。
Therefore, in the correction circuit (10), the 1
The true error pattern is determined from the bit position information with different bits and the error pattern from the readout circuit.
Below, in the shift circuit (c) and error correction execution circuit 0,
Corrective recovery is performed.

いま、送信側で情報(1000101)を組織的に符号
化し、符号語(1000101: 11000000)
を送信したとする。
Now, on the transmitting side, the information (1000101) is systematically encoded into a code word (1000101: 11000000).
Suppose that you send

そこで、通信路において、(イ)1ビツトの誤りが発生
した場合、(ロ)2ビツトの誤りが発生し。
Therefore, in the communication path, if (a) a 1-bit error occurs, (b) a 2-bit error occurs.

かつ、少なくとも1シンボルが検査点上に発生した場合
、(ハ)2ビツトの誤りが発生し、かつ、共に情報点上
に発生している場合に、夫々分けて説明する。
In addition, when at least one symbol occurs on a test point, and (c) when a two-bit error occurs and both occur on an information point, these cases will be explained separately.

(イ)の場合。In the case of (a).

受信符号を(100110111000000)である
とする。
Assume that the received code is (100110111000000).

R(X)(= x14+ x11+ x”+ x”+ 
x’+ x’)をa (X)で割った剰余S (X)を
求めると、5(X)=x’+x’+x’+x3 となり、そのときのシンドローム(10111000)
が得られる。
R(X) (= x14+ x11+ x”+ x”+
When we calculate the remainder S (X) by dividing x'+ x') by a (X), we get 5(X)=x'+x'+x'+x3, and the syndrome at that time is (10111000)
is obtained.

いま、第5図の変換テーブル0により、このシンドロー
ムに対応する誤りパターンは(000100000oo
oooo)であることが分り、受信符号(100010
1110ooooo)及び情報(1000101)が得
られる。
Now, according to the conversion table 0 in Fig. 5, the error pattern corresponding to this syndrome is (000100000oo
oooo), and the received code (100010
1110ooooo) and information (1000101) are obtained.

(ロ)の場合。In the case of (b).

受信符号を(100000111000100)である
とする。
Assume that the received code is (100000111000100).

このとき、5(X)=x’+x’+x’より、シンドロ
ームは(01011000)となる、これと、1シンボ
ルのみ異なる符号系列(01011100)が変換テー
ブル0内の に存在し、その誤りパターンは(0000100000
0000)■ である、このことから、受信符号の誤り(000010
0Φ 0000100)であることが判明する。
At this time, from 5(X)=x'+x'+x', the syndrome becomes (01011000). A code sequence (01011100) that differs by only one symbol exists in conversion table 0, and its error pattern is (0000100000
0000)■ From this, the received code error (000010
0Φ 0000100).

■ (ハ)の場合、 受信符号を(100111111000000)である
とする。
■ In the case of (c), assume that the received code is (100111111000000).

このとき、5(X)=x’+x’+x”+xより、シン
ドロームは(10010110)となるが、変換テーブ
ル0内にこれと7ビツト以上一致する符号系列は存在し
ない。
At this time, from 5(X)=x'+x'+x''+x, the syndrome becomes (10010110), but there is no code sequence in conversion table 0 that matches this in 7 bits or more.

そこで、後述の(11)式より。Therefore, from equation (11) described below.

S (1’(X)= x S (X) sod G (
X) トL、、同様に変換テーブル0を検索する。そこ
で、7ビツト以上の一致する符号系列が見出すことがな
ければ、次に、 S (h’(X)E x−5(h−1)(X) txo
d G (X)、 h=2.3゜・・・とじていく、こ
の場合h=4において、シンドロームが(110011
11)となり、変換テーブル0内に1ビツトのみ異なる
符号系列(11001110)が存在すΦ ることか分る。
S (1'(X)= x S (X) sod G (
X) Search conversion table 0 in the same way. Therefore, if no matching code sequence of 7 bits or more is found, then S (h'(X)Ex x-5(h-1)(X) txo
d G (X), h = 2.3°... In this case, at h = 4, the syndrome is (110011
11), it can be seen that there is a code sequence (11001110) in conversion table 0 that differs by only one bit.

即ち、この誤りパターンが(010000000000
00G)■ より、h=4回シフトする前の誤りパターン(010■ 000000000001)が求められ、これをh=4
ビット、逆方向にシフトさせることにより、受信符号に
生ができる。
That is, this error pattern is (010000000000
00G)■, the error pattern (010■ 000000000001) before shifting h=4 times is obtained, and this is converted to h=4.
By shifting the bits in the opposite direction, the received code can be modified.

また、計算されたシンドロームと等しいか、また、1ビ
ツトのみ異なる系列が存在しなければ。
Also, if there is no sequence that is equal to the calculated syndrome or differs by only one bit.

入力をOとして、シンドローム(St〜Sa)がラッチ
されているシンドローム計算回路■を1ビツトシフトさ
せれば、5(X)に対応するシンドロームが得られる。
If the input is O and the syndrome calculation circuit (2) in which the syndrome (St to Sa) is latched is shifted by one bit, the syndrome corresponding to 5(X) is obtained.

そこで、変換テーブル■内に7ビツト以上が等しいシン
ドローム符号系列が得られるまで、これを繰返す。
Therefore, this process is repeated until a syndrome code sequence in which 7 or more bits are equal is obtained in the conversion table (2).

6回シフト後に得られれば、そのときの誤りパターンを
前記補正回路(lO)で補正した後、シフト回路(ハ)
でh回逆方向にシフトさせ、誤りパターンを得る。
If the error pattern is obtained after six shifts, the error pattern at that time is corrected by the correction circuit (lO), and then the shift circuit (c)
is shifted in the opposite direction h times to obtain an error pattern.

補正回路は、シンドロームを比較したとき、異なってい
たシンドロームを5d(0≦Sd≦7)とすると、変換
テーブル(0から読み出された誤りパターン81490
139 ”’l!!(1に対し、adを1から0、及び
0から1に反転させる。
When comparing the syndromes, the correction circuit calculates the error pattern 81490 read from the conversion table (0
139 ``'l!!(Invert ad from 1 to 0 and from 0 to 1 for 1.

また、誤りパターンシフト回路(ハ)では1例えばe1
49 et3t ”’ell とh=1が与えられたと
き、eat eL49 exit ”・elが出力され
るようEX−OR回路あるいはシフトレジスタ回路など
で構成される。
In addition, in the error pattern shift circuit (c), 1, for example, e1
It is configured with an EX-OR circuit or a shift register circuit so that when 49 et3t ``'ell'' and h=1 are given, eat eL49 exit ''·el is output.

[実施例4] また、この請求項2の発明の装置は、前記実施例3にお
いて、2元符号だけでなく、実施例2におけると同様に
、2元符号だけでなくリード・ソロモン符号などの多元
符号についても用いることができる。
[Embodiment 4] Furthermore, in the third embodiment, the apparatus according to the invention of claim 2 is capable of processing not only binary codes but also Reed-Solomon codes as in the second embodiment. It can also be used for multidimensional codes.

いま、ガロア体GF(23)上の(7,3)2シンボル
誤り訂正リード・ソロモン符号を例に考える。
Now, consider a (7,3) 2-symbol error-correcting Reed-Solomon code on a Galois field GF(23) as an example.

生成多項式は G(X)=n  (x−a )=x’+a3x3+x”
+ax+a″(10)】第1 で与えられるものとする。但し、αはm(X)=x’+
’x+1を最小多項式とする0F(2’)の原始光であ
る。
The generator polynomial is G(X)=n (x-a)=x'+a3x3+x"
+ax+a''(10)] first. However, α is m(X)=x'+
It is the primitive light of 0F(2') where 'x+1 is the minimum polynomial.

この符号に対する誤り訂正装置の構成は前記実施例4と
同様に第5図で構成される。但し、シンドローム計算回
路■は第6図のように構成される。
The configuration of the error correction device for this code is shown in FIG. 5, similar to the fourth embodiment. However, the syndrome calculation circuit (2) is constructed as shown in FIG.

このとき、変換テーブル■内に記憶されるシンドローム
及び誤りパターン数は従来の装置では第9図のようにな
り、その数は 土tct・(23−1)’= 1078個となる6しか
し、この実施例では第7図のようになり、その数は、C
1(23−1)1=49と極めて小さなものとなる。
At this time, the number of syndromes and error patterns stored in the conversion table 1 is as shown in Figure 9 in the conventional device, and the number is tct・(23-1)'=10786 However, this In the example, the number is as shown in FIG. 7, and the number is C.
1(23-1)1=49, which is extremely small.

[実施例5] 次に、この請求項2の発明装置の更に他の第5の実施例
について説明する。
[Embodiment 5] Next, still another fifth embodiment of the invention device according to claim 2 will be described.

いま、誤り訂正符号として、符号長n、誤り訂正可能な
シンボル数t、情報点数に、0F(2”″)上の符号(
m= 1 、2 、・・・)を考える。このとき、従来
の変換テーブルには、前記ω式に示す数のシンドローム
を記憶しておく必要があったが、発明装置によれば(t
 −1)個以下の誤りが生じているパターンのシンドロ
ームのみ記憶すればよい。
Now, as an error correction code, the code length n, the number t of error-correctable symbols, the number of information points, and the code (
m = 1, 2, ...). At this time, it was necessary to store the number of syndromes shown in the ω formula in the conventional conversion table, but according to the inventive device, (t
It is only necessary to store syndromes of patterns in which -1) or less errors have occurred.

そのシンドロームの数は次式で得られる。The number of syndromes is obtained by the following formula.

Σ nCt ・(2”−1)Lol) ill。Σ nCt ・(2”-1)Lol) ill.

また、記憶するシンドロームの数を更に低減したい場合
には、次の条件を満たすシンドロームのみ記憶すればよ
い。
Furthermore, if it is desired to further reduce the number of syndromes to be stored, it is sufficient to store only syndromes that satisfy the following conditions.

(イ)t+1od3=oの場合、 2≦i≦(1−1)でかつ、imod3=2  となる
i個の誤りが生じたパターンと、誤りの生じていなイハ
ターンに対応するシンドロームのみ記憶する。
(a) In the case of t+1od3=o, only the syndromes corresponding to patterns in which i errors have occurred such that 2≦i≦(1-1) and imod3=2 and iha-turns in which no errors have occurred are stored.

そのシンドロームの数は次式で得られる。The number of syndromes is obtained by the following formula.

Σ nCt ’ (2”()’−(12)jにス i  nodlKz (ロ)tmod3=1の場合、 0≦i≦(t−1)、かつ、imod3=0  となる
i個の誤りの生じたパターンに対応するシンドロームの
み記憶する。そのシンドロームの数は次式で得られる。
Σ nCt '(2"()'-(12) Only the syndromes corresponding to the given pattern are stored.The number of syndromes is obtained by the following equation.

Σ 、、CL・(2”−1)”       (13)
3に0 1π−odyπ6 (ハ)tmod3=2の場合、 0≦i≦(t−tLかつ、imod3=1  となるi
個の誤りの生じたパターンに対応するシンドロームのみ
記憶する。そのシンドロームの数は次式で得られる。
Σ ,,CL・(2”-1)” (13)
0 to 3 1π-odyπ6 (c) When tmod3=2, i such that 0≦i≦(t-tL and imod3=1
Only the syndromes corresponding to the patterns in which errors occurred are stored. The number of syndromes is obtained by the following formula.

Σ 。OL・(2′″−1)’       (14)
1πI L  eaod3π1 以上のように、変換テーブル0に記憶するシンドローム
の数を少なくすることが出来る。tが大きい場合、上記
方法により記憶するシンドロームを選択すれば、最もテ
ーブルを小さくすることができる。
Σ. OL・(2′″−1)′ (14)
1πI L eaod3π1 As described above, the number of syndromes stored in the conversion table 0 can be reduced. When t is large, the table can be made the smallest by selecting syndromes to be stored using the above method.

一部の誤りパターンに対するシンドロームしか記憶され
ていない変換テーブルを用いて、従来と同様に正しく復
号できることは次により証明される。
It is proved as follows that decoding can be performed correctly in the same manner as before using a conversion table that stores only syndromes for some error patterns.

まず、受信信号rn−11rn−zl・・・r、からシ
ンドローム8 n−に−x +  8 n−k −i 
*・・・sa を次のように求める。
First, from the received signal rn-11rn-zl...r, to syndrome 8 n- -x + 8 n-k -i
*...Sa is determined as follows.

G(X)=gn−kx”−’+gn−に一1x’″″’
−”+”−+g6   (15)R(X)=rn−1x
’−1+rn、x1′十−+r、      (16)
S (X) ” S n−1−1’X’−” + 5n
−k −2X、”k 1+、、、+ s、  <を力と
すると、前記0式が成立する。
G(X)=gn-kx"-'+gn-to-1x'""'
−”+”−+g6 (15) R(X)=rn-1x
'-1+rn, x1'+r, (16)
S (X) "S n-1-1'X'-" + 5n
−k −2X, “k 1+, , + s, < is the force, then the above equation 0 holds true.

次に、シンドロームから変換テーブル■を用いて誤りパ
ターンを求める。
Next, an error pattern is determined from the syndrome using conversion table (2).

■発生している誤りパターンに対応するシンドロームが
変換テーブル内に存在する場合、1回のアクセスで誤り
パターンを特定することができる。
(2) If a syndrome corresponding to the occurring error pattern exists in the conversion table, the error pattern can be identified with one access.

■発生している誤りパターンに対応するシンドロームが
交換テーブル内に存在せず、かつ、少なくとも1個の誤
りが r n−1−1*  r n−に−* e ”’
 * f’ @のどこかにある場合、これに対応するシ
ンドロームは、テーブルに記憶されていない、しかし、
受信信号から計算されるシンドロームと1個のシンボル
を除いて等しいシンドロームが、テーブル内に必ず存在
する。異なるシンボルの位置と大きさ。
■There is no syndrome corresponding to the error pattern occurring in the exchange table, and at least one error exists in r n-1-1* r n--* e ”'
* If f' @ is somewhere, the corresponding syndrome is not stored in the table, but
There is always a syndrome in the table that is equal to the syndrome calculated from the received signal except for one symbol. Position and size of different symbols.

及びこのシンドロームに対応する誤りパターンから、真
の誤りパターンを求められる。
The true error pattern can be determined from the error pattern corresponding to this syndrome.

■生じている誤りパターンに対応するシンドロームが変
換テーブル0内に存在せずかつ、全ての誤りがr n−
t e r n−t o・・・el’n−*の中にある
場合。
■There is no syndrome corresponding to the occurring error pattern in conversion table 0, and all errors are r n-
If it is in t er n-t o...el'n-*.

受信信号から計算されるシンドロームと全て等しいか、
又は1個のシンボルを除いて等しいシンドロームは、テ
ーブル内に存在しない、しかし。
Are they all equal to the syndrome calculated from the received signal?
Or, there are no syndromes in the table that are equal except for one symbol, but.

受信信号を何回かシフトさせることによって、■の場合
と等しくなるため、シフトされた受信信号から計算され
るシンドロームと1個のシンボルを除いて等しいシンド
ロームがテーブル内に存在する。異なるシンボルの位置
と大きさ、シフト回数、及びシンドロームに対応するパ
ターンから、真の誤りパターンが得られる。
By shifting the received signal several times, it becomes equal to the case (2), so there is a syndrome in the table that is equal to the syndrome calculated from the shifted received signal except for one symbol. The true error pattern is obtained from the patterns corresponding to the positions and sizes of different symbols, the number of shifts, and syndromes.

ここで、h回シフトしたときのシンドローム多項式S”
’(X)はもとの受信信号から計算されるシンドローム
多項式S (X)から 5(h’(X)=X’R(X)=S(h−1)(X)7
G(X)   (1g)S(0’(X)=S(X)w 
h=l@ 2.−、 n 1と計算される。即ち、S(
h’(X)は、G(X)を法として、5(h−t ) 
(x)をX倍することに等しい、このため、受信信号か
らシンドロームを計算する手段として、受信信号を入力
とし、生成多項式の係数a (X)で除算する(n −
k)段のフィードバック・シフト・レジスタを用いてい
るときは、新たなシンドロームを生成するとき、現在の
シンドロームがラッチされている前記フィードバック・
シフト・レジスタに0を入力した新しいシンドロームと
することができる。
Here, the syndrome polynomial S'' when shifted h times
'(X) is the syndrome polynomial calculated from the original received signal S (X) to 5(h'(X)=X'R(X)=S(h-1)(X)7
G(X) (1g)S(0'(X)=S(X)w
h=l@2. −, n 1. That is, S(
h'(X) is 5(h-t), modulo G(X)
(x) is multiplied by
k) When using a feedback shift register of stages, when generating a new syndrome, the feedback shift register in which the current syndrome is latched is
It can be a new syndrome with 0 entered in the shift register.

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

以上説明した通り、この発明装置は、順次シフトして等
しくなる各誤りパターンについては、その1つのみを記
憶しておくので、変換テーブルの容量は著しく小さくな
り、実用上の効果大である。
As explained above, the device of the present invention stores only one of the error patterns that are sequentially shifted and become equal, so the capacity of the conversion table is significantly reduced, which is highly effective in practice.

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

第1図はこの発明による符号誤り訂正装置の一実施例を
示す構成図、第2図は第1図に示すシンドローム計算回
路を示す構成図、第3図ないし第4図は第1図に示す装
置の変換テーブルに記憶されたパターンを示すパターン
構成図、第5図はこの請求項2の発明装置の実施例を示
す構成図、第6図は第5図におけるシンドローム計算回
路を示す構成図、第7図は第5図に示す装置の変換テー
ブルに記憶されたパターンを示す構成図、第8図ないし
第9図は夫々従来の符号誤り訂正装置における変換テー
ブルの記憶パターンを示す構成図である。 ■ シンドローム計算回路 (イ)全零検査回路 0 比較回路 ■ 変換テーブル ■ 読み出し回路 (へ) シフト回路 (9)誤り訂正実行回路 代理人 弁理士 大 胡 典 夫 第1図 第  3 図 WJ6図 第  7  図 第8図 (ZJ>z”yン、tcIL/FJ リashwsi’
核t−ブ+し第  9  図
FIG. 1 is a block diagram showing an embodiment of the code error correction device according to the present invention, FIG. 2 is a block diagram showing the syndrome calculation circuit shown in FIG. 1, and FIGS. 3 and 4 are shown in FIG. 1. A pattern configuration diagram showing patterns stored in a conversion table of the device; FIG. 5 is a configuration diagram showing an embodiment of the inventive device according to claim 2; FIG. 6 is a configuration diagram showing the syndrome calculation circuit in FIG. 5; FIG. 7 is a block diagram showing the patterns stored in the conversion table of the device shown in FIG. 5, and FIGS. 8 and 9 are block diagrams showing the storage patterns of the conversion table in the conventional code error correction device, respectively. . ■ Syndrome calculation circuit (a) Total zero check circuit 0 Comparison circuit ■ Conversion table ■ Readout circuit (to) Shift circuit (9) Error correction execution circuit Agent Patent attorney Norio Ogo Figure 1 Figure 3 Figure WJ6 Figure 7 Figure 8 (ZJ>z"yn, tcIL/FJ rashwsi'
Figure 9

Claims (2)

【特許請求の範囲】[Claims] (1)生成多項式G(X)を用いて受信符号R(X)か
らシンドロームS(X)を算出する手段と、この手段に
より得られたシンドロームS(X)を前記生成多項式G
(X)を法としてx倍する手段と、特定の誤りパターン
を記憶し、上記シンドロームまたはそれをx倍した系列
に対応する誤りパターンを検出する手段と、この手段に
より検出された誤りパターンを巡回置換する手段と、誤
り訂正を実行する手段とを具備する符号誤り訂正装置。
(1) Means for calculating syndrome S(X) from received code R(X) using generator polynomial G(X), and syndrome S(X) obtained by this means using generator polynomial G
means for multiplying by x with (X) modulo, means for storing a specific error pattern and detecting an error pattern corresponding to the above syndrome or a sequence obtained by multiplying it by x, and cycling through the error patterns detected by this means. A code error correction device comprising means for replacing and means for performing error correction.
(2)前記誤りパターンを検出する手段において、シン
ドロームまたは、それをx倍した系列と1シンボルを除
いて等しいシンドロームに対応する誤りパターンを検出
することを特徴とする請求項1記載の符号誤り訂正装置
(2) The code error correction according to claim 1, wherein the error pattern detecting means detects an error pattern corresponding to a syndrome or a syndrome that is equal to a sequence obtained by multiplying the syndrome by x except for one symbol. Device.
JP11830288A 1988-05-17 1988-05-17 Code error corrector Pending JPH01289322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11830288A JPH01289322A (en) 1988-05-17 1988-05-17 Code error corrector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11830288A JPH01289322A (en) 1988-05-17 1988-05-17 Code error corrector

Publications (1)

Publication Number Publication Date
JPH01289322A true JPH01289322A (en) 1989-11-21

Family

ID=14733316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11830288A Pending JPH01289322A (en) 1988-05-17 1988-05-17 Code error corrector

Country Status (1)

Country Link
JP (1) JPH01289322A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0429414A (en) * 1990-05-25 1992-01-31 Natl Sci Council Step-by-step type coding of cyclic code and decoder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0429414A (en) * 1990-05-25 1992-01-31 Natl Sci Council Step-by-step type coding of cyclic code and decoder

Similar Documents

Publication Publication Date Title
US7404134B2 (en) Encoding/decoding device using a reed-solomon encoder/decoder
JP3737204B2 (en) Error correction method and apparatus
US5136592A (en) Error detection and correction system for long burst errors
US4525838A (en) Multibyte error correcting system involving a two-level code structure
US4856003A (en) Error correction code encoder
US4504948A (en) Syndrome processing unit for multibyte error correcting systems
JPS61500097A (en) Error correction for algebraic block codes
US3818442A (en) Error-correcting decoder for group codes
US6449746B1 (en) Decoding method for correcting both erasures and errors of reed-solomon codes
CN110071727B (en) Encoding method, decoding method, error correction method and device
JPH0380727A (en) Detection method and device for frame synchronization of data stream
US20190132006A1 (en) Determination and use of byte error position signals
US7461329B2 (en) Channel encoding adapted to error bursts
JPH0661872A (en) Communication system
US8631307B2 (en) Method for encoding and/or decoding multimensional and a system comprising such method
EP1102406A2 (en) Apparatus and method for decoding digital data
US6651214B1 (en) Bi-directional decodable Reed-Solomon codes
EP1213841A2 (en) Erasure correction for ECC entities
US20060227017A1 (en) Information encoding by shortened reed-solomon codes
JPH01289322A (en) Code error corrector
US10623026B2 (en) Error correction
US20230370092A1 (en) Error Correction With Fast Syndrome Calculation
TW202024907A (en) Processing of data
Gaborit et al. Decoding binary R (2, 5) by hand
JP3223513B2 (en) Error correction decoding device