JPS58181348A - Error correcting and detecting device - Google Patents

Error correcting and detecting device

Info

Publication number
JPS58181348A
JPS58181348A JP58038914A JP3891483A JPS58181348A JP S58181348 A JPS58181348 A JP S58181348A JP 58038914 A JP58038914 A JP 58038914A JP 3891483 A JP3891483 A JP 3891483A JP S58181348 A JPS58181348 A JP S58181348A
Authority
JP
Japan
Prior art keywords
error
circuit
error correction
code
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58038914A
Other languages
Japanese (ja)
Other versions
JPS6160618B2 (en
Inventor
Masaaki Takizawa
正明 滝沢
Yasuhiro Hirano
裕弘 平野
Yoshizumi Eto
江藤 良純
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Denshi KK
Hitachi Ltd
Original Assignee
Hitachi Denshi KK
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Denshi KK, Hitachi Ltd filed Critical Hitachi Denshi KK
Priority to JP58038914A priority Critical patent/JPS58181348A/en
Publication of JPS58181348A publication Critical patent/JPS58181348A/en
Publication of JPS6160618B2 publication Critical patent/JPS6160618B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving

Abstract

PURPOSE:To attain the error correction and detection of digital information, by performing interleaving with a method that a burst error remains even after the interleaving and using a burst error correcting code for the result. CONSTITUTION:An error correcting and detecting device consists of a coder 1, a decoder 2, a signal transmission line or a memory 3, an input terminal 4 for digital information and an output terminal 5. The coder for error correction codes is a device producing a code word having a redundancy of information under a certain rule. If there is any error in the code word, the reguiarity is disturbed. The decoder is a device which detects the disturbance and corrects the error based on it. A part corresponding to the coder 1 is provided with a check point addition circuit 6 and an interleave circuit 7, and a part corresponding to the decoder 2 is provided with a reverse interleave circuit 8 and an error correction circuit 9.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はディジタル情報に発生する符号t14.bの内
、主としてバースH14りを訂正・検出する装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to codes t14. Of the items b, this mainly relates to a device for correcting and detecting berth H14.

〔背景技術〕[Background technology]

ディジタルVTR等の画像書・積装置では、雑1やドロ
ップアウト等によシ蓄積された信号に誤シが発生する。
In image writing/printing devices such as digital VTRs, errors occur in accumulated signals due to miscellaneous signals, dropouts, and the like.

この誤シのあるIdii像信号を再生すると、画質が劣
化する。そこで、誤シ訂正符号を用いて、誤シのおる画
像信号を訂正したり、または誤シが存在することを検出
して例えば前走査線の画素と置き換える必要がある。な
お、上記雑音にはランダム雑音ばかりでなく、比較的短
期間ではあるが継続的に生ずるバースト雑音があり、こ
のバースト雑音によって継続的にバースト誤りも発生し
ているので、これを考慮した対策が必要でめる0 従来、通信路の誤ジ対策としてインタリープを用い、そ
れによシ作られた符号語に対して、パリティビットによ
る単1誤シ検出法や、ハミング符号とパリティ検査とを
組み合わせた単1誤り訂正・2重誤シ検出法が知られて
いる。インタリープを用いるのは、通信路のバースト誤
りを、受信系列の各符号語に散らばせることにより、復
号器が処理しやすい誤りパターンに変換するためである
If this Idii image signal with errors is reproduced, the image quality will deteriorate. Therefore, it is necessary to use an error correction code to correct the image signal containing the error, or to detect the presence of the error and replace it with, for example, a pixel in the previous scanning line. Note that the above-mentioned noise includes not only random noise but also burst noise that occurs continuously, albeit for a relatively short period of time.This burst noise also causes continuous burst errors, so countermeasures that take this into consideration are necessary. Required 0 Conventionally, interleaving was used as a countermeasure against errors in the communication path, and the code words created using interleaving were tested using a single error detection method using parity bits, or a combination of Hamming code and parity check. A single error correction/double error detection method is known. The reason why interleaving is used is to scatter burst errors on the communication path into each code word of the received sequence, thereby converting them into an error pattern that is easy to process by the decoder.

上記した従来の訂正・検出法はいずれも単純であり、バ
ースト誤シに対しても考慮が払われているけれど、ディ
ジタルVT)L等で発生する誤りは通常長さが例えば数
百ビットにも及ぶバーストgシである。しかもその訂正
能力以上の大きさの誤りが発生すると、訂正・検出がで
きないはかりでなく、誤った訂正をする場合かめる。ま
た、訂正能力が高いBCH符号等を使えば、誤シビット
数が多い場合にも訂正出来るが、装置が複雑となる問題
点がある。
The conventional correction/detection methods described above are all simple and take into consideration burst errors, but errors that occur in digital VT) are usually several hundred bits in length. It is a burst g-shi that extends. Moreover, if an error occurs that is larger than its correction ability, the scale will not be able to correct or detect it, but will be affected if it makes an incorrect correction. Furthermore, if a BCH code or the like with high correction ability is used, it is possible to correct even a large number of erroneous sibits, but there is a problem in that the apparatus becomes complicated.

〔発明の目的〕[Purpose of the invention]

本発明は、上述した問題点を解消するためになされたも
ので、長いバースト誤りを含むディジタル情報(信号)
のagb訂正及び検出を可能にした構成の簡単な装置を
提供しようとするものでおる。
The present invention has been made in order to solve the above-mentioned problems, and is aimed at solving digital information (signals) containing long burst errors.
The present invention aims to provide a device with a simple configuration that enables agb correction and detection.

〔発明の概要〕 上記の目的を達成するたやに、本発明の装置では、バー
スト誤りが、インタリープの結果も、バースト誤シとな
るような方法でインタリープを行ない、かつその結果に
対しバースト誤シ訂正符号を用いて誤シの訂正及び検出
を行なわせるよう構成した。
[Summary of the Invention] In order to achieve the above object, the apparatus of the present invention performs interleaving in such a way that the result of interleaving is also a burst error, and the result is a burst error. The system is configured to correct and detect erroneous codes using a code correction code.

〔発明の実施例〕[Embodiments of the invention]

以下本発明を実施例によって詳細に説明する。 The present invention will be explained in detail below using examples.

第1図は本発明の誤シ訂正・検出装置の原理的構成を示
すブロック図である。図において1は符号器、2は復号
器に相当する部分を示し、3は信号伝送16tたはメモ
リーヤ、4はディジタル情報(信号)の入力端子、5は
出力熾子である。説明を簡明にするため、ディジタルV
TR装置を想定して各部の構成、機能を説明する。従っ
て上記3は磁気テープと呼ぶことにする。
FIG. 1 is a block diagram showing the basic configuration of the error correction/detection device of the present invention. In the figure, 1 is an encoder, 2 is a portion corresponding to a decoder, 3 is a signal transmission 16t or memory layer, 4 is an input terminal for digital information (signal), and 5 is an output terminal. For the sake of simplicity, the digital V
The configuration and functions of each part will be explained assuming a TR device. Therefore, the above 3 will be called a magnetic tape.

自動的にディジタル情報の誤りを訂正するためには、情
報に何らかの冗長性を持たせなければならない。誤シ訂
正符号でいう符号器とは、ある規則の下に、情報に冗長
性を持たせた符号語を生成する装置のことである。もし
符号語に誤りが生じるとその規則性に乱れが生じる。乱
れを検出し、それを基に誤シを訂正する装置が復号器で
ある。
In order to automatically correct errors in digital information, the information must have some kind of redundancy. An encoder in an error correction code is a device that generates code words with redundancy in information under certain rules. If an error occurs in the code word, its regularity will be disrupted. A decoder is a device that detects disturbances and corrects them based on the disturbances.

本発明の装置は、上記符号器lに相当する部分に検査点
付加回路6、イノタリー1回路7を備え、復号器2に相
当する部分に逆インタリープ回路8、誤シ訂正回路9を
備えた構成となっている。なお10は誤り訂正回路9の
入力端子である。
The device of the present invention has a configuration in which a portion corresponding to the encoder 1 is provided with a check point addition circuit 6 and an innotary 1 circuit 7, and a portion corresponding to the decoder 2 is provided with an inverse interleap circuit 8 and an error correction circuit 9. It becomes. Note that 10 is an input terminal of the error correction circuit 9.

第2図は本発明の装置の各構成部分についての機能説明
図である。図において前出のものと同一番号のものは同
一または均等な部分を示すものとする。以下順を追って
機能を説明する。
FIG. 2 is a functional explanatory diagram of each component of the apparatus of the present invention. In the figures, the same numbers as those mentioned above indicate the same or equivalent parts. The functions will be explained step by step below.

(1)1走査線を単位としたブロックの画素信号を、P
CM等により“1″と”O”とに2値化した情報ビット
が順次入力端子4から入力する。
(1) Pixel signals of a block with one scanning line as a unit are P
Information bits that have been binarized into "1" and "O" by CM etc. are sequentially input from the input terminal 4.

(2)検査点付加回路6は検査点生成回路11とスイッ
チ12を備えていて、上記入力された情報ビットと検査
点生成回路11で生成された検査ビットとを交互に切換
えるこ七によシ誤シ訂正用の検査ビットを付加し符号語
を作る。
(2) The test point addition circuit 6 is equipped with a test point generation circuit 11 and a switch 12, and is configured to alternately switch between the input information bits and the test bits generated by the test point generation circuit 11. A code word is created by adding check bits for error correction.

(3)上記符号語はイノタリー1回路7に設けられたラ
インメモリ(以下LMと略記する)13に沓き込まれる
。このときのLM書込制御回路14は、1,2,3.・
・・・・・Nlでのアドレスを順次発生する。
(3) The above code word is loaded into a line memory (hereinafter abbreviated as LM) 13 provided in the Innotary 1 circuit 7. At this time, the LM write control circuit 14 writes 1, 2, 3, .・
. . . Addresses in Nl are generated sequentially.

(4)・次にLM続出制御回@15は、1.L+1゜2
L+1、−−・−・−nL+1.2 、L+2.2L+
2、・・・・・・nL+2y ・・・・・・NとLビッ
ト毎に飛々にアドレスを発生して、LM13から飛々に
符号語を読出す。それをffl気テープ3に書込む。
(4)・Next, in the LM continuous control time @15, 1. L+1゜2
L+1, --・-・-nL+1.2, L+2.2L+
2, . . . nL+2y . . . Addresses are generated at random for every N and L bits, and code words are read out at random from the LM13. Write it on ffl tape 3.

この操作をインタリープと呼ぶ。This operation is called interleaving.

(5)逆イ/タリープ回路8は、LM読出制御回路15
と全く同様な機能゛を持っLM書込制御回路16を備え
Lビット毎に飛々にアドレスを発生して、磁気テープ3
から続出したインタリープされ九符号語を1走査線率位
で順次LM17に書き込む。
(5) The reverse I/talleep circuit 8 is connected to the LM read control circuit 15.
It has an LM write control circuit 16 which has exactly the same function as the LM write control circuit 16, and generates an address every L bits.
The nine interleaved codewords successively continued from 9 are sequentially written into the LM 17 at a rate of one scanning line.

(6)次にLM書込制御回路14と全く同様な機能を持
つLM続出制御回路18にょシ、1,2゜3・・・・・
・Nと順番にアドレスを発生してLM17から順次に符
号語を読み出し、誤シ訂正回路9の入力端子10に入力
する。この操作を逆イ/タリープと呼ぶ。
(6) Next, the LM successive control circuit 18 which has exactly the same function as the LM write control circuit 14, 1,2°3...
- Generate addresses in the order of N, read code words sequentially from the LM 17, and input them to the input terminal 10 of the error correction circuit 9. This operation is called reverse i/talleep.

(7)  誤り訂正口Ili!!19は、誤シ位置検出
回路19と誤シバターン検出回Nr20を備え、入力さ
れ九符号語の検査ビットによシ、発生した誤シの位置ト
ハターンを検出し、シフトレジスタ21に蓄えられた符
号語を訂正し、その結果を出力端子5に出力する。
(7) Error correction port Ili! ! 19 includes an erroneous position detection circuit 19 and an erroneous turn detection circuit Nr 20, which detects the position of the erroneous turn that has occurred based on the check bits of the nine input code words, and detects the code word stored in the shift register 21. is corrected and the result is output to output terminal 5.

以上の手順をふむと、磁気テープ3上に長いバースト娯
シが発生しても、逆インタリーブし九結果の符号語では
gbのあるビット数は少なくなるので、比較的容易に誤
シ訂正や検出が行なえる。
Based on the above procedure, even if a long burst signal occurs on the magnetic tape 3, the number of bits with gb will be reduced in the code word resulting from deinterleaving, so error correction and detection will be relatively easy. can be done.

さらに、このようなインタリーブ方式には以下のような
特徴がある。
Furthermore, such an interleaving method has the following characteristics.

磁気テープ上にバースト誤シが発生し走時に、上記のよ
うなインタリープを行なうと、符号語内の誤シもやはシ
バ−スト的になる。何故ならLビット毎にインタリープ
をした場合に、例えば磁気テープ上の(i−L+j)ビ
ットから(1/・L+j’)ビットの範囲(但し、J 
* J’は oくj 。
If a burst error occurs on a magnetic tape and interleaving as described above is performed during running, the error within a code word will become like a burst. This is because when interleaving is performed every L bits, for example, the range from (i-L+j) bits to (1/・L+j') bits on a magnetic tape (however, J
*J' is okuj.

j’<Lを満す整数)にバースト誤シが発生し九場合、
逆インタリープした後の符号語内の誤シの位置はiビッ
ト(i’+1)  ビットの範囲内に入そこで、本発明
においてはこの性質を用いて、符号ilKシの訂正にバ
ースト誤シ訂正符号を用いる。
If a burst error occurs in j'< an integer satisfying L,
The position of an error code in a code word after deinterleaving is within the range of i bits (i'+1) bits. Therefore, in the present invention, using this property, a burst error correction code is used to correct the code ilK code. Use.

これによシ、容易な方法で、符号語内の長いバースト誤
シの訂正・検出が出来る。この結果磁気テープ上のバー
スト誤シも、従来例よりも容易な手段で訂正・検出が出
来ることになる。
This makes it possible to correct and detect long burst errors in codewords in a simple manner. As a result, burst errors on the magnetic tape can also be corrected and detected using easier means than in the prior art.

なお、本発明に使用する上記バースト誤り訂正符号につ
いては、常用、岩垂、今井「符号理論」昭晃當、東京、
  1973.等に詳述されているので、以下簡単に説
明する。
The above-mentioned burst error correction code used in the present invention is described in "Coding Theory" by Jiyo, Iwadare, and Imai, Showako, Tokyo, Japan.
1973. etc., so it will be briefly explained below.

バースト誤りを訂正するには、バースト誤シ訂正符号を
用いるのが適している。もちろんt個のランダム誤pを
訂正する符号を用いてもt個までの継続した誤りを訂正
することができる。しかし、バースト誤シのように、誤
シの生起の間に相関性のある場合には、この相関関係を
利用して、ランダム誤シよシもはるかに簡単にバースト
誤りを訂正することができる。
To correct burst errors, it is suitable to use a burst error correction code. Of course, even if a code for correcting t random errors p is used, up to t consecutive errors can be corrected. However, if there is a correlation between the occurrences of errors such as burst errors, this correlation can be used to correct random errors much more easily. .

符号の訂正は以下のように行なう。The code is corrected as follows.

情報ビットの系列をI (x)とに次の多項式によシ表
わし検査点を付加するためのm次生成多項式をG(x)
とすると、検査点が付加された符号語は、nxm+に次
の多項式P (x)となシ、(1)式のように表わせる
The sequence of information bits is expressed as I (x) by the following polynomial, and the m-th generation polynomial for adding check points is expressed as G (x)
Then, a code word to which a check point is added can be expressed as equation (1), where nxm+ is the following polynomial P (x).

P(x) −I (x) ・G(幻         
   ・(1)これに誤りE(x)が発生すると、P(
x)はP′(x)−P(x) + h(x) = I 
(x) −G(x) + h(x)・・・(2) のようになる。そしてP’(x)をG(x)で除し九剰
余Be (P’(x)/ G(x)) −Re (g(
x)/()(x) )・・・(3) によりに2 (x)を推定し、訂正を行なう。
P(x) −I (x) ・G(phantom
・(1) If an error E(x) occurs in this, P(
x) is P'(x) - P(x) + h(x) = I
(x) −G(x) + h(x)...(2) Then, divide P'(x) by G(x) and get the remainder Be (P'(x)/G(x)) -Re (g(
x)/()(x) )...(3) 2(x) is estimated and corrected.

バースト誤り訂正符号は、このG(x)に特徴があシ、
例えばG(x) −x@+ 1 ) ・Q(x)   
  ・=(4)の形をしている。(Q(X)は、d次の
既約多項式)そして、’n(x)がxl−XI+bの範
囲にのみ誤シがある場合に、P ’ (x)をxiで割
ると、x0〜xbの範囲に誤シがある。これを(x@+
1) で除してもQ(X)で除しても、その剰余は、h
(x)/x  と等しくなる。従って、X%X  の範
囲に、この剰余に相当する誤りが存在することが検出出
来る(但し c>2d−1、dab )0従って、この
x〜−の範囲の剰余のパターンとxlでP’(x)を除
し九という点とを用いて、誤シの位置を求め訂正を行な
う。
The burst error correction code has a characteristic in this G(x),
For example, G(x) −x@+ 1 ) ・Q(x)
・It has the form of = (4). (Q(X) is an irreducible polynomial of degree d) Then, if 'n(x) has an error only in the range of xl-XI+b, dividing P'(x) by xi gives There is an error in the range. This (x@+
1) Whether divided by Q(X) or Q(X), the remainder is h
It becomes equal to (x)/x. Therefore, it can be detected that an error corresponding to this remainder exists in the range of X% By dividing (x) and using the point 9, find the position of the error and make corrections.

以上述べたように、本発明の装置によれば、比較的容易
に長いバースト誤9でも°訂正・検出が可能となる。し
かしながら、本発明で用いたバースト訂正符号において
も、他の訂正符号を用いた場合に起きると同様にその訂
正能力以上の大きさの誤シが発生すると、誤シを検出出
来ずに誤って訂正する場合がある。従って誤シ訂正結果
の正・誤を検出し、誤)の影響を軽減する手段が必要と
なる。以下その手段について説明する。
As described above, according to the apparatus of the present invention, even a long burst error 9 can be corrected and detected relatively easily. However, even with the burst correction code used in the present invention, if an error larger than its correction ability occurs, as occurs when other correction codes are used, the error cannot be detected and is incorrectly corrected. There are cases where Therefore, there is a need for a means to detect whether the erroneous correction result is correct or incorrect and to reduce the influence of the erroneous correction. The means for doing so will be explained below.

誤った訂正が行なわれる場合は、実際に誤りがあった位
置と、訂正した位置とは、大きく異なることが多い。し
かも実際に誤まった位置が少しずれると訂正し九位置は
大きくずれるために、誤如訂正した位置は広い範囲に分
布する。逆に正しく訂正された時は、当然のことながら
、訂正される位置は、誤シの発生位置である。したがっ
て、正しく訂正された場合と誤まって訂正された場合で
は、訂正位置の分布に差が生じる。この性質を利用し、
誤り訂正結果の統計的処理によって、訂正結果の正・誤
を検出することができる。
When an erroneous correction is made, the actual location of the error and the corrected location are often very different. Furthermore, if the actual incorrect position is slightly shifted, it is corrected and the nine positions are shifted significantly, so the incorrectly corrected positions are distributed over a wide range. On the other hand, when the error is corrected, the corrected position is, of course, the position where the error occurred. Therefore, there is a difference in the distribution of corrected positions when the correction is made correctly and when the correction is made incorrectly. Taking advantage of this property,
By statistical processing of the error correction results, it is possible to detect whether the correction results are correct or incorrect.

ところで、娯シの発生位置そのものを知る事は出来ない
が、同一の位置に誤シが発生している複数個の符号語に
着目すれば、誤シの位置は分らなくても上記の検出が可
能である0 第3図は誤シ訂正能力以上の誤りが発生し九場合の1ブ
ロツク内の符号の訂正結果を示すものである。正しく訂
正されていれば、同一のブロック内では各符号語の訂正
位置は1ケ所に集まるが、誤って訂正されると各符号語
間で訂正位置の和の範囲が前述したように広がる。これ
は、本発明で用いるインタリーブ方式の%像によるもの
である0第4図は上記の訂正された範囲よハその訂正の
正・誤を検出する機能を含む誤ヤ訂正回路の構成図であ
る。まず、最初に受信符号のブロックの境界に対応して
端子22に与えられるリセット信号(発生回路は図示せ
ず)によシフリップフロップ(以下FFと略記する)2
3を全てリセットしておく0次にブロック内の全符号語
を、次々に誤シ訂正回路9に入れる。そして符号語毎に
誤シ訂正した位置に対応したFF23をセットする。
By the way, although it is not possible to know the exact location where an error occurs, if we focus on multiple codewords in which an error occurs at the same position, the above detection can be performed even without knowing the location of the error. Possible 0 FIG. 3 shows the result of code correction within one block when nine errors occur that exceed the error correction capability. If corrected, the corrected positions of each code word will be gathered at one place within the same block, but if incorrectly corrected, the range of the sum of the corrected positions will expand between each code word, as described above. This is due to the percentage image of the interleaving method used in the present invention. Figure 4 is a block diagram of an error correction circuit that includes a function to detect whether the correction is correct or incorrect in the above corrected range. . First, a reset signal (the generation circuit is not shown) is applied to the terminal 22 corresponding to the block boundary of the received code.
All the code words in the 0th-order block for which all 3 are reset are input into the error correction circuit 9 one after another. Then, the FF 23 corresponding to the position where the error has been corrected is set for each code word.

次に、相関検出回路24により、FF23に表示されて
いる訂正されたビットの範囲を計数する。
Next, the correlation detection circuit 24 counts the range of corrected bits displayed on the FF 23.

そして、その範囲が許容値例えば各符号語の訂正能力で
定まる定数以下ならば、比較器25により、それらの符
号語の訂正は正しかったと判定し、許容値以上なら、訂
正は誤りとし、その結果を端子26に出力する。通常は
端子5に得られる訂正後の符号を用いるが、もし誤った
訂正として端子26に検出され九場合には、再送を要求
したシ、端子5に得られる符号をそれと類似なもの(た
とえば別に設けられたラインメモリに蓄えられた隣接走
査線に対応した符号)で置き換える等の手段によシ、誤
シの影響を軽減出来る。
If the range is less than a tolerance value, such as a constant determined by the correction ability of each code word, the comparator 25 determines that the correction of those code words was correct; if it is greater than the tolerance value, the correction is determined to be an error, and the result is is output to terminal 26. Normally, the corrected code obtained at terminal 5 is used, but if it is detected at terminal 26 as an erroneous correction, the code obtained at terminal 5 may be changed to something similar (for example, The influence of errors can be reduced by replacing the code with a code corresponding to an adjacent scanning line stored in a provided line memory.

上記の実施例で示した誤訂正の検出回路は、符号語間で
誤りの等しい範囲、すなわち前述のブロックの単位に誤
訂正の有無を検出するものであるが、次に符号語単位に
誤訂正の有無を検出する手段を述べる。
The error correction detection circuit shown in the above embodiment detects the presence or absence of error correction in the same range of errors between code words, that is, in units of blocks as described above, and then detects error correction in code word units. We will describe the means for detecting the presence or absence of .

訂正した結果が正しい確率が、誤まつ九確率よシも十分
に高い場合がある。この場合には、ブロック内で同一の
訂正位置を有する多くの符号語と異なった訂正位置を有
する数少ない符号語が生じる0 そこで、誤まシ訂正の頻度の低い位置を訂正した符号語
のみを誤った訂正とみなす誤訂正の検出回路を構成すれ
ばよい。
There are cases where the probability that the corrected result is correct is sufficiently higher than the probability that it is incorrect. In this case, there will be many codewords with the same correction position within the block and a few codewords with different correction positions. Therefore, only the codewords that have been incorrectly corrected in positions that are less frequently corrected will be incorrectly corrected. What is necessary is to configure a detection circuit for erroneous correction, which is regarded as a false correction.

第5図は、上記目的を達成するための誤訂正の検出機能
を含む誤シ訂正回路の構成図である0最初に端子22に
リセット信号を加えることによりFF27とカウンタ2
8をリセットする0次にスイッチ29を下にして符号語
を誤シ訂正回路9に入れる。ただし、符号語の訂正は行
なわす訂正する位置のみを表示する。そして訂正をしよ
うとする位置にあるカウンタ28の値を1ずつふやす。
FIG. 5 is a block diagram of an error correction circuit including an error correction detection function to achieve the above purpose.
8 is reset.0 Next, the switch 29 is turned down to input the code word to the error correction circuit 9. However, when a code word is corrected, only the position to be corrected is displayed. Then, the value of the counter 28 at the position where the correction is to be made is incremented by one.

1ブロツク内の符号語についてこれを行なったら、次に
カウンタ28の値を用いて相関検出回路30によシ、誤
シ訂正しようとする位置の中で他の符号語における訂正
しようとする位置と相関の小さいものを検出する。そし
てその位置に対応するFF27をセットする。次にスイ
ッチ29を上にしてラインメモリ31にある符号語を誤
り訂正回路9に入れ、誤シ訂正を行なうと同時にその位
置を表示する。その表示とFF27との論理積をアンド
(AND)ゲート32によりとる。1符号語内の各ビッ
トに対応したいずれかのANDの値が1となったらオア
(Oa)ゲート33により、その符号語の誤シ訂正は誤
シであるという表示を出力端子34に出力する。出力端
子34に表示がない時は出力端子5に得られる訂正済の
符号を用い、表示がある場合は誤訂正であるから前述の
ように前ラインの符号などを代シに用いる。
Once this has been done for the codewords within one block, the correlation detection circuit 30 uses the value of the counter 28 to compare the position to be corrected in other codewords among the positions to be corrected. Detect small correlations. Then, set the FF 27 corresponding to that position. Next, the switch 29 is turned up to input the code word in the line memory 31 into the error correction circuit 9, and at the same time the code word in the line memory 31 is corrected and its position is displayed. The AND gate 32 performs a logical product between the display and the FF 27. When the value of any AND corresponding to each bit in one code word becomes 1, the OR (Oa) gate 33 outputs to the output terminal 34 an indication that the error correction of that code word is an error. . When there is no display on the output terminal 34, the corrected code obtained at the output terminal 5 is used, and when there is a display, it is an erroneous correction, so as described above, the code of the previous line is used as a substitute.

上記実施例は、符号語間の誤りの位置が等しくなる様な
規則的なインタリープを行なった場合を説明し九が、不
規則なインタリープを行なった場合のような誤シの相対
位置が既知の場合にも同様の結果を得られる。即ちその
相対位置の分だけずらした位置OFFをセットすればよ
い。を九、誤訂正の検出機能を有する誤シ訂正回路には
、バースト誤り訂正符号のみならず、ハミング符号、B
CH符号等を用いてもよいことは叢りまでもないことで
ある。
The above embodiment describes a case in which regular interleaving is performed such that the error positions between code words are equal; Similar results can be obtained in this case. That is, it is sufficient to set a position OFF shifted by the relative position. 9. An error correction circuit with an error correction detection function uses not only burst error correction codes but also Hamming codes, B
It goes without saying that a CH code or the like may be used.

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

以上述べたように、バースト誤りが生じた時にそれをイ
ンタリープした結釆龜バースト誤りとなるようにし、そ
れに対しバースト誤シ訂正符号を用いれば比較的容易に
、長いバースト誤りでも訂正・検出出来る。
As described above, even long burst errors can be corrected and detected relatively easily by interleaving burst errors when they occur and by using a burst error correction code.

ま九、もし本発明の誤り訂正・検出装置の訂正能力を超
える大きい倶シが発生するおそれかある場合には誤訂正
が行なわれることに備え、本発明の訂正の正・誤を検出
する機能を@シ訂正回路に付加することにより、誤りの
影響を軽減すること
(9) If there is a possibility that a large error exceeding the correction capability of the error correction/detection device of the present invention may occur, the function of the present invention to detect whether the correction is correct or incorrect is provided in preparation for erroneous correction. By adding @ to the correction circuit, the effect of errors can be reduced.

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

第1図は本発明の誤シ訂正・検出装置の原理的構成を示
すブロック図、#I2図は本発明の誤り訂正・検出装置
の各構成部分についての機能説明図、第3図は誤シ訂正
能力以上の誤シが発生した場合の訂正結果を示す図、第
4図及び第5図は本発明の訂正の正・誤を検出する機能
を付加した誤り訂正回路の構成図である。 1・・・符号器、2・・・復号器、3・・・蓄積部(f
B気テープ)もしくは伝送路、4・・・入力端子、5・
・・出力端子、6・・・検査点付加回路、7・・・イン
タリープ回路、8・・・逆インタリープ回路、9・・・
誤り訂正回路。 篤  I 図 第  2 図 第  3  図
FIG. 1 is a block diagram showing the principle configuration of the error correction/detection device of the present invention, FIG. #I2 is a functional explanatory diagram of each component of the error correction/detection device of the present invention, and FIG. FIGS. 4 and 5, which show the correction results when errors exceeding the correction ability occur, are block diagrams of an error correction circuit according to the present invention, which is equipped with a function of detecting whether the correction is correct or incorrect. 1... Encoder, 2... Decoder, 3... Storage section (f
B air tape) or transmission line, 4... input terminal, 5...
...Output terminal, 6...Test point addition circuit, 7...Interleap circuit, 8...Reverse interleap circuit, 9...
Error correction circuit. Atsushi I Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 入力ディジタル情報に符号誤シ訂正用の検査点を付加す
る検査点付加回路と、インタリープ回路とを備えた符号
器と、上記符号器で生成された符号語を蓄積もしくは伝
送する丸めの蓄積部もしくは伝送路を介して取シ込む逆
インタリープ回路と、誤り訂正回路とを備えた復号器と
からなる誤如訂正・検出装置において、上記インタリー
ブ回路及び逆インタリープ回路を、バースト誤シがイン
タリープの結果もバースト誤りとなるよう構成し、符号
IKシの訂正にバースト誤り訂正符号を用いることを特
徴とする誤シ訂正・検出装置。
an encoder comprising a check point adding circuit for adding check points for code error correction to input digital information; and an interleaving circuit; and a rounding storage unit or In an error correction/detection device consisting of a decoder equipped with an inverse interleaving circuit that receives input via a transmission path and an error correction circuit, the interleaving circuit and the inverse interleaving circuit are connected to the interleaving circuit and the inverse interleaving circuit. An error correction/detection device characterized in that it is configured to cause burst errors and uses a burst error correction code to correct the code IK.
JP58038914A 1983-03-11 1983-03-11 Error correcting and detecting device Granted JPS58181348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58038914A JPS58181348A (en) 1983-03-11 1983-03-11 Error correcting and detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58038914A JPS58181348A (en) 1983-03-11 1983-03-11 Error correcting and detecting device

Publications (2)

Publication Number Publication Date
JPS58181348A true JPS58181348A (en) 1983-10-24
JPS6160618B2 JPS6160618B2 (en) 1986-12-22

Family

ID=12538468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58038914A Granted JPS58181348A (en) 1983-03-11 1983-03-11 Error correcting and detecting device

Country Status (1)

Country Link
JP (1) JPS58181348A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6369328A (en) * 1986-09-11 1988-03-29 Seiko Epson Corp Error correction method
EP0608079A2 (en) * 1993-01-19 1994-07-27 Matsushita Electric Industrial Co., Ltd. System for prevention of erroneous detection of synchronization in a data transmission system with forward error correction
DE19535358C1 (en) * 1995-09-22 1997-03-06 Siemens Ag Utility data processing method for telecommunication system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6348409U (en) * 1986-09-16 1988-04-01
JP4672743B2 (en) * 2008-03-01 2011-04-20 株式会社東芝 Error correction apparatus and error correction method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53124906A (en) * 1977-04-07 1978-10-31 Sony Corp Transmitting method for digital signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53124906A (en) * 1977-04-07 1978-10-31 Sony Corp Transmitting method for digital signal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6369328A (en) * 1986-09-11 1988-03-29 Seiko Epson Corp Error correction method
EP0608079A2 (en) * 1993-01-19 1994-07-27 Matsushita Electric Industrial Co., Ltd. System for prevention of erroneous detection of synchronization in a data transmission system with forward error correction
EP0608079A3 (en) * 1993-01-19 1995-01-25 Matsushita Electric Ind Co Ltd System for prevention of erroneous detection of synchronization in a data transmission system with forward error correction.
US5535220A (en) * 1993-01-19 1996-07-09 Matsushita Electric Industrial Co., Ltd. Forward error correcting transmitter and receiver
DE19535358C1 (en) * 1995-09-22 1997-03-06 Siemens Ag Utility data processing method for telecommunication system

Also Published As

Publication number Publication date
JPS6160618B2 (en) 1986-12-22

Similar Documents

Publication Publication Date Title
US7555699B2 (en) Storage control circuit, and method for address error check in the storage control circuit
US6018817A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
EP0136604B1 (en) Decoding method and system.
US8069395B2 (en) Three bit error detection using ECC codes
US6044483A (en) Error propagation operating mode for error correcting code retrofit apparatus
US5384788A (en) Apparatus and method for optimal error correcting code to parity conversion
US4716566A (en) Error correcting system
US4455655A (en) Real time fault tolerant error correction mechanism
JPH0782446B2 (en) Multiple error correction method
JPS6349245B2 (en)
EP0600137A1 (en) Method and apparatus for correcting errors in a memory
JPH04315332A (en) Error correction device
JPS58181348A (en) Error correcting and detecting device
EP1388944A1 (en) Cross interleave reed-solomon code correction
TWI748507B (en) Data access system, and method for operating a data access system
JPS58175334A (en) Code error correcting circuit
JPS60101766A (en) Address detection system
JPH0477488B2 (en)
SU868844A1 (en) Self-checking storage device
JPH0344394B2 (en)
RU2297032C2 (en) Self-correcting memorizing device
JP2578740B2 (en) Error correction method
RU2297035C2 (en) Fault-tolerant memorizing device
SU1302327A1 (en) Storage with modulo error correction
JPH043525A (en) Code error correcting device