JPS62254540A - Error correction device - Google Patents

Error correction device

Info

Publication number
JPS62254540A
JPS62254540A JP9871786A JP9871786A JPS62254540A JP S62254540 A JPS62254540 A JP S62254540A JP 9871786 A JP9871786 A JP 9871786A JP 9871786 A JP9871786 A JP 9871786A JP S62254540 A JPS62254540 A JP S62254540A
Authority
JP
Japan
Prior art keywords
error correction
error
circuit
correction
data word
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.)
Pending
Application number
JP9871786A
Other languages
Japanese (ja)
Inventor
Keiichi Sakurai
桜井 敬一
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9871786A priority Critical patent/JPS62254540A/en
Publication of JPS62254540A publication Critical patent/JPS62254540A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain sure error correction without increasing the number of storage circuits by using a flag so as to discrimiante whether or not a data word is interpolated in reading information from the storage circuit and applying the interpolation depending on the result of discrimination. CONSTITUTION:The correction state flag of the 1st decoder 5 is stored in the 1st check word area, the correction state flag in the 2nd decoder 4 is stored in the 2nd check word area, the correction state flag is loaded in outputting a data word by an interpolation circuit 6 and whether or not the interpolation is to be executed is decided depending on the state of the flag of the both. Thus, the error correction is ensured to either a burst error or a random error without increasing the capacity of the storage circuit 7 and the possibility of error detection overlook or mis-correction is precluded.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、デジタルオーディオテープレコーダ等に用い
られるデジタル情報の誤り検出機能及び誤り′?T i
′E’9! ’+’e f!もつ誤り訂正装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention provides an error detection function and an error detection function for digital information used in a digital audio tape recorder or the like. Ti
'E'9! '+'e f! This invention relates to an error correction device having an error correction device.

[従来技術とその問題点] Oステープ等の誤りの多い記録媒体を使用する場合、二
重の誤り訂正符号を用いることがある。
[Prior art and its problems] When using a recording medium with many errors, such as O-stape, double error correction codes are sometimes used.

これによれば第1及び第2のチェックワードのそれぞれ
が別々のエラー訂正ブロックを構成することになるので
、チェックワードの何れか一万でエラーを訂正できない
ときでも、他方のチェックワードによりエラーを訂正す
ることができ、従ってエラー訂正能力を向上させること
ができる。ところで1ワード中の1ビツトでも誤ってい
る時には、1ワ一ド全体が誤っているものとして取扱わ
れるので、ランダムエラーが比教的多い受信データを扱
う場合には、必ずしもエラー訂正能力が充分であるとは
言えない。
According to this, each of the first and second check words constitutes a separate error correction block, so even if an error cannot be corrected with any one of the check words, the error can be corrected with the other check word. can be corrected, thus improving error correction capability. By the way, if even one bit in one word is wrong, the whole word is treated as wrong, so when dealing with received data that has a lot of random errors, the error correction ability is not necessarily sufficient. I can't say that there is.

そこで1ブロツク内の例えば2ワードエラーまで訂正で
き、エラーロケーションが分かっているとf!は、例え
ば4ワードエラー1でも訂正することができる距離5の
訂正能力の高いエラー訂正符号を用いてエラー訂正ブロ
ックに対する次段の復号を行なう場合、初段の復号でエ
ラーがあるにも拘らずエラーがないと判断するようなエ
ラー検出の見逃しや誤った訂正が生じると、この児逃し
、誤った訂正が次段の均号において新たな9逃し、誤っ
た訂正の要因となり、全体としてみた場合に誤動作の生
じる虞れが強くなる。
Therefore, if you can correct up to, for example, a 2-word error within one block, and the error location is known, f! For example, when performing the next stage of decoding for an error correction block using an error correction code with a high correction ability of a distance of 5, which can correct even a 4-word error of 1, an error occurs even though there is an error in the first stage of decoding. If an error detection is missed or an incorrect correction occurs, such as when it is determined that there is no error, this missed error or incorrect correction becomes a cause for new missed nines or incorrect corrections in the next stage of equalization, and when viewed as a whole, There is a strong possibility that malfunction will occur.

これを改着するために例えば1ワードエラー及び2ワー
ドエラーの訂正を行ない、これと共に例えば3ワ一ド以
上のワードが誤っていることを初段の復号で検出するよ
うになし、また、1ワードエラーとして訂正された場合
、2ワードエラーとして訂正された場合、3ワ一ド以上
のエラーとして訂正さj。た場合の各々を区別できる3
1つのポインタを付頒するようにし、次段の復号でこの
ポインタ状態を判別して訂正を行なうことにより、次段
の復号での見逃し、誤った訂正の虞rLを防止すること
が考えられている。これによればエラー検出及び訂正の
際の見逃し、誤った訂正の虞れを軽減し、例えばオーデ
ィオPCM信号を伝送する際に、誤った訂正による異音
が発生するような間頃点を解決できるが、ポインタ状態
を各ワード毎に記憶させる必要かあるため多量の記憶素
子が必要になる。例えば8にワードのデータに対してポ
インタは各1ビツトとしても8にビットも必要であり、
コストが高くなる欠点を有している。
In order to correct this, for example, 1-word errors and 2-word errors are corrected, and at the same time, for example, if a word of 3 or more words is erroneous, it is detected in the first stage decoding, and 1-word error is corrected. When it is corrected as an error, when it is corrected as a 2-word error, when it is corrected as an error of 3 or more words. 3.
It is thought that by distributing one pointer and determining the state of this pointer in the next stage of decoding and making corrections, it is possible to prevent the possibility of oversight or erroneous correction in the next stage of decoding. There is. According to this, it is possible to reduce the risk of oversight or incorrect correction during error detection and correction, and to solve the problem of abnormal noises caused by incorrect correction when transmitting an audio PCM signal, for example. However, since it is necessary to store the pointer state for each word, a large amount of storage elements are required. For example, for 8 words of data, the pointer requires 1 bit each, but 8 bits are also required.
It has the disadvantage of high cost.

[発明の目的] 本発明は上記の点に鑑みてなされたもので、記憶回路の
容量を増加することなく、バーストエラー及びランダム
エラーの何れに対してもエラー訂正を確実に行ない得、
しかも、エラー検出の見逃し又は誤った訂正を生じる虞
′れの少ない誤り訂正装置を提供することを目的とする
[Object of the Invention] The present invention has been made in view of the above points, and is capable of reliably correcting both burst errors and random errors without increasing the capacity of a storage circuit.
Moreover, it is an object of the present invention to provide an error correction device that is less likely to miss error detection or make erroneous corrections.

[発明の要点] 本発明は、第1の復号器での訂正状態フラグF、、、 
?i 1のチェックワード領域に記憶させ、第2の復号
器での訂正状!t3フラグF4.jを第2のチェックワ
ード領域に記憶させ、補間回路でデータワードW を出
力する際に訂正状態フラグF、、、、1j Fq+jfロードし、その両者のフラグ状態で補間する
か否かを決定するようにした本のである。
[Summary of the Invention] The present invention provides correction state flags F in the first decoder.
? Stored in the check word area of i 1, the correction letter in the second decoder! t3 flag F4. j is stored in the second check word area, and when the interpolation circuit outputs the data word W, the correction state flags F,..., 1j Fq+jf are loaded, and it is determined whether or not to interpolate based on the state of both flags. This is a book written like this.

[発明の実施例] まず、本発明の実施例に用いるエラー訂正符号について
説明する。エラー訂正符号を記述する場合、ベクトル表
現或いは巡回群による表現が用いられる。しかして、−
例として生成多項式rF(X)=X8+X’+X’+X
2+I Jの根をαとするrGF’(28) Jを考え
ると、「lブロック=32ワード」で4個のチェックワ
ードを用いる場合、パリティ検査行列HFi次のように
なる。
[Embodiments of the Invention] First, an error correction code used in an embodiment of the present invention will be described. When describing an error correction code, a vector representation or a cyclic group representation is used. However, -
As an example, the generator polynomial rF(X)=X8+X'+X'+X
Considering rGF' (28) J where the root of 2+I J is α, when using 4 check words with "1 block = 32 words", the parity check matrix HFi becomes as follows.

そして、伝送データをWとすると、 W=(WO,Wl、・・・、Wl0.W31)符号器で
は 迅v’ = 。
Then, when the transmission data is W, W=(WO, Wl, . . . , Wl0.W31) In the encoder, v'=.

を満足する4個のチェックワードW28%W29、Wl
0、W31を付加する。この誤り訂正符号は、1つのエ
ラー訂正ブロック内の2ワードエラーまで訂正が可能で
あり、エラーロケーションがわかっているときには3ワ
ードエラーまたは4ワードエラーの訂正が可能である。
4 check words that satisfy W28%W29, Wl
0, W31 is added. This error correction code can correct up to 2-word errors in one error correction block, and can correct 3-word errors or 4-word errors when the error location is known.

そして、上記4個のチェックワードを含むデータが伝送
され、受信された場合の誤り検出及び誤り訂正は次のよ
うにして行なう。
Then, when data including the above four check words is transmitted and received, error detection and error correction are performed as follows.

■ 受信データ免からシンドロームS。、Sl、S2、
S3を演算する。
■ Syndrome S due to lack of received data. , Sl, S2,
Calculate S3.

■ 誤り判定用のデータA−E’jiシンドローム5o
−83より演算する。
■ Data for error determination A-E'ji syndrome 5o
Calculate from −83.

A=SoS2+S。A=SoS2+S.

B=S、S2+5oS3 C=S、S3+82 D=B/A                  “E
=C/A ■ 誤り検出を行なう。
B=S, S2+5oS3 C=S, S3+82 D=B/A “E
=C/A ■ Perform error detection.

(a)  5o=81=82=8.=0のとき、誤りな
しとしてデータはその11訂正せず、 (b)  5o(0,51)o、 82’:o%s3”
5゜A=O1C=0 のとき、1ワードエラーであり、エラーロケーションl
を l=log(S1/so) によって演算し、 △ Wz = Wt + S 。
(a) 5o=81=82=8. = 0, there is no error and the data is not corrected, (b) 5o(0,51)o, 82':o%s3"
5゜When A=O1C=0, it is a one word error and the error location l
is calculated by l=log(S1/so), and △ Wz = Wt + S.

によりエラー訂正を行なう。Error correction is performed by

(e)  A(o、Boo、 C”40 ノドeid 
2 ’7− )”以上のエラーであり、誤り位置をl、
にとすると、 t+に=zog(1 を満足するlとkの総ての組合わせについて α1+α1=Dとなったときのlとkの組合わせtn出
する。この関係が成立しないときは、3ワ一ド以上のエ
ラーであり、このときけ訂正せず、 また、取立したときは2ワードエラー であり、 e1=(aSo+S、)/D ek=(αkSo+81 )/D を求め、 △ w =w +e △ % = Wk+ ek により訂正する。
(e) A(o, Boo, C”40 throat eid
2'7-)" or more error, and the error position is l,
Then, for all combinations of l and k that satisfy t+=zog(1, calculate the combination tn of l and k when α1+α1=D. If this relationship does not hold, 3 The error is one word or more, and it is not corrected at this time, and when it is collected, it is a two-word error. Find e1=(aSo+S,)/Dek=(αkSo+81)/D, and △ w = w. Correct by +e△%=Wk+ek.

次に図面を参照して本発明の一実施例を説明する。1ず
、符号作成機能を有する符号回路について説明する。第
1図は符号回路のブロック図、第2図はその符号の配列
状態を示したものである。
Next, an embodiment of the present invention will be described with reference to the drawings. First, a code circuit having a code creation function will be explained. FIG. 1 is a block diagram of the code circuit, and FIG. 2 shows the arrangement of the codes.

第1図に示すように符号回路は、C1符号器1、C2符
号器2、記憶回路3により構成されており、デジタル情
報がC7符号″a1に頑次入力され、記憶回路3に記憶
される。この場合、C4符号器1に入力されるデジタル
信号は、第2図のSエリアに示すようにww   %w
w    ・・・WO,0’  0,1  0.2’ 
 0.3%  0.27%W    W、・・・W  
の784ワードである。
As shown in FIG. 1, the encoder circuit is composed of a C1 encoder 1, a C2 encoder 2, and a memory circuit 3. Digital information is persistently input to the C7 code "a1" and stored in the memory circuit 3. In this case, the digital signal input to the C4 encoder 1 is ww %w as shown in the S area of FIG.
w...WO,0' 0,1 0.2'
0.3% 0.27%W W,...W
It is 784 words.

1.0− 1,1   27.27 C1符号器lでは、前述し九方法によりw、 、 0・
w、1.°°゛W1.27(但し1==Q〜27) から第2図のPエリアに示すチェックワードw、、、 
、 w、、、%W1.301Wl、31を求め、記憶回
路3に記憶させる。そして、この記憶回路3に記憶さA
2rS+PJの符号がC2符号器2へ送られろ。C2符
号器2では、C1符号器1と同様に wO,、wl、j%W2.jl °−w27.jから第
2図のQエリアに示すチェックワードw2B、j、 w
l9.j、 w、0.j、 w3.j(但しj=0〜3
1) を計算する。従って、C2符号器2からは、[S十P+
Q Jの符号が出力される。
1.0- 1,1 27.27 In the C1 encoder l, w, , 0・
w, 1. °°゛W1.27 (however, 1==Q~27) to the check word w shown in area P in Figure 2,...
, w, ,%W1.301Wl,31 is determined and stored in the storage circuit 3. Then, A is stored in this memory circuit 3.
Send the code of 2rS+PJ to C2 encoder 2. In the C2 encoder 2, as in the C1 encoder 1, wO,, wl, j%W2. jl °−w27. j to check word w2B, j, w shown in Q area of Figure 2
l9. j, w, 0. j, w3. j (however, j = 0 to 3
1) Calculate. Therefore, from the C2 encoder 2, [S0P+
The sign of Q J is output.

次に復号回路について説明する。復号回路は、第3図に
示すようにC2復号嶺4、C1復号器5、補開回路6、
記憶回路7からなり、誤り訂正ワードの付加された符号
がC2復号器4に入力される。このC2復号器4は、入
力された符号を記憶回路7に送り、第4図に示すように
順次指定の配列に記憶する。また、C2復号器4は、並
行してw、、 、 w、、、亀W2 、 j、 W3.
3%””29*j ′”3oej % Wsl、5%(
但しj=O〜31) “ から前述のように□シンドロームSを計算し、2重
訂正を行なう。このとき訂正パターンにより、次表1に
示すような訂正状態フラグFqsj’現在シンドローム
を計算しているブロックのチェックワード部分(W2B
、j   31.J )に記憶させる。第4〜W 図の例ではW  の配列箇所の下位3ビツトに記31、
j 上記のようにして、ブロックがrj=OJからrj=3
Btで実行し、訂正状態フラグFqtj’記憶回路7に
記憶すると、次にこの内容がC1復号器5に送られる。
Next, the decoding circuit will be explained. As shown in FIG. 3, the decoding circuit includes a C2 decoding circuit 4, a C1 decoder 5, a compensating circuit 6,
It consists of a storage circuit 7, and the code to which an error correction word has been added is input to the C2 decoder 4. The C2 decoder 4 sends the input codes to the storage circuit 7, and stores them in a designated array in sequence as shown in FIG. Further, the C2 decoder 4 performs w, , , w, , turtle W2 , j, W3 .
3%””29*j ′”3oej % Wsl, 5% (
However, from j = O ~ 31) □ syndrome S is calculated as described above and double correction is performed.At this time, according to the correction pattern, the current syndrome is calculated using the correction status flag Fqsj' as shown in Table 1 below. check word part of the block (W2B
, j 31. J). In the example shown in Figures 4 to W, the lower 3 bits of the array location of W are written 31,
j As above, the block changes from rj=OJ to rj=3
Once executed in Bt and stored in the correction state flag Fqtj' storage circuit 7, this content is then sent to the C1 decoder 5.

C復号器5は、F   −F   17)CM訂正状F
41              Q、OQjl   
  2フラグを用いて4重訂正1で行なうことができる
が、訂正を多く行なうと誤訂正を行なう確率が高くなる
ため、誤訂正の可能性を考えながら、2ワードエラーま
で訂正する。3ワ一ド以上のエラーで訂正できなかった
場合、それぞれ次の表2に示すような訂正状態フラグF
1*Pを現在訂正を行なっているブロックのチェックワ
ード部分(W、、28〜W、、、 )に記jRさせる。
The C decoder 5 receives F −F 17) CM correction letter F
41 Q, OQjl
Although quadruple correction 1 can be performed using two flags, the more corrections are performed, the higher the probability of erroneous corrections will be, so corrections up to 2 word errors are performed while considering the possibility of erroneous corrections. If an error of 3 words or more cannot be corrected, a correction status flag F as shown in Table 2 below is displayed.
1*P is written in the check word portion (W, , 28 to W, , ) of the block currently being corrected.

21!4図の例ではWi、31の配列箇所の下位3ビツ
トに記憶している。
In the example shown in Figure 21!4, Wi, is stored in the lower 3 bits of the array location of 31.

表2 しかして、C14号器5ではC1のチェックワード(W
i、28〜Wij1 )により2ワードエラーまでの場
合は訂正を行ない、その時チェックワードW、 、 3
゜の部分の下位3ビツトに訂正状態フラグF、、pとし
て「000Jを豆てる。
Table 2 However, in C14 unit 5, the check word of C1 (W
i, 28 to Wij1), if there are up to 2 word errors, correction is performed, and then the check word W, , 3
The lower 3 bits of the ゜ part are the correction status flags F,,p, and ``000J'' is written.

誤りなし→000 1重訂上→000 2重訂圧→000 ソシて、3ワ一ド以上のエラーが検出されると、現在訂
正を行なっているブロック中の各ワードに対して、C2
側でつげた訂正状態フラグ「FQ、j=XXIJ(XX
IはC2で1重訂正以上の部分)(XはrO,14何れ
でもよい)の個数Mが「M≦4」のとき 各シンドローム から pQ、j=xxt のついているワードのロヶーシ、ンIM失させて消失計
算を行なう。
No error → 000 1st revision top → 000 2nd revision pressure → 000 So, when an error of 3 or more words is detected, C2 is applied to each word in the block currently being corrected.
The correction status flag "FQ, j = XXIJ (XX
I is the part with more than one correction in C2) (X can be either rO or 14) When the number M is "M≦4", the locus, nIM error of the word with pQ, j=xxt from each syndrome Then, perform the disappearance calculation.

コflK成功fatfr Fi、、 J ’e r O
00J失敗すれげr vll、 JをroolJとする
FlK success fatfr Fi,, J'er O
00J failed r vll, Let J be roolJ.

もし、「M≧5」のと1!は。If “M≧5” and 1! teeth.

rF   =X11J(XllけC2で2重訂正以上の
部分)Q、j の数Nが N≦4であれば、 この部分のワードのロケーションを消失させて消失計算
を行なう。
rF = X11J (portion with double correction or more in Xll x C2) Q, If the number N of j is N≦4, the word location in this part is deleted and erasure calculation is performed.

成功すればr F、、、 JをroooJ失敗のときr
 vl、、 JをroolJとする。
If successful, r F,..., J, roooJ If unsuccessful, r
Let vl,, J be roolJ.

N≧5であれば、 FoIj=l l 1 (C2で訂正不可能の位置)の
数りが L≦4であれば このFo、j=111のロードのロケーションヲ消失さ
せて消失計算する。
If N≧5, and if the number of FoIj=l l 1 (positions that cannot be corrected in C2) is L≦4, then the location of the load of Fo, j=111 is erased and the loss calculation is performed.

成功のときr v、、 Jを「000」失敗のときr 
F、、pJをroloJとする。
When successful, r v,, J is ``000'', when unsuccessful, r
Let F,,pJ be roloJ.

L≧5のときは 消失計算不能であり、 r Wi9. Jを「lOO」とする。When L≧5 It is impossible to calculate the disappearance, r Wi9. Let J be "lOO".

なお、N≧5のときは、5消失は出来ない。Note that when N≧5, 5 cannot be eliminated.

上記のようにして記憶回路2のP、Qエリアに記憶させ
たr pJ9. J r v、jJから誤筐つている確
率の高いものを判定し、補間回路6においてそのワード
を補間する。
r pJ9. stored in the P and Q areas of the storage circuit 2 as described above. A word with a high probability of erroneous casing is determined from J r v, jJ, and the interpolation circuit 6 interpolates the word.

上記補間回路6は、第5図に詳細を示すように3ビツト
のラッチ回路10,11、lワード(8ピツト)のラッ
チ回路15、アンド回路12a〜12C,オア回路13
、セレクタ14からなっており、記憶回路7から読出さ
れるデータがラッチ回路10.11及びセレクタ14の
入力端子Aに入力される。そして、ラッチ回路10.1
1にラッチされた3ビツトのデータが、アンド回路12
a〜12c及びオア回路13を介してセレクト信号SE
L (補正信号)となり、セレクタ14へ送られる。ま
た、セレクタ14の入力端子BKば、ラッチ回路15の
出力データが入力される。上記セレクタ14F1.オア
回路13を介して送られてくるセレクト信号SELに従
って入力データA、B’(選択し、ラッチ回路15へ出
力する。このラッチ回路15は、セレクタ14により選
択されたデータをラッチし、セレクタ14の入力端子B
に戻すと共に、次段のD/A変換回路(図示せず)へ出
力する。
The interpolation circuit 6 includes, as shown in detail in FIG.
, and a selector 14, and data read from the memory circuit 7 is input to the latch circuit 10.11 and the input terminal A of the selector 14. And latch circuit 10.1
The 3-bit data latched to 1 is sent to the AND circuit 12.
a to 12c and the select signal SE via the OR circuit 13.
It becomes L (correction signal) and is sent to the selector 14. Further, output data of the latch circuit 15 is inputted to the input terminal BK of the selector 14. Said selector 14F1. The input data A, B' (selects and outputs to the latch circuit 15 according to the select signal SEL sent via the OR circuit 13. This latch circuit 15 latches the data selected by the selector 14, and outputs it to the latch circuit 15. input terminal B
At the same time, it is output to the next stage D/A conversion circuit (not shown).

上記のように構成され之補間回路6に、ラッチ回路15
からD/A変喚変格回路ジタル信号W。、。
The interpolation circuit 6 configured as described above includes a latch circuit 15.
From the D/A transformation circuit digital signal W. ,.

を送出する前に、まず、Wo、 3.の下位3ビツトに
記憶されているC1側の訂正状傅フラグF。9.全読出
し、記憶回路7から送られてくるW  の8ビ0.31 ットのデータ中下位3ビツトをラッチ回路1oにラッチ
する。次にW  の下位3ピツトに記憶さ31.0 れているC2側の訂正状態フラグF0.。を読出し、同
様に下位3ピツトをラッチ回路11にラッチする。
Before sending out Wo, 3. The correction letter flag F on the C1 side is stored in the lower 3 bits of the C1 side. 9. After full reading, the middle and lower three bits of the 8-bit 0.31 bit data of W sent from the storage circuit 7 are latched into the latch circuit 1o. Next, the C2 side correction state flag F0.0 stored in the lower three pits of W. . is read out, and the lower three pits are similarly latched into the latch circuit 11.

更に各々のフラグ情報は、アンド回路12a〜12e及
びオア回路13を介してセレクト信号SELとなり、セ
レクタ14へ送られる。そして、Wo、oのデータが読
出され、セレクタ14の入力端子Aに与えられる。ここ
で上記セレクト信号SELは、通常は′0”であり、次
P、3に示すフラグ状゛態のとき61”となる。
Furthermore, each flag information becomes a select signal SEL via AND circuits 12a to 12e and an OR circuit 13, and is sent to a selector 14. Then, the data of Wo and o are read out and applied to the input terminal A of the selector 14. Here, the select signal SEL is normally ``0'', and becomes 61'' when in the flag state shown in P and 3 below.

表3 そして、上記セレクタ14は、オア回路13を介して与
えられるセレクト信号SELが10″のとき入力端子A
側のデータを選択し、セレクト信号SELが1”のとき
入力端子B側のデータを選択し、ラッチ回路15へ出力
する。すなわち、訂正状態フラグFi、、がラッチ回路
10にラッチされ、F−、がラッチ回路11にラッチく
れ六シー41を綽きデータワードWi * jがセレク
タ14の入力端子Aに加わり、セレクト信号SELが′
01のとき(上記表3以外の条件の時)、入力端子Aの
Wi、 jがセレクタ14から出力されてラッチ回路1
5にラッチされる。このラッチ回路15にラッチされた
データは、次段のD / A変換回路に送り出されると
共に、セレクタ14の入力端子Bに入力される。
Table 3 When the select signal SEL applied via the OR circuit 13 is 10'', the selector 14 selects the input terminal A.
When the select signal SEL is 1'', the data on the input terminal B side is selected and output to the latch circuit 15. That is, the correction state flags Fi, , are latched in the latch circuit 10, and the data on the input terminal B side is selected and outputted to the latch circuit 15. , causes the latch circuit 11 to latch the input terminal 41, the data word Wi*j is applied to the input terminal A of the selector 14, and the select signal SEL becomes '
01 (under conditions other than Table 3 above), Wi and j of input terminal A are output from selector 14 and latch circuit 1
It is latched to 5. The data latched by the latch circuit 15 is sent to the next stage D/A conversion circuit and is also input to the input terminal B of the selector 14.

また、上記条件が成立し、セレクト信号SELが@″1
#のときは、セレクタ14の入力端子B側が選択される
ので、前回D/A変換回路に送られたデータが再びD/
A変換回路に送られることになる。すなわち、前値ホー
ルドにより補間が行なわれる。
In addition, the above conditions are satisfied and the select signal SEL is @″1
When #, the input terminal B side of the selector 14 is selected, so the data sent to the D/A converter circuit last time is sent to the D/A converter again.
It will be sent to the A conversion circuit. That is, interpolation is performed by holding the previous value.

上記のように補間回路6は、データワードW、、jをD
/A変換回路に出力する時は、Wi、jのC11j、l
jの訂正状態フラグF、、;とC2側の訂正状態フラグ
F、jt予めラッチ回路10.11に取込み、データワ
ードWt 、 jの信頼性を確めてデータワードwlI
jを取込む。このように、データワードWt 、 jの
補間可否を判定する際に、記憶回路2内のチェノクワー
ド記、憶領域に記憶させたC4側及びC2側の訂正状態
フラグを使用し、その両者のフラグをロードし、論理回
路により補正信号を作成している為に、特別に各ワード
単位にフラグを記憶する回路を必要とせず、記憶回路を
増やさずに容易に誤り訂正回路を構成し得るものである
As mentioned above, the interpolation circuit 6 converts the data words W,,j into D
When outputting to the /A conversion circuit, C11j, l of Wi,j
The correction status flags F, jt on the C2 side are taken into the latch circuit 10.11 in advance, the reliability of the data word Wt, j is confirmed, and the data word wlI is
Take in j. In this way, when determining whether data words Wt, j can be interpolated, the correction status flags on the C4 side and C2 side stored in the storage area of the memory circuit 2 are used, and both flags are Since the error correction signal is loaded and a correction signal is created by a logic circuit, there is no need for a special circuit to store flags in each word, and an error correction circuit can be easily configured without increasing the number of storage circuits. .

なお、上記実施例では、前値ホールドにより補間処理を
行なうようにしたが、その他、平均値による補間処理を
行なうようにしてもよい。
In the above embodiment, interpolation processing is performed by holding the previous value, but interpolation processing using an average value may also be performed.

[発明の効果コ 以上詳記したように本発明によれば、第1、第2の復号
器によって誤り訂正されたデータワードを記憶回路から
読出す際に、そのデータワードに対応して上記記憶回路
に記憶されている第1、第2のフラグを用いてそのデー
タワードを補間するか否かを判定し、その判定結果によ
り補間を行なう様にしたので、特別に各ワード単位にフ
ラグを記憶する回路を必要とせず、記憶回路を増やさず
に、バーストエラー及びランダムエラーの何れに対して
もエラー訂正を確実に行なうことができ、しかも、エラ
ー検出の見逃し又は誤った訂正を生じる虞れの少ない誤
り訂正装置を提供することがてきる。
[Effects of the Invention] As described in detail above, according to the present invention, when a data word error-corrected by the first and second decoders is read out from the memory circuit, the memory circuit The first and second flags stored in the circuit are used to determine whether or not to interpolate the data word, and interpolation is performed based on the determination result, so a flag is specially stored for each word. It is possible to reliably perform error correction for both burst errors and random errors without requiring additional memory circuits, and without increasing the number of memory circuits. This makes it possible to provide fewer error correction devices.

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

図面は本発明の一実施例を示すもので、第1図は符号回
路部の構成を示すブロック図、第2図は第1図における
符号配列状態を示す図、第3図は復号回路部の構成を示
すブロック図、第4図は第3図の復号時における符号配
列状態を示す図、第5図Fi!3図における補間回路の
詳細を示すブロック図である。 1・・・C符号器、2・・・C2符号器、3・・・記憶
回路、4・・・C2復号器、5・・・C1復号器、6・
・・補間回路、7・・・記憶回路、10,11.15・
・・ラッチ回路、14・−・セレクタ。 出願人代理人  弁理士 鈴 江 武 溶用 1 図 r) 名 2 図 冨己ff、 [1j17より 第 5 図
The drawings show one embodiment of the present invention. FIG. 1 is a block diagram showing the configuration of the code circuit section, FIG. 2 is a diagram showing the code arrangement state in FIG. 1, and FIG. 3 is a block diagram showing the configuration of the code circuit section. A block diagram showing the configuration, FIG. 4 is a diagram showing the code arrangement state at the time of decoding of FIG. 3, and FIG. 5 is a diagram showing the code arrangement state during decoding of FIG. FIG. 4 is a block diagram showing details of the interpolation circuit in FIG. 3; DESCRIPTION OF SYMBOLS 1...C encoder, 2...C2 encoder, 3...Storage circuit, 4...C2 decoder, 5...C1 decoder, 6...
...Interpolation circuit, 7...Memory circuit, 10,11.15.
...Latch circuit, 14...Selector. Applicant's agent Patent attorney Takeshi Suzue 1 Figure r) Name 2 Tomomi ff, [Figure 5 from 1j17

Claims (1)

【特許請求の範囲】 デジタルデータを複数個のデータワード群に分け、 このデータワード群の第1の系列に対して第1の誤り訂
正符号を付加し、 上記データワード群の第2の系列に対して第2の誤り訂
正符号を付加し、 データワード記憶領域と第1及び第2の誤り訂正符号記
憶領域とを有する記憶回路に、上記データワード群と第
1及び第2の誤り訂正符号を記憶させ、 この記憶回路の記憶内容を読出して記憶媒体に記憶し、 この記憶媒体の再生時に第1及び第2の誤り訂正符号を
用いてデータワード群の誤り検出及び誤り訂正を行なう
誤り訂正装置に於て、 データワード群の第1の系列に対して誤り検出及び誤り
訂正を行なうと共に、誤り訂正の状態を第1のフラグと
して上記記憶回路の第1の誤り訂正符号記憶領域に記憶
させる第1の復号器と、データワード群の第2の系列に
対して誤り検出及び誤り訂正を行なうと共に、誤り訂正
の状態を第2のフラグとして上記記憶回路の第2の誤り
訂正符号記憶領域に記憶させる第2の復号器と、第1及
び第2の復号器によって誤り訂正されたデータワードを
上記記憶回路から読出す際に、そのデータワードに対応
して上記記憶回路に記憶されている第1及び第2のフラ
グを用いてそのデータワードを補間するか否かを判定し
、その判定結果により補間を行なう補間回路と を具備したことを特徴とする誤り訂正装置。
[Claims] Digital data is divided into a plurality of data word groups, a first error correction code is added to a first series of the data word groups, and a first error correction code is added to a second series of the data word groups. A second error correction code is added to the data word group and the first and second error correction codes are added to a storage circuit having a data word storage area and first and second error correction code storage areas. an error correction device that reads out the stored contents of this storage circuit and stores it in a storage medium, and performs error detection and error correction of a data word group using first and second error correction codes when reproducing this storage medium; Error detection and error correction are performed on the first series of the data word group, and the error correction state is stored as a first flag in the first error correction code storage area of the storage circuit. 1 decoder performs error detection and error correction on a second series of data words, and stores the error correction state as a second flag in a second error correction code storage area of the storage circuit. and a second decoder that corrects errors by the first and second decoders, and when reading the data word error-corrected by the first and second decoders from the storage circuit, the first decoder stored in the storage circuit corresponds to the data word. and an interpolation circuit that determines whether or not to interpolate the data word using the second flag and performs interpolation based on the determination result.
JP9871786A 1986-04-28 1986-04-28 Error correction device Pending JPS62254540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9871786A JPS62254540A (en) 1986-04-28 1986-04-28 Error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9871786A JPS62254540A (en) 1986-04-28 1986-04-28 Error correction device

Publications (1)

Publication Number Publication Date
JPS62254540A true JPS62254540A (en) 1987-11-06

Family

ID=14227272

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9871786A Pending JPS62254540A (en) 1986-04-28 1986-04-28 Error correction device

Country Status (1)

Country Link
JP (1) JPS62254540A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02239729A (en) * 1989-03-14 1990-09-21 Mitsubishi Electric Corp Decoder
KR100544089B1 (en) * 2001-06-11 2006-01-23 후지쯔 가부시끼가이샤 Recording and reproducing apparatus, signal decoding circuit, error correction method and iterative decoder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02239729A (en) * 1989-03-14 1990-09-21 Mitsubishi Electric Corp Decoder
KR100544089B1 (en) * 2001-06-11 2006-01-23 후지쯔 가부시끼가이샤 Recording and reproducing apparatus, signal decoding circuit, error correction method and iterative decoder

Similar Documents

Publication Publication Date Title
US5757824A (en) Code error correction apparatus
KR930001071B1 (en) Error correction circuit
US6018817A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
JP2545061B2 (en) Decryption device
KR0163566B1 (en) Error correction method
EP0129849B1 (en) Error correction method and system
US4716566A (en) Error correcting system
JPS63197123A (en) Error correcting and checking device
JPH084233B2 (en) Error correction code decoding device
US4107650A (en) Error correction encoder and decoder
JPH0420294B2 (en)
US5751745A (en) Memory implemented error detection and correction code with address parity bits
US4660200A (en) Method and apparatus for processing an error flag of a PCM signal
US5761221A (en) Memory implemented error detection and correction code using memory modules
EP0146637B1 (en) Method of detecting error
JPS62254540A (en) Error correction device
US4521886A (en) Quasi-soft decision decoder for convolutional self-orthogonal codes
JPS6085627A (en) Circulating complete binary code decoder
JPH048979B2 (en)
US5896397A (en) Method and device for error protection of programmable memories
TW202147325A (en) Data access system, and method for operating a data access system
JP2664267B2 (en) Code error correction device
JPH0691471B2 (en) Error correction circuit
JPS62256270A (en) Error correction device
JP2612029B2 (en) Error correction control method