JP2636432B2 - Error correction method - Google Patents

Error correction method

Info

Publication number
JP2636432B2
JP2636432B2 JP1226294A JP22629489A JP2636432B2 JP 2636432 B2 JP2636432 B2 JP 2636432B2 JP 1226294 A JP1226294 A JP 1226294A JP 22629489 A JP22629489 A JP 22629489A JP 2636432 B2 JP2636432 B2 JP 2636432B2
Authority
JP
Japan
Prior art keywords
error
bits
error correction
received
pattern
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
JP1226294A
Other languages
Japanese (ja)
Other versions
JPH0389630A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1226294A priority Critical patent/JP2636432B2/en
Publication of JPH0389630A publication Critical patent/JPH0389630A/en
Application granted granted Critical
Publication of JP2636432B2 publication Critical patent/JP2636432B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタ移動無線や動画像圧縮伝送等に使
用する誤り訂正方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction method used in digital mobile radio, moving image compression transmission, and the like.

従来の技術 一般に、kビットの情報ビットにmビットの検査ビッ
トを付加した符号長n(=k+m)の誤り訂正符号の符
号語間のハミング距離の最小値をその誤り訂正符号の最
小距離といい、この最小距離が2t+1(tは正の整数)
の場合に、tビット以下の誤りを正しく訂正することが
できる。
2. Description of the Related Art In general, the minimum value of the Hamming distance between codewords of an error correction code having a code length n (= k + m) obtained by adding m check bits to k information bits is referred to as a minimum distance of the error correction code. , This minimum distance is 2t + 1 (t is a positive integer)
In this case, an error of t bits or less can be correctly corrected.

ここで、符号語は合計2k種類存在するが、各符号語を
中心とした半径tの球がn次元空間を隙間なく満たして
いる場合、すなわち が成立する場合、この誤り訂正符号を完全符号といい、 が成立する場合、この誤り訂正符号を非完全符号とい
う。
Here, there are a total of 2 k types of codewords, but when a sphere of radius t centered on each codeword fills the n-dimensional space without any gap, Holds, this error correction code is called a complete code, Holds, this error correction code is called an incomplete code.

非完全符号の場合、ある送信語にt+1ビット以上の
誤りが発生しても、受信語が別の送信語から必ずしもハ
ミング距離t以内になるとは限らない。すなわち、非完
全符号は、tビット以下の誤りを正しくできるだではな
く、t+1ビット以上の誤りに対しても、誤訂正するこ
となく、すなわち正しくない訂正をすることなく、t+
1ビット以上の誤りがあるということを検出できる場合
がある。
In the case of a non-perfect code, even if an error of t + 1 bits or more occurs in a certain transmission word, the reception word does not always fall within the Hamming distance t from another transmission word. That is, the non-perfect code can not only correct an error of t bits or less, but also correct an error of t + 1 bits or more without erroneous correction, that is, without performing incorrect correction.
In some cases, it can be detected that there is an error of one or more bits.

第3図は、従来のt重誤り訂正非完全符号の誤り訂正
方法を示すフローチャートである。
FIG. 3 is a flowchart showing a conventional error correction method for a t-double error correction incomplete code.

第3図において、受信された伝送信号は、受信ビット
が「0」か「1」を判定する閾値により2値信号に再生
された後、ステップ23において、t重以下の誤りが正し
く訂正され、続くステップ24ではt+1重以上の誤りが
検出される。
In FIG. 3, the received transmission signal is reproduced into a binary signal by a threshold value for determining whether the received bit is “0” or “1”. In the following step 24, an error of t + 1 times or more is detected.

ここで、t重以上の誤りが発生し、受信語がある別の
送信語からハミング距離t以内になる場合には、ステッ
プ23において誤訂正されているので、ステップ24では誤
りが検出されず、処理を終了する(ステップ26)。
Here, if an error of t times or more occurs and the received word is within a Hamming distance t from another transmitted word, the error has been erroneously corrected in step 23, and no error is detected in step 24. The process ends (step 26).

他方、受信語がある別の送信語からハミング距離t以
内にならない場合には、ステップ24において、t+1重
以上の誤りが発生したことを検出することができ、続く
ステップ25において、その受信語が誤りを含むことを示
すフラグをセットし、誤りを終了する(ステップ26)。
On the other hand, if the received word does not fall within the Hamming distance t from another transmitted word, it can be detected in step 24 that an error of t + 1 times or more has occurred. A flag indicating that an error is included is set, and the error is terminated (step 26).

したがって、上記従来例では、tビット以下の誤りを
正しく訂正することができるとともに、t+1ビット以
上の誤りが発生した場合には、別の送信語からハミング
距離t以内にならないときに、t+1ビット以上の誤り
が発生したことを検出することができる。
Therefore, in the above-mentioned conventional example, an error of t bits or less can be correctly corrected, and when an error of t + 1 bits or more occurs, when the error does not fall within the Hamming distance t from another transmission word, t + 1 bits or more Can be detected.

発明が解決しようとする課題 しかしながら、上記従来の誤り訂正方法では、最大誤
り訂正ビット数tを越えるt+1ビット以上の誤りが発
生した場合には、その発生を検出することができるが、
その誤りを訂正することができないという問題点があ
る。
SUMMARY OF THE INVENTION However, in the above-described conventional error correction method, when an error of t + 1 bits or more that exceeds the maximum number of error correction bits t occurs, the occurrence can be detected.
There is a problem that the error cannot be corrected.

本発明は上記従来の問題点に鑑み、最大誤り訂正ビッ
ト数tを越えるt+1ビット以上の誤りが発生した場
合、受信語が正しい送信語でない別の送信語からハミン
グ距離t以内にならないときにも、誤りを正しく訂正す
ることができる誤り訂正方法を提供することを目的とす
る。
The present invention has been made in view of the above-described conventional problems, and when an error of t + 1 bits or more that exceeds the maximum error correction bit number t occurs, even when a received word is not within a Hamming distance t from another transmitted word that is not a correct transmitted word. It is another object of the present invention to provide an error correction method capable of correctly correcting an error.

課題を解決するための手段 本発明は上記目的を達成するために、符号長がnビッ
ト、最大誤り訂正ビット数がtビットの非完全誤り訂正
符号化されたビット列を受信し、受信語から生成された
シンドロームによりtビット以下の誤りを訂正し、前記
誤り訂正においてt+1ビット以上の誤りを検出した場
合に、i=1を初期値としてt+i(i=1,2,・・・
I)ビットの誤りパターンを受信語に付加して全てのパ
ターンについてシンドロームが「0」になるか否かを判
定し、誤りパターンが1つの場合にその受信語の誤りパ
ターンをt+iビット誤り訂正するようにしたものであ
る。
Means for Solving the Problems In order to achieve the above object, the present invention receives an incomplete error correction coded bit sequence having a code length of n bits and a maximum number of error correction bits of t bits, and generates the bit sequence from a received word. The error of t bits or less is corrected by the generated syndrome, and when an error of t + 1 bits or more is detected in the error correction, t + 1 (i = 1, 2,...) Is set with i = 1 as an initial value.
I) A bit error pattern is added to a received word to determine whether or not the syndrome is “0” for all patterns. If there is only one error pattern, the error pattern of the received word is corrected by t + i bits. It is like that.

本発明はまた、符号長がnビット、最大誤り訂正ビッ
ト数がtビットの非完全誤り訂正符号化されたビット列
を受信し、受信ビットに所定以上の雑音がある場合にそ
のビットにフラグをセットし、受信語から生成されたシ
ンドロームによりtビット以下の誤りを訂正し、この誤
り訂正においてt+1ビット以上の誤りを検出した場合
に、t+1ビットの誤りパターンを受信語に付加してシ
ンドロームが「0」になるか否かを判定し、誤りパター
ンが1つの場合にその受信語の誤りパターンをt+1ビ
ット誤り訂正し、シンドロームが「0」になる誤りパタ
ーンが2以上の場合に、フラグがセットされたビット数
が最も多い受信語の誤りパターンをt+1ビット誤り訂
正するようにしたものである。
The present invention also receives an incomplete error correction coded bit string having a code length of n bits and a maximum number of error correction bits of t bits, and sets a flag to the received bit if the bit has more than a predetermined noise. Then, an error of t bits or less is corrected by a syndrome generated from the received word, and when an error of t + 1 bits or more is detected in this error correction, an error pattern of t + 1 bits is added to the received word and the syndrome becomes "0". Is determined, and if the number of error patterns is one, the error pattern of the received word is corrected by t + 1 bits. The error pattern of the received word having the largest number of bits is t + 1-bit error-corrected.

作用 本発明は上記構成により、最大誤り訂正ビット数tを
越えるt+1ビット以上の誤りが発生した場合、誤りパ
ターンを付加するので、受信語が正しい送信語でない別
の送信語からハミング距離t以内にならないときにも、
誤りを正しく訂正することができる。
According to the present invention, an error pattern is added when an error of t + 1 bits or more exceeding the maximum error correction bit number t occurs, so that a received word is within a Hamming distance t from another transmitted word that is not a correct transmitted word. Even when it does not become
Errors can be corrected correctly.

実施例 以下、図面を参照して本発明の実施例を説明する。第
1図は、本発明に係る誤り訂正方法の一実施例を示すフ
ローチャートである。
Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a flowchart showing one embodiment of the error correction method according to the present invention.

第1図に示すステップ1において受信された伝送信号
は、先ずステップ2において、受信ビットが「0」か
「1」を判定する閾値により2値信号に再生され、続く
ステップ3において、t重以下の誤りが正しく訂正さ
れ、次いでステップ4においてt+1重以上の誤りがあ
るか否かが検出される。
The transmission signal received in step 1 shown in FIG. 1 is first reproduced in step 2 into a binary signal by a threshold value for determining whether the received bit is “0” or “1”. Is correctly corrected, and it is then detected in step 4 whether or not there is an error of t + 1 or more.

ここで、t重以上の誤りが発生し、受信語がある別の
送信語からハミング距離t以内なる場合には、ステップ
3において誤訂正されているので、ステップ4では誤り
があることが検出されず、処理を終了する(ステップ1
1)。
Here, if an error of t times or more occurs and the received word is within a Hamming distance t from another transmitted word, the error has been erroneously corrected in step 3 and the error is detected in step 4. And end the process (step 1
1).

他方、受信語がある別の送信語からハミング距離t以
内にならない場合には、ステップ5に進んでi(iは正
の整数)を初期設定し(i=1)、続くステップ6にお
いて、t+iビットの誤りパターンを受信語に付加し、
シンドロームが「0」になる誤りパターンの数Nを求め
る。
On the other hand, if the received word does not fall within the Hamming distance t from another transmitted word, the process proceeds to step 5 where i (i is a positive integer) is initialized (i = 1). Add a bit error pattern to the received word,
The number N of error patterns in which the syndrome becomes “0” is obtained.

次いで、ステップ7において、N≧2の場合には、ど
の誤りパターンが、受信語に発生したt+iビットの誤
りパターンであるかを決定することができないので、処
理を終了し(ステップ11)、N=1の場合にはステップ
8に進み、そのパターンを誤りパターンと判定し、t+
i重の誤り訂正を行う。他方、N=0である場合には、
誤りがt+iビットでないのでステップ9に分岐する。
Next, in step 7, if N ≧ 2, it is not possible to determine which error pattern is the t + i-bit error pattern generated in the received word, so the process ends (step 11). If = 1, the process proceeds to step 8, the pattern is determined as an error pattern, and t +
Perform i-level error correction. On the other hand, when N = 0,
Since the error is not t + i bits, the process branches to step 9.

ステップ9では、符号語の重み分布や、訂正処理で許
容可能な時間等により予め設定された正の整数Iとiが
等しいか否かを判定し、i=Iでない場合にはステップ
10に進んでiを1つインクリメントし、ステップ6に戻
って上記動作を繰り返す。ステップ9において、i=I
の場合には処理を終了する(ステップ11)。
In step 9, it is determined whether or not a predetermined positive integer I is equal to i based on the weight distribution of the code word, the time allowable in the correction processing, and the like.
Proceeding to 10, increment i by one, return to step 6, and repeat the above operation. In step 9, i = I
If so, the process ends (step 11).

したがって、上記実施例によれば、t+iビットの誤
りパターンを受信語に付加するので、t重誤り訂正符号
であるにもかかわらず、t+1以上の誤りが訂正可能に
なり、誤り訂正能力を向上することができる。
Therefore, according to the above embodiment, an error pattern of t + i bits is added to a received word, so that an error of t + 1 or more can be corrected in spite of a t-multiple error correction code, and the error correction capability is improved. be able to.

第2図は、本発明の第2の実施例を示す。 FIG. 2 shows a second embodiment of the present invention.

ステップ12において伝送信号を受信すると、先ずステ
ップ13において、受信ビットに規定以上の雑音があるか
否かを判定し、雑音がある場合にそのビットにフラグを
セットする。尚。この判定は、受信ビットが「0」か
「1」を判定する閾値に近いかどうかにより行う。
When a transmission signal is received in step 12, first, in step 13, it is determined whether or not the received bit has more noise than a specified value. still. This determination is made based on whether or not the received bit is close to a threshold for determining “0” or “1”.

ステップ15では、上記閾値により2値信号に再生さ
れ、続くステップ16において、t重以下の誤りが正しく
訂正され、次いでステップ17においてt+1重以上の誤
りがあるか否かが検出される。
In step 15, a binary signal is reproduced by the threshold value. In step 16, errors of t or less are correctly corrected. Then, in step 17, it is detected whether there is an error of t + 1 or more.

t+1重以上の誤りを検出した場合にはステップ18に
進み、t+1ビットの誤りパターンを受信語に付加し、
シンドロームが「0」になる誤りパターンの数Nを求め
る。
When an error of t + 1 times or more is detected, the process proceeds to step 18, where an error pattern of t + 1 bits is added to the received word,
The number N of error patterns in which the syndrome becomes “0” is obtained.

N≧2の場合には、ステップ21に進んで、フラグがセ
ットされたビット数をそれぞれ、t+1ビットの誤りパ
ターンについて計数し、フラグがセットされたビット数
が最も多いパターンを誤りパターンと判定し、t+1重
誤り訂正する。
If N ≧ 2, the process proceeds to step 21 where the number of bits with the flag set is counted for each t + 1 bit error pattern, and the pattern with the largest number of bits with the flag set is determined to be an error pattern. , T + 1 double error correction.

尚、N=1の場合にはステップ20に進んでそのパター
ンを誤りパターンと判定してt+1重誤り訂正を行い、
N=0の場合には、処理を終了する(ステップ22)。
If N = 1, the process proceeds to step 20, the pattern is determined to be an error pattern, and t + 1 double error correction is performed.
If N = 0, the process ends (step 22).

したがって、上記実施例では、規定以上の雑音がある
受信ビットに予めフラグをセットし、t+1ビットの誤
りパターンを受信語に付加するので、t重誤り訂正符号
であるにもかかわらず、t+1以上の誤りが訂正可能に
なり、誤り訂正能力を向上することができる。
Therefore, in the above-described embodiment, a flag is set in advance to a reception bit having noise equal to or greater than a prescribed value, and an error pattern of t + 1 bits is added to the reception word. The error can be corrected, and the error correction capability can be improved.

発明の効果 以上説明したように、本発明は、最大誤り訂正ビット
数tを越えるt+1ビット以上の誤りが発生した場合、
誤りパターンを付加するので、受信語が正しい送信語で
ない別の送信語からハミング距離t以内にならないとき
にも、誤りを正しく訂正することができる。
As described above, according to the present invention, when an error of t + 1 bits or more that exceeds the maximum number of error correction bits t occurs,
Since the error pattern is added, even when the received word does not fall within the Hamming distance t from another transmitted word that is not a correct transmitted word, the error can be correctly corrected.

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

第1図は、本発明に係る誤り訂正方法の一実施例を示す
フローチャート、第2図は、本発明に係る誤り訂正方法
の第2の実施例を示すフローチャート、第3図は、従来
の誤り訂正方法を示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of the error correction method according to the present invention, FIG. 2 is a flowchart showing a second embodiment of the error correction method according to the present invention, and FIG. 9 is a flowchart illustrating a correction method.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】符号長がnビット、最大誤り訂正ビット数
がtビットの非完全誤り訂正符号化されたビット列を受
信し、受信語から生成されたシンドロームにより、tビ
ット以下の誤りを訂正し、前記誤り訂正においてt+1
ビット以上の誤りを検出した場合に、i=1を初期値と
してt+i(i=1、2、・・・I;Iは正の整数)ビッ
トの誤りパターンを受信語に付加したパターンに対する
シンドロームが「0」になるか否かを判定し、シンドロ
ームが「0」になるのが全てのt+iビットパターンの
うちで1つだけ存在する場合には、その付加したt+i
ビットパターンを実際に発生した誤りパターンとみなし
てt+iビット誤り訂正することを特徴とする誤り訂正
方法。
An incomplete error correction coded bit string having a code length of n bits and a maximum error correction bit number of t bits is received, and an error of t bits or less is corrected by a syndrome generated from a received word. , T + 1 in the error correction
When an error of more than bits is detected, a syndrome for a pattern in which an error pattern of t + i (i = 1, 2,... I; I is a positive integer) bits is added to a received word with i = 1 as an initial value is obtained. It is determined whether the syndrome becomes “0”. If only one of all t + i bit patterns exists in the syndrome, the added t + i
An error correction method characterized in that a bit pattern is regarded as an actually generated error pattern and t + i-bit error correction is performed.
【請求項2】符号長がnビット、最大誤り訂正ビット数
がtビットの非完全誤り訂正符号化されたビット列を受
信し、受信ビットに所定以上の雑音がある場合にそのビ
ットにフラグをセットし、受信語から生成されたシンド
ロームにより、tビット以下の誤りを訂正し、前記誤り
訂正においてt+1ビット以上の誤りを検出した場合
に、t+1ビットの誤りパターンを受信語に付加してシ
ンドロームが「0」になるか否かを判定し、シンドロー
ムが「0」になる誤りパターンが1つの場合に、その受
信語の誤りパターンをt+1ビット誤り訂正し、シンド
ロームが「0」になる誤りパターンが2以上の場合に、
フラグがセットされたビット数が最も多い受信語の誤り
パターンをt+1ビット誤り訂正することを特徴とする
誤り訂正方法。
2. A non-perfect error correction coded bit string having a code length of n bits and a maximum number of error correction bits of t bits is received, and if the received bits have more than a predetermined level of noise, a flag is set in the bits. Then, an error of t bits or less is corrected by a syndrome generated from the received word, and when an error of t + 1 bits or more is detected in the error correction, an error pattern of t + 1 bits is added to the received word to make the syndrome " 0 is determined, and if there is one error pattern in which the syndrome is “0”, the error pattern of the received word is corrected by t + 1 bits, and the error pattern in which the syndrome is “0” is 2 In these cases,
An error correction method comprising: correcting an error pattern of a received word having the largest number of bits with a flag set by t + 1 bits.
【請求項3】受信ビットが「0」か「1」を判定する閾
値に近いかどうかにより、受信ビットに所定以上の雑音
があるか否かを判定することを特徴とする請求項(2)
記載の誤り訂正方法。
3. The method according to claim 2, wherein whether the received bit has noise equal to or greater than a predetermined value is determined based on whether the received bit is close to a threshold value for determining whether the received bit is “0” or “1”.
Error correction method described.
JP1226294A 1989-08-31 1989-08-31 Error correction method Expired - Lifetime JP2636432B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1226294A JP2636432B2 (en) 1989-08-31 1989-08-31 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1226294A JP2636432B2 (en) 1989-08-31 1989-08-31 Error correction method

Publications (2)

Publication Number Publication Date
JPH0389630A JPH0389630A (en) 1991-04-15
JP2636432B2 true JP2636432B2 (en) 1997-07-30

Family

ID=16842955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1226294A Expired - Lifetime JP2636432B2 (en) 1989-08-31 1989-08-31 Error correction method

Country Status (1)

Country Link
JP (1) JP2636432B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10510689A (en) * 1994-12-12 1998-10-13 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Digital transmission system that encodes and decodes characteristic data into error check symbols of main data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6052737U (en) * 1983-09-20 1985-04-13 株式会社ケンウッド BCH single error correction/double error detection code decoding circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会春季全国大会講演論文集(1989年)、加藤修「RS符号の誤りシンボル数判定方法」分冊1,第165頁

Also Published As

Publication number Publication date
JPH0389630A (en) 1991-04-15

Similar Documents

Publication Publication Date Title
US4271520A (en) Synchronizing technique for an error correcting digital transmission system
US4569050A (en) Data communication system with fixed weight error correction and detection code
JPH05244020A (en) Decoder capability reinforcing method for decoding interleaving-type error correction code
US20040054651A1 (en) Apparatus for encoding and decoding
CN111628780A (en) Data encoding method, data decoding method and data processing system
CN114556791A (en) Iterative bit flipping decoding based on symbol reliability
WO2008045292A2 (en) Error correction decoding methods and apparatus
KR20060029495A (en) Apparatus and method for decoding of reed-solomon symbols
US8910009B1 (en) Method and apparatus for enhancing error detection in data transmission
US6138263A (en) Error correcting method and apparatus for information data having error correcting product code block
EP0477377A1 (en) Error detecting system
JPH0799503B2 (en) Error correction method for encoded data
JP2636432B2 (en) Error correction method
US5809042A (en) Interleave type error correction method and apparatus
JPH058610B2 (en)
CN112769436A (en) Encoder, decoder, encoding method, and decoding method
CN110233629B (en) Improved Hamming code error correction method
JP3269035B2 (en) Decryption device
JP2606647B2 (en) Error correction method
US20100083074A1 (en) Block Code Decoding Method And Device Thereof
JPH0691471B2 (en) Error correction circuit
JPH1022839A (en) Soft discrimination error-correction decoding method
JP3338320B2 (en) Burst error correction method and apparatus
JP6552776B1 (en) Error correction decoding apparatus and error correction decoding method
JPH05235906A (en) Decoder fro multi-dimension code and error correction/ detection system using decoder