JPS60114037A - Error correcting device - Google Patents

Error correcting device

Info

Publication number
JPS60114037A
JPS60114037A JP22242883A JP22242883A JPS60114037A JP S60114037 A JPS60114037 A JP S60114037A JP 22242883 A JP22242883 A JP 22242883A JP 22242883 A JP22242883 A JP 22242883A JP S60114037 A JPS60114037 A JP S60114037A
Authority
JP
Japan
Prior art keywords
decoder
code
error
encoder
error correction
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
JP22242883A
Other languages
Japanese (ja)
Inventor
Takanori Senoo
孝憲 妹尾
Toshihide Akiyama
秋山 利秀
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP22242883A priority Critical patent/JPS60114037A/en
Publication of JPS60114037A publication Critical patent/JPS60114037A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/29Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes

Abstract

PURPOSE:To attain detection and correction of an error arisen without being detected and corrected at the 1st decoder by means of the 2nd decoder by constituting the titled circuit with a coder generating the 1st code and the 2nd code on a matrix while being subject to orthogonal opertion and a decoder detecting and correcting the error in the order of the 1st code and the 2nd code. CONSTITUTION:In an error correcting device using a coder 10, the 2nd coder 11, the 1st coder 12, a transmission or recording medium 20, a decoder 30, the 1st decoder 31, and the 2nd decoder 32, the 2nd coder generates the 2nd check code Q1(i=1, 2,...7) satisfying Equation I the same as the 1st coder. The 2nd decoder attains correction as expressed in Equation II depending on the number P of pointers. Thus, the error overlooking is suppressed lower by giving an error detecting capability to the 2nd decoder in this way, and the error correcting capability is the product of the both by giving a single error correcting capability to the 1st code and a 7-fold error correcting capability to the 2nd code so as to realize a very high correcting capability and also to decrease remarkably the number of times of arithmetic for error detection and correction.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、デジタルデータの伝送もしくは記録再生に用
いることのできる誤り訂正装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an error correction device that can be used for transmitting, recording and reproducing digital data.

従来例の構成とその問題点 近年、オーディオ信号等をデジタル的に記録再生するP
GM録音機が開発されているが、記録媒体の欠陥や傷、
ゴミ等に起因する符号誤りを訂正する為に誤り訂正符号
が用いられている。
Conventional configuration and its problems In recent years, P
GM recorders have been developed, but defects and scratches on the recording medium,
Error correction codes are used to correct code errors caused by dust or the like.

以下図面を参照しながら従来の誤り訂正装置について説
明する。第1図は従来の誤り訂正装置に用いられている
誤り訂正符号の構成図であり、1はオーディを信号等の
データw、 21d第1の検査符号P、3は第2の検査
符号t21′ 第1符号C1は図の縦方向に8個のデータWもしくは第
2検査符号Qと1個の第1検査符号Pとにより構成され
ており、これを1ブロツクト称ス。
A conventional error correction device will be described below with reference to the drawings. FIG. 1 is a configuration diagram of an error correction code used in a conventional error correction device, where 1 indicates audio data such as a signal w, 21d a first check code P, and 3 a second check code t21'. The first code C1 is composed of eight pieces of data W or second check code Q and one first check code P in the vertical direction of the figure, and is referred to as one block.

第2符号C2は、図の右斜め下方向にインターリーブ距
離D’(=16ブロツク)ごとに6個のデータWと2個
の第2検査符号Qとにより構成されている。第1符号C
1はサイクリック・リダンダンシイ・チェック符号(O
RCGと略称する)であり、誤りの検出のみを行う。第
2符号C2けb隣接符号であり、第1符号の復号情報(
即ち誤りが検出されたか否かの情報)により誤り訂正を
行う。
The second code C2 is composed of six pieces of data W and two pieces of second check code Q at every interleaving distance D' (=16 blocks) in the diagonally lower right direction in the figure. First code C
1 is a cyclic redundancy check code (O
(abbreviated as RCG), which only detects errors. The second code C is a 2-digit adjacent code, and the decoding information of the first code (
In other words, error correction is performed based on information on whether or not an error has been detected.

第2図は、従来の誤り訂正装置のブロック図であり、1
0は符号化器、11は第2符号化器%12は第1符号化
器、20け伝送もしくけ記録媒体、3oは復号化器%3
1は第1復号化器、32は第2復号化器7・・h)。
FIG. 2 is a block diagram of a conventional error correction device.
0 is an encoder, 11 is a second encoder, %12 is a first encoder, 20 is a transmission/mechanism recording medium, 3o is a decoder%3
1 is a first decoder, 32 is a second decoder 7...h).

以上のように構成された誤り訂正装置についてその動作
を以下に説明する。
The operation of the error correction device configured as described above will be explained below.

デジタル化されたオーディオ信号等のデータ列は、符号
化器1oの入力端子より入力され、先ず第2の符号化器
11により発生された第2検査符号Qと共に、第1図の
02方向にD′ブロックおきに配置される。C2方向に
6個のデータと2個の第2検査符号が配置されると、次
の6個のデータと2個の検査符号の組は1ブロツク右に
ずれた位置から402方向に配置される。以下順に配置
されてゆく。次に、第1符号化器11は、上記に配列さ
れたデータ及び第2検査符号を8個づつ第1図の01方
向にとり出し、第1検査符号p2追加して、伝送もしく
は記録媒体20vC送り出す。第1列の送り出しが終る
と、第2列、3列と順に送り出して行き、このデータ及
び検査符号列は246ブロツクを1セグメント単位と称
する誤り訂正符号を形成する。
A data string such as a digitized audio signal is inputted from the input terminal of the encoder 1o, and first, along with the second check code Q generated by the second encoder 11, it is directed to D in the 02 direction in FIG. ’ Arranged every other block. When 6 data and 2 second check codes are placed in the C2 direction, the next set of 6 data and 2 check codes is placed in the 402 direction from a position shifted one block to the right. . They are arranged in the following order. Next, the first encoder 11 takes out the data arranged above and the second check code eight by one in the 01 direction of FIG. 1, adds the first check code p2, and transmits or sends out the recording medium 20vC . When the first column is sent out, the second and third columns are sent out in order, and this data and check code string form an error correction code in which 246 blocks are called one segment unit.

伝送もしくは記録媒体2oより受信もしくは再生された
データ及び検査符号列は、復号化器3゜に入力され、先
ず、第1復号化器31により誤りの有無が検出される。
The data transmitted or received or reproduced from the recording medium 2o and the check code string are input to the decoder 3°, and first, the first decoder 31 detects the presence or absence of errors.

この復号情報は、第1図の01方向に11列毎に1ビツ
トのポインタとして、データW及び第2検査符号Qと共
に第2復号化器32に送られる。第2復号化器32は、
C2方向の各データW及び第2検査符号Qの属するポイ
ンタの数をチェックし、0であれば、誤りなし、1もし
くは2であれば誤り訂正を行い、3以」二であれば訂正
不能を示すフラグを各データWに付加しながらC2方向
にデータWを読み出し、復号化器3oの出力端子を通し
て出力する。出力されたデータは再びアナログ化されて
もとのオーディオ信号等にもどされる。
This decoding information is sent to the second decoder 32 together with the data W and the second check code Q as a 1-bit pointer for every 11 columns in the 01 direction of FIG. The second decoder 32 is
Check the number of pointers to which each data W in the C2 direction and the second check code Q belong, and if it is 0, there is no error, if it is 1 or 2, error correction is performed, and if it is 3 or more, correction is not possible. The data W is read out in the C2 direction while adding a flag indicated to each data W, and outputted through the output terminal of the decoder 3o. The output data is again converted into analog data and returned to the original audio signal.

しかしながら、上記の様な構成においては%C2方向の
誤りの個数が3を超えると誤りが訂正出来なくなると云
う重大な問題点を有していた。さらに%第1復号化器に
より誤りが見逃されると、第2復号化器で訂正される事
なく、誤りがすり抜けてしまうと云う重大な問題点も有
していた。
However, the above configuration has a serious problem in that if the number of errors in the %C2 direction exceeds 3, the errors cannot be corrected. Furthermore, if an error is overlooked by the first decoder, there is a serious problem in that the error is not corrected by the second decoder and is passed through.

発明の目的 本発明の目的は、3を超える誤りの訂正と、第1復号化
器で見逃した誤りをも検出訂正する誤り訂正装置を提供
することである。
OBJECTS OF THE INVENTION An object of the present invention is to provide an error correction device that can correct more than three errors and also detect and correct errors missed by the first decoder.

発明の構成 本発明の誤り訂正装置は、任意の正整数mとh(m>h
)およびbにより指定されるm個のbピットデータ町(
]=1+2t ・・・・・・h)と(m−h)個のbビ
ット検査符号Qj(j−1,2,・・・・・・m−h)
を第2の配列状態に配置することにより第2符号を発生
する第2符号化器と、任意の正整数nとk(n)k)お
よび上記正整数すにより指定されるに個のbビットデー
タWi(i=1.2. ・・・・・・k)と(n−k)
個のbビット検査符号Pi(i−1,2,・・・・・・
n−k)((第2の配列状態と直交する第1の配列状態
に配置することにより第1符号を発生する第1符号化器
とにより誤り訂正符号を発生する符号化器と、前記符号
化器により出力された誤り訂正符号を伝送もしくは記録
した後に受信もしくは再生し、先ず第1符号により誤り
を検出・訂正する第1復号化器と、次に第2符号により
誤りを検出・訂正する第2復号化器Eよりなる復号化器
とにより構成したものであり、これにより、特に、ホ2
符号をガロア体GF(28)上の(32゜25)リード
・ソロモン符号とし、第1符号を同じくガロア体GF(
2)上の(32,29)リード・ソロモン符号とし、さ
らに、第2符号全インターリーブ距離1)=4ブロック
ごとのデータもしくは第2検査符号を用いて構成するこ
とにより、誤り検出能力、訂正能力を共に飛躍的に高め
たものである。
Structure of the Invention The error correction device of the present invention is configured to handle arbitrary positive integers m and h (m>h
) and m b pit data towns (
]=1+2t...h) and (m-h) b-bit check codes Qj(j-1, 2,...m-h)
a second encoder that generates a second code by arranging them in a second array state, and b bits specified by arbitrary positive integers n and k(n)k) and the positive integer Data Wi (i=1.2....k) and (n-k)
b-bit check codes Pi(i-1, 2,...
n-k) ((a first encoder that generates a first code by placing it in a first array state orthogonal to the second array state; an encoder that generates an error correction code by the encoder; A first decoder transmits or records the error correction code outputted by the encoder, receives or reproduces it, first detects and corrects errors using the first code, and then detects and corrects errors using the second code. A decoder consisting of a second decoder E, and this makes it possible to
The code is a (32°25) Reed-Solomon code on Galois field GF(28), and the first code is also on Galois field GF(28).
2) By using the above (32, 29) Reed-Solomon code and further using the second code total interleave distance 1) = data for every 4 blocks or the second check code, error detection ability and correction ability can be improved. Both have dramatically improved.

実施例の説明 以下本発明の一実施例について、図面を参照しながら説
明する。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

第3図は、本発明の一実施例における誤り訂正装置に用
いられている誤り訂正符号の構成図を示すものである。
FIG. 3 shows a configuration diagram of an error correction code used in an error correction device in an embodiment of the present invention.

第3図において1はデータW、 2は第1検査符号P、
3け第2検査符号Qであり、第1符号C11d図の縦方
向に(n、k)リード・ソロモン符号(本実施例の場合
、n=32.に−29)を構成し、第2符号C2は図の
横方向に第1符号C1と直交する配列で、インターリー
ブ距離D(本実施例の場合D=4)毎にm個のデータW
もしくは第2検査符号Qより(mth)リード・ソロモ
ン符号(本実施例の場合、l11=321 h”26)
を構成するものである。
In FIG. 3, 1 is data W, 2 is first check code P,
It is a 3-digit second check code Q, and a (n, k) Reed-Solomon code (in the case of this embodiment, n=32.-29) is constructed in the vertical direction of the first code C11d, and the second code C2 is an array that is orthogonal to the first code C1 in the horizontal direction of the figure, and m pieces of data W are arranged for every interleave distance D (D=4 in this example).
Or from the second check code Q (mth) Reed-Solomon code (in this example, l11=321 h”26)
It constitutes.

第4図は1本発明の誤り訂正装置のブロック図であり、
1oは符号化器、11は第2符号化器、12は第1符号
化器、20は伝送もしくは記録媒体、30は復号化器、
31は第1復号化器、32は第2復号化器Z−′あが 以上の様に構成された本実施例の誤り訂正装置について
以下その動作を説明する。信号の流れは従来例と同じで
あるので、ここでは、従来例との差について説明する。
FIG. 4 is a block diagram of an error correction device according to the present invention,
1o is an encoder, 11 is a second encoder, 12 is a first encoder, 20 is a transmission or recording medium, 30 is a decoder,
Reference numeral 31 denotes a first decoder, and 32 denotes a second decoder Z-'.The operation of the error correction apparatus of this embodiment constructed as described above will be described below. Since the signal flow is the same as in the conventional example, the differences from the conventional example will be explained here.

本実施例の場合、第1符号はGF(2)上の(32,2
9)リード・ソロモン符号であり、その生成多項式は次
式で与えられる。
In the case of this example, the first code is (32,2 on GF(2)
9) It is a Reed-Solomon code, and its generator polynomial is given by the following equation.

G、(X)= (X−1) (X−a ) (1−(1
2)GF(28) (1)ic コテa Id−GF(
28)の法多項式g(X)のGF(28)上の根である
。法多項式g■とじては例えば、次式の様な式が用いら
れる。
G, (X) = (X-1) (X-a) (1-(1
2) GF (28) (1) ic iron a Id-GF (
28) is the root of the modulus polynomial g(X) on GF(28). For example, the following equation is used as the modulus polynomial g.

g(X)=X8+X’+X’+X2+I GF(2) 
(2)29コのデータをW11W2・・・・・・W29
%3個の第1検査符号’Fr Pl、P2+PM とす
ると、第1符号の満すべき検査行列式は次式で与えられ
る。
g(X)=X8+X'+X'+X2+I GF(2)
(2) 29 data W11W2...W29
Assuming that there are %3 first check codes 'Fr Pl, P2+PM, the check determinant to be satisfied by the first code is given by the following equation.

とおくと、(3)式は、 と表わされる。これより、 と表わされる。第1符号化器は、29個のデータWi(
i=IF 2. ・・・−・29)’i用イーrA、B
、Cを計算し、Pi(i=1+ 21 a)をめる。こ
の計算を行う第1符号化器はコンピュータのプログラム
により、ンフトゥエアとしても実現出来るし。
Then, equation (3) can be expressed as follows. From this, it can be expressed as . The first encoder encodes 29 data Wi(
i=IF 2.・・・-・29) 'i rA, B
, C and find Pi (i=1+21 a). The first encoder that performs this calculation can be realized as a software using a computer program.

又、論理回路にょガバードウエアとしても実現出来る事
は当業者の知る所であり詳細な説明は省略する。
Further, those skilled in the art know that it can also be implemented as hardware for a logic circuit, and a detailed explanation will be omitted.

第1符号は、検査符号が3コであるので符号間距離は4
であり、1重の誤り検出訂正と2重以上の誤り検出が可
能である。一般に符号間距離をd。
The first code has 3 check codes, so the inter-code distance is 4.
Therefore, single error detection and correction and double or more error detection are possible. Generally, the intersymbol distance is d.

訂正可能な誤り数’Itとすると、2t+1≦dが成立
する。
If the number of correctable errors is 'It, then 2t+1≦d holds true.

従って第1復号化器は、1重誤り訂正を行い。The first decoder therefore performs single error correction.

2重以上の誤りを検出した場合は、ポインタを立てる。If double or more errors are detected, a pointer is set.

この誤り検出・訂正過程は以下の如くなる。This error detection/correction process is as follows.

受信又は再生された第1符号をwi(i−1,2゜・・
・・・・32)ゼ表わす。データと検査符号との区別は
便宜上行わない。
The received or reproduced first code is wi(i-1, 2°...
...32) Express ze. For convenience, no distinction is made between data and check codes.

先ず、シンドローム5i (1=Or 1 + 2 )
 請求める。
First, syndrome 5i (1=Or 1 + 2)
I can claim it.

今、第1番目のワードWi上に誤りが発生していると仮
定し、そのエラーバタン’t ”x sロケーションを
表わすα”ThX1で表わすと、受信ワードR4は次式
で表わされる。
Assuming that an error has occurred on the first word Wi, the received word R4 is expressed by the following equation if the error button 't ``x s location is expressed by α''ThX1.

R1= wi+ yl @ 又、シンドロームの値ば(3)式を満すので。R1=wi+yl@ Also, the value of the syndrome satisfies equation (3).

と表わされる。従って、第1復号化器は、sOI s、
 +822計算し、各々の値が0でない事、l:り誤り
の発生を検出し、又、 S、/Sロ =S2/S、=:に1 (1<:1(a2
 ) (s)を調べて、それが1重誤りが否かを’ff
1l+定する。(8)式を満すiが存在すれば% 1M
誤りと判定し、(η第1式で得られる誤りパタンを第i
番]]の受信ワ−)=R4に加える事により誤り訂正を
完了する。
It is expressed as Therefore, the first decoder sOI s,
+822 is calculated, each value is not 0, l: detects the occurrence of an error, and S, /S ro =S2/S, =: is 1 (1<:1(a2
) (s) and check whether it is a single error or not.
1l + set. (8) If there is an i that satisfies the formula, % 1M
It is determined that it is an error, and the error pattern obtained by the first equation is
The error correction is completed by adding the received word)=R4 of the number]].

W4 = R1+ 71 (9) (8)式を満すiが存在しない場合は%2重以上の誤り
と判定し、ポインタを発生して、第2復号化器内のメモ
リに送る。
W4=R1+71 (9) If there is no i that satisfies equation (8), it is determined that there is an error of %2 or more, a pointer is generated, and the pointer is sent to the memory in the second decoder.

上記の誤り検出・訂正過程を実現する第1復号化器の構
成は、第1符号化器と同様に当業者の知る所であり、詳
細な説明は省略する。なお、詳しくは、例えば、今井他
著「符号理論」昭光堂1976年等に記載されている。
The configuration of the first decoder that implements the above error detection/correction process is well known to those skilled in the art, as is the case with the first encoder, and detailed description thereof will be omitted. Further, details are described in, for example, "Coding Theory" by Imai et al., Shokodo, 1976.

第2符号は、本実施例の場合、GF(?8)上の(32
,25)リード・ソロモン符号であり、その符号間距離
は8であるので、単独では3重誤り検出・訂正まで可能
であり、又、エラーの位置即ちロケーションがポインタ
等により既知の場合は。
In this example, the second code is (32
, 25) is a Reed-Solomon code, and its inter-code distance is 8, so if it is used alone, it can detect and correct triple errors, and if the position of the error is known by a pointer or the like.

7重訂正ま♀可能である。一般にロケーションが既知の
場合の誤り訂正をイレージヤ訂正と呼び、符号間距離f
dとし、イレージヤ訂正可能な誤り数f6とすると、e
+1≦dが成立する。
Sevenfold correction is possible. In general, error correction when the location is known is called erasure correction, and the intersymbol distance f
d, and the number of erasure correctable errors is f6, then e
+1≦d holds true.

又、イレージヤ訂正と単独誤り検出・訂正(略してエラ
ー訂正と称す)とを組み合わせる事も可能で、その場合
Fi。
It is also possible to combine erasure correction with individual error detection and correction (abbreviated as error correction), in which case Fi.

2t+15+1(d が成立する。2t+15+1(d holds true.

第2符号化器は、第1符号化器と同様に次式を満す第2
検査符号Qi(i””1+ 21 ・・・・・・7)を
発生する。
The second encoder is a second encoder that satisfies the following equation like the first encoder.
A check code Qi (i""1+21...7) is generated.

第2復号化器は、本実施例の場合、ポインタの数Pによ
って以下の訂正全行なう。
In this embodiment, the second decoder performs all of the following corrections depending on the number of pointers P.

(1) P=o又は、≧8のとき 2エラー訂正を行う。(1) When P=o or ≧8 2. Correct the error.

(2)1≦P≦6のとき 5イレージヤ+1エラー訂正を行う。(2) When 1≦P≦6 Performs 5 erasure + 1 error correction.

(a)P=7のとき フイレージャ訂正を行う。(a) When P=7 Perform fillage correction.

以下に各エラ一時の訂正過程を説明する。先ず。The temporary correction process for each error will be explained below. First.

ポインタ数を調べs (1)+ (2)+ (3)のい
づれかの訂正を行う。ポインタは、第3図に於て各列に
1つづつであり、第1符号に直交する第2符号からみる
と、このポインタは各行の第2符号に共通であるので、
ポインタ及びロケーションに関する演算は1回求めてお
けば、各行に共通に使え、演算回数を少くすることが可
能である。
The number of pointers is checked and one of s (1) + (2) + (3) is corrected. There is one pointer in each column in FIG. 3, and from the point of view of the second code orthogonal to the first code, this pointer is common to the second code in each row, so
If calculations related to pointers and locations are calculated once, they can be used commonly for each row, and the number of calculations can be reduced.

(1)2エラー訂正 シンドローム5j(j=0.請求め る。(1) 2 error correction Syndrome 5j (j=0. Ru.

2つのエラーバタン?Y+lY2% ロケーションをx
l、xJとすると、シンドロームは。
Two error slams? Y+lY2% location x
If l and xJ, then the syndrome is.

ロケーションを根として持つロケーション多項式を。A location polynomial with locations as roots.

σ(Z)己π(1+xiz)=1+σ1z+σ2z2(
13)−1 とすると、係数σ1.σ2とシンドロームSj の間に
は、 の関係が成立するので、(14) 式の分mの値力;O
でなければ、σ1.σ2がまる。0であれば3重以上の
誤りと判定しフラグを立てて訂正動作を終る。σ1.σ
2がまれば、次にロケーションをめる為に、 (13)
式=0の根をめる。
σ(Z)selfπ(1+xiz)=1+σ1z+σ2z2(
13)-1, then the coefficient σ1. Since the following relationship holds between σ2 and syndrome Sj, the value of m in equation (14); O
Otherwise, σ1. σ2 is round. If it is 0, it is determined that there are three or more errors, a flag is set, and the correction operation ends. σ1. σ
If 2 is counted, then to find the location, (13)
Find the root of the formula = 0.

2−σ、ム (16) とおくと。2-σ, Mu (16) And then.

人2 +人=a2/σ1’ (16) (16)式を満す人は一意的に定まるので、σ2/σ1
2の値に応じてムの値e6らかじめめておき、これヲ根
テーブルとして持つことにより、人をめて(16)式よ
り根をめることができる。
Person 2 + Person = a2/σ1' (16) Since the person who satisfies equation (16) is uniquely determined, σ2/σ1
By pre-preparing the value e6 of m according to the value of 2 and having this as a root table, it is possible to find the root using equation (16) with someone else's help.

ロケーションがまれば、エラーノ(タンはでマリ、訂正
が行われる。
If the location is correct, the correction will be made.

(2)5イレージヤ+1エラー訂正 先ス、イレージヤのロケーション多項式A’(5求める
。エラーの位置は、何番目のワードにポインタが立って
いるかで分り、例えばに番目にポインタが立っていれば
、そのロケーションはX = a と得られる。今、ポ
インタが6つ立っていると仮定すると、6つのロケーシ
ョンX1(i=1.2.請求めれば、イレージ ヤのロケーション多項式AH1 とまる。一方、各ロケーションにおけるエラーバタンf
 Yi(1−1+ 2 + ・・・・・・5)とする。
(2) 5 erasures + 1 error correction destination, eraser location polynomial A' (5) Find the error position.The location of the error can be determined by the number of words where the pointer is placed.For example, if the pointer is placed on the word number, then Its location is obtained as X = a. Now, assuming that there are 6 pointers, 6 locations error slam f
Yi (1-1+2+...5).

(18)式悼Zの6次式であるので、以下のように展開
して、各係数Di (i −0,1、・・・・・・6)
をめる。
(18) Since it is a 6th order equation of formula Z, it is expanded as follows and each coefficient Di (i -0,1,...6)
I put it on.

とおくと、(18)式は。Then, equation (18) is.

と表わされる。次に、 とおくと、(18)式は。It is expressed as next, Then, equation (18) is.

となる。同様に、 とおくと。becomes. Similarly, And then.

とおくと、 と、Aが計算出来る。Then, Then, A can be calculated.

次に1重エラー検出・訂正すべきエラーのロケーション
’e ”b sパタンヲY6とおくと、シンドロームS
j (j ” Or 1・・・・・・6)は、であるの
で、これをといて、ロケーションはとまる。(24)式
の分母−〇のときは% (23)式より、X6=Y6=
oとなり、5重エラーと判定する。
Next, if we set the location of the error to be detected and corrected as 'e ''b s pattern Y6, the syndrome S
j (j ” Or 1...6) is, so by removing this, the location stops. When the denominator of equation (24) is -0, % From equation (23), X6=Y6 =
o, and it is determined to be a quintuple error.

分母≠0のとき%(24)式を満すX6=n’(0≦に
≦31)が存在すれば、それがめる第6番目のロケーシ
ョンであり、存在しなければ、訂正不能と判定し、フラ
グを立てる。
When the denominator≠0, if X6=n' (0≦≦31) that satisfies the formula (24) exists, it is the sixth location to be found, and if it does not exist, it is determined that it cannot be corrected, flag.

ポインタの数が6の場合は、 (24)式でめた値が、
第6番目のポインタよりめたロケーションに一致するか
否かを調べる事により、訂正可能か否かの判定が出来る
。一致しない場合は。
If the number of pointers is 6, the value obtained by formula (24) is
By checking whether or not the location matches the location set by the sixth pointer, it is possible to determine whether or not correction is possible. If it doesn't match.

訂正不能とする。It cannot be corrected.

ポインタの数が4以下の場合は、(18)式以降でポイ
ンタの数を越えるXiO値を0とすれば良い。
If the number of pointers is 4 or less, the XiO value exceeding the number of pointers in equation (18) and later may be set to 0.

ロケーションがまれば、エラーパタンの値は(23)式
を解いて、 とまる。Y6がまると。
Once the location is determined, the value of the error pattern is determined by solving equation (23). Y6 is full.

S4+Y5X5(i=o、1=−=4) (26)を新
しく Siとおくと、Y5は。
S4+Y5X5 (i=o, 1=-=4) If (26) is newly set as Si, Y5 becomes.

とまり、同様に S4+Y5X5 (i==o、1・=・−3) (27
)を新しくSi とおくと。
Similarly, S4+Y5X5 (i==o, 1・=・−3) (27
) is newly set as Si.

次に、 81+ Y4X4 (i =Or 1 + 2 ) (
29)を新しくSi とおくと、 さらに、 Si+y5x3(1=oy 1 ) (31)を新しく
Si とおくと、 Y2 ’= ’(81+ X+So)/ (X+ 十X
2) (32)Y1=So十Y2(33) と凍る。ポインタの個数が4以下の場合は、ポインタの
個数以上のYiO値を0とすれば良い0 以上より、エラーパタンがまれば、訂正はWi= R1
+ Yl (i = 1 、2・・・・・・6) (3
4)で行われる。
Next, 81+ Y4X4 (i = Or 1 + 2) (
29) is newly set as Si.Furthermore, when (31) is newly set as Si, Y2'='(81+X+So)/(X+ 1X
2) (32)Y1=So+Y2(33) It freezes. If the number of pointers is 4 or less, the YiO value that is greater than or equal to the number of pointers can be set to 0.0 From above, if the error pattern is correct, correction is Wi = R1
+ Yl (i = 1, 2...6) (3
4).

(3)フイレージャ訂正 上記と同様に、先ずロケーンヨン多項式へをめる。(3) Fillage correction In the same way as above, we first solve for the Loqueyon polynomial.

(36) 上記と同様に八を展開して各係数Eiをめる。(36) Expand 8 and find each coefficient Ei in the same way as above.

と表わされるので、これより、エラーバタンY7をめる
と、下式となる。
Therefore, by subtracting the error button Y7, the following equation is obtained.

Ylがまると、上記と同様に、 8j+Y7X7 (j =o、 1−、、、、ts )
 (4o)を新しく町とおくと、Y6は(26)式より
まる。
When Yl is full, as above, 8j+Y7X7 (j = o, 1-,..., ts)
If (4o) is set as a new town, Y6 is calculated from equation (26).

同様にして、Yl(i=5.4・・・・・・1)がまり
Similarly, Yl (i=5.4...1) is formed.

訂正が行われる。Corrections will be made.

第2復号化器は、第1復号化器と同様の構成で上記演算
を実行し、誤りの検出及び訂正を行う。
The second decoder has the same configuration as the first decoder and executes the above operations to detect and correct errors.

以上のように、本実施例によれば、第2復号化器に誤り
構出能力を持たせる事により、誤りの見逃しを低く押え
、又、第1符号に1重誤り訂正能力を持たせ第2符号に
7重誤り訂正能力を持たせる事により、誤り訂正能力は
両者の積となり非常に高い訂正能力を実現している。し
かも、誤りの検出訂正の為の演算回数は上記の如く非常
に少い回数で実現している。
As described above, according to this embodiment, by providing the second decoder with error construction capability, the possibility of overlooking errors is kept low, and by providing the first code with single error correction capability, the second decoder is provided with error construction capability. By providing 7-fold error correction capability to the two codes, the error correction capability is the product of both, and a very high correction capability is achieved. Furthermore, the number of calculations required for error detection and correction is extremely small as described above.

なお、上の実施例では、請求 の値は、ポインタを調べる際にあらかじめ計算しておけ
ば第3図の各行について共通に使えるので、全体の演算
回数をさらに減らすことができる。
In the above embodiment, if the bill value is calculated in advance when checking the pointer, it can be used commonly for each row in FIG. 3, so that the total number of calculations can be further reduced.

発明の効果 以上の説明から明らかなように、本発明は、誤りの検出
・訂正の為に、第1符号と第2符号を配列上で直交させ
て発生する符号化器と、第1符号。
Effects of the Invention As is clear from the above description, the present invention provides an encoder that generates a first code and a second code by orthogonally arranged them in order to detect and correct errors, and a first code.

第2符号の順に誤りの検出・訂正を行う復号化器とによ
り構成されているので、第1復号化器で検出・訂正もれ
となった誤りも第2復号化器で検出・訂正されるという
優れた効果が得られる。その効果により、この誤り訂正
装置をPGM録音機に用いた場合には、通常の使用状態
では半永久的に訂正後の信号に劣化が生じないと云う優
れた効果が得られる。
Since it is configured with a decoder that detects and corrects errors in the order of the second code, errors that are not detected or corrected in the first decoder are also detected and corrected in the second decoder. This excellent effect can be obtained. As a result, when this error correction device is used in a PGM recorder, an excellent effect can be obtained in that the corrected signal will not deteriorate semi-permanently under normal usage conditions.

さらに、第2復号化器は、第1復号化器の復号情報を用
いて誤り検出・訂正を行うと云う構成にする事により、
第2符号単独での誤り検出・訂正能力よりもはるかに高
い能力を発揮できると云う効果が得られる。
Furthermore, by configuring the second decoder to perform error detection and correction using the decoding information of the first decoder,
The effect is that the error detection/correction ability can be much higher than that of the second code alone.

さらに、第2符号にインターリーブをかける構成にする
ことにより、非常に長いバースト状の誤りをも完全に訂
正してしまうと云う効果が得られる。
Furthermore, by interleaving the second code, it is possible to completely correct even very long burst errors.

さらに、第1符号をGF(2)上の(32,29)リー
ド・ンロモン符号とし、第2符号’(i7GF(2)上
の(32,25)リード・ンロモン符号とし、第1復号
化器は1重誤り訂正を行い、2重以上の誤り検出を行っ
てポインタを発生し、第2復号化器はポインタの数によ
って。
Further, the first code is a (32,29) Reed-Nromon code on GF(2), the second code is a (32,25) Reed-Nromon code on i7GF(2), and the first decoder performs single error correction and performs double or more error detection to generate pointers, and the second decoder depends on the number of pointers.

(1)ポインタの数−〇又は≧8のとき、2エラー訂正
(1) When the number of pointers - 0 or ≧8, 2 error correction.

(2)1≦ポインタの数≦6のとき、6イレージヤ+1
エラー訂正。
(2) When 1≦number of pointers≦6, 6 erasure + 1
Error correction.

(3)ポインタの数−7のとき、フイレージャ訂正を行
う構成にすることにより、通常の記録媒体を用いた時最
悪ケース(ワード当りの誤り率が163)でも、訂正不
能確率が100万年に1回の割合で。
(3) When the number of pointers is minus 7, by using a configuration that performs filler correction, even in the worst case (error rate per word is 163) when using a normal recording medium, the probability of uncorrectability becomes 1 million years. At a rate of once.

検出不能確率が1兆年に1回の割合になると云う優れた
効果が得られる。
An excellent effect can be obtained in that the probability of non-detection is once in a trillion years.

【図面の簡単な説明】 第1図は従来の誤り訂正装置に用いられているーり訂正
符号の構成図、第2図は同じ〈従来の誤り訂正装置のブ
ロック図、第3図は本発明の一実施例における誤り訂正
符号の構成図、第4図は同じく本発明の一実施例におけ
る誤り訂正装置のブロック図である。 1・・・・・・データW、 2・・・・・・第1検査符
号P、3・・・・・・第2検査符号Q、10・・・・・
・符号化器、11・・・・・・第2符号化器、12・・
・・・・第1符号化器、30・・・・・・復号化器、3
1・・・・・・第1復号化器、32・・・・・・第2復
号化器。′
[Brief Description of the Drawings] Fig. 1 is a block diagram of a correction code used in a conventional error correction device, Fig. 2 is a block diagram of the same conventional error correction device, and Fig. 3 is a block diagram of a conventional error correction device. FIG. 4 is a block diagram of an error correction device according to an embodiment of the present invention. 1... Data W, 2... First check code P, 3... Second check code Q, 10...
・Encoder, 11...Second encoder, 12...
...First encoder, 30...Decoder, 3
1...First decoder, 32... Second decoder. ′

Claims (1)

【特許請求の範囲】 (1)任意の正整数mとh(m)h)およびbにより指
定されるh個のbビットデータWj (j = 1 。 2、・・・・・・h)と(m−h)個のbビット検査符
号Qj(j = 1 + 2+ ・・・・・1−h)を
第2の配列状態に配置することにより第2符号を発生す
る第2符号化器と、任意の正整数nとk(n)k)およ
び上記正整数すにより指定されるに個のbピットデータ
Wi(i−1,2,・・・・・・k)と(n−k)個の
bビット検査符号Pi、 (1−1+ 2 +・・・・
・・n−k)i第2の配列状態と直交する第1の配列状
態に配置することにより第1符号を発生する第1符号化
器とにより誤り訂正符号を発生する符号化器と、前記符
号化器により出力された誤り訂正符号を伝送もしくは記
録した後に受信もしくは再生し、先ず第1符号により誤
りを検出・訂正する第1復号化器と、次に第2符号によ
り誤!llを検出・訂正する第2復号化器とよりなる復
号化器とにより構成されることを特徴とする誤り訂正装
置。 (2)第2符号化器は、正整数すによって定義されルカ
o7体GF(2b)上ノ(m、h ) ’) −)”−
ンロモン符号の符号化器であり、第1符号化器は。 正整数すによって定義されるガロア体GF(2)上の(
nlk)IJ−ド・ンロモン符号の符号化器であり、第
1復号化器は、上記(nyk)J−ド・ンロモン符号の
復号化器であり、第2復号化器は、上記(m、h)リー
ド・ンロモン符号の復号化器であることを特徴とする特
許請求の範囲第1項記載の誤り訂正装置。 (3)第2復号化器は、第1復号化器の復号情報を用い
て誤りの検出・訂正を行うことを特徴とする特許請求の
範囲第2項記載の誤り訂正装置。 (4)第2符号化器は、任意の正整数りにより指定され
るインターリーブ距離りごとに第2符号を構成するm個
のデータもしくは検査符号を配列し、第2復号化器1−
t、上記インターリーブ距離Dごとに配列されたm個の
データもしくは検査符号を用いて誤りの検出・訂正を行
うことを特徴とする特許請求の範囲第3項記載の誤り訂
正装置。 (@ 符号化器、復号化器は、b=8. m=32Th
=25.n=32.に=29.n=4であることを特徴
とする特許請求の範囲第4項記載の誤り訂正装置。 (6)第1復号化器は、1重誤り訂正を行い、2重誤り
以上の誤り検出を行ってポインタを発生し、第2復号化
器は、第1復号化器の復号情報であるポインタを用いて
以下に示す訂17jを行うこと全特徴とする特許請求の
範囲第6項記載の誤り訂正装置。 (1) ポインタの数−〇又は≧8のとき、2エラー訂
正。 (1) 1≦ポインタの数≦6のとき、6イレージヤ+
1エラー訂正。 Ge1) ポインタの数=7のとき、γイレージヤ訂正
[Claims] (1) h b-bit data Wj (j = 1. 2, . . . h) specified by arbitrary positive integers m and h (m) h) and b; a second encoder that generates a second code by arranging (m-h) b-bit check codes Qj (j = 1 + 2+ . . . 1-h) in a second array state; , arbitrary positive integers n and k(n)k) and b pit data Wi(i-1, 2,...k) and (n-k) specified by the above positive integer b-bit check codes Pi, (1-1+2+...
. . n-k)i a first encoder that generates a first code by being arranged in a first array state orthogonal to the second array state, and an encoder that generates an error correction code by the first encoder; After transmitting or recording the error correction code output by the encoder, the first decoder first detects and corrects errors using the first code, and then the second code detects and corrects errors. An error correction device comprising: a second decoder that detects and corrects ll; (2) The second encoder is defined by a positive integer GF(2b) above (m, h )') −)”−
The first encoder is an encoder for a Romanromon code. ( on the Galois field GF(2) defined by positive integers
The first decoder is a decoder for the above (nyk) J-de Nromont code, and the second decoder is an encoder for the above (m, h) The error correction device according to claim 1, which is a decoder of a Reed-Nromon code. (3) The error correction device according to claim 2, wherein the second decoder detects and corrects errors using decoding information from the first decoder. (4) The second encoder arranges m pieces of data or check codes constituting the second code for each interleaving distance specified by an arbitrary positive integer, and the second decoder 1-
4. The error correction apparatus according to claim 3, wherein error detection and correction is performed using m pieces of data or check codes arranged for each interleaving distance D. (@ Encoder and decoder are b=8. m=32Th
=25. n=32. ni=29. 5. The error correction device according to claim 4, wherein n=4. (6) The first decoder performs single error correction and detects double or more errors to generate a pointer, and the second decoder generates a pointer that is decoded information of the first decoder. 7. The error correction device according to claim 6, wherein the error correction device performs the following correction 17j using the following. (1) When the number of pointers - 0 or ≧8, 2 error correction. (1) When 1≦number of pointers≦6, 6 erasure +
1 error corrected. Ge1) When the number of pointers = 7, γ erasure correction.
JP22242883A 1983-11-25 1983-11-25 Error correcting device Pending JPS60114037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22242883A JPS60114037A (en) 1983-11-25 1983-11-25 Error correcting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22242883A JPS60114037A (en) 1983-11-25 1983-11-25 Error correcting device

Publications (1)

Publication Number Publication Date
JPS60114037A true JPS60114037A (en) 1985-06-20

Family

ID=16782237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22242883A Pending JPS60114037A (en) 1983-11-25 1983-11-25 Error correcting device

Country Status (1)

Country Link
JP (1) JPS60114037A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6467769A (en) * 1987-08-31 1989-03-14 Ibm Method of correcting error
JPH02239729A (en) * 1989-03-14 1990-09-21 Mitsubishi Electric Corp Decoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6467769A (en) * 1987-08-31 1989-03-14 Ibm Method of correcting error
JPH02239729A (en) * 1989-03-14 1990-09-21 Mitsubishi Electric Corp Decoder

Similar Documents

Publication Publication Date Title
EP0117287B1 (en) Method for correcting errors in digital data and system employing such method
US8806295B2 (en) Mis-correction and no-correction rates for error control
JP2008165808A (en) Error correction circuit and method for reducing miscorrection probability and semiconductor memory device including the circuit
WO1985002958A1 (en) Method and apparatus for decoding error correction code
JPH0831806B2 (en) Error correction method
JPH0328093B2 (en)
JP2009295273A (en) Method of determining computer of erasure correction for error correction code entity
JPS6349245B2 (en)
US6832042B1 (en) Encoding and decoding system in an optical disk storage device
JP2006517048A (en) Method for encoding and decoding error correction blocks
JPH01129534A (en) Error detecting and correcting method
JPH0353818B2 (en)
JPH0361381B2 (en)
JP2008186572A (en) Error correction in codeword pair headers in data storage tape format, system, and program
TWI249300B (en) Error correction method and apparatus for low density parity check
JPS60114037A (en) Error correcting device
JP2004080762A (en) Method and equipment performing cross interleave reed-solomon code correction
Wolf An introduction to tensor product codes and applications to digital storage systems
RU2450331C1 (en) Apparatus for storing and transmitting data with single error correction in data byte and arbitrary error detection in data bytes
JPH06197025A (en) Method and circuit for error correction
JP4681415B2 (en) Error event detection method and error event detection apparatus
US6728052B2 (en) Recording/reproducing apparatus, error correcting coding method and information recording method
JPS60114036A (en) Erasure correction circuit
JP3252515B2 (en) Error correction device
JPH1173797A (en) Storage device