JPH0353816B2 - - Google Patents

Info

Publication number
JPH0353816B2
JPH0353816B2 JP55084424A JP8442480A JPH0353816B2 JP H0353816 B2 JPH0353816 B2 JP H0353816B2 JP 55084424 A JP55084424 A JP 55084424A JP 8442480 A JP8442480 A JP 8442480A JP H0353816 B2 JPH0353816 B2 JP H0353816B2
Authority
JP
Japan
Prior art keywords
error
word
error correction
words
check
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 - Lifetime
Application number
JP55084424A
Other languages
Japanese (ja)
Other versions
JPS5710557A (en
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 filed Critical
Priority to JP8442480A priority Critical patent/JPS5710557A/en
Priority to CA000379913A priority patent/CA1161565A/en
Priority to ES503164A priority patent/ES8203542A1/en
Priority to SE8103836A priority patent/SE451928B/en
Priority to GB8118998A priority patent/GB2079994B/en
Priority to DK270581A priority patent/DK158485C/en
Priority to IT22478/81A priority patent/IT1194807B/en
Priority to AT0275181A priority patent/AT379460B/en
Priority to BR8103911A priority patent/BR8103911A/en
Priority to FR8112242A priority patent/FR2485299B1/en
Priority to NL8103001A priority patent/NL191136C/en
Priority to CH4097/81A priority patent/CH653504A5/en
Priority to DE3124425A priority patent/DE3124425C2/en
Priority to AU72019/81A priority patent/AU542428B2/en
Priority to BE2/59231A priority patent/BE889323A/en
Publication of JPS5710557A publication Critical patent/JPS5710557A/en
Priority to CA000463143A priority patent/CA1201811B/en
Priority to US06/684,161 priority patent/US4546474A/en
Publication of JPH0353816B2 publication Critical patent/JPH0353816B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1806Pulse code modulation systems for audio signals
    • G11B20/1809Pulse code modulation systems for audio signals by interleaving

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 本発明は、バーストエラー及びランダムエラー
の何れに対してもエラー訂正能力が高く、然もエ
ラー検出の見逃し又は誤つた訂正を生じるおそれ
が低減されたエラー訂正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error correction method that has high error correction ability for both burst errors and random errors, and that reduces the possibility of missing error detection or making erroneous corrections.

本願出願人は、先にバーストエラーに対して有
効なデータ伝送方法としてクロスインターリーブ
と称するものを提案している。これは、第1の配
列状態にある複数チヤンネルのPCMデータ系列
の各々に含まれる1ワードを第1のエラー訂正符
号器に供給することによつて第1のチエツクワー
ド系列を発生させ、この第1のチエツクワード系
列及び複数チヤンネルのPCMデータ系列を第2
の配列状態とし、夫々に含まれる1ワードを第2
のエラー訂正符号器に供給することによつて第2
のチエツクワード系列を発生させるもので、ワー
ド単位でもつて二重のインターリーブ(配列の並
び変え)を行なうものである。インターリーブ
は、共通のエラー訂正ブロツクに含まれるチエツ
クワード及びPCMデータを分散させて伝送し、
受信側において元の配列に戻したときに、共通の
エラー訂正ブロツクに含まれる複数ワードのうち
のエラーワード数を少なくしようとするものであ
る。つまり、伝送時にバーストエラーが生じると
きに、このバーストエラーを分散化することがで
きる。かかるインターリーブを二重に行なえば、
第1及び第2のチエツクワードの夫々が別々のエ
ラー訂正ブロツクを構成することになるので、チ
エツクワードの何れか一方でエラーを訂正できな
いときでも、その他方を用いてエラーを訂正する
ことができ、したがつてエラー訂正能力を一層向
上させることができる。ところで、1ワード中の
1ビツトでも誤つているときには、1ワード全体
が誤つているものとして取り扱われるので、ラン
ダムエラーが比較的多い受信データを扱う場合に
は、必ずしもエラー訂正能力が充分であるとは言
えない。
The applicant of the present application has previously proposed a method called cross interleave as a data transmission method effective against burst errors. This generates a first check word sequence by supplying one word included in each of the PCM data sequences of multiple channels in a first alignment state to a first error correction encoder; The check word series of 1 and the PCM data series of multiple channels are
array state, and one word contained in each is the second
the second error correction encoder by feeding
It generates a check word sequence, and performs double interleaving (arrangement rearrangement) on a word-by-word basis. Interleaving distributes and transmits check words and PCM data included in a common error correction block.
This is intended to reduce the number of error words among a plurality of words included in a common error correction block when the original arrangement is restored on the receiving side. In other words, when a burst error occurs during transmission, this burst error can be dispersed. If such interleaving is performed twice,
Since each of the first and second check words constitutes a separate error correction block, even if one of the check words cannot correct an error, the other can be used to correct the error. , Therefore, the error correction ability can be further improved. By the way, if even one bit in one word is erroneous, the entire word is treated as erroneous, so when handling received data with relatively many random errors, it is not always necessary to have sufficient error correction capability. I can't say that.

そこで1ブロツク内の所定ワード例えば2ワー
ドエラーまで検出訂正でき(最大検出訂正可能エ
ラー数2ワード)、エラーロケーシヨンが判つて
いるときには、それ以上の3ワードエラー或いは
4ワードエラーも訂正することができる(最大訂
正可能エラー数4ワード)訂正能力の高い誤り訂
正符号(隣接(b−adjacent)コードの一種)を
上述の多重インターリーブと組合せる。また、こ
の誤り訂正符号は、1ワードエラーだけを訂正の
対象とする場合には、復号器の構成を頗る簡単と
できる特徴を有している。
Therefore, it is possible to detect and correct up to a 2-word error in a predetermined word within one block (maximum number of errors that can be detected and corrected is 2 words), and when the error location is known, it is also possible to correct 3-word errors or 4-word errors. An error correction code (a type of B-adjacent code) with high correction ability (maximum number of correctable errors: 4 words) is combined with the above-mentioned multiple interleave. Moreover, this error correction code has a feature that the structure of the decoder can be made extremely simple when only one word error is to be corrected.

また、第2のエラー訂正ブロツクに対する初段
の復号を行ない、次に第1の配列状態に戻してか
ら第1のエラー訂正ブロツクに対する次段の復号
を行なう場合、初段の復号で正しくないエラー検
出(検出ミス)、誤つた訂正が生じると、この検
出ミス、誤つた訂正が次段の復号において新たな
検出ミス、誤つた訂正の要因となり、全体として
みたこれらの誤動作の生じるおそれがつよくな
る。また、訂正するエラーワード数が多くなる
と、上述の検出ミス、誤つた訂正の生じる確率が
一般的に大きくなる。
In addition, when performing first-stage decoding for the second error correction block, then returning to the first arrangement state, and then performing next-stage decoding for the first error correction block, incorrect error detection ( When a detection error (detection error) or erroneous correction occurs, this detection error or erroneous correction becomes a cause of a new detection error or erroneous correction in the next stage of decoding, and the risk of these erroneous operations occurring as a whole increases. Furthermore, as the number of error words to be corrected increases, the probability of the above-mentioned detection errors and erroneous corrections occurring generally increases.

本発明では、初段の復号の際に、例えば最大2
ワードエラーまで訂正可能な場合でも1ワードエ
ラーまでの訂正にとどめるようにしている。これ
と共に、2ワード以上のワードが誤つていること
を初段の復号で検出した際には、エラーを示すポ
インタを付加するようにし、次段の復号でこのポ
インタの状態を判別することにより、次段の復号
での検出ミス、誤つた訂正のおそれを防止してい
る。このようにしてエラー検出及び訂正の際の検
出ミス、誤つた訂正のおそれを軽減し、例えばオ
ーデイオPCM信号を伝送する際に、誤つた訂正
に起因する異音が発生するような問題点を解決し
ている。また、初段の復号器の構成を簡単にする
こともできる。
In the present invention, for example, a maximum of 2
Even if word errors can be corrected, the correction is limited to one word error. At the same time, when the first stage decoding detects that two or more words are incorrect, a pointer indicating the error is added, and the next stage decoding determines the state of this pointer. This prevents the risk of detection errors and erroneous corrections during step decoding. In this way, the risk of detection errors and erroneous corrections during error detection and correction is reduced, and problems such as abnormal noises caused by erroneous corrections when transmitting audio PCM signals are solved. are doing. Furthermore, the configuration of the first-stage decoder can be simplified.

まず、本発明に用いる誤り訂正符号について説
明する。誤り訂正符号を記述する場合、ベクトル
表現或いは巡回群による表現が用いられる。ま
ず、GF(2)上では、既約なm次の多項式F(x)を
考える。“0”と“1”の元しか存在しない体GF
(2)の上では、既約な多項式F(x)は、根を持た
ない。そこで(F(x)=0)を満足する仮想的な
根αを考える。このとき、零元を含むαのべき乗
で表わされる2m個の相異なる元0、α、α2、α3
…α2m-1は、拡大体GF(2m)を構成する。GF(2m
は、GF(2)の上のm次の既約多項式F(x)を法と
する多項式環である。GF(2m)の元は、1、α=
{x}、α2={x2}……αm-1={xm-1}の線形結合で
かきあらわすことができる。即ち、 a0+a1{x}+a2{x2}+…+an-1{xm-1} =a0+a1α+a2α2+…+an-1αm-1 あるいは(an-1、an-2…a2、a1、a0)ここで、
a0、a1……an-1∈GF(2)となる。
First, the error correction code used in the present invention will be explained. When describing an error correction code, a vector representation or a cyclic group representation is used. First, consider an irreducible m-th degree polynomial F(x) on GF(2). A body GF that only has elements of “0” and “1”
On (2), the irreducible polynomial F(x) has no roots. Therefore, consider a virtual root α that satisfies (F(x)=0). At this time, 2 m different elements 0, α, α 2 , α 3 . . . are expressed as powers of α including the zero element.
...α 2m-1 constitutes the extended field GF(2 m ). GF (2 m )
is a polynomial ring modulo the m-th order irreducible polynomial F(x) over GF(2). The element of GF (2 m ) is 1, α=
It can be expressed as a linear combination of {x}, α 2 = {x 2 }...α m-1 = {x m-1 }. That is, a 0 +a 1 {x}+a 2 {x 2 }+...+a n-1 {x m-1 } = a 0 +a 1 α+a 2 α 2 +...+a n-1 α m-1 or (a n -1 , a n-2 …a 2 , a 1 , a 0 ) where,
a 0 , a 1 ...a n-1 ∈GF(2).

一例として、GF(28)を考えると、(mod.F
(x)=x8+x4+x3+x2+1)で全ての8ビツトの
データは a7x7+a6x6+a5x5+a4x4+a3x3+a2x2+a1x+
a0 又は(a7、a6、a5、a4、a3、a2、a1、a0)で書
きあらわせるので、例えばa7をMSB側、a0
LSB側に割り当てる。aoは、GF(2)に属するので、
0又は1である。
As an example, considering GF(2 8 ), (mod.F
(x) = x 8 + x 4 + x 3 + x 2 + 1), and all 8-bit data is a 7 x 7 + a 6 x 6 + a 5 x 5 + a 4 x 4 + a 3 x 3 + a 2 x 2 + a 1 x+
It is written as a 0 or (a 7 , a 6 , a 5 , a 4 , a 3 , a 2 , a 1 , a 0 ), so for example, a 7 is on the MSB side and a 0 is on the MSB side.
Assign to LSB side. Since a o belongs to GF(2),
0 or 1.

また、多項式F(x)から(m×m)の下記の
行列Tが導かれる。
Further, the following (m×m) matrix T is derived from the polynomial F(x).

T=0 0 … 0 a0 1 0 … 0 a1 0 1 … 0 a2 〓 〓 〓 〓 0 0 … 1 an-1 他の表現としては、巡回群を用いたものがあ
る。これは、GF(2m)から0元を除く、残りの元
が位数2m−1の乗法群をなすことを利用するもの
である。GF(2m)の元の巡回群を用いて表現する
と 0、1(=α2m−1)、α、α2、α3……α2m−2 となる。
T=0 0 ... 0 a 0 1 0 ... 0 a 1 0 1 ... 0 a 2 〓 〓 〓 〓 0 0 ... 1 a n-1 Another expression uses a cyclic group. This takes advantage of the fact that the 0 element is removed from GF(2 m ) and the remaining elements form a multiplicative group of order 2 m -1. When expressed using the original cyclic group of GF (2 m ), it becomes 0, 1 (=α 2m −1), α, α 2 , α 3 . . . α 2m −2.

さて、本発明の一例では、mビツトを1ワード
とし、nワードで1ブロツクを構成するとき、下
記のパリテイ検査行列Hにもとずいてk個のチエ
ツクワードを発生するようにしている。
Now, in one example of the present invention, when m bits are one word and n words constitute one block, k check words are generated based on the parity check matrix H below.

H=1 αn-1 α2(n-1) 〓 α(k-1)(n-1)1 αn-2 α2(n-2) 〓 α(k-1)(n-2)… … … …1 α α2 〓 αk-11 1 1 〓 1 また、行列Tによつても同様にバリテイ検査行
列Hを表現することができる。
H=1 α n-1 α 2(n-1) 〓 α (k-1)(n-1) 1 α n-2 α 2(n-2) 〓 α (k-1)(n-2) … … …1 α α 2 〓 α k-1 1 1 1 〓 1 Furthermore, the validity check matrix H can be similarly expressed using the matrix T.

H= Tn-1 T2(n-1) 〓 T(k-1)(n-1)I Tn-2 T2(n-2) 〓 T(k-1)(n-2)… … … …I T1 T2 〓 Tk-1I I I 〓 I 但し、は、(m×m)の単位行列である。 H= T n-1 T 2(n-1) 〓 T (k-1)(n-1) I T n-2 T 2(n-2) 〓 T (k-1)(n-2) … … …I T 1 T 2 〓 T k-1 I I I 〓 I However, is an (m×m) unit matrix.

上述のように、根αを用いた表現と生成行列T
を用いた表現とはお互いに類似している。
As mentioned above, the expression using the root α and the generation matrix T
Expressions using are similar to each other.

例えば、4個(k=4)のチエツクワードを用
いる場合を例にとると、バリテイ検査行列Hは H=1 αn-1 α2(n-1) α3(n-1)1 αn-2 α2(n-2) α3(n-2)… … … …1 α α2 α31 1 1 1 となる。受信データの1ブロツクを列ベクトルV
=(W^o-1、W^o-2……W^1、W^0)(但しW^i=Wi+ei
ei:エラーパタン)とすると受信側で発生する4
個のシンドロームS0、S1、S2、S3は S0 S1 S2 S3=H・VT となる。この誤り訂正符号は、4ワードまでのエ
ラー訂正能力を有している。すなわち、ひとつの
エラー訂正ブロツク内の2ワードエラーまでのエ
ラー検出訂正が可能であり、エラーロケーシヨン
がわかつているときには、3ワードエラー又は4
ワードエラーの訂正が可能である。
For example, if we use four (k=4) check words, the validity check matrix H is H=1 α n-1 α 2(n-1) α 3(n-1) 1 α n -2 α 2(n-2) α 3(n-2) … … …1 α α 2 α 3 1 1 1 1. One block of received data is expressed as a column vector V
= (W^ o-1 , W^ o-2 ...W^ 1 , W^ 0 ) (However, W^ i = Wi + e i ,
e i : error pattern), 4 occurs on the receiving side
The syndromes S 0 , S 1 , S 2 , and S 3 become S 0 S 1 S 2 S 3 =H· VT . This error correction code has the ability to correct errors up to 4 words. In other words, it is possible to detect and correct errors up to 2-word errors in one error correction block, and when the error location is known, it is possible to detect and correct errors up to 3-word errors or 4-word errors.
Word errors can be corrected.

1ブロツク中に4個のチエツクワード(p=
W3、q=W2、r=W1、s=W0)が含まれる。
このチエツクワードは、下記の4元連立方程式を
解けば求められる。但し、Σは、o-1i=4 を意味する。
4 check words in 1 block (p=
W 3 , q=W 2 , r=W 1 , s=W 0 ).
This check word can be obtained by solving the following four-dimensional simultaneous equations. However, Σ means o-1i=4 .

p+q+r+s=ΣWi=a α3p+α2q+αr+s=ΣαiWi=b α6p+α4q+α2r+s=Σα2iWi=c α9p+α6q+α3r+s=Σα3iWi=d 計算過程を省略し、結果のみを示すと p q r s=α212 α153 α152 α209 α156 α2 α135 α152 α158 α138 α2 α153 α218 α158 α156 α212 a b c d となる。このようにしてチエツクワードp、q、
r、sを形成するのが送信側に設けられた符号器
の役目である。
p+q+r+s=ΣW i =a α 3 p+α 2 q+αr+s=Σα i W i =b α 6 p+α 4 q+α 2 r+s=Σα 2i W i =c α 9 p+α 6 q+α 3 r+s=Σα 3i W i =d Skip the calculation process However, if only the results are shown, p q r s=α 212 α 153 α 152 α 209 α 156 α 2 α 135 α 152 α 158 α 138 α 2 α 153 α 218 α 158 α 156 α 212 a b c d . In this way, check words p, q,
The role of the encoder provided on the transmitting side is to form r and s.

次に、上述のように形成されたチエツクワード
を含むデータが伝送され、受信された場合のエラ
ー訂正の基本的アルゴリズムについて説明する。
Next, a basic algorithm for error correction when data containing check words formed as described above is transmitted and received will be described.

〔1〕 エラーがない場合:S0=S1=S2=S3=0 〔2〕 1ワードエラー(エラーロケーシヨンiに
おけるエラーパターンをeiとする)の場合:S0
=ei S1=αiei S2=α2iei S3=α3iei したがつて αiS0=S1 αiS1=S2 αiS2=S3 となり、iを順次変えたときに、この関係が成
立するかどうかで1ワードエラーかどうかを判
定できる。或いは S1/S0=S2/S1=S3/S2=αi となり、αiのパターンを予めROMに記憶され
ている変換テーブルを参照することによりエラ
ーロケーシヨンiが分かる。そのときのシンド
ロームS0がエラーパターンeiそのものとなる。
[1] When there is no error: S 0 = S 1 = S 2 = S 3 = 0 [2] When there is a 1-word error (the error pattern at error location i is e i ): S 0
= e i S 1 = α i e i S 2 = α 2i e i S 3 = α 3i e i Therefore, α i S 0 = S 1 α i S 1 = S 2 α i S 2 = S 3 , When i is sequentially changed, it can be determined whether a one-word error has occurred based on whether this relationship holds. Alternatively, S 1 /S 0 =S 2 /S 1 =S 3 /S 2i , and the error location i can be found by referring to the conversion table previously stored in the ROM for the pattern of α i . The syndrome S 0 at that time becomes the error pattern e i itself.

〔3〕 2ワードエラー(ei、ej)の場合 S0=ei+ej S1=αiei+αjej S2=α2iei+α2jej S3=α3iei+α3jej 上式を変形すると αjS0+S1=(αi+αj)ei αjS1+S2=αi(αi+αj)ei αjS2+S3=α2i(αi+αj)ei したがつて αi(αjS0+S1)=αjS1+S2 αi(αjS1+S2)=αjS2+S3 が成立すれば、2ワードエラーと判定され、エ
ラーロケーシヨンi、jが分かる。つまり、i
及びjの組合せを変えて、上式の関係が成立す
るかどうかを調べる。そのときのエラーパター
ンは ei=S0+α-jS1/1+αi-j ej=S0+α-iS
1/1+αj-i 〔4〕 3ワードエラー(ei、ej、ek)の場合: S0=ei、ej、ek S1=αiei+αjej+αkek S2=α2iei+α2jej+α2kek S3=α3iei+α3jej+α3kek 上式を変形すると αkS0+S1=(αi+αk)ei+(αj +αk)ej αkS1+S2=αi(αi+αk)ei +αj(αj+αk)ej αkS2+S3=α2i(αi+αk)ei +α2j(αj+αk)ej したがつて、 αj(αkS0+S1)+(αkS1+S2) =(αi+αj)(αi+αk)ei αj(αkS1+S2)+(αkS2+S3) =αi(αi+αj)(αi+αk)ei 上式から αiαj(αkS0+S1)+(αkS1+S2)) =αj(αkS1+S2)+(αkS2+S3) が成立すれば、3ワードエラーと判定できる。
但し、(S0≠0、S1≠0、S2≠0)であること
を条件としている。そのときの各エラーパター
ンは ei=S0+(α-j+α-k)S1+α-j-kS2/(1+αi-j
)(1+αi-k) ej=S0+(α-k+α-i)S1+α-k-iS2/(1+αj-i
)(1+αj-k) ek=S0+(α-i+α-j)S1+α-i-jS2/(1+αk-i
)(1+αk-i) で求められる。実際には、3ワードエラーの訂
正のための構成が複雑となり、訂正動作に要す
る時間も長くなる。そこでポインタによつて
i、j、k、lのエラーロケーシヨンが分かつ
ている場合と組合せ、そのときのチエツク用に
上式を用い、エラー訂正演算を行なうことが実
用的である。
[3] In the case of two-word error (e i , e j ) S 0 = e i + e j S 1 = α i e i + α j e j S 2 = α 2i e i + α 2j e j S 3 = α 3i e i3j e jTransforming the above equation, α j S 0 +S 1 = (α i + α j )e i α j S 1 +S 2 = α iij )e i α j S 2 +S 3 = α 2ii + α j ) e i Therefore, if α ij S 0 + S 1 ) = α j S 1 + S 2 α ij S 1 + S 2 ) = α j S 2 + S 3 holds. , it is determined that there is a 2-word error, and the error locations i and j are known. In other words, i
By changing the combination of and j, check whether the above relationship holds. The error pattern at that time is e i = S 0 + α -j S 1 /1 + α ij e j = S 0 + α -i S
1 / 1 + α ji [4] In the case of 3-word error (e i , e j , e k ): S 0 = e i , e j , e k S 1 = α i e i + α j e j + α k e k S 2 = α 2i e i + α 2j e j + α 2k e k S 3 = α 3i e i + α 3j e j + α 3k e k Transforming the above equation, α k S 0 + S 1 = (α i + α k ) e i + (α j + α k ) e j α k S 1 + S 2 = α ii + α k ) e i + α jj + α k ) e j α k S 2 + S 3 = α 2ii + α k ) e i + α 2jj + α k ) e j Therefore, α jk S 0 + S 1 ) + (α k S 1 + S 2 ) = (α i + α j ) (α i + α k ) e i α jk S 1 + S 2 ) + (α k S 2 + S 3 ) = α ii + α j ) (α i + α k ) e iFrom the above equation, α i α jk S 0 + S 1 ) + (α k S 1 + S 2 )) = α jk S 1 + S 2 ) + (α k S 2 + S 3 ), it can be determined that there is a 3-word error.
However, the condition is that (S 0 ≠0, S 1 ≠0, S 2 ≠0). At that time, each error pattern is e i = S 0 + (α -j + α -k ) S 1 + α -jk S 2 / (1 + α ij
)(1+α ik ) e j =S 0 +(α -k-i )S 1-ki S 2 /(1+α ji
) (1 + α jk ) e k = S 0 + (α -i + α -j ) S 1 + α -ij S 2 / (1 + α ki
)(1+α ki ). In reality, the configuration for correcting a 3-word error becomes complicated, and the time required for the correction operation also increases. Therefore, it is practical to combine this with the case where the error locations of i, j, k, and l are known by pointers, and use the above equation for checking at that time to perform error correction calculations.

〔5〕 4ワードエラー(ei、ej、ek、el)の場合: S0=ei+ej+ek+el S1=αiei+αjej+αkek+αlel S2=α2iei+α2jej+α2kek+α2lel S3=α3iei+α3jej+α3kek+α3lel 上式を変形すると ei=S0+(α-j+α-k+α-l)S1+(α-j-k
+α-k-l+α-l-j)S2+α-j-k-lS3/(1+αi-j)(
1+αi-k)(1+αi-l) ej=S0+(α-k+α-l+α-i)S1+(α-k-l
+α-l-i+α-i-k)S2+α-k-l-iS3/(1+αj-i)(
1+αj-k)(1+αj-l) ek=S0+(α-l+α-i+α-j)S1+(α-l-i
+α-i-j+α-j-l)S2+α-l-i-jS3/(1+αk-i)(
1+αk-j)(1+αk-l) el=S0+(α-i+α-j+α-k)S1+(α-i-j
+α-j-k+α-k-i)S2+α-i-j-kS3/(1+αl-i)(
1+αl-j)(1+αl-k) ポインタによつてエラーロケーシヨン(i、
j、k、l)が分かつている場合には、上述の
演算によつてエラー訂正を行なうことができ
る。
[5] In the case of 4-word error (e i , e j , e k , e l ): S 0 = e i + e j + e k + e l S 1 = α i e i + α j e j + α k e k + α l e l S 2 = α 2i e i + α 2j e j + α 2k e k + α 2l e l S 3 = α 3i e i + α 3j e j + α 3k e k + α 3l e lTransforming the above equation gives e i = S 0 +(α -j-k-l )S 1 +(α -jk
-kl-lj )S 2-jkl S 3 /(1+α ij )(
1 + α ik ) (1 + α il ) e j = S 0 + (α -k + α -l + α -i ) S 1 + (α -kl
-li-ik )S 2-kli S 3 /(1+ αji )(
1 + α jk ) (1 + α jl ) e k = S 0 + (α -l + α -i + α -j ) S 1 + (α -li
-ij-jl )S 2-lij S 3 /(1+α ki )(
1 + α kj ) (1 + α kl ) e l = S 0 + (α -i + α -j + α -k ) S 1 + (α -ij
-jk-ki )S 2-ijk S 3 /(1+α li )(
1+α lj ) (1+α lk ) pointer to the error location (i,
j, k, l) is known, error correction can be performed by the above-mentioned calculation.

なお、チエツクワードの数kをより増加させ
れば、エラー訂正能力が一層向上する。例えば
(k=6)とすれば、6ワードまでのエラー訂
正能力を有する。すなわち、3ワードエラーま
で検出訂正でき、エラーロケーシヨンが分かつ
ているときに、6ワードエラーまで訂正でき
る。
Incidentally, if the number k of check words is further increased, the error correction ability is further improved. For example, if (k=6), it has error correction capability of up to 6 words. That is, up to 3 word errors can be detected and corrected, and when the error location is known, up to 6 word errors can be corrected.

以下、本発明をオーデイオPCM信号の記録再
生に適用した具体例について図面を参照して説明
する。第1図は、記録系に設けられる誤り訂正エ
ンコーダを全体として示すもので、その入力側に
オーデイオPCM信号が供給される。オーデイオ
PCM信号は、左右のステレオ信号の夫々をサン
プリング周波数fs(例えば44.1〔kHz〕)でもつてサ
ンプリングし、1サンプルを1ワード(2を補数
とするコードで16ビツト)に変換することで形成
されている。したがつて左チヤンネルのオーデイ
オ信号に関しては、(L0、L1、L2…)と各ワード
が連続するPCMデータが得られ、右チヤンネル
のオーデイオ信号に関しても(R0、R1、R2……)
と各ワードが連続するPCMデータが得られる。
この左右のチヤンネルのPCMデータが夫々6チ
ヤンネルずつに分けられ、計12チヤンネルの
PCMデータ系列が入力される。所定のタイミン
グにおいては、(L6o、R6o、L6o+1、R6o+1、L6o+2
L6o+2、L6o+3、R6o+3、L6o+4、R6o+4、L6o+5
R6o+5)の12ワードが入力される。この例では、
1ワードを上位8ビツトと下位8ビツトとに分
け、12チヤンネルを更に24チヤンネルとして処理
している。PCMデータの1ワードを簡単のため
に、Wiとして表わし、上位8ビツトに関しては、
Wi、AとAのサフイツクスを付加し、下位8ビ
ツトに関しては、Wi,BとBのサフイツクスを付加
して区別している。例えばL6oがW12oA及び
W12o,Bの2つに分割されることになる。
Hereinafter, a specific example in which the present invention is applied to recording and reproducing audio PCM signals will be described with reference to the drawings. FIG. 1 shows the entirety of an error correction encoder provided in a recording system, and an audio PCM signal is supplied to its input side. audio
The PCM signal is formed by sampling each of the left and right stereo signals at a sampling frequency f s (for example, 44.1 [kHz]) and converting one sample into one word (16 bits in two's complement code). ing. Therefore, for the audio signal of the left channel, PCM data in which each word is continuous is obtained as (L 0 , L 1 , L 2 ...), and for the audio signal of the right channel, it is also obtained as (R 0 , R 1 , R 2 ) . …)
PCM data in which each word is consecutive is obtained.
This left and right channel PCM data is divided into 6 channels each, for a total of 12 channels.
A PCM data series is input. At a given timing, (L 6o , R 6o , L 6o+1 , R 6o+1 , L 6o+2 ,
L 6o+2 , L 6o+3 , R 6o+3 , L 6o+4 , R 6o+4 , L 6o+5 ,
12 words of R 6o+5 ) are input. In this example,
One word is divided into upper 8 bits and lower 8 bits, and 12 channels are further processed as 24 channels. For simplicity, one word of PCM data is expressed as W i , and for the upper 8 bits,
W i , A and A suffixes are added, and the lower 8 bits are distinguished by adding W i,B and B suffixes. For example, L 6o is W 12o , A and
It will be divided into two parts: W 12o and B.

この24チヤンネルのPCMデータ系列がまず偶
奇インターリーバ1に対して供給される。(n=
0、1、2…)とすると、L6o(=W12o,A
W12o,B)、R6o(=W12o+1,A、W12o+1,B)、L6o+2(=
W12o+4,A、W12o+4,B)、R6o+2(=W12o+5,A
W12o+5,B)、L6o+4(=W12o+8,A、W12o+8,B)、R6o+4
(=W12o+9,A、W12o+9,B)の夫々が偶数番目のワー
ドであり、これ以外が奇数番目のワードである。
偶数番目のワードからなるPCMデータ系列の
夫々が偶奇インターリーバ1の1ワード遅延回路
2A,2B,3A,3B,4A,4B,5A,5
B,6A,6B,7A,7Bによつて1ワード遅
延される。勿論、1ワードより大きい例えば8ワ
ードを遅延させるようにしても良い。また、偶奇
インターリーバ1では、偶数番目のワードからな
る12個のデータ系列が第1〜第12番目までの伝送
チヤンネルを占め、奇数番目のワードからなる12
個のデータ系列が第13〜第24番目までの伝送チヤ
ンネルを占めるように変換される。
These 24 channels of PCM data series are first supplied to the even-odd interleaver 1. (n=
0, 1, 2...), then L 6o (=W 12o,A ,
W 12o,B ), R 6o (=W 12o+1,A , W 12o+1,B ), L 6o+2 (=
W 12o+4,A , W 12o+4,B ), R 6o+2 (=W 12o+5,A ,
W 12o+5,B ), L 6o+4 (=W 12o+8,A , W 12o+8,B ), R 6o+4
(=W 12o+9,A , W 12o+9,B ) are even-numbered words, and the others are odd-numbered words.
Each of the PCM data series consisting of even-numbered words is transmitted to the 1-word delay circuits 2A, 2B, 3A, 3B, 4A, 4B, 5A, 5 of the even-odd interleaver 1.
It is delayed by one word by B, 6A, 6B, 7A, and 7B. Of course, more than one word, for example eight words, may be delayed. Furthermore, in the even-odd interleaver 1, 12 data sequences consisting of even-numbered words occupy the first to 12th transmission channels, and 12 data sequences consisting of odd-numbered words occupy the first to twelfth transmission channels.
data series are converted to occupy the 13th to 24th transmission channels.

偶奇インターリーバ1は、左右のステレオ信号
の夫々に関して連続する2ワード以上が誤り、然
もこのエラーが訂正不可能となることを防止する
ためのものである。例えば(Li-1、Li、Li+1)と
連続する3ワードを考えると、Liが誤つており、
然もこのエラーが訂正不可能な場合に、Li-1又は
Li+1が正しいことが望まれる。それは、誤つてい
るデータLiを補正する場合において、前の正しい
ワードLi-1でもつてLiを補間(前値ホールド)し
たり、Li-1及びLi+1の平均値でもつてLiを補間す
るためである。偶奇インターリーバ1の遅延回路
2A,2B〜7A,7Bは、隣接するワードが異
なるエラー訂正ブロツクに含まれるようにするた
めに設けられている。また、偶数番目のワードか
らなるデータ系列と奇数番目のワードからなるデ
ータ系列毎とに伝送チヤンネルをまとめているの
は、インターリーブしたときに、近接する偶数番
目のワードと奇数番目のワードとの記録位置間の
距離をなるべく大とするためである。
The even-odd interleaver 1 is provided to prevent errors in two or more consecutive words of each of the left and right stereo signals, and to prevent these errors from becoming uncorrectable. For example, considering three consecutive words (L i-1 , L i , L i+1 ), L i is incorrect,
However, if this error is uncorrectable, L i-1 or
It is desired that L i+1 is correct. When correcting erroneous data L i , it is possible to interpolate L i using the previous correct word L i-1 (previous value hold), or use the average value of L i-1 and L i+1 . This is to interpolate L i . The delay circuits 2A, 2B to 7A, 7B of the even-odd interleaver 1 are provided to ensure that adjacent words are included in different error correction blocks. Furthermore, the reason why transmission channels are grouped into data sequences consisting of even-numbered words and data sequences consisting of odd-numbered words is that when interleaving is performed, the records of adjacent even-numbered words and odd-numbered words are This is to make the distance between the positions as large as possible.

偶奇インターリーバ1の出力には、第1の配列
状態にある24チヤンネルのPCMデータ系列が現
れ、その夫々から1ワードずつが取り出されて符
号器8に供給され、第1のチエツクワードQ12o
Q12o+1、Q12o+2、Q12o+3が形成される。第1のチ
エツクワードを含んで構成される第1のエラー訂
正ブロツクは (W12o-12,A、W12o-12,B、W12o+1-12,A
W12o+1-12,B、W12o+4-12,A、W12o+4-12,B
W12o+5-12,A、W12o+5-12,B、W12o+8-12,A
W12o+8-12,B、W12o+9-12,A、W12o+9-12,B、W12o+2,A
W12o+2,B、W12o+3,A、W12o+3,B、W12o+6,A
W12o+6,B、W12o+7,A、W12o+7,B、W12o+10,A
W12o+10,B、W12o+11,A、W12o+11,B、Q12o、Q12o+1
Q12o+2、Q12o+3) となる。第1の符号器8では、1ブロツクのワー
ド数:(n=28)、1ワードのビツト数:(n=
8)、チエツクワード数:(k=4)の符号化がな
されている。
At the output of the even-odd interleaver 1, a PCM data sequence of 24 channels in the first arrangement state appears, one word is extracted from each of them and supplied to the encoder 8, and the first check word Q 12o ,
Q 12o+1 , Q 12o+2 , Q 12o+3 are formed. The first error correction block including the first check words is (W 12o-12,A , W 12o-12,B , W 12o+1-12,A ,
W 12o+1-12,B , W 12o+4-12,A , W 12o+4-12,B ,
W 12o+5-12,A , W 12o+5-12,B , W 12o+8-12,A ,
W 12o+8-12,B , W 12o+9-12,A , W 12o+9-12,B , W 12o+2,A ,
W 12o+2,B , W 12o+3,A , W 12o+3,B , W 12o+6,A ,
W 12o+6,B , W 12o+7,A , W 12o+7,B , W 12o+10,A ,
W 12o+10,B , W 12o+11,A , W 12o+11,B , Q 12o , Q 12o+1 ,
Q 12o+2 , Q 12o+3 ). In the first encoder 8, the number of words in one block: (n=28) and the number of bits in one word: (n=
8), the number of check words: (k=4) is encoded.

この24個のPCMデータ系列と、4個のチエツ
クワード系列とがインターリーバ9に供給され
る。インターリーバ9では、偶数番目のワードか
らなるPCMデータ系列と奇数番目のワードから
なるPCMデータ系列との間にチエツクワード系
列が介在するように伝送チヤンネルの位置を変え
てから、インターリーブのための遅延処理を行な
つている。この遅延処理は、第1番目の伝送チヤ
ンネルを除く他の27個の伝送チヤンネルの夫々に
対して、1D、2D、3D、4D……26D、27D(但し、
Dは単位遅延量で例えば4ワード)の遅延量の遅
延回路を挿入することでなされている。
These 24 PCM data sequences and 4 check word sequences are supplied to the interleaver 9. In the interleaver 9, the position of the transmission channel is changed so that a check word sequence is interposed between the PCM data sequence consisting of even-numbered words and the PCM data sequence consisting of odd-numbered words, and then a delay for interleaving is performed. Processing is in progress. This delay processing is performed for each of the other 27 transmission channels excluding the first transmission channel, 1D, 2D, 3D, 4D...26D, 27D (however,
D is achieved by inserting a delay circuit with a unit delay of, for example, 4 words.

インターリーバ9の出力には、第2の配列状態
にある28個のデータ系列が現れ、このデータ系列
の夫々から1ワードずつが取り出されて符号器1
0に供給され、第2のチエツクワードP12o
P12o+1、P12o+2、P12o+3が形成される。第2のチ
エツクワードを含んで構成される32ワードからな
る第2のエラー訂正ブロツクは、下記のものとな
る。
At the output of the interleaver 9, 28 data sequences in the second arrangement state appear, and one word is extracted from each data sequence and sent to the encoder 1.
0 and the second check word P 12o ,
P 12o+1 , P 12o+2 , P 12o+3 are formed. The second error correction block consisting of 32 words including the second check word is as follows.

(W12o-12,A、W12o-12(D+1),B、W12o+1-12(2D+1),A
W12o+1-12(3D+1),B、W12o+4-12(4D+1),A
W12o+4-12(5D+1),B、W12o+5-12(6D+1),A
W12o+5-12(7D+1),B、…Q12o-12(12D)、Q12o+1-12(13D)

Q12o+2-12(14D)、Q12o+3-12(15D)、…W12o+10-12(24D),
A

W12o+10-12(25D),B、W12o+11-12(26D),A
W12o+11-12(27D),B、P12o、P12o+1、P12o+2、P12o+3
かかる第1及び第2のチエツクワードを含む32個
のデータ系列のうちで、偶数番目の伝送チヤンネ
ルに対して1ワードの遅延回路が挿入されたイン
ターリーバ11が設けられており、また第2のチ
エツクワード系列に対してインバータ12,1
3,14,15が挿入される。インターリーバ1
1によつてブロツク同士の境界にまたがるエラー
が訂正不可能となるワード数のエラーとなり易い
ことに対処している。また、インバータ12〜1
5は、伝送時におけるドロツプアウトによつて1
ブロツク中の全てのデータが“0”となり、これ
を再生系において正しいものと判別してしまう誤
動作を防止するため設けられている。同様の目的
で第1のチエツクワード系列に対してもインバー
タを挿入するようにしても良い。
(W 12o-12,A , W 12o-12(D+1),B , W 12o+1-12(2D+1),A ,
W 12o+1-12(3D+1),B , W 12o+4-12(4D+1),A ,
W 12o+4-12(5D+1),B , W 12o+5-12(6D+1),A ,
W 12o+5-12(7D+1),B ,...Q 12o-12(12D) ,Q 12o+1-12(13D)
,
Q 12o+2-12(14D) , Q 12o+3-12(15D) ,...W 12o+10-12(24D),
A
,
W 12o+10-12(25D),B , W 12o+11-12(26D),A ,
W 12o+11-12(27D),B , P 12o , P 12o+1 , P 12o+2 , P 12o+3 )
Of the 32 data sequences including the first and second check words, an interleaver 11 in which a one-word delay circuit is inserted is provided for even-numbered transmission channels, and the second Inverter 12,1 for check word series
3, 14, and 15 are inserted. interleaver 1
1 takes care of the fact that an error that spans the boundary between blocks is likely to result in an error in the number of words that cannot be corrected. In addition, inverters 12 to 1
5 becomes 1 due to dropout during transmission.
This is provided to prevent a malfunction in which all data in the block becomes "0" and the reproduction system determines this as correct. For the same purpose, an inverter may also be inserted for the first check word series.

そして、最終的に得られる24個のPCMデータ
系列と8個のチエツクワード系列との夫々から取
り出された32ワード毎に直列化され、第2図に示
すように、その先頭に16ビツトの同期信号が付加
されて1伝送ブロツクとなされて伝送される。第
2図では、図示の簡単のため第i番目の伝送チヤ
ンネルから取り出された1ワードをuiとして表示
している。伝送系の具体的な例としては、磁気記
録再生装置、回転デイスク装置などがあげられ
る。
Then, each of the 32 words extracted from each of the 24 PCM data sequences and 8 check word sequences that are finally obtained is serialized, and as shown in Figure 2, 16-bit synchronization is placed at the beginning. A signal is added to form one transmission block and transmitted. In FIG. 2, one word extracted from the i-th transmission channel is shown as u i for simplicity of illustration. Specific examples of transmission systems include magnetic recording and reproducing devices, rotating disk devices, and the like.

上述の符号器8は、前述したような誤り訂正符
号に関するもので、(n=28、m=8、k=4)
であり、同様の符号器10は、(n=32、m=8、
k=4)である。
The encoder 8 described above is related to the error correction code as described above, (n=28, m=8, k=4)
and a similar encoder 10 has (n=32, m=8,
k=4).

再生されたデータが1伝送ブロツクの32ワード
毎に第3図に示す誤り訂正デコーダの入力に加え
られる。再生データであるために、エラーを含ん
でいる可能性がある。エラーがなければ、このデ
コーダの入力に加えられる32ワードは、誤り訂正
エンコーダの出力に現れる32ワードと一致する。
誤り訂正デコーダでは、エンコーダにおけるイン
ターリーブ処理と対応するデインターリーブ処理
を行なつて、データの順序を元に戻してから誤り
訂正を行なう。
The reproduced data is applied to the input of the error correction decoder shown in FIG. 3 every 32 words of one transmission block. Since this is playback data, it may contain errors. In the absence of errors, the 32 words applied to the input of this decoder will match the 32 words that appear at the output of the error correction encoder.
The error correction decoder performs deinterleaving processing corresponding to the interleaving processing in the encoder to restore the data order and then perform error correction.

まず、奇数番目の伝送チヤンネルに対して1ワ
ードの遅延回路が挿入されたデインターリーバ1
6が設けられ、また、チエツクワード系列に対し
てインバータ17,18,19,20が挿入さ
れ、初段の復号器21に供給される。復号器21
では、第4図に示すように、パリテイ検査行列
HC1と入力の32ワード(VT)とから、シンドロー
ムS10、S11、S12、S13が発生され、これにもとず
いてエラー訂正が行なわれる。αは(F(x)=x8
+x4+x3+x2+1)のGF(28)の元である。復号
器21からは、24個のPCMデータ系列と4個の
チエツクワード系列とが現れ、このデータ系列の
1ワード毎にエラーの有無を示す少なくとも1ビ
ツトのポインタ(エラーを含むときに“1”、そ
うでないときに“0”)が付加されている。この
第4図及び後述の第5図において、並びに以下の
説明では、受信された1ワード^Wiを単にWiとし
て表わしている。
First, a deinterleaver 1 in which a 1-word delay circuit is inserted for odd-numbered transmission channels.
Further, inverters 17, 18, 19, and 20 are inserted for the check word sequence, and the check word sequence is supplied to the first stage decoder 21. Decoder 21
Now, as shown in Figure 4, the parity check matrix
Syndromes S 10 , S 11 , S 12 , and S 13 are generated from H C1 and the input 32 words (V T ), and error correction is performed based on these syndromes. α is (F(x)=x 8
+x 4 +x 3 +x 2 +1) is the element of GF(2 8 ). From the decoder 21, 24 PCM data sequences and 4 check word sequences appear, and for each word of this data sequence, at least a 1-bit pointer indicating the presence or absence of an error (“1” when an error is included) is provided. , otherwise, "0") is added. In FIG. 4 and FIG. 5, which will be described later, and in the following description, one received word ^W i is simply represented as W i .

この復号器21の出力データ系列がデインター
リーバ22に供給される。デインターリーバ22
は、誤り訂正エンコーダにおけるインターリーバ
9でなされる遅延処理をキヤンセルするためのも
ので、第1番目の伝送チヤンネルから第27番目の
伝送チヤンネルまでの夫々に(27D、26D、25D
……2D、1D)と遅延量が異ならされた遅延回路
が挿入されている。デインターリーバ22の出力
が次段の復号器23に供給される。復号器23で
は、第5図に示すように、パリテイ検査行列HC2
と入力の28ワードとから、シンドロームS20
S21、S22、S23が発生され、これにもとずいてエ
ラー訂正が行なわれる。
The output data sequence of this decoder 21 is supplied to a deinterleaver 22. Deinterleaver 22
are for canceling the delay processing performed by the interleaver 9 in the error correction encoder, and are applied to each of the channels from the first transmission channel to the 27th transmission channel (27D, 26D, 25D).
...2D, 1D) and delay circuits with different delay amounts are inserted. The output of the deinterleaver 22 is supplied to a decoder 23 at the next stage. In the decoder 23, as shown in FIG.
and 28 words of input and from, syndrome S 20 ,
S 21 , S 22 , and S 23 are generated, and error correction is performed based on them.

かかる次段の復号器23の出力に現れるデータ
系列が偶奇デインターリーバ24に供給される。
偶奇デインターリーバ24では、偶数番目のワー
ドからなるPCMデータ系列と奇数番目のワード
からなるPCMデータ系列とが互いちがいの伝送
チヤンネルに位置するように戻されると共に、奇
数番目のワードからなるPCMデータ系列に対し
て1ワード遅延回路が挿入されている。この偶奇
デインターリーバ24の出力には、誤り訂正エン
コーダの入力に供給されるのと全く同様の配列と
所定番目の伝送チヤンネルとを有するPCMデー
タ系列が得られることになる。第3図では、図示
されてないが、偶奇デインターリーバ24の次に
補正回路が設けられており、復号器21,23で
訂正しきれなかつたエラーを目立たなくするよう
な補正例えば平均値補間が行なわれる。
The data sequence appearing at the output of the next-stage decoder 23 is supplied to an even-odd deinterleaver 24.
In the even-odd deinterleaver 24, the PCM data series consisting of even-numbered words and the PCM data series consisting of odd-numbered words are returned so that they are located on different transmission channels, and the PCM data series consisting of odd-numbered words is A 1-word delay circuit is inserted for each series. At the output of this even-odd deinterleaver 24, a PCM data sequence is obtained having exactly the same arrangement and predetermined transmission channel as that supplied to the input of the error correction encoder. Although not shown in FIG. 3, a correction circuit is provided next to the even-odd deinterleaver 24, and performs correction such as average value interpolation to make errors that cannot be corrected by the decoders 21 and 23 less noticeable. will be carried out.

本発明の一例では、初段の復号器21において
1ワードエラーまで訂正するようにしている。そ
して、ひとつのエラー訂正ブロツク内において2
ワード以上のエラーがあると検出された場合に
は、このエラー訂正ブロツク内の32ワード又はチ
エツクワードを除く28ワードの全てのワードに対
してエラーがあることを示す少なく共1ビツトの
ポインタを付加する。このポインタは、例えばエ
ラーがあるときには、“1”、そうでないときに
は、“0”とされるものである。なお、初段の復
号の際、上述の所定のワード数を訂正した場合に
おいてもエラーが存在したことを示すポインタを
付加するようにしてもよい。1ワードが8ビツト
の場合には、最上位ビツトの更に上位の1ビツト
としてポインタが付加され、1ワードが9ビツト
となされ、デインターリーバ22で処理されて次
段の復号器23に供給される。
In one example of the present invention, the first stage decoder 21 corrects up to one word error. Then, within one error correction block, 2
If it is detected that there is an error in more than one word, a pointer of at least 1 bit indicating that there is an error is added to all 32 words in this error correction block or 28 words excluding the check word. do. For example, this pointer is set to "1" when there is an error, and "0" otherwise. Note that a pointer indicating that an error exists may be added even when the above-mentioned predetermined number of words is corrected during first-stage decoding. When one word is 8 bits, a pointer is added as one bit above the most significant bit, making one word 9 bits, processed by the deinterleaver 22, and supplied to the next stage decoder 23. Ru.

次段の復号器23においては、このポインタに
よつて示される第1のエラー訂正ブロツク内のエ
ラーワードの個数又はエラーロケーシヨンを用い
てエラー訂正を行なう。第6図は、この次段の復
号器23におけるエラー訂正の一例を示してお
り、第6図及び以下の説明では、ポインタによる
エラーワードの個数をNpで表わし、ポインタに
よるエラーロケーシヨンEiで表わす。また、第6
図において、Yは肯定を表わし、Nは否定を表わ
す。
The next stage decoder 23 performs error correction using the number of error words or error locations in the first error correction block indicated by this pointer. FIG. 6 shows an example of error correction in the next-stage decoder 23. In FIG. 6 and the following explanation, the number of error words caused by the pointer is expressed as N p , and the error location E i It is expressed as Also, the 6th
In the figure, Y represents affirmation and N represents negation.

(1) エラーの有無をシンドロームS20〜S23によつ
て調べる。(S20=S21=S22=S23=0)のとき
は、エラーなしとする。その場合(Np≦z1
かどうかを調べる。(Np≦z1)であれば、エラ
ーなしと判定して、そのエラー訂正ブロツク内
のポインタをクリア(“0”)とする。(Np
z1)であれば、シンドロームによる検出が誤つ
ているものとしてポインタをそのままとしてお
くか、そのブロツク内の全てのワードのポイン
タを“1”にする。z1としては、かなり大きく
例えば14とする。
(1) Check for errors using syndromes S 20 to S 23 . When (S 20 =S 21 =S 22 =S 23 =0), it is assumed that there is no error. In that case (N p ≦z 1 )
Find out if. If (N p ≦z 1 ), it is determined that there is no error, and the pointer in the error correction block is cleared (“0”). (N p >
z 1 ), it is assumed that the detection by the syndrome is incorrect and the pointer is left as is, or the pointers of all words in that block are set to "1". As z 1 , it is quite large, for example, 14.

(2) エラーがある場合にシンドロームの演算によ
つて1ワードエラーかどうかを調べる。1ワー
ドエラーの場合に、エラーロケーシヨンiを求
める。このシンドロームの演算により求められ
たエラーロケーシヨンiがポインタによるもの
と一致するかどうかが検出される。ポインタに
よるエラーロケーシヨンが複数個あるときは、
その何れかと一致するかどうかが調べられる。
(i=Ei)であれば、次に(Np≦z2)かどうか
が調べられる。z2は例えば10である。(Np
z2)であれば、これは1ワードエラーと判断
し、1ワードエラーの訂正を行なう。(Np
z2)であれば、1ワードエラーと判断すること
は危険なので、ポインタをそのままとしておく
か、又は全てのワードをエラーとみなして各ポ
インタを“1”とする。
(2) If there is an error, check whether it is a one-word error by calculating the syndrome. In the case of a one-word error, find the error location i. It is detected whether the error location i determined by the syndrome calculation matches the error location i determined by the pointer. If there are multiple error locations using pointers,
It is checked whether it matches any of them.
If (i=E i ), then it is checked whether (N p ≦z 2 ). z 2 is, for example, 10. (N p
z 2 ), this is determined to be a 1-word error, and the 1-word error is corrected. (N p >
z 2 ), it is dangerous to determine that it is a one-word error, so either the pointers are left as they are, or all words are regarded as errors and each pointer is set to "1".

(i≠Ei)の場合には、(Np≦z3)かどうか
が調べられる。z3はかなり小さい数で例えば3
である。(Np≦z3)が成立するときは、シンド
ロームの演算でもつてエラーロケーシヨンiに
ついての1ワードエラーを訂正する。
If (i≠E i ), it is checked whether (N p ≦z 3 ). z 3 is a fairly small number, for example 3
It is. When (N p ≦z 3 ) holds, the one-word error at error location i is corrected in the syndrome calculation.

(Np>z3)の場合では、更に(Np≦z4)か
どうかが調べられる。つまり、(z3<Np≦z4
のときは、シンドロームによる1ワードエラー
の判定が誤つている割には、Npが小さすぎる
ことを意味するから、そのブロツクの全ワード
のポインタを“1”とする。逆に(Np>z4
であれば、ポインタをそのままとする。z4は例
えば5である。
In the case of (N p > z 3 ), it is further checked whether (N p ≦z 4 ). That is, (z 3 <N p ≦z 4 )
When , it means that N p is too small considering that the one-word error due to the syndrome is incorrectly determined, so the pointers of all words in that block are set to "1". On the contrary (N p > z 4 )
If so, leave the pointer as is. For example, z 4 is 5.

(3) 1ワードエラーでもない場合では、(Np
z5)かどうかが判断され、(Np≦z5)のとき
は、ポインタの信頼性が乏しいので、全てのワ
ードのポインタを“1”とする。(Np>z5)の
ときは、ポインタをそのままとする。
(3) In the case where there is not even a single word error, (N p
z 5 ), and if (N p ≦z 5 ), the reliability of the pointer is poor, so the pointers of all words are set to "1". When (N p > z 5 ), leave the pointer as is.

(4) 第6図で破線で示すように、ポインタによる
エラーロケーシヨンを用いてMワードまでの訂
正を行なうようにしても良い。例えば4ワード
エラーまでの訂正が可能である。この場合、ポ
インタによつて示されるエラーロケーシヨンに
基づいてエラーの訂正を行なう。(Np≠M)の
場合には、ポインタをそのままとしておくか、
又は全てのワードのポインタを、エラーを示す
ものに変える。
(4) As shown by the broken line in FIG. 6, it is also possible to correct up to M words using the error location using a pointer. For example, it is possible to correct up to 4 word errors. In this case, the error is corrected based on the error location indicated by the pointer. If (N p ≠ M), leave the pointer as is, or
Or change all word pointers to indicate an error.

なお、1ブロツク内のエラーを示すポインタの
個数Npに対する比較値z1〜z5の具体的数値は、
あくまで一例である。上述の例におけるエラー訂
正符号は、5ワードエラー以上の場合に、これを
エラーなしと判断するおそれがあり、また4ワー
ドエラー以上の場合にこれを1ワードエラーと判
断するおそれがあるので、このような見逃し又は
誤つた訂正が生じる確率などを考慮して比較値を
適切な値とすることができる。
The specific numerical values of the comparison values z 1 to z 5 for the number N p of pointers indicating errors in one block are as follows:
This is just an example. With the error correction code in the example above, if there are 5 or more word errors, there is a risk that it will be judged as no error, and if there are 4 or more word errors, there is a risk that it will be judged as a 1-word error, so this The comparison value can be set to an appropriate value by taking into consideration the probability that such oversight or erroneous correction will occur.

この第3図に示す誤り訂正デコーダでは、第1
のチエツクワードQ12o、Q12o+1、Q12o+2、Q12o+3
を用いたエラー訂正と第2のチエツクワード
P12o、P12o+1、P12o+2、P12o+3を用いたエラー訂正
とを夫々1回ずつ行なつている。この各エラー訂
正を2回以上(実際的には、2回程度)ずつ行な
うようにすれば、訂正された結果のよりエラーが
減少されたことを利用できるから、エラー訂正能
力をより増すことができる。このように、更に後
段に復号器を設ける場合には、復号器21,23
においてチエツクワードの訂正も行なつておく必
要がある。
In the error correction decoder shown in FIG.
Check words Q 12o , Q 12o+1 , Q 12o+2 , Q 12o+3
Error correction using and second check word
Error correction using P 12o , P 12o+1 , P 12o+2 , and P 12o+3 is performed once each. If each error correction is performed at least twice (actually, about twice), the error reduction resulting from the correction can be utilized to further increase the error correction ability. can. In this way, when a decoder is provided at a later stage, the decoders 21 and 23
It is also necessary to correct the check words in advance.

なお、上述の例では、インターリーバ9におけ
る遅延処理として、遅延量をDずつ異ならせるよ
うにしたが、このような規則的な遅延量の変化と
異なり、不規則的なものとしても良い。また、第
2のチエツクワードPiは、PCMデータのみなら
ず、第1のチエツクワードQiをも含んで構成され
る誤り訂正符号である。これと同様に、第1のチ
エツクワードQiが第2のチエツクワードPiをも含
むようにすることも可能である。具体的には、第
2のチエツクワードPiを帰還して第1のチエツク
ワードを形成する符号器に供給すれば良い。
Note that in the above example, the delay amount is varied by D as the delay processing in the interleaver 9, but unlike this regular change in the delay amount, it may be irregular. Further, the second check word P i is an error correction code that includes not only the PCM data but also the first check word Q i . Similarly, it is also possible for the first check word Q i to also include the second check word P i . Specifically, the second check word P i may be fed back to the encoder that forms the first check word.

以上の説明から理解されるように、本発明に依
れば、初段の復号において、第2のチエツクワー
ドに対応して定まる最大検出訂正可能エラー数
(ポインタの使用なしにエラーの検出及び訂正が
行える最大数)に達しない所定数までのエラーを
訂正すると共に、少なくともエラーが上記所定数
を越えて存在することが検出されたときには、そ
のエラー訂正対象ブロツクのすべてのワードに対
しエラーの存在を指示するポインタを設定し、次
段の復号においては、第1のチエツクワードを用
いて生成されたエラーシンドロームから求められ
た第1のエラーロケーシヨンと上記ポインタによ
る第2のエラーロケーシヨンを比較し、このロケ
ーシヨンが一致していることを確認してエラーの
訂正を行うようにしているので、誤つたエラーの
検出または訂正が防止できる。更に、そのエラー
訂正対象ブロツク内におけるポインタの数が予め
設定された値以内のときに限り、この一致したエ
ラーロケーシヨンで指示されるエラーを訂正する
ようにしたことにより、誤つたエラーの検出また
は訂正がより一層防止でき、復号データの信頼性
を向上することができる。
As can be understood from the above description, according to the present invention, in the first stage decoding, the maximum number of detectable and correctable errors determined corresponding to the second check word (error detection and correction is possible without using a pointer). In addition to correcting errors up to a predetermined number that does not reach the maximum number of errors that can be performed, if it is detected that there are at least more than the predetermined number of errors, the existence of errors is detected for all words in the block to be corrected. A pointing pointer is set, and in the next stage of decoding, the first error location obtained from the error syndrome generated using the first check word is compared with the second error location based on the pointer. Since the error is corrected after confirming that the locations match, it is possible to prevent erroneous error detection or correction. Furthermore, only when the number of pointers in the block to be corrected is within a preset value, the error pointed to by the matched error location is corrected, thereby making it possible to detect or correct an erroneous error. Corrections can be further prevented and the reliability of decoded data can be improved.

また初段の復号において、最大検出訂正可能エ
ラー数に達しない所定数までのエラーを訂正する
ようにしたことにより、非常に簡単な回路により
エラー訂正を行うことができる。
Furthermore, in the first stage decoding, errors up to a predetermined number that does not reach the maximum number of detectable and correctable errors are corrected, so that error correction can be performed using a very simple circuit.

なお、初段の復合器21において1ワードエラ
ーを訂正したときでも、この訂正された1ワード
が含まれるエラー訂正ブロツク内の全てのワード
のポインタを“1”とすれば、より一層検出ミ
ス、誤つた訂正を行なうおそれを防止できる。
Note that even when a one-word error is corrected in the first-stage decoder 21, if the pointers of all words in the error correction block that includes this corrected one word are set to "1", detection errors and errors are further reduced. It is possible to prevent the possibility of making a wrong correction.

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

第1図は本発明が適用された誤り訂正エンコー
ダの一例のブロツク図、第2図は伝送時の配列を
示すブロツク図、第3図は誤り訂正デコーダの一
例のブロツク図、第4図、第5図及び第6図は誤
り訂正デコーダの復号器の動作の説明に用いる図
である。 1,9,11はインターリーバ、8,10は符
号器,16,22,24はデインターリーバ、2
1,23は復号器である。
FIG. 1 is a block diagram of an example of an error correction encoder to which the present invention is applied, FIG. 2 is a block diagram showing an arrangement during transmission, FIG. 3 is a block diagram of an example of an error correction decoder, and FIGS. 5 and 6 are diagrams used to explain the operation of the decoder of the error correction decoder. 1, 9, 11 are interleavers, 8, 10 are encoders, 16, 22, 24 are deinterleavers, 2
1 and 23 are decoders.

Claims (1)

【特許請求の範囲】 1 第1の配列状態にある複数チヤンネルの
PCMデータ系列の各々に含まれる1ワードとこ
れに対する第1のチエツクワードとからなる第1
のエラー訂正ブロツクが形成され、上記複数チヤ
ンネルのPCMデータ系列と上記第1のチエツク
ワード系列をチヤンネルごとに異なる時間遅延さ
せることによつて第2の配列状態とし、この第2
の配列状態にある複数チヤンネルのPCMデータ
系列と第1のチエツクワード系列との各々に含ま
れる1ワードとこれに対する第2のチエツクワー
ドとからなる第2のエラー訂正ブロツクとして伝
送されたデータを受信し、上記第2のチエツクワ
ードを用いて上記第2のエラー訂正ブロツクに対
する初段の復号を行い、次に第2の配列状態にあ
る複数のチヤンネルのPCMデータ系列と第1の
チエツクワード系列とをチヤンネルごとに異なる
時間遅延させることによつて第1の配列状態と
し、この後に第1のチエツクワードを用いて第1
のエラー訂正ブロツクに対する次段の復号を行う
エラー訂正方法であつて、 上記前段の復号においては、上記第2のチエツ
クワードに対応して定まる最大検出訂正可能エラ
ー数に達しない所定数までのエラーを訂正すると
ともに、少なくともエラーが上記所定数を越えて
存在することが検出されたときには、そのエラー
訂正対象ブロツクのすべてのワードに対しエラー
の存在を指示するポインタを設定し、 上記後段の復号においては、 上記第1のチエツクワードを用いて生成された
エラーシンドロームに基づいて1ワードエラーが
検出された場合、上記エラーシンドロームから求
められた第1のエラーロケーシヨンと、そのエラ
ー訂正対象ブロツク内における上記前段の復号の
際に設定されたポインタによる第2のエラーロケ
ーシヨンを比較し、上記第1及び第2のエラーロ
ケーシヨンが一致した場合に、かつ、そのエラー
訂正対象ブロツク内における上記前段の復号の際
に設定されたポインタの数が予め設定された値以
内のとき、この一致したエラーロケーシヨンで指
示されるエラーを上記第1のエラーロケーシヨン
を用いて訂正するようにしたことを特徴とするエ
ラー訂正方法。
[Claims] 1. A plurality of channels in a first arrangement state
A first check word consisting of one word included in each PCM data series and a first check word for this word.
An error correction block is formed, and the PCM data sequences of the plurality of channels and the first check word sequence are brought into a second arrangement state by delaying each channel by a different time.
Receive data transmitted as a second error correction block consisting of one word included in each of the PCM data series of the plurality of channels and the first check word series in the arrangement state, and a second check word corresponding thereto. Then, the first stage decoding of the second error correction block is performed using the second check word, and then the PCM data series of the plurality of channels in the second arrangement state and the first check word series are decoded. A first alignment state is achieved by delaying each channel by a different time, and then a first alignment state is achieved using a first check word.
An error correction method that performs next-stage decoding for an error correction block, wherein in the first-stage decoding, errors up to a predetermined number that do not reach the maximum number of detectable and correctable errors determined corresponding to the second check word are detected. At the same time, when it is detected that at least the number of errors exceeds the predetermined number, a pointer indicating the existence of an error is set for all words of the error correction target block, and in the subsequent decoding described above. is, when a one-word error is detected based on the error syndrome generated using the first check word, the first error location found from the error syndrome and the error correction target block. The second error location according to the pointer set during the decoding of the previous stage is compared, and if the first and second error locations match, the error location of the previous stage in the block to be corrected is determined. When the number of pointers set during decoding is within a preset value, the error indicated by the matched error location is corrected using the first error location. error correction method.
JP8442480A 1980-06-20 1980-06-20 Error correcting method Granted JPS5710557A (en)

Priority Applications (17)

Application Number Priority Date Filing Date Title
JP8442480A JPS5710557A (en) 1980-06-20 1980-06-20 Error correcting method
CA000379913A CA1161565A (en) 1980-06-20 1981-06-16 Method of error correction
ES503164A ES8203542A1 (en) 1980-06-20 1981-06-17 Method of error correction
SE8103836A SE451928B (en) 1980-06-20 1981-06-18 SET TO DECOD DIGITAL ERROR CORRECT INFORMATION
GB8118998A GB2079994B (en) 1980-06-20 1981-06-19 Methods of digital data error correction
DK270581A DK158485C (en) 1980-06-20 1981-06-19 PROCEDURE FOR ERROR CORRECTION IN DATA TRANSMISSION SYSTEMS
IT22478/81A IT1194807B (en) 1980-06-20 1981-06-19 METHOD FOR CORRECTING ERRORS
FR8112242A FR2485299B1 (en) 1980-06-20 1981-06-22 CORRECTION OF ERRORS
BR8103911A BR8103911A (en) 1980-06-20 1981-06-22 ERROR CORRECTION PROCESS
AT0275181A AT379460B (en) 1980-06-20 1981-06-22 DECODING DEVICE FOR DECODING TRANSFERRED, CODED, DIGITAL INFORMATION
NL8103001A NL191136C (en) 1980-06-20 1981-06-22 Device for multi-channel transmission of pulse-modulated information words with error correction.
CH4097/81A CH653504A5 (en) 1980-06-20 1981-06-22 METHOD FOR ERROR CORRECTION IN PCM DATA TRANSFER.
DE3124425A DE3124425C2 (en) 1980-06-20 1981-06-22 Method and device for error detection and error correction
AU72019/81A AU542428B2 (en) 1980-06-20 1981-06-22 Data error correction and prediction
BE2/59231A BE889323A (en) 1980-06-20 1981-06-22 CORRECTION OF ERRORS
CA000463143A CA1201811B (en) 1980-06-20 1984-09-13 Method of error correction
US06/684,161 US4546474A (en) 1980-06-20 1984-12-21 Method of error correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8442480A JPS5710557A (en) 1980-06-20 1980-06-20 Error correcting method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP31347487A Division JPS63158917A (en) 1987-12-11 1987-12-11 Error correction method

Publications (2)

Publication Number Publication Date
JPS5710557A JPS5710557A (en) 1982-01-20
JPH0353816B2 true JPH0353816B2 (en) 1991-08-16

Family

ID=13830196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8442480A Granted JPS5710557A (en) 1980-06-20 1980-06-20 Error correcting method

Country Status (2)

Country Link
JP (1) JPS5710557A (en)
BE (1) BE889323A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58161547A (en) * 1982-03-19 1983-09-26 Pioneer Electronic Corp Data decoding system
JPS61126826A (en) * 1984-11-22 1986-06-14 Hiroichi Okano Decoder for double length single error correction double error detection read solomon code
JPH0828672B2 (en) * 1993-03-25 1996-03-21 博一 岡野 Double-length single error correction Double error detection Reed-Solomon code decoder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS539437A (en) * 1976-07-15 1978-01-27 Hitachi Ltd Correcting system for error track prinority instruction
JPS5555412A (en) * 1978-10-17 1980-04-23 Victor Co Of Japan Ltd Signal recording and reproducing device
JPS55161445A (en) * 1979-06-04 1980-12-16 Mitsubishi Electric Corp Coding and decoding system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS539437A (en) * 1976-07-15 1978-01-27 Hitachi Ltd Correcting system for error track prinority instruction
JPS5555412A (en) * 1978-10-17 1980-04-23 Victor Co Of Japan Ltd Signal recording and reproducing device
JPS55161445A (en) * 1979-06-04 1980-12-16 Mitsubishi Electric Corp Coding and decoding system

Also Published As

Publication number Publication date
JPS5710557A (en) 1982-01-20
BE889323A (en) 1981-10-16

Similar Documents

Publication Publication Date Title
JPH0353817B2 (en)
JPH0376051B2 (en)
US4546474A (en) Method of error correction
EP0072640B1 (en) Methods of data error correction
KR860000500B1 (en) Error correction method
JPH0436487B2 (en)
EP0340139A2 (en) Fast processor for multi-bit error correction codes
GB2038144A (en) Methods of and apparatus for processing digital information words
US3745528A (en) Error correction for two tracks in a multitrack system
JPS6151814B2 (en)
JPH0353818B2 (en)
JPH0361381B2 (en)
JP2002509331A5 (en)
JPS628056B2 (en)
JPH01129534A (en) Error detecting and correcting method
USRE28923E (en) Error correction for two bytes in each code word in a multi-code word system
JPH0353816B2 (en)
JPH0361379B2 (en)
JPH0361380B2 (en)
JPH048974B2 (en)
JPH044776B2 (en)
JPH047848B2 (en)
JPH0376052B2 (en)
KR920000396B1 (en) Error correcting method
KR920000397B1 (en) Error correcting method