JPH07176147A - Digital signal recording / reproducing apparatus - Google Patents
Digital signal recording / reproducing apparatusInfo
- Publication number
- JPH07176147A JPH07176147A JP31772593A JP31772593A JPH07176147A JP H07176147 A JPH07176147 A JP H07176147A JP 31772593 A JP31772593 A JP 31772593A JP 31772593 A JP31772593 A JP 31772593A JP H07176147 A JPH07176147 A JP H07176147A
- Authority
- JP
- Japan
- Prior art keywords
- error
- code
- correction
- bit
- 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.)
- Pending
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
(57)【要約】 (修正有)
【目的】 本発明はディジタル信号を磁気テープ、磁気
ディスクあるいは光ディスクなどの媒体に記録し、再生
するディジタル信号の記録再生装置において、誤り訂正
復号の負担を軽減及びシステムとしての誤り訂正能力を
向上する。
【構成】 本発明によれば、再生符号語系列における誤
りを検出する手段と誤った符号語を正規な符号語に置き
換える手段をn−m変換復号器93に設ける。再生時に
nビットの再生符号語系列をmビットのデータ語系列に
変換する際、再生符号語系列における誤りを符号語単位
で検出して誤り検出フラグを発生し、誤りの符号語に対
してハミング距離が最も近くかつ符号系列におけるDS
Vを0に近づける正規な符号語に置き換え、さらに、誤
り訂正復号器100は前記誤り検出フラグをイレージャ
フラグとして用い、iをランダムエラー訂正数、jをイ
レージャエラー訂正数、dを最小ハミング距離としたと
き、2i+j+1≦dの式の範囲内で訂正を行なう。
(57) [Summary] (Modified) [Object] The present invention reduces the load of error correction decoding in a digital signal recording / reproducing apparatus for recording and reproducing a digital signal on a medium such as a magnetic tape, a magnetic disk or an optical disk. And improve the error correction capability of the system. According to the present invention, a means for detecting an error in a reproduced codeword sequence and a means for replacing an erroneous codeword with a regular codeword are provided in an mn conversion decoder 93. When converting an n-bit reproduction codeword sequence into an m-bit data word sequence during reproduction, an error in the reproduction codeword sequence is detected in codeword units and an error detection flag is generated to humming the error codeword. DS closest in distance and in code sequence
V is replaced with a regular code word that approaches 0, and the error correction decoder 100 uses the error detection flag as an erasure flag, i is the random error correction number, j is the erasure error correction number, and d is the minimum Hamming distance. Then, the correction is performed within the range of the expression of 2i + j + 1 ≦ d.
Description
【0001】[0001]
【産業上の利用分野】本発明はディジタル信号を磁気テ
ープ、磁気ディスクあるいは光ディスクなどの媒体に記
録し、再生するディジタル信号の記録再生装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal recording / reproducing apparatus for recording and reproducing a digital signal on a medium such as a magnetic tape, a magnetic disk or an optical disk.
【0002】[0002]
【従来の技術】ディジタルVTR、磁気ディスク装置に
おいて、再生時におけるテープ、ディスク上のゴミや
傷、ノイズにより発生した誤りを訂正する技術として誤
り訂正符号が用いられる。画像信号を磁気テープに記録
するディジタルVTRでは誤り訂正符号として1バイト
単位で誤りを検出し、その訂正を行なうリードソロモン
符号を用いている。リードソロモン符号は、図3に示す
ようにN1の符号長を有する内符号とN2の符号長を有
する外符号からなる積符号を構成する場合が多い。記録
側にて水平方向のデータd1に対するパリティp1、垂
直方向のデータd2に対するパリティp2を垂直、水平
の順に付加し、水平方向に走査しながら順にテープに記
録する。再生時には誤り訂正復号器により内符号から復
号(訂正)を行ない、内符号で訂正できなかった誤り
を、垂直方向からみた外符号にて訂正を行なう。一般に
ディジタルVTRでは内符号はランダム訂正を用いる。
内符号中、ランダム訂正を用いて訂正できなかったシン
ボルの全てを誤りとし、イレージャフラグをたてる。一
方、内符号におけるランダム訂正が終了すると、外符号
において訂正が行なわれる。外符号ではイレージャフラ
グが示すシンボルの位置を誤り位置とし、誤り数値のみ
を求めるイレージャ訂正を行なう。理論的に内符号のラ
ンダム訂正においては(p1/2)バイト、外符号のイ
レージャ訂正においてはp2バイトまでの誤りが訂正さ
れる。誤り位置と誤り数値を求めるランダム訂正に比
べ、イレージャフラグを利用し誤り数値のみを求めるイ
レージャ訂正の方が訂正数からみた訂正能力としては優
れている。2. Description of the Related Art In a digital VTR and a magnetic disk device, an error correction code is used as a technique for correcting an error caused by dust, scratches or noise on a tape or disk during reproduction. In a digital VTR for recording an image signal on a magnetic tape, a Reed-Solomon code is used as an error correction code for detecting an error in 1-byte units and correcting the error. The Reed-Solomon code often forms a product code including an inner code having a code length of N1 and an outer code having a code length of N2 as shown in FIG. On the recording side, a parity p1 for data d1 in the horizontal direction and a parity p2 for data d2 in the vertical direction are added in the order of vertical and horizontal, and are sequentially recorded on the tape while scanning in the horizontal direction. During reproduction, decoding (correction) is performed from the inner code by the error correction decoder, and errors that cannot be corrected by the inner code are corrected by the outer code when viewed from the vertical direction. Generally, in a digital VTR, the inner code uses random correction.
In the inner code, all the symbols that could not be corrected using random correction are regarded as errors, and an erasure flag is set. On the other hand, when the random correction in the inner code is completed, the correction is performed in the outer code. In the outer code, the position of the symbol indicated by the erasure flag is set as the error position, and the erasure correction for obtaining only the error value is performed. Theoretically, errors are corrected up to (p1 / 2) bytes in the random correction of the inner code and up to p2 bytes in the erasure correction of the outer code. The erasure correction that uses the erasure flag to obtain only the error value is superior to the random correction that obtains the error position and the error value in terms of the correction capability in terms of the number of corrections.
【0003】ディジタルVTR等の記録媒体に記録すべ
きディジタルデータを記録システムの特性に適合するよ
うな記録符号に変換する技術は記録符号化と呼ばれる。
記録符号の種類として数多くの方式が提案されてきた。
例えば直流成分低減を目的とした記録符号の例としてM
2符号、NRZ−ASE符号がある。記録波長の改善を
目的とした記録符号の例として(1、7)符号などがあ
る。直流成分、記録波長の双方を改善できる記録符号の
例として8−12変換符号、8−14変換符号などがあ
る。8−12変換符号、8−14変換符号はmビットデ
ータ語の系列を所定の変換規則を用いてnビット符号語
の系列に変換を行なうことから、総じてm−n変換符号
と呼ばれる。8−12変換符号、8−14変換符号とも
に変換後の符号系列におけるランレングス(“1”、
“0”の連続個数)の最小値を2ビットとしている。従
ってm−n変換符号はNRZ符号に比べて(2×m/
n)の比率で最短記録波長を長くすることが可能であ
る。また、8−14変換符号はDCフリー、8−12変
換符号に関してはワードインバージョンを併用すること
により直流成分の低減が可能である。A technique for converting digital data to be recorded on a recording medium such as a digital VTR into a recording code adapted to the characteristics of the recording system is called recording encoding.
Many types of recording codes have been proposed.
For example, as an example of the recording code for reducing the DC component, M
There are two codes and NRZ-ASE code. Examples of the recording code for improving the recording wavelength include (1,7) code. Examples of recording codes that can improve both the DC component and the recording wavelength include 8-12 conversion codes and 8-14 conversion codes. The 8-12 transform code and the 8-14 transform code are generally called m-n transform codes because they convert a sequence of m-bit data words into a sequence of n-bit code words using a predetermined conversion rule. For both the 8-12 converted code and the 8-14 converted code, the run length (“1”,
The minimum value of the consecutive number of "0") is 2 bits. Therefore, the m-n conversion code is (2 × m /
It is possible to lengthen the shortest recording wavelength by the ratio of n). Further, the 8-14 conversion code can be DC-free, and the 8-12 conversion code can be used in combination with word inversion to reduce the DC component.
【0004】ディジタルVTR、磁気ディスク装置で
は、記録時には誤り訂正符号化、記録符号化の順に処理
を行ない、再生時には記録符号化に対する復号、誤り訂
正符号化に対する復号の順に処理を行なう。通常、これ
らの処理は全て独立に行なわれている。In a digital VTR and a magnetic disk device, processing is carried out in the order of error correction coding and recording coding during recording, and processing is carried out in order of decoding for recording coding and decoding for error correction coding during reproduction. Normally, all of these processes are performed independently.
【0005】一方、これらの処理を統合しシステムとし
て性能を向上させる従来例に特開平03−149923
号がある。特開平03−149923号には、再生時に
記録符号化に対する復号において検出された誤り情報を
用いて誤り訂正能力の向上を図る例が開示されている。
再生時に記録符号化に対する復号、すなわちn−m変換
において誤りが検出されたシンボルに対してイレージャ
フラグをたてるとともに、フラグ数によりイレージャ訂
正、ランダム訂正を切り替えて内符号の訂正を行なって
いる。On the other hand, a conventional example in which these processes are integrated to improve the performance of a system is disclosed in Japanese Patent Laid-Open No. 03-149923.
There is an issue. Japanese Patent Laid-Open No. 03-149923 discloses an example in which error correction capability is improved by using error information detected in decoding for recording encoding during reproduction.
Decoding for recording coding during reproduction, that is, an erasure flag is set for a symbol in which an error is detected in nm conversion, and erasure correction and random correction are switched according to the number of flags to correct the inner code.
【0006】記録符号化においてm−n変換符号を使用
した場合、mビットデータ語の系列をnビット符号語の
系列に変換する際、n>mの条件を満たせば、nビット
の再生符号語系列をmビットのデータ語系列へ逆変換す
る時に誤りを検出できることがある。mビットのデータ
語からnビットの符号語への対応は、nビットで表せる
“1”、“0”のビットパターン全てを使用するとは限
らない。mビットのデータ語をnビットの符号語に変換
するm−n変換符号として8−14変換符号、8−12
変換符号が挙げられるが、nビットのビットパターンを
符号語として利用している率は8−14変換符号の場合
で4.7%、8−12変換符号の場合で9.8%であり一
割にも満たない。従って、再生時に誤りが発生し、mビ
ットのデータ語と対応がとれないnビットのビットパタ
ーンが再生された場合は誤りとして検出できる。When an m-n conversion code is used in recording coding, when converting a sequence of m-bit data words into a sequence of n-bit code words, if a condition of n> m is satisfied, an n-bit reproduction code word is obtained. Errors may be detected when the sequence is inversely transformed into an m-bit data word sequence. Correspondence from an m-bit data word to an n-bit code word does not always use all bit patterns of "1" and "0" that can be represented by n bits. 8-14 conversion code, 8-12 as an mn conversion code for converting an m-bit data word into an n-bit code word
Converted codes can be mentioned. The rate of using an n-bit bit pattern as a code word is 4.7% in the case of the 8-14 converted code and 9.8% in the case of the 8-12 converted code. Not so much. Therefore, when an error occurs during reproduction, and an n-bit bit pattern that does not correspond to an m-bit data word is reproduced, it can be detected as an error.
【0007】[0007]
【発明が解決しようとする課題】上記従来技術では、内
符号内の誤りを最大イレージャ訂正数以下で、かつ全て
検出できたときのみにイレージャ訂正の効果が発揮され
る構成となっている。しかし、n−m変換では全ての誤
りを検出できるとは限らない。mビットのデータ語と対
応がとれず正規でないnビットのビットパターンが再生
された場合は誤りとして検出できるが、正規な符号語に
置き替ってしまった場合は誤りとして検出できず検出漏
れが生じる場合もある。検出漏れはビットパターンの利
用率に比例し、利用率が高い程検出漏れも多く発生す
る。従来例では、n−m変換時に検出漏れが生じた内符
号は訂正能力向上の効果が得られない構成となってい
る。8−14変換符号、8−12変換符号ともに誤りの
検出漏れは避けられず、必ずこの問題は生じる。とくに
利用率が高いm−n変換符号(例えば8−9変換符号、
8−10変換符号など)に適用した場合には大きな問題
となり、n−m変換による訂正能力向上の効果は期待で
きない。In the above-mentioned prior art, the effect of erasure correction is exhibited only when the number of errors in the inner code is less than the maximum number of erasure corrections and all of them can be detected. However, not all errors can be detected by the nm conversion. If an n-bit bit pattern that is not regular and does not correspond to an m-bit data word is reproduced, it can be detected as an error, but if it is replaced with a regular code word, it cannot be detected as an error and an undetected error occurs. It may occur. The detection failure is proportional to the usage rate of the bit pattern, and the higher the usage rate, the more the detection failure occurs. In the conventional example, the inner code in which the detection omission occurs at the time of nm conversion has a configuration in which the effect of improving the correction capability cannot be obtained. Error detection is unavoidable for both the 8-14 converted code and the 8-12 converted code, and this problem always occurs. In particular, the m-n conversion code with a high utilization rate (for example, 8-9 conversion code,
When it is applied to 8-10 conversion code, etc.), it becomes a big problem, and the effect of improving the correction capability by the nm conversion cannot be expected.
【0008】本発明の目的は、再生時のn−m変換にお
ける誤り検出時に、誤り訂正能力向上の高いディジタル
信号の記録再生装置を提供すること、さらには誤り符号
語を検出しながら正規な符号語に置き換える機能を有す
るディジタル信号の記録再生装置を提供することにあ
る。It is an object of the present invention to provide a recording / reproducing apparatus for a digital signal, which has a high error correction capability when an error is detected in nm conversion during reproduction, and further to detect a normal code while detecting an error code word. Another object of the present invention is to provide a digital signal recording / reproducing apparatus having a function of replacing words.
【0009】[0009]
【課題を解決するための手段】本発明は、再生時に誤り
が発生しmビットのデータ語とは対応がとれないnビッ
トの符号語に対し誤り検出フラグをたてるとともに、前
記誤り検出フラグを用いて、内符号のパリティに対する
最小ハミング距離をdmin、iはランダム訂正数、jは
イレージャ訂正数としたとき、内符号の訂正を2i+j
+1≦dminの式の範囲内でランダム訂正、イレージャ
訂正混在のアルゴリズムにより訂正する。SUMMARY OF THE INVENTION According to the present invention, an error detection flag is set for an n-bit code word that has an error during reproduction and cannot correspond to an m-bit data word, and the error detection flag is set. When the minimum Hamming distance to the parity of the inner code is dmin, i is the random correction number, and j is the erasure correction number, the inner code correction is 2i + j.
Random correction and erasure correction mixed algorithms are used within the range of + 1 ≦ dmin.
【0010】また、あらかじめ誤りを検出した時点で誤
った符号語を記録符号の特徴パラメータであるランレン
グス、DSVを利用し、最も適切な符号語に置き換え
て、次段の誤り訂正復号器に入力する手段も有する。Further, when an error is detected in advance, an erroneous codeword is replaced with the most appropriate codeword by using the run length and DSV which are the characteristic parameters of the recording code, and is input to the error correction decoder in the next stage. It also has a means to do.
【0011】[0011]
【作用】本発明はn−m変換の際に検出した誤りの符号
語に対して誤り検出フラグをたてるとともに、検出でき
た符号語に関してはイレージャ訂正、検出できなかった
符号語に関してはランダム訂正により検出及び訂正を行
ない、検出漏れが存在する場合においても訂正能力(訂
正数)向上の効果が得られる。According to the present invention, an error detection flag is set for an error code word detected at the time of nm conversion, erasure correction is made for a code word that can be detected, and random correction is made for a code word that cannot be detected. Thus, the effect of improving the correction capability (the number of corrections) can be obtained even when the detection and correction are performed and the detection failure exists.
【0012】さらに、あらかじめ誤りを検出した時点で
誤った符号語をランレングス、DSVの面から最も適切
な符号語に置き換えて、次段の誤り訂正復号器に入力す
ることにより、より優れた訂正能力を実現することがで
きる。Furthermore, when an error is detected in advance, an erroneous codeword is replaced with the most suitable codeword in terms of run length and DSV, and the codeword is input to the error correction decoder in the next stage, whereby a more excellent correction is performed. Ability can be realized.
【0013】[0013]
【実施例】図面を用いて本発明の実施例を説明する。図
1に8−14変換符号に本発明を用いたディジタル信号
の記録再生装置のブロック図を示す。図1において、ア
ナログ映像信号は入力端子120から入力され、A/D
変換器10により例えば8ビットに量子化される。次に
誤り訂正符号器20により内符号、外符号からなる積符
号を構成し、外符号、内符号の順にパリティが付加され
る。同期付加回路30ではパリティが付加されたデータ
系列に対してある一定周期毎に同期パターンが付加され
る。テープに記録する前にm−n変換符号器40によ
り、入力されたm=8ビットのデータ語系列はn=14
ビットの符号語の系列に変換され、変換後の符号系列に
おけるランレングス、すなわち“1”、“0”の連続個
数(NRZL則)は2ビットから7ビットの間に制限さ
れる。また、符号系列におけるDSV(Digital Sum Var
iation)、すなわち、“1”を+1、“0”を−1とし
たときの累積総和が常に+7〜−7、符号語最終ビット
位置では+2〜−2の範囲にある。DSVの絶対値を常
に小さくすることにより、信号の直流成分が平衡に保た
れ、ロータリトランスあるいは磁気記録再生特性による
低域遮断の影響を防げる。P/S変換器50を用いて、
14ビットの符号語をシリアルデータに変換した後、テ
ープ、ヘッドを含む記録再生系60にて記録する。再生
時には同期検出器70、S/P変換器80、m−n変換
符号器40に対するn−m変換復号器90、誤り訂正符
号器20に対する誤り訂正復号器100、D/A変換器
110によって映像信号が再生され、出力端子130か
ら出力される。一般のディジタルVTRが再生時に同期
検出、S/P、n−m変換復号、誤り訂正復号の一連の
処理が独立して行なわれていたものを、本発明ではn−
m変換復号、すなわち14ビットの符号語を8ビットの
データ語に変換する際に検出できる誤り検出フラグ14
0を誤り訂正復号器100に送り、誤り訂正能力を向上
させ、さらにn−m変換復号器90で誤りを検出した時
点で誤った符号語を最も適切な正規な符号語に置換する
ことにより誤り訂正復号器100の負担を軽減する。Embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a block diagram of a digital signal recording / reproducing apparatus using the present invention for 8-14 conversion code. In FIG. 1, an analog video signal is input from the input terminal 120, and the A / D
It is quantized by the converter 10 into, for example, 8 bits. Next, the error correction encoder 20 forms a product code including an inner code and an outer code, and parity is added in the order of the outer code and the inner code. The synchronization adding circuit 30 adds a synchronization pattern to the data series to which the parity has been added at regular intervals. Before being recorded on the tape, the input m = 8-bit data word sequence is n = 14 by the m-n conversion encoder 40.
The run length, that is, the number of consecutive "1" s and "0s" (NRZL rule) in the code sequence after conversion after conversion to a bit codeword sequence is limited to between 2 bits and 7 bits. In addition, DSV (Digital Sum Var) in the code sequence
iation), that is, the cumulative sum when "1" is +1 and "0" is -1 is always +7 to -7, and +2 to -2 at the last bit position of the codeword. By always reducing the absolute value of DSV, the DC component of the signal is kept in balance, and the influence of low frequency cutoff due to the rotary transformer or magnetic recording / reproducing characteristics can be prevented. Using the P / S converter 50,
After converting the 14-bit code word into serial data, it is recorded by a recording / reproducing system 60 including a tape and a head. At the time of reproduction, an image is reproduced by the sync detector 70, the S / P converter 80, the mn conversion decoder 90 for the mn conversion encoder 40, the error correction decoder 100 for the error correction encoder 20, and the D / A converter 110. The signal is reproduced and output from the output terminal 130. According to the present invention, a general digital VTR independently executes a series of processes such as synchronization detection, S / P, nm conversion decoding, and error correction decoding during reproduction.
Error detection flag 14 that can be detected during m conversion decoding, that is, when converting a 14-bit code word to an 8-bit data word
0 is sent to the error correction decoder 100 to improve the error correction capability, and at the time when the error is detected by the nm conversion decoder 90, the error code word is replaced by the most appropriate regular code word to make the error. The burden on the correction decoder 100 is reduced.
【0014】図2を用いて本発明の特徴であるn−m変
換復号器90と誤り訂正復号器100の構成及び動作に
ついて詳しく説明する。n−m変換復号器90に入力さ
れるn=14ビットの再生信号94は置換処理部91、
誤り検出部92にそれぞれ入力される。誤り検出部92
では入力された符号語が正規な符号語群に含まれている
かどうかが解析される。入力された符号語94が正規な
符号語に含まれない場合は誤り検出フラグ140を誤り
訂正復号器100の中に含まれる内符号訂正処理部10
1に送出する。誤り検出部92は正規な符号語に対して
は“1”、正規でない符号語に対しては“0”を出力す
る14ビットアドレス−1ビット出力のROM(Read On
ly Memory)により簡単な構成で実現できる。置換処理部
91では正規な符号語に対しては置換せずそのまま出力
する。一方、誤りの符号語に対しては14ビットのビッ
トパターンに対するハミング距離が最も近くかつ符号系
列におけるDSVを0に近づける正規な符号語95を出
力する。符号語95を順次8ビットのデータ語96に変
換し、次段の誤り訂正復号器100に入力される。The configuration and operation of the nm conversion decoder 90 and the error correction decoder 100, which are the features of the present invention, will be described in detail with reference to FIG. The reproduction signal 94 of n = 14 bits input to the nm conversion decoder 90 is replaced by the replacement processing unit 91,
It is input to each error detection unit 92. Error detector 92
Then, it is analyzed whether or not the input codeword is included in the regular codeword group. If the input codeword 94 is not included in the regular codewords, the inner code correction processing unit 10 included in the error correction decoder 100 is set with the error detection flag 140.
Send to 1. The error detection unit 92 outputs "1" for a legitimate codeword and "0" for a non-regular codeword.
It can be realized with a simple configuration. The replacement processing unit 91 does not replace the regular code word and outputs it as it is. On the other hand, with respect to the erroneous codeword, the normal codeword 95 which has the shortest Hamming distance for the 14-bit bit pattern and brings the DSV in the code sequence close to 0 is output. The code word 95 is sequentially converted into an 8-bit data word 96 and input to the error correction decoder 100 in the next stage.
【0015】図4に置換処理部91における置換処理の
具体例を示す。ここでは時刻t=Tにおいて符号語に誤
りが発生し、t=T−1の14ビットの符号語の最終時
点でDSV=−2の場合を考える。図4からわかるよう
にt=Tにおける14ビットの符号語は1ビットの孤立
ビットが存在し、正規な符号語に含まれていないため、
置換処理部91にて符号語の置換および誤り検出部にて
誤りが検出される。置換処理部91では、正規な符号語
に含まれハミング距離が最も近く、DSVの極性が異な
る置換符号語を2符号語用意しておく。本実施例では時
刻t=T−1のDSVを0に近づけるようにCDS=+
2の“01100111100110”の符号語が選択
されて置き換えられる。ここでCDS(Code Digital S
um)とは符号語内の“1”を+1、“0”を−1とした
ときの累積総和である。置換処理部91はDSVを計数
するアップダウンカウンタと15ビットアドレス−14
ビット出力ROMにより構成できる。ROMのアドレス
入力は符号語の14ビットとDSV極性の1ビットの合
計15ビットであり、1符号語の入力に対してDSVの
極性の異なる2符号語が記録されている。FIG. 4 shows a specific example of the replacement processing in the replacement processing unit 91. Here, consider a case where an error occurs in the codeword at time t = T and DSV = -2 at the final point of the 14-bit codeword at t = T-1. As can be seen from FIG. 4, the 14-bit codeword at t = T has one isolated bit and is not included in the normal codeword.
The replacement processing unit 91 replaces the codeword and the error detection unit detects an error. The replacement processing unit 91 prepares two replacement code words that are included in a regular code word, have the shortest Hamming distance, and have different DSV polarities. In this embodiment, CDS = + so that the DSV at time t = T-1 approaches 0.
The code word “01100111100110” of 2 is selected and replaced. Here, CDS (Code Digital S
um) is a cumulative sum when "1" in the codeword is +1 and "0" is -1. The replacement processing unit 91 has an up / down counter for counting DSV and a 15-bit address −14.
It can be configured by a bit output ROM. The address input of the ROM has a total of 15 bits of 14 bits of the code word and 1 bit of the DSV polarity, and two code words having different DSV polarities are recorded with respect to the input of one code word.
【0016】誤り訂正復号器100は内符号訂正処理部
101と外符号訂正処理部102により構成され、内符
号から訂正を行なう。内符号訂正処理部101では、内
符号のパリティに対する最小ハミング距離をdminと
し、イレージャ訂正による訂正数をj、ランダム訂正に
よる訂正数をiとしたとき、誤り検出フラグ140をイ
レージャフラグとし、次式の範囲内でランダム訂正、イ
レージャ訂正混在アルゴリズムにより訂正を行なう。ラ
ンダム訂正、イレージャ訂正混在の訂正アルゴリズムに
ついては文献「テレビジョン学会技術報告vol.17,No.2
7,pp.13-18,VIR'93-27(May.1993) 」を参照されたい。The error correction decoder 100 comprises an inner code correction processing unit 101 and an outer code correction processing unit 102, and performs correction from the inner code. In the inner code correction processing unit 101, when the minimum Hamming distance with respect to the parity of the inner code is dmin, the number of corrections by erasure correction is j, and the number of corrections by random correction is i, the error detection flag 140 is set as an erasure flag and Random correction and erasure correction mixed algorithms are used within the range. For the correction algorithm that includes both random correction and erasure correction, refer to "Technical Report of the Television Society of Japan vol.17, No.2".
7, pp.13-18, VIR'93-27 (May.1993) ".
【0017】[0017]
【数1】2i+j+1≦dmin 例えば、図5の符号長N1の内符号においてdmin=9
の時、真の誤り数=5、誤り検出フラグ数を2とした場
合、ランダム訂正のみの処理では、j=0からi=4と
なり4訂正までが理論限界であり、図5の誤り数=5の
誤りケースは訂正不可能である。また、従来例の特開平
03−149923号による誤り検出フラグを用いてイ
レージャ訂正を行なう方法でも、真の誤り数が5に対し
て誤り検出フラグ数が2であり、誤りの検出漏れが生じ
ているため正しく訂正できない。一方、本発明は誤り検
出フラグを利用し、図2に示す内符号訂正処理部101
において数1式の範囲内で訂正を行なう。図5の例で
は、i=3、j=2となり数1の式を満足するので誤り
を訂正することができる。内符号訂正処理部101の動
作を図6のフローチャートを用いてさらに詳しく説明す
る。## EQU00001 ## 2i + j + 1.ltoreq.dmin For example, dmin = 9 in the inner code having the code length N1 in FIG.
When the number of true errors = 5 and the number of error detection flags is two, the theoretical limit is from j = 0 to i = 4 and up to 4 corrections when the number of error detection flags is 2, and the number of errors in FIG. The error case of 5 is uncorrectable. Further, even in the method of performing erasure correction using the error detection flag according to the prior art, Japanese Patent Laid-Open No. 03-149923, the number of true error is 5 and the number of error detection flag is 2, which results in omission of error detection. Therefore, it cannot be corrected correctly. On the other hand, the present invention utilizes the error detection flag and uses the inner code correction processing unit 101 shown in FIG.
In, correction is performed within the range of the formula (1). In the example of FIG. 5, since i = 3 and j = 2 and the equation 1 is satisfied, the error can be corrected. The operation of the inner code correction processing unit 101 will be described in more detail with reference to the flowchart of FIG.
【0018】内符号訂正処理部101には、まず内符号
全てのシンボル96及び誤り検出フラグ140が入力さ
れる(ステップ202)。入力されたシンボルは内符号
単位でシンドロームの演算が行われ(ステップ20
3)、パリティ数だけ存在するシンドロームの値が全て
0であるかを判定する(ステップ204)。シンドロー
ムの値が全て0の場合で、ステップ209において内符
号内の誤り検出フラグ数が0個の時、誤りなしと判定し
内符号における訂正処理は行なわずにシンボルをそのま
ま外符号訂正処理部102に送出する(ステップ21
0)。ステップ209において誤り検出フラグ数が0個
でない時は訂正不能と判定し(ステップ208)、訂正
は行なわず当該内符号訂正処理部出力103とともにイ
レージャフラグ104を外符号訂正処理部に送出する。
ステップ204においてシンドロームの値のうちいずれ
かが0でない場合には、ステップ205において誤り検
出フラグ数が(dmin-1)を超えているかを判定し、超
えている場合は訂正不能と判定し(ステップ208)、
訂正は行なわず当該内符号とともにイレージャフラグ1
04を外符号訂正処理部に送出し、外符号訂正処理部1
02にてイレージャ訂正を行なう。ステップ205にお
いて誤り検出フラグ数が(dmin-1)以下の場合は2i
+j+1≦dminを満たすか否かを判定する(ステップ
206)。ステップ206の条件が満たされる場合は内
符号訂正処理部101にて訂正が行われる(ステップ2
07)。図6の誤りケースでは3ランダムエラー、2イ
レージャエラーの訂正が行なわれる。ステップ206の
条件が満たされない場合は訂正不能と判定され(ステッ
プ208)、当該内符号の訂正は行なわず、イレージャ
フラグ104とともに外符号訂正処理部102へ送出
し、外符号訂正処理部102にてイレージャ訂正を行な
う(ステップ208)。First, the symbols 96 and error detection flags 140 of all inner codes are input to the inner code correction processing unit 101 (step 202). The input symbol is subjected to syndrome calculation in inner code units (step 20).
3) It is determined whether all the syndrome values that exist by the number of parities are 0 (step 204). When all the syndrome values are 0 and the number of error detection flags in the inner code is 0 in step 209, it is determined that there is no error, the correction processing in the inner code is not performed, and the symbol is directly processed in the outer code correction processing unit 102. (Step 21)
0). When the number of error detection flags is not 0 in step 209, it is determined that the error cannot be corrected (step 208), the correction is not performed, and the erasure flag 104 is sent to the outer code correction processing unit together with the output 103 of the inner code correction processing unit.
If any of the syndrome values is not 0 in step 204, it is determined in step 205 whether the number of error detection flags exceeds (dmin-1), and if it exceeds, it is determined that the error cannot be corrected (step 208),
Erasure flag 1 together with the inner code without correction
04 to the outer code correction processing unit, and the outer code correction processing unit 1
Erasure correction is performed at 02. If the number of error detection flags is (dmin-1) or less in step 205, 2i
It is determined whether or not + j + 1 ≦ dmin is satisfied (step 206). If the condition of step 206 is satisfied, the inner code correction processing unit 101 performs correction (step 2).
07). In the error case of FIG. 6, 3 random errors and 2 erasure errors are corrected. When the condition of step 206 is not satisfied, it is determined that the inner code cannot be corrected (step 208), the inner code is not corrected, and it is sent to the outer code correction processing unit 102 together with the erasure flag 104, and the outer code correction processing unit 102 erases it. Correction is made (step 208).
【0019】以上のようなランダム訂正、イレージャ訂
正混在の訂正アルゴリズムを用いることにより、誤りの
個数と誤り検出フラグの個数に応じて効率良く訂正する
ことができる。また、あらかじめ置換処理も行なってい
るため、本発明は数1の式の範囲以上の訂正能力をも
つ。By using the above-described correction algorithm in which random correction and erasure correction are mixed, the correction can be efficiently performed according to the number of errors and the number of error detection flags. Further, since the replacement process is also performed in advance, the present invention has a correction capability beyond the range of the equation (1).
【0020】なお、上記実施例では置換処理機能を含む
訂正処理について説明してきたが、置換処理機能のみを
備えた記録再生装置、あるいは誤り検出フラグを用いた
ランダム、イレージャ混在の訂正機能のみを備えた記録
再生装置が構成できることは言うまでもない。Although the correction processing including the replacement processing function has been described in the above embodiment, the recording / reproducing apparatus having only the replacement processing function, or the random and erasure mixed correction function using the error detection flag is provided. It goes without saying that a recording / reproducing apparatus can be configured.
【0021】上記逆変換(n−m変換)の誤り検出にお
いて符号語単位で検出を行なっていたが、誤り検出部9
2を図8に示す構成にすることにより図7に示す符号語
の接続点の誤りも検出することができる。図7に示す2
符号語はそれぞれ符号語としては正規に存在するが、接
続点において符号系列として見た場合に8−14変換符
号におけるランレングスの最小値を2とする規則から違
反する。これは図8に示す符号語誤り検出器922と接
続誤り検出器923を構成することにより符号語として
の誤りと符号語接続点におけるランレングスの誤りを同
時に検出することができる。なお、接続誤り検出器92
3による誤り検出フラグ142(t=T−1)は、D−
FF924により誤り検出フラグ143(t=T)も出
力され、2符号語とも誤り検出フラグをたてる。符号語
誤り検出器922は正規な符号語に対しては“1”、正
規でない符号語に対しては“0”を出力する14ビット
アドレス−1ビット出力のROM(Read Only Memory)に
よる構成で実現できる。接続誤り検出器923は時刻t
=T−1の符号語の終わりで同一ビットが連続する最大
数の6ビット、時刻t=Tの符号語の先頭で同一ビット
が連続する最大数の5ビットを監視するため、発生し得
る符号系列に対しては“1”、発生し得ない符号系列に
対しては“0”を出力する11ビットアドレス−1ビッ
ト出力のROMにより構成できる。In the error detection of the above-mentioned inverse conversion (nm conversion), detection is performed in codeword units, but the error detection unit 9
By adopting the configuration shown in FIG. 8 as 2, the error at the connection point of the code word shown in FIG. 7 can be detected. 2 shown in FIG.
Although the codewords normally exist as codewords, they violate the rule that the minimum run length in the 8-14 conversion code is 2 when viewed as a code sequence at the connection point. By configuring the code word error detector 922 and the connection error detector 923 shown in FIG. 8, an error as a code word and a run length error at a code word connection point can be detected at the same time. The connection error detector 92
The error detection flag 142 (t = T-1) according to No. 3 is D-
The FF 924 also outputs the error detection flag 143 (t = T), and sets an error detection flag for both two codewords. The code word error detector 922 is configured by a ROM (Read Only Memory) of 14-bit address-1 bit output that outputs "1" for a normal code word and "0" for a non-normal code word. realizable. The connection error detector 923 indicates time t
= The maximum number of consecutive 6 bits of the same bit at the end of the code word of T-1 and the maximum number of 5 consecutive bits of the same bit at the beginning of the code word at time t = T are monitored. It can be constituted by an 11-bit address-1 bit output ROM which outputs "1" for a sequence and "0" for a code sequence that cannot occur.
【0022】接続誤りを検出する方法として再生信号を
S/P変換する前のシリアルデータでランレングスを監
視することによっても可能である。この接続誤りを含ん
だ検出方法が上記全ての処理に適用可能であることは言
うまでもない。As a method of detecting a connection error, it is also possible to monitor the run length with serial data before S / P conversion of the reproduced signal. It goes without saying that the detection method including this connection error can be applied to all the above processes.
【0023】[0023]
【発明の効果】本発明によれば、再生符号語系列におけ
る誤りを検出する手段と誤った符号語を正規な符号語に
置き換える手段をn−m変換復号器に設け、誤り検出フ
ラグをイレージャフラグとしてランダム訂正とイレージ
ャ訂正混在の誤り訂正復号を行なうことにより、誤り訂
正復号の負担軽減及びシステムとしての誤り訂正能力を
向上する効果が得られる。According to the present invention, means for detecting an error in a reproduced codeword sequence and means for replacing an erroneous codeword with a normal codeword are provided in the nm conversion decoder, and the error detection flag is used as an erasure flag. By performing error correction decoding in which random correction and erasure correction are mixed, it is possible to obtain the effects of reducing the burden of error correction decoding and improving the error correction capability of the system.
【図1】本発明を用いたディジタルVTRの構成を示す
図。FIG. 1 is a diagram showing a configuration of a digital VTR using the present invention.
【図2】本発明のn−m変換復号器及び誤り訂正復号器
を示す図。FIG. 2 is a diagram showing an nm conversion decoder and an error correction decoder of the present invention.
【図3】誤り訂正符号における積符号の構成を示す図。FIG. 3 is a diagram showing a configuration of a product code in an error correction code.
【図4】符号語の置き換え方法を示す図。FIG. 4 is a diagram showing a codeword replacement method.
【図5】誤りケースの一例を示す図。FIG. 5 is a diagram showing an example of an error case.
【図6】誤り訂正復号の訂正アルゴリズムを示すフロー
チャート。FIG. 6 is a flowchart showing a correction algorithm of error correction decoding.
【図7】符号系列における誤りを示す図。FIG. 7 is a diagram showing an error in a code sequence.
【図8】本発明の誤り検出部を示す図。FIG. 8 is a diagram showing an error detection unit of the present invention.
10…アナログ/ディジタル変換器、20…誤り訂正符
号器、30…同期付加器、40…m−n変換符号器、5
0…パラレル/シリアル変換器、60…記録再生系、7
0…同期検出器、80…シリアル/パラレル変換器、9
0…n−m変換復号器、91…置換処理部、92…誤り
検出部、93…n−m変換処理部、100…誤り訂正復
号器、101…内符号訂正処理部、102…外符号訂正
処理部、110…ディジタル/アナログ変換器、120
…入力端子、130…出力端子、140…誤り検出フラ
グ、921…14ビットDフリップフロップ、922…
符号語誤り検出部、923…接続誤り検出部、924…
1ビットDフリップフロップ、925…OR回路。10 ... Analog / digital converter, 20 ... Error correction encoder, 30 ... Synchronization adder, 40 ... Mn conversion encoder, 5
0 ... Parallel / serial converter, 60 ... Recording / reproducing system, 7
0 ... Synchronous detector, 80 ... Serial / parallel converter, 9
0 ... Nm conversion decoder, 91 ... Permutation processing unit, 92 ... Error detection unit, 93 ... Nm conversion processing unit, 100 ... Error correction decoder, 101 ... Inner code correction processing unit, 102 ... Outer code correction Processing unit, 110 ... Digital / analog converter, 120
... input terminal, 130 ... output terminal, 140 ... error detection flag, 921 ... 14-bit D flip-flop, 922 ...
Code word error detector, 923 ... Connection error detector, 924 ...
1-bit D flip-flop, 925 ... OR circuit.
Claims (3)
変換して得られる符号系列でディジタル信号が記録され
た磁気記録媒体と、 該ディジタル信号を所定のタイミングで順次検出する手
段と、 該所定のタイミングで検出された信号をnビットの符号
語に変換する手段と、該nビットの符号語の誤りを検出
して誤り検出信号を出力する誤り検出部と、該nビット
の符号語に対するハミング距離が最も近く、符号系列の
DSVを0に近づける他の符号語を出力する置換処理部
と、該誤り検出信号に基づいて該nビットの符号語と該
他の符号語とのいずれかを選択してmビットのデータ語
に逆変換するn−m変換復号手段と、 該mビットのデータ語に誤り訂正を行なう誤り訂正手段
と、 からなり、該誤り訂正手段からの出力をアナログ信号に
変換して情報を再生するディジタル信号の記録再生装
置。1. A magnetic recording medium in which a digital signal is recorded in a code sequence obtained by converting an m-bit data word into an n-bit code word, and means for sequentially detecting the digital signal at a predetermined timing. Means for converting the signal detected at the predetermined timing into an n-bit code word, an error detection unit for detecting an error in the n-bit code word and outputting an error detection signal, and the n-bit code word Which has the closest Hamming distance with respect to, and which outputs another code word that brings the DSV of the code sequence closer to 0, and either the n-bit code word or the other code word based on the error detection signal. And an error correction means for performing error correction on the m-bit data word, and an output of the error correction means is an analog signal. Strange A digital signal recording / reproducing apparatus for converting and reproducing information.
前記mビットのデータ語と前記誤り検出信号とに基づい
て、iをランダムエラー訂正数、jをイレージャエラー
訂正数、dを最小ハミング距離としたときに、2i+j
+1≦dを満たす場合には、上記mビットのデータ語を
訂正する内符号訂正手段を有することを特徴とするディ
ジタル信号の記録再生装置。2. The error correction means according to claim 1,
2i + j, where i is the random error correction number, j is the erasure error correction number, and d is the minimum Hamming distance based on the m-bit data word and the error detection signal.
A digital signal recording / reproducing apparatus having inner code correcting means for correcting the m-bit data word when + 1 ≦ d is satisfied.
段は、 入力された前記mビットのデータ語と直前に入力された
mビットのデータ語との接続誤り検出する手段を有し、
前記誤り検出信号を該接続誤りに関わる符号語全てに出
力することを特徴とするディジタル信号の記録再生装
置。3. The error correction means according to claim 1, further comprising means for detecting a connection error between the input m-bit data word and the immediately previous input m-bit data word,
A recording / reproducing apparatus for a digital signal, wherein the error detection signal is output to all code words relating to the connection error.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31772593A JPH07176147A (en) | 1993-12-17 | 1993-12-17 | Digital signal recording / reproducing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP31772593A JPH07176147A (en) | 1993-12-17 | 1993-12-17 | Digital signal recording / reproducing apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07176147A true JPH07176147A (en) | 1995-07-14 |
Family
ID=18091352
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP31772593A Pending JPH07176147A (en) | 1993-12-17 | 1993-12-17 | Digital signal recording / reproducing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07176147A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001080433A1 (en) * | 2000-04-18 | 2001-10-25 | Nippon Telegraph And Telephone Corporation | Encoding method |
| KR100564532B1 (en) * | 1997-07-24 | 2006-05-25 | 삼성전자주식회사 | Error correction method by generation error flag |
-
1993
- 1993-12-17 JP JP31772593A patent/JPH07176147A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100564532B1 (en) * | 1997-07-24 | 2006-05-25 | 삼성전자주식회사 | Error correction method by generation error flag |
| WO2001080433A1 (en) * | 2000-04-18 | 2001-10-25 | Nippon Telegraph And Telephone Corporation | Encoding method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6079041A (en) | Digital modulation circuit and digital demodulation circuit | |
| US6141787A (en) | Digital modulation and demodulation | |
| US5491479A (en) | 8B-16B RLL decoder with hamming distance detection | |
| US20020167426A1 (en) | Modulation system | |
| JPH084233B2 (en) | Error correction code decoding device | |
| GB2270822A (en) | Decoding digital data for error detection/correction | |
| JP3214478B2 (en) | Error correction decoding device | |
| JP2563389B2 (en) | Error detection and correction method | |
| US7812745B2 (en) | Coding apparatus, decoding apparatus, amplitude adjustment apparatus, recorded information reader, signal processing apparatus and storage system | |
| JP3091497B2 (en) | Digital modulation method, digital modulation circuit, digital demodulation circuit, and digital demodulation method | |
| JP2000149457A (en) | Modulating device and method, demodulating device and method, and providing medium | |
| US7218262B2 (en) | Modulation system | |
| JP3951441B2 (en) | Code state determination method and encoding apparatus | |
| EP0354065A2 (en) | Digital data modulation circuit and method and digital data demodulation circuit | |
| JPH07176147A (en) | Digital signal recording / reproducing apparatus | |
| JP3271208B2 (en) | Error correction decoding device | |
| JP4135497B2 (en) | Data reproduction method and data reproduction apparatus | |
| US6353912B1 (en) | Encoding circuit, encoding method, digital signal transmitting apparatus, and digital signal recording/reproducing apparatus | |
| US7053801B2 (en) | High rate coding for media noise | |
| US6774825B2 (en) | Modulation coding based on an ECC interleave structure | |
| JPH08204573A (en) | Code conversion method | |
| KR0141826B1 (en) | Error correction method of compression data | |
| US6700509B1 (en) | Device and method for processing a digital information signal | |
| JP2898132B2 (en) | Digital modulation method and apparatus | |
| KR0166755B1 (en) | Device and method for generating control signal to correct errors of digital recording/reproducing system |