JPH0389630A - Error correcting method - Google Patents

Error correcting method

Info

Publication number
JPH0389630A
JPH0389630A JP22629489A JP22629489A JPH0389630A JP H0389630 A JPH0389630 A JP H0389630A JP 22629489 A JP22629489 A JP 22629489A JP 22629489 A JP22629489 A JP 22629489A JP H0389630 A JPH0389630 A JP H0389630A
Authority
JP
Japan
Prior art keywords
error
bits
error correction
word
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.)
Granted
Application number
JP22629489A
Other languages
Japanese (ja)
Other versions
JP2636432B2 (en
Inventor
Osamu 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.)
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

Abstract

PURPOSE:To correct an error even when a reception word is not in a Hamming distance (t) seen from a transmission word other than a correct transmission word by adding an error pattern at the time of the occurrence of the error of (t+1) number of or more bits larger than a maximum error correction bit number (t). CONSTITUTION:Reception bits are reproduced to a binary signal by a threshold for '0' or '1' discrimination, and tfold or less error is correctly corrected, and it is detected whether t+1 fold or more error exists or not. When the reception word is not in the Hamming distance (t) seen from another transmission word, an (t+1) bit error pattern is added to the reception word, and the number of error patterns N for syndrome '0' is obtained; and when N is one, the pattern is discriminated as the error pattern and t+1 fold error correction is performed. Since the t+1 bit error pattern is added to the reception word, t+1 fold or more error can be corrected regardless of a t fold error correction code, and the error correcting capability is improved.

Description

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

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

ここで、符号語は合計2に種類存在するが、各符号語を
中心とした半径tの球がn次元空間を隙間なく満たして
いる場合、すなわち が成立する場合、この誤り訂正符号を完全符号といい、 2k X  X: nC,<2n 1”0 が成立する場合、この誤り訂正符号を非完全符号という
Here, there are two types of code words in total, but if a sphere of radius t centered on each code word fills the n-dimensional space without any gaps, that is, if the following holds true, then this error correction code can be converted into a complete code. If 2k X

非完全符号の場合、ある送信語にt+1ビット以上の誤
りが発生しても、受信語が別の送信語から必ずしもハミ
ング距It以内になるとは限らない。すなわち、非完全
符号は、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 one transmitted word, the received word will not necessarily be within the Hamming distance It from another transmitted word. In other words, a 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 making an error correction, that is, without making an incorrect correction.
It may be possible to detect 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-fold error correction non-perfect code.

第3図において、受信された伝送信号は、受信ビットが
rOJか「1」を判定する閾値により2値信号に再生さ
れた後、ステップ23において、を重以下の誤りが正し
く訂正され、続くステップ24ではt+1重以上の誤り
が検出される。
In FIG. 3, the received transmission signal is regenerated into a binary signal by a threshold value that determines whether the received bit is rOJ or "1", and then in step 23, errors of less than 100% are correctly corrected, and the following step In No. 24, t+1 or more errors are detected.

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

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

したがって、上記従来例では、tビット以下の誤りを正
しく訂正することができるとともに、t+1ビット以上
の誤りが発生した場合には、別の送信語からハミング距
離を以内にならないときに、t+lビット以上の誤りが
発生したことを検出することができる。
Therefore, in the conventional example described above, errors of t bits or less can be correctly corrected, and if an error of t+1 bits or more occurs, it is possible to correctly correct errors of t+1 bits or more when the error is not within the Hamming distance from another transmitted word. It is possible to detect that an error has occurred.

発明が解決しようとする課題 しかしながら、上記従来の誤り訂正方法では、最大誤り
訂正ビット数tを越えるt+1ビット以上の誤りが発生
した場合には、その発生を検出することができるが、そ
の誤りを訂正することができないという問題点がある。
Problem to be Solved by the Invention However, in the conventional error correction method described above, when an error of t+1 bits or more exceeding the maximum number of error correction bits t occurs, it is possible to detect the occurrence, but it is not possible to detect the error. The problem is that it cannot be corrected.

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

課題を解決するための手段 本発明は上記目的を達成するために、符号長がnビット
、最大誤り訂正ビット数がtビットの非完全誤り訂正符
号化されたビット列を受信し、受信語から生成されたシ
ンドロームによりtビット以下の誤りを訂正し、この誤
り訂正においてt+1ビット以上の誤りを検出した場合
に、t+i(lは正の整数)ビットの誤りパターンを受
信語に付加して全てのパターンについてシンドロームが
「O」になるか否かを判定し、誤りパターンが1つの場
合にその受信語の誤りパターンをt+iビット誤り訂正
するようにしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention receives a non-perfect error correction encoded bit string with a code length of n bits and a maximum number of error correction bits of t bits, and generates a bit string from the received word. If an error of t+1 bits or more is detected in this error correction, an error pattern of t+i (l is a positive integer) bits is added to the received word and all patterns are corrected. It is determined whether the syndrome becomes "O" or not, and if there is one error pattern, the error pattern of the received word is corrected for t+i bits of error.

本発明はまた、符号長がnビット、最大誤り訂正ビット
数がtビットの非完全誤り訂正符号化されたビット列を
受信し、受信ビットに所定以上の雑音がある場合にその
ビットにフラグをセットし、受信語から生成されたシン
ドロームによりtビット以下の誤りを訂正し、この誤り
訂正においてt+1ビット以上の誤りを検出した場合に
、t+1ビットの誤りパターンを受信語に付加してシン
ドロームが「0」になるか否かを判定し、誤りパターン
が1つの場合に、その受信語の誤りパターンをt+1ビ
ット誤り訂正し、シンドロームがrOJになる誤りパタ
ーンが2以上の場合に、フラグがセットされたビット数
が最も多い受信語の誤りパターンをt+1ビット誤り訂
正するようにしたものである。
The present invention also receives a non-perfect error correction coded bit string with a code length of n bits and a maximum number of error correction bits of t bits, and sets a flag to that bit if the received bit has noise of a predetermined level or more. Then, errors of t bits or less are corrected using the syndrome generated from the received word, and if 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 so that the syndrome is "0". ”, and if there is one error pattern, the error pattern of the received word is corrected for t+1 bits, and if there are two or more error patterns with the syndrome rOJ, the flag is set. The error pattern of the received word with the largest number of bits is corrected for t+1 bit errors.

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

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

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

ここで、を重板上の誤りが発生し、受信語がある別の送
信語からハミング距離を以内になる場合には、ステップ
3において誤訂正されているので、ステップ4では誤り
があることが検出されず、処理を終了する(ステップ1
1)。
Here, if an error occurs on the overlay board and the received word is within the Hamming distance from another transmitted word, the error was corrected in step 3, so it is determined that there is an error in step 4. Not detected, processing ends (step 1)
1).

他方、受信語がある別の送信語からハミング距離を以内
にならない場合には、ステップ5に進んでi(iは正の
整数)を初期設定し1=1)、続くステップ6において
、t+iビットの誤りパターンを受信語に付加し、シン
ドロームが「O」になる誤りパターンの数Nを求める。
On the other hand, if the received word is not within the Hamming distance from another transmitted word, proceed to step 5 and initialize i (i is a positive integer) (1=1), and then proceed to step 6 to set t+i bits. error patterns are added to the received word, and the number N of error patterns for which the syndrome becomes "O" is determined.

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

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

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

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

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

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

t+1重以上の誤りを検出した場合にはステップ18に
進み、t+1ビットの誤りパターンを受信語に付加し、
シンドロームが「0」になる誤りパターンの数Nを求め
る。
If t+1 or more errors are detected, proceed to step 18, add a t+1 bit error pattern to the received word,
The number N of error patterns for which the syndrome becomes "0" is determined.

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

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

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

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

【図面の簡単な説明】[Brief explanation of 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. It is a flow chart showing a correction method.

Claims (4)

【特許請求の範囲】[Claims] (1)符号長がnビット、最大誤り訂正ビット数がtビ
ットの非完全誤り訂正符号化されたビット列を受信し、 受信語から生成されたシンドロームにより、tビット以
下の誤りを訂正し、 前記誤り訂正においてt+1ビット以上の誤りを検出し
た場合に、t+i(iは正の整数)ビットの誤りパター
ンを受信語に付加して全てのパターンについてシンドロ
ームが「0」になるか否かを判定し、 誤りパターンが1つの場合にその受信語の誤りパターン
をt+iビット誤り訂正することを特徴とする誤り訂正
方法。
(1) Receive a non-complete error correction encoded bit string with a code length of n bits and a maximum number of error correction bits of t bits, correct errors of t bits or less using a syndrome generated from the received word, and When an error of t+1 bits or more is detected in error correction, an error pattern of t+i (i is a positive integer) bits is added to the received word and it is determined whether the syndrome becomes "0" for all patterns. , An error correction method characterized in that, when there is one error pattern, the error pattern of the received word is corrected by t+i bits.
(2)前記iは、符号語の重み分岐や、訂正処理で許容
可能な時間等により予め設定された正の整数であること
を特徴とする請求項(1)記載の誤り訂正方法。
(2) The error correction method according to claim 1, wherein the i is a positive integer preset based on weight branching of code words, allowable time for correction processing, etc.
(3)符号長がnビット、最大誤り訂正ビット数がtビ
ットの非完全誤り訂正符号化されたビット列を受信し、 受信ビットに所定以上の雑音がある場合にそのビットに
フラグをセットし、 受信語から生成されたシンドロームにより、tビット以
下の誤りを訂正し、 前記誤り訂正においてt+1ビット以上の誤りを検出し
た場合に、t+1ビットの誤りパターンを受信語に付加
してシンドロームが「0」になるか否かを判定し、 誤りパターンが1つの場合に、その受信語の誤りパター
ンをt+1ビット誤り訂正し、 シンドロームが「0」になる誤りパターンが2以上の場
合に、フラグがセットされたビット数が最も多い受信語
の誤りパターンをt+1ビット誤り訂正することを特徴
とする誤り訂正方法。
(3) Receive a non-perfect error correction encoded bit string with a code length of n bits and a maximum number of error correction bits of t bits, and if the received bits have noise of a predetermined level or more, set a flag on that bit, Errors of t bits or less are corrected using the syndrome generated from the received word, and if 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 and the syndrome is set to "0". If there is one error pattern, correct the error pattern of the received word by t+1 bits, and if there are two or more error patterns that result in a syndrome of "0", the flag is set. An error correction method characterized in that the error pattern of a received word having the largest number of bits is corrected for t+1 bits.
(4)受信ビットが「0」か「1」を判定する閾値に近
いかどうかにより、受信ビットに所定以上の雑音がある
か否かを判定することを特徴とする請求項(3)記載の
誤り訂正方法。
(4) The method according to claim (3), characterized in that it is determined whether or not the received bits have noise of a predetermined level or more based on whether the received bits are close to a threshold value for determining whether the received bits are "0" or "1". Error correction method.
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 true JPH0389630A (en) 1991-04-15
JP2636432B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996019054A1 (en) * 1994-12-12 1996-06-20 British Telecommunications Public Limited Company Digital transmission system for encoding and decoding attribute data into error checking symbols of main data

Citations (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

Patent Citations (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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996019054A1 (en) * 1994-12-12 1996-06-20 British Telecommunications Public Limited Company Digital transmission system for encoding and decoding attribute data into error checking symbols of main data
US6044482A (en) * 1994-12-12 2000-03-28 British Telecommunications Public Limited Company Digital transmission system for encoding and decoding attribute data into error checking symbols of main data

Also Published As

Publication number Publication date
JP2636432B2 (en) 1997-07-30

Similar Documents

Publication Publication Date Title
US7152198B2 (en) Encoding/decoding device and encoding/decoding method
US4569050A (en) Data communication system with fixed weight error correction and detection code
JPH084233B2 (en) Error correction code decoding device
EP0477377B1 (en) Error detecting system
EP0983655B1 (en) Bit detection method in a radio communications system
JPH08125640A (en) Re-synchronization device for error correction coder decoder
JPH0389630A (en) Error correcting method
JP3269035B2 (en) Decryption device
CN110233629B (en) Improved Hamming code error correction method
US7386779B2 (en) Systems and methods for correcting errors in a received frame
JP3386699B2 (en) Frame synchronization circuit and communication system
JPH1022839A (en) Soft discrimination error-correction decoding method
JP6552776B1 (en) Error correction decoding apparatus and error correction decoding method
JPH0613915A (en) Error check method
JP2573180B2 (en) Error correction decoding device
JP2547577B2 (en) Error correction block code decoding method
JP3383561B2 (en) Decoding quality estimation device
JPS62219833A (en) Adaptive decoding type code transmission system
JPH06101722B2 (en) Code reception system
JPH08293801A (en) Method and device for controlling error of digital information
JPS59131237A (en) Decoding circuit
JPH0629864A (en) Error detecting method
JPH032935A (en) Error checking system
JPH0685693A (en) Error control method
JPH077942B2 (en) Code reception system