JPH0455011B2 - - Google Patents

Info

Publication number
JPH0455011B2
JPH0455011B2 JP19680983A JP19680983A JPH0455011B2 JP H0455011 B2 JPH0455011 B2 JP H0455011B2 JP 19680983 A JP19680983 A JP 19680983A JP 19680983 A JP19680983 A JP 19680983A JP H0455011 B2 JPH0455011 B2 JP H0455011B2
Authority
JP
Japan
Prior art keywords
channel
channel code
bits
cco
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP19680983A
Other languages
Japanese (ja)
Other versions
JPS6087552A (en
Inventor
Akira Iketani
Chojuro Yamamitsu
Kunio Suesada
Ichiro Ogura
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 JP19680983A priority Critical patent/JPS6087552A/en
Publication of JPS6087552A publication Critical patent/JPS6087552A/en
Publication of JPH0455011B2 publication Critical patent/JPH0455011B2/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/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

Description

【発明の詳細な説明】[Detailed description of the invention]

産業上の利用分野 本発明はデイジタル信号の伝送及び記録の際に
適用されるMビツトのデータ語をNビツトの通信
路符号語に変換する符号変換方法に関するもので
ある。 従来例の構成とその問題点 一般に、デイジタル信号を磁気記録する際に用
いられる通信路符号に必要な性質として次の4点
が知られている。 (1) 最大連続ビツト数kは“0”又は“1”のい
ずれかが連続してあまり長く続きすぎると、ク
ロツク情報を抽出することが困難になり、セル
フクロツク機能が得られなくなるので、これを
避けるために前記kは大であることが望まし
い。 (2) 最小連続ビツト数dは磁気記録再生系が高周
波数成分を遮断する性質を有しているので、
“0”と“1”の変化が頻繁に起るような通信
路符号語は適当ではない。したがつて、前記d
は大であることが望ましい。 (3) 検出窓幅TWは再生信号のジツタや波形干渉
によるピークシフト等の時間軸変動に対する位
相方向余裕の尺度であり、大きい方が望まし
い。 (4) VTRのように通信路がロータリートランス
によつて結合されていて、直流成分が遮断され
るような場合には、通信路符号は直流成分を含
まないDCフリー符号であることが望ましい。 ところで、上記(1),(2)及び(4)の条件と(3)の条件
は相反するものである。なぜならば、(1),(2)及び
(4)の条件を満たすためには、Mビツトよりなるデ
ータ語をMより大きいNビツトの通信路符号語に
符号変換しなければならないが、TWはデータ語
のビツト長をTとしたとき、TW=M/NTで与
えられるので、この場合TWは必ずTより小さく
なるからである。したがつて、DCフリー符号の
使用が望まれるような通信路において、前記(1),
(2)又は(3)のいずれを重視するかということによ
り、使用する通信路符号が異なる。一般的に、d
を大にするとTminは大になるが、TWは小さくな
る。 従来、上記観点より種々のDCフリー符号が開
発されており、9/10変換符号(田崎他“DCフリ
ー2値ブロツク符号の分類とその特徴”、TV技
報IT45−5,P25(′80−11)はその中の1つであ
る。9/10変換符号は、M=9,N=10,d=1,
k=12及びTW=0.9Tなる特徴を有するDCフリー
符号であり、TWを重視しているが、反面kが大
きいという欠点がある。 発明の目的 本発明の目的は、TWを最も大きくすることが
可能なd=1の場合において、使用する通信路符
号語の左右両端における“0”又は“1”の連続
ビツト数、通信路符号語どうしの接続条件及びデ
ータ語と通信路符号語との対応関係のいずれに対
しても、独自の規則を定めることにより、前記(1)
又は(3)のいずれかの点で、従来に比べて優れた性
能を有するDCフリー符号を得ることができる体
系的な符号変換方法を提供することである。 発明の構成 上記目的を達成するために、本発明は2以上の
Mビツトのデータ語をMより大きいNビツトの通
信路符号語に変換する符号変換方法にであつて、
前記N以下の正の奇数kに対してk′をk/2を越
えない最大の整数として、前記Nビツトによつて
得られる2N個の通信路符号語の内、その始端部L
における“1”の連続ビツト数1が1以上前記k
以下であり、終端部Rにおける“0”または
“1”の連続ビツト数rが前記k′以下であり、前
記Lと前記Rにはさまれた中間部分Bにおける
“1”の連続ビツト数と“0”の連続ビツト数が
いずれも前記k以下であるような前記L,R及び
Bによつて構成される通信路符号語をCCO、前
記CCOのすべてのビツトについて“1”を“0”
に、“0”を“1”に置き換えた前記CCOの裏パ
ターンとし、前記CCOの内、前記1がk−
k′以下の通信路符号語CWOとその前記裏パター
ンに対してはそれぞれにデータ後を対応さ
せ、前記CCOの内前記1がk−k′+1以上の通
信路CW1とその裏パターン1に対しては同一
のデータ語を対応させ、前記CW1と前記1の
選択は同一2進値の連続ビツト数をk以下に保つ
ことを基準に行うようにしたもので、これによ
り、従来に比べて優れた性能を示すd=1のDC
フリー符号が得られる。 実施例の説明 以下本発明の一実施例を図面に基づいて説明す
る。はじめに、その規則について詳細に述べる
が、説明の都合上、()DCフリー符号一般の場
合、()d=1のDCフリー符号の場合に分け
る。 まず()について ():通信路符号語における“1”に+1を、
“0”に−1を割り当てて加算したときの
値をその通信路符号語のデイスパリテイー
(以後DPと記す)と呼び、通信路符号語ど
うしの接続によつて得られるビツト列にお
いて、ビツト列の先頭から任意のビツトま
での前記+1及び−1の積分値をデイジタ
ル・サム・バリエーシヨン(以後DSVと
記す)と呼ぶ。DSVが+∞又は−∞に発
散することなく常に有限ならば、その通信
路符号はDCフリー符号となる。 次に()について ():通信路符号語長が有限であるため、DP
もやはり有限であり、したがつてDSVの
正負に応じて、DSVと逆極性のDPを有す
る通信路符号語を用いることにより、
DSVを有限に抑えることができる。また、
kを所定の値に保つために次のような基準
によつて通信路符号語を選択する。 (−1):kを奇数、k′をk/2を越えない
最大の整数とするとき、“1”で始まるN
ビツトの通信路符号語の左側Lにおける
“1”の連続ビツト数lが1以上k以下で
あり、右側Rにおける“0”又は“1”の
連続ビツト数rが1以上k′以下であり、か
つb=N−l−rビツトの中間部分Bにお
いては、1ビツト以上kビツト以下連続す
る“0”と“1”が交互に現われるような
LとBとRによつて構成される通信路符号
語CCO(第3図a)と共に、CCOのすべて
のビツトについて、“0”と“1”、“1”
と“0”を置き換えたCCOの裏パターン
CCO(第3図b)を選ぶ。なお、CCO及
びにはb=0のものも含まれる。 次にこのようにして選ばれた通信路符号
語とデータ語との対応関係について述べ
る。 (−2):(−1)で選ばれた通信路符号語
CCOのうち、前記lがk−k′以下の通信
路符号語において、前記デイスパリテイー
DP=0なる通信路符号語CWO及び該
CWCの裏パターンに対しては、それ
ぞれに対して1語づつのデータ語を対応さ
せる。又、CCOのうち、lがk−k′以下
であり、DP≠0なる通信路符号語CW1は
その裏パターン1とペアにし、それぞ
れのペアに対してデータ語を対応させる。 (−3):通信路符号語CCOのうち、前記l
がk−k′+1以上の通信路符号語におい
て、DP=0である通信路符号語CW2は、
その裏パターンである2とペアにし、
それぞれのペアに対しデータ語を対応させ
る。 (−4):通信路符号語CCOのうち、lがk
−k′+1以上の通信路符号語において、
DP>0なる通信路符号語CW3とDP<0
なる通信路符号語CW4とそれらの裏パタ
ーンである3と4を1組にし、それ
らの組に対してそれぞれデータ語を対応さ
せる。 次に、上記(−1)〜(−4)で示した通
信路符号語とデータ語の対応関係により、k制限
とDSV有限なる制限を満たすことを示す。ただ
し、l=l1,r=r1である第1通信路符号語W1
とl=l2,r=r2なる第2通信路符号語W2を接
続するものとする。なお、以下ではW1の最終ビ
ツトをLBと呼び、W2のデイスパリテイーをDP
とする。 (a1)W2=CWO又はのとき、そのまま
接続する。CWO及びはDP=0であるから、
そのまま接続しても|DSV|が増加することは
ない。又、r1の最大値はk′、CWO及びのl
の最大値はk−k′であるから、接続部における
“0”又は“1”の連続ビツト数がkを越えるこ
とはない。 (a2)CW1,1共に、そのlの最大値はk
−k′であるから(a1)と同様の理由でk制限を満
たす。したがつて、|DSV|の増加を防ぐだけで
よい。そこでW1の最終ビツトまでのDSVに対し
て次のように接続則を定める。 (a2,1) DP>0,DSV0のときW2=
CW1 (a2,2) DP<0,DSV0のときW2=
CW1 (a2,3) DP>0,DSV<0のときW2=
CW1 (a2,4) DP<0,DSV<0のときW2=
CW1 (a3)CW2及び2はDP=0であるから、|
DSV|が増加することはない。したがつて、k
制限だけが問題となるそこで、次のように接続則
を定める。 (a3,1) LBが“1”のときW2=2 (a3,2) LBが“0”のときW2=CW2 CW2の前記L部は“1”であるから、k制限
を満たすことは明らかである。 (a4)CW3,3,CW4及び4はいずれも
DP≠0であり、その前記L部における“0”又
は“1”の連続ビツト数はk−k′+1以上k以下
であるから、|DSV|を増加させることなく、か
つ、k制限を満たすために次のような接続則を定
める。 (a4,1) DSV0のとき (a4,1,1) LBが“1”のときW2=
CW3 (a4,1,2) LBが“0”のときW2=
CW4 (a4,2) DSV<0のとき (a4,2,1) LBが“1”のときW2=
CW4 (a4,2,2) LBが“0”のときW2=
CW3 3,CW4共にそのDPは負であり、4,
CW3共にそのDPは正であるから、上記接続則に
より|DSV|が増加することはない。又、3
と4の前記L部は“0”CW3とCW4のL部は
“1”であるから、k制限を満たす。 以上述べた(−1)〜(−4)及び(a1)
〜(a4)で規定される符号変換方法により、k
制限されたDCフリー符号が得られる。 次に上記符号変換方法を実施する回路構成図を
第1図に示す。以下、その動作について説明す
る。まず、Mビツトのデータ語はROM101と
ROM102の両方のアドレス部に同時に加えら
れる。ROM101には、前記通信路符号語
CWO,,CW1,CW2,CW3とそれらのデ
イスペリテイーDPの値、ならびに前記L部がk
−k′以下なら“0”、そうでなければ“1”とす
る値Fが記憶されており、ROM102には前記
通信路符号語CW4とそれぞれのDPの値、ならび
に上記F値が記憶されている。 次に、Mビツトのデータ語に対応する上記各値
がROM101及びROM102の出力端子に現
われる。そして、ROM101の出力のうち、N
ビツトの通信路符号語はパラレル−シリアル変換
器103に送られ、シリアルに変換された後、一
方はそのまま他方はインバータ104を通して
4tolのマルチプレクサ105に送られる。同様
に、ROM102の出力端子に現われたNビツト
の通信路符号語は、パラレル−シリアル変換器1
06を通して、一方はそのままマルチプレクサ1
05へ送られ、他方はインバータ107を通して
マルチプレクサ105へ送られる。このようにし
て得られる4種類の通信路符号語のうちから、1
種類の通信路符号語を選択するための切換信号を
生成するのが通信路符号語選択回路108であ
る。この回路は前記(a1)〜(a4)の接続則を
回路化したものであり、ROM101とROM1
02からのDPとF、ならびに最終ビツト保持回
路109に取り込まれた、1つ前に通信路に送出
された通信路符号語の最後のビツトLBとDSVの
値を基にして動作する。なお、DSVは通信路符
号語選択回路108の中で計算される。 前記(a1)〜(a4)の接続則を表にしたのが
第1表である。第1表において、DSV0なら
ばDV=“0”DSV<0ならばDV=“1”,DP=
0ならばP1=“1”,DP>0ならばP1=“0”,P2
=“0”,DP<0ならばP1=“0”,P2=“1”な
る値に定めてあり、P2はデイスパリテイーDPの
サインビツトを用い、P1はDPを表わす全ビツト
の積の否定により得られ、通信路符号語選択回路
108の中で計算される。
INDUSTRIAL APPLICATION FIELD The present invention relates to a code conversion method for converting an M-bit data word into an N-bit channel code word, which is applied when transmitting and recording digital signals. Conventional Structures and Problems The following four characteristics are generally known as necessary for communication channel codes used when magnetically recording digital signals. (1) The maximum number of consecutive bits k should be set because if either "0" or "1" continues for too long, it will be difficult to extract clock information and the self-clock function will not be available. In order to avoid this, it is desirable that k be large. (2) The minimum number of consecutive bits d is determined by the fact that the magnetic recording and reproducing system has the property of blocking high frequency components.
Channel codewords that frequently change between "0" and "1" are not appropriate. Therefore, the above d
is preferably large. (3) The detection window width T W is a measure of the margin in the phase direction against time axis fluctuations such as jitter of the reproduced signal and peak shift due to waveform interference, and the larger the width, the better. (4) If the communication channel is connected by a rotary transformer, such as in a VTR, and the DC component is blocked, it is desirable that the channel code be a DC-free code that does not contain a DC component. By the way, the above conditions (1), (2), and (4) and the condition (3) are contradictory. Because (1), (2) and
In order to satisfy condition (4), it is necessary to convert the data word of M bits into a channel code word of N bits, which is larger than M, and T W is where T is the bit length of the data word. , T W =M/NT, so in this case T W is always smaller than T. Therefore, in communication channels where it is desired to use DC free codes, the above (1) and
The channel code to be used differs depending on whether (2) or (3) is more important. Generally, d
If you increase Tmin, Tmin will increase, but T W will decrease. Conventionally, various DC-free codes have been developed from the above point of view. 11) is one of them.The 9/10 conversion code is M=9, N=10, d=1,
It is a DC free code having the characteristics of k=12 and T W =0.9T, and emphasizes T W , but has the drawback that k is large. Purpose of the Invention The purpose of the present invention is to increase the number of consecutive bits of "0" or "1" at both the left and right ends of the channel code word to be used, and to By establishing unique rules for both the connection conditions between code words and the correspondence between data words and communication channel code words, the above (1) can be achieved.
Or (3), it is an object of the present invention to provide a systematic code conversion method capable of obtaining a DC-free code having superior performance compared to conventional methods. Structure of the Invention In order to achieve the above object, the present invention provides a code conversion method for converting two or more M-bit data words into a channel code word of N bits greater than M, comprising:
For the positive odd number k less than or equal to N, let k' be the largest integer not exceeding k/2, and the starting end L of the 2N channel codewords obtained by the N bits.
The number of consecutive bits of “1” in k is 1 or more
The number r of consecutive bits of "0" or "1" in the terminal part R is less than or equal to the above k', and the number of consecutive bits of "1" in the intermediate part B sandwiched between the above L and the above R is as follows. A channel code word composed of the L, R, and B in which the number of consecutive bits of "0" is less than or equal to the k is defined as a CCO, and "1" for all bits of the CCO is defined as a "0".
, the back pattern of the CCO in which “0” is replaced with “1” is used, and in the CCO, the 1 is k-
For the communication channel code word CWO of k′ or less and its back pattern, the data end is made to correspond to each other, and for the communication channel CW1 and its back pattern 1 for which the above 1 is k−k′+1 or more among the CCO. The same data words are associated with each other, and the selection of CW1 and 1 is based on keeping the number of consecutive bits of the same binary value below k. DC of d=1 showing the performance
A free code is obtained. DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below based on the drawings. First, the rules will be described in detail, but for convenience of explanation, they are divided into () the case of DC free codes in general, and () the case of DC free codes with d=1. First, regarding () (): Add +1 to “1” in the channel code word,
The value obtained by assigning -1 to "0" and adding it is called the disparity (hereinafter referred to as DP) of the channel codeword. The integral value of +1 and -1 from the beginning of the column to an arbitrary bit is called a digital sum variation (hereinafter referred to as DSV). If the DSV is always finite without diverging to +∞ or -∞, the channel code is a DC-free code. Next, regarding (), (): Since the channel codeword length is finite, DP
It is also finite, so by using a channel code word that has a DP of opposite polarity to DSV, depending on the sign of DSV,
DSV can be kept to a finite value. Also,
In order to maintain k at a predetermined value, channel codewords are selected based on the following criteria. (-1): When k is an odd number and k' is the largest integer not exceeding k/2, N starting with "1"
The number l of consecutive "1" bits on the left side L of the bit channel code word is 1 or more and no more than k, and the number r of consecutive "0" or "1" bits on the right side R is 1 or more and no more than k', And in the middle part B of b=N-l-r bits, there is a communication path constituted by L, B, and R such that consecutive "0" and "1" of 1 bit or more and k bits or less appear alternately. With the code word CCO (Figure 3a), for all bits of CCO, “0” and “1”, “1”
CCO back pattern replacing “0” with
Select CCO (Figure 3b). Note that CCO and includes those where b=0. Next, the correspondence between the channel code words and data words selected in this way will be described. (-2): Channel codeword selected in (-1)
Among the CCOs, in the channel code word where l is less than or equal to k-k',
The channel code word CWO with DP=0 and the corresponding
One data word is associated with each CWC back pattern. Among the CCOs, the channel code word CW1 in which l is less than or equal to k-k' and DP≠0 is paired with its back pattern 1, and a data word is associated with each pair. (-3): Among the communication channel code words CCO, the above l
Among the channel codewords where is k−k′+1 or more, the channel codeword CW2 with DP=0 is
Pair it with the back pattern 2,
A data word is associated with each pair. (-4): Of the channel code word CCO, l is k
−k′+1 or more channel codewords,
Channel codeword CW3 with DP>0 and DP<0
The channel code word CW4 and its back patterns 3 and 4 are made into a set, and data words are made to correspond to each set. Next, it will be shown that the correspondence between channel code words and data words shown in (-1) to (-4) above satisfies the k limit and the DSV finite limit. However, the first channel code word W1 where l=l 1 and r=r 1
and a second channel code word W2 with l=l 2 and r=r 2 are connected. In addition, below, the final bit of W1 is called LB, and the disparity of W2 is called DP.
shall be. (a1) When W2=CWO or, connect as is. Since CWO and are DP=0,
Even if you connect as is, |DSV| will not increase. Also, the maximum value of r 1 is k′, CWO and l
Since the maximum value of is k-k', the number of consecutive "0" or "1" bits at the connection never exceeds k. (a2) For both CW1 and 1, the maximum value of l is k
−k′, so the k restriction is satisfied for the same reason as (a1). Therefore, it is only necessary to prevent the increase in |DSV|. Therefore, we define the connection rule for DSV up to the final bit of W1 as follows. (a2, 1) When DP>0, DSV0, W2=
CW1 (a2, 2) When DP<0, DSV0, W2=
CW1 (a2, 3) When DP>0, DSV<0, W2=
CW1 (a2, 4) When DP<0, DSV<0, W2=
CW1 (a3) Since CW2 and 2 have DP=0, |
DSV| will not increase. Therefore, k
Since the only problem is the restriction, we define the connection rule as follows. (a3, 1) When LB is “1”, W2 = 2 (a3, 2) When LB is “0”, W2 = CW2 Since the L part of CW2 is “1”, it is clear that the k restriction is satisfied. It is. (a4) CW3, 3, CW4 and 4 are all
Since DP≠0 and the number of consecutive bits of "0" or "1" in the L part is greater than or equal to k-k'+1 and less than or equal to k, it is possible to satisfy the k limit without increasing |DSV|. Therefore, we define the following connection rule. (a4, 1) When DSV0 (a4, 1, 1) When LB is “1” W2=
CW3 (a4, 1, 2) When LB is “0”, W2=
CW4 (a4, 2) When DSV<0 (a4, 2, 1) When LB is “1” W2=
CW4 (a4, 2, 2) When LB is “0” W2=
The DP of both CW3 3 and CW4 is negative, and 4,
Since the DP of both CW3 is positive, |DSV| will not increase due to the above connection law. Also, 3
Since the L part of and 4 is "0" and the L part of CW3 and CW4 is "1", the k restriction is satisfied. (-1) to (-4) and (a1) mentioned above
~(a4) By the code conversion method defined in (a4), k
A limited DC-free code is obtained. Next, a circuit configuration diagram for implementing the above code conversion method is shown in FIG. The operation will be explained below. First, the M-bit data word is ROM101.
It is added to both address parts of ROM 102 at the same time. The ROM 101 contains the communication channel code word.
CWO, , CW1, CW2, CW3 and their disperity DP values, and the L part is k
A value F that is set to "0" if it is less than or equal to -k' and "1" otherwise is stored, and the ROM 102 stores the channel code word CW4, the value of each DP, and the above F value. There is. The respective values corresponding to the M-bit data word then appear at the output terminals of ROM 101 and ROM 102. Then, among the outputs of the ROM 101, N
The bit channel code word is sent to the parallel-to-serial converter 103, and after being converted to serial, one is left as it is and the other is passed through the inverter 104.
4tol multiplexer 105. Similarly, the N-bit channel codeword appearing at the output terminal of ROM 102 is transmitted to parallel-to-serial converter 1.
06, one side is connected to multiplexer 1 as it is.
05, and the other is sent to multiplexer 105 through inverter 107. Among the four types of channel codewords obtained in this way, one
The channel code word selection circuit 108 generates a switching signal for selecting a type of channel code word. This circuit is a circuit based on the connection rules (a1) to (a4) above, and includes ROM101 and ROM1.
It operates based on DP and F from 02 and the values of the last bits LB and DSV of the channel code word sent out to the channel one time ago, which are taken into the final bit holding circuit 109. Note that the DSV is calculated in the channel codeword selection circuit 108. Table 1 shows the connection rules (a1) to (a4) above. In Table 1, if DSV0, DV=“0”, if DSV<0, DV=“1”, DP=
If 0, P1="1", If DP>0, P1="0", P2
= “0”, if DP < 0, P1 = “0”, P2 = “1”, P2 uses the sign bit of disparity DP, and P1 is the negation of the product of all bits representing DP. and is calculated in the channel codeword selection circuit 108.

【表】 又、セレクトコードSC1はROM101とROM
102の選択に用い、SC1=“0”のときはROM
101を選択し、セレクトコードSC2は通信路符
号語をそのまま送出するか、裏パターンにして送
出するかを選択するためのものであり、SC2=
“0”のときはそのまま送出する。 第1表により、SC1とSC2はそれぞれ次式とな
る。 SC1=1+・P2・F SC2=F・LB+1+2 ただし、“・”は論理積、“-”は否定、“”は
排他的論理和、“+”は論理和を表わす。 上式を論理回路を用いて表わすと第2図のよう
になる。排他的論理和ゲート201、NORゲー
ト202及びANDゲート203によりSC1が得
られ、排他的論理和ゲート204、ANDゲート
205、NORゲート206及びORゲート207
によりSC2が得られる。 以上述べたように、本発明は簡単な回路により
構成可能なことがわかる。 次に、本発明を具体的実施例を用いて説明す
る。 実施例 1 本発明の第1の実施例として、M=9,N=
10,Tmin=0.9T,Tmax=6.3T,k=7,TW
0.9TなるDCフリー符号を例にあげ、それについ
て説明する。 第1の実施例は第2.1表〜第2.10表に示す符号
語長が10ビツトの通信路符号語により構成されて
いる。これらの通信路符号語はk=7及びN=10
に対して、前記(−1)〜(−4)の選択基
準により選別組み合わせたものであり、第2.1表
〜第2.10表より明らかなように539(>512=29
個の通信路符号語があるので、9ビツトのデータ
語との1対1対応が可能である。すなわちM=9
である。したがつて、第1の実施例ではk=7,
N=10,TW=0.9Tが実現でき、従来の9/10変換
DCフリー符号に比べてN及びTWは同等でありな
がらkを5小さくできる。つまり、kに関して約
41%の大幅な改善がなされる。 なお、第2.1表〜第2.10表において通信路符号
語番号No.1〜240は前記通信路符号語CWO及び
CWO同じくNo.241〜539は前記通信路符号語CW1
及びCW1に属する。なお、第1の実施例におい
ては、前記通信路符号語CW2,CW3,CW4及び
これらの裏パターンに属する通信路符号語は存在
しない。 ところで、このような539個の通信路符号語の
うち、データ語との1対1対応に必要な512個の
通信路符号語をどのようにして選ぶかということ
は、種々の要因を考慮して決めなければならない
ことであり、どれが良いかは一概には言えない
が、一例としてPSVの変動が小さくなるような
通信路符号語を選んでみる。これは、次の理由に
よる。 すなわち、第2表の539個の通信路符号語のう
ちから、どの512個を選んでも前記(a1)〜
(a4)の接続則に従うかぎりにおいては必ず直流
分は零になるが、これは長期間の平均であり、短
期間についてみれば多少の変動がある。この変動
幅はDSVの変動幅に関連するものであるから、
DSVの変動幅が小さければ、短期間における直
流成分の変動も小さくなる。又、DSVの変動幅
は、使用する通信路符号語デイスパリテイーDP
によりり制限されるから、DSVの変動幅を小さ
くするには、|DP|の小さい通信路符号語を用い
れば良い。
[Table] Also, select code SC1 is ROM101 and ROM
Used to select 102, and when SC1="0", ROM
101 is selected, and the select code SC2 is for selecting whether to transmit the channel code word as it is or to transmit it as a hidden pattern, SC2=
When it is "0", it is sent as is. According to Table 1, SC1 and SC2 are each expressed as follows. SC1=1+・P2・F SC2=F・LB+1+2 However, “・” represents logical product, “ - ” represents negation, “” represents exclusive OR, and “+” represents logical OR. The above equation can be expressed using a logic circuit as shown in FIG. SC1 is obtained by exclusive OR gate 201, NOR gate 202 and AND gate 203, exclusive OR gate 204, AND gate 205, NOR gate 206 and OR gate 207
SC2 is obtained by As described above, it can be seen that the present invention can be configured with a simple circuit. Next, the present invention will be explained using specific examples. Example 1 As a first example of the present invention, M=9, N=
10, Tmin=0.9T, Tmax=6.3T, k=7, T W =
Let's take a DC free code of 0.9T as an example and explain it. The first embodiment is composed of channel codewords having a codeword length of 10 bits as shown in Tables 2.1 to 2.10. These channel codewords are k=7 and N=10
539 (>512=2 9 ) as is clear from Tables 2.1 to 2.10.
Since there are 9 channel code words, one-to-one correspondence with 9-bit data words is possible. That is, M=9
It is. Therefore, in the first embodiment, k=7,
N = 10, T W = 0.9T can be achieved, compared to conventional 9/10 conversion.
Compared to the DC free code, k can be reduced by 5 while N and T W are the same. That is, about k
A significant improvement of 41% is made. In addition, in Tables 2.1 to 2.10, communication channel codeword numbers No. 1 to 240 are the communication channel codewords CWO and
Similarly to CWO, Nos. 241 to 539 are the communication channel code word CW1
and belongs to CW1. In the first embodiment, the channel code words CW2, CW3, CW4 and the channel code words belonging to these back patterns do not exist. By the way, out of these 539 channel codewords, how to select the 512 channel codewords necessary for one-to-one correspondence with data words takes into consideration various factors. It is difficult to say which one is better, but as an example, let's choose a channel codeword that reduces PSV fluctuations. This is due to the following reason. In other words, no matter which 512 channel codewords are selected from among the 539 channel codewords in Table 2, the above (a1) to
As long as the connection law of (a4) is followed, the DC component will always be zero, but this is a long-term average and there will be some fluctuations in the short term. This fluctuation range is related to the fluctuation range of DSV, so
If the fluctuation range of DSV is small, the fluctuation of the DC component in a short period of time will also be small. Also, the fluctuation range of DSV is determined by the channel code word disparity DP used.
Therefore, in order to reduce the fluctuation range of DSV, it is sufficient to use a channel codeword with a small |DP|.

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】【table】

【表】 第2表から明らかなように、|DP|4なる通
信路符号語数は520であるから、|DP|4なる
通信路符号語だけでも9ビツトより成る512個の
データ語と1対1対応が可能となる。 なお、第1の実施例では、前記通信路符号語
CW4及びCW4は存在しないから、第2図におけ
るROM102、パラレル−シリアル変換器10
6及びMOTゲート107は不必要となり、更に
4to1のマルチプレクサ105を2to1のマルチプレ
クサに置き換えられ、セレクト信号SC1を生成す
るための、第2図における排他的論理和ゲート2
01、NORゲート202及びANDゲート203
を省くことができ、回路構成を更に簡略化でき
る。 以上述べたように、従来の9/10変換符号に比べ
て、kを41%小さくすることができる本実施例の
符号変換方法は、デイジタル画像磁気記録等の高
密度記録が要求されるような場合に、特にその改
善効果が得られ、実用性は非常に高い。 実施例 2 本発明の第2の実施例としてM=11,N=12,
Tmin0.92T,Tmax7.6T,k=7及びTW
0.92TなるDCフリー符号について説明する。 この第2の実施例におけるN=12ビツトの通信
路符号語数は2097であり、11ビツトよりなる2048
個のデータ語と1対1対応が可能となり、TW
M/NT=11/12T0.92Tとなる。これは従来の9/10 変換符号に比べて、kに関しては約41%小さくな
り、かつTWに関しては約2.2%広くなる。 実施例 3 本発明の第3の実施例として、M=16,N=
18,Tmin0.89T,Tmax=4.4T,k=5及び
TW=0.89TなるDCフリー符号について説明する。 この第3の実施例におけるN=18ビツトの通信
路符号語数は89948であり、M=16より成る65536
個のデータ語と1対1対応が可能となり、TW
16/18T0.89Tとなる。したがつて、従来の9/10 変換符号に比べて、TWは約1%小さくなるが、
逆にkは1/2.4と大幅に小さくできる。 発明の効果 以上本発明の符号変換方法によれば、通信路符
号語の左右両端における“0”及び“1”の連続
個数に適当な制約を設けるとともに、通信路符号
語のデイスパリテイーDP及び通信路符号語とデ
ータ語との対応関係を適切に定めることにより、
たとえば実施例1〜3で示したような従来の9/10
変換符号よりもはるかに優れたDCフリー符号の
実現を可能にし、デイジタル画像又はデイジタル
オーデイオ信号記録等の高密度記録が不可避な分
野への応用に適した実用性の高い符号変換方法で
ある。
[Table] As is clear from Table 2, the number of channel code words of |DP|4 is 520, so the channel code word of |DP|4 alone has one pair with 512 data words of 9 bits. 1 correspondence becomes possible. Note that in the first embodiment, the channel code word
Since CW4 and CW4 do not exist, the ROM 102 and parallel-serial converter 10 in FIG.
6 and MOT gate 107 are no longer necessary, and
The 4to1 multiplexer 105 is replaced with a 2to1 multiplexer, and the exclusive OR gate 2 in FIG. 2 is used to generate the select signal SC1.
01, NOR gate 202 and AND gate 203
can be omitted, and the circuit configuration can be further simplified. As described above, the code conversion method of this embodiment, which can reduce k by 41% compared to the conventional 9/10 conversion code, is suitable for applications that require high-density recording such as digital image magnetic recording. In some cases, the improvement effect can be particularly obtained, and the practicality is very high. Example 2 As a second example of the present invention, M=11, N=12,
Tmin0.92T, Tmax7.6T, k=7 and T W
A DC free code of 0.92T will be explained. In this second embodiment, the number of N = 12-bit channel code words is 2097, and the number of 11-bit channel code words is 2048.
One-to-one correspondence with data words is possible, and T W =
M/NT=11/12T0.92T. This is about 41% smaller in k and about 2.2% wider in T W than the conventional 9/10 conversion code. Example 3 As a third example of the present invention, M=16, N=
18, Tmin0.89T, Tmax=4.4T, k=5 and
A DC free code with T W =0.89T will be explained. In this third embodiment, the number of N = 18 bit channel code words is 89948, which is 65536 consisting of M = 16.
One-to-one correspondence with data words is possible, and T W =
16/18T becomes 0.89T. Therefore, T W is approximately 1% smaller than the conventional 9/10 conversion code, but
Conversely, k can be significantly reduced to 1/2.4. Effects of the Invention As described above, according to the code conversion method of the present invention, appropriate constraints are placed on the number of consecutive “0” and “1” at both the left and right ends of the channel code word, and the disparity DP and By appropriately determining the correspondence between channel code words and data words,
For example, the conventional 9/10 as shown in Examples 1 to 3
It is a highly practical code conversion method that enables the realization of DC-free codes that are far superior to conversion codes, and is suitable for applications in fields where high-density recording is unavoidable, such as digital image or digital audio signal recording.

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

第1図は本発明を実現するための回路の構成
図、第2図は通信路符号語を選択するための切換
信号発生回路の回路図、第3図a,bはNビツト
通信路符号語のパターン例を示す図及びその裏パ
ターンを示す図である。 101,102…ROM、103,106…パ
ラレル−シリアル変換器、104,107…
NOT回路、105…4to1マルチプレクサ、10
8…通信路符号語選択回路、109…最終ビツト
保持回路。
Figure 1 is a block diagram of a circuit for realizing the present invention, Figure 2 is a circuit diagram of a switching signal generation circuit for selecting a channel codeword, and Figures 3a and b are N-bit channel codewords. FIG. 2 is a diagram showing an example of a pattern, and a diagram showing a back pattern thereof. 101,102...ROM, 103,106...Parallel-serial converter, 104,107...
NOT circuit, 105...4to1 multiplexer, 10
8...Communication channel code word selection circuit, 109...Last bit holding circuit.

Claims (1)

【特許請求の範囲】 1 2以上のMビツトのデータ語をMより大きい
Nビツトの通信路符号語に変換する符号変換方法
であつて、前記N以下の正の奇数kに対してk′を
k/2を越えない最大の整数として、前記Nビツ
トにより得られる2N個の通信路符号語のうち、そ
の始端部Lにおける“1”の連続ビツト数lが1
以上前記k以下であり、終端部Rにおける“0”
又は“1”の連続ビツト数rが前記k′以下であ
り、前記Lと前記Rにはさまれた中間部分Bにお
ける“1”の連続ビツト数と“0”の連続ビツト
数がいずれも前記k以下であるような前記L,R
及びBによつて構成される通信路符号をCCO、
前記CCOのすべてのビツトについて“1”を
“0”に、“0”を“1”に置き換えた前記CCO
の裏パターンCCOとし、前記CCOの内、前記1
がk−k′以下の通信路符号語CWOとその前記裏
パターンに対してはそれぞれにデータ語を
対応させ、前記CCOの内前記1がk−k′+1以
上の通信路符号語CW1とその裏パターン1に
対しては同一のデータ語を対応させ、前記CW1
と前記1の選択は同一2進値の連続ビツト数
をk以下に保つことを基準に行うことを特徴とす
る符号変換方法。 2 Nビツトの通信路符号語のデイスパリテイー
DPを、通信路符号語における“1”と“0”の
個数の差で定義するとき、前記通信路符号語
CCOのうち前記lがk−k′以下でありかつDP=
0なる通信路符号語CWOとその裏パターン
に対してはそれぞれにデータ語を対応させ、
CCOのうちlがk−k′以下であり、かつDP≠0
なる通信路符号語CW1とその裏パターン1は
ペアにし、それぞれのペアに対してデータ語を対
応させ、CCOのうちlがk−k′+1以上であり
かつDP=0なる通信路符号語CW2とその裏パタ
ーン2をペアにし、それぞれのペアに対して
データ語を対応させ、CCOのうちlがk−k′+
1以上であり、かつDP>0なる通信路符号語
CW3とDP<0なる通信路符号語CW4及びそれら
の裏パターンである通信路符号語3と4を
一組にし、それぞれの組にデータ語を対応させる
ことにより、通信路符号語どうしの接続によつて
生じるビツト列中の“0”及び“1”の最大連続
ビツト数をkに制限するとともに、デイスパリテ
イーDPの積分値を有限に保つことを特徴とする
特許請求の範囲第1項記載の符号変換方法。 3 M=9,N=10及びk=7であることを特徴
とする特許請求の範囲第2項記載の符号変換方
法。 4 |DP|4なる通信路符号を用いることを
特徴とする特許請求の範囲第3項記載の符号変換
方法。 5 M=11,N=12及びk=7であることを特徴
とする特許請求の範囲第2項記載の符号変換方
法。 6 M=16,N=18及びk=5であることを特徴
とする特許請求の範囲第2項記載の符号変換方
法。
[Scope of Claims] 1. A code conversion method for converting a data word of 2 or more M bits into a channel code word of N bits larger than M, which As the largest integer not exceeding k/2, among the 2N channel codewords obtained by the N bits, the number l of consecutive "1" bits at the starting end L is 1.
above k or less, and "0" at the terminal R
Or, the number r of consecutive bits of "1" is less than or equal to the above k', and the number of consecutive bits of "1" and the number of consecutive bits of "0" in the intermediate part B sandwiched between the above L and the above R are both the above k'. The above L and R are less than or equal to k.
The communication channel code composed of and B is CCO,
The CCO in which “1” is replaced with “0” and “0” is replaced with “1” for all bits of the CCO.
The back pattern CCO of
A data word is made to correspond to the channel code word CWO whose value is less than or equal to k−k′ and its back pattern, and a channel code word CW1 whose value is equal to or greater than k−k′+1 among the CCO and its The same data word is made to correspond to the back pattern 1, and the CW1
1. A code conversion method, characterized in that the selection of (1) and (1) is made on the basis of keeping the number of consecutive bits of the same binary value below k. 2 Disparity of N-bit channel codeword
When DP is defined as the difference between the number of “1” and “0” in the channel code word, the channel code word
Of CCO, the l is less than or equal to k−k′ and DP=
For the communication channel code word CWO of 0 and its back pattern, data words are made to correspond to each,
l of CCO is less than or equal to k−k′, and DP≠0
The channel code word CW1 and its back pattern 1 are made into a pair, and a data word is associated with each pair. and its back pattern 2 are paired, and data words are associated with each pair, so that l of CCO is k−k′+
Channel codeword that is 1 or more and DP>0
By combining CW3, the channel code word CW4 with DP < 0, and their back patterns, channel code words 3 and 4, and associating data words with each set, it is possible to connect the channel code words to each other. Claim 1 is characterized in that the maximum number of consecutive bits of "0" and "1" in the resulting bit string is limited to k, and the integral value of the disparity DP is kept finite. code conversion method. 3. The code conversion method according to claim 2, characterized in that M=9, N=10 and k=7. 4. The code conversion method according to claim 3, wherein a channel code of 4 |DP|4 is used. 5. The code conversion method according to claim 2, characterized in that M=11, N=12, and k=7. 6. The code conversion method according to claim 2, characterized in that M=16, N=18, and k=5.
JP19680983A 1983-10-19 1983-10-19 Code converting method Granted JPS6087552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19680983A JPS6087552A (en) 1983-10-19 1983-10-19 Code converting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19680983A JPS6087552A (en) 1983-10-19 1983-10-19 Code converting method

Publications (2)

Publication Number Publication Date
JPS6087552A JPS6087552A (en) 1985-05-17
JPH0455011B2 true JPH0455011B2 (en) 1992-09-02

Family

ID=16364008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19680983A Granted JPS6087552A (en) 1983-10-19 1983-10-19 Code converting method

Country Status (1)

Country Link
JP (1) JPS6087552A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6098743A (en) * 1983-11-04 1985-06-01 Matsushita Electric Ind Co Ltd Code converting method

Also Published As

Publication number Publication date
JPS6087552A (en) 1985-05-17

Similar Documents

Publication Publication Date Title
JPH0544206B2 (en)
US4882583A (en) Modified sliding block code for limiting error propagation
KR920003508B1 (en) Method and apparatus for converting a digital signal
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
EP0143005A2 (en) Digital data converting methods and apparatus
JPH07118657B2 (en) Binary data encoding and decoding system
KR950006085B1 (en) Code modulation system
US4549167A (en) Method of encoding and decoding binary data
US5627694A (en) Recording/reproducing apparatus for recording and reproducing multiple kinds of digital signals having different data amounts per unit time
KR20010032626A (en) Generation of a runlength limited digital information signal
JPH0455011B2 (en)
KR20020087001A (en) A device for encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa
JPH0480576B2 (en)
JPS60114053A (en) Code conversion system
JP3011436B2 (en) Digital signal modulation method
KR100470026B1 (en) Method and apparatus for coding/decoding information
JPS61227430A (en) Code converting device
JP3038245B2 (en) Digital modulation method
JPS60246155A (en) Code converting method
JP2794719B2 (en) Code conversion device
JPS6165531A (en) Code converting method
JPH0695644B2 (en) Decoding device for run-length limited code
JPH02265329A (en) Code inverse converter
JPH0534747B2 (en)
JPH0455012B2 (en)