JPH07202719A - Decoder for error correction code - Google Patents

Decoder for error correction code

Info

Publication number
JPH07202719A
JPH07202719A JP34964493A JP34964493A JPH07202719A JP H07202719 A JPH07202719 A JP H07202719A JP 34964493 A JP34964493 A JP 34964493A JP 34964493 A JP34964493 A JP 34964493A JP H07202719 A JPH07202719 A JP H07202719A
Authority
JP
Japan
Prior art keywords
decoding
code
error
decoding means
flag
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
JP34964493A
Other languages
Japanese (ja)
Other versions
JP3277062B2 (en
Inventor
Takehisa Kato
岳久 加藤
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP34964493A priority Critical patent/JP3277062B2/en
Publication of JPH07202719A publication Critical patent/JPH07202719A/en
Application granted granted Critical
Publication of JP3277062B2 publication Critical patent/JP3277062B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To always keep a decoding characteristic of an error correction code obtained through multiple coding of digital information in a best state without being deteriorated by timewise fluctuation of an erroneous state. CONSTITUTION:In the decoder that decodes an error correction code subjected to multiple coding such as a product code comprising, e.g. two kinds of codes by using a 1st decoding means and a 2nd decoding means, the 1st decoding means is provided with an error number detection circuit 101 counting an error check result of each code word obtained by the 1st decoding means and circuits 102, 103 controlling the additional mode of suitable reliability information based on the count when the reliability of an error added by the 1st decoding means is expressed in at least three stages.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はディジタル情報の伝送・
記録再生時に、その誤りを検出・訂正する多重符号化さ
れた誤り訂正符号の復号装置、特に積符号の復号装置に
関する。
BACKGROUND OF THE INVENTION The present invention relates to the transmission of digital information.
The present invention relates to a decoding device for a multi-coded error correction code that detects and corrects the error during recording / reproduction, and particularly to a decoding device for a product code.

【0002】[0002]

【従来の技術】一般にディジタル情報の記録再生系の誤
り訂正システムでは、図2(a),(b)に示されるよ
うな積符号が使われる。この積符号は符号を2段階に組
み合わせて構成することにより、最小ハミング距離が長
く訂正能力が高い符号と同等の訂正能力が得られ、かつ
各段の復号の計算手順が比較的容易であるという特徴を
持っている。各段の符号にはリードソロモン符号が良く
使われる。
2. Description of the Related Art Generally, in a digital information recording / reproducing error correction system, a product code as shown in FIGS. 2 (a) and 2 (b) is used. This product code is configured by combining the codes in two stages, whereby it is possible to obtain a correction capability equivalent to that of a code having a long minimum Hamming distance and a high correction capability, and the calculation procedure of decoding in each stage is relatively easy. It has features. The Reed-Solomon code is often used as the code for each stage.

【0003】図2(a)の例は、横方向にC1 (n1
1 )符号、縦方向にC2 (n2 ,k2 )符号(n1
2 :符号長、k1 ,k2 :情報符号長)よりなる積符
号である。符号長、情報符号長の長さはシンボル単位
で、1シンボルは8ビットとする。図2(a)の場合、
C1,C2符号の符号語の長さn1 ,n2 が独立に自由
に設定できるという特徴を持つ。図2(b)は、縦方向
にC1符号、斜め方向にC2符号よりなる積符号であ
る。この図2(b)の場合、横方向のLの長さ(符号語
の数)は自由に設定できる特徴を持つ。
In the example shown in FIG. 2A, C 1 (n 1 ,
k 1 ) code, and C 2 (n 2 , k 2 ) code (n 1 ,
n 2: code length, k 1, k 2: is a product code consisting of information code length). The code length and the information code length are in symbol units, and one symbol is 8 bits. In the case of FIG. 2 (a),
It has the feature that the lengths n 1 and n 2 of the code words of the C1 and C2 codes can be set independently and freely. FIG. 2B is a product code having a C1 code in the vertical direction and a C2 code in the diagonal direction. In the case of FIG. 2B, the length of L in the horizontal direction (the number of code words) can be freely set.

【0004】一般に符号化側では、第1にC2を符号化
し、第2にC1を符号化する。以下では、記録再生は1
つのC1符号語のシンボルが連続して記録再生されるよ
うな順に行われるものとする。さて、C1,C2の最小
ハミング距離が、それぞれd1 ,d2 であるとすると、
この積符号の最小ハミング距離はd1 2 となり、誤り
を(d1 2 −1)シンボルまで検出でき、(d1 2
−1)/2シンボルまで訂正できる。
Generally, on the encoding side, C2 is encoded first and C1 is encoded second. In the following, recording / playback is 1
It is assumed that the symbols of one C1 code word are sequentially recorded and reproduced. Now, assuming that the minimum Hamming distances of C1 and C2 are d 1 and d 2 , respectively,
The minimum Hamming distance of this product code is d 1 d 2 , and errors can be detected up to (d 1 d 2 -1) symbols, and (d 1 d 2
It can correct up to -1) / 2 symbols.

【0005】図3に、一般的な積符号の符号化・復号化
の簡単なブロック図と、図2(a)を例とした符号化お
よび復号の過程を示す。301は第1段符号化器である
C2符号化器、302は第2段符号化器であるC1符号
化器、303は通信路、304は第1段復号器であるC
1復号器、305は第2段復号器であるC2復号器であ
る。
FIG. 3 shows a simple block diagram of encoding / decoding of a general product code, and an encoding / decoding process taking FIG. 2 (a) as an example. 301 is a C2 encoder which is a first stage encoder, 302 is a C1 encoder which is a second stage encoder, 303 is a communication channel, and 304 is a C which is a first stage decoder.
1 decoder, 305 is a C2 decoder which is a second stage decoder.

【0006】k2 ×k1 のブロック化された原情報は、
符号化側では、第1段符号化器であるC2符号化器30
1によってC2パリティが付加されn2 ×k1 のブロッ
クとなる。次に第2段符号化器であるC1符号化器30
2によって、C1パリティが付加されn2 ×n1 のブロ
ックとなり符号化が終わる。復号側では、第1段復号器
であるC1復号器304において誤りを検出、訂正す
る。C1復号器304では距離がd1 であるので(d1
−1)シンボルの誤り検出、(d1 −1)/2シンボル
までの誤り訂正が可能である。
The k 2 × k 1 blocked original information is
On the encoding side, the C2 encoder 30 which is the first stage encoder
C1 parity is added by 1 to form an n 2 × k 1 block. Next, the C1 encoder 30 which is the second stage encoder
By 2, C1 parity is added and the block becomes n 2 × n 1 and the encoding is completed. On the decoding side, the C1 decoder 304, which is the first stage decoder, detects and corrects the error. In the C1 decoder 304, since the distance is d 1 , (d 1
-1) Symbol error detection and error correction up to (d 1 -1) / 2 symbols are possible.

【0007】このとき誤り個数の判定と訂正の結果に応
じてフラグを各符号語に付加する。そしてこのフラグを
C1復号結果と共に第2段復号器であるC2復号器30
5に送る。
At this time, a flag is added to each code word according to the result of the judgment and correction of the number of errors. Then, this flag is combined with the C1 decoding result and the C2 decoder 30 which is the second stage decoder
Send to 5.

【0008】C2復号器305ではC2符号より誤り個
数を判定する。C2符号だけでは最小ハミング距離がd
2 であるため、(d2 −1)シンボルまでの誤り検出、
(d2 −1)/2シンボルまでの訂正が可能である。ま
た、C1フラグが付加されたシンボルを消失(位置が既
知の誤り)として扱うことにより、(d2 −1)シンボ
ルまでの誤り訂正(消失訂正)が可能となる。C2復号
器305でどの様な訂正を行うかを、C1復号器304
から送られたC1フラグを参照して決定する。この様に
して、復号を行うことにより、k2 ×k1 の原情報ブロ
ックが得られる。
The C2 decoder 305 determines the number of errors from the C2 code. The minimum Hamming distance is d only with the C2 code.
Since it is 2 , error detection up to (d 2 −1) symbols,
It is possible to correct up to (d 2 -1) / 2 symbols. Further, by treating the symbol to which the C1 flag is added as erasure (error whose position is known), error correction (erasure correction) up to (d 2 −1) symbols becomes possible. C1 decoder 304 determines what kind of correction is performed by C2 decoder 305.
It is determined by referring to the C1 flag sent from. By performing the decoding in this way, an original information block of k 2 × k 1 can be obtained.

【0009】復号結果の特性を評価するものに、見逃し
確率と訂正不能確率がある。見逃し確率は、エラーシン
ボルを正しいシンボルと見誤る確率である。ディジタル
VTR等では、この見逃しによって誤りが直接画面上に
でる。訂正不能確率は、誤り個数が訂正能力を越え、誤
りが訂正できなくなる確率である。ディジタルVTR等
では訂正不能の場合、周辺画素の情報から補間などを行
うことによって原情報に近い情報を得ることができる。
これら見逃し確率と訂正不能確率は出来るだけ低い程、
復号特性がよい。
There are missed probabilities and uncorrectable probabilities for evaluating the characteristics of the decoding result. The missed probability is the probability that the error symbol is mistaken for a correct symbol. In a digital VTR or the like, this oversight causes an error to appear directly on the screen. The uncorrectability probability is the probability that the number of errors exceeds the correction capability and the errors cannot be corrected. When correction is impossible with a digital VTR or the like, information close to the original information can be obtained by performing interpolation or the like from the information of the peripheral pixels.
The lower the missed probability and the uncorrectable probability are,
Good decoding characteristics.

【0010】ディジタル情報の記録再生系ではランダム
エラー、バーストエラー、及びこの2つが混在する複合
エラーがある。これらエラーの状態は時間的に一定では
なく変動する。従来は、この様なエラー状態の時間的な
変動は、あまり考慮されなかった。つまりC1復号で、
どの様に訂正を行い、フラグを付加するのか、C2復号
器では送られたC1フラグからどの様な訂正を行うの
か、これら諸条件を固定させて行ってきた。このため図
4の様に、エラー状態Aで見逃し確率と訂正不能確率が
低い(復号特性が良い)復号モード1が、エラー状態B
では見逃し確率と訂正不能確率が高く(復号特性が悪
く)なってしまい、逆にエラー状態Bで見逃し確率と訂
正不能確率が低い復号モード2がエラー状態Aでは見逃
し確率と訂正不能確率が高くなるということが起きる。
この様に従来の固定した復号法では、エラーの状態が変
化することによって復号特性が悪くなる場合があり、デ
ィジタルVTR等では画質が劣化するなどの欠点があっ
た。
In a digital information recording / reproducing system, there are random errors, burst errors, and composite errors in which the two are mixed. The state of these errors is not constant but fluctuates in time. In the past, such a temporal variation of the error state was not considered so much. In other words, with C1 decoding,
These conditions have been fixed such as how to correct and add a flag, and how to correct from the C1 flag sent by the C2 decoder. Therefore, as shown in FIG. 4, the decoding mode 1 in which the miss probability and the uncorrectability probability are low (the decoding characteristic is good) in the error state A is the error state B.
Then, the miss-over probability and the uncorrectable probability become high (the decoding characteristics are bad), and conversely, in the error mode A, the overlook-probability and the uncorrectable probability become high in the decoding mode 2 in which the miss-over probability and the uncorrectable probability are low. That happens.
As described above, the conventional fixed decoding method has a drawback that the decoding characteristic may be deteriorated due to the change of the error state, and the image quality is deteriorated in the digital VTR or the like.

【0011】[0011]

【発明が解決しようとする問題】このように、従来技術
では復号法が固定されていたため、時間的に変動するエ
ラーの状態に適応できず、変化するエラー状態によって
は復号特性が悪くなる。このためディジタルVTR等で
は、画質が劣化する等の問題があった。本発明は、この
ような従来の課題を解決するためになされたもので、そ
の目的とするところは、エラー状態の時間的変動による
復号特性の劣化を防ぎ常に最良の復号特性を得ることの
可能な誤り訂正符号の復号装置を提供することにある。
As described above, since the decoding method is fixed in the prior art, it is not possible to adapt to the time-varying error state, and the decoding characteristic deteriorates depending on the changing error state. Therefore, the digital VTR or the like has a problem that the image quality is deteriorated. The present invention has been made to solve such a conventional problem, and an object of the present invention is to prevent deterioration of decoding characteristics due to temporal variation of error states and to always obtain the best decoding characteristics. Another object of the present invention is to provide a decoding device for correct error correction code.

【0012】[0012]

【課題を解決するための手段】上記した目的を達成する
ために、本発明は、ディジタル情報を多重符号化した符
号を第1の復号手段及び第2の復号手段の少なくとも2
段階にて復号する誤り訂正符号の復号装置において、前
記第1の復号手段が、この第1の復号手段にて付加され
る誤りに対する信頼度情報が少なくとも3段階で表現さ
れる場合に、前記第1の復号手段にて得られる誤り検出
情報から、前記第1の復号手段の信頼度情報の付加モー
ドを制御する制御手段を具備する。
In order to achieve the above-mentioned object, the present invention provides a code obtained by multiple-coding digital information by at least two of a first decoding means and a second decoding means.
In the error correction code decoding device for decoding in steps, the first decoding means is configured to detect the reliability information for an error added by the first decoding means in at least three steps. A control means for controlling the addition mode of the reliability information of the first decoding means based on the error detection information obtained by the first decoding means.

【0013】又は、本発明は、ディジタル情報をC2
(n2 ,k2 )符号とC1(n1 ,k1 )符号(n1
2 は符号長、k1 ,k2 は情報符号長)という2段階
によって符号化した積符号をC1復号手段とC2復号手
段によって復号する誤り訂正符号の復号装置において、
前記C1復号手段が、C1復号時に付加されるC1フラ
グが少なくとも2ビットである場合に、前記C1復号手
段から得られる各符号語の誤り検出結果を計数する計数
手段と、この計数手段から出力される計数値に基づい
て、C1フラグの付加モードを制御する制御手段とを具
備する。
Alternatively, the present invention converts digital information into C2.
(N 2 , k 2 ) code and C1 (n 1 , k 1 ) code (n 1 ,
In the decoding device of the error correction code, the product code encoded in two stages of (n 2 is the code length, k 1 and k 2 are the information code length) is decoded by the C1 decoding means and the C2 decoding means,
The C1 decoding means counts the error detection result of each codeword obtained from the C1 decoding means when the C1 flag added at the time of C1 decoding is at least 2 bits, and the counting means outputs the result. Control means for controlling the addition mode of the C1 flag on the basis of the counted value.

【0014】[0014]

【作用】すなわち、本発明においては、ディジタル情報
を多重符号化した符号を第1の復号手段及び第2の復号
手段の少なくとも2段階にて復号する場合において、前
記第1の復号手段にて付加される誤りに対する信頼度情
報が少なくとも3段階で表現される場合に、前記第1の
復号手段にて得られる誤り検出情報から前記第1の復号
手段の信頼度情報の付加モードを制御する。
That is, according to the present invention, when the code obtained by multiple-coding digital information is decoded in at least two stages of the first decoding means and the second decoding means, the first decoding means adds it. When the reliability information for the error is expressed in at least three stages, the addition mode of the reliability information of the first decoding means is controlled from the error detection information obtained by the first decoding means.

【0015】又は、本発明は、ディジタル情報をC2
(n2 ,k2 )符号とC1(n1 ,k1 )符号(n1
2 は符号長、k1 ,k2 は情報符号長)という2段階
によって符号化した積符号をC1復号手段とC2復号手
段によって復号する場合において、C1復号時に付加さ
れるC1フラグが少なくとも2ビットである場合に、前
記C1復号手段から得られる各符号語の誤り検出結果を
計数し、得られた計数値に基づいてC1フラグの付加モ
ードを制御する。
Alternatively, the present invention converts the digital information into C2.
(N 2 , k 2 ) code and C1 (n 1 , k 1 ) code (n 1 ,
When a product code encoded in two stages of (n 2 is a code length and k 1 and k 2 are information code lengths) is decoded by the C1 decoding means and the C2 decoding means, the C1 flag added at the time of C1 decoding is at least 2 If it is a bit, the error detection result of each code word obtained from the C1 decoding means is counted, and the addition mode of the C1 flag is controlled based on the obtained count value.

【0016】[0016]

【実施例】以下、本発明の実施例を図面に基づいて説明
する。図1は、本発明の一実施例の構成を示したもので
ある。同図において、101は、内符号の受信語から誤
り個数を判定する誤り個数判定回路、102は、誤り個
数が判定された結果、幾つ以上の誤りでフラグを付加す
れば良いか判定するフラグ付加モード判定回路、103
は、フラグ付加モード判定回路102からの結果を受け
てフラグ付加回路104を制御するフラグ付加制御回
路、104は、誤りが訂正された符号語にフラグを付加
するフラグ付加回路、105は、誤りの位置と大きさを
計算する誤り位置・数値計算回路、106は、誤り位置
・数値計算からの結果を受けて誤り訂正実行回路107
を制御する誤り訂正制御回路、108は受信語を訂正す
るまでの時間を調節するための遅延を行なうバッファメ
モリ108である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention. In the figure, 101 is an error number determination circuit that determines the number of errors from the received word of the inner code, and 102 is a flag addition that determines how many errors should be added as a result of the error number determination. Mode determination circuit, 103
Is a flag addition control circuit that controls the flag addition circuit 104 in response to the result from the flag addition mode determination circuit 102, 104 is a flag addition circuit that adds a flag to the codeword whose error has been corrected, and 105 is an error flag. An error position / numerical calculation circuit 106 for calculating the position and size receives the result from the error position / numerical calculation, and an error correction execution circuit 107.
An error correction control circuit 108 for controlling a buffer memory 108 is a buffer memory 108 for delaying the time until the received word is corrected.

【0017】ここで、図2(a)の場合を例にとり、本
実施例の特徴であるフラグ付加モード判定について説明
する。いまC1の符号長n1 、情報シンボル数k1 、最
大誤り訂正可能数t1 とする。ただし、d1 =2t1
1とする。伝送路によって送られた符号は、まず第1の
C1復号器によって誤り個数が判定される。その時、C
1符号語毎に2ビットの誤り個数の判定結果が得られ
る。ここで誤り個数の判定結果の値は、最小ハミング距
離がd1 であることから、
Here, the flag addition mode determination, which is a feature of the present embodiment, will be described by taking the case of FIG. 2A as an example. Now, assume that the code length of C1 is n 1 , the number of information symbols is k 1 , and the maximum error-correctable number is t 1 . However, d 1 = 2t 1 +
Set to 1. The number of errors in the code sent through the transmission line is first determined by the first C1 decoder. At that time, C
A determination result of a 2-bit error number is obtained for each codeword. Here, the value of the determination result of the number of errors is that the minimum Hamming distance is d 1 ,

【0018】 0…C1符号語にシンボルエラー無しと判定された 1…C1符号語に1シンボルのエラーと判定された 2…C1符号語に2シンボルのエラーと判定された : t1 +1…C1符号語にt1 +1シンボル以上のエラーと判定された となる。このC1の誤り個数の判定結果は複数ビットで
表すことが出来る。
0 ... C1 code word is determined to have no symbol error 1 ... C1 code word is determined to be a 1-symbol error 2 ... C1 code word is determined to be a 2-symbol error: t 1 +1 ... C1 It is determined that the code word has an error of t 1 +1 symbols or more. The determination result of the error number of C1 can be represented by a plurality of bits.

【0019】この誤り個数の判定結果の値がi(i=0
〜t1 +1)のC1の符号語の個数、N(i) を積符号の
ブロック毎に求める。本実施例では、図1の誤り個数検
出回路より得られる誤り個数判定結果から、図5のフロ
ーチャートのステップS1乃至S6に従って、C1復号
器におけるフラグ(C2復号器における最大誤り訂正数
を決定する)の付加方法を決定する。C1復号器で付加
されるフラグは2ビットとする。
The value of the determination result of the number of errors is i (i = 0
.About.t 1 +1), the number of C1 code words, N (i), is obtained for each block of the product code. In the present embodiment, the flag in the C1 decoder is determined (the maximum number of error corrections in the C2 decoder is determined) from the error number determination result obtained by the error number detection circuit in FIG. 1 according to steps S1 to S6 of the flowchart in FIG. Determine the method of adding. The flag added by the C1 decoder is 2 bits.

【0020】ここで図5におけるζはある定数である。
但しフローチャートでは、復号の際に判定される1符号
語内のエラー個数(以下誤り判定個数)iの発生確率F
(i)で表現されている。即ちF(i) は、C1復号器でi
(i=0〜t1 +1)個誤りと判定される確率である。
但し、F(t1 +1)はt1 +1個誤り以上と判定され
る確率である。例えば積符号ブロック内のC1符号語数
にF(i) を掛けることによってN(i) を求めることがで
きる。よって、F(i) とN(i) は同様の扱いが可能であ
る。以下では、確率によって説明する。
Here, ζ in FIG. 5 is a constant.
However, in the flowchart, the occurrence probability F of the number of errors (hereinafter, the number of error determinations) i in one codeword determined at the time of decoding F
It is represented by (i). That is, F (i) is i in the C1 decoder.
(I = 0 to t 1 +1) is the probability of being judged as an error.
However, F (t 1 +1) is the probability that more than t 1 +1 errors are determined. For example, N (i) can be obtained by multiplying the number of C1 code words in the product code block by F (i). Therefore, F (i) and N (i) can be treated in the same way. Below, it demonstrates by probability.

【0021】さて、一般にC1復号器において、復号の
際に判定される1符号語内のエラー個数(以下誤り判定
個数)iの発生確率F(i) には、 F(i) =FM(i)+FJ(i) (i=0〜t1 ) …(1−1) という関係がある。ここで、FM(i)は復号する際にある
シンボルエラーの数を、異なる個数iに誤判定する確率
で、FJ(i)はi個のエラーと正判定する確率である。
Generally, in a C1 decoder, the occurrence probability F (i) of the number of errors (hereinafter referred to as the number of error determinations) i in one codeword determined at the time of decoding is F (i) = FM (i ) + relationship that FJ (i) (i = 0~t 1) ... (1-1). Here, FM (i) is the probability of erroneously determining the number of symbol errors at the time of decoding into different numbers i, and FJ (i) is the probability of correct determination of i errors.

【0022】C1復号器において、誤り検出個数に応じ
てフラグを付加する。しかし、フラグが2ビットである
ため、例えば信頼度のレベルは、表1のように3段階で
表現される。
In the C1 decoder, a flag is added according to the number of detected errors. However, since the flag has 2 bits, the reliability level is expressed in three levels as shown in Table 1.

【0023】[0023]

【表1】 [Table 1]

【0024】従って、何個誤り以上でフラグを付加する
か(以降、フラグ付加境界条件)は2つになる。そこ
で、フラグ付加境界条件の一つについては、t1 個誤り
以上で付加するものとする。以下では、残るフラグ付加
境界条件(誤りの少ない個数のフラグを付加する条件)
の決定について説明する。ここで、rpを決定するフラ
グ付加境界条件とおく。rp=0の場合、フラグ付加率
は100%となってしまうため無意味である。従ってr
pの範囲は、1≦rp≦t1 と考えて差し支えない。
Therefore, the number of errors to add a flag is two (hereinafter, flag addition boundary condition). Therefore, it is assumed that one of the flag addition boundary conditions is added with t 1 or more errors. Below, the remaining flag addition boundary conditions (conditions for adding a small number of flags with few errors)
The determination of will be described. Here, a flag addition boundary condition for determining rp is set. When rp = 0, it is meaningless because the flag addition rate becomes 100%. Therefore r
The range of p may be considered as 1 ≦ rp ≦ t 1 .

【0025】さて、(2−2)式のFM(i)には、 FM(0):d1シンボル以上エラー →0シンボルエラー(誤りなし) FM(1):(d1−1)シンボル以上エラー →1シンボルエラー FM(2):(d1−2)シンボル以上エラー →2シンボルエラー : FM(t1 ):(d1−t1 )シンボル以上エラー →tシンボルエラー がある。Now, in FM (i) of the equation (2-2), FM (0): error of d1 symbols or more → 0 symbol error (no error) FM (1): error of (d1-1) symbols or more → 1 symbol error FM (2) :( d1-2) or more symbols error → 2 symbol error: FM (t 1) there is a :( d1-t 1) or more symbols error → t symbol error.

【0026】一般的に、FM(i)で最も大きくなるのはF
M(t1 )で、FM(i)には、 FM(t1 >FM(t1 −1)>…>FM(2)>FM(1)>FM
(0) なる関係がある。
In general, the largest in FM (i) is F
At M (t 1 ), FM (i) has FM (t 1 > FM (t 1 −1)>...> FM (2)> FM (1)> FM
(0) There is a relationship.

【0027】[0027]

【数1】 [Equation 1]

【0028】[0028]

【数2】 [Equation 2]

【0029】[0029]

【数3】 [Equation 3]

【0030】さて、iシンボルエラーと判定され、かつ
復号後にシンボルが誤っている確率FE(i)は、誤判定す
る確率FM(i)が小さいほど小さい。よって、iが小さい
ほどFE(i)も小さい。復号後のシンボルの状態確率にお
いて見逃しにあたるPOeは、
The probability FE (i) that an i-symbol error is determined and the symbol is erroneous after decoding is smaller as the erroneous determination probability FM (i) is smaller. Therefore, the smaller i is, the smaller FE (i) is. Poe, which is missed in the state probability of the symbol after decoding, is

【0031】[0031]

【数4】 [Equation 4]

【0032】で計算される。この結果、見逃し確率POe
は符号長、最小ハミング距離、エラー状態にかかわら
ず、フラグ付加境界条件rpが小さいほど、必ず小さく
なる。即ち、見逃し(POe)のみを考えるならば、rp
は小さければ小さいほど良いことになる。
Is calculated by As a result, miss probability Poe
Becomes smaller as the flag addition boundary condition rp becomes smaller, regardless of the code length, the minimum Hamming distance, and the error state. That is, if only the missed point (POe) is considered, rp
The smaller is the better.

【0033】しかし、Level1のフラグ付加率P1
は次式によって表される。 P1 =F(rp)+F(rp+1)+…F(t1 −1) 即ち、rpが小さいほどフラグ付加率P1 が高くなって
しまう。なお、Level2のフラグ付加率P2 は
However, the flag addition rate P1 of Level1
Is represented by the following equation. P1 = F (rp) + F (rp + 1) + ... F (t 1 -1) In other words, the flag addition ratio P1 as rp is smaller becomes higher. The flag addition rate P2 of Level2 is

【0034】[0034]

【数5】 [Equation 5]

【0035】で表される。ここで、見逃し確率だけを低
くしたのであれば、rp=1とすれば最も低くなる。い
ま、P1 を出来るだけ低くしたいと考えると、
It is represented by Here, if only the missed probability is lowered, the lowest value is obtained by setting rp = 1. Now, if you want to make P1 as low as possible,

【0036】[0036]

【数6】 [Equation 6]

【0037】を満たすときは、1個以上のエラーでフラ
グを付加してもP1 はそれほど大きくないと考えて良
い。逆に、 F(1) +F(O)>> F(O) となれば、P1 は大きくなると考えられるため、1個以
上のエラーでフラグを付加しない方が良い。同様に考え
れば、
When the condition is satisfied, it can be considered that P1 is not so large even if a flag is added with one or more errors. On the other hand, if F (1) + F (O) >> F (O), P1 is considered to be large, so it is better not to add a flag with one or more errors. In the same way,

【0038】[0038]

【数7】 [Equation 7]

【0039】の時は、rp=xとして良い。以上から、
フラグ付加境界条件rpを決定するためのフローチャー
トは図5に示すようになる。ここでζはある定数で、
0.1〜0.2とするのが良いが、場合によっては他の
値でも良い。
At the time of, rp = x may be set. From the above,
A flowchart for determining the flag addition boundary condition rp is as shown in FIG. Where ζ is a constant,
0.1 to 0.2 is preferable, but other values may be used depending on the case.

【0040】図5のフローチャートによれば、rp=1
を初期値とし、フラグ付加率P1 が大きくならないよう
にrpを大きくしていくことにより、見逃し確率POeを
小さくすることができる。
According to the flowchart of FIG. 5, rp = 1
Is set as an initial value and rp is increased so that the flag addition rate P1 does not increase, so that the overlook probability Poe can be reduced.

【0041】次に、最小ハミング距離が偶数の場合につ
いて説明する。奇数の場合の同様に、最小ハミング距離
1 とおけば、最大誤り訂正可能数tは、 t=(d1 −2)/2 となる。従って、フラグ付加境界条件rpを決定するた
めの条件式は、d1 が奇数の場合と同じになる。従っ
て、rpは図5のフローチャートにより決定できる。
Next, the case where the minimum Hamming distance is an even number will be described. Similarly to the case of an odd number, if the minimum Hamming distance d 1 is set, the maximum error correctable number t is t = (d 1 −2) / 2. Therefore, the conditional expression for determining the flag addition boundary condition rp is the same as when d 1 is an odd number. Therefore, rp can be determined by the flowchart of FIG.

【0042】例として、最小ハミング距離が13の場合
について考える。従って、C1復号器において訂正でき
る誤りの最大可能数は6である。なお、符号長は110
とした。この場合のフラグ付加境界条件rpを決定する
手順を図6のフローチャートのステップS10乃至S1
8に示す。ここで、ζの値を0.2とする。
As an example, consider the case where the minimum Hamming distance is 13. Therefore, the maximum possible number of errors that can be corrected in the C1 decoder is 6. The code length is 110
And The procedure for determining the flag addition boundary condition rp in this case will be described with reference to steps S10 to S1 in the flowchart of FIG.
8 shows. Here, the value of ζ is 0.2.

【0043】[0043]

【表2】 [Table 2]

【0044】表2は、平均シンボル誤り率10-2につい
てC1符号で6誤り訂正まで行ったときの復号結果であ
る。表2の結果から、このエラーの場合に選択されるC
1復号器でのフラグ付加境界条件rpは、図6のフロー
チャートに従えば、以下の様にrp=3と決定される。
Table 2 shows the decoding result when the average symbol error rate of 10 -2 is corrected up to 6 errors with the C1 code. From the results of Table 2, C selected in the case of this error
According to the flowchart of FIG. 6, the flag addition boundary condition rp in one decoder is determined as rp = 3 as follows.

【0045】[0045]

【数8】 [Equation 8]

【0046】さて、ここでフラグ付加境界条件rpを変
化させた場合のC1符号の復号特性(復号後のシンボル
の状態確率)を表3に示す。なお、表3において、シン
ボルの状態確率P2c,P2e,P1c,P1e,POc,POe
は、
Table 3 shows the decoding characteristics (state probability of symbols after decoding) of the C1 code when the flag addition boundary condition rp is changed. In Table 3, symbol state probabilities P2c, P2e, P1c, P1e, POc, and Poe.
Is

【0047】 P2c:シンボルにレベル2のフラグが立ち、かつシンボ
ルが正しい確率 P2e:シンボルにレベル2のフラグが立ち、かつシンボ
ルが誤っている確率 P1c:シンボルにレベル1のフラグが立ち、かつシンボ
ルが正しい確率 P1e:シンボルにレベル1のフラグが立ち、かつシンボ
ルが誤っている確率 POc:シンボルにフラグが立たず、かつシンボルが正し
い確率 Poe:シンボルにフラグが立たず、かつシンボルが誤っ
ている確率 を表す。
P2c: Probability that the flag is set to level 2 and the symbol is correct P2e: Probability that the flag is set to level 2 and the symbol is incorrect P1c: Symbol that is set to the level 1 flag and symbol Is the correct probability P1e: The symbol is flagged at level 1 and the symbol is incorrect Poc: The symbol is not flagged and the symbol is correct Poe: The symbol is not flagged and the symbol is incorrect Represents the probability.

【0048】[0048]

【表3】 [Table 3]

【0049】表3より、rpが3の場合は、rpが4の
場合に比べて見逃し確率であるPOeが約1/105 とな
る。それに比べフラグ付加率P1 は、約4倍程度しか高
くならない。rpが1や2の場合は見逃し確率は低い
が、フラグ付加率は最も低いrp=5よりも約70〜1
56倍と高くなる。従ってフラグ付加境界条件rpが3
の場合(網掛け部)が他のrpに比べて、見逃し確率で
あるPOeをできるだけ低くし、かつフラグ付加率P1
(=P1c+P1e)が高くならないような復号特性(C1
復号後のシンボルの状態確率)であることが判る。
From Table 3, when rp is 3, POe, which is the miss probability, is about 1/10 5 as compared with when rp is 4. On the other hand, the flag addition rate P1 is only about 4 times higher. When rp is 1 or 2, the miss probability is low, but the flag addition rate is about 70 to 1 as compared with the lowest rp = 5.
56 times higher. Therefore, the flag addition boundary condition rp is 3
In case (shaded portion), the overlook probability POe is made as low as possible and the flag addition rate P1
Decoding characteristics (C1 that does not increase (= P1c + P1e))
It is understood that it is the state probability of the symbol after decoding).

【0050】このフラグ付加境界条件の最適化は、C1
復号器の誤り検出情報を用いて行うことができる。従っ
て、自動的にC1符号の復号法の最適化を行える。ま
た、短期的な最適化と長期的なN(i) を求め、最適化を
行い、その結果を比較することで、より良いC1符号の
復号法が決定できる。N(i) の数をそのまま用いるだけ
でなく、その比を用いることでrpを決定することも可
能である。
The optimization of this flag addition boundary condition is performed by C1
This can be done using the error detection information of the decoder. Therefore, the decoding method of the C1 code can be automatically optimized. Further, a better C1 code decoding method can be determined by obtaining short-term optimization and long-term N (i), performing optimization, and comparing the results. It is possible not only to use the number of N (i) as it is, but also to determine rp by using the ratio thereof.

【0051】上記したように、本実施例においては、デ
ィジタル情報を多重符号化した符号を復号するにあた
り、第1の復号手段によって得られる誤りの検出情報か
らエラー状態に好適な復号モードを判定する判定器から
送られる制御信号により復号モードが変化する第1の復
号手段において、エラー状態に対し好適な復号モードに
より復号することによって、常に最良の復号特性を得る
ことができる。
As described above, in the present embodiment, when decoding the code obtained by multi-coding the digital information, the decoding mode suitable for the error state is determined from the error detection information obtained by the first decoding means. In the first decoding means in which the decoding mode is changed by the control signal sent from the determiner, the best decoding characteristic can always be obtained by decoding in the decoding mode suitable for the error state.

【0052】[0052]

【発明の効果】以上説明したように本発明の誤り訂正符
号の復号装置によれば、復号するときに得られる誤り個
数の判定結果から、現在発生したエラー状態に好適な復
号法を構成することにより、エラー状態の時間的変動に
よる復号特性の劣化を防ぎ、常に最良の復号特性を得る
ことができる。
As described above, according to the error correction code decoding apparatus of the present invention, a decoding method suitable for the currently generated error state can be constructed based on the judgment result of the number of errors obtained at the time of decoding. As a result, it is possible to prevent the deterioration of the decoding characteristic due to the temporal variation of the error state and always obtain the best decoding characteristic.

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

【図1】本発明が適用された復号装置の一実施例の構成
を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a decoding device to which the present invention has been applied.

【図2】2重符号化された積符号の例を示す説明図であ
る。
FIG. 2 is an explanatory diagram showing an example of a double-coded product code.

【図3】誤り訂正符号の2重符号化及び復号化の説明図
である。
FIG. 3 is an explanatory diagram of double encoding and decoding of an error correction code.

【図4】エラー状態と復号特性の関係を示す特性図であ
る。
FIG. 4 is a characteristic diagram showing a relationship between an error state and a decoding characteristic.

【図5】本実施例の復号法の内、フラグ付加モードを選
択する動作を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of selecting a flag addition mode in the decoding method of this embodiment.

【図6】本実施例の復号法を選択する動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing an operation of selecting a decoding method according to this embodiment.

【符号の説明】[Explanation of symbols]

101…誤り個数検出回路、102…フラグ付加モード
判定回路、103…フラグ付加制御回路、104…フラ
グ付加回路、105…誤り位置・誤り数値計算回路、1
06…誤り訂正制御回路、107…誤り訂正実行回路、
108…バッファメモリ。
101 ... Error number detection circuit, 102 ... Flag addition mode determination circuit, 103 ... Flag addition control circuit, 104 ... Flag addition circuit, 105 ... Error position / error numerical value calculation circuit, 1
06 ... error correction control circuit, 107 ... error correction execution circuit,
108 ... Buffer memory.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル情報を多重符号化した符号を
第1の復号手段及び第2の復号手段の少なくとも2段階
にて復号する誤り訂正符号の復号装置において、前記第
1の復号手段が、 この第1の復号手段によって付加される誤りに対する信
頼度情報が少なくとも3段階で表現される場合に、前記
第1の復号手段にて得られる誤り検出情報から、前記第
1の復号手段の信頼度情報の付加モードを制御する制御
手段を具備することを特徴とする誤り訂正符号の復号装
置。
1. An error correction code decoding apparatus for decoding a code obtained by multiple-coding digital information in at least two stages of a first decoding means and a second decoding means, wherein the first decoding means comprises: When the reliability information for the error added by the first decoding means is expressed in at least three stages, the reliability information of the first decoding means is calculated from the error detection information obtained by the first decoding means. An error correction code decoding device, comprising: a control means for controlling the additional mode of the above.
【請求項2】 ディジタル情報をC2(n2 ,k2 )符
号とC1(n1 ,k1 )符号(n1 ,n2 は符号長、k
1 ,k2 は情報符号長)という2段階によって符号化し
た積符号をC1復号手段とC2復号手段によって復号す
る誤り訂正符号の復号装置において、前記C1復号手段
が、 C1復号時に付加されるC1フラグが少なくとも2ビッ
トである場合に、前記C1復号手段から得られる各符号
語の誤り検出結果を計数する計数手段と、 この計数手段から出力される計数値に基づいて、C1フ
ラグの付加モードを制御する制御手段と、を具備するこ
とを特徴とする誤り訂正符号の復号装置。
2. Digital information is represented by a C2 (n 2 , k 2 ) code and a C1 (n 1 , k 1 ) code (n 1 , n 2 are code lengths, k
(1 and k 2 are information code lengths) In a decoding device of an error correction code which decodes a product code encoded by two steps of C1 decoding means and C2 decoding means, the C1 decoding means adds C1 decoding means. When the flag has at least 2 bits, the counting means for counting the error detection result of each code word obtained from the C1 decoding means, and the addition mode of the C1 flag are set based on the count value output from this counting means. An error correction code decoding device comprising: a control unit that controls the error correction code.
JP34964493A 1993-12-29 1993-12-29 Error correction code decoding device Expired - Fee Related JP3277062B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34964493A JP3277062B2 (en) 1993-12-29 1993-12-29 Error correction code decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34964493A JP3277062B2 (en) 1993-12-29 1993-12-29 Error correction code decoding device

Publications (2)

Publication Number Publication Date
JPH07202719A true JPH07202719A (en) 1995-08-04
JP3277062B2 JP3277062B2 (en) 2002-04-22

Family

ID=18405134

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34964493A Expired - Fee Related JP3277062B2 (en) 1993-12-29 1993-12-29 Error correction code decoding device

Country Status (1)

Country Link
JP (1) JP3277062B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6415411B1 (en) 1998-12-28 2002-07-02 Nec Corporation Error correcting decoder
WO2002103956A1 (en) * 2001-06-15 2002-12-27 Mitsubishi Denki Kabushiki Kaisha Error-correction multiplexing apparatus, error-correction demultiplexing apparatus, optical transmission system using them, and error-correction multiplexing transmission method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6415411B1 (en) 1998-12-28 2002-07-02 Nec Corporation Error correcting decoder
WO2002103956A1 (en) * 2001-06-15 2002-12-27 Mitsubishi Denki Kabushiki Kaisha Error-correction multiplexing apparatus, error-correction demultiplexing apparatus, optical transmission system using them, and error-correction multiplexing transmission method
US7440475B2 (en) 2001-06-15 2008-10-21 Mitsubishi Denki Kabushiki Kaisha Error-correction multiplexing apparatus, error-correction demultiplexing apparatus, optical transmission system using them, and error-correction multiplexing transmission method

Also Published As

Publication number Publication date
JP3277062B2 (en) 2002-04-22

Similar Documents

Publication Publication Date Title
US5684810A (en) Error correcting decoder and error correction decoding method
US8074151B1 (en) Correcting errors in disk drive read back signals by iterating with the reed-solomon decoder
JPH084233B2 (en) Error correction code decoding device
US20060085726A1 (en) Apparatus and method for decoding Reed-Solomon code
JPH0310422A (en) Error detection and correction circuit
US6415411B1 (en) Error correcting decoder
US5684811A (en) Method and apparatus for decoding convolutionally encoded information
KR100734307B1 (en) Post-viterbi error correction method and apparatus for the same
JP2715398B2 (en) Error correction codec
JP3277062B2 (en) Error correction code decoding device
JPH07202851A (en) Radio communication system
JPH0634313B2 (en) Error correction method
JP3014261B2 (en) Interleave method in communication
JP3271208B2 (en) Error correction decoding device
JP2606647B2 (en) Error correction method
US5357526A (en) Method and apparatus for correcting errors of compressed data
US7818632B2 (en) Code-word list algorithm
JP6552776B1 (en) Error correction decoding apparatus and error correction decoding method
KR0166755B1 (en) Device and method for generating control signal to correct errors of digital recording/reproducing system
JPS6160618B2 (en)
KR19990066105A (en) Error Correction Method of 2D Reed-Solomon Code
JPH05235906A (en) Decoder fro multi-dimension code and error correction/ detection system using decoder
JPH1022839A (en) Soft discrimination error-correction decoding method
JP3256006B2 (en) Error correction code decoding method and error correction code decoding device
JPH05347564A (en) Error correction coding/decoding method and device and error correction decoding device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees