JPS59131237A - Decoding circuit - Google Patents
Decoding circuitInfo
- Publication number
- JPS59131237A JPS59131237A JP11266483A JP11266483A JPS59131237A JP S59131237 A JPS59131237 A JP S59131237A JP 11266483 A JP11266483 A JP 11266483A JP 11266483 A JP11266483 A JP 11266483A JP S59131237 A JPS59131237 A JP S59131237A
- Authority
- JP
- Japan
- Prior art keywords
- code
- error correction
- parity
- error
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Error Detection And Correction (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
ディジタルVTR等の高密度磁気記録装置では再生時に
符号誤りが発生しゃすく、このため、誤り訂正符号によ
る訂正が行なわれる。しかし符号誤りが多い場合には、
誤り訂正自体が誤って行なわれる可能性がある。例えば
、誤り訂正符号として単−誤り訂正ハミング符号を用い
た場合、1符号語内の符号誤りが1個のときは訂正でき
るが、2個以上の符号誤りがある場合には誤訂正を行な
う可能性がある。しかも、誤り訂正をψ行なった後では
、誤訂正があったかどうかの判定は不可能であるという
問題がある。これを解決するには、誤り訂正符号の訂正
能力を高めることが考えられるが、このようにするには
、誤り訂正符号における検査点すなわち検査ビット数を
増加する必要があり、この結果、伝送効率が低下する欠
点がある。DETAILED DESCRIPTION OF THE INVENTION In high-density magnetic recording devices such as digital VTRs, code errors are likely to occur during reproduction, and therefore correction is performed using an error correction code. However, if there are many code errors,
There is a possibility that error correction itself is performed incorrectly. For example, when a single error correcting Hamming code is used as an error correcting code, it is possible to correct one code error in one code word, but it is possible to perform error correction if there are two or more code errors. There is sex. Moreover, there is a problem in that after error correction ψ is performed, it is impossible to determine whether or not there has been an error correction. To solve this problem, it is possible to improve the correction ability of the error correction code, but to do this, it is necessary to increase the number of check points in the error correction code, that is, the number of check bits, and as a result, the transmission efficiency It has the disadvantage that it decreases.
本発明の目的は、符号器において誤り訂正符号の各符号
語間にパリティを付加し、復号器において誤り訂正後の
符号語間のパリティと受信されたハIJティとを比較し
誤訂正を除去することにより、上記欠点をなくすことに
ある。An object of the present invention is to add parity between each code word of an error correction code in an encoder, and to remove error correction by comparing the parity between code words after error correction and the received high IJ key in a decoder. By doing so, the above-mentioned drawbacks are eliminated.
次に、本発明の原理について説明する。Next, the principle of the present invention will be explained.
送信側では第1図に示すように、符号長n+1の誤り訂
正符号Wiをm(同図の場合、m=3)個用いて1つの
符号ブロックを構成する。なお各符号ブロックは、m個
の誤り訂正符号W□〜九、および各符号間のパリティP
k
但し、Pk=Σw、k(mod 2 ) + k 二〇
+ 1 + =・+ nゑ=1
(同図の場合、p、 =ΣW、l(mod2))j=1
で構成する。As shown in FIG. 1, on the transmitting side, one code block is constructed using m (m=3 in the figure) error correction codes Wi of code length n+1. Note that each code block includes m error correction codes W□ to 9 and parity P between each code.
k However, Pk = Σw, k (mod 2) + k 20 + 1 + = · + n = 1 (in the case of the same figure, p, = ΣW, l (mod 2)) j = 1.
すなわち同図では
Po−W□。+W2o十W3o(mod2)となる。こ
のように構成された符号を、例えばVTRへの記録等に
用いる。That is, Po-W□ in the same figure. +W2o +W3o (mod 2). The code constructed in this way is used for recording on a VTR, for example.
第2図に娯り訂正後の受信符号およびその後の誤削正の
処理の過程を示す。FIG. 2 shows the received code after error correction and the subsequent error correction process.
受信側ではまず誤り訂正処理を行ない、かつ符号誤りの
あった符号語Wj’ (:同図(a)ではJ=3)を記
憶しでおく。次いで、誤り訂正後の符号W□′〜W1.
.′(同図(a)ではm=3)に対し、第2図(a)に
示すように、各符号間のパリティPk′Pk′=ΣW、
に’ (mod 2 ) 、 k = 0 、1 、2
+ −、n1==1
すなわち同図の場合は、
Po′=W工。′+W2o′十W3o′(mod2)を
求める。次いで /J/ Pk/と受信パリティPkと
を比較する。On the receiving side, first, error correction processing is performed, and the code word Wj' (J=3 in FIG. 4A) containing a code error is stored. Next, the error-corrected codes W□′ to W1.
.. ′ (m=3 in FIG. 2(a)), as shown in FIG. 2(a), the parity between each code Pk′Pk′=ΣW,
ni' (mod 2), k = 0, 1, 2
+ -, n1==1 In other words, in the case of the same figure, Po'=W engineering. '+W2o'+W3o' (mod 2) is calculated. Next, /J/Pk/ is compared with the received parity Pk.
ここで、受信ハリティPl、に誤りがなく、かっ誤り訂
正において誤訂正がなければ、PkとPk′とは一致す
る。Here, if there is no error in the received harness Pl and if there is no erroneous correction in the error correction, Pk and Pk' match.
一方、誤り訂正において誤訂正があれば、第2図(b)
のようにPkとP1′とは、矢印で対比して示した位置
のパリティが一致しない。この場合、先に記憶しておい
た符号誤りの符号語WI カ1 個シカ存在しなければ
、その符号語の受イにパリティP□と誤り訂正後のパリ
ティPk′とが不一致となる位置の符号すなわち同図(
a)に矢印で示するうに、符号語W3′のハツチングを
施した部分の符号をそれぞれ反転すれば、この符号語の
誤り(符号誤りと誤訂正による誤りとの両方)は訂正さ
れる。On the other hand, if there is an error correction in the error correction, as shown in Fig. 2(b)
As shown in the figure, Pk and P1' do not match in parity at the positions indicated by arrows. In this case, if the previously stored code word WI with the code error does not exist, the code word is received at a position where the parity P□ and the parity Pk' after error correction do not match. symbol, i.e. the same figure (
As shown by the arrows in a), by inverting the codes of the hatched portions of code word W3', errors in this code word (both code errors and errors due to erroneous correction) are corrected.
なお、先に記憶しておいた符号誤りのある符号語W、が
複数個存在する場合には、どこに誤訂正があったかは判
定不可能なため、符号誤りのあった符号語をすでに復号
器の修正符号(テレビジョン信号の場合は、たとえば1
ライン前の符号)で置換する。このようにしで、誤り訂
正において誤訂正のあった場合、その影響を除去するこ
とができる。Note that if there are multiple previously stored code words W with code errors, it is impossible to determine where the error correction occurred, so the code word with the code error has already been stored in the decoder. Modification code (for television signals, for example 1
code before the line). In this way, if there is an erroneous correction during error correction, its influence can be removed.
次に本発明の実施例について説明する。第3図は送信側
の構成例を示し、誤り訂正用の符号器1において入力符
号から訂正用の符号語W、をつくり、パリティ付加回路
2において各符号胎児に対してパリティPkを求める。Next, examples of the present invention will be described. FIG. 3 shows an example of the configuration on the transmitting side, in which an error correction encoder 1 creates a correction code word W from an input code, and a parity adding circuit 2 calculates a parity Pk for each code embryo.
そして、スイッチ3により符号語とパリティとを選択し
て1つの符号ブロックを構成し送信符号として送出し、
例えばV T Rに記録する。Then, the switch 3 selects the code word and parity to form one code block and sends it out as a transmission code.
For example, it is recorded on a VTR.
受信側は第4図のように構成され、VTR等からの受信
符号は誤り訂正後号器4において、符号誤りの検出およ
び訂正が行なわれる。もし、符号誤りのめる符号語W、
が存在すれば、誤り符号語表示回路5に記憶される。一
方、誤り訂正復号器4の出力として得られた誤り訂正後
の符号はパリティ検査回路6に加えられ、ここでパリテ
ィPk′を求め、受信符号から求めた受信パリティPk
と比較する。誤り符号語表示回路5に誤りのある符号語
が存在し、かつパリティ検査回路6においてパリティP
k/とPkとが不一致の場合には、誤り修正回路7にお
いて誤り修正が行なわれる。この場合、誤り符号語が1
個のみのときには、その誤り符号語においてパリティが
不一致の位置の符号を反転し訂正を行なう。一方、複数
個の符号語が誤1っている場合には、誤り符号語を前述
の修正符号で置換する。The receiving side is constructed as shown in FIG. 4, and the received code from a VTR or the like undergoes code error detection and correction in an error correction post-encoder 4. If the code word W that contains a code error,
If it exists, it is stored in the error code word display circuit 5. On the other hand, the error-corrected code obtained as the output of the error correction decoder 4 is applied to a parity check circuit 6, where parity Pk' is calculated, and the received parity Pk calculated from the received code is
Compare with. There is an erroneous code word in the error code word display circuit 5, and the parity check circuit 6 detects the parity P.
If k/ and Pk do not match, the error correction circuit 7 performs error correction. In this case, the error code word is 1
If there is only one error code word, the code at the position where the parity does not match in the error code word is inverted and corrected. On the other hand, if a plurality of code words contain erroneous 1's, the erroneous code words are replaced with the above-mentioned correction code.
なお、付加すべきパリティ符号は、誤り訂正符号の情報
点すなわち情報ビットに限定してもよい。Note that the parity code to be added may be limited to the information points of the error correction code, that is, the information bits.
この理由は受信符号において、実際の誤訂正の影響は、
情報点に誤訂正がある場合に限定されるからである。更
に、テレビジョン信号等では8ビツトのPCM符号のう
ち、下位4ビット程度は符号誤りがあっても画質がそ〆
れほど劣化しないという性質があり、この性質を利用し
て、情報点のうち、例えば上位4ビツトに対してのみパ
リティ符号を付加するような手段を用いることにより、
付加するビット数を軽減することができる。また、ここ
に使用する誤り訂正符号としては、どのような誤り訂正
符号でも適用可能である。The reason for this is that in the received code, the effect of actual error correction is
This is because it is limited to cases where there is an erroneous correction in the information point. Furthermore, in television signals, etc., there is a property that the lower 4 bits of the 8-bit PCM code do not deteriorate the image quality significantly even if there is a code error. , for example, by adding a parity code only to the upper 4 bits,
The number of bits to be added can be reduced. Moreover, any error correction code can be used as the error correction code used here.
なお本発明では、1つの符号ブロックに符号誤りのある
符号語が1個しか存在しない場合に、誤訂正除去の効果
が大きい。したがって想定される符号誤りを考檜して、
符号ブロックにおける符号語の含まれる数mを、誤りが
1個の符号語になるように設定すれば、得られる効果は
大きい。Note that in the present invention, the effect of error correction removal is large when there is only one code word with a code error in one code block. Therefore, considering the possible code errors,
If the number m of code words included in a code block is set so that the error is one code word, a large effect can be obtained.
以上述べたように、本発明によるときは少量のハリティ
符号を付加することにより、誤り訂正復号の際に発生す
る誤訂正を除去することが可能となり、その効果は大き
いものである。As described above, according to the present invention, by adding a small amount of harrity code, it is possible to remove erroneous corrections that occur during error correction decoding, and the effect is significant.
第1図は本発明による送信符号の構成を示す説明図、第
2図(a)は同じく受働符号の構成を示す説明図、同図
(b)は受働したパリティ符号と瞑り訂正後のパリティ
符号との不一致部分を示す説明図、第3図および第4図
はそれぞれ本発明の送信部と受信部の実施例を示すブロ
ック図である。
l・・・符号器、2・・・パリティ付加回路、3・・・
スイッチ、4・・・誤り訂正復号器、5・・・誤り符号
語表示回路、6・・・パリティ検査回路、7・・・誤り
修正回路。
矛 f 図
才 2 図
(ン但τ紐4う睦)
4・−至χ^I(′リテイFIG. 1 is an explanatory diagram showing the structure of a transmission code according to the present invention, FIG. 2(a) is an explanatory diagram also showing the structure of a passive code, and FIG. FIGS. 3 and 4 are block diagrams showing embodiments of the transmitter and receiver of the present invention, respectively. l... Encoder, 2... Parity addition circuit, 3...
switch, 4... error correction decoder, 5... error code word display circuit, 6... parity check circuit, 7... error correction circuit. spear f illustrator 2 fig.
Claims (1)
り訂正手段、誤り訂正後の符号語間のパリティを求める
手段、および上記付加パリティと上記誤り訂正後のパリ
ティとを比較する手段を具備し、上記パリティの比較手
段においてパリティが一致しない場合には、付加された
パリティを利用して再度誤り訂正、あるいは修正符号で
の置換をζない、誤り訂正符号の誤訂正を阻止すること
を特徴とする復号回路。The error correction code includes means for adding parity between code words, error correction means, means for determining parity between code words after error correction, and means for comparing the added parity and the parity after error correction. If the parities do not match in the parity comparison means, the added parity is used to correct the error again or replace it with a correction code, thereby preventing the error correction code from being erroneously corrected. decoding circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11266483A JPS59131237A (en) | 1983-06-24 | 1983-06-24 | Decoding circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11266483A JPS59131237A (en) | 1983-06-24 | 1983-06-24 | Decoding circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS59131237A true JPS59131237A (en) | 1984-07-28 |
| JPH0258815B2 JPH0258815B2 (en) | 1990-12-10 |
Family
ID=14592388
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11266483A Granted JPS59131237A (en) | 1983-06-24 | 1983-06-24 | Decoding circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59131237A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62245726A (en) * | 1986-04-18 | 1987-10-27 | Kenwood Corp | Decoder for bch code |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5235952A (en) * | 1975-09-16 | 1977-03-18 | Hitachi Ltd | Errr detecting unit |
| JPS53124906A (en) * | 1977-04-07 | 1978-10-31 | Sony Corp | Transmitting method for digital signal |
-
1983
- 1983-06-24 JP JP11266483A patent/JPS59131237A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5235952A (en) * | 1975-09-16 | 1977-03-18 | Hitachi Ltd | Errr detecting unit |
| JPS53124906A (en) * | 1977-04-07 | 1978-10-31 | Sony Corp | Transmitting method for digital signal |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62245726A (en) * | 1986-04-18 | 1987-10-27 | Kenwood Corp | Decoder for bch code |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0258815B2 (en) | 1990-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5247523A (en) | Code error correction apparatus | |
| JPS6113820A (en) | Error correction code decoding device | |
| JPH0310422A (en) | Error detection and correction circuit | |
| KR950008488B1 (en) | Error correction method | |
| US6772384B1 (en) | Method and circuit for erasure correction | |
| US4858235A (en) | Information storage apparatus | |
| US6138263A (en) | Error correcting method and apparatus for information data having error correcting product code block | |
| JP2591242B2 (en) | Error detection method | |
| EP0146637B1 (en) | Method of detecting error | |
| JPH0393316A (en) | Error detection correction decoding device | |
| JPH0634313B2 (en) | Error correction method | |
| JPH048979B2 (en) | ||
| JPS59131237A (en) | Decoding circuit | |
| EP0650266A2 (en) | An error correction code decoder and a method thereof | |
| JPH0241032A (en) | Error correction device | |
| JP2606647B2 (en) | Error correction method | |
| JP2636432B2 (en) | Error correction method | |
| JP3277062B2 (en) | Error correction code decoding device | |
| JP2652398B2 (en) | Data transmission method | |
| JPH0137048B2 (en) | ||
| JPS60130927A (en) | Decoding method of product code | |
| JPS62256270A (en) | error correction device | |
| JP2518827B2 (en) | Encoding / decoding device | |
| JP2578740B2 (en) | Error correction method | |
| JP2594314B2 (en) | Data structure conversion method |