JPS5939779B2 - Double error correction device using error pointers of adjacent codes - Google Patents
Double error correction device using error pointers of adjacent codesInfo
- Publication number
- JPS5939779B2 JPS5939779B2 JP55049004A JP4900480A JPS5939779B2 JP S5939779 B2 JPS5939779 B2 JP S5939779B2 JP 55049004 A JP55049004 A JP 55049004A JP 4900480 A JP4900480 A JP 4900480A JP S5939779 B2 JPS5939779 B2 JP S5939779B2
- Authority
- JP
- Japan
- Prior art keywords
- tables
- vector
- circuit
- matrix
- formulas
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
本発明は隣接符号のエラーポインターによる2重誤り訂
正装置に係り、隣接符号のエラーポインターを利用して
1プロツク中2個のベクトル(ワード)の誤りが検出さ
れたとき訂正するに際し、少ない数の訂正用マトリクス
の各要素(訂正用マトリクスデータ)により1プロツク
中の複数個の情報ベクトル(情報ワード)のうち2個の
情報ベクトルの誤りを訂正しうる装置を提供することを
目的とする。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a double error correction device using error pointers of adjacent codes. To provide a device capable of correcting errors in two information vectors among a plurality of information vectors (information words) in one process using a small number of each element of a correction matrix (correction matrix data) during correction. The purpose is to
デイジタル信号情報を伝送、受信したり、磁気記録再生
装置(磁気テープ、磁気ディスク)や、光学的記録再生
装置のように高密度で記録し、再生する装置では伝送路
や記録媒体で外乱、歪等によつてデイジタル信号情報の
欠落や誤りを発生することが大きな問題となる。Devices that transmit and receive digital signal information, or that record and play back at high density such as magnetic recording and reproducing devices (magnetic tapes, magnetic disks) and optical recording and reproducing devices, are subject to disturbances and distortions in transmission paths and recording media. A major problem is that digital signal information may be missing or have errors due to such factors.
この問題解決のため今までに数多くの誤り訂正符号が実
用化されている。そのうち隣接符号のエラーポインター
による2重誤り訂正方式(2ワード以下の誤りを訂正す
る方式)では、2重誤り時の訂正には複雑なマトリクス
演算が必要で、そのため逆マトリクスの要素を前もつて
算出しリード・オンリ・メモリ(ROM)等に記憶して
おき、必要なときに読み出して使用する方法がとられて
いる。しかるに、このようにROMを使用した場合は、
ROMからの情報を選択的に読出すためのアドレスカウ
ンタが必要となり回路構成が複雑となる。しかも1つの
ベクトルの元の数(1ワードのビツト数)が多い場合、
例えば1ワードのビツト数が14ビツトで1プロツク中
のデイジタル信号のワード数が6ワードであると後述す
る如くROMの容量は980ビツト(−14×14×5
)最小限必要となり、実際のROMの容量は2N(Nは
自然数)であるものが多いから更に多くの容量のROM
を使用しなければならなくなり、高価となる。本発明は
どのベクトル(ワード)が誤つたかを示すエラーポイン
ターを利用して1プロツクを構成する複数個のベクトル
のうち2個のベクトル誤りを訂正する隣接符号訂正を行
なう装置に関するものであるから、まず隣接符号訂正の
概略について説明する。To solve this problem, many error correction codes have been put into practical use. Among these, the double error correction method (a method that corrects errors of 2 words or less) using error pointers of adjacent codes requires complex matrix calculations to correct double errors, so the elements of the inverse matrix are prepared in advance. A method is used in which the data is calculated and stored in a read-only memory (ROM) or the like, and read out and used when necessary. However, when using ROM in this way,
An address counter for selectively reading information from the ROM is required, which complicates the circuit configuration. Moreover, if the number of elements in one vector (the number of bits in one word) is large,
For example, if the number of bits in one word is 14 bits and the number of words in the digital signal in one block is 6 words, the capacity of the ROM will be 980 bits (-14 x 14 x 5
) The actual ROM capacity is often 2N (N is a natural number), so a ROM with an even larger capacity is required.
, which is expensive. The present invention relates to an apparatus for performing adjacent code correction that corrects vector errors in two of a plurality of vectors constituting one block using an error pointer indicating which vector (word) has made an error. , First, an outline of adjacent code correction will be explained.
いま、O、1を要素として表わされた各mビツトの情報
ベクトル(情報ワードともいう)W1、W2、・・・、
Wnと、これらを用いて次式により生成される2個の誤
り訂正用ベクトル(誤り訂正用ワード)P,.Q(これ
らは列ベクトルである)とを1プロツクとし、このプロ
ツク単位毎にデイジタル信号を伝送し、受信時にどのベ
クトルが誤つたかを示すエラーポインターを持ち1プロ
ツク中2個のベクトルの誤りが検出されたとき訂正する
隣接符号の2重誤りの訂正において、上記誤り訂正用ベ
クトルP.Qはで表わされる。Now, each m-bit information vector (also called an information word) W1, W2, . . . is expressed as an element O,1.
Wn and two error correction vectors (error correction words) P, . Q (these are column vectors) is taken as one block, and a digital signal is transmitted in each block unit. It has an error pointer that indicates which vector is erroneous at the time of reception. In the correction of double errors in adjacent codes that are corrected when detected, the error correction vector P. Q is expressed as.
ここで、(1)、(2)式中ΣoはGF2(2つの元よ
りなる有限体)上のベクトルの加算による総和を、また
1はGF2上のベクトルの加算を示し、更にTは単位マ
トリクスIと線形独立な正則線形変換マトリクスで、例
えば多項式1+GlX+G2X2+・・・+Xmの補助
マトリクスを示す。すなわち、上記補助マトリクスTは
次のように定義される。Here, in formulas (1) and (2), Σo represents the sum of vectors on GF2 (a finite field consisting of two elements), 1 represents the sum of vectors on GF2, and T is the unit matrix. This is a regular linear transformation matrix that is linearly independent of I, and represents, for example, an auxiliary matrix of the polynomial 1+GlX+G2X2+...+Xm. That is, the above auxiliary matrix T is defined as follows.
GF2上のm次の多項式をG(X)=Xm+Gm−1X
m−1+・・・+GlX+GOとすると、補助マトリク
スTはとなる。The m-th polynomial on GF2 is G(X)=Xm+Gm-1X
When m-1+...+GlX+GO, the auxiliary matrix T becomes.
これは以下のことから定義されたものである。すなわち
、GF2上のm元の列ベクトルA、Bを(tは転置マト
リクスを示す)
とし、これらA,.Bを
なる多項式に対応させ、更にx−A(x):G(x)の
剰余をB(x)とするとが成立する。This is defined from the following. That is, let m-element column vectors A and B on GF2 (t indicates a transposed matrix) be as follows, and these A, . Let B correspond to a polynomial, and let the remainder of x-A(x):G(x) be B(x).
従つて上式よりB,−Am−GO,.b2=Allam
gl、・・・、Bm−Anl−11an1gm−,とな
るから、これをマトリクスで表わすととなる。Therefore, from the above formula, B, -Am-GO, . b2=Allam
gl,..., Bm-Anl-11an1gm-, so this can be expressed as a matrix.
よつてB−T−Aと表わされる。なお、Tは正則でなけ
ればならないからGOは1でなければならない。なぜな
らG。がOだとすると前記補助マトリクスTの第1行が
すべて0となり正則でなくなるからである。従つて、多
項式
G(X)=Xm−l−Gm−,Xm−”十・・・+Gl
x+1となる。Therefore, it is expressed as B-T-A. Note that since T must be regular, GO must be 1. Because G. This is because if is O, the first row of the auxiliary matrix T will be all 0 and will not be regular. Therefore, the polynomial G(X)=Xm-l-Gm-,Xm-"10...+Gl
It becomes x+1.
また後述する如く訂正時に(珀π−k『1が存在するこ
とが条件だから、(I4T−k)は正則でなければなら
ず、よつてIとT−kは線形独立なマトリクスでなけれ
ばならない。よつてIとT−kも線形独立でなければな
らない。このことから、G(x)の条件としては、その
各係数Gm−1 〜 glのうち少なくとも1つは0で
ないものがあり、かつ、T,.T2、・・・、Tn−1
\*Iでなければならない(N*は線形独立を示す)。
さて、前記(1成及び(2式を書き直すととなり、誤り
がないときは(3)式が成立することになる。Also, as will be explained later, when making corrections, (I4T-k) must be regular because it is a condition that 珀π-k'1 exists, and therefore I and Tk must be linearly independent matrices. Therefore, I and Tk must also be linearly independent.From this, the conditions for G(x) are that at least one of its coefficients Gm-1 to gl is not 0, and ,T,.T2,...,Tn-1
\*I (N* indicates linear independence).
Now, if we rewrite the above formulas (1 and (2), we get that formula (3) holds true if there is no error.
ただし、Φはm元すべてがOの列ベクトルを示す。とこ
ろが、例えばi番目の情報ベクトルWiとj番目の情報
ベクトルWjの2個が誤つて次式のとなり、これら2式
より
が算出され、前記Ei.Ejを算出するのと同様な演算
でi番目の情報ベクトルWi.j番目の情昌 昌Wi
,.Wjとなつたものとすると、
(ただし、Ei、
(3)式は
E・は誤りベクトル)
となる。However, Φ indicates a column vector in which all m elements are O. However, for example, the i-th information vector Wi and the j-th information vector Wj mistakenly become the following equation, and these two equations are calculated, and the above Ei. The i-th information vector Wi. j-th emotion Chang Wi
、. When Wj is assumed to be Wj, (where Ei, and E· in equation (3) is an error vector).
従つて、上記誤りベクトルEi.Ejは(5)式の部分
シンドロームS1、S2を用いると、(ただし、Iはm
行m列の単位マトリクス)で表わせるから、これらを算
出して(4)式に代入することにより正しいi番目の情
報ベクトルWiと1j番目の情報ベクトルWjとが夫々
算出復元できることになる。ところで、(5)式の部分
シンドロームS1、S2を求める場合、誤つた情報ベク
トルを加算していたが、誤つた情報ベクトルは零ベクト
ルとしてこれを加算する(結果的には加算しないことと
同一)と、そのときの部分シンドロームS′1、S′2
はW・が誤つたことをエラーポインターにより知つたと
き、部分シンドロームS1、S2を以下のように定議す
る。Therefore, the above error vector Ei. Using the partial syndromes S1 and S2 of equation (5), Ej can be calculated as follows: (I is m
By calculating these and substituting them into equation (4), it is possible to calculate and restore the correct i-th information vector Wi and 1j-th information vector Wj, respectively. By the way, when calculating the partial syndromes S1 and S2 in equation (5), the erroneous information vectors were added, but the erroneous information vectors are added as zero vectors (the result is the same as not adding them). and the partial syndromes S'1 and S'2 at that time
When W. knows from the error pointer that W. has made an error, he defines the partial syndromes S1 and S2 as follows.
S1、S2は情報ベクトルW1〜WnとP.Qのうちエ
ラーポインターの指すWi.Wjを除いてW1〜P又は
W,〜Qを各符号化時のTOk.THk等を乗じて加算
すれば得られる。S1 and S2 are information vectors W1 to Wn and P. Wi.Q pointed to by the error pointer. Except for Wj, W1 to P or W, to Q are TOk. It can be obtained by multiplying by THk etc. and adding them.
ここで、上式中ΦがWi,.Wjの部分であり、以下の
如くにしてWi.Wjを訂正復元できる。Here, Φ in the above formula is Wi, . Wj part, and Wi. Wj can be corrected and restored.
(自)式を(代)式に代入して(自)式中の(TOj−
011T1Ij−11i)−1をマトリクスM。Substituting (self) expression into (substitute) expression, (TOj− in (self) expression
011T1Ij-11i)-1 as matrix M.
.−0.と定義し、ベクトルG− J1 1−H・ (T1 1・SleTl−S2)をS。.. -0. and the vector G- J1 1-H・ (T1 1・SleTl−S2).
と定義する。Wjは(自)式よりM。j−Giと列ベク
トルSOとの乗算で得られ、Wiは(代)式を用いてと
算出される。しかし、本明細書では説明の便宜上、主と
して誤り訂正用ベクトルP−Qは(3)式により生成さ
れた場合につき説明する。It is defined as Wj is M from (self) formula. It is obtained by multiplying j-Gi by the column vector SO, and Wi is calculated using equation (substitution). However, in this specification, for convenience of explanation, the case where the error correction vector P-Q is generated by equation (3) will be mainly explained.
以上が隣接符号訂正の概略であるが、エラーポインター
は次のようにして発生する。The above is an outline of adjacent code correction, but an error pointer is generated as follows.
第1の発生方法はW1〜Wn.P.Qの各ベクトルを受
信中に各ベクトルに対応した信号(例えばNRZ、MF
M等)のエンベロープを観測し、所定のレベルからずれ
た場合にはそのベクトルを誤りとすることにより、エラ
ーポインターを得る。第2の発生方法はw1〜Wn.P
及びQの各ベクトルを(n+2)個の異なるプロツク信
号中に分散配置し、各プロツク毎に各プロツク用の誤り
検査ベクトル(CRCCなど)を付加して伝送し、受信
時にはプロツク単位で誤り検査を行ない、誤つているプ
ロツク信号中のベクトルはすべて誤つているものとして
エラーポインターを得る方法である。上記のエラーポイ
ンターを利用した隣接符号訂正は、従来は第1図又は第
2図に示す如き回路により行なわれていた。第1図中、
入力端子1に情報ベクトルw1〜Wnと誤り訂正用ベク
トルPlQが夫々順次受信人力され、部分シンドローム
S1の生成回路2とT−n−1を乗じる乗算回路4に夫
々印加される。このS1生成回路2は(7)式のS″1
を算出する回路で、ここでは並列で演算する例を示して
おり、m個の排他的論理和回路とm個のレジスタとで第
3図に示す如く構成されており、もし1つのプロツクの
訂正演算が終了する前に次のプロツクの訂正演算を行な
いたい場合には、そのパラレル出力(WiCf)Wj)
を、次のプロツクのS′1算出が開始される前にレジス
タ3に一時記憶しておけばよい。一方、入力信号は排他
的論理和回路により構成されている乗算回路4によりT
−n−1を乗じられた後変形されたS2を生成する回路
(以下、これを「S2生成回路」という)5に印加され
る。The first generation method is W1 to Wn. P. While receiving each vector of Q, the signal corresponding to each vector (for example, NRZ, MF
An error pointer is obtained by observing the envelope of the vector (M, etc.) and determining the vector as an error if it deviates from a predetermined level. The second generation method is w1 to Wn. P
The vectors of and Q are distributed among (n+2) different block signals, and an error check vector (CRC, etc.) for each block is added and transmitted for each block, and error checking is performed for each block at the time of reception. In this method, all vectors in the block signal that are erroneous are assumed to be erroneous and an error pointer is obtained. The above-mentioned adjacent code correction using the error pointer has conventionally been carried out by a circuit as shown in FIG. 1 or 2. In Figure 1,
The information vectors w1 to Wn and the error correction vector PlQ are sequentially received at the input terminal 1, and applied to the generation circuit 2 of the partial syndrome S1 and the multiplication circuit 4 for multiplying by Tn-1. This S1 generation circuit 2 is S″1 in equation (7).
Here, an example of parallel calculation is shown, and it is configured as shown in Figure 3 with m exclusive OR circuits and m registers. If you want to perform a correction operation for the next block before the operation ends, use its parallel output (WiCf) Wj)
may be temporarily stored in the register 3 before the calculation of S'1 of the next block is started. On the other hand, the input signal is transmitted to T
It is applied to a circuit (hereinafter referred to as "S2 generation circuit") 5 that generates S2 that has been transformed after being multiplied by -n-1.
S2生成回路5は第4図に示す如くm個のレジスタ(エ
ツジトリガタイプのフリツプフロツプ)と(m+1)個
以上の排他的論理和回路(同図には1で示す)とより構
成されており、最初フリツプフロツプ(レジスタ)がク
リア状態であつたら、最初のクロツクパルスCK入来時
にパラレル入力がそのまま出力され、次のクロツクパル
スCKにて最初のベクトルにTが乗じられると共にパラ
レル入力のベクトルが加算される。この結果、入力端子
1、乗算回路4の出力、S2生成回路5の出力との関係
は次のようになる。なお、P入力時には第4図のクロツ
クパルスCKを印加しないので、S2生成回路5の出力
は変化しない。As shown in FIG. 4, the S2 generation circuit 5 is composed of m registers (edge trigger type flip-flops) and (m+1) or more exclusive OR circuits (indicated by 1 in the figure). If the flip-flop (register) is initially in a clear state, the parallel input is output as is when the first clock pulse CK is received, and at the next clock pulse CK, the first vector is multiplied by T and the vector of the parallel input is added. As a result, the relationship among the input terminal 1, the output of the multiplication circuit 4, and the output of the S2 generation circuit 5 is as follows. Incidentally, since the clock pulse CK shown in FIG. 4 is not applied at the time of P input, the output of the S2 generation circuit 5 does not change.
次に、Wi.Wjの誤りに対応してi個のクロツクパル
スを第1図のS2生成回路5に印加し、またそのとき入
力端子1は0としておくと、S2生成回路5の出力はと
なる。Next, Wi. If i clock pulses are applied to the S2 generation circuit 5 of FIG. 1 in response to an error in Wj, and the input terminal 1 is set to 0 at this time, the output of the S2 generation circuit 5 is as follows.
この出力は加算回路6に印加され、ここでS1生成回路
2よりの出力S′1と加算されてSO−S′11si−
n−1・s′2が算出される。この加算回路6の出力S
。は、もし1プロツクの訂正演算終了前に次のプロック
の訂正演算を開始する場合に&ζ レジスタ7により一
時記憶されれ後AND回路9に印加され、誤りベクトル
Wi、Wjに対応したマトリクス(1(+)Ti−j)
−1とS。の乗算が行なわれる。一方、m行m列のマト
リクス(I[有]T−k)−1Mk(k−j−1)の各
データは前もつて演算されてその結果を記憶装置(例え
ばリード・オンリ・メモリ(ROM))8に言C瞳され
ており、そのうち制御回路8aによりマトリクスM1〜
MO−,のうちの一つのMkが選択され、更に制御回路
8bによりマトリクスMkの第1行〜第m行までの行が
順次選択される。This output is applied to the adder circuit 6, where it is added to the output S'1 from the S1 generating circuit 2 and SO-S'11si-
n-1·s'2 is calculated. The output S of this adder circuit 6
. is temporarily stored in the &ζ register 7 and then applied to the AND circuit 9, in order to generate the matrix (1( +)Ti-j)
-1 and S. Multiplication is performed. On the other hand, each data in the matrix (I[Tk)-1Mk(k-j-1) with m rows and m columns is calculated in advance and the results are stored in a storage device (for example, a read-only memory (ROM)). )) 8, and the control circuit 8a controls the matrix M1~
One Mk of MO- is selected, and the rows from the first row to the mth row of the matrix Mk are sequentially selected by the control circuit 8b.
このように、制御回路8a,8bによつてコントロール
されるROM8の出力(11Ti−j)−1と、レジス
タ7の出力(S′14Ti−n−1・s″2)とがAN
D回路9にて夫々のビット毎に掛算された後、加算回路
10にてGF2の加算が行なわれる。この結果、加算回
路10より(9)式に従つて算出された情報ベクトルW
jの各元がマトリクスMkの行の選択に対応してシリア
ル信号(直列信号)として順次出力される。このシリア
ル信号はシフトレジスタ11により直並列変換された後
加算回路12の一方の端子に印加される。このとき、レ
ジスタ3に記憶されているデータ(Wi4Wj)が加算
回路120他方の端子に入力されており、従つて加算回
路12の出力は、Wi4Wj4Wj−Wiに従つて算出
された情報ベクトルWiが出力される。更にWiの所定
の送り出し終了後レジスタ3(又は1プロツクの訂正終
了後に次のプロツクの訂正を行なう場合はレジスタ3と
7は不要となるから、その場合はS1生成回路2)をク
リアすることにより、加算回路12のSl,入力には零
ベクトルが印加されることになり、従つて加算回路12
の出力には他方の入力端子に印加されている訂正復元さ
れたW・jがそのまま出力されることとなる。In this way, the output (11Ti-j)-1 of the ROM 8 controlled by the control circuits 8a and 8b and the output (S'14Ti-n-1・s''2) of the register 7 are AN
After each bit is multiplied by the D circuit 9, the addition circuit 10 adds GF2. As a result, the information vector W calculated by the addition circuit 10 according to equation (9)
Each element of j is sequentially output as a serial signal in accordance with the selection of a row of matrix Mk. This serial signal is serial-parallel converted by a shift register 11 and then applied to one terminal of an adder circuit 12. At this time, the data (Wi4Wj) stored in the register 3 is input to the other terminal of the adder circuit 120, and therefore the output of the adder circuit 12 is the information vector Wi calculated according to Wi4Wj4Wj-Wi. be done. Furthermore, after completing the specified transmission of Wi, by clearing register 3 (or registers 3 and 7 are unnecessary if the next block is to be corrected after one block has been corrected, in that case, S1 generation circuit 2). , a zero vector is applied to the Sl input of the adder circuit 12, and therefore the adder circuit 12
The corrected and restored W·j applied to the other input terminal is output as is.
次に第2図示のシリアル出力を得る従来回路につき説明
するに、第1図示回路に比較してレジスタ3の代りにシ
フトレジスタ13が設けられ、更にAND回路14が付
加されているが、シフトレジスタ11は不要で、また加
算回路12″はm元パラレルでなく1元分のみでよい。Next, to explain the conventional circuit for obtaining the serial output shown in the second figure, compared to the circuit shown in the first figure, a shift register 13 is provided instead of the register 3, and an AND circuit 14 is added. 11 is not necessary, and the adder circuit 12'' need only be for one element instead of m-parallel.
シフトレジスタ13はS1生成回路2よりのS′1出力
を記憶しておくと共に、直並列変換器としても動作する
レジスタで、第5図示の如き構成とされる。さて加算回
路10からはWjの各元Wjl、・・・、Wjmが順次
出力されるが、そのときシフトレジスタ13も同じタイ
ミングでS′1の各元(WillWjl)、(Wi2l
Wj2)、・・・、(WirrllWjrrl)が順次
出力されるようにし、またそのときAND回路14は閉
じておくと、加算回路12′の出力には順次Wil〜W
inlが得られる。The shift register 13 is a register that stores the S'1 output from the S1 generation circuit 2 and also operates as a serial/parallel converter, and has a configuration as shown in FIG. Now, the adder circuit 10 sequentially outputs each element Wjl, .
Wj2), .
inl is obtained.
このときAND回路14を通つたWj,〜Wjnlをシ
フトレジスタ13のシリアル入力端子に印加することに
より、シフトレジスタ13がS″1のm元すべて出力し
終つたときには、Wjが言d臆されていることになり、
従つてAND回路14を開いてシフトレジスタ13の出
力を続けて行なうと、Wjの各元Wjl〜Wjmが加算
回路12′の出力端子に得られる。以上のように従来の
2重誤り訂正装置によれば、マトリクスMk−(1(1
11)T−k)−1のデータ(要素)すべてをROM8
に記憶していたが、マトリクスMkはm行m列であり、
更にkはj−1であるから、前記のベクトルW1〜WO
.P.Qを夫夫14ビツトで、またnを6とした場合は
、kが最大5となるから、ROMが用いられる記憶装置
8の記憶容量としては最小限980(−14×14×5
)ビツトも必要となり、実際のROMの容量は2N(N
は自然数)であるものが多いから更に多くの容量のRO
Mを使用しなければならず不経済であつた。またROM
は他の論理素子と比較して高価であり、匍脚回路も第1
図、第2図に8a,8bで示す如く必要となり、訂正回
路のうちROM及びその周辺の回路のコストは大きく影
響しているから、上記の従来装置は高価であるという欠
点があつた。本発明は上記の欠点を除去したものであり
、第6図以下の図面と共にその各実施例について説明す
る。At this time, by applying Wj, ~Wjnl passed through the AND circuit 14 to the serial input terminal of the shift register 13, when the shift register 13 has finished outputting all m elements of S″1, Wj is suppressed. There will be
Therefore, if the AND circuit 14 is opened and the output of the shift register 13 is performed continuously, each element Wjl to Wjm of Wj is obtained at the output terminal of the adder circuit 12'. As described above, according to the conventional double error correction device, the matrix Mk-(1(1
11) All data (elements) of T-k)-1 are stored in ROM8
I remembered that the matrix Mk has m rows and m columns,
Furthermore, since k is j-1, the vectors W1 to WO
.. P. If Q is 14 bits and n is 6, then k is 5 at maximum, so the minimum storage capacity of storage device 8 using ROM is 980 (-14 x 14 x 5
) bits are also required, and the actual ROM capacity is 2N (N
is a natural number), so even more capacity RO
M had to be used, which was uneconomical. Also ROM
is expensive compared to other logic elements, and the torpedo circuit is also the first
8a and 8b in FIG. 2, and the cost of the ROM and its peripheral circuits among the correction circuits has a great influence, so the above-mentioned conventional device had the disadvantage of being expensive. The present invention eliminates the above-mentioned drawbacks, and each embodiment thereof will be described with reference to the drawings from FIG. 6 onwards.
まず、本発明装置により行なわれる訂正演算の方法につ
いて説明する。First, a method of correction calculation performed by the apparatus of the present invention will be explained.
訂正時には
の演算を行なうのであるが、必ずしもi<jでなくとも
よく、そのときにはi−jとして一(n一1)〜−1と
1〜(n−1)の計(2n−2)種類の(14Ti−j
)−1のマトリクスがある。Calculations are performed during correction, but i does not necessarily have to be <j; in that case, i-j is a total of (2n-2) types of 1 (n-1) to -1 and 1 to (n-1). (14Ti-j
)-1 matrix.
従つて(14Ti−j)−1−(18)T−k)−1と
おいたとき、k−1〜(n−1)、k=−1〜(n−1
)において本発明は実施可能である。Therefore, when we set (14Ti-j)-1-(18)T-k)-1, k-1~(n-1), k=-1~(n-1
), the present invention can be implemented.
求めるベクトルWjと途中の算出ベクトルSOとの間に
は(8)′式の関係がある。There is a relationship expressed by equation (8)' between the vector Wj to be sought and the intermediate calculated vector SO.
そして両辺に(14T−k)−1を乗すると(9)式の
が得られる。Then, by multiplying both sides by (14T-k)-1, equation (9) is obtained.
いまm行m列のマトリクス(11T−k)−1を次式の
ように考える。すなわち、M8m列のマトリクスMkを
Mkl〜Mkrrlの各m元行マトリクスm個に分解す
る。Now consider a matrix (11T-k)-1 with m rows and m columns as shown in the following equation. That is, the matrix Mk of M8m columns is decomposed into m matrices of m elements and rows of each of Mkl to Mkrrl.
いまWj−(a1、A2、・・−、Am)t(ただしt
は転置を示す)とするとl行のMklについてはとなつ
てWj(7)l番目の元alが算出される。本発明の第
1実施例はMkl〜Mkrrlの一次結合の行マトリク
スを、同じe1〜Emを用いて生成された(e1〜En
lのうち少なくとも1つはOでない)(n−1)種類、
すなわちMld.M2d、・・・、Mn−1、dの行マ
トリクスをi−j−一kの値によつて一つ選択的に用い
て訂正演算をするのであるが、最初Mkdとはしないで
任意に選んだ1つのMklについて説明する。Now Wj-(a1, A2,...-, Am)t (however, t
indicates transposition), then for Mkl in the l row, the l-th element al is calculated as Wj(7). In the first embodiment of the present invention, a row matrix of a linear combination of Mkl to Mkrrl is generated using the same e1 to Em (e1 to En
At least one of l is not O) (n-1) types,
That is, Mld. The correction operation is performed by selectively using one row matrix of M2d,..., Mn-1, d depending on the value of i-j-1k. Only one Mkl will be explained.
Mkdによる訂正演算はこのI(−1〜m)の各Mkl
による各訂正演算の線形結合となつている。更にはMk
は正則なm行m列のマトリクスでMkl〜Mknlは一
次独立だから、任意に作成したm元行マトリクス(零マ
トリクスを除く)はMkl〜Mkmの一次結合、すなわ
ち(社)式で表わされる。従つて、(n−1)個のMk
dのうち1個は零マトリクスを除くどんなm元行マトリ
クスでもよいことになる。なお、Q試中e1〜Enlは
GF2の元、すなわち、1か0である。本発明はm個の
整数をL1、L2J・・、LmとするとTLlSO.T
L2SO、・・・、TLmsOとMklとから訂正演算
ができることを示し、後にMkdに拡張する。The correction calculation using Mkd is performed using each Mkl of this I (-1 to m).
It is a linear combination of each correction operation. Furthermore, Mk
is a regular matrix with m rows and m columns, and Mkl to Mknl are linearly independent. Therefore, an arbitrarily created m-element row matrix (excluding the zero matrix) is a linear combination of Mkl to Mkm, that is, expressed by the (company) formula. Therefore, (n-1) Mk
One of d can be any m-element row matrix except the zero matrix. Note that Q trials e1 to Enl are elements of GF2, that is, 1 or 0. In the present invention, if m integers are L1, L2J..., Lm, TLlSO. T
We show that correction operations can be performed from L2SO, . . . , TLmsO and Mkl, and will later extend this to Mkd.
そこで、まず(5)式の両辺にTLを乗すると(ただし
、Lは任意の整数)、ここで
であるから、(5)式は
となる。Therefore, first, if both sides of equation (5) are multiplied by TL (where L is an arbitrary integer), then equation (5) becomes as follows.
いまTLf)l行目の行マトリクスLTlをとすると、
TL−SOにMklを乗すると(至)式にしたWiのl
番目の元alの代りにTL−Wjf)1番目の元LTl
−Wjが算出される。Now let the row matrix LTl of the l-th row (TLf) be,
Multiplying TL-SO by Mkl gives the formula (to) Wi's l
TL−Wjf instead of the th element al) the 1st element LTl
-Wj is calculated.
すなわち、Wi−(a1、A2、・・・ Am)T,.
TL−Wj(Lal、La2、・・・、Lanl)tと
表すと(ただし、tは転置行列であることを示す)、従
つて)TLlO(LlTl)L2T2、″″。That is, Wi-(a1, A2, . . . Am)T, .
If expressed as TL-Wj(Lal, La2, . . . , Lanl)t (where t indicates a transposed matrix), then) TLlO(LlTl)L2T2,''''.
LlTm)t、・・・、TLm−(Lrr]T1、Lm
T2、・・・LmTm)tとおくと、TLl・SO−T
L2・SO、・・・、TLm−SOVC.Mklを乗じ
て侍られるベクトルW−/はWj″−(a1″、A2(
・・・ A.″)tとすると、となる。LlTm)t,...,TLm-(Lrr]T1,Lm
T2,...LmTm)t, TLl SO-T
L2・SO,..., TLm-SOVC. The vector W-/ that can be served by multiplying by Mkl is Wj″-(a1″, A2(
...A. ″) t, then it becomes.
ここでとし、(24−1)式を書き改めると次の(25
)式が得られる。Here, if we rewrite equation (24-1), we get the following (25
) formula is obtained.
(至)式をマトリクス表示すると 従ってWjを得るには を計算すればよい。(to) Displaying the expression as a matrix Therefore, to obtain Wj All you have to do is calculate.
このとき1rff−1が求まるためにはlτが正則でな
ければならないが、TLI、TL2、...、TLmが
線形独立ならIT’は正則となる。次に上記の如く、任
意に選定した1つのMklの代りにMk,−e1・Mk
ll・・・4em−Mkmを用いた場合に求まるベクト
ルをWj″としてWj″=(a曾 AJJ・・、AM)
tとすると、(有)式のl−1〜mの一次結合として次
式が得られる。In this case, lτ must be regular in order to find 1rff-1, but TLI, TL2, . .. .. , TLm are linearly independent, IT' is regular. Next, as mentioned above, instead of one arbitrarily selected Mkl, Mk, -e1・Mk
Let Wj″ be the vector found when using ll...4em-Mkm, and Wj″ = (a so AJJ..., AM)
When t is assumed, the following formula is obtained as a linear combination of l-1 to m in the formula.
また(資)式から1T″一(LlTl.L2Tl、・・
・、LmTl)tであるから、これらから次式が成立す
る。従つて、。Also, from the (funding) formula, 1T''-(LlTl.L2Tl,...
, LmTl)t, the following equation holds from these. Therefore,.
τ−1・Wj″.).り情報列ベクトルWjを求めれば
よい。。′r′の正則も1T′と同様である。そしてl
τ−1又lちf−1はkによらないマトリクスであり、
制御回路は不要で排他的論理和回路だけを用いて比較的
簡単に構成できるが、更にMlcdンを選んで簡単な構
成となるものを採用すればよい(n−1個のMkdと0
τ−1を合わせて全体として簡単な構成となるものを選
べばよい。)。第6図は本発明装置の第1実施例のプロ
ック系統図を示す。τ−1・Wj''.).The information sequence vector Wj can be found. The regularity of 'r' is also the same as that of 1T'.
τ-1 or f-1 is a matrix independent of k,
A control circuit is not required and it can be configured relatively easily using only an exclusive OR circuit, but it is also possible to select Mlcd and adopt a simple configuration (n-1 Mkd and 0
What is necessary is to select a structure that, when combined with τ-1, provides a simple configuration as a whole. ). FIG. 6 shows a block system diagram of the first embodiment of the device of the present invention.
同図中、第1図と同一構成部分には同一番号を符し、そ
の説明を省略する。加算回路6より取り出された列ベク
トルSO出力はTLを乗する乗算回路15に供給され、
これにより 又はTL−SO.T2L−SOJ・・、T
mL−SOの出力がAND回路9″に印加される。上記
の乗算回路15は一般的には第7図に示す如く情報ベク
トルの元の数mと同数のレジスタ201〜20rr1と
複数個の排他的論理和回路211〜21mとで構成され
ており、端子22よりクロツクパルスが1つ入来する毎
にレジスタ201〜20mに記憶されているベクトルに
TLを乗する。一方、16はi−j(=−k)の値によ
つてm行m列のマトリクス(11Ti−j)−1のm行
の行マトリクスの一次結合行マトリクスMkdを選択的
に出力するROM又はデコーダ等よりなる記憶装置で一
前記したように(自)式中のMkl〜Mkmのうち任意
の一次結合(0マトリクスを除く)である行マトリクス
Mkdlすなわちを記憶している。In the figure, the same components as in FIG. 1 are denoted by the same numbers, and their explanations will be omitted. The column vector SO output taken out from the adder circuit 6 is supplied to a multiplier circuit 15 which multiplies it by TL.
Hereby or TL-SO. T2L-SOJ...,T
The output of the mL-SO is applied to an AND circuit 9''.The multiplication circuit 15 described above generally has the same number of registers 201 to 20rr1 as the number m of elements of the information vector and a plurality of exclusive registers, as shown in FIG. The vector stored in the registers 201 to 20m is multiplied by TL every time one clock pulse is received from the terminal 22. On the other hand, 16 is ij ( = -k), which selectively outputs a linear combination row matrix Mkd of an m-row matrix (11Ti-j)-1 of an m-row m-column matrix (11Ti-j)-1, depending on the value of As described above, the row matrix Mkdl, which is an arbitrary linear combination (excluding the 0 matrix) of Mkl to Mkm in the formula (self), is stored.
i−j−一kに対応して一つの行マトリクスMkdを制
御回路17の制御の下に選択してM1回路9及び加算回
路10よりなる内積演算回路23へ出力し、ここで乗算
回路15よりのSO.TL−SO.T2L−SO、・・
・、T(m−1)・SOのパラレル出力と内積演算され
る。内積演算回路23は第8図に示す如く第1図のAN
D回路9に相当するANDゲート群と、加算回路10に
相当する排他的論理和回路群より構成されており、情報
ベクトルWjの線形変換ベクトルWj″の各要素が順次
直列的にシフトレジスタ18に出力され、前記端子22
よりのクロツクパルスに同期してシフトレジスタ18に
記憶される。One row matrix Mkd corresponding to i-j-1k is selected under the control of the control circuit 17 and outputted to the inner product calculation circuit 23 consisting of the M1 circuit 9 and the addition circuit 10, where it is outputted from the multiplication circuit 15. SO. TL-SO. T2L-SO...
, T(m-1).The inner product is calculated with the parallel output of SO. As shown in FIG. 8, the inner product calculation circuit 23 has the AN of FIG.
It is composed of a group of AND gates corresponding to the D circuit 9 and a group of exclusive OR circuits corresponding to the adder circuit 10, and each element of the linear transformation vector Wj'' of the information vector Wj is serially transferred to the shift register 18. is output and the terminal 22
The data is stored in the shift register 18 in synchronization with the next clock pulse.
ここで、隣接符号では2ワード誤りの訂正を並列にでは
なく直列に行なうのは次の理由による。Mk−SO−W
jの演算はMkのM2個の元のうちOでない(すなわち
1)元の数からm個引いた数だけの排他的論理和回路が
あればシリアルでなくパラレルにWjを算出することが
できるが、Mkは複数個ありすべてのMkの演算を行な
うためにはMkの内容の切換えを行なわなければならな
い。そのために回路はm(m−1)個の排他的論理和回
路、M2個のAND回路、M2個のAND回路制御用M
2ビツトメモリが必要で、かつ、M2ビツトをパラレル
出力する必要があり、回路規模が大きくなる。またM2
が9以上になるとM2ビツトのパラレル出力できるRO
Mは現存せず、従つてM2ビツトのメモリがM2×(n
−1)ビツトのROMとM2ビツトのパラレル出力する
レジスタとの2重構造で、カリ、それらの制御回路力泌
要となる。例えばmが14のときはもともと必要なRO
Mに加えてM2ビツトすなわち196ビツト分のレジス
タとROM及びそのレジスタの制御回路、182個の排
他的論理和回路、196個のAND回路が必要となり、
実用的でない。従つて一般には隣接符号のエラーポイン
ターによる2重誤り訂正はパラレルではなくシリアルで
行なわれる。シフトレジスタ18により直並列変換され
て取り出された情報ベクトルW・の線形変換となつてj
いるWj′又はWj″は線形変換回路(1T′−1又は
oτ−1を乗する回路)19に供給され、ここでm行m
列の線形変換が行なわれて情報ベクトルWjの各要素が
夫々訂正復元されて並列出力される。Here, the reason why two-word errors are corrected in series instead of in parallel in adjacent codes is as follows. Mk-SO-W
For the operation of j, Wj can be calculated in parallel instead of serially if there are exclusive OR circuits equal to the number of elements that are not O (i.e. 1) out of M2 elements of Mk minus m elements. , Mk, and in order to perform calculations on all Mk, the contents of Mk must be switched. For this purpose, the circuit consists of m (m-1) exclusive OR circuits, M2 AND circuits, and M2 AND circuits for control.
A 2-bit memory is required, and M2 bits must be output in parallel, increasing the circuit scale. Also M2
When 9 or more, the RO can output M2 bits in parallel.
M does not currently exist, so M2 bits of memory are M2×(n
-1) The dual structure of a bit ROM and a register that outputs M2 bits in parallel requires a large amount of control circuit power. For example, when m is 14, the originally required RO
In addition to M, a register for M2 bits, that is, 196 bits, a ROM, a control circuit for the register, 182 exclusive OR circuits, and 196 AND circuits are required.
Not practical. Therefore, double error correction using error pointers of adjacent codes is generally performed serially rather than in parallel. j
Wj' or Wj'' is supplied to a linear conversion circuit (circuit for multiplying 1T'-1 or oτ-1) 19, where
Column linear transformation is performed, and each element of the information vector Wj is corrected and restored, and output in parallel.
ここで、上記の線形変換回路19は、排他的論理和回路
により構成されており、簡単に構成できる。すなわち、
シフトレジスタ18の並列出力Wj″は(Ar,.aJ
l・・・ AJ)tであるから、所定の情報列ベクトル
Wj−(a1、A2、・・・、Am)tを得ようとする
場合、線形変換回路19のマトリクス演算をマトリクろ
f−1=〔Z1、Z2J・・、Zm〕tとし、Z1〜Z
mは各々行マトリクスとするとなる演算を行なうが、そ
のときある行マトリクスZlf)m個の元のうちOでな
いもの(1のもの)がK個あつたとするとa1−zl−
Wj7を計算するためには、のうちZli−1(iは1
〜m)である項だけの演算をすればよく、Zll−1で
あるiをi1、I2、・・・ Ikとするとを計算すれ
ばよい。Here, the above-mentioned linear conversion circuit 19 is constituted by an exclusive OR circuit and can be easily constituted. That is,
The parallel output Wj″ of the shift register 18 is (Ar, .aJ
l...AJ)t, so when trying to obtain a predetermined information string vector Wj-(a1, A2,..., Am)t, the matrix operation of the linear conversion circuit 19 is performed by matrix f-1. = [Z1, Z2J..., Zm]t, Z1~Z
An operation is performed to treat each m as a row matrix. At that time, if there are K elements that are not O (1) among the m elements of a row matrix Zlf), then a1-zl-
In order to calculate Wj7, Zli-1 (i is 1
It is sufficient to calculate only the term ˜m), and let i, which is Zll-1, be i1, I2, . . . Ik.
従つて、(K−1)個の排他的論理和回路でalが計算
できる。同様にa1〜AmについてもZ1〜Zmの各1
の元の数から1だけ引いた排他的論理和回路で計算でき
る。従つて、。τ−1は正則だからZ,〜Zmとも各々
少なくとも1の元が1個はあり、Z(f)m行m列の元
のうち1の数をKMとすると上記のマトリクス演算のた
めに必要な排他的論理和回路の数は(KM一m)個でよ
いこととなる。第9図は本発明装置の第2実施例のプロ
ツク系続図を示す。Therefore, al can be calculated using (K-1) exclusive OR circuits. Similarly, for a1 to Am, each 1 of Z1 to Zm
It can be calculated using an exclusive OR circuit that subtracts 1 from the original number. Therefore,. Since τ-1 is regular, there is at least one element each of Z and ~Zm that is 1, and if KM is the number of 1 elements among the elements of Z(f) m rows and m columns, then the number required for the above matrix operation is The number of exclusive OR circuits may be (KM - m). FIG. 9 shows a block diagram of a second embodiment of the apparatus of the present invention.
本実施例はm−14、n=6の場合の例であり、線形変
換マトリクスTはXl4+X8+1の補助マトリクスと
している。This embodiment is an example in which m-14 and n=6, and the linear transformation matrix T is an auxiliary matrix of X14+X8+1.
5( は各 n−1 )種類の逆マトリクス となつている。5( is each n-1 ) type inverse matrix It is becoming.
乗算回路4″はT−7を乗する回路で、排他的論理和回
路7個で構成される。S2生成回路5でTi−7・S′
2が生成出力され、加算回路6でS1生成回路2の出力
S″1と加算され、SO−S″11T−7・S′.を得
て乗算回路24に入力する。24は第10図に示す回路
構成となつており、最初各レジスタ(14ビツト)をク
リア状態にしておき、端子25を閉じてS。The multiplication circuit 4'' is a circuit that multiplies T-7 and is composed of seven exclusive OR circuits.The S2 generation circuit 5 multiplies Ti-7.S'
2 is generated and output, and added to the output S''1 of the S1 generating circuit 2 in the adder circuit 6, SO-S''11T-7.S'. is obtained and input to the multiplication circuit 24. 24 has the circuit configuration shown in FIG. 10. First, each register (14 bits) is cleared, and the terminal 25 is closed.
を入力し、1つのクロツクCKを端子26に印加すると
S。がストアされる。次に端子25を開いてS。When CK is input and one clock CK is applied to terminal 26, S. is stored. Next, open terminal 25 and select S.
の入力を阻止し、端子26にクロツクCKを順次入力す
ると、順次Tを繰り返し乗じることになり、従つてクロ
ツクCKの個数に応じて順次S。.T−SO,.T2・
SOl・・・、Tl3・SOが出力端子24から出力さ
れる。一方、Wj.T−Wj、・・・、Tl3・Wjは
次のようになる。従つて、MkdとしてMkl、すなわ
ちM1〜M5の第1行1M11)M2llM3l)M4
l)M5lを用いると、これらはであるから、行マトリ
クスMll〜M5lをkに対応して選択して第9図の1
6′から出力し乗算回路24から順次出力されるS。If the input of the clock CK is blocked and the clock CK is sequentially input to the terminal 26, T will be repeatedly multiplied in sequence, and therefore the clock will be multiplied sequentially by S in accordance with the number of clocks CK. .. T-SO,. T2・
SOl..., Tl3.SO are output from the output terminal 24. On the other hand, W.J. T-Wj, . . . , Tl3·Wj are as follows. Therefore, Mkl as Mkd, that is, the first row of M1 to M5 1M11)M2llM3l)M4
l) Using M5l, these are , so select the row matrices Mll to M5l corresponding to k and use 1 in FIG.
6' and sequentially output from the multiplication circuit 24.
−Tl3・SOとマトリクス演算して得られるベクトル
W−7はW・〜JjTl3・Wjの各第1行を採つたベ
クトルとなり、そのときWj″と,T′は次のように表
わされる。従つて、Wj″からWjを求めるための線形
変換回路19の演算,′r′−1は次のようになる。
このマトリクス,T′−1の演算は排他的論理和回路7
個によつて実現できる。又、MkdとしてMk8を選択
したとき、即ちM1〜M5の第8行Ml8〜M58の行
マトリクスをkに対応して選択して記憶装置16゛から
出力するとき得られるベクトルWj″はWj−Tl3・
Wjの各第8行を採つた次の如きベクトルとなる。The vector W-7 obtained by matrix calculation with -Tl3.SO becomes a vector that takes each first row of W.~JjTl3.Wj, and then Wj'' and T' are expressed as follows. Therefore, the calculation 'r'-1 of the linear conversion circuit 19 for determining Wj from Wj'' is as follows.
The operation of this matrix, T'-1 is performed by the exclusive OR circuit 7
This can be achieved by individuals. Further, when Mk8 is selected as Mkd, that is, when the row matrix of the eighth row Ml8 to M58 of M1 to M5 is selected corresponding to k and outputted from the storage device 16', the obtained vector Wj'' is Wj - Tl3.・
The following vectors are obtained by taking each of the 8th rows of Wj.
従つて、このWj″からWjを得るマトリクス演算.′
r′−1は線形変換回路19によつて次のようになる。Therefore, matrix operation to obtain Wj from this Wj''.'
r'-1 is determined by the linear conversion circuit 19 as follows.
この。this.
T′−1の演算回路は単に配線の入換えのみで実現でき
、排他的論理和回路は不要である。またMl8〜M58
の記憶は必ずしもROMは必要でなくいくつかのゲート
によるデコーダ回路で構成できる。Ml8〜M58の各
1夕1泪、14夕1泪は不変であり、2夕1泪と4夕1
泪、3夕1泪と5夕1泪と7列目は同一であり、従つて
例えばk−1〜5を表わす3ビツト以上からなるコード
をMl8〜M58の不変の列と同一の列とを夫々除いた
残りの9列のコードに変換するデコーダ回路により実現
できる。ところで、この例ではWj7とWjの変換関係
は規則的で比較的簡単であり、次のようにしてもWjに
変換できる。例えばM1〜M5の第14行目の行マトリ
クスを用いるとであるから、このとき第11図に示す回
路を第9図に示す加算回路1σとシフトレジスタ11の
間に挿入し、入力端子25に加算回路10′の出力を印
加する。The T'-1 arithmetic circuit can be realized simply by replacing the wiring, and an exclusive OR circuit is not required. Also Ml8~M58
The memory does not necessarily require a ROM, but can be constructed by a decoder circuit using several gates. Ml8 to M58, 1 tear on each 1st night, 1st tear on 14th night are unchanged, 1st tear on 2nd night and 1st tear on 4th night.
The 7th column is the same as the 3rd and 1st tears, the 5th and 1st tears, and therefore, for example, if a code consisting of 3 or more bits representing k-1 to 5 is assigned to the same column as the unchanged column of M18 to M58, This can be realized by a decoder circuit that converts the codes of the remaining nine columns after each removal. By the way, in this example, the conversion relationship between Wj7 and Wj is regular and relatively simple, and the conversion to Wj can also be performed as follows. For example, if the 14th row matrix of M1 to M5 is used, the circuit shown in FIG. 11 is inserted between the adder circuit 1σ and the shift register 11 shown in FIG. The output of the adder circuit 10' is applied.
最初6ビツトシフトレジスタ27をクリア状態としてお
き、加算回路1σの出力Ar、a;、・・・を順次印加
していくと共に、シフトレジスタ27にクロツクCKを
順次印加すると排他的論理和回路26の出力端子からは
順次Al4、Al3、Al2、・・・、a1が得られる
。第12図は本発明装置の第3実施例のプロツク系統図
を示す。Initially, the 6-bit shift register 27 is kept in a clear state, and when the outputs Ar, a;, . Al4, Al3, Al2, . . . , a1 are sequentially obtained from the output terminal. FIG. 12 shows a block system diagram of a third embodiment of the apparatus of the present invention.
同図中、第9図と同一構成部分には同一番号を付し、そ
の説明を省略する。第12図において、30はデータセ
レクタで、S1生成回路2よりのS1出力と、乗算回路
4″よりのT−7を乗じて得た各ワード出力と、Φベク
トルの3つの選択を行なつていずれか1つの出力を通過
させて乗算回路24″へ印加する。この乗算回路24′
は第10図示の乗算回路24から14個のAND回路を
取り去つた構成とされており、従つて同図に1で示す排
他的論理和回路にデータセレクタ30を通過した14ビ
ツトのパラレル入力が印加される。いまデータセレクタ
30が乗算回路1の出力を選択通過させたものとすると
、このときは乗算回路24″でTi−8・S!が算出さ
れ、しかる後にデータセレクタ30がS1生成回路2の
S/出力を選択通過するように切換わると、乗算回路2
4′でs/1Ti−7・S25が、すなわちSOが算出
される。In the figure, the same components as those in FIG. 9 are given the same numbers, and their explanations will be omitted. In FIG. 12, 30 is a data selector, which selects the S1 output from the S1 generation circuit 2, each word output obtained by multiplying T-7 from the multiplication circuit 4'', and the Φ vector. One of the outputs is passed through and applied to the multiplication circuit 24''. This multiplication circuit 24'
has a configuration in which 14 AND circuits are removed from the multiplier circuit 24 shown in FIG. applied. Assuming that the data selector 30 selectively passes the output of the multiplier circuit 1, at this time the multiplier circuit 24'' calculates Ti-8·S!, and then the data selector 30 selects the S/S of the S1 generation circuit 2. When the output is switched to pass through the selection, the multiplier circuit 2
4', s/1Ti-7·S25, that is, SO is calculated.
その後データセレクタ30は零ベクトルを出力するよう
に切換えられ(一般のデータセレクタICでは2、4、
8種類のうち一つを選択する機能と共に、ストローブ機
能を有しており、ストローブをオフにすると出力には零
ベクトルが出力される。)、これにより乗算回路24′
より順にS。、T−SOl・・・、Tl3・SOが出力
される。すなわち、本実施例によれば、データセレクタ
30を設けることにより、S2算出に用いるTを乗する
回路を、SOに繰り返しTを乗することによつてS。、
T−SO、・・・、Tl3・SOを順次算出する回路と
共用できることになる。乗算回路24″の出力は以下第
9図と同様の信号処理を受けて訂正演算が行なわれる。
次にシリアル出力を得る場合の本発明装置の第4実施例
について第13図と共に説明するに、同図中、第12図
と同一構成部分には同一番号を付し、その説明を省略す
る。Thereafter, the data selector 30 is switched to output a zero vector (in general data selector ICs, it outputs 2, 4,
It has a strobe function as well as a function to select one of eight types, and when the strobe is turned off, a zero vector is output. ), thereby the multiplier circuit 24'
S in order. , T-SOl..., Tl3.SO are output. That is, according to the present embodiment, by providing the data selector 30, a circuit for multiplying T used for S2 calculation can be used to repeatedly multiply SO by T. ,
This means that it can be shared with the circuit that sequentially calculates T-SO, . . . , Tl3·SO. The output of the multiplier circuit 24'' is subsequently subjected to signal processing similar to that shown in FIG. 9, and correction calculations are performed.
Next, a fourth embodiment of the apparatus of the present invention for obtaining serial output will be described with reference to FIG. 13. In the figure, the same components as those in FIG. 12 are designated by the same numbers and their explanations will be omitted.
第13図において、行マトリクスはMl8〜M58が用
いられており乗算回路2Lの出力は1プロツクの訂正終
了前に次のプロツクの訂正を行なう場合にレジスタ7″
に記憶される。一方、31はレジスタで、S1生成回路
2よりのS1出力を記憶すると共に、加算回路10′の
シリアル出力が供給されて記憶される。これにより、レ
ジスタ31より最初にWiがシリアルに出力され、その
時算出したWjを記憶しておくことによりW・がレジス
タ31よりシリアルに出力Jされることとなる。In FIG. 13, M18 to M58 are used as the row matrix, and the output of the multiplier circuit 2L is stored in the register 7'' when the next block is to be corrected before the correction of one block is completed.
is memorized. On the other hand, 31 is a register that stores the S1 output from the S1 generation circuit 2, and also receives and stores the serial output of the adder circuit 10'. As a result, Wi is serially outputted from the register 31 first, and W. is serially outputted from the register 31 by storing Wj calculated at that time.
ただし、このときはライン10aをOとすることが必要
である。またWilWjともに元の配列が入換わつて(
A8〜a1、Al4〜A9の配列)出力されることにな
る。次に前記AI式、l式により誤り訂正用ベクトルP
.Qが生成されており、かかる誤り訂正用ベクトルP.
Qを受信する場合の本発明装置の第5実施例について第
14図と共に説明する。However, in this case, it is necessary to set the line 10a to O. Also, in both WilWj, the original array is swapped (
Arrangements of A8 to a1 and Al4 to A9) will be output. Next, using the AI formula and l formula, the error correction vector P
.. Q has been generated, and the error correction vector P.Q has been generated.
A fifth embodiment of the present invention apparatus for receiving Q will be described with reference to FIG.
データバス32に入来した情報ベクトノレW1〜Wn.
(代)式により生成されたP..l式により生成された
Qは、乗算回路33,35に夫々供給され、乗算回路3
3よりW1〜WO、P,.Qの入力に応じてとされて出
力され、他方乗算回路35よりとされて出力され、次段
の積算回路34,36に供給され、ここで順次積算され
て、かつ、誤つているWi,.Wjの積算を除くことに
より、乗算回路33,35は各G1〜Gn.Hl〜Hn
のうち最大のものをGmax.Hnlaxとして各G
−HTma−X,.TmaXの固定マトリ
クス乗算回路(排他的論理和回路で構成)と、印加され
るクロツクパルスの数によつて各TO、T1、・・・、
TOmax又はTO,.Tl、・・・、THmaxを乗
じることができる第10図に示すような回路とによつて
実現できる。Information vectors W1 to Wn that have entered the data bus 32.
P. .. Q generated by the l formula is supplied to multiplication circuits 33 and 35, respectively, and the multiplication circuit 3
3 from W1 to WO, P, . According to the input of Q, Wi, . By excluding the integration of Wj, the multiplier circuits 33 and 35 calculate each of G1 to Gn. Hl~Hn
The maximum among them is Gmax. Each G as Hnlax
-HTma-X,. Each TO, T1,...
TOmax or TO,. This can be realized by a circuit as shown in FIG. 10 which can multiply Tl, . . . , THmax.
また回路34,36は第3図に示すような回路で実現で
きる。一G・ −H・
上記TlSl出力とTlS2出力とは加算回路37によ
り夫々加算されることによりS。Further, the circuits 34 and 36 can be realized by a circuit as shown in FIG. 1G.
G・ −H・(TlSllTlS2)が算出
され、このSOは第4図、第10図に示すような回路構
成のTN(NはO以外の整数)を乗する乗算回路38に
供給され、ここで順次S。G・−H・(TlSllTlS2) is calculated, and this SO is supplied to a multiplication circuit 38 which multiplies by TN (N is an integer other than O) having a circuit configuration as shown in FIGS. 4 and 10, where Sequential S.
にTNを繰り返し乗する演算がなされることにより、こ
れらのm元の列ベクトルはAND回路と排他的論理和回
路とで構成された内積演算回路(マトリクス演算回路)
39に供給され、ここで、記憶装置40よりのI.jの
組合せに応じて、制御回G・−G・路41により選択さ
れたマトリクス(Tjl4THj−Hi)−1のm行の
行マトリクスの一次・結合のm元行マトリクスとの内積
演算が行なわれる。By repeatedly multiplying TN by TN, these m-element column vectors are processed into an inner product calculation circuit (matrix calculation circuit) consisting of an AND circuit and an exclusive OR circuit.
39, where the I. In accordance with the combination of j, an inner product operation is performed between the m-row row matrix of the matrix (Tjl4THj-Hi)-1 selected by the control circuit G.-G.path 41 and the linear/combined m-element row matrix. .
ここで、第15図に48で示す従来の記憶装置について
説明するマトリクスMkの各1,.jのすべての組合せ
分を記憶し、かつ、I.jによつてマトリクスを選択す
る制御回路49と、マトリクスMkf)m行の各行マト
リクスを順次選択し出力させる制御回路50とにより制
御され、また従↑″紬二姓!1.で電=呼富,3の内積
演算を行なつている。Here, each of 1, . Store all combinations of I. It is controlled by a control circuit 49 that selects a matrix according to j, and a control circuit 50 that sequentially selects and outputs each matrix of m rows (matrix Mkf). , 3 is performed.
従つて記憶装置48の記憶容量は記憶装置40のそれよ
りも大であり、しかもその周辺の回路も多い。再び第1
4図の本発明の実施例につき説明すると内積演算回路3
9より取り出されたベクトルWj″(Wj″−Y−Wj
とする。Therefore, the storage capacity of the storage device 48 is larger than that of the storage device 40, and moreover, there are many peripheral circuits. 1st again
To explain the embodiment of the present invention shown in FIG. 4, the inner product calculation circuit 3
Vector Wj″ (Wj″−Y−Wj
shall be.
ただしYはm行m列のマトリクスである)の各元Ar.
aJ、・・・、AMのシリアル出力は第14図示のシフ
トレジスタ42により直並列変換され、更に線形変換回
路43で線形変換(Y−1・Wj7)することにより、
Wjが得られる。このWjは第4図や第10図のような
乗算回路44により、クロツクパルスの数の制御によつ
てTGj−01のマトリクス乗算がなされた後加算回路
45に供給され、ここで乗算回G−
G・−G・路34よりのTlSl(=WiC+)T
jlWj)と加算されてWiが算出される。(Y is a matrix with m rows and m columns) for each element Ar.
The serial outputs of aJ, . . . , AM are serial-parallel converted by the shift register 42 shown in FIG.
Wj is obtained. This Wj is subjected to matrix multiplication of TGj-01 by controlling the number of clock pulses by a multiplication circuit 44 as shown in FIG. 4 or FIG.
TlSl(=WiC+)T from G・-G・Road 34
jlWj) to calculate Wi.
この加算回路45の出力Wiと線形変換回路43よりの
Wjはデータセレクタ46に印加され、ここで切換えら
れてWi.Wjが順次出力される。このWilWjはエ
ラーポインターにより誤つていることが既知の情報ベク
トルであり、データセレクタ46より訂生復元されたW
i,.Wjが得られる。第14図示装置の訂正演算法は
、単位マトリクス1.TN.T2N、・・・、T(m−
1)Nが線形独立、又はTN,.T2Nl・・・、Tm
Nが線形独立なら可能であるが、更に次の場合にも可能
である。乗算回路38はS。に順次TNを乗じるのみと
するために、最初S。を記憶するとき(又はTN−SO
を記憶)を除いてパラレル入力をオフにしてΦベクトル
を入力しているが、もしパラレル入力にそのままS。が
印加されていると、乗算回路38の出力はとなる。The output Wi of the adder circuit 45 and Wj from the linear conversion circuit 43 are applied to a data selector 46, where they are switched and output Wi. Wj are sequentially output. This WilWj is an information vector that is known to be incorrect due to an error pointer, and the W
i,. Wj is obtained. The correction calculation method of the apparatus shown in FIG. 14 is based on the unit matrix 1. TN. T2N, ..., T(m-
1) N is linearly independent, or TN, . T2Nl..., Tm
This is possible if N is linearly independent, but it is also possible in the following case. The multiplication circuit 38 is S. In order to only multiply TN by TN, first S. (or TN-SO
(memory)), the parallel input is turned off and the Φ vector is input, but if you input the Φ vector as it is to the parallel input. is applied, the output of the multiplier circuit 38 becomes.
このときも上記の1.TN.T2N・・・ 等の独立条
件と同様に1ハ
のm個のマトリクスが線形独立なら本発明の訂正演算が
可能で、そのときにはこれらのマトリクスに応じて線形
変換回路43を変更すればよい。At this time, the above 1. TN. Similar to the independence conditions such as T2N, etc., if the m matrices of 1C are linearly independent, the correction calculation of the present invention is possible, and in that case, the linear conversion circuit 43 may be changed according to these matrices.
上述の如く、本発明になる隣接符号のエラーポインター
による2重誤り訂正装置は、変換マトリクスT及び等差
数列を構成するm個の整数L1、L2、゜゜゜、Lmに
ついてTLl、TL2、・・・、TLmのm個のm行m
列マトリクスが互いに線形独立であるとき、訂正時に用
いるm行m列のマトリクス(1(1E)Ti−j)−1
又は(TOj−014THj−Hi)−1をMk(ただ
しk−f(1,.j)として、I,.jの組合わせによ
りkは複数の整数値をとる)と定義して、かつ、マトリ
クスMkをMkl〜Mkmの各m元の行マトリクスm個
よりなるものとし、Mkl〜Mkmより同じ従属則によ
り生成された複数個の各kに対応した行マトリクスMk
dを予め記憶せしめこれをkに対応して選択的に読み出
される記憶装置と、誤りベクトルEjMk・(SleT
i−n−1・S2)若しくはEjMk・(T?Gi−S
,lT−Hi−S2)を得るため、又はエラーポインタ
ーにより誤りと示されたWi*とWj*を削除して得ら
れたシンドロームS1、S2によつてWj=Mk・(S
l4Ti−n−1−S2)若しくはWj=Mk・(T−
Gi.SllT2Hi−S2)として訂正するために列
ベクトルS。As described above, the double error correction device using error pointers of adjacent codes according to the present invention calculates TLl, TL2, . , m rows m of TLm
When the column matrices are linearly independent of each other, an m-by-m-column matrix (1(1E)Ti-j)-1 used during correction.
Or, define (TOj-014THj-Hi)-1 as Mk (where k-f(1,.j), k takes multiple integer values depending on the combination of I, .j), and the matrix Let Mk be composed of m row matrices of m elements each from Mkl to Mkm, and a plurality of row matrices Mk corresponding to each k generated from Mkl to Mkm according to the same dependency rule.
A storage device that stores d in advance and selectively reads it corresponding to k, and an error vector EjMk (SleT
i-n-1・S2) or EjMk・(T?Gi-S
, lT-Hi-S2), or by the syndromes S1 and S2 obtained by deleting Wi* and Wj* indicated as incorrect by the error pointer, Wj=Mk・(S
l4Ti-n-1-S2) or Wj=Mk・(T-
Gi. SllT2Hi-S2) to correct the column vector S.
(−SllTi−n−1 ・S2又はT−01−Sll
T−HiS2)が供給され、これに順次TLl、TL2
・・・、TLmを乗じて変換された列ベクトルTLl・
SOlTL2・SO、・・・、TLm−SO、 又はT
NO・SO、(1(+)TN)・TNO・SO、・・・
、(11TNeT2Ne−)・TNO・SOを出力する
乗算回路と、上記記憶装置より選択的に読み出された行
マトリクスと乗算回路の出力とよりMkd−TLl・S
O、LMkd−TL2・SOl・・・、Mkd−Tm−
SOl又はMkd−TNO・SO,.Mkd・(1(1
T)TN)・TNO・SOl・・・、Mkd・(IeT
NeT2Ne−)・TNO・SOなる演算を順次行なつ
てm元ベクトルをシリアルに出力する演算回路と、この
演算回路より得られるm元ベクトルを一時記憶しm行m
列の線形変換を行なつて出力する回路とより構成したた
め、前記記憶装置からは前記1.jの組合わせによる複
数個の行マトリクスのうち1行を選択的に読み出せばよ
いから、この記憶装置の読み出し制御回路部を従来に比
し簡略な構成とすることができ、また記憶装置より読み
出す信号(マトリクスの要素)の数を1/mに低減でき
るので記憶装置の記憶容量を従来に比し低減でき、更に
前記乗算回路として部分シンドロームS2の算出に用い
るTを乗する回路に、SOを供給してS。(-SllTi-n-1 ・S2 or T-01-Sll
T-HiS2) is supplied, to which TLl, TL2
..., column vector TLl・transformed by multiplying by TLm
SOlTL2・SO,..., TLm-SO, or T
NO・SO, (1(+)TN)・TNO・SO,...
, (11TNeT2Ne-)・TNO・SO, and the row matrix selectively read from the storage device and the output of the multiplication circuit, Mkd-TLl・S
O, LMkd-TL2・SOl..., Mkd-Tm-
SOl or Mkd-TNO・SO,. Mkd・(1(1
T) TN)・TNO・SOl..., Mkd・(IeT
An arithmetic circuit that sequentially performs the operations NeT2Ne-), TNO, and SO to serially output an m-element vector, and an arithmetic circuit that temporarily stores the m-element vector obtained from this arithmetic circuit and stores m rows m.
Since it is configured with a circuit that performs column linear conversion and outputs the result, the data in the above 1. Since it is only necessary to selectively read one row out of a plurality of row matrices formed by combinations of j, the readout control circuit section of this storage device can have a simpler configuration than the conventional one, and the storage device can be Since the number of signals to be read (matrix elements) can be reduced to 1/m, the storage capacity of the storage device can be reduced compared to the conventional method. S by supplying.
にTを乗することを(m−1)回繰り返すようにしたた
め、S2算出に用いるTを乗する回路とS。KTを乗す
る回路を共用でき、更に前記m−14、n=6とし、T
を多項式1+X8+Xl4の補助マトリクスとしたため
、前記Mkの第8行目を使用したとき前記線形変換は排
他的論理和回路を用いることなく行なえ、よつて回路構
成を簡略化できる等の特長を有するものである。Since multiplying by T is repeated (m-1) times, a circuit for multiplying by T and S used for S2 calculation. The circuit that multiplies KT can be shared, and furthermore, with m-14 and n=6, T
is used as the auxiliary matrix of the polynomial 1+X8+Xl4, so when the 8th row of Mk is used, the linear transformation can be performed without using an exclusive OR circuit, which has the advantage of simplifying the circuit configuration. be.
第1図及び第2図は夫々従来装置の各例を示すプロツク
系統図、第3図乃至第5図は夫々第1図、第2図の各要
部の一例を示す具体的回路図、第6図、第9図、第12
図、第13図及び第14図は夫々本発明装置の第1乃至
第5実施例を示すブカツク系統図、第7図、第8図、第
10図は夫々本発明装置の各要部の一実施例を示す具体
的回路図、第11図は本発明装置の線形変換回路の代り
に用いうる回路の各実施例を示す回路図、第15図は第
14図示の本発明装置の第5実施例に対応する従来装置
の要部の一例を示すプロツク系統図である。
1,32・・・・・・入力端子(入力データバス)、2
・・・・・・S1生成回路、4,4″,24,24″,
24″,33,35,38,44・・・・・・乗算回路
、5・・・・・・S2生成回路、8,16,165,4
0,48・・・・・・記憶装置、19,43・・・・・
・線形変換回路、23,演算回路、39・・・・・・内
積演算回路、30,46・・・・・・データセレクタ。1 and 2 are block system diagrams showing examples of conventional devices, respectively. Figure 6, Figure 9, Figure 12
13 and 14 are block system diagrams showing the first to fifth embodiments of the device of the present invention, and FIGS. 7, 8, and 10 show the main parts of the device of the present invention, respectively. A specific circuit diagram showing an embodiment, FIG. 11 is a circuit diagram showing each embodiment of a circuit that can be used in place of the linear conversion circuit of the device of the present invention, and FIG. 15 is a fifth embodiment of the device of the present invention shown in FIG. 14. FIG. 2 is a block system diagram showing an example of a main part of a conventional device corresponding to the example. 1, 32... Input terminal (input data bus), 2
・・・・・・S1 generation circuit, 4, 4″, 24, 24″,
24'', 33, 35, 38, 44... Multiplication circuit, 5... S2 generation circuit, 8, 16, 165, 4
0,48...Storage device, 19,43...
-Linear conversion circuit, 23, arithmetic circuit, 39... inner product arithmetic circuit, 30, 46... data selector.
Claims (1)
m元の情報列ベクトルW_1〜W_nと、該情報ベクト
ルW_1〜W_nより次式に従つて生成された2つの誤
り訂正用列ベクトル{▲数式、化学式、表等があります
▼ {▲数式、化学式、表等があります▼ 又は▲数式、化学式、表等があります▼ 又は {▲数式、化学式、表等があります▼ {▲数式、化学式、表等があります▼ (ただし、Tはm行m列で単位マトリクスIと線形独立
な正則線形変換マトリクス、■はGF2上のベクトルの
加算)P、Qとよりなる計(n+2)個のベクトルを1
ブロックとして該ブロック単位毎に伝送し、受信時にど
のベクトルが誤つたかを示すエラーポインターをもち1
ブロック中2個のベクトルW_i、W_jの誤りが検出
されたとき訂正を行なう隣接符号訂正装置において、上
記変換マトリクスT及び等差数列を構成するm個の整数
L_1、L_2、・・・、L_mについてT^L^1、
T^L^2、・・・、T^(L_m)のm個のm行m列
のマトリクスが互いに線形独立であるとき、訂正時に用
いるm行m列のマトリクス▲数式、化学式、表等があり
ます▼又は ▲数式、化学式、表等があります▼をM_k(ただしk
=f(i、j)としてi、jの組合わせによりkは複数
の整数値をとる)と定義して、かつ、該マトリクスM_
kをM_k_1〜M_k_mの各m元行マトリクスm個
よりなるものとし、該行マトリクスM_k_1〜M_k
_mより同じ従属則により生成された複数個の各kに対
応した行マトリクスM_k_dを予め記憶せしめこれを
kに対応して選択的に読み出される記憶装置と、W_1
〜W_n、P、Qに各々対応した受信ベクトルW_1^
*〜W_n^*、P^*、Q^*によつて〔▲数式、化
学式、表等があります▼〕 若しくは 〔▲数式、化学式、表等があります▼〕 と算出される部分シンドロームS_1、S_2によって
誤りベクトルE_j=M_k・(S_1■T^i^−^
n^−^1・S_2)若しくはE_j=M_k・(T^
−^G^i・S_1■T^−^H^i・S_2)を得る
ため、又はエラーポインターにより誤りと示されたW_
i^*とWj^*を削除して〔▲数式、化学式、表等が
あります▼〕 若しくは 〔▲数式、化学式、表等があります▼〕 と算出される部分シンドロームS_1、S_2によって
W_j=M_k・(S_1■T^i^−^n^−^1・
S_2)若しくはW_j=M_k・(T−^G^i・S
_1■T^−^H^i・S_2)として訂正するために
、列ベクトルS_0(=S_1■T^i^−^n^−^
1・S_2又はT^−^G^i・S_1■T^−^H^
i・S_2)が供給され、これに順次T^L^1、T^
L^2、…、T^L^mを乗じて変換された列ベクトル
T^L^1S_0、T^L^2S_0、T^LmS_0
を出力する乗算回路と、該記憶装置より選択的に読み出
された行マトリクスとよりM_k_d・T^L^1・S
_0・M_k_d・T^L^2・S_0、…、M_k_
d・T^L^m・S_0なる演算を順次行なってm元ベ
クトルをシリアルに出力する演算回路と、該演算回路よ
り得られるm元ベクトルを一時記憶しm行m列の線形変
換を行なって出力する回路とより構成したことを特徴と
する隣接符号のエラーポインターによる2重誤り訂正装
置。 2 GF2(2つの元よりなる有限体)上のn個の各々
m元の情報列ベクトルW_1〜W_nと、該情報ベクト
ルW_1〜W_nより次式に従って生成された2つの誤
り訂正用列ベクトル〔▲数式、化学式、表等があります
▼ 又はT・W_1■T^2・W_2■…■T^n・W_n
又は〔▲数式、化学式、表等があります▼ (ただし、Tは多項式 1+g_1x+g_2x^2+・・・+g_m_−_1
X^m^−^1+X^mの補助マトリクス、■はGF2
上のベクトルの加算)P、Qとよりなる計(n+2)個
のベクトルを1ブロックとして該ブロック単位毎に伝送
し、受信時にどのベクトルが誤ったかを示すエラーポイ
ンターをもち1ブロック中2個のベクトルW_i、W_
jの誤りが検出されたとき訂正を行なう隣接符号訂正装
置において、上記補助マトリクスT及びT^2、T^3
、…、T^m又はI、T、T^2、T^m^−^1のm
個のm行m列のマトリクスが互いに線形独立であるとき
、訂正時に用いるm行m列のマトリクス(I■T^i^
−^j)^−^1又は(T^G^j^−^G^i■T^
H^j^−^H^i)^−^1をM_k(ただしk=f
(i、j)としてi、jの組合わせによりkは複数の整
数値をとる)と定義し、かつ、該マトリクスM_kをM
_k_1〜M_k_mの各m元行マトリクスm個よりな
るものとし、該行マトリクスM_k_1〜M_k_mよ
り同じ従属則により生成された複数個の各kに対応した
行マトリクスM_k_dを予め記憶せしめこれをkに対
応して選択的に読み出される記憶装置と、W_1〜W_
n、P、Qに各々対応した受信ベクトルW_1^*〜W
_n^*、P^*、Q^*によって〔▲数式、化学式、
表等があります▼〕 若しくは 〔▲数式、化学式、表等があります▼〕 と算出される部分シンドロームS_1、S_2によって
誤りベクトルE_j=M_k・(S_1■T^i^−^
n^−^1・S_2)若しくはE_j=M_k・(T^
−^G^i・S_1■T^−^H^i・S_2)を得る
ため、又はエラーポインターにより誤りと示されたW_
i^*とW_j^*を削除して〔▲数式、化学式、表等
があります▼〕 若しくは 〔▲数式、化学式、表等があります▼〕 と算出される部分シンドロームS_1、S_2によつて
W_j=M_k・(S_1■T^i^−^n^−^1・
S2)若しくは▲数式、化学式、表等があります▼ として訂正するために、列ベクトルS_0(=S_1■
T^i^−^n^−^1・S_2又は▲数式、化学式、
表等があります▼)が供給され、これにTを繰り返して
乗算することによつて変換された列ベクトルT・S_0
、T^2・S_0、・・・、T^m・S_0、又はS_
0、T・S_0、・・・、T^m^−^1・S_0を順
次算出及び出力する回路と、該記憶装置より選択的に読
み出された行マトリクスと該回路の出力(列ベクトル)
とよりM_k_d・T・S_0、M_k_d・T^2・
S_0、・・・、M_k_d・T^m・S_0、又はM
_k_d・S_0、M_k_d・T・S_0、・・・、
M_k_d・T^m^−^1・S_0なる演算を順次行
なつてm元ベクトルをシリアルに出力する演算回路と、
該演算回路より得られるm元ベクトルを一時記憶しm行
m列の線形変換を行なつて出力する回路とよりなること
を特徴とする隣接符号のエラーポインターによる2重誤
り訂正装置。 3 前記情報ベクトルW_1〜W_nは各々14元(=
m)で、6個(=n)よりなり、かつ、前記補助マトリ
クスTは多項式1+x^8+x^1^4の補助マトリク
スとしたことを特徴とする特許請求の範囲第2項記載の
隣接符号のエラーポインターによる2重誤り訂正装置。[Claims] 1. n information string vectors W_1 to W_n each having m elements on GF2 (a finite field consisting of two elements), and 2 generated from the information vectors W_1 to W_n according to the following equation. Two error correction column vectors {▲ Contains mathematical formulas, chemical formulas, tables, etc. ▼ {▲ Contains mathematical formulas, chemical formulas, tables, etc. ▼ Or ▲ Contains mathematical formulas, chemical formulas, tables, etc. ▼ Or {▲ Contains mathematical formulas, chemical formulas, tables, etc. ▼ {▲There are mathematical formulas, chemical formulas, tables, etc.▼ (However, T is a regular linear transformation matrix with m rows and m columns that is linearly independent of the unit matrix I, ■ is the addition of vectors on GF2) A calculation consisting of P and Q (n+2) vectors as 1
It is transmitted as a block for each block, and has an error pointer that indicates which vector is incorrect at the time of reception.
In an adjacent code correction device that performs correction when errors are detected in two vectors W_i and W_j in a block, regarding the transformation matrix T and the m integers L_1, L_2, ..., L_m constituting the arithmetic progression. T^L^1,
When m matrixes of m rows and m columns of T^L^2, ..., T^(L_m) are linearly independent of each other, the m rows and m columns matrix used for correction ▲ mathematical formulas, chemical formulas, tables, etc. There are ▼ or ▲ there are mathematical formulas, chemical formulas, tables, etc. ▼ is M_k (however, k
= f(i, j), where k takes multiple integer values depending on the combination of i and j), and the matrix M_
Let k be composed of m m-element row matrices M_k_1 to M_k_m, and the row matrices M_k_1 to M_k
a storage device that stores in advance a plurality of row matrices M_k_d corresponding to each k generated from _m according to the same dependency rule and selectively reads out the row matrices M_k_d corresponding to k;
~ Reception vector W_1^ corresponding to W_n, P, and Q respectively
Partial syndrome S_1, S_2 calculated as [▲There are mathematical formulas, chemical formulas, tables, etc.▼] or [▲There are mathematical formulas, chemical formulas, tables, etc.▼] depending on *〜W_n^*, P^*, Q^* The error vector E_j=M_k・(S_1■T^i^-^
n^-^1・S_2) or E_j=M_k・(T^
-^G^i・S_1■T^−^H^i・S_2) or W_ that is indicated as incorrect by the error pointer.
By deleting i^* and Wj^* and calculating [▲There are mathematical formulas, chemical formulas, tables, etc.▼] or [▲There are mathematical formulas, chemical formulas, tables, etc.▼] and the partial syndromes S_1 and S_2, W_j=M_k・(S_1■T^i^-^n^-^1・
S_2) or W_j=M_k・(T−^G^i・S
_1■T^-^H^i・S_2), the column vector S_0(=S_1■T^i^-^n^-^
1・S_2 or T^-^G^i・S_1■T^-^H^
i・S_2) is supplied, to which T^L^1, T^
Column vectors T^L^1S_0, T^L^2S_0, T^LmS_0 multiplied by L^2, ..., T^L^m
M_k_d・T^L^1・S
_0・M_k_d・T^L^2・S_0,...,M_k_
An arithmetic circuit that sequentially performs operations d・T^L^m・S_0 and serially outputs an m-element vector, and an m-element vector obtained from the arithmetic circuit is temporarily stored and linear conversion of m rows and m columns is performed. 1. A double error correction device using an error pointer of adjacent codes, characterized in that it is composed of an output circuit. 2. n information column vectors W_1 to W_n each having m elements on GF2 (finite field consisting of two elements) and two error correction column vectors [▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ or T・W_1■T^2・W_2■…■T^n・W_n
Or [▲There are mathematical formulas, chemical formulas, tables, etc.▼ (However, T is the polynomial 1+g_1x+g_2x^2+...+g_m_-_1
Auxiliary matrix of X^m^-^1+X^m, ■ is GF2
Addition of the above vectors) A total of (n+2) vectors consisting of P and Q are transmitted in each block as one block, and an error pointer is provided to indicate which vector is incorrect at the time of reception. Vector W_i, W_
In the adjacent code correction device that performs correction when an error in j is detected, the above auxiliary matrices T, T^2, T^3
,..., T^m or m of I, T, T^2, T^m^-^1
When the m-row, m-column matrices are linearly independent of each other, the m-row, m-column matrix (IT^i^
-^j)^-^1 or (T^G^j^-^G^i■T^
H^j^-^H^i)^-^1 is M_k (however, k=f
(i, j), where k takes multiple integer values depending on the combination of i, j), and the matrix M_k is defined as M
The row matrices M_k_1 to M_k_m are composed of m row matrices with m elements each, and a plurality of row matrices M_k_d corresponding to each k generated from the row matrices M_k_1 to M_k_m according to the same dependency rule are stored in advance and are made to correspond to k. and a storage device that is selectively read by W_1 to W_
Reception vectors W_1^*~W corresponding to n, P, and Q, respectively
By _n^*, P^*, Q^* [▲mathematical formula, chemical formula,
There are tables, etc.▼] or [▲There are mathematical formulas, chemical formulas, tables, etc.▼] According to the partial syndromes S_1 and S_2 calculated, the error vector E_j=M_k・(S_1■T^i^−^
n^-^1・S_2) or E_j=M_k・(T^
-^G^i・S_1■T^−^H^i・S_2) or W_ that is indicated as incorrect by the error pointer.
W_j= by deleting i^* and W_j^* and calculating [▲There are mathematical formulas, chemical formulas, tables, etc.▼] or [▲There are mathematical formulas, chemical formulas, tables, etc.▼] and the partial syndromes S_1 and S_2. M_k・(S_1■T^i^-^n^-^1・
S2) or ▲There are mathematical formulas, chemical formulas, tables, etc.▼ In order to correct the column vector S_0(=S_1■
T^i^-^n^-^1・S_2 or ▲mathematical formula, chemical formula,
A column vector T・S_0 is supplied which is converted by repeatedly multiplying it by T.
, T^2・S_0, ..., T^m・S_0, or S_
A circuit that sequentially calculates and outputs 0, T・S_0, ..., T^m^-^1・S_0, a row matrix selectively read from the storage device, and the output (column vector) of the circuit.
Toyo M_k_d・T・S_0, M_k_d・T^2・
S_0,..., M_k_d・T^m・S_0, or M
_k_d・S_0, M_k_d・T・S_0,...
an arithmetic circuit that sequentially performs operations M_k_d, T^m^-^1, and S_0 and serially outputs an m-element vector;
A double error correction device using an error pointer of adjacent codes, comprising a circuit that temporarily stores an m-element vector obtained from the arithmetic circuit, performs m-row, m-column linear transformation, and outputs the result. 3 The information vectors W_1 to W_n each have 14 elements (=
m) is composed of 6 pieces (=n), and the auxiliary matrix T is an auxiliary matrix of the polynomial 1+x^8+x^1^4 of adjacent codes according to claim 2. Double error correction device using error pointer.
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55049004A JPS5939779B2 (en) | 1980-04-14 | 1980-04-14 | Double error correction device using error pointers of adjacent codes |
| NL8101834A NL8101834A (en) | 1980-04-14 | 1981-04-14 | CORRECTION SYSTEM FOR A DOUBLE ERROR. |
| GB8111843A GB2075227B (en) | 1980-04-14 | 1981-04-14 | Double error correcting system in digital signal reproducing apparatus |
| US06/254,053 US4416010A (en) | 1980-04-14 | 1981-04-14 | Double error correcting system in digital signal reproducing apparatus |
| DE3115054A DE3115054A1 (en) | 1980-04-14 | 1981-04-14 | DOUBLE ERROR CORRECTION ARRANGEMENT IN A DIGITAL SIGNAL PLAYER |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55049004A JPS5939779B2 (en) | 1980-04-14 | 1980-04-14 | Double error correction device using error pointers of adjacent codes |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56145436A JPS56145436A (en) | 1981-11-12 |
| JPS5939779B2 true JPS5939779B2 (en) | 1984-09-26 |
Family
ID=12819023
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55049004A Expired JPS5939779B2 (en) | 1980-04-14 | 1980-04-14 | Double error correction device using error pointers of adjacent codes |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5939779B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0475128U (en) * | 1990-11-13 | 1992-06-30 |
-
1980
- 1980-04-14 JP JP55049004A patent/JPS5939779B2/en not_active Expired
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0475128U (en) * | 1990-11-13 | 1992-06-30 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56145436A (en) | 1981-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4335458A (en) | Memory incorporating error detection and correction | |
| JP4112849B2 (en) | Semiconductor memory device | |
| US4675869A (en) | Fast decoder and encoder for Reed-Solomon codes and recording/playback apparatus having such an encoder/decoder | |
| AU625552B2 (en) | Finite field multiplication | |
| US4697248A (en) | Arithmetic circuit for obtaining the vector product of two vectors | |
| EA002183B1 (en) | Apparatus for multiprecision integer arithmetic | |
| US4639920A (en) | Data interpolating circuit using a two data word memory | |
| US5021987A (en) | Chain-serial matrix multipliers | |
| JPS63292324A (en) | Binary multiplier circuit | |
| US4416010A (en) | Double error correcting system in digital signal reproducing apparatus | |
| US4320510A (en) | Error data correcting system | |
| US20010054053A1 (en) | Method and apparatus for finite field multiplication | |
| JPS5939779B2 (en) | Double error correction device using error pointers of adjacent codes | |
| US4368533A (en) | Error data correcting system | |
| US4809275A (en) | Parity signal generating circuit | |
| KR960032231A (en) | Multiplier and Multiplier | |
| US7346641B2 (en) | Method and apparatus for basis conversion in finite field | |
| EP1947796A2 (en) | Method and apparatus for dividing information bit string | |
| JP3614978B2 (en) | Galois field division method and division apparatus | |
| US4027147A (en) | Binary multiplication unit with partial product and sum calculation time higher than multiplicand bit interval | |
| JP2662472B2 (en) | Syndrome operation circuit for error correction processing | |
| US6275835B1 (en) | Finite impulse response filter and method | |
| JP2718481B2 (en) | Error correction device for long distance codes | |
| JPS605087B2 (en) | filter | |
| JPS6031127B2 (en) | digital filter |