JP2796291B2 - Error correction method - Google Patents

Error correction method

Info

Publication number
JP2796291B2
JP2796291B2 JP62093085A JP9308587A JP2796291B2 JP 2796291 B2 JP2796291 B2 JP 2796291B2 JP 62093085 A JP62093085 A JP 62093085A JP 9308587 A JP9308587 A JP 9308587A JP 2796291 B2 JP2796291 B2 JP 2796291B2
Authority
JP
Japan
Prior art keywords
error
correction
symbols
circuit
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.)
Expired - Lifetime
Application number
JP62093085A
Other languages
Japanese (ja)
Other versions
JPS63259876A (en
Inventor
守司 泉田
誠一 三田
信数 土居
浩人 山内
宣男 村田
守 金子
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.)
Hitachi Denshi KK
Hitachi Image Information Systems Inc
Hitachi Ltd
Original Assignee
Hitachi Denshi KK
Hitachi Image Information Systems Inc
Hitachi 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 Hitachi Denshi KK, Hitachi Image Information Systems Inc, Hitachi Ltd filed Critical Hitachi Denshi KK
Priority to JP62093085A priority Critical patent/JP2796291B2/en
Publication of JPS63259876A publication Critical patent/JPS63259876A/en
Application granted granted Critical
Publication of JP2796291B2 publication Critical patent/JP2796291B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、デイジタル信号を記録・再生(又は伝送)
する装置の誤り訂正方式に係わり、特にシンボル単位の
誤り訂正符号を用いた場合の誤り訂正方式に関する。 〔従来の技術〕 最近、記録再生システムや通信システムの信頼性向上
を目的として、誤り訂正符号が幅広く用いられている。
例えばオーデイオ信号やビデオ信号をデイジタル化して
記録再生するデイジタルオーデイオデイスク(CD)やデ
イジタルVTRなどにも誤り訂正符号が適用されている。
これらの装置では再生信号のレベル変動やドロツプアウ
トなどの影響により、ランダム誤りとバースト誤りが同
時に起こる。このような誤りを複合誤りという。 第2図にランダム誤りとバースト誤りが同時に発生す
る装置での誤りの分布の概略を示す。第2図において、
横軸は発生する誤りの長さを、縦軸は誤りの発生頻度即
ち、発生回数を示す。さらに、領域Xはランダム誤りに
起因する誤りであり、領域Yはバースト誤りに起因する
誤りである。 このような複合誤りが発生するシステムでは、第3図
に示すようにシンボル(以下8ビツトを1シンボルとす
る)単位の誤り訂正符号を2段階に適用する2重符号化
構成が採用されることが多い(特開昭57−10557合公
報)。 第3図において、2次元状に配置されたデータ30に対
して垂直方向に第1(垂直)パリテイ40を付加する。次
に水平方向に第2(水平)パリテイ50を付加する。この
訂正符号にはシンボル単位で誤りを訂正できるリードソ
ロモン符号(以下RS符号と称ぶ)が広く使用されてい
る。この符号は訂正能力が高く、装置化も容易であると
いう特長があるためである。 第3図のデータ30は水平方向に順番に記録(又は送
信)され、最後に垂直パリテイ40のシンボルが記録され
る。なお、A,A′はランダム誤りであり、各シンボル内
の1ビツトが誤りの場合を示す。B,B′は短いバースト
誤りであり、各シンボル内の複数ビツトが連続して誤り
の場合を示す。Cは長いバースト誤りであり、短いバー
スト誤りBが連続した場合を示す。 復号(又は受信)は、まず水平パリテイ50のシンボル
を使用して、シンボル単位で領域Xに対応する誤り即
ち、ランダム誤りを訂正する。ここで訂正できない場合
には、領域Yのバースト誤りが発生したと判断し、消失
フラグを発生する。次に垂直パリテイ40のシンボルを使
用して、水平方向で訂正できなかつたバースト誤りを訂
正する。この際、上述した消失フラグを利用して誤りを
訂正する方法(消失訂正)は復元効率が高いため広く適
用されている。 誤り訂正符号の能力は付加するパリテイの数で決ま
る。例えばデータに、4シンボルのパリテイを付加する
と、2シンボル以下の誤りを訂正することが出来る。し
かし、訂正能力の限界である2シンボルの訂正を行なう
と2シンボル以上のバースト誤りに対して誤訂正(誤ま
つたデータに訂正)が発生する確率が非常に大きくな
る。逆に、訂正を行わず検出のみとすると、バースト誤
りの検出能力が高いが、ランダム誤りに対する訂正能力
が大幅に低下するという問題がある。 このため、2シンボルの誤りと判断した場合であつて
も、1シンボル以下の訂正にとどめ、訂正能力と検出能
力を同時に持たせる方法が提案されている(特開昭57−
10557号公報)。 〔発明が解決しようとする問題点〕 しかし、上記方法は訂正数を制限しているため、誤訂
正確率は低減できるがビツト単位のランダム誤りをバー
スト誤りに対する復号特性が大幅に劣化するという問題
があつた。 本発明の目的は、訂正能力(訂正可能な数)を制限し
なくても、誤訂正の発生確率を小さくした誤り訂正方式
を提供するものである。 〔問題点を解決するための手段〕 上述の様な問題は、訂正能力未満の設定した誤り数
(この例では1シンボル)を越える誤り(2シンボル)
が発生すると、誤り訂正を行なわず無条件に誤り検出と
したために起こつていた。 本発明では、まず訂正能力未満のシンボル誤り(例え
ば第3図に示した1シンボルの誤りA,B)を訂正した後
に、誤り検出となつた符号語に対して訂正能力(上の例
では2シンボル)までの訂正が可能かどうかを計算す
る。そして訂正可能な誤り(第3図のA′,B′)に関し
て、誤り位置が連続しているかどうかを判断する。第3
図のB′に示すように、訂正可能(2シンボル以下)
で、かつ誤り位置が連続している場合には短いバースト
誤りが発生したと推定できる。したがつて、この場合に
は誤りを訂正する。また、誤り位置が連続していない場
合であつても、誤りパターンがA′に示すようにビヅト
単位で2個の誤りの場合にはランダム誤りが2個発生し
たと判断し、これらに関しても誤りを訂正する。 これ以外の場合には、長いバースト誤りが発生した
か、ランダム誤りが多数発生したと判断し、訂正を行わ
ず消失フラグを発生する。 使用する符号が2重符号構成の場合には、第2段の訂
正においてこの消失フラグを使用して消失訂正を行う。
これ以外の場合には、消失フラグが付加されたデータに
対して相関のあるデータで置き換え、補間や修整等の処
理を行う。 この結果、誤訂正確率をほとんど増加させずに、本来
符号の持つている訂正能力を十分に引き出すことが出来
る。 〔作用〕 以下、誤り訂正符号としてRS符号を用いて本発明の概
要を説明する。 ガロア体GF(2)上では既約なm次の多項式F(x)
をとり、この根をαとする。以下ではm=8とし、F
(x)として F(x)=x8+x4+x3+x2+1 をとる。この場合、 α+α+α+α+1=0 となる。 RS符号はαの連続するd−1個の根を持つ符号として
定義される。いま、d=5の例を示すと、生成多項式G
(x)は G(x)=(x−1)(x−α)(x−α)(x−
α) と表わされ、検査行列Hは となる。ここで、nは符号長である。 したがつて、(n−4)シンボルのデータに対して4
シンボルのパリテイを付加した符号語をVとすると、こ
れは H・Vt=0 を満足する。ここでVtはVの転置ベクトルである。 この符号は、距離dは5であり2シンボル以下の誤り
を訂正できる能力を持つている。 記録再生(または伝送)で誤りEが発生し、受信語が
Wになつたとする。 W=V+E これよりシンドロームS0,S1,S2,S3は次式で表わされ
る。 いま2シンボルの誤りが発生した場合、この2つの誤
り位置をi,j、誤りの大きさをei,ejとすると S0=ei+ej S1=eiα+ejα S2=eiα+ejα S3=eiα+ejα (1) の関係式より2つの誤り位置i,jと誤りの大きさei,ej
計算することができる。ここで上記の演算は、すべてガ
ロア体GF(28)上の演算とする。 また1シンボルの誤りが発生した場合、 が成立する。これより誤り訂正iが計算でき、S0=ei
り誤りの大きさeiが決定される。 本発明では、まず上記の(2)式より1シンボルの誤
りを訂正したのち、訂正不能となつたデータに対して2
シンボルの誤り訂正が可能かどうかを計算する。そし
て、2シンボルの誤り訂正が可能な場合に、2つの誤り
位置と誤りパターンを計算する。もし誤り位置i,jがj
=i±1となつた場合、すなわち誤り位置が連続した場
合には短いバースト誤りが発生したと判断し、これを訂
正する。また、2個の誤りパターンが特定(例えば1ビ
ツト)パターンであつた場合にはランダム誤りが発生し
たと判断し、これを訂正する。これ以外の場合には、長
いバースト誤りか多数のランダム誤りが発生したと判断
して、訂正を行なわず消失フラグを発生する。 なお、記録再生(又は伝送)を行う前後に記録媒体
(又は伝送路)に適した形に信号を変調・復調する場合
がある。このような系では、ランダム誤りが1ビツト以
外の誤りパターン(例えば2ビツトのペア誤り)に変換
されるが、誤りの原因がランダム誤りと判定できる場合
にのみ2個の誤り訂正を行えばよい。 〔実施例〕 第1図に本発明による誤り訂正方式のフローチヤート
を示す。使用する符号はシンボル単位の誤り訂正符号と
し、その訂正可能なシンボル数をK個とする。点線で囲
まれた部分が本発明による誤り訂正に必要な部分であ
り、それ以外は通常のシンボル誤り訂正を行う部分であ
る。 まずシンボル単位でシンドロームを計算し(ステツプ
1)、シンドローム間の関係式からM(0<M<K)シ
ンボルの訂正が可能かどうかを判定する(ステツプ
2)。訂正可能の場合は誤りの大きさと位置を計算し、
もとのデータと排他論理和を取ることによりMシンボル
以下の誤り訂正を行う(ステツプ3)。 訂正不能の場合は、M+1以上、Mシンボル以下の誤
りが訂正可能かどうかを計算する(ステツプ4)。訂正
不能の場合には誤り検出を行い消失フラグを発生して終
了する(ステツプ5)。訂正可能の場合にはそれぞれの
誤り位置と誤りの大きさを計算する(ステツプ6)。こ
の結果から誤り位置が連続しているかどうかを判定し
(ステツプ7)、連続している場合には短いバースト誤
りが発生したと推定して訂正をおこなう(ステツプ
9)。また、誤り位置が連沿しなかつた場合には、誤り
の大きさがビツト単位かどうかを検査し(ステツプ
8)、もし誤りの大きさがビツト単位の場合にはランダ
ム誤りが発生したと判断して誤りを訂正する(ステツプ
9)。これ以外の場合には、バースト誤りまたは多数の
ランダム誤りが発生したと判断し、誤り検出として復号
を終了する(ステツプ5)。 次に、本発明の一実施例を第4図のブロツク図により
説明する。符号はRS符号でパリテイ数が4シンボルの場
合を示す。入力端10に入力されたデータはシンドローム
演算回路11に入力されシンドロームS0,S1,S2,S3を計算
する。この演算回路11は第5図(A)に示すように排他
論理和(EOR)回路111,ラツチ回路112、およびα演算回
路113で構成される。データはすべてシンボル(8ビツ
ト)単位で処理される。α演算回路113の一例としてS1
を計算する具体例としては、第5図(B)に示すように
αを表現する回路をEOR回路114で構成したものがよい。 次に第4図に戻り、1シンボル誤り計算回路12は
(2)式の から誤り位置A1と誤りの大きさB1(=S0)を計算し、切
り換え回路18に出力する。ここで演算は、すべてガロア
体GF(28)上の演算であり、リードオンリーメモリ(RO
M)などを使用することにより実現できる。そして1訂
正可能な場合には1訂正フラグC1を制御回路16に出力す
る。制御回路16は1訂正フラグC1を入力した場合には1
訂正制御信号D1を切り換え回路18に出力する。 2シンボル誤り計算回路13は(1)式より2つの誤り
位置A2と誤りの大きさB2を計算し、これらを切り換え回
路18、および誤り位置判定回路14と誤りの大きさ判定回
路15に出力する。そして2訂正可能な場合には2訂正フ
ラグC2を制御回路16に出力する。(なお、1訂正可能な
場合には2訂正フラグC2は発生しないものとする。) 誤り位置判定回路14は2つの誤り位置が連続している
と判定した場合、訂正可能フラグPを制御回路16に出力
する。誤り大きさ判定回路15は誤りの大きさがそれぞれ
1ビツトの場合に訂正可能フラグQを制御回路16に出力
する。制御回路16は、訂正フラグC2があり、かつPまた
はQのどちらかが発生した場合に2訂正制御信号D2を切
り換え回路18に出力する。 切り換え回路18は第6図に示すように、1訂正制御信
号D1が“1"の場合には、誤り位置AとしてA1を、誤りの
大きさBとしてB1を誤り訂正回路20に出力する。また2
訂正制御信号D2が“1"の場合には、誤り位置AとしてA2
を、誤りの大きさとしてB2を誤り訂正回路20に出力す
る。 さらに、1訂正制御信号D1及び2訂正制御信号D2がと
もに“0"となつた場合には、誤り位置A、誤りの大きさ
Bをともに“0"として誤り訂正回路20に出力する。これ
と同時に、消失フラグ発生回路17から消失フラグFをフ
ラグ出力端子22に出力する。なお、前述したように、1
訂正制御信号D1,2訂正制御信号D2がともに“1"の状態は
ないものとする。 また、入力データは遅延回路19により一定期間遅延さ
れ、誤り訂正回路20に入力される。この誤り訂正回路20
には遅延データKと、誤り位置A及び誤りの大きさBが
入力され、EOR回路により誤りが訂正され、訂正後のデ
ータLが出力端子21に出力される。 以上はRS符号で、検査点数が4シンボルの場合を示し
たが、これに限られることはなく、これ以外の場合にも
適用できることは言うまでもない。 またデータが記録再生される順番は、第3図のように
規則的ではなく、不規則な場合(シヤフリングやインタ
ーリーブ)であつても、記録再生(または伝送)された
データの誤り位置が連続した場合に訂正処理をすれば良
い。 なお、変調・復調の際に誤りが2ビツトのペア誤りと
なる場合などであつても、同様に処理することができる
ことは言うまでもない。 また訂正数が3以上の場合であつても同様の考えで処
理することができる。 〔発明の効果〕 以上述べたように本発明によれば、シンボル単位の誤
り訂正符号を使用する場合、誤り位置が連続する短いバ
ースト誤りと、特定パターン(例えば1ビツト)の誤り
のみを訂正することにより、誤訂正確率を増大させるこ
となく、誤り訂正符号が持つ本来の訂正能力を十分に発
揮することができる。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to recording / reproducing (or transmitting) digital signals.
In particular, the present invention relates to an error correction method using an error correction code in a symbol unit. [Related Art] Recently, error correction codes have been widely used for the purpose of improving the reliability of a recording / reproducing system or a communication system.
For example, an error correction code is also applied to a digital audio disk (CD), a digital VTR, and the like for converting an audio signal or a video signal into a digital signal for recording and reproducing.
In these devices, random errors and burst errors occur simultaneously due to the effects of fluctuations in the level of the reproduced signal and dropouts. Such an error is called a compound error. FIG. 2 schematically shows an error distribution in a device in which a random error and a burst error occur simultaneously. In FIG.
The horizontal axis indicates the length of the error, and the vertical axis indicates the frequency of occurrence of the error, that is, the number of occurrences. Further, an area X is an error caused by a random error, and an area Y is an error caused by a burst error. In a system in which such a composite error occurs, a double coding configuration in which an error correction code in units of symbols (hereinafter, 8 bits are regarded as one symbol) is applied in two stages as shown in FIG. 3 is employed. (JP-A-57-10557). In FIG. 3, a first (vertical) parity 40 is added in a vertical direction to the data 30 arranged two-dimensionally. Next, a second (horizontal) parity 50 is added in the horizontal direction. As this correction code, a Reed-Solomon code (hereinafter referred to as an RS code) capable of correcting an error in a symbol unit is widely used. This is because this code has a high correction capability and is easy to implement. The data 30 shown in FIG. 3 is sequentially recorded (or transmitted) in the horizontal direction, and finally the symbols of the vertical parity 40 are recorded. Note that A and A 'are random errors, and show a case where one bit in each symbol is an error. B and B 'are short burst errors, and indicate a case where a plurality of bits in each symbol are consecutively erroneous. C is a long burst error, and shows a case where short burst errors B continue. In decoding (or receiving), first, an error corresponding to the region X, that is, a random error, is corrected in symbol units using the symbols of the horizontal parity 50. If the error cannot be corrected, it is determined that a burst error has occurred in the area Y, and an erasure flag is generated. Next, the burst error that cannot be corrected in the horizontal direction is corrected using the symbol of the vertical parity 40. At this time, the above-described method of correcting an error using the erasure flag (erasure correction) has been widely applied due to high restoration efficiency. The capability of the error correction code is determined by the number of added parities. For example, by adding parity of 4 symbols to data, errors of 2 symbols or less can be corrected. However, when the correction of two symbols, which is the limit of the correction capability, is performed, the probability of erroneous correction (correction of erroneous data) occurring for a burst error of two or more symbols becomes extremely large. Conversely, if only detection is performed without correction, the ability to detect burst errors is high, but there is a problem that the ability to correct random errors is significantly reduced. For this reason, a method has been proposed in which, even when an error is determined to be two symbols, only one symbol or less is corrected, and both a correction capability and a detection capability are simultaneously provided (Japanese Patent Application Laid-Open No. 57-15757).
No. 10557). [Problems to be Solved by the Invention] However, since the above method limits the number of corrections, the probability of erroneous correction can be reduced, but there is a problem that the decoding characteristic of a random error in bit units against a burst error is greatly deteriorated. Atsuta. An object of the present invention is to provide an error correction method in which the probability of occurrence of erroneous correction is reduced without limiting the correction capability (the number of correctable errors). [Means for Solving the Problems] The above-described problem is caused by an error (two symbols) exceeding the set error number (one symbol in this example) less than the correction capability.
Has occurred because error detection was performed unconditionally without performing error correction. In the present invention, first, after correcting a symbol error less than the correction capability (for example, errors A and B of one symbol shown in FIG. 3), the correction capability (2 in the above example) is corrected for the codeword for which the error was detected. (Symbol) is calculated. Then, for correctable errors (A ', B' in FIG. 3), it is determined whether or not the error positions are continuous. Third
Correctable (2 symbols or less) as shown at B 'in the figure
If the error positions are continuous, it can be estimated that a short burst error has occurred. Therefore, in this case, the error is corrected. Even when the error positions are not consecutive, if the error pattern is two errors per bit as indicated by A ', it is determined that two random errors have occurred, and the error is also determined. To correct. In other cases, it is determined that a long burst error has occurred or a large number of random errors have occurred, and an erasure flag is generated without performing correction. When the code to be used has a double code configuration, the erasure correction is performed using the erasure flag in the second-stage correction.
In other cases, the data to which the erasure flag is added is replaced with correlated data, and processing such as interpolation and modification is performed. As a result, it is possible to sufficiently derive the correction capability inherent in the code without substantially increasing the error correction probability. [Operation] An outline of the present invention will be described below using an RS code as an error correction code. On the Galois field GF (2), an irreducible m-order polynomial F (x)
And this root is defined as α. In the following, m = 8 and F
As (x), F (x) = x 8 + x 4 + x 3 + x 2 +1 is taken. In this case, α 8 + α 4 + α 3 + α 2 + 1 = 0. The RS code is defined as a code having d-1 continuous roots of α. Now, as an example of d = 5, the generator polynomial G
(X) is G (x) = (x−1) (x−α) (x−α 2 ) (x−
α 3 ), and the parity check matrix H is Becomes Here, n is the code length. Therefore, for data of (n-4) symbols, 4
Assuming that a codeword to which the parity of a symbol is added is V, this satisfies H · V t = 0. Here, V t is the transpose vector of V. This code has a distance d of 5 and is capable of correcting an error of 2 symbols or less. It is assumed that an error E occurs in recording / reproduction (or transmission), and the received word becomes W. W = V + E From this, the syndromes S 0 , S 1 , S 2 , and S 3 are represented by the following equations. If an error of two symbols occurs now, assuming that these two error positions are i, j and the magnitudes of the errors are e i and e j , S 0 = e i + e j S 1 = e i α + e j α S 2 = Two error positions i, j and error magnitudes e i , e j can be calculated from the relational expression of e i α 2 + e j α 2 S 3 = e i α 3 + e j α 3 (1). Here, the above calculations are all performed on Galois fields GF (2 8 ). If one symbol error occurs, Holds. From this, the error correction i can be calculated, and the magnitude of the error e i is determined from S 0 = e i . In the present invention, after correcting an error of one symbol from the above equation (2), 2
Calculate whether symbol error correction is possible. Then, when error correction of two symbols is possible, two error positions and error patterns are calculated. If the error location i, j is j
= I ± 1, that is, when error positions are consecutive, it is determined that a short burst error has occurred, and this is corrected. If the two error patterns are specific (for example, one bit) patterns, it is determined that a random error has occurred, and this is corrected. In other cases, it is determined that a long burst error or a large number of random errors have occurred, and an erasure flag is generated without correction. Before and after recording / reproduction (or transmission), a signal may be modulated / demodulated in a form suitable for a recording medium (or transmission path). In such a system, a random error is converted into an error pattern other than one bit (for example, a two-bit pair error), but two error corrections need to be performed only when the cause of the error can be determined to be a random error. . [Embodiment] FIG. 1 shows a flowchart of an error correction system according to the present invention. The code used is an error correction code in symbol units, and the number of correctable symbols is K. The portion surrounded by a dotted line is a portion necessary for error correction according to the present invention, and the other portion is a portion for performing normal symbol error correction. First, a syndrome is calculated for each symbol (Step 1), and it is determined from the relational expression between the syndromes whether or not M (0 <M <K) symbols can be corrected (Step 2). If correctable, calculate the magnitude and location of the error,
An error correction of M symbols or less is performed by taking an exclusive OR with the original data (step 3). If the error cannot be corrected, it is calculated whether or not an error of not less than M + 1 and not more than M symbols can be corrected (step 4). If the correction is impossible, an error is detected, an erasure flag is generated, and the processing is terminated (step 5). If the error can be corrected, the error position and error magnitude are calculated (step 6). Based on the result, it is determined whether or not the error positions are continuous (Step 7). If the error positions are continuous, it is estimated that a short burst error has occurred, and correction is performed (Step 9). If the error positions are not consecutive, it is checked whether the error size is in bit units (step 8). If the error size is in bit units, it is determined that a random error has occurred. To correct the error (step 9). In other cases, it is determined that a burst error or a large number of random errors have occurred, and decoding is terminated as error detection (step 5). Next, an embodiment of the present invention will be described with reference to the block diagram of FIG. The code shows the case where the number of parity is 4 symbols in the RS code. The data input to the input terminal 10 is input to a syndrome operation circuit 11 and calculates syndromes S 0 , S 1 , S 2 , and S 3 . The arithmetic circuit 11 includes an exclusive OR (EOR) circuit 111, a latch circuit 112, and an α arithmetic circuit 113 as shown in FIG. All data is processed in units of symbols (8 bits). S 1 as an example of the α operation circuit 113
As a specific example of calculating, a circuit expressing α with an EOR circuit 114 is preferable as shown in FIG. 5 (B). Next, returning to FIG. 4, the one-symbol error calculation circuit 12 calculates Then, an error position A1 and an error magnitude B1 (= S 0 ) are calculated from them and output to the switching circuit 18. Here, all operations are operations on Galois field GF (2 8 ), and are read-only memory (RO
M) can be realized. Then, if one correction is possible, it outputs a one correction flag C1 to the control circuit 16. The control circuit 16 outputs 1 when the 1 correction flag C1 is input.
The correction control signal D1 is output to the switching circuit 18. The two-symbol error calculation circuit 13 calculates two error positions A2 and error magnitudes B2 from equation (1), and outputs them to the switching circuit 18, the error position determination circuit 14 and the error magnitude determination circuit 15 . If two corrections can be made, a two-correction flag C2 is output to the control circuit 16. (Note that if one correction is possible, the two correction flag C2 is not generated.) If the error position determination circuit 14 determines that the two error positions are continuous, the error position determination circuit 14 sets the correctable flag P to the control circuit 16. Output to The error magnitude determination circuit 15 outputs a correctable flag Q to the control circuit 16 when the magnitude of each error is 1 bit. The control circuit 16 outputs the two-correction control signal D2 to the switching circuit 18 when the correction flag C2 is present and either P or Q occurs. As shown in FIG. 6, when the one correction control signal D1 is "1", the switching circuit 18 outputs A1 as the error position A and B1 as the error magnitude B to the error correction circuit 20. Also 2
When the correction control signal D2 is "1", A2
Is output to the error correction circuit 20 as the magnitude of the error. Further, when both the 1-correction control signal D1 and the 2-correction control signal D2 become "0", the error position A and the error magnitude B are both output to the error correction circuit 20 as "0". At the same time, the erasure flag generation circuit 17 outputs the erasure flag F to the flag output terminal 22. As described above, 1
It is assumed that there is no state where both the correction control signals D1 and D2 are "1". Further, the input data is delayed for a certain period by the delay circuit 19 and is input to the error correction circuit 20. This error correction circuit 20
The delay data K, the error position A and the error magnitude B are input to the input terminal, the error is corrected by the EOR circuit, and the corrected data L is output to the output terminal 21. The above is a case where the RS code is used and the number of check points is 4 symbols. However, the present invention is not limited to this, and it goes without saying that the present invention can be applied to other cases. The order in which data is recorded and reproduced is not regular as shown in FIG. 3, and even if irregular (shuffling or interleaving), error positions of recorded / reproduced (or transmitted) data continue. Correction processing may be performed in such a case. It is needless to say that the same processing can be performed even when an error becomes a two-bit pair error during modulation and demodulation. Further, even when the number of corrections is three or more, the processing can be performed in the same manner. [Effects of the Invention] As described above, according to the present invention, when an error correction code in symbol units is used, only a short burst error in which error positions are continuous and an error of a specific pattern (for example, 1 bit) are corrected. Thus, the original correction capability of the error correction code can be sufficiently exhibited without increasing the error correction probability.

【図面の簡単な説明】 第1図は本発明の誤り訂正方式を示すフローチヤート
図、第2図は複合誤りが発生する場合の誤りの分布を示
す図、第3図は2次元状に配置した誤り訂正符号のデー
タ構成例を示す図、第4図は本発明の一実施例を示すブ
ロツク図、第5図はシンドローム演算回路図、第6図は
切り換え回路18の動作を示す図である。 11……シンドローム演算回路、12……1誤り計算回路、
13……2誤り計算回路、14……誤り位置判定回路、15…
…誤りの大きさ判定回路、16……制御回路、17……消失
フラグ発生回路、18……切り替え回路、19……遅延回
路、20……誤り訂正回路。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flowchart showing an error correction method according to the present invention, FIG. 2 is a diagram showing an error distribution when a compound error occurs, and FIG. 3 is a two-dimensional arrangement. FIG. 4 is a block diagram showing an embodiment of the present invention, FIG. 5 is a diagram showing a syndrome operation circuit, and FIG. 6 is a diagram showing the operation of the switching circuit 18. . 11 ... syndrome operation circuit, 12 ... 1 error calculation circuit,
13 ... 2 Error calculation circuit, 14 ... Error position determination circuit, 15 ...
... Error magnitude determination circuit, 16 ... Control circuit, 17 ... Erasure flag generation circuit, 18 ... Switching circuit, 19 ... Delay circuit, 20 ... Error correction circuit.

フロントページの続き (72)発明者 三田 誠一 国分寺市東恋ヶ窪1丁目280番地 株式 会社日立製作所中央研究所内 (72)発明者 土居 信数 国分寺市東恋ヶ窪1丁目280番地 株式 会社日立製作所中央研究所内 (72)発明者 山内 浩人 勝田市大字稲田1410番地 株式会社日立 製作所東海工場内 (72)発明者 村田 宣男 小平市御幸町32番地 日立電子株式会社 小金井工場内 (72)発明者 金子 守 横浜市戸塚区吉田町292番地 日立ビデ オエンジニアリング株式会社内 (56)参考文献 特開 昭57−10557(JP,A) 特開 昭58−171146(JP,A) 特開 昭62−234426(JP,A) 特開 昭60−52964(JP,A) (58)調査した分野(Int.Cl.6,DB名) G11B 20/18 H03M 13/00Continuing from the front page (72) Inventor Seiichi Mita 1-280 Higashi Koigabo, Kokubunji-shi, Hitachi, Ltd. Central Research Laboratory Co., Ltd. Inventor Hiroto Yamauchi 1410 Inada, Katsuta City In-house factory, Hitachi, Ltd. (72) Inventor Norio Murata 32, Miyukicho, Kodaira-shi In-house, Koganei Factory, Hitachi Electronics Co., Ltd. No. 292, Hitachi Video Engineering Co., Ltd. (56) References JP-A-57-10557 (JP, A) JP-A-58-171146 (JP, A) JP-A-62-234426 (JP, A) 60-52964 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G11B 20/18 H03M 13/00

Claims (1)

(57)【特許請求の範囲】 1.入力データ系列にKシンボル(K≧2)の訂正能力
を有するパリテイを付加し、記録再生(または伝送)さ
れたデータ系列に発生した誤りを訂正する誤り訂正方式
において、Mシンボル(0<M<K)以下の誤りを訂正
した後、M+1シンボル以上Kシンボル以下の誤り訂正
が可能と判断された場合、誤り位置と誤りパターンに応
じて誤り訂正することを特徴とする誤り訂正方式。 2.特許請求の範囲第1項において、誤り位置が連続し
た場合にM+1シンボル以上Kシンボル以下の誤りを訂
正することを特徴とする誤り訂正方式。 3.特許請求の範囲第1項において、誤りが特定パター
ンの場合にM+1シンボル以上Kシンボル以下の誤りを
訂正することを特徴とする誤り訂正方式。 4.特許請求の範囲第1項において、上記誤り訂正符号
が2重符号構成の内符号であることを特徴とする誤り訂
正方式。
(57) [Claims] In an error correction system for adding parity having a correction capability of K symbols (K ≧ 2) to an input data sequence and correcting an error occurring in a recorded / reproduced (or transmitted) data sequence, M symbols (0 <M < K) An error correction method characterized by correcting errors according to an error position and an error pattern when it is determined that an error correction of M + 1 symbols or more and K symbols or less is possible after correcting the errors below. 2. 2. The error correction method according to claim 1, wherein when an error position is continuous, an error of M + 1 symbols or more and K symbols or less is corrected. 3. 2. An error correction method according to claim 1, wherein when an error is a specific pattern, an error of not less than M + 1 symbols and not more than K symbols is corrected. 4. 2. An error correction method according to claim 1, wherein said error correction code is an inner code having a double code configuration.
JP62093085A 1987-04-17 1987-04-17 Error correction method Expired - Lifetime JP2796291B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62093085A JP2796291B2 (en) 1987-04-17 1987-04-17 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62093085A JP2796291B2 (en) 1987-04-17 1987-04-17 Error correction method

Publications (2)

Publication Number Publication Date
JPS63259876A JPS63259876A (en) 1988-10-26
JP2796291B2 true JP2796291B2 (en) 1998-09-10

Family

ID=14072687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62093085A Expired - Lifetime JP2796291B2 (en) 1987-04-17 1987-04-17 Error correction method

Country Status (1)

Country Link
JP (1) JP2796291B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2721099B2 (en) * 1991-12-18 1998-03-04 インターナショナル・ビジネス・マシーンズ・コーポレイション Trial and error method for error burst correction and multibyte error correction method
JP3328093B2 (en) * 1994-07-12 2002-09-24 三菱電機株式会社 Error correction device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6052964A (en) * 1983-09-02 1985-03-26 Matsushita Electric Ind Co Ltd Error correcting method

Also Published As

Publication number Publication date
JPS63259876A (en) 1988-10-26

Similar Documents

Publication Publication Date Title
US6272659B1 (en) Error correction code processor employing adjustable correction power for miscorrection minimization
JP2576776B2 (en) Packet transmission method and packet transmission device
US6574774B1 (en) Physical block address recovery apparatus system and method for cyclic error correction codes
US6047395A (en) Error correction processor for correcting a multi-dimensional code by generating an erasure polynomial over one dimension for correcting multiple codewords in another dimension
US4546474A (en) Method of error correction
US4541091A (en) Code error detection and correction method and apparatus
JPH084233B2 (en) Error correction code decoding device
EP0278383A2 (en) Error correction method using reed-solomon code
US7310765B1 (en) Method and apparatus for checking read errors with two cyclic redundancy check stages
KR100213254B1 (en) Error correction method and apparatus
US20040177308A1 (en) Encoding apparatus and method, and decoding apparatus and method for error correction
JPS628056B2 (en)
EP1102406A2 (en) Apparatus and method for decoding digital data
JPH0361381B2 (en)
US20020199153A1 (en) Sampling method for use with bursty communication channels
Tang et al. Coding for error control
JP2796291B2 (en) Error correction method
JP3734486B2 (en) Error correction apparatus and error correction method
JPH048979B2 (en)
JP2606647B2 (en) Error correction method
JP3537722B2 (en) Recording / playback device
JPH0823970B2 (en) Digital data processing system
US5357526A (en) Method and apparatus for correcting errors of compressed data
JP2874933B2 (en) Digital signal error correction processing device and error correction processing method thereof
JP3583905B2 (en) Error correction device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070626

Year of fee payment: 9