JPH08204573A - Code conversion method - Google Patents

Code conversion method

Info

Publication number
JPH08204573A
JPH08204573A JP7010570A JP1057095A JPH08204573A JP H08204573 A JPH08204573 A JP H08204573A JP 7010570 A JP7010570 A JP 7010570A JP 1057095 A JP1057095 A JP 1057095A JP H08204573 A JPH08204573 A JP H08204573A
Authority
JP
Japan
Prior art keywords
code
bit
error
word
codeword
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
JP7010570A
Other languages
Japanese (ja)
Inventor
Yoshitaka Mitsui
義隆 三井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP7010570A priority Critical patent/JPH08204573A/en
Publication of JPH08204573A publication Critical patent/JPH08204573A/en
Pending 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/14Digital recording or reproducing using self-clocking codes
    • G11B20/1403Digital recording or reproducing using self-clocking codes characterised by the use of two levels
    • G11B20/1423Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
    • G11B20/1426Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof
    • 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/10009Improvement or modification of read or write signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Detection And Correction Of Errors (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE: To improve the conversion rate and the error detection capability by simultaneous execution of encoding for shift error detection and encoding to a run length limit code. CONSTITUTION: Input data is converted into an error correction code by an ECC encoder 1, and this code is converted into a shift error control RLL by a shift error control RLL encoder 2 based on a conversion table. This RLL is precoded by a precoder 3 and is recorded in a recording system. The code read out from the recording system 4 passes an equalization detector 5 and is converted into the original error correction code by a shift error control RLL decoder 6. In this case, one-bit shift error extended to two code words is corrected by the decoder 6; and in the case of one-bit shift error in one code word, a pointer is set to the bit where there is the probability of error, and it is sent to an ECC decoder 7, and the pointer is referred to perform the error correction processing, and reproduced data is outputted. Thus, one-bit shift error in one block is detected, and the correction code of one-bit shift error extended to two blocks is generated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタルデータを符号
化する際に用いられるもので、ランレングス制限を満た
しながら、シフトエラーに対応した誤り制御機能を持つ
符号を生成するための符号変換方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for encoding digital data, and is a code conversion method for generating a code having an error control function corresponding to a shift error while satisfying a run length limit. It is about.

【0002】[0002]

【従来の技術】デジタルデータを符号化する際に特にデ
ジタル記録に際して、ランレングス制限符号を用いるこ
とは従来よく行われている。ランレングス制限符号を用
いて、同一2進値の連続ビット数を制限することによ
り、再生信号の中から情報信号を読み出すための自己同
期を容易に抽出でき、また信号伝送帯域を狭くできるか
らである。各符号語の最小距離が1であるランレングス
制限符号には、誤り訂正能力、誤り検出能力ともないわ
けであるが、それを補うために種々の誤り訂正能力を含
んだランレングス制限符号が提案されている。アイ・イ
ー・イー・イー・トランザクション・オン・マグネティ
クス27巻6号(IEEE Transactions on Magnetics,Vo
l.27,No.6)に記載されているエイチ・エム・ヒルデ
ン、”シフトエラーコレクティングモジュレーションコ
ード”(H .M .Hilden,"Shift Error Correcting Modul
ation Codes")においてはディスク記録の際に誤り発生
率の高いシフトエラーに対応した誤り訂正符号が記され
ている。前記シフトエラー訂正符号においては例えば2
−7変調されたコードデータに対し、ランの長さのシー
ケンスを19ブロック分求め、そのシーケンスに応じた
パリティブロックを7ブロック分付加し、パリティチェ
ックにより2個までのシフトエラーの訂正を可能として
いる。
2. Description of the Related Art It has been well practiced to use a run-length limited code when encoding digital data, especially when recording digital data. By limiting the number of consecutive bits of the same binary value by using the run-length limited code, the self-synchronization for reading the information signal can be easily extracted from the reproduction signal, and the signal transmission band can be narrowed. is there. The run-length limited code in which the minimum distance between the codewords is 1 has neither error correction ability nor error detection ability, but to compensate for it, run-length limited code including various error correction ability is proposed. ing. IEEE Transactions on Magnetics, Vo
H.M.Hilden, "Shift Error Correcting Modul", H.M.Hilden, "Shift Error Correcting Modul"
ation Codes "), an error correction code corresponding to a shift error having a high error occurrence rate at the time of disc recording is described. In the shift error correction code, for example, 2
-19 sequences of run lengths are obtained for -7 modulated code data, 7 parity blocks corresponding to the sequence are added, and up to 2 shift errors can be corrected by parity check. There is.

【0003】[0003]

【発明が解決しようとする課題】前述のとおり、デジタ
ルデータの符号化としてディスクや磁気テープなどにデ
ジタル記録する際の最も顕著な誤りは、信号干渉やジッ
タの影響に起因するシフトエラーである。従来の技術に
おけるランレングス制限シフトエラー訂正符号を含め、
一般にランレングス制限誤り訂正符号はその変換レート
およびエラー訂正能力が不十分である。そこで本発明に
おいては、高効率で誤り処理能力の高いランレングス制
限符号の生成を課題とする。シフトエラーを含めた符号
誤りは記録密度が高密度であればあるほど増大するの
で、高密度化のためには誤り訂正能力の向上が必要であ
る。
As described above, the most prominent error when digitally recording on a disk or magnetic tape for encoding digital data is a shift error caused by the influence of signal interference and jitter. Including the run length limited shift error correction code in the prior art,
Generally, the run-length limited error correction code has insufficient conversion rate and error correction capability. Therefore, an object of the present invention is to generate a run-length limited code with high efficiency and high error processing capability. Since the code error including the shift error increases as the recording density becomes higher, it is necessary to improve the error correction capability for higher density.

【0004】[0004]

【課題を解決するための手段】前述の課題を解決するた
めに本発明は以下の条件を満たす符号語を各情報語に対
応させる構成を有している。 (1)各符号語は符号語の連接部も含め最小ランレング
ス制限dを満たす (2)各符号語は互いに所定最小シフト距離pを有す
る。ただし所定数連接した符号語において互いに前記最
小シフト距離pを有する場合を含む。 (3)2つの符号語にまたがる(p−1)ビット以内の
シフトが生じた場合に表れる符号語列を形成する符号語
の組は存在しない。
In order to solve the above problems, the present invention has a structure in which a code word satisfying the following conditions is associated with each information word. (1) Each codeword satisfies the minimum run length restriction d including the concatenated part of the codeword. (2) Each codeword has a predetermined minimum shift distance p. However, it includes the case where the code words concatenated by a predetermined number have the above-mentioned minimum shift distance p. (3) There is no set of codewords forming a codeword string that appears when a shift within (p-1) bits across two codewords occurs.

【0005】[0005]

【作用】上記条件に基づく符号語を生成することによ
り、一連の符号語列のランレングスを制限しつつ、1符
号語ごとあるいは所定数の符号語ごとに所定最小シフト
距離pを有しているがために、1符号語内あるいは所定
数の符号語ごとの(p−1)ビットまでのシフトによっ
て生じる符号語列を誤りの含んだ符号語列として検出す
ることができる。また連接した2つの符号語にまたがる
(p−1)ビット以内のシフトエラーが生じた際にそれ
を一意的に訂正することができる。
By generating codewords based on the above conditions, the runlength of a series of codeword strings is limited, and a predetermined minimum shift distance p is provided for each codeword or for each predetermined number of codewords. Therefore, it is possible to detect a codeword string generated by shifting within one codeword or up to (p-1) bits for each predetermined number of codewords as a codeword string including an error. Further, when a shift error within (p-1) bits that spans two concatenated code words occurs, it can be uniquely corrected.

【0006】[0006]

【実施例】 (実施例1)以下本発明の第一の実施例について、4ビ
ットの情報語を8ビットの符号語に変換する方法を説明
する。なお本実施例においては最小ランレングス制限d
を1、最小シフト距離p(ある符号語が同じ重みの別の
符号語になるのに必要な符号1のシフト回数の最小値)
を2とする。
First Embodiment A method for converting a 4-bit information word into an 8-bit code word will be described below as a first embodiment of the present invention. In this embodiment, the minimum run length limit d
Is 1, the minimum shift distance p (the minimum value of the number of shifts of code 1 required for one codeword to become another codeword with the same weight)
Is 2.

【0007】符号語の連接部においても最小ランレング
ス制限1を満たすために、各符号語の最終ビットあるい
は先頭ビットは常に0とする。本実施例においては各符
号語の最終ビットが常に0であるとする。このとき8ビ
ットの符号語の最終ビットが0に固定されたわけである
から、符号語の未決定部分は7ビットの符号列となる。
In order to satisfy the minimum run length limit of 1 even in the concatenated part of code words, the last bit or the head bit of each code word is always 0. In this embodiment, the last bit of each codeword is always 0. At this time, since the last bit of the 8-bit code word is fixed to 0, the undecided part of the code word is a 7-bit code string.

【0008】7ビットの符号列128個のうち、その符
号列内において最小ランレングス制限1を満たすものは
34個である。一般に最小ランレングス制限が1である
ときnビットの符号語内において最小ランレングス制限
1を満たすものの個数をAnとすると、Anは(n−1)
ビットの符号語に0が付加したものと(n−2)ビット
の符号語に01が付加したものとの合計であるから、次
式が成立する。
Out of 128 7-bit code strings, 34 code strings satisfy the minimum run length restriction 1 in the code string. In general, when the minimum run length limit is 1, and the number of those satisfying the minimum run length limit 1 in an n-bit codeword is An, An is (n-1)
Since it is the sum of the bit code word with 0 added and the (n-2) bit code word with 01 added, the following equation is established.

【0009】An=An-1+An-2 符号長1のときの符号語は0、1であるからA1=2、
符号長2のときの符号語は00、01、10であるから
A2=3となり、以下は帰納的にAnの値および符号群が
求まるわけである。
An = An-1 + An-2 When the code length is 1, the codeword is 0, 1, so A1 = 2,
When the code length is 2, the codewords are 00, 01 and 10, so that A2 = 3, and the value of An and the code group are recursively obtained.

【0010】次に以上で求めた7ビットの符号語34個
を重み(符号語に含まれる1の個数)ごとに最小シフト
距離が2となるように2つのグループに分けると(表
1)のようになる。
Next, 34 7-bit code words obtained above are divided into two groups so that the minimum shift distance becomes 2 for each weight (the number of 1's included in the code word). Like

【0011】[0011]

【表1】 [Table 1]

【0012】なお7ビットの符号語に0を付加した8ビ
ットの符号語でもって記す。この結果、表1の各重みご
とにどちらかの符号グループを選んでいくことにより形
成される符号群は全て最小シフト距離2を有することに
なる。なお各重みごとの符号グループの選択方法につい
ては以下の条件を考慮して決定する。
It should be noted that an 8-bit code word obtained by adding 0 to a 7-bit code word is used. As a result, all the code groups formed by selecting one of the code groups for each weight in Table 1 have the minimum shift distance 2. The code group selection method for each weight is determined in consideration of the following conditions.

【0013】最小シフト距離2である符号群を形成した
とき、その符号群の中のある1符号語内において1ビッ
トシフトが生じた場合の符号列は前記符号群の中に存在
しないので、その符号列は誤りを含んでいると検出する
ことができる。そこで次に2符号間にまたがって1ビッ
トシフトが生じた場合に対応させることを考える。
When a code group having a minimum shift distance of 2 is formed, a code string when a 1-bit shift occurs in a certain code word in the code group does not exist in the code group. The code string can be detected as containing an error. Therefore, next, it is considered to deal with the case where a 1-bit shift occurs across two codes.

【0014】2符号間にまたがる1ビットシフトが生じ
た場合、各符号語の先頭ビットあるいは最終ビットにお
いて0であったものは1に、1であったものは0になり
得ることになる。よって各符号語の先頭ビットあるいは
最終ビットが反転したもの(本実施例では先頭ビットの
0が1になる場合はない)が符号語として存在しなけれ
ば2符号間にまたがるシフトエラーを訂正できることに
なる。前述の条件を考慮した上で表1の各重みごとの符
号グループを選択する。重み1のAグループの符号語
(以下、1−Aと表現する)を選択すれば、必然的に2
−Bが選択される。なぜなら1−Aの00000010
という符号の先頭ビットが反転すれば2−Aの1000
0010という符号になるからである。以下同様にして
3−Aが選択される。また1−Bの選択には2−A、3
−Bが伴う。なお0−Aは後者のグループに属し、4−
Aも後者のグループに属す。この結果(表2)のように
2つのグループに分かれ、最大ランレングスkが最小と
なることを考慮して最適な16個の符号語を決定する。
When a 1-bit shift extending between two codes occurs, what was 0 in the first bit or last bit of each code word can be 1, and what was 1 can be 0. Therefore, if the first bit or the last bit of each code word is inverted (the first bit 0 is not 1 in this embodiment) does not exist as a code word, it is possible to correct a shift error extending between two codes. Become. The code group for each weight in Table 1 is selected in consideration of the above conditions. If a codeword of the A group having a weight of 1 (hereinafter expressed as 1-A) is selected, it is inevitably 2
-B is selected. Because 1-A 00000010
If the leading bit of the sign is inverted, 1000 of 2-A
This is because the code is 0010. Similarly, 3-A is selected. For selecting 1-B, 2-A, 3
With B. 0-A belongs to the latter group, and 4-
A also belongs to the latter group. As a result, as shown in (Table 2), it is divided into two groups, and the optimum 16 code words are determined in consideration of the fact that the maximum run length k becomes the minimum.

【0015】[0015]

【表2】 [Table 2]

【0016】そこで符号グループ1においては0000
0000および01000000を除き、符号グループ
2においては16個の符号語をそのまま用いると、符号
グループ1の最大ランレングスは10となり符号グルー
プ2の最大ランレングスは13となる。よって前記符号
語を除いた符号グループ1の16個の符号語を各情報語
に対応させれば本実施例において最も最適な符号群とな
る。(表3)にこれらの符号群を示す。
Therefore, in code group 1, 0000
If 16 code words are used as they are in code group 2 except for 0000 and 01000000, the maximum run length of code group 1 is 10 and the maximum run length of code group 2 is 13. Therefore, if the 16 codewords of the code group 1 excluding the codewords are associated with the respective information words, the optimum code group in this embodiment is obtained. (Table 3) shows these code groups.

【0017】[0017]

【表3】 [Table 3]

【0018】次に本実施例の実現方法の一例及び誤り制
御方法について図1を参照しながら述べる。図1におけ
る1はECC(誤り訂正符号)符号器、2はシフトエラ
ー制御RLL(ランレングス制限)符号器、3はプリコ
ーダー、4はディスク等の記録系、5は等化検出器、6
はシフトエラー制御RLL復号器、7はECC復号器で
ある。入力データはリードソロモン符号等のECC符号
器1により誤り訂正符号に変換され、前述の手順で生成
した変換テーブルに基づくシフトエラー制御RLL符号
器2においてシフトエラー制御RLL符号に変換され、
プリコーダー3によりプリコーディングされたのち記録
系4に記録される。記録系4から読み出された符号は、
等化検出器5を経たのちシフトエラー制御RLL復号器
6によってもとの誤り訂正符号に変換される。その際シ
フトエラー制御RLL復号器6において2符号語にまた
がる1ビットのシフトエラーについてはそれを訂正す
る。また1符号語内の1ビットのシフトエラーについて
はそれを検出して誤りの可能性のあるビットにポインタ
を配置し、そのポインタも伴にECC復号器7に送られ
る。ECC復号器7において前記ポインタを参照しつつ
誤り訂正処理が行われ、再生データが出力される。
Next, an example of an implementation method of this embodiment and an error control method will be described with reference to FIG. In FIG. 1, 1 is an ECC (error correction code) encoder, 2 is a shift error control RLL (run length limited) encoder, 3 is a precoder, 4 is a recording system such as a disk, 5 is an equalization detector, 6
Is a shift error control RLL decoder, and 7 is an ECC decoder. The input data is converted into an error correction code by the ECC encoder 1 such as Reed-Solomon code, and converted into a shift error control RLL code by the shift error control RLL encoder 2 based on the conversion table generated in the above-mentioned procedure.
It is precoded by the precoder 3 and then recorded in the recording system 4. The code read from the recording system 4 is
After passing through the equalization detector 5, it is converted into the original error correction code by the shift error control RLL decoder 6. At this time, the shift error control RLL decoder 6 corrects a 1-bit shift error that extends over two codewords. Further, with respect to a 1-bit shift error in one code word, it is detected, a pointer is arranged at a bit having an error possibility, and the pointer is also sent to the ECC decoder 7. The ECC decoder 7 performs error correction processing while referring to the pointer, and outputs reproduced data.

【0019】本実施例により従来と同じ所定の最小ラン
レングス制限を満たしつつ、1ブロック内の1ビットの
シフトエラーを検出し、2ブロックにまたがる1ビット
のシフトエラーを訂正する符号を生成する効果がある。
なお本実施例においては4/8変換について述べたがこ
のことは変換レート8/14や20/31等においても
可能である。一般に、変換レートm/nにおいて(n−
1)ビットで最小ランレングス1である符号語数が2m+
1より大きければ本実施例を実行できる。
According to the present embodiment, while satisfying the same predetermined minimum run length limit as in the prior art, a 1-bit shift error is detected in one block, and a code for correcting a 1-bit shift error in two blocks is generated. There is.
Although the 4/8 conversion is described in the present embodiment, this is also possible at the conversion rates of 8/14 and 20/31. In general, at the conversion rate m / n (n-
1) 2m + number of code words with minimum run length of 1
If it is larger than 1, this embodiment can be executed.

【0020】(実施例2)以下本発明の第2の実施例に
ついて4ビットの情報語を7ビットの符号語に変換する
方法について説明する。本実施例においても最小ランレ
ングス制限dを1、最小シフト距離pを2とする。
(Embodiment 2) A method of converting a 4-bit information word into a 7-bit code word in the second embodiment of the present invention will be described below. Also in this embodiment, the minimum run length limit d is 1 and the minimum shift distance p is 2.

【0021】7ビットの符号語内において最小ランレン
グス制限1を満たすものは実施例1で述べたように34
個存在し、それを各符号重みごとに最小シフト距離2を
有するようにグループ分けしたものは、(表1)の全符
号語の最終ビットの0を除いたものに相当する。やはり
2符号語にまたがる1ビットのシフトエラーを訂正する
ために、符号語の先頭ビットあるいは最終ビットが反転
した符号は同じ符号語群に存在しないように、(表1)
の全符号語の最終ビットの0を除いたものから各符号重
みごとに符号グループを選択していくと、(0−A、1
−B、2−A、3−B、4−A)と(1−A、2−B、
3−A)とになる。前者を符号グループ1、後者を符号
グループ2とし、(表4)に記す。
Those which satisfy the minimum run length restriction 1 in the 7-bit code word are as described in the first embodiment.
There are a plurality of them, and those are grouped so as to have the minimum shift distance of 2 for each code weight. In order to correct a 1-bit shift error that also extends over two codewords, a code in which the first bit or the last bit of the codeword is inverted does not exist in the same codeword group (Table 1).
If a code group is selected for each code weight from the last bit of all code words except 0, (0-A, 1
-B, 2-A, 3-B, 4-A) and (1-A, 2-B,
3-A). The former is referred to as code group 1 and the latter is referred to as code group 2, which are shown in (Table 4).

【0022】[0022]

【表4】 [Table 4]

【0023】符号グループ1から0000000と10
00001を除く16個を選択すると、1で終わる符号
語が5個、1で始まる符号語が5個存在するので、符号
語の連接部においてランレングス制限を満たさないもの
が合計25通り存在する。その場合は副変換テーブルと
して符号グループ2の符号語でもって先行符号語及び現
符号語を置き換えることとする。符号グループ2の中か
らの符号語の選択条件として連接する2符号語におい
て、先行符号語の最初のビットが0であり現符号語の最
終ビットが0であることがいかなる場合でもランレング
ス制限を満たすために必要である。先行符号語及び現符
号語の副変換テーブルの一例は(表5)のようになる。
Code groups 1 through 0000000 and 10
When 16 except for 00001 are selected, there are 5 codewords that end with 1 and 5 codewords that start with 1, so that there are a total of 25 concatenations of codewords that do not satisfy the run length restriction. In that case, the preceding code word and the current code word are replaced with the code word of code group 2 as the sub-conversion table. In two codewords concatenated as a codeword selection condition from code group 2, the first bit of the preceding codeword is 0 and the last bit of the current codeword is 0. Needed to meet. An example of the sub-conversion table of the preceding code word and the current code word is shown in (Table 5).

【0024】[0024]

【表5】 [Table 5]

【0025】先行符号語と現符号語に同じ符号語が存在
するが、2連続の符号語列の前の符号語か後の符号語か
で区別することが可能である。0101001を000
0000に置き換えた場合でも可能だが最大ランレング
スが無限大となるので不適当である。前記主変換テーブ
ル及び副変換テーブルを用いた場合の最大ランレングス
は16となる。
Although the same code word exists in the preceding code word and the current code word, it is possible to distinguish between the code word before and after the code word string of two consecutive code words. 0101001 to 000
Even if it is replaced with 0000, it is possible, but the maximum run length becomes infinite, which is inappropriate. The maximum run length when using the main conversion table and the sub conversion table is 16.

【0026】次に主変換テーブルの符号語を符号グルー
プ2から構成する場合を考える。符号グループ2の16
個の符号語を選択するとき、1で終わる符号語が7個、
1で始まる符号語が7個あるためこれらを符号グループ
1の符号で置き換える。符号グループ1には0で始まり
0で終わる符号語が8個存在するので、先行符号語およ
び現符号語はこのうちの例えば0000010を除く
(表6)の7個の符号語を用いて置き換えればよい。
Next, consider the case where the code word of the main conversion table is composed of the code group 2. 16 of code groups 2
7 codewords ending with 1,
Since there are seven code words starting with 1, these are replaced with the code of code group 1. Since there are eight codewords that start with 0 and end with 0 in code group 1, if the preceding codeword and the current codeword are replaced with seven codewords excluding, for example, 0000010 (Table 6), Good.

【0027】[0027]

【表6】 [Table 6]

【0028】この主変換テーブル及び副変換テーブルを
用いた場合の最大ランレングスは12となるので、結局
主変換テーブルの符号語は符号グループ2から選択した
方が、この場合はより良い。
Since the maximum run length is 12 when the main conversion table and the sub conversion table are used, it is better to select the code word of the main conversion table from the code group 2 in this case.

【0029】ところで本実施例の誤り制御能力を求める
と2符号語ごとに最小シフト距離2を有するわけだが、
副変換テーブルによって変換される2連続の符号語は両
者とも同じ符号語になる可能性があるので、主変換テー
ブルの符号語を符号グループ2から選択する場合におい
て例えば符号語列00001000100000000
0100が生じた場合、どの符号語にも1ビットシフト
エラーの可能性がある。よって本実施例では3符号語つ
まり21ビットに1ビットのシフトエラーを検出する能
力がある。
When the error control capability of this embodiment is obtained, every two codewords have the minimum shift distance of 2.
Since two consecutive codewords converted by the sub-conversion table may be the same codeword, when the codeword of the main conversion table is selected from the code group 2, for example, the codeword string 00001000100000000.
If 0100 occurs, there is a possibility of 1-bit shift error in any codeword. Therefore, this embodiment has the ability to detect a 1-bit shift error in 3 code words, that is, 21 bits.

【0030】次に本実施例の実現方法の一例について実
施例1と異なる部分を図2、図3を参照しながら説明す
る。図2は図1におけるシフトエラー制御RLL符号器
2を構成するものであり、8、9はそれぞれ主変換テー
ブル、副変換テーブルに基づく符号語生成回路である。
10は保持回路であり、現符号語の最終ビットの値を保
持し次符号語との連接部で1が連続するかどうかを判定
回路13で判定する。11、12は遅延回路であり、符
号語生成回路8、9によって生成された符号語が判定回
路13の判定結果と伴に同時に符号語決定回路14に送
られ決定された符号語が出力される。
Next, an example of a method of implementing this embodiment will be described with reference to FIGS. FIG. 2 constitutes the shift error control RLL encoder 2 in FIG. 1, and 8 and 9 are codeword generation circuits based on the main conversion table and the sub conversion table, respectively.
Reference numeral 10 denotes a holding circuit, which holds the value of the last bit of the current codeword, and the determination circuit 13 determines whether or not 1 continues in the concatenation part with the next codeword. Reference numerals 11 and 12 are delay circuits, and the codewords generated by the codeword generation circuits 8 and 9 are sent to the codeword determination circuit 14 at the same time as the determination result of the determination circuit 13 and the determined codewords are output. .

【0031】図3は図1におけるシフトエラー制御RL
L復号器6を構成するものであり、入力された符号語は
主変換テーブル、副変換テーブル両方に基づく復号回路
15により復号され、復号された符号語が副変換テーブ
ルの先行符号語に対応したものであるかどうかを判定回
路16により判定し、判定結果を復号回路15に送るこ
とにより副変換テーブル用の符号語が連続した際の先の
符号語か後の符号語かを区別する。17は遅延回路であ
り、先行の符号語と現在の符号語を同時に判定回路18
に送ることによりエラー検出フラグ設定の判定を行い復
号結果と伴に出力する。
FIG. 3 shows the shift error control RL in FIG.
The L code decoder 6 is configured, the input codeword is decoded by the decoding circuit 15 based on both the main conversion table and the sub conversion table, and the decoded code word corresponds to the preceding code word of the sub conversion table. It is determined by the determination circuit 16 whether or not it is the one, and the determination result is sent to the decoding circuit 15 to discriminate between the preceding code word and the subsequent code word when the code words for the sub-conversion table are continuous. Reference numeral 17 denotes a delay circuit, which determines the preceding codeword and the current codeword at the same time.
The error detection flag setting is determined by sending the result to and output with the decoding result.

【0032】本実施例により従来と同じ所定の最小ラン
レングス制限を満たしつつ、3ブロックに1ビットのシ
フトエラーを検出し、2ブロックにまたがる1ビットの
シフトエラーを訂正する符号を生成する効果がある。な
お本実施例は4/7変換について述べたが、このことは
変換レート8/13や20/30等においても可能であ
る。すなわち従来の1−7変調は2/3変換であるが、
それを20/30変換に拡張すれば同じ変換レート、同
じ最小ランレングスでもって誤り検出能力を付加できる
ことを意味する。一般に、変換レートm/nにおいてn
ビットで最小ランレングス1である符号語数が2m+1よ
り大きければ本実施例を実行できる。
This embodiment has the effect of generating a code that detects a 1-bit shift error in 3 blocks and corrects a 1-bit shift error in 2 blocks while satisfying the same predetermined minimum run length limit as in the prior art. is there. Although the present embodiment has described the 4/7 conversion, this is also possible at conversion rates of 8/13 and 20/30. That is, the conventional 1-7 modulation is 2/3 conversion,
It means that if it is expanded to 20/30 conversion, error detection capability can be added with the same conversion rate and the same minimum run length. In general, n at a conversion rate m / n
If the number of code words having a minimum run length of 1 is larger than 2m + 1, this embodiment can be executed.

【0033】[0033]

【発明の効果】本発明はデジタル符号変換方法におい
て、シフトエラーを検出する符号化とランレングス制限
符号化を同時に行う高能率な符号の生成法に関し、変換
レートの向上と誤り検出能力の向上を目指したものを示
した。最小ランが2の場合においても本発明によれば、
変換レート8/18、18ビットに1ビットのシフトエ
ラー検出が可能であり、従来に比べ著しい向上がある。
こうしたシフトエラーは特にディスク記録系において非
常に誤り発生率が高く、符号変換処理にシフトエラーを
検出する能力を付加することにより、符号変換処理とは
別に施される誤り訂正処理と合わせて全体の誤り訂正能
力を向上させ、デジタル記録の高密度化が図れる効果が
ある。
INDUSTRIAL APPLICABILITY The present invention relates to a highly efficient code generation method for simultaneously performing shift error detection coding and run length limited coding in a digital code conversion method, and improves a conversion rate and an error detection capability. I showed what I aimed for. According to the present invention even when the minimum run is 2,
It is possible to detect a shift error of 1 bit per 18 bits at a conversion rate of 8/18, which is a significant improvement over the conventional one.
Such a shift error has a very high error occurrence rate especially in the disc recording system, and by adding the ability to detect the shift error to the code conversion process, the error correction process performed separately from the code conversion process can be performed. This has the effect of improving the error correction capability and increasing the density of digital recording.

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

【図1】第一の実施例を実現する回路構成を示すブロッ
ク図
FIG. 1 is a block diagram showing a circuit configuration for realizing a first embodiment.

【図2】第二の実施例における符号化部の回路構成を示
すブロック図
FIG. 2 is a block diagram showing a circuit configuration of an encoding unit according to a second embodiment.

【図3】第二の実施例における復号化部の回路構成を示
すブロック図
FIG. 3 is a block diagram showing a circuit configuration of a decoding unit in the second embodiment.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】情報語mビットを符号語nビットに変換す
るm/n符号変換方法において、前記符号語の列が前記
符号語の連接部を含め所定のランレングス制限を満た
し、かつ前記符号語ごとあるいは所定数の前記符号語ご
とに互いに所定最小シフト距離pを有し、かつ連接した
2つの前記符号語にまたがる(p−1)ビット以内のビ
ットシフトによって生じる符号語列は前記符号語の列と
して存在しないことを特徴とする符号変換方法。
1. A m / n code conversion method for converting m bits of information words into n bits of code words, wherein a sequence of the code words satisfies a predetermined run length restriction including a concatenation portion of the code words, and the code A codeword string having a predetermined minimum shift distance p for each word or for each of a predetermined number of the codewords and generated by bit shifting within (p-1) bits across the two concatenated codewords is the codeword A code conversion method characterized by not existing as a sequence of.
【請求項2】各符号語において最小ランレングス制限d
を満たし、かつ前記各符号語の先頭からと最後尾からと
の合わせてdビットの任意の指定した位置にあるビット
が0であることを特徴とする請求項1記載の符号変換方
法。
2. A minimum run length limit d in each codeword.
2. The code conversion method according to claim 1, wherein the bit satisfying the above condition and the bit at any specified position of the d bits from the beginning and the end of each code word is 0.
【請求項3】符号長nの全符号語の中から最小ランレン
グス制限dを満たすものを選び出し、前記最小ランレン
グス制限dを満たす符号語を互いにシフト距離pをもつ
2つのグループに分け、前記2グループのうちの1グル
ープの中から情報語に対応させる符号語を決定する主変
換テーブルを用い、前記主変換テーブルにより変換され
る前記符号語の連接部において前記最小ランレングス制
限dを満たさないときは、連接した前記符号語列に対応
する先行の前記情報語および現在の前記情報語を前記2
グループのうちの他の1グループの中から、先行の前記
情報語に先頭ビットが0である符号語を対応させて現在
の前記情報語には最終ビットが0である符号語を対応さ
せる副変換テーブルを用い、かつ前記主変換テーブルま
たは前記副変換テーブルによって生成される連接した2
つの符号語列にまたがる(p−1)ビット以内のビット
シフトによって生じる2つの符号語列が、どちらか1つ
の変換テーブルによって生成される符号語として存在し
ないことを特徴とする請求項1記載の符号変換方法。
3. A code word satisfying the minimum run length restriction d is selected from all code words having a code length n, code words satisfying the minimum run length restriction d are divided into two groups having a shift distance p from each other, and A main conversion table that determines a code word corresponding to an information word is selected from one of the two groups, and the minimum run length restriction d is not satisfied at the concatenation part of the code words converted by the main conversion table. If the preceding information word and the current information word corresponding to the concatenated code word sequence are
Sub-conversion in which the code word having the leading bit of 0 is made to correspond to the preceding information word and the code word having the last bit of 0 is made to correspond to the current information word from the other one of the groups A concatenated two using a table and generated by the main conversion table or the sub conversion table
2. The two codeword strings generated by the bit shift within (p−1) bits across one codeword string do not exist as codewords generated by one of the conversion tables. Code conversion method.
JP7010570A 1995-01-26 1995-01-26 Code conversion method Pending JPH08204573A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7010570A JPH08204573A (en) 1995-01-26 1995-01-26 Code conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7010570A JPH08204573A (en) 1995-01-26 1995-01-26 Code conversion method

Publications (1)

Publication Number Publication Date
JPH08204573A true JPH08204573A (en) 1996-08-09

Family

ID=11753907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7010570A Pending JPH08204573A (en) 1995-01-26 1995-01-26 Code conversion method

Country Status (1)

Country Link
JP (1) JPH08204573A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100324742B1 (en) * 1999-01-14 2002-02-20 구자홍 Code assignment method for encoder
KR100408532B1 (en) * 1996-10-31 2004-01-24 삼성전자주식회사 PRML code generation method in data storage device
US7174485B2 (en) 2003-11-21 2007-02-06 Seagate Technology Llc Reverse error correction coding with run length limited constraint
US7248607B2 (en) 1997-09-02 2007-07-24 Hitachi, Ltd. Data transmission method for embedded data, data transmitting and reproducing apparatuses and information recording medium therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100408532B1 (en) * 1996-10-31 2004-01-24 삼성전자주식회사 PRML code generation method in data storage device
US7248607B2 (en) 1997-09-02 2007-07-24 Hitachi, Ltd. Data transmission method for embedded data, data transmitting and reproducing apparatuses and information recording medium therefor
US7317738B2 (en) 1997-09-02 2008-01-08 Hitachi, Ltd. Data transmission method for embedded data, data transmitting and reproducing apparatuses and information recording medium therefor
KR100324742B1 (en) * 1999-01-14 2002-02-20 구자홍 Code assignment method for encoder
US7174485B2 (en) 2003-11-21 2007-02-06 Seagate Technology Llc Reverse error correction coding with run length limited constraint

Similar Documents

Publication Publication Date Title
US6079041A (en) Digital modulation circuit and digital demodulation circuit
US6940431B2 (en) Method and apparatus for modulating and demodulating digital data
KR100294893B1 (en) Method for generating RLL code having enhanced DC suppression capability, and modulation method and demodulation method of the generated RLL code
JPH11346154A (en) Device and method for modulation, device and method for demodulation and providing medium
JPS6367268B2 (en)
JP2002271205A (en) Modulation method, modulator, demodulation method, demodulator, information recoding medium, information transmitting method and information transmitting equipment
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
US6606038B2 (en) Method and apparatus of converting a series of data words into modulated signals
JPH1186458A (en) Modulating device and method, demodulating device and method and transmission medium
JP3240341B2 (en) Information conversion method and recording / reproducing device
US6771195B2 (en) Encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa, such that the conversion is parity inverting
JP2000149457A (en) Modulation device and method therefor, demodulation device and method therefor, and distribution medium
JP3916055B2 (en) Modulation method, modulation device, recording medium, demodulation method and demodulation device
KR100274213B1 (en) Rll(2,25) modulation code and method of coding/decoding digital data utilizing its code
US7274312B2 (en) High rate coding for media noise
JP2002280907A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method and information transmitter
US6696991B2 (en) Coding and decoding method of suppressing DC component in codestream
JPH08204573A (en) Code conversion method
EP0880234B1 (en) Data modulation and transmission
JPH1198021A (en) Demodulation device and method and transmission medium
JP4061844B2 (en) Modulation method, modulation device, demodulation method, demodulation device, information recording medium, information transmission method, and information transmission device
JP2898132B2 (en) Digital modulation method and apparatus
JP2001111430A (en) Encoding method and encoder
JP2004220766A (en) Modulation method, modulation device, demodulation method, demodulation device, information recording medium, information transmitting method and device,
JP2000307431A (en) Modulating device and demodulating device