JPS6345919A - Error correction method - Google Patents

Error correction method

Info

Publication number
JPS6345919A
JPS6345919A JP18791686A JP18791686A JPS6345919A JP S6345919 A JPS6345919 A JP S6345919A JP 18791686 A JP18791686 A JP 18791686A JP 18791686 A JP18791686 A JP 18791686A JP S6345919 A JPS6345919 A JP S6345919A
Authority
JP
Japan
Prior art keywords
decoding
result
words
correction
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18791686A
Other languages
Japanese (ja)
Inventor
Mitsuo Oshiba
大柴 三雄
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP18791686A priority Critical patent/JPS6345919A/en
Publication of JPS6345919A publication Critical patent/JPS6345919A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To reduce the probability of error correction and to improve the correction capability to a burst error by forming a 3rd arranging state comprising plural information words and 1st and 2nd plural check words, recording the signal in the unit of sector and repeating the operation of decoding again to the decoding result in the unit of sector at recovery. CONSTITUTION:A read data is received from a data input/output terminal 62 and stored in a RAM 70. Then C1 decoding is applied. Further, C2 decoding is applied similarly as the C1 decoding. When the C2 decoding is finished, the content of the data of the address of a RAM 71 is checked by an operation circuit 69. The program is branched into a prescribed address according to the result. When the result shows count =n, a signal representing the correction disable is outputted to complete the decoding. With count =n, a decoding number counter 78 receives a number of time signal 83 and the C1 decoding is executed again. Thus, even for a long burst error being disabled of correction by one decoding, the decoding is applied repetitively to the result of decoding, the result is corrected sequentially.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、記録媒体に情報を符号化して記録すると共
に、その符号化して記録された情報を復号化するにあた
っての誤り訂正方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an error correction method for encoding and recording information on a recording medium and for decoding the encoded and recorded information.

〔従来の技術〕[Conventional technology]

このような誤り訂正方法として、例えばリード・ソロモ
ン符号による2重符号化された誤り訂正符号を用いるも
のが既に実用に供されている。このリード・ソロモン符
号によるに2重符号化の従来例を第4図を参照して説明
する。
As such an error correction method, for example, one using a double-encoded error correction code using a Reed-Solomon code has already been put into practical use. A conventional example of double encoding using this Reed-Solomon code will be explained with reference to FIG.

第4図において11は情報ワード群、12は第1の検査
ワード群、13は第2の検査ワード群である。
In FIG. 4, 11 is an information word group, 12 is a first check word group, and 13 is a second check word group.

符号化は、まず、図中の縦方向のm個の情報ワードDI
I+ DZI+ ’−’−’+ DIll+に対して第
1の検査ワードpHl P21.P311 P41を生
成して付加する。このm個の情報ワード及び4個の第1
の検査ワードから成るデータ列をC2符号系列とする。
The encoding starts with m information words DI in the vertical direction in the figure.
I+ DZI+ '-'-'+ First test word pHl for DIll+ P21. Generate and add P311 P41. These m information words and the 4 first
A data string consisting of check words of is assumed to be a C2 code sequence.

同様な操作をn列まで行なってC2符号化を完了する。Similar operations are performed up to column n to complete C2 encoding.

次に、図中のななめ右下方向のn個の情報ワードD1.
Next, n information words D1.
.

D2□l’−”−’l  onnに対して第2の検査ワ
ードQ。11,1、On+2+2、Qn+3.3、Qn
+i 4を生成して付加する。このn個の情報ワード及
び4個の第2の検査ワードから成るデータ列をC1符号
系列とする。同様な操作を(m+4)回、各ななめ右下
方向に関して行ないC1符号化を完了する。ただし、こ
のC1符号化において(m+4)行目を越える場合は、
1行目に戻って続行されるものとする。このC1符号系
列中の各ワードは、それぞれ異なるC2符号系列に含ま
れるワードであり、これによりC1符号化、C2符号化
の間にインターリーブ操作が施されたことになる。以上
により、記録媒体に記録すべきデータの1つのまとまっ
た単位(以下セクタと呼ぶ)を構成する。ここで、第4
図中の各行はブロックと呼ばれる。したがって、第4図
においては軸+4)ブロックより1セクタが構成さてい
る。
D2□l'-"-'l Second check word Q for onn. 11,1, On+2+2, Qn+3.3, Qn
+i 4 is generated and added. This data string consisting of n information words and four second check words is defined as a C1 code sequence. A similar operation is performed (m+4) times for each diagonal in the lower right direction to complete C1 encoding. However, when exceeding the (m+4)th line in this C1 encoding,
The process returns to the first line and continues. Each word in this C1 code series is a word included in a different C2 code series, and thus an interleave operation is performed between C1 encoding and C2 encoding. The above constitutes one unit of data (hereinafter referred to as a sector) to be recorded on the recording medium. Here, the fourth
Each row in the diagram is called a block. Therefore, in FIG. 4, one sector is composed of axis+4) blocks.

記録においてはlブロックから(m+4)ブロックまで
順次実行される。この1つのブロック中の各ワードは、
それぞれ異なるC1符号系列に含まれるワードであり、
かつそれぞれ異なるC2符号系列に含まれるワードであ
る。したがって、C1符号化と記録の間に2度目のイン
ターリーブ操作が施されたことになる。この様子を第5
図に示す。第5図において、21はC1符号化方向、2
2はC2符号化方向、23は記録方向を示す。
Recording is performed sequentially from l block to (m+4) block. Each word in this one block is
are words included in different C1 code sequences,
and are words included in different C2 code sequences. Therefore, a second interleaving operation is performed between C1 encoding and recording. This situation can be seen in Chapter 5.
As shown in the figure. In FIG. 5, 21 is the C1 encoding direction, 2
2 indicates the C2 encoding direction, and 23 indicates the recording direction.

復号においては、まず、2度目のインターリーブに対応
するデ・インターリーブを行ない、C1符号系列で誤り
検出、誤り訂正を行なった後、1度目のインターリーブ
に対応するデ・インターリーブを行ない、C2符号系列
で誤り訂正を行なう。ここで、C1符号系列、C2符号
系列ともに最小距離5のリードソロモン符号を用いてい
るので、それぞれ独立に2個までの誤り位置が不明な誤
り(以下誤りと呼ぶ)を訂正できる。すなわち、CI符
号系3  ゛ 列の復号(以下C1復号と呼ぶ)では誤りが2個までな
ら誤り訂正が行われ、誤りが3個以上ならそのC1符号
系列に含まれる(n+4)個のワードにフラグが付加さ
れる。また、C2符号系列の復号(以下C2復号と呼ぶ
)では誤りが2個までなら誤り訂正が行われ、そのC2
符号系列中の(m+4)個のワードに誤りが3個以上か
つC1復号で付加されたフラグの数が4個以下であれば
消失訂正が行われる。
In decoding, first, de-interleaving corresponding to the second interleaving is performed, error detection and error correction are performed with the C1 code sequence, then de-interleaving corresponding to the first interleaving is performed, and then de-interleaving is performed with the C2 code sequence. Correct errors. Here, since Reed-Solomon codes with a minimum distance of 5 are used for both the C1 code series and the C2 code series, up to two errors whose error positions are unknown (hereinafter referred to as errors) can be corrected independently. In other words, in the decoding of a 3-series CI code system (hereinafter referred to as C1 decoding), if there are up to two errors, error correction is performed, and if there are three or more errors, the (n+4) words included in the C1 code system are corrected. A flag is added. In addition, in decoding a C2 code sequence (hereinafter referred to as C2 decoding), error correction is performed if there are up to two errors, and the C2
If there are three or more errors in (m+4) words in the code sequence and the number of flags added in C1 decoding is four or less, erasure correction is performed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した誤り訂正方法によれば、C1符号化と記録との
間にインターリーブ操作が施されるので、CI符号化方
向と記録方向とを一致させる場合に比べ、バースト誤り
に対する誤訂正の確率を低くできるという利点がある。
According to the above-mentioned error correction method, since an interleave operation is performed between C1 encoding and recording, the probability of erroneous correction for burst errors is lowered compared to the case where the CI encoding direction and the recording direction are made to match. It has the advantage of being possible.

しかし、同期はずれ等で1ブロック全体が誤ってしまっ
たブロックがセクタ内に3ブロツクあると、もはや訂正
不能になるという問題がある。第6図は、連続した3プ
ロ・7りがバースト誤りである場合を示したもので、3
1はバースト誤りの方向を、32はC1復号で訂正でき
た誤りを、33はC1復号で付加したフラグを、34は
C2復号で訂正できた誤りを、35はC1復号でもC2
復号でも訂正不能であった誤りをそれぞれ示している。
However, if there are three blocks in a sector in which the entire block is erroneous due to loss of synchronization or the like, there is a problem that correction is no longer possible. Figure 6 shows the case where consecutive 3rd and 7th hits are burst errors;
1 indicates the direction of the burst error, 32 indicates the error that could be corrected by C1 decoding, 33 indicates the flag added by C1 decoding, 34 indicates the error that could be corrected by C2 decoding, and 35 indicates the error that could be corrected by C2 decoding even with C1 decoding.
Each error that could not be corrected by decoding is shown.

このような場合には、C1復号で付加したフラグの数が
5個以上となるため、C2復号で消失訂正もできなくな
ってこのバースト誤りのほとんどが訂正不能となってし
まう。
In such a case, since the number of flags added in C1 decoding is five or more, erasure correction cannot be performed in C2 decoding, and most of these burst errors become uncorrectable.

この発明は、このような従来の問題点に着目してなされ
たもので、誤訂正の確率を低くでき、しかもバースト誤
りに対する訂正能力を向上できると共に、誤り訂正を効
率良く短時間でできる誤り訂正方法を提供することを目
的とする。
This invention was made by focusing on these conventional problems, and is an error correction method that can reduce the probability of incorrect correction, improve the correction ability for burst errors, and perform error correction efficiently and in a short time. The purpose is to provide a method.

〔問題点を解決するための手段および作用〕上記目的を
達成するため、この発明では第1の配列状態における複
数の情報ワードとこれら情報ワードに対して生成した第
1の検査ワードとにより第1の符号系列を形成すると共
に、 それぞれ異なる前記第1の符号系列に含まれる複数の情
報ワード及び複数の第1の検査ワードから成る第2の配
列状態における複数の情報ワード及び複数の第1の検査
ワードと、これら複数の情flilノート及び複数の第
1の検査ワードに対して生成した第2の検査・ノードと
により第2の符号系列を形成し、 更にそれぞれ異なるる前記第1の符号系列に含まれ、か
つそれぞれ異なる前記第2の符号系列に含まれる複数の
情報ワード、複数の第1の検査ワード及び複数の第2の
検査ワードより成る第3の配列状態を形成してこの第3
の配列状態をもってセクタ中位で記録するようにし、 +1■仕時においてはセクタ単位での復号結果に訂正不
能ワードが含まれていたらその復−号結果に対して11
¥度復−号を行なう操作を、最大lセクタに含まれる前
記第1の符号系列の数まで繰り返す。
[Means and operations for solving the problem] In order to achieve the above object, the present invention uses a plurality of information words in a first arrangement state and a first check word generated for these information words to a plurality of information words and a plurality of first test words in a second arrangement state consisting of a plurality of information words and a plurality of first check words included in each different first code sequence; A second code sequence is formed by the word and a second check node generated for the plurality of information notes and the plurality of first check words, and further, the second code sequence is forming a third arrangement state consisting of a plurality of information words, a plurality of first check words and a plurality of second check words included in the second code sequence and each different from the second code sequence;
If the decoding result for each sector contains an uncorrectable word, the decoding result will be recorded in the middle of the sector.
The operation of decoding is repeated up to the maximum number of first code sequences included in l sectors.

〔実施例〕〔Example〕

この発明の一実施例を第4Mに示した誤り訂正符号に適
用した場合について説明する。
A case will be described in which an embodiment of the present invention is applied to the error correction code shown in No. 4M.

前述したように、第4図に示した誤り訂正符号は、能力
としてはC1復号、C2復号ともに2個までの誤り訂正
と4個までの消失訂正が可能であるが、この実施例では
消失訂正は行わないものとする。
As mentioned above, the error correction code shown in FIG. 4 has the ability to correct up to two errors and correct up to four erasures in both C1 decoding and C2 decoding. shall not be carried out.

第1図はこの実施例の復号のフローチャートを示す。以
下、第1図によって復−℃の順次の工程を説明するが、
この復号はセクタバッファなる格納場所に格納されたデ
ータに対して行われる。なお、2度のインターリーブは
特に説明しないが、C1復号、 C2復号でそれぞれC
1符号系列、 C2符号系列を抽出する際に行なわれて
いるものとする。
FIG. 1 shows a flowchart of decoding in this embodiment. Hereinafter, the sequential steps of de-cooling will be explained with reference to Fig. 1.
This decoding is performed on data stored in a storage location called a sector buffer. Although the two-time interleaving is not particularly explained, C1 decoding and C2 decoding each
It is assumed that this is performed when extracting a C1 code sequence and a C2 code sequence.

(1)記録媒体から読み取ったデータをセクタバッファ
に格納する。
(1) Store data read from the recording medium in a sector buffer.

(2)  カウンタを1にセントする。このカウンタは
、復号の繰り返し回数をカウントするものである。
(2) Set the counter to 1 cent. This counter counts the number of times decoding is repeated.

(31C1復号を行なう。このC1復号においては、(
m+4)個のC1復号系列を順次セクタバッファから抽
出し、誤りが1個か2個であると判断されたら誤り訂正
を行ない、その結果をセクタバッファに戻す。それ以外
の場合は、何もセずそのままサクタハソファに戻す。
(31C1 decoding is performed. In this C1 decoding, (
m+4) C1 decoded sequences are sequentially extracted from the sector buffer, and if it is determined that there are one or two errors, error correction is performed and the result is returned to the sector buffer. Otherwise, Sakta returns to the sofa without doing anything.

(4)  C2復号を行う。ごのC2復号においては、
n個のC2符号系列を順次セクタバッファから抽出し、
誤りか1個か2個であると判断されたら誤り訂正を行な
い、その結果をセクタバッファに戻す。
(4) Perform C2 decoding. In the C2 decoding of
Sequentially extract n C2 code sequences from the sector buffer,
If it is determined that there are one or two errors, error correction is performed and the result is returned to the sector buffer.

また、誤りなしの場合は、そのままセクタバッファに戻
す。更に、誤りが3個以上と判断されたら、そのままサ
クタハソファに戻して訂正不能フラグを1とする。
If there is no error, the data is returned to the sector buffer as is. Further, if it is determined that there are three or more errors, the data is returned to the Sakutaha Sofa and the uncorrectable flag is set to 1.

(5)訂正不能フラグが0であれば、そのセクタは復号
できたと判断して終了する。また、訂正不能フラグが1
と判断されたら、訂正不能な誤り有りとして次の(6)
へ進む。
(5) If the uncorrectable flag is 0, it is determined that the sector has been decoded and the process ends. Also, the uncorrectable flag is set to 1.
If it is determined that there is an uncorrectable error, proceed as follows (6).
Proceed to.

(6)  カウンタの値がC2符号系列の数nに等しい
かどうかを調べ、等しければそのセクタは訂正不能であ
ると判断して終了し、等しくなければ次の(7)へ進む
(6) Check whether the counter value is equal to the number n of C2 code sequences. If they are equal, the sector is determined to be uncorrectable and the process ends; if not, proceed to the next step (7).

(7)  カウンタの値を1増加させ、また訂正不能フ
ラグを0として(3)へ戻る。
(7) Increase the counter value by 1, set the uncorrectable flag to 0, and return to (3).

第2図A、BおよびCは連続した4ブロツクがバースト
誤りである場合の第1図のフローチャートに従った復号
過程を示すものである。第2図A〜Cにおいて、51は
1回目の復号結果、52は2回目の復号結果、53はn
回目の復号結果である。また、54は情報ワード群また
は第1の検査ワード群、55は第2の検査ワード群、5
6はC1復号で訂正できた誤り、57はC2復号で訂正
できた誤り、58は訂正不能な誤り、59は前回の復号
までに訂正できたワードをそれぞれ示している。
FIGS. 2A, B, and C show the decoding process according to the flowchart of FIG. 1 when four consecutive blocks are burst errors. In FIGS. 2A to C, 51 is the first decoding result, 52 is the second decoding result, and 53 is n
This is the result of the second decryption. Further, 54 is an information word group or a first test word group, 55 is a second test word group, 5
6 indicates an error that could be corrected by C1 decoding, 57 indicates an error that could be corrected by C2 decoding, 58 indicates an uncorrectable error, and 59 indicates a word that could be corrected up to the previous decoding.

第2図A−Cから明らかなように、1回目の復号では8
ワードの誤りしか訂正できていないが、2回目以降の復
号では1回の復号につき4ワードずつ訂正でき、n回目
の復号終了時には情報ワード群または第1の検査ワード
群54のうちのすべての誤りが訂正できている。このよ
うに繰り返し復号を行なえば、従来では復号できなかっ
た4ブロツクもの長いバースト誤りも有効に訂正するこ
とができる。また、その繰り返し回数の上限もC2符号
系列の数nで十分である。
As is clear from Figure 2A-C, in the first decoding, 8
Only word errors can be corrected, but in the second and subsequent decodings, 4 words can be corrected per decoding, and by the end of the n-th decoding, all errors in the information word group or the first check word group 54 have been corrected. has been corrected. By repeating decoding in this manner, it is possible to effectively correct burst errors as long as four blocks, which could not be decoded in the past. Furthermore, the upper limit of the number of repetitions is also sufficient to be the number n of C2 code sequences.

第3図は上述した復号を行う誤り訂正回路の一例の構成
を示すブロック図である。第3図において、61はコン
トロール信号入力端子、62はデータ入出力端子、63
はクロック入力端子、64はバッファ、65はシンドロ
ーム生成回路、66及び67はうソチ、68はマルチプ
レクサ、69は演算回路、70及び71はRAM 、 
72はアドレス発生回路、73は加算回路、74はプロ
グラムROM、 75はプログラムカウンタ、76は内
部データバス、77は外部データバス。
FIG. 3 is a block diagram showing the configuration of an example of an error correction circuit that performs the above-described decoding. In FIG. 3, 61 is a control signal input terminal, 62 is a data input/output terminal, and 63 is a control signal input terminal.
is a clock input terminal, 64 is a buffer, 65 is a syndrome generation circuit, 66 and 67 are wires, 68 is a multiplexer, 69 is an arithmetic circuit, 70 and 71 are RAMs,
72 is an address generation circuit, 73 is an adder circuit, 74 is a program ROM, 75 is a program counter, 76 is an internal data bus, and 77 is an external data bus.

78は復号回数カウンタを示す。78 indicates a decoding number counter.

コントロール信号入力端子61はマルチプレクサ68に
、データ入出力端子62はバッファ64を介して外部デ
ータバス77に、クロック入力端子63はプログラムカ
ウンタ75にそれぞれ接続する。
The control signal input terminal 61 is connected to a multiplexer 68, the data input/output terminal 62 is connected to an external data bus 77 via a buffer 64, and the clock input terminal 63 is connected to a program counter 75.

プログラムROM 74は各回路をコントロールして復
号を実行するためのプログラムを記憶し、プログラムを
分岐させる場合の分岐アドレス79をプログラムカウン
タ75に、プログラムを分岐させる場合の条件を選択す
るための条件選択信号80をマルチプレクサ68に、デ
ータ出力信号81を内部データバス76に、RAM 7
1のアドレス信号を生成するためのアドレス生成信号8
2を加算回路73に、復号の繰り返し回数をカウントす
るための回数信号83を復号回数カウンタ78にそれぞ
れ出力すると共に、バッファ64.ラッチ66及び67
、演算回路69.アドレス発生回路72等をコントロー
ルする制御信号84を出力する。
A program ROM 74 stores a program for controlling each circuit and executing decoding, stores a branch address 79 for branching the program in a program counter 75, and stores a condition selection for selecting conditions for branching the program. signal 80 to multiplexer 68, data output signal 81 to internal data bus 76, RAM 7
Address generation signal 8 for generating address signal 1
2 to the adder circuit 73 and a number signal 83 for counting the number of decoding repetitions to the decoding number counter 78. Latches 66 and 67
, arithmetic circuit 69. A control signal 84 for controlling the address generation circuit 72 and the like is output.

シンドローム生成回路65.ラッチ66および67は内
部データバス76と外部データバス77との間に接続し
、ランチ66、67により内部データバス76と外部デ
ータバス77との間のデータの移動を制御し、シンドロ
ーム生成回路65において外部データバス上のデータに
よりシンドロームを生成して内部データバス76上に出
力させる。
Syndrome generation circuit 65. The latches 66 and 67 are connected between the internal data bus 76 and the external data bus 77, and the launches 66 and 67 control the movement of data between the internal data bus 76 and the external data bus 77. A syndrome is generated from the data on the external data bus and output onto the internal data bus 76.

演算回路69は内部データバス76に接続する。この演
算回路69は復号時に必要な各種の演算機能、すなわち
加算及び減算を行う機能、GF(2’ )上の元d゛か
らiを求める機能、iからd”を求める機能を有し、そ
の演算結果を内部データバス76に出力すると共に、演
算結果に応じた各種フラグ(零検出、桁あふれ等)85
を生成してこれをマルチプレクサ68に出力する。
Arithmetic circuit 69 is connected to internal data bus 76 . This arithmetic circuit 69 has various arithmetic functions necessary for decoding, that is, a function to perform addition and subtraction, a function to obtain i from element d′ on GF(2′), a function to obtain d” from i, and In addition to outputting the calculation result to the internal data bus 76, various flags (zero detection, overflow, etc.) 85 according to the calculation result are output.
is generated and output to the multiplexer 68.

マルチプレクサ68はコントロール信号入力端子61か
らのコントロール信号、演算回路69からの各種フラグ
85及び復号回数カウンタ78の出力の1つをプログラ
ムl?OM 74からの条件選択信号80に応じて選択
し、これをプログラムカウンタ75に出力する。
The multiplexer 68 converts the control signal from the control signal input terminal 61, various flags 85 from the arithmetic circuit 69, and one of the outputs of the decoding counter 78 into a program l? The selection is made in response to the condition selection signal 80 from the OM 74 and output to the program counter 75.

プログラムカウンタ75はプログラムのアドレスをコン
トロールするもので、通常はクロック入力端子63から
のクロック信号によりプログラムROM74のアドレス
を進めてプログラムを実行させる。
The program counter 75 controls the address of the program, and normally advances the address of the program ROM 74 in response to a clock signal from the clock input terminal 63 to execute the program.

また、プログラムの分岐はマルチプレクサ67からの信
号により分岐アドレス79をプログラムカウンタ75に
ロードして行われる。
Further, the program is branched by loading the branch address 79 into the program counter 75 in response to a signal from the multiplexer 67.

加算回路73はプログラムROM 74からのアドレス
生成信号82と内部データバス76上のデータとを加算
してRAM 71のアドレス信号を生成する。
Adder circuit 73 adds address generation signal 82 from program ROM 74 and data on internal data bus 76 to generate an address signal for RAM 71.

RAM 70は前述のセクタバッファに対応するもので
、内部データバス76に接続され、lセクタ分の復号デ
ータを記憶する。このRAM 70に記憶されている復
号データは、プログラムROM 74からの制御信号に
よってアドレス発生回路72から発生されるC1符号系
列、C2符号系列等に応じたアドレス信号に従って読出
され、内部データバス76上に出力される。RAM 7
1は内部データバス76に接続され、演算回路69にお
ける演算結果やRAM 70からの1符号系列分のデー
タを一時記憶する。このRAM 71においては、演算
結果として内部データバス76上に誤り位置を示すデー
タが出力されると、そのデータとプログラムROM 7
4からのアドレス生成信号82とによる加算回路73か
らのアドレス信号に応じてRAM71内の上記誤り位置
に対応したデータの訂正を実行し、その訂正された1符
号系列分のデータをRAM71からRAM 70に転送
する。
The RAM 70 corresponds to the aforementioned sector buffer, is connected to the internal data bus 76, and stores l sectors worth of decoded data. The decoded data stored in this RAM 70 is read out in accordance with address signals corresponding to the C1 code series, C2 code series, etc. generated from the address generation circuit 72 in response to control signals from the program ROM 74, and is read out on the internal data bus 76. is output to. RAM 7
1 is connected to the internal data bus 76 and temporarily stores the calculation results in the calculation circuit 69 and the data for one code sequence from the RAM 70. In this RAM 71, when data indicating an error position is output on the internal data bus 76 as a calculation result, that data and the program ROM 7
Correcting the data corresponding to the above-mentioned error position in the RAM 71 is executed in accordance with the address signal from the adder circuit 73 based on the address generation signal 82 from the address generating signal 82 from the RAM 70. Transfer to.

複合回数カウンタ84はプログラムROM 74からの
復号の繰り返し回数信号83をカウンタし、そのカウン
ト値すなわち繰り返し回数とあらかじめセットしである
C2符号系列の数nとを比較してその結果をマルチプレ
クサ68に出力する。
The composite number counter 84 counts the decoding repetition number signal 83 from the program ROM 74, compares the count value, that is, the number of repetitions, with a preset number n of C2 code sequences, and outputs the result to the multiplexer 68. do.

復号動作においては、まず、データ入出力端子62より
読み取りデータを受は取ってRAM 70に記憶させる
。次にC1復号を行なう。このC1復号はアドレス発生
回路72によりCI符号系列に対応するRAM70のア
ドレス信号を順次発生させてC1符号系列のデータを読
み出し、シンドローム生成回路65によりシンドローム
を生成させると同時に上記CI符号系列のデータをll
AM71に転送させ、シンドロームにより誤りかあれば
誤り訂正を行なって再びRAM70に転送する。次にC
2復号を行なう。このC2復号もC1復号と同様に行な
うか、訂正不能であるとRAM71の所定のアドレスに
訂正不能であることを示すデータを記憶させる。C2復
号が終わると、上記RAM71の訂正不能であることを
示すデータが記t@されているアドレスのデータの内容
を演算回路69により911べ、結果をマルチプレクサ
68に出力してそれに応じてプログラムを所定のアドレ
スに分岐させる。結果が訂正不能でなければ復号は終了
する。
In the decoding operation, first, read data is received from the data input/output terminal 62 and stored in the RAM 70. Next, C1 decoding is performed. In this C1 decoding, the address generation circuit 72 sequentially generates address signals in the RAM 70 corresponding to the CI code series to read out the data of the C1 code series, and the syndrome generation circuit 65 generates a syndrome while at the same time reading out the data of the CI code series. ll
The data is transferred to the RAM 71, and if there is an error due to syndrome, the error is corrected and the data is transferred to the RAM 70 again. Next, C
2. Perform decoding. This C2 decoding is also performed in the same manner as the C1 decoding, or if it is uncorrectable, data indicating that it is uncorrectable is stored at a predetermined address in the RAM 71. When the C2 decoding is completed, the arithmetic circuit 69 performs a 911 check on the contents of the data at the address where the data indicating uncorrectability is written in the RAM 71, outputs the result to the multiplexer 68, and executes the program accordingly. Branch to a predetermined address. If the result is uncorrectable, decoding ends.

訂正不能ならば、プログラムはマルチプレクサ68の出
力として復号回数カウンタ78からの出力を選択し2、
その結果に応じてプログラムを所定のアドレスに分岐さ
せる。結果がカウント−nならば、訂11−不能を示す
信号を出力して復号を終了する。
If the correction is not possible, the program selects the output from the decoding counter 78 as the output of the multiplexer 68;
Depending on the result, the program is branched to a predetermined address. If the result is count -n, a signal indicating correction 11-impossibility is output and the decoding is terminated.

カウントf−nならば、復号回数カウンタ78に回数1
.1号83を出力し−C再びC1復号から実行させる。
If the count is f-n, the decoding number counter 78 shows the number of times 1.
.. 1 83 is output and -C is executed again from C1 decoding.

なお、以上の実施例では消失訂正を行わないようにした
が、消失訂正を行うようにしてもよいことは勿論である
Although erasure correction is not performed in the above embodiment, it is of course possible to perform erasure correction.

〔発明の効果〕〔Effect of the invention〕

以−L述へたようにこの発明によれば、2重にインター
リーブされているので誤訂正の確立を低くできると共に
、1回の復号では訂正不能であるような長いバースト誤
りでも、その復号結果に対して繰り返し復号を行なうの
で順次訂正することができる。したがって、バースト誤
りに対して訂正能力を向上させることができる上、繰り
返し回数の上限を第1の符号系列の数としたので、復号
を短時間で効率良く行うことができる。
As mentioned above, according to the present invention, since double interleaving is performed, the probability of error correction can be lowered, and even if a long burst error that cannot be corrected by one decoding, the decoding result is Since the decoding is performed repeatedly, corrections can be made sequentially. Therefore, the ability to correct burst errors can be improved, and since the upper limit of the number of repetitions is set to the number of first code sequences, decoding can be performed efficiently in a short time.

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

第1図はこの発明の一実施例におiする復号の順次の工
程を示すフローチャート、 第2図A、 BおよびCは第1図のフローチャートに従
った復号過程の一例を示す図、 第3図は第1図に示す復号を行う誤り訂正回路の一例の
構成を示すブロックH1 第4図、第5図および第6図は従来の技術を説明するだ
めの図である。 11・・・情報ワード群   12・・・第1の検査ワ
ード群13・・・第2の検査ワード群 21・・・C1符号化方向   22・・・C2符号化
方向23・・・記録方向 61・・・コントロール信号入力端子 62・・・データ入出力端子 63・・・クロック入力
端子64・・・バッファ 65・・・シンドローム生成回路 66、67・・・ラッチ    68・・・マルチプレ
クサ69・・・演算回路     70.71・・・R
A?172・・・アドレス発生回路 73・・・加算回
路74・・・プロクラムROM   15・・・プl′
1グラムカウンタ76・・・内部データバス  77・
・・外部データノ\スフ)(・・・復号同数カウンタ
FIG. 1 is a flowchart showing the sequential steps of decoding according to an embodiment of the present invention; FIGS. 2A, B, and C are diagrams showing an example of the decoding process according to the flowchart of FIG. 1; The figure shows a block H1 showing the configuration of an example of an error correction circuit that performs the decoding shown in FIG. 1. FIGS. 4, 5, and 6 are diagrams for explaining the conventional technology. 11... Information word group 12... First check word group 13... Second check word group 21... C1 encoding direction 22... C2 encoding direction 23... Recording direction 61 ...Control signal input terminal 62...Data input/output terminal 63...Clock input terminal 64...Buffer 65...Syndrome generation circuit 66, 67...Latch 68...Multiplexer 69... Arithmetic circuit 70.71...R
A? 172...Address generation circuit 73...Addition circuit 74...Program ROM 15...Pl'
1 gram counter 76...internal data bus 77.
・・External data no.\fu) (・・・decode same number counter

Claims (1)

【特許請求の範囲】 1、第1の配列状態における複数の情報ワードとこれら
情報ワードに対して生成した第1の検査ワードとにより
第1の符号系列を形成すると共に、 それぞれ異なる前記第1の符号系列に含ま れる複数の情報ワード及び複数の第1の検査ワードから
成る第2の配列状態における複数の情報ワード及び複数
の第1の検査ワードと、これら複数の情報ワード及び複
数の第1の検査ワードに対して生成した第2の検査ワー
ドとにより第2の符号系列を形成し、 更にそれぞれ異なる前記第1の符号系列に 含まれ、かつそれぞれ異なる前記第2の符号系列に含ま
れる複数の情報ワード、複数の第1の検査ワード及び複
数の第2の検査ワードより成る第3の配列状態を形成し
てこの第3の配列状態をもってセクタ単位で記録するよ
うにし、 再生時においてはセクタ単位での復号結果 に訂正不能ワードが含まれていたらその復号結果に対し
て再度復号を行なう操作を、最大1セクタに含まれる前
記第1の符号系列の数まで繰り返すことを特徴とする誤
り訂正方法。
[Claims] 1. A first code sequence is formed by a plurality of information words in a first arrangement state and a first check word generated for these information words, and A plurality of information words and a plurality of first check words in a second arrangement state consisting of a plurality of information words and a plurality of first check words included in a code sequence; A second code sequence is formed by a second check word generated for the check word, and a plurality of code sequences included in the first code sequence, which are different from each other, and included in the second code sequence, which are different from each other. A third arrangement state consisting of an information word, a plurality of first check words, and a plurality of second check words is formed, and this third arrangement state is recorded in units of sectors, and during reproduction, in units of sectors. An error correction method characterized by repeating an operation of decoding the decoding result again if an uncorrectable word is included in the decoding result up to the maximum number of the first code sequences included in one sector. .
JP18791686A 1986-08-12 1986-08-12 Error correction method Pending JPS6345919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18791686A JPS6345919A (en) 1986-08-12 1986-08-12 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18791686A JPS6345919A (en) 1986-08-12 1986-08-12 Error correction method

Publications (1)

Publication Number Publication Date
JPS6345919A true JPS6345919A (en) 1988-02-26

Family

ID=16214447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18791686A Pending JPS6345919A (en) 1986-08-12 1986-08-12 Error correction method

Country Status (1)

Country Link
JP (1) JPS6345919A (en)

Similar Documents

Publication Publication Date Title
KR930001071B1 (en) Error correction circuit
EP0387924B1 (en) Method and apparatus for decoding error correction code
JP3234130B2 (en) Error correction code decoding method and circuit using this method
EP0278383A2 (en) Error correction method using reed-solomon code
JPH0812612B2 (en) Error correction method and apparatus
EP0129849A2 (en) Error correction method and system
JPS60204125A (en) Decoding device
US4569051A (en) Methods of correcting errors in binary data
JPS62177768A (en) Error correcting device
JPS5864844A (en) Synchronism detecting system
EP0317197B1 (en) Error detection and correction method
JPS632370B2 (en)
JPS61281722A (en) Block transmission of digital information word
JPS6345922A (en) Error correction method
US3988580A (en) Storage of information
JPS6345919A (en) Error correction method
JP4126795B2 (en) Pseudo product code decoding apparatus and method
KR0140382B1 (en) Address generation circuit for error correction of DAT
JP3813337B2 (en) Erasure error correction method and apparatus
JP2605269B2 (en) Error correction method
JPH0628343B2 (en) Product code decoding method
JP2684031B2 (en) Data decryption method
JPS6345920A (en) Data recording method
JP3728011B2 (en) Error correction method and error correction apparatus
JPS6387025A (en) Code error correcting circuit