JPS6165531A - Code converting method - Google Patents

Code converting method

Info

Publication number
JPS6165531A
JPS6165531A JP59186705A JP18670584A JPS6165531A JP S6165531 A JPS6165531 A JP S6165531A JP 59186705 A JP59186705 A JP 59186705A JP 18670584 A JP18670584 A JP 18670584A JP S6165531 A JPS6165531 A JP S6165531A
Authority
JP
Japan
Prior art keywords
code
code word
bits
word
cco
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
JP59186705A
Other languages
Japanese (ja)
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 JP59186705A priority Critical patent/JPS6165531A/en
Priority to EP85302291A priority patent/EP0162558B1/en
Priority to DE8585302291T priority patent/DE3583819D1/en
Priority to US06/719,629 priority patent/US4760378A/en
Priority to KR8506510A priority patent/KR900007932B1/en
Publication of JPS6165531A publication Critical patent/JPS6165531A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To obtain easily a DC free code not obtained by a conventional sys tem, for example, d=2, k=9, M=4, N=4 and TW=0.5T by deciding the unique rule to the combination of code words in case k-d+1>N-d' not in existence in a conventional general rule. CONSTITUTION:When an inequality I is established, connection rules a1-a4 of the general rule are applied as they are and an excellent (d, k) DC free code which had not been attained by the conventional general rule is established by introducing a new connection rule a5. In the connection rule a3, the part L of two code words with DPnot equal to 0 is not always '1' below d-1 in the range where equation I is established. However, when both are (d) or over, it is inclu sive of the conventional connection rule a4, and when they are both d-1 or below conversely, since it is included in the conventional connection rule a3, the new connection rule a5 is the combination of a code word with Pnot equal to 0 and l<=d-1 and a code word with DPnot equal to 0 and l>=d, and the ¦DSV¦ is not increased by using the code rule a5 and the d, k limitation is satisfied.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はディジタル信号の伝送および記録の際に適用さ
れるMビットのデータ語をNビットの符号語に変換する
符号変換方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a code conversion method for converting an M-bit data word into an N-bit code word, which is applied when transmitting and recording digital signals.

従来例の構成とその問題点 一般に、ディジタル信号を磁気記録する際に用いられる
通信路符号に必要な性質として、次の4点が知られてい
る。
Conventional configurations and their problems In general, the following four points are known as properties necessary for communication channel codes used when magnetically recording digital signals.

(1)最大連続ビット数に:“O”または1″のいずれ
かが連続してあまり長く続きすぎると、クロンク情報を
抽出することが困難になり、セルフクロック機能が得ら
れなくなるので、これを避けるために前記には小である
ことが望ましい0 (2)最小連続ビット数d:磁気記録再生系は高周波成
分を遮断する性質を有しているので、” o ”と11
11+の変化が頻繁に起こるような符号は適当ではない
。したがって、前記dは犬であることが望ましい。
(1) Maximum number of consecutive bits: If either “O” or 1” continues for too long, it will be difficult to extract the clock information and the self-clock function will not be available. In order to avoid this, it is desirable that the above value is small.
A code in which 11+ changes occur frequently is not suitable. Therefore, it is desirable that d be a dog.

(3)検出窓幅TW:再生信号のジッタや波形干渉によ
るピークシフト等の時間軸変動に対する位相方向余裕の
尺度であり、大きい方が望まし7い0 (4)VTRのように通信路がロータリートランスによ
って結合されていて、直流成分が遮断されるような場合
には、符号は直流成分を含まないDCフリー符号である
ことが望ましい。
(3) Detection window width TW: This is a measure of the phase direction margin against time axis fluctuations such as jitter of the reproduced signal and peak shift due to waveform interference, and the larger the value, the better. If the signals are coupled by a rotary transformer and the DC component is blocked, it is desirable that the code be a DC-free code that does not include the DC component.

以降、上記(1) 、 (2)および(4)の制約を受
ける符号を(d、k)DCフリー符号と呼ぶ。
Hereinafter, codes subject to the above constraints (1), (2), and (4) will be referred to as (d, k) DC-free codes.

従来、上記観点より種々の(d 、 k )DCフリー
符号が開発されており、(d、k)DCフIJ −符号
を体系的に得る一般則として、先に提案(特願昭58−
207938号)した0 次に、その一般則を示しその問題点を明らかにするが、
その前に、DCフリー符号について簡単に示す。
Conventionally, various (d, k) DC-free codes have been developed from the above point of view, and a general rule for systematically obtaining (d, k) DC-free IJ- codes was previously proposed (Japanese Patent Application No. 1983-
207938) 0 Next, we will show the general rules and clarify the problems,
Before that, we will briefly explain DC-free codes.

(I)DCフリー符号について 符号語における1”に+1:”o”に−1を割り当てて
加算したときの値を、その符号語のディスパリティ−(
以降DPと記す)と呼ぶ。又、符号語どうしの接続によ
って生じるピット列において、ビット列の始まりから任
意のピントまでの前記+1及び−1の加算値を、そのピ
ットでのD S V (Digital Sum Va
riation)  と呼ぶ0このDSVが+■又は−
■に発散することなく常に有限ならば、その符号はDC
フリーとなる。
(I) For DC-free codes, the value obtained by assigning +1 to 1" in the code word and -1 to "o" is calculated as the disparity of the code word - (
(hereinafter referred to as DP). In addition, in a pit string generated by connecting code words, the added value of +1 and -1 from the start of the bit string to an arbitrary focus is calculated as DSV (Digital Sum Va) at that pit.
riation) 0 This DSV is +■ or -
■If it is always finite without divergence, its sign is DC
Becomes free.

(II)  一般則について この一般則は、2以上のdに対して符号語どうしの接続
によってもd、に制限を満たすと共に、DSVを有限に
保たせるために、使用可能な符号語の接続端条件を、与
えられるd、kに対し一意に定めると共に、独自の符号
語どうしの接続則を導入している。
(II) About the general rule This general rule states that for d of 2 or more, in order to satisfy the restriction on d by connecting code words and to keep the DSV finite, the connection end of the usable code words is Conditions are uniquely determined for given d and k, and a unique connection rule between code words is introduced.

以下、符号語の接続端条件、接続則を示す。The connection end conditions and connection rules for code words are shown below.

まず、DCフリー、すなわちDSVi有限に保シ、符号
語長が有限である場合には、符号語のディスパリティ−
DPもやはり有限であるから、1つ前に送出した符号語
の最終ピッ)LBでのDSVの正負に応じて、次に送出
する符号語はDSVとは逆極性のディスハリティーDP
を有するものにする。こうすることにより、DSVの発
散を防ぐことができる。
First, when DC-free, that is, DSVi is kept finitely, and the codeword length is finite, the disparity of the codeword is
Since DP is also finite, the next codeword to be transmitted will have a disharity DP with the opposite polarity to DSV, depending on the sign of DSV at the last pick (LB) of the codeword transmitted before.
to have the following. By doing so, divergence of DSV can be prevented.

次に、以上述べたDSVを有限に抑える接続則に加えて
、cl、に制限を満たすための符号語の接続端条件及び
接続則を具体的に示す。
Next, in addition to the above-mentioned connection rule for limiting the DSV to a finite value, code word connection end conditions and connection rules for satisfying the restriction on cl will be specifically shown.

(■−1):2以上のdに対して、d′をd/2を越え
ない最大の整数とするとき、“1”で始まるNビットの
符号語の始端り部における”1゛の連続ビット数lと、
符号語の終端R部における0”又は′1”の連続ビット
数τが、次式(1)と(2)に示す範囲のどちらか一方
に属し、かつ、b=N−l−rビットの符号語の中間B
′FiVIにおいては、dビット以上にビ、/)以下連
続するff OI+と1′が交互に現われるような、L
、B及びRrrr +−−−r M+ m −’r −
h Z、 a 8 m (”! (:○J−CCOの寸
べてのビットについて、Q OIIを1°l 、 !l
 111をII OIIに反転したCCOの裏パターン
CCOを選ぶ。
(■-1): For d greater than or equal to 2, when d' is the largest integer not exceeding d/2, a series of "1" at the beginning of an N-bit code word starting with "1" The number of bits l and
The number of consecutive bits τ of 0" or '1" in the terminal R part of the code word belongs to either of the ranges shown in the following equations (1) and (2), and b = N-l-r bits. middle B of codeword
In 'FiVI, d bits or more are bi, /) or less consecutive ff. L such that OI+ and 1' appear alternately.
, B and Rrrr +---r M+ m −'r −
h Z, a 8 m (”! (:○For all bits of J-CCO, Q OII is 1°l, !l
Select the back pattern CCO of CCO in which 111 is reversed to II OII.

Nビット符号語 Nビット符号語 d′≦l≦に−d+1  、cl−&<、r≦に−d+
1 −・−−−−(j)d−d’(7≦に−d+1 、
d′≦r<、に−d+1   =−−−@)以下では、
l及びrは式(1)に属するものとするが、式(2)の
場合についても同様である。
-d+1 for N-bit codeword N-bit codeword d'≦l≦, -d+ for cl-&<, r≦
1 −・−−−−(j) d−d′ (−d+1 for 7≦,
d′≦r<, −d+1 =−−−@) Below,
It is assumed that l and r belong to formula (1), but the same applies to formula (2).

(ll−2): (II−1)で選択した符号語CCO
のうち、前記!がd−1以下であるDP=Oなる符号語
CWOとその裏パターンCWQをペアにし、それぞれの
ペアに対しデータ語を対応させる。
(ll-2): Code word CCO selected in (II-1)
Among them, the above! A code word CWO with DP=O where d-1 or less is paired with its back pattern CWQ, and a data word is associated with each pair.

また、前記lがd以上であるDP−〇なる符号語CW1
とその裏パターンCW1をペアにし、それぞれのペアに
対しデータ語を対応させる。
Further, the code word CW1, DP-〇, where l is greater than or equal to d
and its back pattern CW1 are paired, and a data word is associated with each pair.

(U−3): (ll−1)で選択した符号語CC。(U-3): Code word CC selected in (ll-1).

のうち、前記lがd−1以下であるDP)oなる符号語
CW2とDP(○なる符号語CW3およびそれらの裏パ
ターンであるCW2とCW3を1組にし、それぞれの組
に対してデータ語を対応させる。
Among them, code words CW2 and DP (where l is less than or equal to d-1), code words CW2 and DP (code words CW3 and their back patterns CW2 and CW3, respectively) are combined into one set, and a data word is assigned to each set. correspond.

(It−4): (It−1)で選択した符号語CC。(It-4): Code word CC selected in (It-1).

のうち、前記lがd以上であるDP)oなる符号語CW
4とDP(oなる符号語CW5およびそれらの裏パター
ンであるCW4とCW5を1組にし、それぞれの組に対
してデータ語を対応させる。
Among them, the code word CW, DP)o, in which l is greater than or equal to d
The code word CW5 of 4 and DP(o and their back patterns CW4 and CW5 are made into one set, and a data word is made to correspond to each set.

次に、上記(n−1)〜(It−4)で示した符号語と
データ語の対応関係により、dおよびに制限とDSV有
限なる制限をともに満たすことを示す。ただし、1=1
1 およびr=r1なる第1符号語W1と、1=12お
よびr=r2なる第2符号語W2の接続について考える
ものとする。なお、以下ではWlの最終ビットをLBと
呼ぶものとする。
Next, it will be shown that the correspondence between code words and data words shown in (n-1) to (It-4) above satisfies both the restriction on d and the restriction that DSV is finite. However, 1=1
Consider the connection of a first code word W1 with 1 and r=r1 and a second code word W2 with 1=12 and r=r2. Note that in the following, the final bit of Wl will be referred to as LB.

(al):CWOおよびCWoはともにDP=Oである
から、W2としてそのいずれを接続してもID5v1が
増加することはないので、dおよびkだけが制約となる
。そこで、次のような接続則を定める。つまり、W2に
、CWoまたはCWOのいずれかを用いなければならな
いとき、(al 、1 )  LBが1111+のとき
W2=CWO(al 、2)  LBがff OIIの
ときW2=CWOとする。なぜならば、LBが”1”の
ときW2にd−1ビツト以下の“o 11であるから、
WlとW2=CWoの接続部にはd−1ビツト以下のO
”が生じ、d制限に反するので、この場合、W2=CW
Oは適当ではない。逆にW2=CW○のとき、WlのR
部における”1”の最大連続ピント数はに−d +1で
あり、CWoのL部におけるn 1nの最大連続ピント
数けd−1であるから、WlとW2=CWOの接続部に
おける1“の最大連続ピント数はkとなる。また、Wl
のR部においては、少なくともd −d’ビットの“1
”があり、W2=CWoのL部においては、少なくとも
d′ビットの1”があるので、WlとW2=CW。
(al): Since both CWO and CWo have DP=O, connecting either of them as W2 will not increase ID5v1, so only d and k are constraints. Therefore, the following connection rule is established. That is, when either CWo or CWO must be used for W2, (al, 1) When LB is 1111+, W2=CWO (al, 2) When LB is ff OII, W2=CWO. This is because when LB is "1", W2 is "o 11" which is less than d-1 bits.
At the connection between Wl and W2=CWo, there is an O of d-1 bits or less.
” occurs, which violates the d restriction, so in this case, W2=CW
O is not appropriate. Conversely, when W2=CW○, R of Wl
The maximum number of consecutive focuses of "1" in the L part of CWo is -d+1, and the maximum number of consecutive focuses of n1n in the L part of CWo is d-1. The maximum number of consecutive focuses is k. Also, Wl
In the R part of the
", and in the L part of W2=CWo, there is at least the d' bit of 1", so Wl and W2=CW.

の接続部にはdビット以上の“1′があることになり、
d制限を満たす。
There will be more than d bits of “1” at the connection point,
d satisfies the restriction.

以上述べたことは、(al、2)についても全く同様で
ある。
The above description also applies to (al, 2).

(a2 ):CWl 、CWlともにDP=Oであるか
ら(al)の場合と同じく、dとkだけが制約となる。
(a2): Since DP=O for both CWl and CWl, only d and k are constraints, as in the case of (al).

そこで、次のような接続則を定める。つまり、W2にC
WlまたはCWlのいずれかを用いなければならないと
き、 (a2.1)WlのR部における”1パの連続ビット数
がd以上のときW2=CW1 (a2.2)WlのR部における“1”の連続ビット数
がd−1以下のときW2= W1 (a2,3)WlのR部における“○″“の連続ビット
数がd以上のときW2=CW1 (a2.4)WlのR部におけるn ollの連続ビッ
ト数がd−1以下のときW2=CW1以下、(a2.1
 )および(a2.2)について説明する。まず(a2
.1)について、W2=CW1の前記り部における0”
の連続ビット数はd以上に−d+1以下である。一方W
1のR部はdビット以上に−d+1ビット以下の“1パ
であるから、WlとW2=CW 1の接続においては、
d、に制限を満たす。
Therefore, the following connection rule is established. In other words, C in W2
When either Wl or CWl must be used, (a2.1) When the number of consecutive bits of "1" in the R part of Wl is d or more, W2 = CW1 (a2.2) "1" in the R part of Wl W2 = W1 (a2, 3) When the number of consecutive bits of "○" in the R part of Wl is d or more, W2 = CW1 (a2.4) R part of Wl When the number of consecutive bits of noll in is less than or equal to d-1, W2 = less than or equal to CW1, (a2.1
) and (a2.2) will be explained. First (a2
.. Regarding 1), W2 = 0'' at the above mentioned part of CW1
The number of consecutive bits is greater than or equal to d and less than or equal to -d+1. On the other hand, W
Since the R part of 1 is "1 pa" with more than d bits and less than -d+1 bits, in the connection of Wl and W2 = CW 1,
d, satisfies the restriction.

次に(a2.2)について、WlのR部の0“1”はd
−1ピント以下であり、W2=CW1のL部の11″は
に−d+1ビット以下であるから、k制限を満たす。一
方、WlのR部の1”は少なくともd −d’ビットあ
り、W2=CW1のL部の”1パも少なくともd′ピッ
トあるから、d制限をも満たす。
Next, regarding (a2.2), 0 “1” in the R part of Wl is d
-1 focus or less, and 11" of the L part of W2=CW1 is less than -d+1 bits, so it satisfies the k restriction. On the other hand, 1" of the R part of Wl has at least d - d' bits, and W2 = Since the "1 pa" in the L portion of CW1 also has at least a d' pit, it also satisfies the d restriction.

以上述べたように、(a2.1) および(a2.2 
)なる接続剤により、dおよびに制限を満たすことがわ
かる。なお、(a2.3) および(a2.4 )につ
いては、(a2.1) および(a2.2)の場合と同
じなので省略する。
As mentioned above, (a2.1) and (a2.2
), it can be seen that the constraints on d and are satisfied. Note that (a2.3) and (a2.4) are the same as in (a2.1) and (a2.2), so they will be omitted.

(a3 ):CW2 、CW2 、CW3およびCW3
はすべてDP+Oであり、その前記り部における”ol
lまたは1”の連続ビット数はd′以以上−1以下であ
るからID5V lを増加させることなく、かつdおよ
びに制限を満たすためには、次に示す接続剤が必要であ
る。ただし、DSVはW2の最終ビットまでの値である
(a3): CW2, CW2, CW3 and CW3
are all DP+O, and "ol" in the above mentioned part is DP+O.
Since the number of consecutive bits of l or 1" is greater than or equal to d' and less than or equal to -1, the following connecting agent is required in order to satisfy the restrictions on d and without increasing ID5V l. However, DSV is the value up to the last bit of W2.

(a3.1)DSV≧0のとき、 (a3.1.1 )  L Bが1”のときW2=CW
3(a3.1.2)  L Bが0”のときW2=CW
2(a3.2)DSV(Oのとき、 (a3.2.1 )  L Bが1”のときW2=CW
2(a3.2.2)  LBが0”のときW2=CW3
とする。DSv≧0のとき、DP〈0なるCW3または
CW2を用い、DSV(oのとき、DP〉0なるCW2
またはCW3を用いるのはID5v1を増加させないた
めである。また、このような接続剤により、dおよびに
制限が満たされるのは、(al)のところで述べたのと
同じ理由である。
(a3.1) When DSV≧0, (a3.1.1) When L B is 1”, W2=CW
3 (a3.1.2) When L B is 0”, W2=CW
2 (a3.2) DSV (When O, (a3.2.1) When L B is 1”, W2=CW
2 (a3.2.2) When LB is 0”, W2=CW3
shall be. When DSv≧0, use CW3 or CW2 with DP〈0, and when DSV (o, CW2 with DP〉0)
Alternatively, CW3 is used in order not to increase ID5v1. Furthermore, the reason why such a connecting agent satisfies the limitations on d and d is for the same reason as stated in (al).

(a4 ):CW4 、CW4 、CWsおよびCWs
はいずれもDP←0であり、その前記り部における“0
”または1”の連続ビット数はd以上に−d+1以下で
あるから、l DSV lを増加させることなく、かつ
、dおよびに制限を満たすためには、次に示す接続剤が
必要である。ただし、DSVはWlの最終ビットまでの
値である。
(a4): CW4, CW4, CWs and CWs
are both DP←0, and “0” in the above-mentioned part is DP←0.
Since the number of consecutive bits of "or 1" is greater than or equal to d and less than or equal to -d+1, the following connecting agent is required in order to satisfy the restrictions on d and without increasing l DSV l. However, DSV is the value up to the last bit of Wl.

(a4.1 )DSv>oo、!:き (a4.1.1 )  WlのR部における1”の連続
ビット数がd以上のとき W 2 = CW 4 (a4.1.2)  WlのR部における”1パの連続
ビット数がd−1以下のき W2=CW5 (a4.1.3)  WlのR部における”0′°の連
続ビット数がd以上のとき W 2 = CW 6 (a4.1.4)  WlのR部におけるn ollの
連続ビット数がd−1以下のとき W 2 = CW 4 (a4.2)’DSV(Oのとき、 −(a4.2.1
)  WlのR部における1”の連続ビット数がd以上
のとき W2工CW5 (a4.2.2)  WlのR部における“1″の連続
ビット数がd−1以下のとき W2工CW4 (a4.2.3)  WlのR部における”o”の連続
ビット数がd以上のとき、 W2 = CW 4 (a4.2.4)  WlのR部における”o”の連続
ビット数がd−1以下のとき W2 = CWs とする。DSV≧0のとき、DP<oなるCW4または
cwsを用い、DP(Oのとき、DP’)0なルCW4
−4 ftハCW 5 ヲ用イルtDIri、ID5V
I全増加させないためである。また、このような接続剤
により、dおよびに制限が満たされるのは、(a2)の
ところで述べたのと同じ理由である。
(a4.1) DSv>oo,! : Ki (a4.1.1) When the number of consecutive bits of 1" in the R part of Wl is d or more, W 2 = CW 4 (a4.1.2) When the number of consecutive bits of 1" in the R part of Wl is W2 = CW5 when d-1 or less (a4.1.3) When the number of consecutive bits of "0'° in the R part of Wl is d or more, W2 = CW 6 (a4.1.4) R part of Wl When the number of consecutive bits of noll in
) When the number of consecutive bits of "1" in the R part of Wl is d or more, W2 work CW5 (a4.2.2) When the number of consecutive bits of "1" in the R part of Wl is less than or equal to d-1, W2 work CW4 ( a4.2.3) When the number of consecutive bits of "o" in the R part of Wl is d or more, W2 = CW 4 (a4.2.4) The number of consecutive bits of "o" in the R part of Wl is d- When it is 1 or less, set W2 = CWs. When DSV≧0, use CW4 or cws where DP<o, and use CW4 where DP (when O, DP') is 0.
-4 ft CW 5 Il tDIri, ID5V
This is to prevent a total increase in I. Furthermore, the reason why such a connecting agent satisfies the limitations on d and d is for the same reason as stated in (a2).

以上述べた(11−1 ) 〜(El−’ )および(
al)〜(a4)で規定される符号変換方法により、2
以上のdに対して、(cl 、 k )DC7り一符号
が得られる。
(11-1) ~ (El-') and (
By the code conversion method specified in al) to (a4), 2
For the above d, a (cl, k)DC7ri-one code is obtained.

以上が従来の(d、k)DCフリー符号作成の一般則で
あるが、この一般則における欠点は符号語長Nが最大連
続ビット数に以下の場合に生じる。
The above is the general rule for creating a conventional (d,k) DC-free code, but a drawback in this general rule occurs when the code word length N is equal to or less than the maximum number of consecutive bits.

つまり、Nビットすべて同一2進値の符号語を除外して
考えると、前記符号語CCo及びCC。
That is, if we exclude codewords in which all N bits have the same binary value, the codewords CCo and CC.

のL部における同一2進値の連続ビット数gの最大値を
’m&X +同じくR部における同一2進値の連続ビッ
ト数rの最大値rmaxとすると、これら1ma工”m
awは各々式(3)及び式(4)で与えられる。
If the maximum value of the number g of consecutive bits of the same binary value in the L part of is 'm &
aw is given by equation (3) and equation (4), respectively.

’ma工=N−(d−d’)   ・・・・・・・・−
@)r=N−d’       ・山川・・(4)dx ここで、’mawが式(5)を、”meLXが式(6)
を満たす場合を仮定する。
'ma = N-(d-d') ・・・・・・・・・-
@) r=N-d' ・Yamakawa... (4) dx Here, 'maw is the formula (5), and 'meLX is the formula (6)
Assume that the following is satisfied.

d <、 1ma工<k−d+1  ・・・・・・・・
・(6)d<r  <k−d+1  −−−−(6)m
aw この場合式0)は式(7)で表わすことができる。
d<, 1ma<k-d+1 ・・・・・・・・・
・(6) d<r <k−d+1 −−−−(6) m
aw In this case, equation 0) can be expressed as equation (7).

d’(/りN−(d−d’ )、d−d’≦r≦N−d
/ 、・、、、、m式(ア)が成り立つ場合において、
前記接続剤(al)〜(a4)のうち問題になるのは(
a3)の場合である。
d'(/riN-(d-d'), d-d'≦r≦N-d
/ . . . . . . When formula (a) holds true,
Among the connecting agents (al) to (a4), the problematic one is (
This is the case of a3).

(a3)の場合、CW2とCW3のL部は共にd−1ビ
ツト以下の1”でなければならないとなっている。これ
は’max=k ”1及びrma工=k −d +1の
ときに制限を満たすための条件であるから、式(7)が
成り立つ場合には符号語CW2及びCWsのL部が共に
d−1ビツト以下の11”である必要はない。
In the case of (a3), both the L parts of CW2 and CW3 must be 1", which is less than or equal to d-1 bits. This means that when 'max=k"1 and rma=k-d+1, Since this is a condition for satisfying the restriction, if equation (7) holds, it is not necessary that both the L parts of code words CW2 and CWs be 11'', which is d-1 bits or less.

発明の目的 本発明の目的は、式(71が成り立つ場合において、前
記従来例の欠点を除き、従来以上の性能を有する(d、
k)DCフリー符号を体系的に得るための、符号変換方
法を提供することである。
Object of the Invention The object of the present invention is to eliminate the drawbacks of the conventional example and to have performance higher than that of the conventional example (d,
k) To provide a code conversion method to systematically obtain DC-free codes.

発明の構成 本発明は、式(力が成り立つ場合に、前記一般則の接続
剤(al)〜(a4)はそのまま適用し、新規の接続剤
(a5)を導入することで、従来の一般則では得られな
かった優れた(d、k)DCフリー符号が得られる符号
変換方法である。
Structure of the Invention The present invention solves the conventional general rule by applying the connecting agent (al) to (a4) of the general rule as is and introducing a new connecting agent (a5) when the formula (force holds). This is a code conversion method that can obtain an excellent (d, k) DC-free code that could not be obtained with the previous method.

次に、新規の接続剤(a6)について、実施例を用いて
詳細に説明する。
Next, the new connecting agent (a6) will be described in detail using Examples.

実施例の説明 先述したように、接続剤(a3)においては式(ア)が
成り立つ範囲では必ずしも、DP40である2つの符号
語のL部はd−1以下の1”でなくてもよい。しかし、
共にd以上ならば従来の接続剤(a4)に含まれ、逆に
、共にd−1以下ならば従来の接続剤(a3)に含まれ
るので、新規の接続剤(a5)は、DP+oかツ# <
: d−1の符号語とDP〜0かつl≧dの符号語を、
組み合わせた場合のものとなる。
DESCRIPTION OF EMBODIMENTS As mentioned above, in the connecting agent (a3), the L parts of the two code words that are DP40 do not necessarily have to be 1'' below d-1 as long as formula (a) holds true. but,
If both are d or more, it is included in the conventional connecting agent (a4), and conversely, if both are less than d-1, it is included in the conventional connecting agent (a3), so the new connecting agent (a5) is DP+o or #<
: The code word of d-1 and the code word of DP~0 and l≧d,
This is what happens when they are combined.

ここで、DP40かつl <、 d −1の符号語と、
DP40かつl≧dの符号語の組み合わせには次の2つ
の場合がある。
Here, a code word with DP40 and l <, d −1,
There are the following two combinations of code words with DP40 and l≧d.

(i)DP>○かつlくd−1の符号語C’W2、その
裏パターンであるCW2及びDP(oがっd<l≦に−
N+d’の符号語CW s’とその裏パターンであるC
W5/ ゛      −こ1組にし、それぞれの組に
対してデータ語を対応させる。
(i) Code word C'W2 of DP>○ and l d-1, its back pattern CW2 and DP (o d<l≦-
N+d' code word CW s' and its back pattern C
W5/゛ - This is made into one set, and a data word is associated with each set.

(ti)  D P < Oか”:)l<、d−1(7
)符号語CW3とその裏パターンであるCW、s及びD
P)oかつd <、 l <: k −N + d’の
符号語CWdとその裏パターンCW4’i1組にしてデ
ータ語に対応させる。
(ti) D P <O?”:)l<, d-1(7
) Code word CW3 and its back pattern CW, s and D
P) The code word CWd of o and d <, l <: k −N + d' and its back pattern CW4'i are made into one set and made to correspond to the data word.

次に、上記(i) 、 (ii)で示した符号語とデー
タ語の対応関係により、d、に制限及びDSV有限条件
を共に満たすことを示す。
Next, it will be shown that the correspondence between code words and data words shown in (i) and (ii) above satisfies both the restriction on d and the DSV finite condition.

なお、l=g1.r=r1なる第1符号語W1と、1=
12.r=r2 なる第2符号語W2について考えるも
のとし、Wlの最終ビットをLBと呼ぶ。
Note that l=g1. The first code word W1 with r=r1, and 1=
12. Let us consider a second code word W2 where r=r2, and the last bit of Wl is called LB.

まず前記(1)について次に示す(05,1)、(a6
.2)なる接続剤を用いる。
First, regarding the above (1), the following (05, 1), (a6
.. 2) Use a connecting agent.

(a5.1)DSV≧0(7)とき、 (a6.1.1 )  L Bが”1”のときW2=C
W6’(a5.1.2)  L Bが“○”のときW’
2=CW2(a5.2)DSV(oのとき、 (a6.2.1 )、L Bが1”のときW2=CW2
(as、2.2)  LBが”0°゛のときw2=δπ
7上記(as、1)においては、DsV≧oであるから
、W2にiDp<oyる符号語CW2 、CWmを用い
、(as、2)においてはDSV〈oであるから、W 
21/CハD P ) Ofl ル符号’fFM CW
 2 、 CWT’を用い、ID5VIを増加させない
ようにしている〇 一方、d、に制限に関しては、(as、1.1)のとき
WlのR部におけるrl  ビットの”1パと、W 2
 = CW s’のL部における12 ビットの′1″
によるr 1+ 112ピツトの1“において、d  
d’ < r 1 りN  d’であり、前記(1)よ
りd≦g2≦N −d’であるからd(r1+12<:
にとなりd、に制限を満たす。
(a5.1) When DSV≧0(7), (a6.1.1) When L B is “1”, W2=C
W6' (a5.1.2) W' when L B is “○”
2=CW2 (a5.2) DSV (when o, (a6.2.1), when L B is 1", W2=CW2
(as, 2.2) When LB is "0°" w2 = δπ
7 In (as, 1) above, since DsV≧o, the code words CW2 and CWm with iDp<oy are used for W2, and in (as, 2), since DSV<o, W
21/C D P ) Ofl code 'fFM CW
2. CWT' is used to prevent ID5VI from increasing. On the other hand, regarding the restriction on d, when (as, 1.1), the "1 pass" of the rl bit in the R part of Wl and W 2
= 12 bits '1'' in the L part of CW s'
At r 1+ 1" of 112 pits, d
Since d'< r 1 and N d', and from the above (1), d≦g2≦N - d', d(r1+12<:
Then, d, satisfies the restriction.

(as、1.2)の場合はd’<12<d−1<k  
N + d1’であるから、d≦r1+12くkとなり
cL、に制限を満たす。
(as, 1.2) if d'<12<d-1<k
Since N + d1', d≦r1+12k, which satisfies the restriction on cL.

第2に前記(11)について、 (as、3)DSV>Oのとき、 (as、3.1 )  L部3が” 1 ”ノドきW2
=CW3(as、3.2)  L Bが”0“のときW
2=CWa’−(as、4)DSV<00とき、 (as、4.1 )  L Bが1”′のときW2=C
W4’(as、4.2)  LBが0”のときW2=C
W3上記(as、3)においては、DSV≧0であるか
ら、W2にはDP(oなる符号語CW s 、 CW4
’を用い、(as、4)においては、DSV(oである
から、W2にはDP)oなる符号語CW3 。
Second, regarding the above (11), when (as, 3) DSV>O, (as, 3.1) L section 3 is throbbed by "1" W2
=CW3 (as, 3.2) W when L B is “0”
2=CWa'-(as, 4) When DSV<00, (as, 4.1) When L B is 1''', W2=C
W4' (as, 4.2) When LB is 0'', W2=C
W3 In the above (as, 3), since DSV≧0, W2 has DP(o code word CW s , CW4
', and in (as, 4), the code word CW3 is DSV(o, so W2 is DP).

CW 4’を用いID5v1を増加させないようにして
いる。
CW 4' is used to prevent ID5v1 from increasing.

d、に制限に関しては、(1)の場合と同様であり、(
as、3)及び(as、4)共にd、に制限を満たす。
The restriction to d is the same as in (1), and (
Both as,3) and (as,4) satisfy the restriction on d.

以上水したように、式(7)が成り立つ場合には新規の
接続剤(as)を導入できるため、従来の一般則に比べ
て使用できる符号語数は多くなる。
As mentioned above, when formula (7) holds true, a new connecting agent (as) can be introduced, so the number of code words that can be used increases compared to the conventional general rule.

第1表に符号語CWO〜CWs 、CW4’とCWs’
の特徴を示し、第2表には前記接続剤(al)〜(as
)を示す。ただし、第2表におけるDVは、DSV>o
ならばDV=”o°’ 、DSV(oならばDV==”
1”であり、Pは第2符号語のDP−〇ならばP=″0
”、DP+oならばP=″1”となる。また、Eは第1
符号語のR部((おける同一2進値の連続ビット数がd
−1以下ならE=”o“。
Table 1 shows the code words CWO to CWs, CW4' and CWs'.
Table 2 shows the characteristics of the connecting agents (al) to (as
) is shown. However, DV in Table 2 is DSV>o
Then DV=”o°’, DSV (If o then DV==”
1”, and P is DP-〇 of the second code word, then P=″0
”, DP+o, then P=“1”. Also, E is the first
The number of consecutive bits of the same binary value in the R part of the code word (() is d
If it is less than or equal to -1, E="o".

d以上ならE=”1”となる値である。Fは第2表のよ
うに定めるものである。
If it is greater than or equal to d, E=“1”. F is defined as shown in Table 2.

なお、第2表における°×′′は無関係であることを示
す印である。
Note that °×'' in Table 2 is a mark indicating that there is no relationship.

第3表に示す符号は、本発明により得られる(d、k)
DCフリー符号の一例であり、M=4゜N=8 、 d
=2 、 k =9 、 Tw =0.5 Tの(2,
9)DCフリー符号である。
The codes shown in Table 3 are obtained according to the invention (d, k)
This is an example of a DC free code, M=4°N=8, d
=2, k =9, Tw =0.5 T's (2,
9) It is a DC free code.

第1表 第2表 第  3  表 第3表より明らかなように、16のデータ語と対応可能
であるから、M=4ピントのデータ語をN=8ビットの
符号語に変換できる。したがって、Tw=百T = 0
.5 T となる。
As is clear from Table 1, Table 2, Table 3, and Table 3, it is possible to correspond to 16 data words, so M=4 pinto data words can be converted into N=8 bit code words. Therefore, Tw=100T=0
.. 5 T.

なお、第3表においては裏パターンを省略しであると共
に、A 10−/Fy、 16の符号語の組み合わせは
一例である。
Note that in Table 3, the back pattern is omitted, and the combination of code words A10-/Fy, 16 is an example.

ところで、従来の一般則ではd=2 、 k=9 。By the way, the conventional general rule is d=2 and k=9.

N=sの場合、第3表の煮16の符号語の組み合わせは
認められていないため、符号語数は16となりM=3ビ
ットまでのデータ語しか変換できない。従って、Tw=
qT;0.375Tとなる。
When N=s, the combination of code words of 16 in Table 3 is not allowed, so the number of code words is 16, and only data words up to M=3 bits can be converted. Therefore, Tw=
qT: 0.375T.

逆に、従来の一般則では、ci=2 、M=4゜N=a
 、Tw=0.5Tを満たす最小のkは10である。
On the contrary, according to the conventional general rule, ci=2, M=4°N=a
, Tw=0.5T, the minimum k is 10.

以上のように、本発明による新規の接続則(a6)を導
入することで、従来の一般則では得られなかった(d、
k)DCフリー符号が得られる。
As described above, by introducing the new connection law (a6) according to the present invention, it is possible to obtain (d,
k) A DC-free code is obtained.

発明の効果 本発明は、従来の一般則において欠除していたに−d+
1>N−d’なる場合の、符号語の組み合わせに独自の
規則を定めることにより、従来の一般則では得られなか
った、たとえば、d=2゜k=9.M=4 、N=s及
びTw=0.5 TなるDCフリー符号などを、容易に
求めることができる符号変換方法であり、実用的効果は
犬である。
Effects of the Invention The present invention provides the advantage of −d+, which was lacking in the conventional general rules.
By establishing unique rules for the combination of code words when 1>N-d', for example, d=2°k=9. This is a code conversion method that can easily obtain DC-free codes such as M=4, N=s, and Tw=0.5T, and its practical effects are excellent.

なお、本明細書中では式0)に基づいて式(3)以降の
導出、並びに説明を行ったが、式(2)に基づいても同
様の結果が得られる。
Note that in this specification, equation (3) and subsequent equations have been derived and explained based on equation 0), but similar results can be obtained based on equation (2).

Claims (2)

【特許請求の範囲】[Claims] (1)Mビットのデータ語を、Mより大きいNビットの
符号語に変換する際に、dとkをd<kなる関係にある
2以上の正の整数とし、d′をd/2を越えない最大の
整数とするとき、k−d+1>N−d′が成り立つ場合
に、Nビットにより得られる2^N個の符号語のうち、
その始端L部における“1”の連続ビット数lがd′以
上N−(d−d′)以下であり、その終端R部における
同一2進値の連続ビット数rがd−d′以上N−d′以
下であり、前記LとRにはさまれたb=N−l−rビッ
トの符号語の中間部Bにおける“1”の連続ビット数も
“0”の連続ビット数も共にd以上k以下である、前記
LとBとRによって構成される符号語をCCOとし、こ
のCCOのすべてのビットについて“0”を“1”に、
“1”を“0”に置き換えた符号語CCOの裏パターン
である符号語を@CCO@として、この符号語CCOの
うち、符号語を構成する“1”と“0”の差で定義する
ディスパリティーDP=Oの符号語と符号語CCOのう
ちDP=Oの符号語をペアにし、そのペアに対して同一
のデータ語を対応させ、符号語CCOのうちDP>0か
つl≦d−1の符号語とその裏パターンとDP<0かつ
l≦d−1の符号語とその裏パターンの4符号語を1組
にし、それぞれの組に対してデータ語を対応させ、符号
語CCOのうちDP>0かつl≧dの符号語とその裏パ
ターンとDP<0かつl≧dの符号語とその裏パターン
の4符号語を1組にし、それぞれの組に対してデータ語
を対応させ、符号語CCOのうちDP■0かつl≦d−
1の符号語とその裏パタ−ンとDP■かつd≦l≦k−
N+d′の符号語とその裏パターンの4符号語を1組に
し、それぞれの組に対しデータ語を対応させることによ
り、符号語どうしを接続してもその結果生じるビット列
中の同一2進値の連続ビット数をd以上k以下に制限す
ると共に、DPの加算値が有限に収まることを特徴とす
る符号変換方法。
(1) When converting an M-bit data word to an N-bit code word larger than M, let d and k be positive integers of 2 or more with the relationship d<k, and let d' be d/2. If the largest integer that does not exceed k-d+1>N-d' holds, then out of 2^N code words obtained by N bits,
The number l of consecutive bits of "1" in the starting end L part is greater than or equal to d' and less than or equal to N-(d-d'), and the number r of consecutive bits of the same binary value in the ending R part is greater than or equal to d-d' and N −d′ or less, and both the number of consecutive “1” bits and the number of consecutive “0” bits in the middle part B of the code word of b=N−l−r bits sandwiched between L and R are d A code word composed of L, B, and R, which is greater than or equal to k or less, is defined as a CCO, and all bits of this CCO are changed from "0" to "1",
The code word that is the back pattern of the code word CCO in which "1" is replaced with "0" is @CCO@, and it is defined by the difference between "1" and "0" that constitute the code word in this code word CCO. A code word with disparity DP=O and a code word with DP=O among the code words CCO are paired, and the same data word is made to correspond to the pair, and among the code words CCO, DP>0 and l≦d− 1 code word and its back pattern, DP<0 and l≦d-1 code word, and its back pattern are made into one set, and a data word is made to correspond to each set, and the code word CCO is Of these, four code words are made into one set: a code word with DP>0 and l≧d and its back pattern, a code word with DP<0 and l≧d, and its back pattern, and a data word is associated with each set. , DP■0 and l≦d− among code words CCO
1 code word, its back pattern and DP ■ and d≦l≦k-
By forming a set of N+d' code words and the four code words of the back pattern, and associating data words with each set, even if the code words are connected, the resulting bit string will have the same binary value. A code conversion method characterized in that the number of consecutive bits is limited to d or more and k or less, and the added value of DP is kept within a finite value.
(2)d=2、k=9、M=4、N=8であることを特
徴とする特許請求の範囲第1項記載の符号変換方法。
(2) The code conversion method according to claim 1, characterized in that d=2, k=9, M=4, and N=8.
JP59186705A 1984-05-21 1984-09-06 Code converting method Pending JPS6165531A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP59186705A JPS6165531A (en) 1984-09-06 1984-09-06 Code converting method
EP85302291A EP0162558B1 (en) 1984-05-21 1985-04-02 Method and apparatus for generating a run length limited code
DE8585302291T DE3583819D1 (en) 1984-05-21 1985-04-02 METHOD AND DEVICE FOR GENERATING A RUNNING LIMIT CODE.
US06/719,629 US4760378A (en) 1984-05-21 1985-04-03 Method and apparatus for converting a run length limited code
KR8506510A KR900007932B1 (en) 1984-09-06 1985-09-06 Code conversion method and apparatus to obtain rll code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59186705A JPS6165531A (en) 1984-09-06 1984-09-06 Code converting method

Publications (1)

Publication Number Publication Date
JPS6165531A true JPS6165531A (en) 1986-04-04

Family

ID=16193189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59186705A Pending JPS6165531A (en) 1984-05-21 1984-09-06 Code converting method

Country Status (1)

Country Link
JP (1) JPS6165531A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01171326A (en) * 1987-12-01 1989-07-06 Internatl Business Mach Corp <Ibm> Method of data recording code
JPH03133215A (en) * 1989-10-18 1991-06-06 Mitsubishi Electric Corp Information converter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01171326A (en) * 1987-12-01 1989-07-06 Internatl Business Mach Corp <Ibm> Method of data recording code
JPH0429261B2 (en) * 1987-12-01 1992-05-18
JPH03133215A (en) * 1989-10-18 1991-06-06 Mitsubishi Electric Corp Information converter

Similar Documents

Publication Publication Date Title
KR100263689B1 (en) Modulating method, modulating device anddemodulating device
JPH0544206B2 (en)
JP2809832B2 (en) Code modulation method
JPS61238126A (en) Coding and decoding system for binary-coded data
JPS6165531A (en) Code converting method
JP2004342310A (en) Method for arranging codeword
KR20010032626A (en) Generation of a runlength limited digital information signal
JP2002280907A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method and information transmitter
JPS62272726A (en) Coding circuit
JPS59171243A (en) Code modulating system
JPH01118274A (en) Digital data recording system
JPS6098743A (en) Code converting method
JPH0480576B2 (en)
JPH0455011B2 (en)
JPS60114053A (en) Code conversion system
JPS60246155A (en) Code converting method
JP2573067B2 (en) Information conversion device
JPH0422061B2 (en)
JPS61227430A (en) Code converting device
JPH0660552A (en) Method for recording and encoding digital signal
JPS61227431A (en) Code converting device
JPS61154237A (en) Synchronizing system
JPH0783273B2 (en) Code converter
JPH0128550B2 (en)
JP2962027B2 (en) Information conversion method and information recording device