JPH0563862B2 - - Google Patents

Info

Publication number
JPH0563862B2
JPH0563862B2 JP58108866A JP10886683A JPH0563862B2 JP H0563862 B2 JPH0563862 B2 JP H0563862B2 JP 58108866 A JP58108866 A JP 58108866A JP 10886683 A JP10886683 A JP 10886683A JP H0563862 B2 JPH0563862 B2 JP H0563862B2
Authority
JP
Japan
Prior art keywords
data
error
check code
erroneous
parity check
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58108866A
Other languages
Japanese (ja)
Other versions
JPS601674A (en
Inventor
Masato Tanaka
Takuji Himeno
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP58108866A priority Critical patent/JPS601674A/en
Publication of JPS601674A publication Critical patent/JPS601674A/en
Publication of JPH0563862B2 publication Critical patent/JPH0563862B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1806Pulse code modulation systems for audio signals
    • G11B20/1813Pulse code modulation systems for audio signals by adding special bits or symbols to the coded information

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、いわゆるデジタル記録再生装置に使
用して好適な誤り検出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an error detection method suitable for use in a so-called digital recording/reproducing device.

背景技術とその問題点 例えば音声信号をAD変換してデジタル信号に
て記録再生することが提案されている。その場合
にいわゆるクロスインターリーブによる誤り訂正
が行われる。すなわちデジタル信号の所定ビツト
にてデータワードを形成し、このデータワードの
連続する所定数をデータブロツクとしてこのデー
タブロツク内の系列による例えばCRC検査符号
が設けられると共に、データブロツクの連続に対
して上述のデータブロツク内の系列とは異なる系
列による例えばパリテイチエツクコードが設けら
れる。
BACKGROUND TECHNOLOGY AND PROBLEMS For example, it has been proposed to perform AD conversion of audio signals and record and reproduce them as digital signals. In this case, error correction by so-called cross interleaving is performed. That is, a data word is formed using predetermined bits of a digital signal, a predetermined number of successive data words are used as a data block, and a CRC check code, for example, is provided according to a sequence within this data block, and the above-mentioned method is applied to the continuation of the data block. For example, a parity check code is provided, which has a different sequence than that in the data block.

例えば第1図において、記録再生(伝送)され
るデータ信号は同期信号Sの後にアドレス信号A
が設けられ、その後にそれぞれ16ビツトのデータ
ワードD1,D2,D3,D4が設けられ、さらにそれ
ぞれ16ビツトパリテイチエツクコードP,Q、
CRC検査符号Cが設けられて1データブロツク
とされる。このデータブロツクが順次伝送され
る。ここでCRC検査符号Cは、同一データブロ
ツク中のデータワードD1〜D4及びパリテイチエ
ツクコードP,Qに対して形成される。またパリ
テイチエツクコードP,Qは、第2図に示すよう
にデータブロツクを順次配列した場合に、例えば
実線及び破線で示す系列に対して形成される。な
おこの場合にパリテイチエツクコードQはコード
Pも含んだデータについて形成されるので、まず
パリテイチエツクコードPが形成された後にパリ
テイチエツクコードQが形成され、その後に
CRC検査符号Cが形成される。
For example, in FIG. 1, the data signal to be recorded/reproduced (transmitted) follows the synchronization signal S and then the address signal A.
are provided, followed by 16-bit data words D 1 , D 2 , D 3 , D 4 , respectively, and 16-bit parity check codes P, Q, D 4 , respectively.
A CRC check code C is provided to form one data block. This data block is transmitted sequentially. Here, a CRC check code C is formed for data words D 1 to D 4 and parity check codes P and Q in the same data block. Furthermore, parity check codes P and Q are formed, for example, for the series shown by solid lines and broken lines when data blocks are arranged sequentially as shown in FIG. In this case, the parity check code Q is created for data that also includes the code P, so the parity check code Q is created after the parity check code P is created, and then the parity check code Q is created.
A CRC check code C is formed.

このようにすることにより、再生(復調)時
に、任意のパリテイチエツクコードPまたはQの
系列において、その系列に含まれるデータワード
の内でCRC検査符号によつて検出される誤りが
1ワードのみである場合には、パリテイチエツク
コードPまたはQによつて訂正を行うことがで
き、さらに2つの系列による誤り訂正を交互に繰
り返すことにより訂正能力を向上させることがで
きる。
By doing this, during reproduction (demodulation), in a sequence of any parity check code P or Q, only one error among the data words included in the sequence is detected by the CRC check code. In this case, correction can be performed using parity check code P or Q, and the correction ability can be improved by alternately repeating error correction using the two sequences.

ところがこのような装置において、例えば一度
使用された記録媒体を再使用して記録を行つた場
合、消し残こりによつて前のデータ信号が再生さ
れることがある。その場合に消し残こりによるデ
ータ信号は、その部分のみについて見れば正しい
ので、CRC検査符号では誤りが検出できない。
However, in such an apparatus, when recording is performed by reusing a recording medium that has been used once, the previous data signal may be reproduced due to unerased data. In this case, the data signal due to the erased residue is correct if only that part is looked at, so errors cannot be detected by the CRC check code.

また誤りの内容によつて確率的にCRC検査符
号による検出が行われない場合もある。
Further, depending on the content of the error, detection using the CRC check code may not be performed with probability.

このためこのような誤つたデータ信号が見逃さ
れて再生されると、再生信号中で異常音となつて
極めて音質を損ねてしまう。
Therefore, if such an erroneous data signal is overlooked and reproduced, an abnormal sound will be generated in the reproduced signal and the sound quality will be extremely degraded.

あるいは上述のパリテイチエツクコードPまた
はQの系列において、CRC検査符号で検出され
た誤りデータワードと、検出されなかつた誤りデ
ータワードが同時にあつた場合に、検出された誤
りデータワードに誤訂正が行われ、これが次の系
列に影響して誤訂正が広がつてしまうおそれがあ
る。
Alternatively, in the series of parity check codes P or Q mentioned above, if an error data word detected by the CRC check code and an error data word that was not detected occur at the same time, the detected error data word is incorrectly corrected. This may affect the next series and cause the erroneous correction to spread.

発明の目的 本発明はこのような点にかんがみ、誤りのデー
タワードが確実に検出されるようにしたものであ
る。
OBJECTS OF THE INVENTION The present invention has been designed to ensure that erroneous data words are detected in consideration of these points.

発明の概要 本発明は、デジタル信号の所定ビツトにてデー
タワードを形成し、このデータワードの連続する
所定数をデータブロツクとしてこのデータブロツ
ク内の系列による一の誤り検査符号が設けられる
と共に、上記データブロツクの連続に対して上記
データブロツク内の系列とは異なる複数の系列に
よる他の複数の誤り検査符号が設けられてなるデ
ータ信号を復調するに当り、上記他の複数の誤り
検査符号のうち少なくとも1つ以上の検査符号に
よつて誤りが検出され、かつ誤りの検出されなか
つた残りの誤り検査符号の全てによつて正しいと
も検出されないような上記データワードのみを誤
りと見なすようにした誤り検出方法であつて、こ
れによれば誤りのデータワードを確実に検出する
ことができる。
SUMMARY OF THE INVENTION The present invention comprises forming a data word using predetermined bits of a digital signal, using a predetermined number of successive data words as a data block, and providing an error check code according to a series within the data block. When demodulating a data signal in which a plurality of other error check codes with a plurality of sequences different from the sequences in the data block are provided for a series of data blocks, one of the other plurality of error check codes is used. An error in which only the above-mentioned data words in which an error is detected by at least one check code and which are not detected as correct or correct by all of the remaining error check codes in which no error is detected are considered to be errors. A detection method according to which erroneous data words can be reliably detected.

実施例 第3図において、データワードの書き込まれる
ランダムアクセスメモリの各ワードに、16ビツト
のデータと共にエラーポインタ用のフラグF(1
ビツト)が設けられる。ここでランダムアクセス
メモリの全体の構成は第2図と同様であつて、さ
らに左右に延長されて、一回の誤り訂正に関係さ
れるデータブロツクに相当する数のアドレスが設
けられているものである。
Embodiment In FIG. 3, each word of the random access memory into which a data word is written is filled with 16 bits of data as well as an error pointer flag F(1).
bit) is provided. Here, the overall configuration of the random access memory is the same as that shown in Fig. 2, and is further extended left and right to provide a number of addresses corresponding to the data blocks related to one error correction. be.

このようなランダムアクセスメモリに対して、
まずフラグFを全て“1”にセツトする。
For such random access memory,
First, all flags F are set to "1".

次にCRC検査符号Cで誤りがないと判断され
たデータブロツクのデータ信号D1〜D4、パリテ
イチエツクコードP,Qをアドレス信号Aに対応
するアドレスに書き込み、書き込まれた各ワート
のフラグFを“0”にする。
Next, the data signals D 1 to D 4 and parity check codes P and Q of the data block determined to be free of errors by the CRC check code C are written to the address corresponding to the address signal A, and the flag of each written word is written. Set F to “0”.

さらにパリテイチエツクコードPの系列で検査
を行い、このときフラグFが“1”のデータワー
ドがなく、かつパリテイチエツクで誤りと判断さ
れた場合、その系列に含まれる全てのデータワー
ドのフラグFを“1”にする。これを全データブ
ロツクについて行う。
Furthermore, a check is performed on the series of parity check code P, and if there is no data word with flag F set to "1" and the parity check is determined to be an error, the flags of all data words included in the series are checked. Set F to “1”. This is done for all data blocks.

さらにパリテイチエツクコードQの系列で検査
を行い、上述と同様にフラグFが“1”のデータ
ワードがなく、かつパリテイチエツクで誤りと判
断された場合に、その系列に含まれる全てのデー
タワードのフラグFを“1”にする。これと共
に、上述以外の場合に、フラグFが“1”のデー
タワードが1個のみのときに誤り訂正を行う。こ
れを全データブロツクについて行う。
Furthermore, a check is performed on the series of parity check code Q, and if there is no data word with flag F set to "1" and the parity check is determined to be an error, then all data included in that series are checked. Set word flag F to "1". At the same time, in cases other than the above, error correction is performed when there is only one data word in which the flag F is "1". This is done for all data blocks.

以後従来と同様にパリテイチエツクコードP,
Qの系列による誤り訂正を交互に行つて訂正能力
を高める。
From then on, parity check code P,
Error correction is performed alternately using Q sequences to improve the correction ability.

このようにして誤り検出及び訂正が行われる。
この方法によれば上述のCRC検査符号の見逃し
による誤り発生は防止され、さらに誤訂正によつ
て誤りの影響が広がるおそれもない。
Error detection and correction is performed in this way.
According to this method, the occurrence of an error due to the above-mentioned missed CRC check code is prevented, and furthermore, there is no possibility that the influence of the error will spread due to erroneous correction.

すなわち第4図において、例えばCRC検査符
号Cによる誤りが検出されず、中央のaのデータ
ブロツクのみが誤りであつた場合に、パリテイチ
エツクコードPの系列で検査を行うと、実線で囲
んだデータワードが誤りと判断され、フラグFが
“1”にされる。次にパリテイチエツクコードQ
の系列で検査が行われ、このときデータブロツク
aのデータワードD1〜D4、Pはすでにフラグが
“1”となつているので、このデータワードを含
む系列の検査は行われず、データワードQを含む
破線で囲んだデータワードが誤りと判断され、以
後これによつて訂正が行われる。なお図中のEは
誤りを示す。また線で囲まれていないEの付され
たデータワードは、パリテイチエツクコードQの
系列による検査を先に行つた場合に検出される誤
りである。
In other words, in Fig. 4, for example, if an error is not detected by the CRC check code C and only the data block a in the center is an error, if a check is performed using the parity check code P, the result will be as shown in the solid line. The data word is determined to be an error, and flag F is set to "1". Next, parity check code Q
At this time, since the flags of data words D 1 to D 4 and P of data block a have already been set to "1", the series including this data word is not checked, and the data words The data word enclosed by the dashed line containing Q is determined to be erroneous and henceforth is corrected. Note that E in the figure indicates an error. Data words marked with an E that are not surrounded by lines are errors that would be detected if the parity check code Q sequence was first checked.

ただし上述の方法で、パリテイチエツクで誤り
と判断された場合、その系列の中の1データワー
ドだけが誤つているにもかかわらずその系列の全
データワードを誤りとしているために、正しいデ
ータワードも誤りとされてしまい誤りのデータワ
ードの数が極めて多くなる。この場合に特にパリ
テイチエツクコードPの系列はクロスインターリ
ーブ前のAD/DAの入出力系列と一致されてい
る場合が多いので、音質に直接影響し、この系列
で誤りのデータワードが多く存在すると音質が極
めて劣化する。
However, in the above method, if the parity check determines an error, all data words in the series are considered to be errors even though only one data word in the series is incorrect. The number of erroneous data words becomes extremely large. In this case, the parity check code P sequence in particular is often matched with the AD/DA input/output sequence before cross-interleaving, so this will directly affect the sound quality, and if there are many erroneous data words in this sequence, it will directly affect the sound quality. Sound quality deteriorates significantly.

またパリテイチエツクコードPまたはQの系列
で全てのデータワードが誤りとされると、これを
もう一方の系列で訂正することが極めて困難であ
り、補間等が多く入つて音質が劣化するおそれが
多くなる。
Furthermore, if all the data words in the parity check code P or Q series are found to be errors, it is extremely difficult to correct them in the other series, and there is a risk that a lot of interpolation will be involved and the sound quality will deteriorate. There will be more.

そこで第5図において、データワードの書き込
まれるランダムアクセスメモリの各ワードに、16
ビツトのデータと共にエラーポインタ用の4ビツ
トのフラグF1,F2,F3,F4が設けられる。ここ
でフラグF1,F2はパリテイチエツクコードP系
列用、フラグF3,F4はQ系列用とし、それぞれ
パリテイチエツクの結果誤りでなかつたものに
(0、0)、CRC検査符号による誤りが1データ
ワード以上あつてパリテイチエツクが不能であつ
たものに(0、1)、パリテイチエツクで誤りと
判断されたものに(1、0)、CRC検査符号によ
つて誤りと判断されたものに(1、1)のフラグ
を形成する。
Therefore, in FIG. 5, each word of the random access memory into which a data word is written has 16
Along with the bit data, 4-bit flags F 1 , F 2 , F 3 , and F 4 for error pointers are provided. Here, flags F 1 and F 2 are for the parity check code P series, and flags F 3 and F 4 are for the Q series. If there is an error due to one or more data words and the parity check cannot be performed (0, 1), if the parity check determines an error (1, 0), if the error is determined by the CRC check code (1, 0). A flag of (1, 1) is formed for the determined one.

これに従つてパリテイチエツクコードP,Q系
列による判断を全データブロツクについて行う。
Accordingly, judgments based on the parity check code P and Q sequences are made for all data blocks.

すなわちランダムアクセスメモリのフラグF1
〜F4を全て“1”にセツトする。
i.e. random access memory flag F 1
~Set all F4 to “1”.

次にCRC検査符号Cで誤りがないと判断され
たデータブロツクのデータ信号D1〜D4、パリテ
イチエツクコードP,Qをアドレス信号Aに対応
するアドレスに書き込み、書き込まれた各ワード
のフラグF1〜F4を(0、1、0、1)にする。
Next, the data signals D 1 to D 4 and parity check codes P and Q of the data block determined to be free of errors by the CRC check code C are written to the address corresponding to the address signal A, and the flag of each written word is written. Set F 1 to F 4 to (0, 1, 0, 1).

さらにパリテイチエツクコードPの系列で検査
を行い、その系列にCRC検査符号Cで誤りと判
断されたデータワードがなく、パリテイチエツク
で誤りが検出されなかつたときは、その系列の全
データワードのフラグF1,F2を(0、0)にし、
誤りが検出されたときはフラグF1,F2を(1、
0)にし、CRC検査符号Cで誤りと判断された
データワードが1以上あるときはそのままとす
る。これを全データブロツクについて行う。
Further, the series of parity check code P is checked, and if there is no data word judged as an error by CRC check code C in that series, and no error is detected by parity check, all the data words of that series are checked. Set the flags F 1 and F 2 to (0, 0),
When an error is detected, flags F 1 and F 2 are set to (1,
0), and if there is one or more data words determined to be erroneous by CRC check code C, leave it as is. This is done for all data blocks.

さらにパリテイチエツクコードQの系列におい
て、上述と同様の検査を行い、必要に応じてフラ
グF3,F4を書き換える。これ全データブロツク
について行う。
Furthermore, in the series of parity check codes Q, a check similar to that described above is performed, and flags F 3 and F 4 are rewritten as necessary. This is done for all data blocks.

そしてこの結果において、フラグF1〜F4が (F1,F2,F3,F4)=(1、0、1、0) …(1) =(1、0、0、1) …(2) =(0、1、1、0) …(3) のデータワードは、両方の系列で誤りと判断され
て誤りの可能性が極めて高いか、一方で誤りとさ
れ他方が検査不能の場合で誤りの可能性が残こる
ので、これらのデータワードを誤りとする。
In this result, the flags F 1 to F 4 are (F 1 , F 2 , F 3 , F 4 )=(1, 0, 1, 0)...(1)=(1, 0, 0, 1)... (2) = (0, 1, 1, 0) ... (3) The data word is either judged to be erroneous in both sequences and has a very high probability of being erroneous, or it is judged to be erroneous in one sequence and untestable in the other. In this case, the possibility of error remains, so these data words are considered to be erroneous.

これに対して、上述以外のものは一方の系列で
誤りとされていないことから、他方の系列では系
列中の他のデータワードが誤つているものと判断
され、これを誤りのないデータワードとみなすよ
うにする。
On the other hand, since the items other than those mentioned above are not considered errors in one series, it is determined that other data words in the series are erroneous in the other series, and these are treated as error-free data words. to be regarded as such.

すなわち第6図において、CRC検査符号Cで
誤りと判断されたCの部分、上述の式(1)、(2)、(3)
で誤りと判断された1,2,3の部分が誤りとさ
れ、上述の例で0の部分まで誤りとされていたの
が縮小される、 また第7図において、上述の第4図と同じ条件
の場合に、実線で囲んだ誤りのデータブロツクa
とパリテイチエツクコードPの系列で判断されな
いQの部分のみが誤りとされ、正しいデータワー
ドであつて誤りと判断される部分が少なくなる。
従つて音質の劣化する可能性も少なくなる。
In other words, in FIG. 6, the part of C that is determined to be an error in the CRC check code C, the above equations (1), (2), and (3)
The parts 1, 2, and 3 that were determined to be incorrect in In the case of the condition, the error data block a surrounded by a solid line
Only the part of Q that is not determined by the series of parity check codes P is determined to be an error, and the number of correct data words that are determined to be errors is reduced.
Therefore, the possibility of deterioration of sound quality is also reduced.

さらに第8図において、誤りのデータブロツク
aと共にCRC検査符号Cによつて判断される誤
りのデータブロツクb,cがあつた場合には、各
データワードのフラグF1〜F4の状態は図示のよ
うになる。ここでパリテイチエツクコードPの系
列による結果を上側、Qの系列による結果を下側
にそれぞれ符号で記し、符号の内Eは(1、0)、
Uは(0、1)、Cは(1、1、1、1)、無印は
(0、0)を示す。この場合に誤りと判断される
データワードは実線で囲んだCRC検査符号Cで
検出されたデータブロツクb,cに含まれる全て
と、データブロツクaのデータワードD1,Pの
みである。
Furthermore, in FIG. 8, if there are error data blocks b and c determined by the CRC check code C along with error data block a, the states of flags F 1 to F 4 of each data word are not shown in the figure. become that way. Here, the results from the parity check code P series are written on the top, and the results from the Q series are shown on the bottom, respectively.E in the code is (1, 0),
U indicates (0, 1), C indicates (1, 1, 1, 1), and no mark indicates (0, 0). In this case, the data words judged to be errors are all contained in data blocks b and c detected by the CRC check code C surrounded by solid lines, and only data words D 1 and P of data block a.

また第9図は、CRC検査符号Cによる誤りが
なく、2つのデータブロツクa1,a2が連続して誤
つている場合で、この場合の誤りと判断されるデ
ータワードは実線で囲んだ部分である。
Furthermore, Fig. 9 shows a case where there is no error due to CRC check code C, but two data blocks a 1 and a 2 are erroneous consecutively, and the data word judged to be erroneous in this case is the part surrounded by a solid line. It is.

さらに第10図は、誤りのデータブロツクaに
近接してCRC検査符号Cによる誤りのデータブ
ロツクbがある場合で、この場合の誤りと判断さ
れるデータワードは実線で囲んだ部分である。
Further, FIG. 10 shows a case where there is an erroneous data block b due to the CRC check code C in the vicinity of the erroneous data block a, and the data word determined to be erroneous in this case is the part surrounded by a solid line.

ところがこの方法の場合に、パリテイチエツク
コードP,Qの両方の系列にCRC検査符号Cに
よる誤りのテーダワードが1つ以上ずつあつた場
合に、そのデータワードの検出が不能になつてし
まう。すなわち第8図のデータブロツクaの内で
データワードD2〜D4,Qの検出が不能になり、
誤りが見逃されてしまうおそれがある。
However, in the case of this method, if one or more erroneous data words due to the CRC check code C are present in both the parity check code sequences P and Q, it becomes impossible to detect the data word. That is, it becomes impossible to detect data words D 2 to D 4 and Q within data block a in FIG.
Errors may be overlooked.

また上述のようにパリテイチエツクコードPの
系列にQの系列を含まない非帰還形のクロスイン
ターリーブの場合に、誤りのパリテイチエツクコ
ードQを含むQの系列上にCRC検査符号Cによ
る誤りのデータワードが1つあるだけで検査不能
となり、これによつて見逃されたデーターワード
によつて誤訂正が行われ、これから誤訂正が広が
るおそれもある。
Furthermore, as mentioned above, in the case of non-feedback type cross interleaving in which the parity check code P sequence does not include the Q sequence, an error caused by the CRC check code C is added to the Q sequence containing the erroneous parity check code Q. The presence of just one data word makes it impossible to test, and the missed data word may lead to false corrections, which could lead to further false corrections.

ところで上述のようにCRC検査符号Cによつ
て検出されず、かつ誤つているデータブロツク
は、そのデータブロツクの全てが誤つている確率
が極めて大きい。
By the way, as mentioned above, there is an extremely high probability that all of the data blocks that are not detected by the CRC check code C and are erroneous are erroneous.

そこで上述の検出を行つた後で、誤りのデータ
ワードを1つでも含むデータブロツクの各データ
ワードを全て誤りとしてフラグF1〜F4を(1、
1、1、1)にしてしまう。すなわち第7図〜第
10図において破線で囲んだデータワードを全て
誤りとする。
Therefore, after performing the above-mentioned detection, flags F 1 to F 4 are set to (1,
1, 1, 1). That is, all data words surrounded by broken lines in FIGS. 7 to 10 are treated as errors.

これによつて誤つたデータワードの見逃しを極
めて少なくすることができる。
This makes it possible to extremely reduce the chance of missing an erroneous data word.

しかしながらこの場合に、CRC検査符号Cに
よつて誤りと判断されるデータブロツクの数が多
いと、正しいデータワードをパリテイチエツクに
よつて誤りと判断してしまい、不必要にデータワ
ードを誤りにしてしまうおそれがある。また
CRC検査符号Cで検出されない誤つたデータブ
ロツクが近接して存在すると、正しいデータワー
ドがパリテイチエツクコードP,Qの両方の系列
で誤りと判断されてしまい、これによつてそのデ
ータワードの含まれるデータブロツク全体が誤り
になつてしまうこともある。
However, in this case, if there are a large number of data blocks that are determined to be erroneous by the CRC check code C, correct data words will be determined to be erroneous by the parity check, and data words will be unnecessarily erroneous. There is a risk that this may occur. Also
If an erroneous data block that is not detected by the CRC check code C exists in close proximity, a correct data word will be judged as erroneous by both parity check code sequences P and Q, thereby causing the data word's content to be incorrect. In some cases, the entire block of data that is written may be erroneous.

そこで上述の検出において、正しいと判断され
るデータワード、すなわち第6図に4,5,6で
示される部分を検出し、データブロツク中に正し
いデータワードが少なくとも一つもないときのみ
そのデータブロツクに含まれる全データワードを
誤りと判断するようにする。
Therefore, in the above-mentioned detection, the data words that are determined to be correct, that is, the portions indicated by 4, 5, and 6 in FIG. All included data words are judged to be incorrect.

例えば正しいデータワードが一つでもあるとき
はそのデータブロツクの全てのデータワードが正
しいと見なすようにする。これによつて、第7図
〜第10図において、それぞれデータブロツク
a,b,c,a1,a2以外は正しいデータワードが
含まれており、これらを正しいと見なすことで、
誤つたデータブロツクをほぼ完全に特定すること
ができる。
For example, if at least one data word is correct, all data words in that data block are considered correct. As a result, in FIGS. 7 to 10, data blocks other than data blocks a, b, c, a 1 and a 2 contain correct data words, and by considering these as correct,
Erroneous data blocks can be almost completely identified.

なお、誤つているデータブロツクの中で一部の
データワードがたまたま正しいと判断されてしま
う場合も確率的にあり得るので、そのデータブロ
ツク中の正しいデータワードの数を検出して所定
数以上のときに正しいと判断したり、さらに4で
示すフラグF1〜F4が(0、0、0、0)のとき
を重み付けして正しいデータワードの数の判定を
行うようにしてもよい。
Note that there is a probability that some data words in an erroneous data block may be determined to be correct by chance, so the number of correct data words in the data block is detected and The correct number of data words may be determined by determining that the number of data words is correct sometimes, or by weighting the times when the flags F 1 to F 4 indicated by 4 are (0, 0, 0, 0).

なお上述の例で、誤つていると判断されたデー
タワードは、全てフラグF1〜F4を(1、1、1、
1)に書き換え、以後CRC検査符号Cによつて
誤りと判断されたものと同等に扱うものとする。
In the above example, all data words determined to be incorrect have flags F 1 to F 4 set to (1, 1, 1,
1), and henceforth shall be treated as if it were determined to be an error by CRC check code C.

発明の効果 本発明によれば、誤りのデータワードを確実に
検出することができるようになつた。
Effects of the Invention According to the present invention, it has become possible to reliably detect erroneous data words.

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

第1図、第2図は従来の誤り検出訂正の説明の
ための図、第3図〜第10図は本発明の説明のた
めの図である。 D1〜D4はデータワード、P,Qはパリテイチ
エツクコード、F,F1〜F4はエラーポインタ用
のフラグである。
FIGS. 1 and 2 are diagrams for explaining conventional error detection and correction, and FIGS. 3 to 10 are diagrams for explaining the present invention. D1 to D4 are data words, P and Q are parity check codes, and F and F1 to F4 are flags for error pointers.

Claims (1)

【特許請求の範囲】[Claims] 1 デジタル信号の所定ビツトにてデータワード
を形成し、このデータワードの連続する所定数を
データブロツクとしてこのデータブロツク内の系
列による一の誤り検査符号が設けられると共に、
上記データブロツクの連続に対して上記データブ
ロツク内の系列とは異なる複数の系列による他の
複数の誤り検査符号が設けられてなるデータ信号
を復調するに当り、上記他の複数の誤り検査符号
のうち少なくとも1つ以上の誤り検査符号によつ
て誤りが検出され、かつ誤りの検出されなかつた
残りの誤り検査符号の全てによつて正しいとも検
出されないような上記データワードのみを誤りと
見なすようにした誤り検出方法。
1 A data word is formed from predetermined bits of a digital signal, a predetermined number of successive data words are used as a data block, and one error check code is provided according to the sequence within this data block.
When demodulating a data signal in which a plurality of other error check codes having a plurality of sequences different from those in the data block are provided for the series of data blocks, Only those data words for which an error is detected by at least one of the error check codes, and which are not detected as correct by all of the remaining error check codes, are considered to be errors. error detection method.
JP58108866A 1983-06-17 1983-06-17 Error detecting method Granted JPS601674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58108866A JPS601674A (en) 1983-06-17 1983-06-17 Error detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58108866A JPS601674A (en) 1983-06-17 1983-06-17 Error detecting method

Publications (2)

Publication Number Publication Date
JPS601674A JPS601674A (en) 1985-01-07
JPH0563862B2 true JPH0563862B2 (en) 1993-09-13

Family

ID=14495565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58108866A Granted JPS601674A (en) 1983-06-17 1983-06-17 Error detecting method

Country Status (1)

Country Link
JP (1) JPS601674A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL192151C (en) * 1986-02-24 1997-02-04 Philips Electronics Nv Method and device for storing and reading digitally encoded information, optionally protected or not by an error-correcting code.

Also Published As

Publication number Publication date
JPS601674A (en) 1985-01-07

Similar Documents

Publication Publication Date Title
EP0150811B1 (en) Method and apparatus for recording digital signals
US4910736A (en) Encoding method and apparatus for recording data with an identification code and an error check code
US4604657A (en) Apparatus for processing PCM signal
EP0129849A2 (en) Error correction method and system
KR950008488B1 (en) Error correction method
US4726028A (en) Method for error detection and error correction
JPS62177768A (en) Error correcting device
JPH0557670B2 (en)
KR900003603B1 (en) Method and apparatus for processing an error flag of a pcm signal
US6598197B1 (en) Method and apparatus for detecting and concealing data errors in stored digital data
JPS6089873A (en) Error correcting method
JPH0563862B2 (en)
JPH0557672B2 (en)
JPH0557671B2 (en)
JP2664267B2 (en) Code error correction device
JPS5996516A (en) Correcting and encoding method of error
JPS61219222A (en) Method for decoding error correcting code
JPH0770175B2 (en) Digital signal reproduction method
JP3259311B2 (en) Error detection method and error correction method
JPS61227273A (en) Error correcting method
JPS62120671A (en) Method for correcting error of data
JPS62102486A (en) Pcm recording and reproducing device
JPH043526A (en) Error correcting device
JPS6213127A (en) Decoding system
JPS62120672A (en) Method for correcting error of data