JPS58111539A - Error correcting method - Google Patents

Error correcting method

Info

Publication number
JPS58111539A
JPS58111539A JP56215217A JP21521781A JPS58111539A JP S58111539 A JPS58111539 A JP S58111539A JP 56215217 A JP56215217 A JP 56215217A JP 21521781 A JP21521781 A JP 21521781A JP S58111539 A JPS58111539 A JP S58111539A
Authority
JP
Japan
Prior art keywords
error
unit
error correction
correction
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP56215217A
Other languages
Japanese (ja)
Other versions
JPH048974B2 (en
Inventor
Youichirou Sako
曜一郎 佐古
Kentaro Odaka
健太郎 小高
Akira Iga
伊賀 章
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP56215217A priority Critical patent/JPS58111539A/en
Publication of JPS58111539A publication Critical patent/JPS58111539A/en
Publication of JPH048974B2 publication Critical patent/JPH048974B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To process efficiently signals, by providing pointers which correct and represent errors if a block has errors of a prescribed word and bit after classifying the error in response to the error bit number and discriminating the pointers at the next stage. CONSTITUTION:Two-word error correction is executed at the decoder of the prestage, and a plurality (P1, P2, P3) of error pointers to bits constituting the word are provided, an error discriminating code is given to the error pointers, and error correction is done at the decoder of the next stage by using the error pointers. First, the decoder of the next stage discriminates error bits by using a parity syndrome Sp and the number of error pointers P1, P2 and P3 included in bits of one word unit are counted. The error correction is classified through the number of errors, and based on the range of error correction represented with the parity syndrome Sp, the error correction is executed by using the error pointers P1-P3.

Description

【発明の詳細な説明】 本発明は、バーストエラー及びランダムエラーの伊れに
対してもエラー訂正能力が高く、然もエラー検出の見逃
し又は誤った訂正を行なうおそれが低減されたエラー訂
正方法1/CaIシ、特にワード単位でもビット単位の
訂正方法でもよいエラー訂正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides an error correction method 1 which has a high error correction ability even for irregular burst errors and random errors, and reduces the risk of missing error detection or performing erroneous correction. /CaI, in particular, relates to an error correction method that may be a word-by-word or bit-by-bit correction method.

本願出願人け、先にバーストエラーに対して有効なデー
タ伝送方法としてクロスインターリーブと称するものを
提案している。これは、第1の配列状IIKある複数チ
ャンネルのPCMデータ系列の各々に含まれる1ワード
、1ビツトを第1のエラー訂正符号器に供給することに
よって第1のチェックワード系列をデータビット系列発
生させ、この第1のチェックワード系列、チェックビッ
ト系列及び複数チャンネルのPCMデータ系列、データ
ビット系列を第2の配列状態とし、夫々に含着れる1ワ
ード、1ビツトを第2の工2−訂正符号器に供給するこ
とによって第2のチェックワード系列、チェックビット
系列を発生させるもので、ワード単位、ビット単位でも
って二重のインターリーブ(配列の差び変え)を行なう
ものである。
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 as a data bit sequence by supplying one word and one bit included in each of the PCM data sequences of a plurality of channels in a first array IIK to a first error correction encoder. Then, the first check word series, check bit series, PCM data series of multiple channels, and data bit series are put into a second arrangement state, and one word and one bit contained in each are subjected to second process 2-correction. A second check word sequence and a check bit sequence are generated by supplying the second check word sequence and check bit sequence to the encoder, and double interleaving (sequence change) is performed on a word-by-word and bit-by-bit basis.

インターリーブけ、共通のエラー訂正ブロックに含まれ
るチェックワード、チェックビット及びPCMデータを
分散させて伝送し、受信側において元の配列に戻したと
きに、共通のエラー訂正ブロックに含まれる検数ワード
、複数ビットのうちのエラーワード数、エラービット数
を少なくしようとするものである。つまり、伝送時にバ
ーストエラー・が生じるときに、このバーストエラーを
分散化することができる。かかるインターリーブを二重
に行なえば、第1及び第2のチェックワード、チェック
ビットの夫々が別々のエラー訂正ブロックを構成すると
とKなるので、チェックワード、チェックビットの何れ
か一方でエラーを訂正できないときでも、その他方を用
いてエラーを訂正することができ、したがってエラー訂
正能力を一層向上させることができる。ところで、特に
ワード単位の訂正方法の場合σ1ワード中の1ビツトで
も誤っているときには、1ワ一ド全体が誤っているもの
として取シ扱われるので、ランダムエラーが比較的多い
受信データを扱う場合には、必ずしもエラー訂正能力が
充分であるとは言えない。
Interleaving, when the check words, check bits and PCM data included in a common error correction block are distributed and transmitted, and returned to the original arrangement on the receiving side, the count word included in the common error correction block, This is intended to reduce the number of error words and error bits among multiple bits. In other words, when a burst error occurs during transmission, this burst error can be dispersed. If such interleaving is performed twice, the first and second check words and check bits each constitute a separate error correction block, so it is not possible to correct an error in either the check word or the check bit. Even when the error is corrected using the other one, the error correction ability can be further improved. By the way, especially in the case of the word-based correction method, if even one bit in the σ1 word is incorrect, the whole word is treated as being incorrect, so when dealing with received data that has a relatively large number of random errors, It cannot be said that the error correction ability is necessarily sufficient.

そこで1ブロツク内のにワード、Kビット例えば2ワー
ドエ2−12ビツトエラー童で訂正でき、エラーロケー
ションが判っているときには、Mワ−)’、Mビット例
えば3ワードエラー、3ビットエラー或いは4ワードエ
ラー、4ビツトエラーも訂正することがてきる(もちろ
んビット単位の訂正方法で真にエラーロケーションがわ
かればそのビットを反転するだけでなおる)訂正能力の
高い1り訂正符号(II接(b−adjacent )
 =r−ドの−S)を上述の多重インターリーブと組合
せる。また、この誤り訂正符号は、1ワードエラー、1
ビツトエラーだけを訂正の対象とする場合には、つ号器
の構成を頗る簡単にてきるS徴を有している。
Therefore, it is possible to correct words, K bits, for example 2 words, 2-12 bit errors, in one block, and when the error location is known, M words, M bits, for example 3 word errors, 3 bit errors or 4 word errors. , 4-bit errors can also be corrected (of course, if the error location is truly known using the bit-by-bit correction method, it can be corrected by simply inverting the bit).
=r-do-S) in combination with the multiple interleaving described above. Also, this error correction code has 1 word error, 1
When only bit errors are to be corrected, there is an S characteristic that can be easily obtained depending on the configuration of the encoder.

また、第2のエラー訂正ブロックに対する初段の昏号を
行ない、次に第1の配列状態に戻してから第1のエラー
訂正ブaツクに対する次段のり号を行なう場合、初段の
書号で工〉−検出の見逃し、一つた訂正が住じると、こ
の見逃し、誤った訂正が次段の醤号において新たな見逃
し、誤った訂正の要因となシ、全体としてみたこれらの
誤1作の生じるおそれがつよくなる。
Also, when performing the first stage code for the second error correction block, then returning to the first arrangement state, and then performing the next stage numbering for the first error correction block a, the first stage code is used for the first stage code. 〉 - When one missed detection or one correction occurs, this oversight or incorrect correction becomes a factor for new oversights or incorrect corrections in the next stage. The risk of this occurring increases.

本発明では、初段のり号の際に、例えば2ワードエラー
、2ピツトエラーまで訂正すると共に、例えばビット単
位の訂正方法の場合各ワード中2ビット以壬が1ってい
ることを初段のつ号で検出した際には、そのブロック内
に含着れる各ワード、各ビットに対してエラーがあるこ
とを示すポインタを付加し、次段の復号でこのポインタ
の状態を判別することによシ、次段のり号でのエラーの
見逃し、誤った訂正のおそれを防止している。このよう
にして、エラー検出及び訂正の際の1逃し、誤った訂正
のおそれを軽シし、例えばオーディオPCM信号を伝送
する際に、誤った訂正にもとづく異音が発生するような
問題膚を解決している。
In the present invention, in the first stage number, for example, up to two word errors and two pit errors are corrected, and in the case of a bit-by-bit correction method, for example, in the case of a bit-by-bit correction method, the first stage number indicates that 2 or more bits in each word are 1. When an error is detected, a pointer indicating that there is an error is added to each word and each bit included in the block, and the state of this pointer is determined in the next stage of decoding. This prevents the risk of overlooking errors in column numbers and making incorrect corrections. In this way, the possibility of missed errors and incorrect corrections during error detection and correction is reduced, and problems such as abnormal noises caused by incorrect corrections are avoided when transmitting audio PCM signals, for example. It's resolved.

まず、本発明に用いる誤り訂正符号についてワード単位
の訂正方法の場合を例にとり、駅間する。
First, an example of a word-by-word correction method for the error correction code used in the present invention will be explained between stations.

vAシ訂正符号を紀述する場合、イクトル表現或いは巡
回群による表現が用いられる。ます、G P (2)上
では、既約なm次の多項式Fに)を考える。@02と“
1″の元しか有害・しない体G F (2)の士では、
既約な多項式F k)は、根を持たない、そこで(F(
x)=0)を満足する仮懇的な根αを考える。
When describing the vA correction code, an vector representation or a cyclic group representation is used. First, consider an irreducible m-th degree polynomial F on G P (2). @02 and “
In the body GF (2) which is harmful and only harmful to the origin of 1",
The irreducible polynomial F k) has no roots, so (F(
Consider a tentative root α that satisfies x)=0).

このとき、学兄を含むαのべき乗で表わされる2m個の
相異なる元0.α、α2.α3・・・・・・・・・α2
m−1は、拡大体GF(2m)を構成する。GF (2
m)u、G F (2)の上のm次の既約多項iFに)
を法とする多項式珊である。GF(2°)の元は、1.
α=(X)。
At this time, 2m different elements 0. α, α2. α3・・・・・・α2
m-1 constitutes an extended field GF (2m). GF (2
m) u, G F (to m-th order irreducible polynomial iF over (2))
It is a polynomial with modulus . The origin of GF (2°) is 1.
α=(X).

α2 = (x2)、・・・・・・・・・、α!n−1
=n−1=(xの線形結合でかきあられすことができる
。即ち、 a6+al(x)  +  a2(xり  + ・・軸
・・・・・ JLm−i  (Xm−”  )= a□
+a1α+a2−+ ”=−・+ ant−1α%’ 
rあるいけ(ILm−1j  am−v *・・・・・
・・・・*&2*lLl*aQ )ここで、a6.al
* ・・・・・−* am−I CGF (2)となる
α2 = (x2), ......, α! n-1
= n-1 = (can be created by a linear combination of
+a1α+a2-+ ”=-・+ ant-1α%'
r go (ILm-1j am-v *・・・・・・
...*&2*lLl*aQ) Here, a6. al
* ・・・・・・-* am-I CGF (2).

−例として、GF(2りを考えると、(modF(X)
: x8+x’+x3+x”+1 )全てあ8ピツトの
データは a7x7 +a15x6+a5xl+a4x4+a3x
3+a2x2+al x−1−a。
- As an example, considering GF(2), (modF(X)
: x8+x'+x3+x"+1) All A8 pit data is a7x7 +a15x6+a5xl+a4x4+a3x
3+a2x2+al x-1-a.

又は(&7−&6s&5*&4**3.a1m&1−&
6 )で魯きあられせるので、例えばa7をMOB@、
IQをLSB@に割p当てる・jLylけ、G F (
21K属するので、0ヌけ1である。
or (&7-&6s&5*&4**3.a1m&1-&
6), so for example, move a7 to MOB@,
Assign IQ to LSB @, jLyl, G F (
Since it belongs to 21K, it is 0 minus 1.

また、多項式F (x)から(m X m )のT1の
行列Tが導かれる。
Further, a T1 matrix T of (m x m ) is derived from the polynomial F (x).

他の表現としては、巡回群を用いたものがめる。Another way to express it is to use a cyclic group.

これは、GF(2m)から0元を除く、残シの元が位数
2rn−1の乗法群をなすことを利用するものである。
This utilizes the fact that the remaining elements, excluding the 0 element from GF(2m), form a multiplicative group of order 2rn-1.

GF(2m)の元を巡回群を用いて表演すると、   
    ・ □ 0  *  1 (= α2m−” )、α、α2.a
3. 拳@ @ (12m−2となる。
If we express the element of GF(2m) using a cyclic group, we get
・ □ 0 * 1 (= α2m-”), α, α2.a
3. Fist @ @ (12m-2.

さて、本発明の一例では、mピットを1ワードとし、n
ワードで1ブロツクを構成するとき、下1の)9リティ
検査行列Hにもとづいてに4mのチェックワードを発生
するようにしている。
Now, in one example of the present invention, m pits are one word, and n
When one block is composed of words, 4m check words are generated based on the 9-ity check matrix H shown below.

また、行列TKよっても同様に・譬すティ検査行列Hを
表現することができる。
Additionally, the ``Tee check matrix H'' can be similarly expressed using the matrix TK.

但し、1は、(m x m )の単位行列である。However, 1 is a unit matrix of (m x m).

)述のように%根αを用いた表現と生成行列Tを用いた
表現との両者は本質的に同一である。
) As mentioned above, both the expression using the % root α and the expression using the generator matrix T are essentially the same.

更に、4個(k=4)のチェックワードを用いる場合を
例にとると、ノやリティ検査行列Hはとなる。受信デー
タの1ブロツクをクリベクトル■=(W   、W  
  @@*@−,W□、W。)(但j、W1=W1+e
i。
Furthermore, if we take as an example the case where four (k=4) check words are used, the no-ity check matrix H is as follows. One block of received data is converted into a vector ■=(W, W
@@*@−, W□, W. ) (However, W1=W1+e
i.

n−1n−2’ el:エラーノ量ターン)とすると受信側で発生する4
個のシンドa −ム8(1、Sl 、82 +831d
となる、この誤り訂正符号は、ひとつのエラー訂正ブロ
ック内の2ワードエラーまでの工2−訂正が可能であシ
、エラーロケーションがわかっているときには、3ワー
ドエツー又は4ワードエラーの訂正が可能である。
n-1n-2' el: error amount turn), then 4 occurring on the receiving side
Syndom a - 8 (1, Sl, 82 +831d
This error correction code can correct up to two word errors in one error correction block, and can correct three or four word errors when the error location is known. be.

lブロック中に4111のチェックワード(p’=w3
 。
4111 check words (p'=w3
.

q =W2 、 r =W 1 、 s = WO)が
含まれる。このチェックワードは、下記のようKして求
められる。但し、Σけ、?Σ1を意味する。
q = W2, r = W1, s = WO). This check word is obtained by K as shown below. However, Σke? It means Σ1.

1”4 計算過程を省略し、結果のみを示すと となる。このようにしてチェックワードp=q。1”4 If we omit the calculation process and only show the results, becomes. In this way, check word p=q.

r、sを形成するのが送信側に設けられた符号器の役目
である。
The role of the encoder provided on the transmitting side is to form r and s.

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

〔1〕エラーがない場合: So = St == 8
2=83 =0(2)1ワードエラー(エラーノ々ター
ンをel とf;Er ) ノAle : 5o=ei
 St=α’el 52=a”elSs = cE”e
l となシ、lを順次変えたときに、上Vの関係が成立する
かどうかで1ワードエラーかどうかを判定することがで
きる。或いは 5lBx  8s −=−=x ++−y=αl ao  St  8g となり、α1の・譬ターンを予めROMKt’憶されて
いるものと比較してエラーロケーション1が分かる。そ
のときのシンドロームS1がエラーノ母ターンe!その
ものとなる。
[1] When there is no error: So = St == 8
2=83 =0(2) 1 word error (error turn el and f; Er) ノAle: 5o=ei
St=α'el 52=a"elSs=cE"e
It is possible to determine whether a one-word error has occurred by checking whether the above relationship holds when changing l and n and l sequentially. Alternatively, 5lBx 8s -=-=x ++-y=αl ao St 8g , and the error location 1 can be found by comparing the turn of α1 with that stored in ROMKt' in advance. Syndrome S1 at that time is error mother turn e! Become that.

〔3〕2ワードネラ−(ei、ej)の場合上式を変形
するさ したがって が成立すれば、2ワードエラーと判定され、そのときの
工2−パターンは (4) 3 ’7− Yxシラー ei、ej、ek 
)cD場合上式を質形すると したがって aj(αに8o+8t )+(aksx+sz )=(
aL+aj)(cc’+czk)eiaj(αに81+
82 )+(aks*−+−5s)=ai(a1+aj
)(a=k)et上式から αl(aj(αkS o+81 )+(αに81+8g
))−aj(αkS1+82)+(αkS2+83) が成立すれば、3ワードエラーと判定できる。但し、(
8o (0,Sx ? 0.8x ? 0 )であるこ
とを条件としている。そのときの6工2−/り一ンはで
求められる。実際には、3ワードエラーの訂正の丸めの
構成が1雑と&夛、訂正動作に資する時間も長くなる。
[3] In the case of 2-word Neller (ei, ej) If the above formula holds true, it is determined that there is a 2-word error, and the work 2-pattern at that time is (4) 3 '7- Yx Shiller ei , ej, ek
) cD If we transform the above equation, we get aj (8o+8t for α)+(aksx+sz)=(
aL+aj) (cc'+czk) eiaj (81+ for α
82 )+(aks*-+-5s)=ai(a1+aj
)(a=k)et From the above formula, αl(aj(αkS o+81 )+(81+8g for α)
))-aj(αkS1+82)+(αkS2+83) If the following holds true, it can be determined that there is a 3-word error. however,(
The condition is that 8o (0, Sx? 0.8x? 0). At that time, 6 k 2 -/ri 1 is calculated as follows. In reality, if the rounding configuration for correcting a 3-word error is 1/2 rough, the time contributing to the correction operation will also be longer.

そこでポインタによってi、j、k。So i, j, k by pointer.

2のエラーロケーションが分かつている場合と組合せ、
そのときのチェック用に上式を用い、エラー訂正動作を
行なうことが実用的である。
In combination with the case where the error location in 2 is known,
It is practical to use the above equation for checking at that time and perform an error correction operation.

(5) 417− P! ラ−(ei、ej、ek、e
j)O場合:上式を望形すると ポインタによってエラーロケーション(i、j*ksf
fi)が分かつている場合には、上述の演算によってエ
ラー訂正を行なうことができる。
(5) 417-P! Rah (ei, ej, ek, e
j) Case O: If the above formula is expressed as desired, the error location (i, j*ksf
fi) is known, error correction can be performed by the above-mentioned calculation.

上述のエラー訂正の基本的アルゴリズムは、シンドロー
ム8o−8sを用いて第1ステツプでエラーの有無をチ
ェックし、第2ステツプで1ワードエラーかどうかをチ
ェックし、第3ステツプで2ワードエラーかどうかをチ
ェックするもので、2ワードエラーまでも訂正しようと
するときには、全てのステップを終了す3嗜に賛する時
間が長くなす、%に2ワードエラーの工2−ロケーショ
ンを求めるときにこのような間懲が生じる。そこで、こ
のような問題を生ぜず、2ワードエ2−の訂正を懇定す
る場合に適用して有効な変形されたアルゴリズムについ
て一実施例を用いて駅間する。
The basic error correction algorithm described above uses syndrome 8o-8s to check whether there is an error in the first step, check whether there is a one-word error in the second step, and check whether there is a two-word error in the third step. When trying to correct even 2-word errors, it takes a long time to complete all steps, and when determining the location of 2-word errors in %, An intermission occurs. Therefore, an embodiment of a modified algorithm that does not cause such problems and is effective when applying the correction of two words A2- will be discussed.

2ワードエ2−訂正について考えると、訂正に要する時
間はデータの転送時間に対し十分殻くしなければならな
く、例えば30ビツトで1ワードのデータを構成し、1
4ワードで1データーブロツクを構成するもので、lブ
クツク単位でなくlワード単位がシリアルに伝送され、
1ワ一ド単位でつ号し、訂正するものでは上述の如くし
なければならない。
When considering 2-word correction, the time required for correction must be sufficiently small compared to the data transfer time. For example, 30 bits constitute one word of data, and one
One data block consists of 4 words, and is transmitted serially in units of 1 word, not in units of 1 book.
If the code is to be coded in units of one word and corrections are to be made, it must be done as described above.

今、引正に要する時間を短くするために2ビツトエラー
以上の訂正については考慮せず、2ビツト工ラー°以上
については判別するも、訂正はせず、次段のエラー訂正
機能に2ビツトエラー以上の訂正の役目を与える。
Now, in order to shorten the time required for correction, corrections of 2-bit errors or more are not considered, and although errors of 2-bit errors or more are determined, they are not corrected, and the error correction function of the next stage does not consider corrections of 2-bit errors or more. The role of correction is given.

ここで、1ワードは30ビツトのデータと12ビツトの
チェックビット(ノリティピット)とよシなシ、2ビツ
トエラー訂正までを考pするものであるから、2個のチ
ェックワードを発生するためにノクリテイ検査行列は、
− とし、ここでαは生成多項式G←)= x +x+1の
G(2)=0の根である。
Here, one word consists of 30 bits of data, 12 bits of check bits (nority pit), and 2 bits of error correction. The check matrix is
−, where α is the root of G(2)=0 of the generator polynomial G←)=x+x+1.

また、図示せずも送信@に設けられた符号器は、パリテ
ィ検査行列Hと30ビツトのデータよ、912ビットの
チェックビット(14リテイビツト)を生成する。
Further, an encoder (not shown) provided at the transmitter @ generates 912 check bits (14 retibits) from the parity check matrix H and 30 bits of data.

データビットを9%パリティをPとすると、H・(D+
P)”=0 より したがって 上11F12ビットのノ量りティビットをデータビット
に付加する。
Assuming that the data bit is 9% and the parity is P, H・(D+
Since P)''=0, the upper 11F12 bits are added to the data bits.

上述のように生成されたパリティビットを含む1ワーr
が伝送され、受信された場合のエラー訂正の基本アルゴ
リズムについて説明する。
1 word r containing the parity bits generated as above
The basic algorithm for error correction when a is transmitted and received will be explained.

受信データの1ワードを列ベクトルV=(W41゜は、 但し、エラーパターンをeiとするとWi = Wi 
十e1である。
One word of the received data is expressed as a column vector V = (W41°. However, if the error pattern is ei, then Wi = Wi
It is 10e1.

cr〕xp−がない場合: 80=81=0〔z〕1ワ
ードエ2−(エラーパターンをelとする)の場合: 
8o+’ei 、 81=c!”eiα1の・母ターン
を予めROM(図示せず)に配憶されているも、めと比
較してエラーロケーション−1をもきめることができる
If there is no cr]xp-: 80=81=0[z]1 word e2- (error pattern is el):
8o+'ei, 81=c! Although the mother turn of eiα1 is stored in advance in a ROM (not shown), the error location -1 can also be determined by comparing it with the mother turn.

〔a〕2ビットZ 9− (ei 、ej ) 0jJ
6合: 5o=a’et+(Ejej  、  8x=
a3’ei +c!3jej今とこでSo 、 81よ
シュ2−ロケーション1を求めると(ei−ej−1よ
シ)、 S1=α31+α3j−α31+(8o+α1)3=S
oα”+88α’+8♂ Soα2 l+34?α’+(8J+8x)=00憶よ
p 8o 、 Slを代入し、α1のパターン(1”1
1−12)よりエラーロケーション11.12が求する
(ROMを用いて)。
[a] 2 bits Z 9- (ei, ej) 0jJ
6th: 5o=a'et+(Ejej, 8x=
a3'ei +c! 3jej So now, 81 Yosh 2 - Find location 1 (ei - ej - 1), S1 = α31 + α3j - α31 + (8o + α1) 3 = S
oα"+88α'+8♂ Soα2 l+34?α'+(8J+8x)=00 billion yo p 8o, Substitute Sl, pattern of α1 (1"1
1-12), the error location 11.12 is found (using ROM).

したがってαj(j=h−h)が求まシ、エラーロケー
ションj□、j2が求まる。
Therefore, αj (j=hh) is found, and the error location j□, j2 is found.

またROMK80.81のなすパターンを1憶しておき
、エラーロケーションi1.12を、求めてもよい。
Alternatively, the error location i1.12 may be determined by storing the pattern formed by ROMK80.81.

(4)3ビア)以上O:E−9−(ei、ej、ek)
 O場合シンドローム8o 、 81よシ2ビットエラ
ートシてエラーロケーションを求めると、解なしと判断
される(ROMを用いてシンドロームSo、81のなす
パターンよ多求めた場合も同I#)ため、3ビツト以上
のエラーが判別される。
(4) 3 vias) or more O: E-9- (ei, ej, ek)
In the case of O, if the error location is determined by using the syndrome 8o and 81, it will be determined that there is no solution (the same is true if the ROM is used to find the pattern formed by the syndromes So and 81, I#), so 3 Errors of bits or more are determined.

以上の如く2ワードエラー訂正においては、3ビツト以
上のエラーの訂正までを可能とするかわりにエラー訂正
の処理能力を上げるものである。
As described above, in 2-word error correction, it is possible to correct errors of 3 bits or more, but the processing capacity for error correction is increased.

30ビツトのデータと12ピツトのパリティビットとよ
シなる1ワード、この147−ドに更に単純パリティビ
ットを構成する42ビツトの1ワードを付加して次段の
エラー訂正を行なう一実施例を以下忙訝明する。
The following is an example in which one word consisting of 30 bits of data and 12 bits of parity bits is added, and one word of 42 bits constituting simple parity bits is added to this 147-word to perform the next stage of error correction. Busy and suspicious.

(なお、単純パリティビットを構成するワードは送信側
で付加するものである)前段のり号器(図示せず)にお
いては上述の2ワードエラー訂正を行なうと共にワード
を構成するビットに対し少なくとも2ビツトのエラーポ
インタを轡種類=(PI、PIP3)設け、これ勢のエ
ラーポインタにエラー判別符号を与え、次段のり号器(
図示せず)で、これ勢のエラーポインタを用いたエラー
訂正を行なう、まず次段の復号器では、単純ノ譬すテイ
ビットを用いたエラー判別が行なわれ、これによシ各エ
ラーIインクを用いた訂正が行なわれ、添付図の70チ
ヤートに示される如く行なわれる。
(The words that make up the simple parity bits are added on the transmitting side.) The pre-stage coder (not shown) performs the above-mentioned two-word error correction and adds at least two bits to the bits that make up the word. Error pointers of type = (PI, PIP3) are provided, error discrimination codes are given to these error pointers, and the next stage coder (
(not shown), error correction is performed using these error pointers.First, in the next stage decoder, error discrimination is performed using a simple tabit, and each error I ink is detected using this. The corrections used are made as shown in chart 70 of the accompanying drawings.

図に示されるフロチャートの最初において、ノ母すテイ
チェックシンドローム8pを用い喪エラーピットの判別
が行なわれ、これと共に1ワ一ド単位のビットに′!1
まれる各エラーポインタPx、Pz、Paの@ア(各エ
ラーポインタに示される判別信号の数)が数えられる。
At the beginning of the flowchart shown in the figure, a blank error pit is determined using the mother stay check syndrome 8p, and along with this, the bits in units of one word '!'! 1
The number of determination signals indicated by each error pointer (the number of determination signals indicated by each error pointer) is counted.

ノ譬すテイのシンドローム8pをチェックして、5p=
Qのときは更に/インタP3をチェックし、ポインタP
3の数がOのときはエラーなしと判定し、そのエラー訂
正ブロック内のlインタ(PI、P2)をクリア(@O
’)とする、5p=oでポインタP3の数が0でないと
きは、更に各lインタの総和すなわちPi +P2+P
aをチェックし、その総和が1であるときはPs = 
1すなわち3ビット以上のエラーが存在するからそのl
工2−訂正ブロック内の全てのビットをエラーと着像し
て補間又はミューティングする。一方各4インクの総和
が1でないときは、IインタPg、Pxも立っている可
能性があるもうまくポインタPI −Psで8p=Oに
表っているのではないかと云うことで、所要のlインタ
例えばポインタP3.P2の立っている箇所を4インタ
コピーしてつ1シそのままの状態とした後前置補間或い
は平均値補間%による補間又はミューティングに入る。
Check out Syndrome 8p of Nomentari Tei, 5p=
In the case of Q, further /intertar P3 is checked, and pointer P
When the number of 3 is O, it is determined that there is no error, and the linter (PI, P2) in that error correction block is cleared (@O
'), if 5p=o and the number of pointers P3 is not 0, then the sum of each l pointer, that is, Pi +P2+P
Check a, and if the sum is 1, Ps =
Since there is an error of 1 or 3 bits or more, the l
Step 2 - Mark all bits in the correction block as errors and interpolate or mute them. On the other hand, if the sum of each of the four inks is not 1, it is possible that the I-interfaces Pg and Px are also set, but the pointer PI - Ps is properly expressed as 8p=O. For example, pointer P3. After making 4 intercopies of the part where P2 stands and leaving it as it is, pre-interpolation or interpolation using average value interpolation % or muting is performed.

この作業は必要に応じてポインタPIの立つ7ている箇
所までも補間又はミューティングするようにしてもよい
This operation may be performed by interpolating or muting even the location where the pointer PI stands, if necessary.

またノ々リテイのシンドローム8pをチェックして、8
p#OのときはポインタP2とPaの総和(P2+P3
 )をチェックし、その総和が2以上のときは更にポイ
ンタP3をチェックしてPa(1であるときはポインタ
P2 、 Paの立っている箇所をポインタコピーして
補間又はミューティングに入る。一方P2とPaの総和
が2以上でポインタP3;1の時は8pが3ビット以上
″″1”が立っているか否かをチェックし、立っていれ
ばポインタP3の立っているビットを反転し、ポインタ
イレージヤによる訂正を行い、立ってなければ全てのビ
ットを工2−とし、補間又はミューティングに入る。な
お、上述のPa!qlのチェックとPaをポインタイレ
ージヤで訂正するステップは必要に応じて割愛してもよ
く、訂正能力を向上させたい時は入れた方が好ましい。
Also check out Nonoritei's Syndrome 8p.
When p#O, the sum of pointers P2 and Pa (P2+P3
), and if the sum is 2 or more, further check pointer P3 and Pa (if 1, pointer P2, copy the point where Pa is standing and enter interpolation or muting. On the other hand, P2 When the sum of and Pa is 2 or more and the pointer P3 is 1, it is checked whether 8p has 3 or more bits set to ``1'', and if it is set, the bit set in pointer P3 is inverted and the pointer Correction is performed using an eraser, and if it is not set, all bits are set to 2-, and interpolation or muting begins.The above steps of checking Pa!ql and correcting Pa using a pointer eraser may be performed as necessary. You can omit it, but it is better to include it when you want to improve your correction ability.

また、P2+Ps〉2でないときけ、更KP2十P3=
1であるか否かをチェックし、1のときはP2=1でS
pが5ビット以上11“が立っているか否かヌFipa
=xで8pが3ビット以上112が立っているか否かを
チェックし、立っていればポインタP2゜Paの立って
いるビットを反転し、ポインタイレージヤによる訂正を
行い、立ってなければ全てのビットをエラーとし、補間
又はミューティングに入る。一方P2+P3”Wlであ
るときはポインタPiの個#iに応じて次の3種類の処
理を行う、すなわち、P1=0のときけ、シンドa−ム
による検出が正しくないと判定し、そのエラー訂正ブロ
ック内の全てのビットをエラーと着像して補間又はミュ
ーティングを行い、Pl−1のと*aSpが5ピット以
上@11が立っているか否かをチェックし、立っていれ
ばそのポインタP1の立っているビットを反転してポイ
ンタイレージヤによる訂正を行い、立ってなければ全て
のビットをエラーとし、輪間又はミューティングに入る
。更にPl≧2のときはポインタP1の立っている箇所
を4インタコピーして補間又はミューティングを行う。
Also, if P2+Ps〉2, then KP20P3=
Check whether it is 1 or not, and if it is 1, P2=1 and S
Fipa determines whether p is 5 bits or more and 11" is set.
= x checks whether 8p is 3 or more bits or not 112 is set, and if it is set, inverts the set bit of pointer P2゜Pa, performs correction using the pointer register, and if not set, all Marks the bit as an error and enters interpolation or muting. On the other hand, when P2+P3''Wl, the following three types of processing are performed depending on the number #i of pointer Pi.In other words, when P1=0, it is determined that the detection by syndrome a is incorrect, and the error occurs. Interpolation or muting is performed by marking all bits in the correction block as errors, and checking whether Pl-1 and *aSp are 5 or more pits @11 is standing, and if so, the pointer is The bit on which P1 is set is inverted and corrected by the pointer register, and if it is not set, all bits are treated as errors, and the circuit enters interpolation or muting.Furthermore, when Pl≧2, pointer P1 is set. Perform interpolation or muting by performing 4 intercopies of the location.

上述の如く本発明によれば、検数段の書号を前提とした
例えばクロスインターリーゾ系符号の俵号器の如き工2
−訂正回路の成る段で所定数ワード、所定数ビット以上
のエラーを検出しオ訂正する際に各ブロック中に所定数
ワード、所定数ビットのエラーがあったときは、訂正し
九上で工2−を示すlインタを、そのエラービット数に
応じて類別して付加するようになし、次段でエラーを示
すポインタの個数、ポインタによるエラーロケーション
を判別して信号処理するようにしたので、工2−検出の
1逃し、誤った訂正を生じるおそれを防止することがで
き、特にディジタルオーディオシステムの如く異音(ク
リックノイズ)を絶対出していけないような系等に用い
て極めて有用である。
As described above, according to the present invention, the system 2, such as a cross-interleaso type code code, which is based on a counting stage code, can be used.
- When detecting and correcting errors of a predetermined number of words or bits or more in the stage comprising the correction circuit, if there is an error of a predetermined number of words or a predetermined number of bits in each block, it will be corrected and then repaired at Kuue. Since the L-interference indicating 2- is classified and added according to the number of error bits, and the signal processing is performed by determining the number of pointers indicating an error and the error location by the pointer at the next stage, Technique 2 - It is possible to prevent the possibility of one missed detection or erroneous correction, and it is extremely useful especially for systems such as digital audio systems where abnormal noises (click noises) must never be emitted.

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

添付図は本発明の一実施例の説明に供するための線図で
ある。 Spハノぐリテイチェックシンドローム、Pl# P2
−P3はエラーメインクである。
The attached drawings are diagrams for explaining one embodiment of the present invention. Sp Hanoglyte Check Syndrome, Pl# P2
-P3 is the error main link.

Claims (1)

【特許請求の範囲】 1、第1の1列状11にあるPCM情報系列の各々に含
まれる情報単位とこれに対する第1のエラー訂正単位と
からなる第1の情報構成単位、この#1の情報構成単位
の情報単位と第1の工2−訂正単位とを各々異なる時間
遅延させることKよシ第2の配列状−とし、この第2の
配列状gKある第2の情報構成単位とこれに対する第2
のエラー訂正単位とから情報構成を形成し、第1及び第
20配列状I!にある情報単位を各々第13!び第2の
エラー訂正単位により各々エラー訂正するエラー訂正方
法において、第2の情報構成単位と第2のエラー訂正単
位とに対する初段の0号を行ない第2の配列状態とし、
この#2の配列状静の情報単位を第2のエラー訂正単位
によりエラー訂正すると共にエラー訂正の有無とエラー
訂正OIi茜とを示すエラー訂正指示単位を付加し、し
かる後第2の情報構成単位を時間運媛することKよシ第
1の情報構成単位とし、この$1の情報構成単位の第1
の配列状DKある情報単位に対し第1の工ツー訂正単位
によシェラ−の数を検出し、この工2−数によシュ2−
訂正の場合分けを行ない、工2−訂正指示単位の示すエ
ラー訂正の範囲にょシェラ−訂正指示単位を用いて訂正
するようにしたエラー訂正方法。 2、 工2−訂正指示単位がビット単位であることを特
徴とする特許請求の範囲第1項記載の工2−訂正方法。 3、  #終の訂正はエラー訂正指示単位によるビット
単位の反転か1情報単位の棄却であることを特徴とする
特許請求の範囲第1項記載のエラー訂正方法。 4、 エラー訂正の場合分けのエラー数を0としたこと
を!#f微とする特許請求の範囲第1項1載のエラー訂
正方法。
[Claims] 1. A first information constituent unit consisting of an information unit included in each of the PCM information series in the first column 11 and a first error correction unit therefor; By delaying the information unit of the information constituent unit and the first correction unit by different times, the second information constituent unit in the second array shape K and this the second for
form an information structure from the error correction units of the first and twentieth arrays I! Each information unit in the 13th! and a second error correction unit, in which an initial stage 0 is performed for the second information constituent unit and the second error correction unit to obtain a second arrangement state;
This #2 arrayed static information unit is error-corrected by a second error correction unit, and an error correction instruction unit indicating the presence or absence of error correction and error correction OIi is added, and then the second information configuration unit is Let K be the first information constituent unit of time, and the first information constituent unit of this $1
The number of shellers is detected for a certain information unit by the first correction unit, and the number of shells is calculated using this number of corrections.
An error correction method in which cases of correction are divided, and correction is performed using the Scherer correction instruction unit within the error correction range indicated by the correction instruction unit. 2. The correction method according to claim 1, wherein the correction instruction unit is a bit unit. 3. The error correction method according to claim 1, wherein the correction at the end of # is a bit-by-bit inversion based on the error correction instruction unit or a discard of one information unit. 4. The number of errors in error correction cases was set to 0! The error correction method according to claim 1, wherein #f is small.
JP56215217A 1981-12-25 1981-12-25 Error correcting method Granted JPS58111539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56215217A JPS58111539A (en) 1981-12-25 1981-12-25 Error correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56215217A JPS58111539A (en) 1981-12-25 1981-12-25 Error correcting method

Publications (2)

Publication Number Publication Date
JPS58111539A true JPS58111539A (en) 1983-07-02
JPH048974B2 JPH048974B2 (en) 1992-02-18

Family

ID=16668631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56215217A Granted JPS58111539A (en) 1981-12-25 1981-12-25 Error correcting method

Country Status (1)

Country Link
JP (1) JPS58111539A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095640A (en) * 1983-10-31 1985-05-29 Hitachi Ltd Method and device for correcting error
JPS60186940A (en) * 1984-01-27 1985-09-24 Pioneer Electronic Corp Code error correction system
JPS6130819A (en) * 1984-07-24 1986-02-13 Nippon Columbia Co Ltd Error correction device
JPS61242424A (en) * 1985-04-19 1986-10-28 Hitachi Ltd Error correcting method
JPS62164319A (en) * 1986-01-14 1987-07-21 Matsushita Electric Ind Co Ltd Error correcting method
EP0592229A2 (en) * 1992-10-07 1994-04-13 Samsung Electronics Co., Ltd. Multiple error correcting method
JPH06324896A (en) * 1993-09-17 1994-11-25 Hitachi Ltd Method and device for correcting error

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55114056A (en) * 1979-02-26 1980-09-03 Sony Corp Error correcting device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55114056A (en) * 1979-02-26 1980-09-03 Sony Corp Error correcting device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6095640A (en) * 1983-10-31 1985-05-29 Hitachi Ltd Method and device for correcting error
JPS60186940A (en) * 1984-01-27 1985-09-24 Pioneer Electronic Corp Code error correction system
JPH0512737B2 (en) * 1984-01-27 1993-02-18 Pioneer Electronic Corp
JPS6130819A (en) * 1984-07-24 1986-02-13 Nippon Columbia Co Ltd Error correction device
JPH0151097B2 (en) * 1984-07-24 1989-11-01 Nippon Columbia
JPS61242424A (en) * 1985-04-19 1986-10-28 Hitachi Ltd Error correcting method
JPS62164319A (en) * 1986-01-14 1987-07-21 Matsushita Electric Ind Co Ltd Error correcting method
EP0592229A2 (en) * 1992-10-07 1994-04-13 Samsung Electronics Co., Ltd. Multiple error correcting method
EP0592229A3 (en) * 1992-10-07 1995-06-14 Samsung Electronics Co Ltd Multiple error correcting method.
JPH06324896A (en) * 1993-09-17 1994-11-25 Hitachi Ltd Method and device for correcting error

Also Published As

Publication number Publication date
JPH048974B2 (en) 1992-02-18

Similar Documents

Publication Publication Date Title
US7278085B1 (en) Simple error-correction codes for data buffers
KR860000500B1 (en) Error correction method
KR100720911B1 (en) Storage control circuit, and method for address error check in the storage control circuit
JP2721099B2 (en) Trial and error method for error burst correction and multibyte error correction method
US8069395B2 (en) Three bit error detection using ECC codes
JP2003507985A (en) System and method for detecting 2-bit errors and correcting errors due to component failure
US6041431A (en) Method and apparatus for performing error correction code operations
JPH0351140B2 (en)
JPS6041770B2 (en) Error checking and correction system
US8117526B2 (en) Apparatus and method for generating a transmit signal and apparatus and method for extracting an original message from a received signal
US20050188292A1 (en) Method and apparatus for encoding special uncorrectable errors in an error correction code
JPS5960654A (en) Error correction system
JPH0353817B2 (en)
JPH0782446B2 (en) Multiple error correction method
JPH02189032A (en) Method of correcting error
JPH0260013B2 (en)
JPS6349245B2 (en)
US20050149834A1 (en) (18, 9) Error correction code for double error correction and triple error detection
US7747925B2 (en) Apparatus and method for error correction code striping
EP0600137A1 (en) Method and apparatus for correcting errors in a memory
JPS58111539A (en) Error correcting method
JPH0361381B2 (en)
Wolf An introduction to tensor product codes and applications to digital storage systems
EP0310220B1 (en) An apparatus useful for correction of single bit errors and detection of double bit errors in the transmission of data
JP3813337B2 (en) Erasure error correction method and apparatus