JPH0455012B2 - - Google Patents

Info

Publication number
JPH0455012B2
JPH0455012B2 JP21728583A JP21728583A JPH0455012B2 JP H0455012 B2 JPH0455012 B2 JP H0455012B2 JP 21728583 A JP21728583 A JP 21728583A JP 21728583 A JP21728583 A JP 21728583A JP H0455012 B2 JPH0455012 B2 JP H0455012B2
Authority
JP
Japan
Prior art keywords
bits
channel
equal
channel code
conversion method
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
JP21728583A
Other languages
Japanese (ja)
Other versions
JPS60109359A (en
Inventor
Akira Iketani
Chojuro Yamamitsu
Ichiro Ogura
Kunio Suesada
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 JP21728583A priority Critical patent/JPS60109359A/en
Publication of JPS60109359A publication Critical patent/JPS60109359A/en
Publication of JPH0455012B2 publication Critical patent/JPH0455012B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code

Description

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

産業上の利用分野 本発明はデイジタル信号の伝送及び記録の際に
適用される可変長符号変換方法に関するものであ
る。 従来例の構成およびその問題点 一般に、デイジタル信号を磁気記録する際の通
信路符号に必要な性質として、以下の5点が知ら
れている。 (1):最小磁化反転間隔Tmin 磁気記録再生系は高周波数成分を遮断する性質
を有しているので、磁化反転が頻繁に起こるよう
な符号は適当ではない。従つて、前記Tminは大
であることが望ましい。 (2):最大磁化反転間隔Tmax 磁化反転なしがあまり長く続きすぎると、クロ
ツク情報を抽出することが困難になり、セルフク
ロツク機能が得られなくなるので、これを避ける
ために、前記Tmaxは小であることが望ましい。 (3):検出窓TW 再生信号のジツタや波形干渉によるピークシフ
ト等の時間軸変動に対する位相方向余裕の尺度で
あり、大きい方が望ましい。 (4):最小連続ビツト数d “0”及び“1”に関する連続ビツト数の最小
値であり、 d=Tnio/TW で与えられる。 (5):最大連続ビツト数k “0”及び“1”に関する連続ビツト数の最大
値であり、 k=Tnax/TW で与えられる。 以後、上記(4)、(5)の制約を課せられた符号を
(d、k)符号と呼ぶ。 ところで、(d、k)符号を得るためには、M
ビツトのデータ語をMより大きいNビツトの通信
路符号語に変換しなければならないが、上記TW
はM/NT(Tはデータ語の1ビツト長)であるた め、上記(3)の制約により、M/Nはできるだけ大き くなければならない。 以下では、Mビツトのデータ語をNビツトの通
信路符号語に符号変換する回路を変調回路と呼
び、逆に、Nビツトの通信路符号語をMビツトの
データ語に逆変換する回路を復調回路と呼ぶ。 従来上記観点から種々の符号変換方法が提案さ
れており、3PM、HDM−3、2/3変換符号など
が知られている。 3PMは前記定義に従えば、Tnio=1.5T、Tnax
=6T、TW=0.5T、d=3、k=12なる通信路符
号である。 HDM−3はTnio=2T、Tnax=8.33T、TW
0.33T、d=6、k=25なる通信路符号である。 2/3変換符号はTnio=1.33T、Tnax=5.33T、TW
=0.67T、d=2、k=8なる通信路符号であ
る。 一方、d、kに対するTWの理論的な上限は既
に知られており(D.T.Tang and L,R,Bahl,
Information and Control,17,No.5,P.436,
1970)、上記3種の通信路符号に対してそれぞれ
次のような値が得られる。 TW0.545T(d=3、k=12、3PM) TW0.361T(d=6、k=25、HDM−3) TW0.679T(d=2、k=8、2/3変換) 従つて上記3種類の通信路符号より更に性能の
優れた通信路符号が存在する可能性がある。 一般的に、同一のd、k及びTWを達成するの
に、最も効果的な符号変換方法は可変長符号変換
方法である。これは、基本ビツト長Nnioの通信路
符号語N1と、ビツト長がNnioのi倍(1i
inax、i:整数)のiNnioビツトの通信路符号語Ni
を用い基本ビツト長Mnioのデータ語M1と、ビツ
ト長がMnioのi倍のiMnioビツトのデータ語Mi
は、Niビツトの通信路符号語に対応させる。こ
うすることにより、通信路符号語のTWは TW=Mi/Ni=iMnio/iNnio=Mnio/Nnio=一定 となる。 同一のd、k、TWを満たすような固定長、つ
まりinax=1の通信路符号語長NFと、可変長つま
りinax2の通信路符号語長の最大値inax・Nnio
とでは、一般的に下式が成り立ち、 NFinax・Nnio 可変長符号の方が固定長よりも短い通信路符号語
長で済む。 しかしながら、このような(d、k)制限され
た可変長符号を、最も効率良く、しかも体系的に
得る可変長符号変換方法はまだ存在しない。 発明の目的 本発明は、使用する通信路符号語の左右両端に
おける“0”又は“1”の連続ビツト数、通信路
符号語どうしの接続条件、通信路符号語の選別方
法、及びデータ語と通信路符号語との対応関係に
おいて、適当な規則を定め、検出窓幅TWが一定、
つまりMi/Ni=一定(i=1,2,…,inax)なる (d、k)制限された可変長符号を得るための体
系的な可変長符号変換方法を提供することを目的
とするものである。 発明の構成 上記目的を達成するために、本発明は、データ
語の最小ビツト数をMmin、符号語の最小ビツト
数をNminとし、2以上の整数iに対してi・
Mminビツトのデータ語をi・Nminビツトの通
信路符号語に変換する可変長符号変換方法におい
て、dを2以上の整数、kを前記dより大きい整
数、及びd1を前記d−1以下の正の整数とし、
i・Nminビツトにより得られる2・i.Nmin個の通
信路符号語の内、その始端部Lにおける“1”の
連続ビツト数1が前記d1以上前記k−d+1以
下であり、その終端部Rにおける“1”または
“0”の連続ビツト数rが前記d−d1以上前記k
−d+1以下であり、前記Lと前記Rにはさまれ
た中間部分Bにおける“1”の連続ビツト数と、
“0”の連続ビツト数のいずれもが前記d以上前
記k以下である通信路符号語と、前記i・Nmin
+2・(d−1)≦kかつ前記i・Nmin≦k−d
+1が成り立つ場合のみ、i+Nminビツトのす
べてが“1”の通信路符号語を含む通信路符号語
をCCOとし、このCCOとCCOのすべてのビツト
について“1”を“0”に、“0”を“1”に置
き換えた裏パターンの符号語とを用い、前
記CCOおよびを同一の入力データ語に対応
させるとともに、同一2進値の連続ビツト数が前
記d以上前記k以下になる方の前記CCOまたは
CCOを選択することを特徴とする構成にしたも
ので、これにより、(d、k)制限された可変長
通信路符号語を効果的に得ることができる。 実施例の説明 以下本発明の実施例を図面に基づいて説明す
る。先づ規則について詳細に述べる。第1図a,
bはiNnioビツトの通信路符号語のパターンを示
し、d及びk制限を満たすために、次のような基
準で通信路符号語が選別される。 ():d1を1以上d−1以下の整数とし、“1”
で始まるiNnio(1iinax、i:整数)ビ
ツト長の通信路符号語のそれぞれについて、
通信路符号語の左側Lにおける“1”の連続
ビツト数lと右側Rにおける“0”と“1”
の連続ビツト数rが次式(1) d1lk−d+1、d−d1rk−d
+1 …(1) に示す範囲にあり、b=iNnio−l−rビツ
トの中間部分Bにおいては、dビツト以上k
ビツト以下連続する“0”と“1”が交互に
現われるような、LとBとRによつて構成さ
れる通信路符号語CC0と、このCC0のすべて
のビツトについて、“0”を“1”に、“1”
を“0”に置き換えたCC0の裏パターン0
とを選ぶ。ただし、CC0及び0にはb=0
のものを含む。 ():()で選択した通信路符号語CC0のう
ち、前記lがd−1以下である通信路符号語
CW0とその裏パターン0をペアにし、そ
れぞれのペアに対してデータ語を対応させ
る。 ():同じく、CC0のうち、前記lがd以上で
ある通信路符号語CW1と、その裏パターン
CW1をペアにし、それぞれのペアに対して
データ語を対応させる。 次に、上記()〜()で示した通信路符号
語の接続則を示し、接続則によりd及びk制限が
満たされることを明らかにする。ただし、l=
l1、r=r1なる第1通信路符号語W1と、l=l2
r=r2なる第2通信路符号語W2の接続について
考えるものとする。なお、以下ではW1の最終ビ
ツトをLBとする。 接続則 W2にCW0又0のいずれかを用いなければな
らないとき、 (1)LB=“1”のときW2=CW0 LB=“0”のときW2=0 とする。なぜならば、LBが“1”のときW2=
CW0とすると、0の前記L部はd−1ビツト
以下の“0”であるから、W1とW2の接続部には
d−1ビツト以下の“0”が生じ、d制限に違反
するので、この場合W2=0は適当でない。 逆に、W2=CW0のとき、W1のR部における
“1”の最大連続ビツト数はk−d+1であり、
CW0のL部における“1”の最大連続ビツト数
はd−1であるから、LB=“1”のW1とW2=
CW0の接続部における“1”の最大連続ビツト
数はk(=k−do1+d−1)となる。 又、W1のR部には少なくともd−d1ビツトの
“1”があり、CW0のL部の“1”の最小値はd1
であるから、LB=“1”のW1とW2=CW0の接
続部には少なくともd(=d−d1+d1)ビツトの
“1”が存在し、d制限を満たす。 以上述べたことは、LB=“0”のときW2=
CW0にする場合も全く同様に示すことができる。 次に、W2にCW1又は1のいずれかを用いな
ければならないとき、 (ii):W1のR部における“1”の連続ビツト数が
d以上のとき、W2=1 (iii):W1のR部における“1”の連続ビツト数が
d−1以下のとき、W2=CW1 (iv):W1のR部における“0”の連続ビツト数が
d以上のとき、W2=CW1 (v):W1のR部における“0”の連続ビツト数が
d−1以下のとき、W2=1 とする。これは次の理由による。 まず(ii)について、W2=1のL部における
“0”の連続ビツト数はd以上k−d+1以下で
ある。一方、W1のR部はdビツト以上k−d+
1ビツト以下の“1”であるから、W1とW2=
CW1の接続部でd、k制限を満たす。 次いで(iii)について、W1のR部の“1”はd−
1ビツト以下であり、W2=CW1のL部の“1”
はk−d+1ビツト以下であるから、k制限を満
たす。一方、W1のR部の“1”は少なくともd
−d1ビツトあり、W2=CW1のL部も少なくとも
d1ビツトあるからd制限をも満たす。 以上述べたように、(ii)、(iii)なる接続則により、
d、k制限を満たすことがわかる。なお、(iv)と(v)
の接続則によつてもd、k制限を満たすことは、
(ii)、(iii)の場合と同様にして示すことができるが、
ここでは省略する。 上記(i)〜(v)の接続則は、W1のR部における
“0”又は“1”の連続ビツト数がd−1以下の
ときE=“0”、d以上のときE=“1”となる値
Eを定める。そして前記CW0及び0について
はF=“0”、前記CW1及び1についてはF=
“1”となる、つまり前記L部における“0”又
は“1”の連続ビツト数がd−1以下か否かによ
つて定まる値をFとすると、W1に対してW2を裏
パターンにするならばY=“1”、裏パターンにし
ないならばY=“0”になる値Yは、接続則(i)〜
(v)をLB、E、Fを用いて真理値表にまとめた第
1表により式(2)で与えられることがわかる。 Y=(+)・{+(○+)} ……(2) ただし、“+”は論理和、“・”は論理値、“○+”
は排他的論理和、“−”は否定を表わす。 なお、iNnioビツトすべてが“1”又は“0”
の通信路符号語、次式(3) iNniok−d+1 ……(3)
INDUSTRIAL APPLICATION FIELD The present invention relates to a variable length code conversion method applied to the transmission and recording of digital signals. Conventional configuration and its problems In general, the following five characteristics are known as necessary for a channel code when magnetically recording a digital signal. (1): Minimum magnetization reversal interval Tmin Since the magnetic recording/reproducing system has the property of blocking high frequency components, a code in which magnetization reversal occurs frequently is not appropriate. Therefore, it is desirable that the Tmin is large. (2): Maximum magnetization reversal interval Tmax If no magnetization reversal continues for too long, it becomes difficult to extract clock information and self-clock function cannot be obtained.To avoid this, Tmax is set to a small value. This is desirable. (3): Detection window 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. (4): Minimum number of consecutive bits d This is the minimum number of consecutive bits regarding “0” and “1”, and is given by d=T nio / TW . (5): Maximum number of consecutive bits k This is the maximum value of the number of consecutive bits regarding “0” and “1”, and is given by k = T nax / TW . Hereinafter, the code subjected to the constraints (4) and (5) above will be referred to as a (d,k) code. By the way, in order to obtain the (d, k) code, M
It is necessary to convert a bit data word into a channel code word of N bits, which is larger than M.
Since is M/NT (T is the 1-bit length of the data word), M/N must be as large as possible due to the constraint in (3) above. In the following, a circuit that converts an M-bit data word into an N-bit channel code word is called a modulation circuit, and a circuit that inversely converts an N-bit channel code word into an M-bit data word is called a demodulating circuit. It's called a circuit. Conventionally, various code conversion methods have been proposed from the above viewpoint, and 3PM, HDM-3, 2/3 conversion codes, etc. are known. According to the above definition, 3PM is T nio = 1.5T, T nax
=6T, T W =0.5T, d=3, and k=12. HDM-3 has T nio = 2T, T nax = 8.33T, T W =
The channel code is 0.33T, d=6, and k=25. The 2/3 conversion code is T nio = 1.33T, T nax = 5.33T, T W
=0.67T, d=2, k=8. On the other hand, the theoretical upper limit of T W for d and k is already known (DTTang and L,R,Bahl,
Information and Control, 17 , No.5, P.436,
(1970), the following values are obtained for each of the above three types of channel codes. T W 0.545T (d=3, k=12, 3PM) T W 0.361T (d=6, k=25, HDM-3) T W 0.679T (d=2, k=8, 2/3 conversion) Therefore, there is a possibility that there is a channel code with even better performance than the above three types of channel codes. Generally, the most effective code conversion method to achieve the same d, k and T W is the variable length code conversion method. This consists of a channel codeword N 1 with a basic bit length N nio and a bit length i times N nio (1i
i nax , i: integer) iN nio bit channel code word N i
, a data word M 1 of basic bit length M nio and a data word M i of iM nio bits whose bit length is i times M nio are obtained .
corresponds to a N i -bit channel codeword. By doing so, T W of the channel code word becomes T W =M i /N i =iM nio /iN nio =M nio /N nio = constant. A fixed length that satisfies the same d, k, and T W , i.e., a channel codeword length N F with i nax = 1, and a variable length, i.e., the maximum value of the channel codeword length i nax N nio of i nax 2.
In general, the following formula holds true, and N F i nax /N nio variable-length codes require a shorter channel code word length than fixed-length codes. However, there is still no variable-length code conversion method that can most efficiently and systematically obtain such (d,k)-limited variable-length codes. Purpose of the Invention The present invention relates to the number of consecutive bits of "0" or "1" at both the left and right ends of a channel codeword to be used, connection conditions between channel codewords, method of selecting channel codewords, and data words. Appropriate rules are established in relation to the correspondence with channel code words, and the detection window width T W is constant.
In other words, the purpose is to provide a systematic variable-length code conversion method to obtain a (d, k) limited variable-length code where M i /N i = constant (i = 1, 2, ..., i nax ). That is. Structure of the Invention In order to achieve the above object, the present invention sets the minimum number of bits of a data word to Mmin, the minimum number of bits of a code word to Nmin, and for an integer i of 2 or more, i.
In a variable length code conversion method for converting a data word of Mmin bits into a channel codeword of i/Nmin bits, d is an integer of 2 or more, k is an integer larger than the above d, and d1 is a positive number of the above d-1 or less. be an integer of
Among the 2· i.Nmin channel codewords obtained by i·Nmin bits, the number 1 of consecutive “1” bits at the starting end L is greater than or equal to the above d1 and less than the above k−d+1, and the number of consecutive “1” bits 1 at the starting end L is equal to or greater than the above k−d+1, and the terminal end R The number r of consecutive bits of “1” or “0” in the above k
−d+1 or less, and the number of consecutive “1” bits in the intermediate portion B sandwiched between the L and the R;
A channel code word in which the number of consecutive bits of “0” is greater than or equal to the above k and less than or equal to the above k, and the above i/Nmin
+2・(d−1)≦k and the above i・Nmin≦k−d
Only when +1 holds true, the channel codeword containing the channel codeword in which all i+Nmin bits are "1" is set as CCO, and "1" is changed to "0" for this CCO and all bits of CCO, and "0" is set. is replaced with "1", the CCO and the code word of the back pattern are made to correspond to the same input data word, and the number of consecutive bits of the same binary value is greater than or equal to the above d and less than or equal to the above k. CCO or
This configuration is characterized by selecting a CCO, thereby making it possible to effectively obtain (d, k) limited variable length channel codewords. DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described based on the drawings. I will explain the first rule in detail. Figure 1a,
b indicates a channel codeword pattern of iN nio bits, and channel codewords are selected based on the following criteria in order to satisfy the d and k restrictions. (): Let d 1 be an integer between 1 and d−1, and “1”
For each channel code word of bit length starting with iN nio (1ii nax , i: integer),
Number l of consecutive bits of “1” on the left side L of the channel code word and “0” and “1” on the right side R
The number of consecutive bits r is given by the following formula (1) d 1 lk-d+1, dd 1 rk-d
+1 ... is in the range shown in (1), and in the middle part B of b = iN nio -l - r bits, d bits or more k
The channel code word CC0 is composed of L, B, and R, in which successive "0" and "1" appear alternately after the bit, and all bits of this CC0 are changed from "0" to "1". ”, “1”
Back pattern 0 of CC0 with “0” replaced
and choose. However, b=0 for CC0 and 0
including those of (): Among the channel code words CC0 selected in (), the channel code word for which l is less than or equal to d-1
CW0 and its back pattern 0 are paired, and each pair is associated with a data word. (): Similarly, among CC0, the channel code word CW1 whose l is greater than or equal to d and its back pattern
Pair CW1 and associate data words with each pair. Next, we will show the connection rules for the channel codewords shown in () to () above, and clarify that the d and k restrictions are satisfied by the connection rules. However, l=
l 1 , r=r 1 , first channel code word W1, l=l 2 ,
Let us consider the connection of the second channel code word W2 where r= r2 . Note that in the following, the final bit of W1 is assumed to be LB. Connection rule When either CW0 or 0 must be used for W2, (1) When LB = "1", W2 = CW0; When LB = "0", W2 = 0. This is because when LB is “1”, W2=
Assuming CW0, the L part of 0 is "0" of d-1 bits or less, so "0" of d-1 bits or less occurs at the connection between W1 and W2, which violates the d restriction. In this case, W2=0 is not appropriate. Conversely, when W2 = CW0, the maximum number of consecutive "1" bits in the R part of W1 is k-d+1,
Since the maximum number of consecutive bits of "1" in the L part of CW0 is d-1, W1 and W2 of LB = "1" =
The maximum number of consecutive bits of "1" at the connection part of CW0 is k (=k-do1+d-1). Furthermore, the R part of W1 has at least dd 1 bits of "1", and the minimum value of "1" in the L part of CW0 is d 1
Therefore, at least d (=d-d 1 +d 1 ) bits of "1" exist at the connection between W1 and W2=CW0 where LB="1", and the d restriction is satisfied. What I have stated above is that when LB = “0”, W2 =
The case of setting CW0 can be shown in exactly the same way. Next, when either CW1 or 1 must be used for W2, (ii): When the number of consecutive "1" bits in the R part of W1 is d or more, W2 = 1 (iii): R of W1 When the number of consecutive "1" bits in the R part of W1 is d-1 or less, W2 = CW1 (iv): When the number of consecutive "0" bits in the R part of W1 is d or more, W2 = CW1 (v): W1 When the number of consecutive "0" bits in the R part of is less than or equal to d-1, W2=1. This is due to the following reason. First, regarding (ii), the number of consecutive "0" bits in the L part of W2=1 is greater than or equal to d and less than or equal to k-d+1. On the other hand, the R part of W1 has more than d bits k−d+
Since it is “1” of less than 1 bit, W1 and W2 =
Satisfies d and k restrictions at the connection part of CW1. Next, regarding (iii), "1" in the R part of W1 is d-
1 bit or less, W2 = “1” in the L part of CW1
Since is less than k-d+1 bits, it satisfies the k restriction. On the other hand, “1” in the R part of W1 is at least d
−d There is 1 bit, and the L part of W2=CW1 is also at least
Since there is d 1 bit, it also satisfies the d restriction. As mentioned above, due to the connection laws (ii) and (iii),
It can be seen that the d and k restrictions are satisfied. Furthermore, (iv) and (v)
Satisfying the d and k restrictions also by the connection law is,
It can be shown in the same way as cases (ii) and (iii), but
It is omitted here. The connection rules (i) to (v) above are such that when the number of consecutive bits of "0" or "1" in the R part of W1 is less than or equal to d-1, E = "0", and when it is greater than or equal to d, E = "1". ” is determined. For the CW0 and 0, F=“0”, and for the CW1 and 1, F=
If F is a value determined by whether or not the number of consecutive bits of "0" or "1" in the L part is less than or equal to d-1, then W2 is the reverse pattern for W1. Then, Y = “1”, and if it is not used as a back pattern, Y = “0”. The value Y is based on the connection law (i) ~
From Table 1, which summarizes (v) into a truth table using LB, E, and F, it can be seen that it is given by equation (2). Y=(+)・{+(○+)} ……(2) However, “+” is logical sum, “・” is logical value, “○+”
represents exclusive OR, and "-" represents negation. Note that all iN nio bits are “1” or “0”.
Communication channel code word, following formula (3) iN nio k−d+1 ……(3)

【表】 が成り立ち、しかも前記接続則(i)〜(v)と第2図よ
り次式(4) iNnio+2(d−1)k ……(4) が成り立つ場合にのみ、前記CC0及び0に含ま
れる。このような通信路符号語に対しては、F=
“1”、E=“1”とすることにより、式(2)をその
まま適用できることは明らかである。したがつ
て、このような通信路符号語が前記CC0及び0
に含まれても、前記接続則(i)〜(v)に変更はなく、
又この通信路符号語は前記CW1及び0に属す
る。 以上述べたような通信路符号語に対する制約及
び接続則により(d、k)符号が得られることを
明らかにしたが、CC0及び0に属する通信路符
号語の数をできるだけ多くするため、前記d1を次
の値に選ぶ。 d′をd/2を越えない最大の整数とするとき、d1
は式(5)又は(6)のいずれかで与えられるものとす
る。 d1=d′ ……(5) d1=d−d′ ……(6) なお、dが偶数のとき、式(5)と式(6)の結果は等し
くなる。 d1を式(5)又は式(6)に選ぶ理由は次のとおりであ
る。式(1)の範囲内にあるlの値は(k−d+1−
d1+1)個あり、同じくrは(k−d+1−d+
d1+1)個である。したがつて、lとrの組み合
わせの数は (k−d−d1+2)(k−2d−d1+2) =−2(d1−d/2)2+(k+d+2)(k−2d+2
) +d2/2 …(7) となり、d1=d/2のとき組み合わせの数は最大と なる。ただし、d1は正整数であるから、dが数の
ときには式(5)及び式(6)で示す値のとき最大とな
る。 通信路符号語CC0及び0の個数は、lとrの
組み合わせの数に比例するから、lとrの組み合
わせの数が最大のとき、通信路符号語CC0及び
CC0の数も最大になる。 以下ではd1と式(5)で与えられる値とするが、d
が奇数の場合でも同様の結果が得られることは言
うまでもない。 以上述べたような制約を課せられた通信路符号
語に対して、前記(i)〜(v)で示した接続則を適用し
た場合において、d、k制限を満たす通信路符号
が得られることを明らかにしたので、次に、これ
らの通信路符号語及び接続条件に対して、可変長
符号変換方法を適用した場合に、正しく変復調を
行うための通信路符号語の選択条件について説明
する。 ビツト長の異なる通信路符号語を用いた場合
に、正しく元のデータ語に復調するためには、ビ
ツト長の異なる通信路符号語を接続した結果得ら
れるビツト列において、それらの通信路符号語の
語境界を正しく判別できれば良い。 言い換えれば、使用する通信路符号語の最小値
をNnio、最大値をNnax(=inax・Nnio)とすると
き、N1(=i1Nnio、1i1inax)ビツトの通信路
符号語n1とN2(=i2Nnio、1i2inax)ビツトの
通信路符号語n2を接続したとき、n1の先頭からX
(N1<X<Nnax)ビツトが第3の通信路符号語n3
に等しくなければ、n1とn2の語境界は正しく判別
できる。すなわち、第3図に示すように、n1の先
頭からNnaxビツト、Nnax-1ビツト、…、Xビツ
ト、…N1+Nnioビツトと順次調べていつても、
それらはいずれも使用している通信路符号語とは
一致せず、結局N1が送られて来たことがわかり、
n1とn2の語境界を正しく判別できる。以上述べた
ことが、使用する通信路符号語のすべての接続に
ついて言えるならば、すべての語境界を正しく判
別でき、正しい復調がなされることになる。 上述の要件を満たす通信路符号語は次のように
して求められる。ビツト長がiNnio(1iinax
の上記()の構造をした通信路符号語をCC0i
とし、その個数をT(i)とすると、一般的に、 T(2i)>T(i)2 ……(8) なる関係を満たす。たとえば、i=1の場合、
2Nnioビツト長の通信路符号語CC02には、Nnio
ツト長の通信路符号語CC01どうしの、前記(i)〜
(v)で一意に規定される接続則によつて得られるT
(1)2個の2Nnioビツトの通信路符号語以外の通信路
符号語、すなわち、2Nnioビツト独自の通信路符
号語CC1を含んでいる。したがつて、2Nnioビツ
ト長の通信路符号語としては、上記の2Nnioビツ
ト独自の通信路符号語CC1及びその裏パターン
CC1を用いることにより、Nnioビツトの通信路符
号語どうしの接続によつて得られる2Nnioビツト
のビツト列とは一致しない。 同様にして、iNnio(3iinax)ビツト独自
の通信路符号語を求めることができ、これらの通
信路符号語CC1及び1を用いることにより、変
調によつて生じるビツト列中において、正しく語
境界を判別できる。次に、本発明を具体的実施例
を用いて詳細に説明するが、以下では、通信路符
号語とは前記CC1及び1に属するものを指す。 実施例 1 この実施例はd=5、k=18、Nnio=5、Mnio
=2、Nnax=30、inax=6、TW=0.4T、Tnio
2T、Tnax=7.2Tなる通信路符号が得られる可変
長符号変換方法である。本実施例で使用可能な通
信路符号語は第2表a,b,cに示す130個であ
る(裏パターンは除く)。これらの通信路符号語
は先に述べたように、それぞれのビツト長独自の
通信路符号語であり、いずれの通信路符号語も、
前記(i)〜(v)で規定される接続則に従うかぎりにお
いては、他の通信路符号語どうしの接続によつて
生じるビツト列には一致しない。
[Table] holds, and from the above connection rules (i) to (v) and Fig. 2, the following equation (4) iN nio +2(d-1)k ...(4) holds only when Included in 0. For such a channel codeword, F=
It is clear that by setting "1" and E="1", equation (2) can be applied as is. Therefore, such channel codewords are the CC0 and 0
Even if it is included in , there is no change in the connection rules (i) to (v) above,
Also, this channel code word belongs to CW1 and CW0. It has been clarified that (d, k) codes can be obtained by the constraints and connection rules for channel codewords as described above, but in order to increase the number of channel codewords belonging to CC0 and 0 as much as possible, Select 1 as the next value. Let d′ be the largest integer not exceeding d/2, then d 1
is given by either equation (5) or (6). d 1 = d' ... (5) d 1 = d - d' ... (6) Note that when d is an even number, the results of equation (5) and equation (6) are equal. The reason for choosing d 1 in equation (5) or equation (6) is as follows. The value of l within the range of equation (1) is (k−d+1−
d 1 +1), and r is (k-d+1-d+
d 1 +1). Therefore, the number of combinations of l and r is (k-d-d 1 +2)(k-2d-d 1 +2) =-2(d 1 -d/2) 2 +(k+d+2)(k-2d+2
) +d 2 /2 (7), and the number of combinations is maximum when d 1 =d/2. However, since d 1 is a positive integer, when d is a number, it is maximum when the value is shown in equation (5) and equation (6). The number of channel code words CC0 and 0 is proportional to the number of combinations of l and r, so when the number of combinations of l and r is maximum, the number of channel code words CC0 and
The number of CC0 is also maximized. In the following, d 1 is the value given by equation (5), but d
It goes without saying that similar results can be obtained even when is an odd number. When applying the connection rules shown in (i) to (v) above to a channel code word that is subject to the constraints described above, a channel code that satisfies the d and k restrictions can be obtained. Having clarified the following, the conditions for selecting a channel codeword for correct modulation and demodulation when the variable length code conversion method is applied to these channel codewords and connection conditions will be explained. When channel codewords with different bit lengths are used, in order to correctly demodulate to the original data word, in the bit string obtained by connecting channel codewords with different bit lengths, those channel codewords It is sufficient if the word boundaries can be correctly identified. In other words, when the minimum value of the channel codeword to be used is N nio and the maximum value is N nax (=i nax・N nio ), communication of N 1 (=i 1 N nio , 1i 1 i nax ) bits. When channel codeword n 1 and N 2 (=i 2 N nio , 1i 2 i nax ) bit channel code word n 2 are connected, X
(N 1 <X<N nax ) bit is the third channel code word n 3
, the word boundary between n 1 and n 2 can be correctly determined. That is, as shown in Fig. 3, even if we sequentially examine N nax bits, N nax-1 bits, ..., X bits, ... N 1 +N nio bits from the beginning of n 1 ,
None of them matched the channel codeword being used, and it turned out that N 1 was sent after all.
Can correctly identify the word boundary between n 1 and n 2 . If the above can be said for all connections of channel code words used, all word boundaries can be correctly determined and correct demodulation can be performed. A channel codeword that satisfies the above requirements is determined as follows. Bit length is iN nio (1ii nax )
CC0 i
If the number is T(i), generally the following relationship is satisfied: T(2i)>T(i) 2 ...(8). For example, if i=1,
The communication channel code word CC0 2 with a length of 2N nio bits contains the above (i) to
T obtained by the connection law uniquely defined by (v)
(1) Contains a channel code word other than the two 2N nio bit channel code words, that is, a channel code word CC1 unique to 2N nio bits. Therefore, the communication channel code word with a length of 2N nio bits is the above-mentioned 2N nio bit unique communication channel code word CC1 and its back pattern.
By using CC1, the bit string of 2N nio bits obtained by connecting N nio bit channel code words does not match. In the same way, a unique channel code word for iN nio (3ii nax ) bits can be obtained, and by using these channel code words CC1 and 1, word boundaries can be correctly identified in the bit string generated by modulation. can be determined. Next, the present invention will be explained in detail using a specific example. Below, the channel code word refers to a code word belonging to CC1 and CC1. Example 1 This example has d=5, k=18, N nio =5, M nio
=2, N nax =30, i nax =6, TW=0.4T, T nio =
This is a variable length code conversion method that yields a channel code of 2T, T nax = 7.2T. The number of channel code words that can be used in this embodiment is 130 as shown in Table 2 a, b, and c (excluding back patterns). As mentioned earlier, these channel code words have their own bit lengths, and each channel code word is
As long as the connection rules defined in (i) to (v) above are followed, the bit strings generated by the connection of other channel code words will not match.

【表】【table】

【表】【table】

【表】【table】

【表】 以下、具体例を用いて説明する。5ビツトの通
信路符号語No.1、No.2の通信路符号語を前記(i)〜
(v)の接続則に従つて接続した結果のビツト列は次
の4種類である。 “11000”+“00111”(No.1+No.1) “11000”+“00000”(No.1+No.2) “11111”+“11000”(No.2+No.1) “11111”+“00000”(No.2+No.2) これら4種類のビツト長が10のビツト列は、第
2表の10ビツトの通信路符号語No.3〜No.6とは明
らかに異つていることがわかる。 同じく、15ビツトの通信路符号語のうち、No.15
は、 “111000000000000”=“1110000000”+“00000”
(No.15=No.5+No.2) のように、10ビツトの通信路符号No.5と5ビツト
の通信路符号語No.2の裏パターンNo.2を接続した
形になつている。しかし、前記接続則によれば、
No.5とNo.2の接続の場合、 “1110000000”+“11111”=“111000000011111”
(No.5+No.2) となる。したがつて、No.15の通信路符号語は、No.
5とNo.2の接続によつて生じたものではないこと
がわかる。 第2表における他のすべての通信路符号語につ
いても同様のことが言える。 第2表には、各通信路符号語に対応するデータ
語を併記した。第2表より明らかなように、デー
タ語のビツト数と通信路符号語のビツト数の比は
2:5で一定であるので、通信路符号の伝送速度
は一定であり、TW=0.4Tも一定である。 データ語と通信路符号語の対応は次のようにし
て決めれば良い。 (a):TW=0.4Tであるから、5ビツトの通信路符
号語には2ビツトのデータ語を対応させる。
本実施例では、No.1の通信路符号語には
“00”を、No.2の通信路符号語には“01”を
対応させているが、たとえば、No.1=“11”
を、No.2に“10”を対応させても良い。要す
るに、2つの5ビツトの通信路符号語には4
つの2ビツトのデータ語のうちの任意の2つ
を対応させれば良い。以下では第2表の対応
に例にとり説明する。 (b):データ語“00”、“01”については、対応する
通信路符号語が存在するので問題はない。し
かし、データ語“10”、“11”にはこれらに対
応する5ビツトの通信路符号語は存在しない
ので、10ビツトの通信路符号語を対応させる
が、このままではデータ語と通信路符号語の
ビツト長の比が2:5にはならない。したが
つて、“01”、“11”で始まる4ビツトのデー
タ語に10ビツトの通信路符号語を対応させ
る。10ビツトの通信路符号語は4つあるの
で、“10”で始まる4つのデータ語には、そ
れぞれ対応する通信路符号語が存在する。 (c):(b)と同様にして、“11”で始まる4つの4ビ
ツトのデータ語を補うために、15ビツトの通
信路符号語を用いる。この時、データ語も6
ビツトになる。このようなデータ語は“11”
で始まる16個である。15ビツトの通信路符号
語は9個であるから、“11”で始まる6ビツ
トのデータ語のうち、“110000”から
“111000”までは対応する通信路符号語が存
在する。 (d):同様に、“11100100”〜“11110011”までの
データ語とNo.16〜No.31の20ビツトの通信路符
号語を対応させる。 (e):“1111010000”〜“1111110001”までのデー
タ語とNo.32〜No.65の25ビツトの通信路符号語
を対応させる。 :“111111001000”〜“111111111111”までの
データ語は56個である。一方、30ビツトの通
信路符号語数は65個であるから、上記12ビツ
トのデータ語にはすべて、30ビツトの通信路
符号語が対応する。 以上(a)〜(f)により、データビツト列のすべての
組み合わせに対して、通信路符号語が対応する事
になり、変調が一意になされる。 本実施例の変調回路のブロツク図を第4図に示
す。以下変調回路の動作について、第4図を用い
て説明する。なお、データビツト列に対するクロ
ツクをfd(bits/s)、通信路符号語に対するクロ
ツクをfr(=5/2fd)(bits/s)とする。 まず、データビツト列として、次式(9) “01/(A) 111111111111/(B) 111000/(C) 0111100110/(D)” …(9) のビツト列を仮定する。なお、式(9)前後にはデー
タビツト列は存在せず、式(9)の(A)がデータビツト
列の始まりであるとする。 動作0:12ビツトよりなるシフトレジスタ10
は、式(9)の先頭から12ビツト、つまり a=“011111111111” を取り込む。 動作1:シフトレジスタ10に取り込まれた12ビ
ツトは、コントロールパルス発生回路11か
らのコントロールパルスCPによつて、12ビ
ツトよりなるラツチ回路12に取り込まれ
る。このときの、ラツチ回路12の内容もや
はり、前記aである。 ラツチ回路12に取り込まれた12ビツト
は、符号変換回路13の入力端子に印加され
る。符号変換回路13では、印加されたデー
タ語に対応する通信路符号語CWと、CWの
前記L部における“1”の連続個数がd以上
か否かを表わす値F(d以上ならF=“1”、
d−1以下ならF=“0”)と、前記R部にお
ける“0”又は“1”の連続ビツト数がd以
上か否かを表わす値E′(d以上ならE′=“1”、
d−1以下ならばE′=“0”)、及びCWのビ
ツト数NがNnio=5の何倍かを表わす値I
(N=5の時、I=“001”、N=10の時I=
“010”、N=15の時I=“011”、N=20の時I
=“100”、N=25の時にI=“101”、N=30の
時I=“110”)を出力として送出する。 第3表に符号変換回路13の入出力対応表
を示す。なお、第3表における“X”は無関
係な値を意味する。第3表から明らかなよう
に、
[Table] This will be explained below using a specific example. The 5-bit communication channel code words No. 1 and No. 2 are expressed as (i) to
There are four types of bit strings as a result of connection according to the connection rule (v): “11000” + “00111” (No.1 + No.1) “11000” + “00000” (No.1 + No.2) “11111” + “11000” (No.2 + No.1) “11111” + “00000” ( No. 2 + No. 2) It can be seen that these four types of bit strings with a bit length of 10 are clearly different from the 10-bit channel code words No. 3 to No. 6 in Table 2. Similarly, No. 15 of the 15-bit communication channel code word
is “111000000000000” = “1110000000” + “00000”
(No. 15 = No. 5 + No. 2), the 10-bit channel code No. 5 is connected to the back pattern No. 2 of the 5-bit channel code word No. 2. However, according to the connection law,
In the case of connection between No. 5 and No. 2, “1110000000” + “11111” = “111000000011111”
(No. 5 + No. 2). Therefore, the channel code word for No. 15 is No.
It can be seen that this was not caused by the connection between No. 5 and No. 2. The same is true for all other channel codewords in Table 2. Table 2 also lists data words corresponding to each channel code word. As is clear from Table 2, the ratio of the number of bits in the data word to the number of bits in the channel code word is constant at 2:5, so the transmission speed of the channel code is constant, and T W =0.4T. is also constant. The correspondence between data words and channel code words may be determined as follows. (a): Since T W =0.4T, a 2-bit data word is associated with a 5-bit channel code word.
In this embodiment, "00" is associated with the No. 1 channel code word, and "01" is associated with the No. 2 channel code word. For example, if No. 1 = "11"
, "10" may correspond to No. 2. In short, two 5-bit channel codewords contain 4 bits.
It is sufficient to match any two of the two 2-bit data words. In the following, explanation will be given by taking the correspondence shown in Table 2 as an example. (b): There is no problem with the data words “00” and “01” because there are corresponding channel code words. However, since data words "10" and "11" do not have corresponding 5-bit channel code words, they are made to correspond to 10-bit channel code words, but as is, the data words and channel code words The bit length ratio is not 2:5. Therefore, 4-bit data words starting with "01" and "11" are made to correspond to 10-bit channel code words. Since there are four 10-bit channel code words, each of the four data words starting with "10" has a corresponding channel code word. (c): Similar to (b), a 15-bit channel code word is used to supplement the four 4-bit data words starting with "11". At this time, the data word is also 6
Become a bit. Such a data word is “11”
There are 16 items starting with . Since there are nine 15-bit channel code words, among the 6-bit data words starting with "11", corresponding channel code words exist for "110000" to "111000". (d): Similarly, the data words "11100100" to "11110011" are made to correspond to the 20-bit channel code words No. 16 to No. 31. (e): Correlate the data words “1111010000” to “1111110001” with the 25-bit communication channel code words No. 32 to No. 65. : There are 56 data words from “111111001000” to “111111111111”. On the other hand, since the number of 30-bit channel code words is 65, all of the above 12-bit data words correspond to 30-bit channel code words. As described in (a) to (f) above, the channel code word corresponds to every combination of data bit strings, and the modulation is uniquely performed. A block diagram of the modulation circuit of this embodiment is shown in FIG. The operation of the modulation circuit will be explained below with reference to FIG. Note that the clock for the data bit string is f d (bits/s), and the clock for the channel codeword is f r (=5/2f d ) (bits/s). First, a bit string of the following equation (9) "01/(A) 111111111111/(B) 111000/(C) 0111100110/(D)" is assumed as a data bit string. It is assumed that there is no data bit string before and after equation (9), and that (A) in equation (9) is the start of the data bit string. Operation 0: Shift register 10 consisting of 12 bits
takes in the first 12 bits of equation (9), that is, a="011111111111". Operation 1: The 12 bits taken into the shift register 10 are taken into the latch circuit 12 consisting of 12 bits by the control pulse CP from the control pulse generation circuit 11. The contents of the latch circuit 12 at this time are also the same as a. The 12 bits taken into the latch circuit 12 are applied to the input terminal of the code conversion circuit 13. In the code conversion circuit 13, the communication channel code word CW corresponding to the applied data word and a value F indicating whether or not the number of consecutive "1"s in the L part of the CW are equal to or greater than d (if equal to or greater than d, F=" 1”,
If it is less than or equal to d-1, F = "0"), and a value E' indicating whether the number of consecutive bits of "0" or "1" in the R section is equal to or greater than d (if it is equal to or greater than d, E' = "1",
If it is less than or equal to d-1, E' = "0"), and the value I that represents how many times the number of bits of CW is N nio = 5
(When N=5, I=“001”, when N=10, I=
“010”, when N=15 I=“011”, when N=20 I
="100", I="101" when N=25, I="110" when N=30) are sent as outputs. Table 3 shows an input/output correspondence table of the code conversion circuit 13. Note that "X" in Table 3 means an unrelated value. As is clear from Table 3,

【表】 符号変換回路13の入出力特性は、その入
力に加えられた12ビツトのうち、先頭から
iMnio=2i(1i6)ビツトが、第2表の
2iビツトのデータ語のいずれかに等しいとき
には、その2iビツトに対してのみ変調が行わ
れるようになつておれば良い。 今の場合は、符号変換回路13の入出力は
第3表のNo.1の場合に相当し、変調はaの最
初の“01”に対してのみ行われ、“01”に続
く10ビツトの値には関係ない。従つて、符号
変換回路13の出力には、通信路符号語CW
=“11111”、F=“1”、E′=“1”及びI=
“001”が現われる。 動作2:動作1の結果得られるIの値は、ただち
にコントロールパルス発生回路11に送られ
る。コントロールパルス発生回路11は、こ
のIの値を基にして、シフトレジスタ10が
2×Iビツトシフトした事を検出し、コント
ロールパルスCPを発生させる。 今の場合、I=“001”であるから、シフト
レジスタ10の最初の2ビツト、つまり前記
aのうち、 a=“0111111111111” の下線部がシフトレジスタ10からシフトア
ウトされた後にコントロールパルスCPが発
生する。 動作3:動作2で発生したコントロールパルス
CPにより、符号変換回路13の出力に現わ
れているCW=“11111”はパラレル−シリア
ル変換器14に取り込まれ、frのクロツクで
順次送り出される。 一方、F及びE′の値は反転制御回路15に
取り込まれ、Fは1つ前に送出された通信路
符号語CW′のE′の値Eと、最終ビツト保持回
路16に保持されているCW′の最終ビツト
LBと共に用いられて、前記(i)〜(v)の接続則
に従つて、CWを裏パターンにして送出する
か否かを制御する信号Yを排他的論理和ゲー
ト17に加える。なお、裏パターンにする場
合はY=“1”、さもなければY=“0”であ
るから、Yは式(2)で与えられる。 今の場合、最初のデータ語であるから、
LB及びEは初期値“0”に設定してある。
したがつて、F=“1”であることにより、
式(2)からY=“1”となるので、CW=
“11111”は裏パターンで送出される。 動作4:動作3と平行して、動作2で発生したコ
ントロールパルスCPはラツチ回路12に加
えられ、新たな12ビツトがラツチ回路12に
取り込まれる。今の場合は、動作2の所で述
べたように、この時点ではシフトレジスタ1
0の内容は、式(9)における“01”に続く12ビ
ツト、つまり β=“111111111111” であるから、ラツチ回路12の内容もβにな
る。そして、再び動作1〜4を繰り返し、ラ
ツチ回路12の内容が式(9)の
“01111111111111”に続く γ=“111000011110” になり、この値に対して動作1〜4を繰り返
す。 式(9)のデータビツト列に対する。第4図の
変調回路のタイムチヤートを第5図に示す。
第5図における各記号は、上記動作の0〜4
の説明で用いたものと同じである。なお、第
5図における破線は同時刻を表わす。又、
“X”は無関係な値であることを示す。 次に、復調について説明する。先に述べた
ように、変調によつて作られるビツト列にお
いて、語境界を正しく判別できれば、正しい
復調がなされる。又、本実施例で用いる通信
路符号語としては、接続によつて生じるビツ
ト列における語境界を正しく判別できるもの
を選んである。したがつて、復調回路のブロ
ツク図は第6図のようになる。以下、復調回
路の動作について、第6図を用いて説明す
る。 まず、通信路符号語として、式(9)のデータ
ビツト列に対応する次式(10)を仮定する。 “00000/(A)′ 11111000000000000000011111000
0/(B)′ “000111111111111/(C)′ 1111000001111111000
0/(D)′”…(10) また、式(10)の(A)′が通信路符号語の始まりで
あるとする。 動作0:30ビツトよりなるシフトレジスタ30は
式(10)の先頭から30ビツト、つまり a′=“000001111100000000000000001111” を取り込む。通信路符号語の始まりを検出す
る方法は、マークパターンを用いるなどの公
知の技術を採用するものとする。 動作1:シフトレジスタ30に取り込まれた30ビ
ツトは、コントロールパルス発生回路31か
らのコントロールパルスCPによつて、30ビ
ツトよりなるラツチ回路32に取り込まれ
る。ラツチ回路32の内容もやはり前記a′と
同じである。ラツチ回路32に取り込まれた
30ビツトは符号逆変換回路33の入力端子に
加えられる。符号逆変換回路33では、加え
られた30ビツトに対応するデータ語DWと、
DWのビツト数MがMnio=2の何倍かを表わ
す値I(M=2の時I=“001”、M=4の時I
=“010”、M=6の時I=“011”、M=8の時
I=“100”、M=10の時I=“101”、M=12の
時I=“110”)を出力として送出する。 第4表に符号逆変換回路33の入出力対応
表の一部を示す。なお、第4表の入力欄の横
線はその部分の値には無関係であることを示
す。ただし、備考欄に示した番号は、第2表
の通信路符号語に付した番号であり、第6図
の符号逆変換回路33の入力に、たとえば、
“11111”で始まる30ビツトのビツト列が送ら
れて来たとしても、その30ビツトの先頭から
10ビツト以上の部分に、第4表の備考欄に示
す番号の通信路符号語が存在すれば、通信路
符号語“11111”に対応するデータ語“01”
を出力しない。一例として、第4表のNo.9の
通信路符号語第2表のNo.121に等しく、これ
は第4表のNo.1の備考欄に記載されているか
ら、第4表のNo.9の先頭5ビツトがNo.1の
“11111”に等しくとも、この場合の出力デー
タ語は“01”ではなくて、“111111111111”
となる。 逆に、第4表のNo.1とNo.9を接続して得ら
れる下記のビツト列 “11111/No.1 00000111111111111111100000111
1/No.9” の先頭から5i(i=2、3、4、5、6)ビ
ツトは第4表No.1の備考欄に示す通信路符号
語のいずれにも等しくない。したがつて、通
信路符号語“11111”に対応するデータ語
“01”が出力となる。 以上のような入出力対応表を用いることに
より、通信路符号語の語境界を正しく判別で
きる。 今の場合は、符号逆変換回路33の入出力
は第4表のNo.1の裏パターンの場合に相当
し、符号逆変換回路33の出力には、データ
語DW=“01”、I=“001”が現われる。 動作2:動作1の結果得られるIの値はただちに
コントロールパルス発生回路31に送られ
る。コントロールパルス発生回路31は、こ
のIの
[Table] The input/output characteristics of the code conversion circuit 13 are as follows:
iM nio = 2i (1i6) bits in Table 2
When it is equal to any of the 2i bit data words, it is sufficient that modulation is performed only on that 2i bit. In this case, the input/output of the code conversion circuit 13 corresponds to the case No. 1 in Table 3, and modulation is performed only on the first "01" of a, and the 10 bits following "01" are modulated. It has nothing to do with the value. Therefore, the output of the code conversion circuit 13 contains the channel code word CW.
= “11111”, F = “1”, E′ = “1” and I =
“001” appears. Operation 2: The value of I obtained as a result of Operation 1 is immediately sent to the control pulse generation circuit 11. Based on the value of I, the control pulse generating circuit 11 detects that the shift register 10 has been shifted by 2×I bits, and generates a control pulse CP. In this case, since I="001", the first two bits of the shift register 10, that is, the underlined part of a=" 01 11111111111" is shifted out from the shift register 10, and then the control pulse CP is occurs. Operation 3: Control pulse generated in operation 2
Due to the CP, CW="11111" appearing at the output of the code conversion circuit 13 is taken into the parallel-serial converter 14 and sequentially sent out with the clock of fr . On the other hand, the values of F and E' are taken into the inversion control circuit 15, and F is held in the last bit holding circuit 16 along with the value E of E' of the channel code word CW' sent out immediately before. Last bit of CW′
A signal Y is applied to the exclusive OR gate 17 to be used together with the LB and to control whether or not to send out the CW as a back pattern according to the connection rules (i) to (v). Note that Y=“1” if the back pattern is used, and Y=“0” otherwise, so Y is given by equation (2). In this case, since it is the first data word,
LB and E are set to an initial value of "0".
Therefore, by F="1",
From equation (2), Y=“1”, so CW=
“11111” is sent in the back pattern. Operation 4: In parallel with operation 3, the control pulse CP generated in operation 2 is applied to the latch circuit 12, and new 12 bits are taken into the latch circuit 12. In this case, as mentioned in operation 2, at this point, shift register 1
Since the content of 0 is the 12 bits following "01" in equation (9), that is, β = "111111111111", the content of the latch circuit 12 is also β. Then, operations 1 to 4 are repeated again, and the content of the latch circuit 12 becomes γ=“111000011110” following “01111111111111” in equation (9), and operations 1 to 4 are repeated for this value. For the data bit string in equation (9). FIG. 5 shows a time chart of the modulation circuit of FIG. 4.
Each symbol in Fig. 5 represents 0 to 4 of the above operation.
This is the same as the one used in the explanation. In addition, the broken line in FIG. 5 represents the same time. or,
“X” indicates an irrelevant value. Next, demodulation will be explained. As mentioned above, if word boundaries can be correctly determined in the bit string created by modulation, correct demodulation will be performed. Furthermore, the channel code words used in this embodiment are selected so as to enable accurate discrimination of word boundaries in bit strings generated by connections. Therefore, the block diagram of the demodulation circuit is as shown in FIG. The operation of the demodulation circuit will be explained below using FIG. 6. First, the following equation (10) corresponding to the data bit string of equation (9) is assumed as a channel code word. “00000/(A)′ 11111000000000000000011111000
0/(B)′ “000111111111111/(C)′ 1111000001111111000
0/(D)′”…(10) Also, assume that (A)′ in equation (10) is the start of the channel code word. Operation 0: The shift register 30 consisting of 30 bits is as shown in equation (10). The first 30 bits, that is, a′ = “000001111100000000000000001111” are taken in. As a method for detecting the beginning of the channel code word, a known technique such as using a mark pattern is adopted. Operation 1: Transfer to the shift register 30. The 30 bits taken in are taken into a latch circuit 32 consisting of 30 bits by the control pulse CP from the control pulse generation circuit 31.The contents of the latch circuit 32 are also the same as a' above.Latch circuit 32 was incorporated into
The 30 bits are applied to the input terminal of the sign inversion circuit 33. The sign inversion circuit 33 converts the data word DW corresponding to the added 30 bits into
The value I that represents how many times the number of bits M of DW is M nio = 2 (I = “001” when M = 2, I = “001” when M = 4)
= "010", when M = 6 I = "011", when M = 8 I = "100", when M = 10 I = "101", when M = 12 I = "110") Send as output. Table 4 shows a part of the input/output correspondence table of the code inversion circuit 33. Note that the horizontal line in the input column of Table 4 indicates that the value of that portion is unrelated. However, the numbers shown in the remarks column are the numbers attached to the communication channel code words in Table 2, and the input of the code inverse conversion circuit 33 in FIG. 6, for example,
Even if a 30-bit string starting with “11111” is sent, the first 30 bits
If the channel code word with the number shown in the remarks column of Table 4 exists in the 10-bit or more part, the data word “01” corresponding to the channel code word “11111”
is not output. As an example, the communication channel code word of No. 9 in Table 4 is equal to No. 121 of Table 2, and this is written in the remarks column of No. 1 of Table 4, so No. 9 of Table 4 is the same as No. 121 of Table 2. Even if the first 5 bits of No. 9 are equal to “11111” of No. 1, the output data word in this case is not “01” but “111111111111”.
becomes. Conversely, the following bit string obtained by connecting No. 1 and No. 9 in Table 4 “11111/No. 1 00000111111111111111100000111
1/No. 9'' from the beginning 5i (i = 2, 3, 4, 5, 6) bits are not equal to any of the channel code words shown in the remarks column of Table 4 No. 1. Therefore, , the data word “01” corresponding to the channel code word “11111” is the output. By using the input/output correspondence table as above, the word boundaries of the channel code word can be correctly determined. In this case, , the input and output of the code inversion circuit 33 corresponds to the case of the back pattern of No. 1 in Table 4, and the data words DW="01" and I="001" are output from the code inversion circuit 33. Operation 2: The value of I obtained as a result of operation 1 is immediately sent to the control pulse generation circuit 31.The control pulse generation circuit 31

【表】 値を基にして、シフトレジスタ30が5×I
ビツトシフトした事を検出し、コントロール
パルスCPを発生させる。 今の場合、I=“001”であるから、シフト
レジスタ30の最初の5ビツト、つまり前記
a′のうち、先頭から5ビツトの“00000”が
シフトアウトされた後に、コントロールパル
スCPが発生する。 動作3:動作2で発生したコントロールパルス
CPにより、符号逆変換回路33の出力に現
われているDW=“01”はパラレル−シリア
ル変換器34に取り込まれ、順次送り出され
る。 動作4:動作3と平行して、動作2で発生したコ
ントロールパルスCPはラツチ回路31にも
加えられ、新たな30ビツトが取り込まれる。 動作2の所で述べたように、シフトレジス
タ30の内容は β′=“111110000000000000000111110000” となり、ラツチ回路31の内容もやはりβ′と
なる。そして、再び動作1〜4を繰り返し、
データ語として“111111111111”を得る。さ
らに、ラツチ回路31の内容が γ′=“000111111111111111100000111111” に対して動作1〜4を繰り返して、データ語
として、“111000”を得る。つまり、式(10)に
対するデータ語は “01 111111111111 111000” となり、これは先に変調回路の動作の説明の
ときに仮定した(9)式のデータビツト列(A)、(B)
及び(C)に等しくなり、正しい復調がなされた
ことになる。 以上述べた変復調回路の構成並びに動作
は、本実施例に限らず、本発明の可変長符号
変換方法によつて得られる、すべての通信路
符号に応用できる。 以上述べたように、d=5、k=18、TW
=0.4T、Tnio=2T、Tnax=7.2Tなる通信路
符号を得ることができ、同じくTnio=2Tを
満たす従来のHDM−3に対して、TWは21
%も広くなり、さらにTnaxも15%小さくす
ることができる本実施例の可変長符号変換方
法は、変復調回路の構成も簡単であることか
ら、デイジタル画像伝送、記録への応用等そ
の実用的効果は非常に大きい。 実施例 2 この実施例はd=6、k=16、Nnio=6、Mnio
=2、Nnax=24、inax=4、TW=T/3、Tnio= 2T、Tnax=16T/35.33Tなる通信路符号が得
られる可変調符号変換方法である。本実施例で使
用可能な通信路符号語は第5表に示す49個である
(裏パターンは除く)。第5表には各通信路符号語
に対応するデータ語の一例も併記した。これらの
通信路符号語が可変調の通信路符号語として適し
ていることは実施例1の場合と同様にして確めら
れ、データ語と通信符号語との対応関係も実施例
1の場合と同様にして得られる。 本実施例の可変調符号変換方法によつて得られ
る通信路符号は、従来のHDM−3に比べて、
TW、Tnioは同等で、kは9小さく、従つてTnax
は36%小さくなる。
[Table] Based on the value, the shift register 30
Detects bit shift and generates control pulse CP. In this case, since I="001", the first 5 bits of the shift register 30, that is, the
The control pulse CP is generated after the first five bits "00000" of a' are shifted out. Operation 3: Control pulse generated in operation 2
Due to the CP, DW="01" appearing at the output of the sign inversion circuit 33 is taken into the parallel-serial converter 34 and sequentially sent out. Operation 4: In parallel with operation 3, the control pulse CP generated in operation 2 is also applied to the latch circuit 31, and new 30 bits are taken in. As described in operation 2, the contents of the shift register 30 become β'=“111110000000000000000111110000”, and the contents of the latch circuit 31 also become β'. Then, repeat steps 1 to 4 again.
Get “111111111111” as the data word. Further, operations 1 to 4 are repeated when the content of the latch circuit 31 is γ'=“000111111111111111100000111111” to obtain “111000” as the data word. In other words, the data word for equation (10) is “01 111111111111 111000”, which corresponds to the data bit strings (A) and (B) of equation (9) that were assumed when explaining the operation of the modulation circuit.
and (C), which means that correct demodulation has been performed. The configuration and operation of the modulation/demodulation circuit described above are not limited to this embodiment, but can be applied to all channel codes obtained by the variable length code conversion method of the present invention. As mentioned above, d=5, k=18, T W
= 0.4T, T nio = 2T, T nax = 7.2T, and compared to the conventional HDM-3 which also satisfies T nio = 2T, T W is 21
The variable-length code conversion method of this embodiment, which can widen % and reduce T nax by 15%, has a simple modulation/demodulation circuit configuration, making it suitable for practical applications such as digital image transmission and recording. The effect is huge. Example 2 This example has d=6, k=16, N nio =6, M nio
This is a variable tone code conversion method that can obtain a channel code of =2, N nax =24, i nax =4, TW = T/3, T nio = 2T, and T nax =16T/35.33T. The number of channel code words that can be used in this embodiment is 49 as shown in Table 5 (excluding back patterns). Table 5 also lists examples of data words corresponding to each channel code word. The suitability of these channel code words as variable tone channel code words was confirmed in the same manner as in Example 1, and the correspondence between data words and communication code words was also the same as in Example 1. obtained in the same way. The channel code obtained by the variable tone code conversion method of this embodiment is, compared to the conventional HDM-3,
T W , T nio are equivalent, k is 9 less, so T nax
is 36% smaller.

【表】【table】

【表】 以上述べたように、本実施例の符号変換方法に
より、従来のHDM−3に比べTnaxが36%も小さ
い通信路符号が得られ、その実用的効果は非常に
大きい。 実施例 3 この実施例はd=3、k=12、Nnio=15、Mnio
=8、Nnax=30、inax=2、TW=8/15T 0.533T、Tnio=1.6T、Tnax=6.4Tなる通信路符
号が得られる可変長符号変換方法である。本実施
例で使用可能な通信路符号語の数は、ビツト長が
Nnio=15ビツトのものが180、ビツト長が30ビツ
トのものが、19502ある。又、15ビツトの180個の
通信路符号語には、下記の範囲の8ビツトのデー
タ語 “00000000”〜“10110011” を対応させ、30ビツトの通信路符号語には、下記
の範囲の19456個のデータ語を対応させる。した
がつて、30ビツトの通信路符号 “1011010000000000”〜“11111111
11111111” 語のうち、19502‐19456=46個の通信路符号語が
あまる。 本実施例の可変調符号変換方法による可変長の
通信路符号は、従来の3PMに比べd及びkは等
しく、TWが約6.7%広くなるという特長を有す
る。 実施例 4 この実施例はd=2、k=7、Nnio=3、Mnio
=2、Nnax=15、inax=5、TW=2/3T0.67T、 Tnio=4T/31.33T、Tnax=14/3T4.67Tなる通 信路符号が得られる可変調符号変換方法である。
本実施例で使用可能な通信路符号語は第6表に示
す20個である(裏パターンは除く)。第6表には
各通信路符号語に対応するデータ語の一例も併記
した。これらの通信路符号語が可変長の通信路符
号語として適していることは実施例1の場合と同
様にして確められ、データ語と通信路符号語との
対応関係も実施例1の場合と同様にして得られ
る。 なお、本実施例の場合には、9、12及び15ビツ
ト独自の通信路符号語が第6表以外にも存在し、
第7表に示すように6個ある。しかしながら、こ
れらの通信路符号語は第5表の通信路符号語とは
混用できない。これは次例より明らかである。
[Table] As described above, the code conversion method of this embodiment provides a channel code with T nax that is 36% smaller than that of the conventional HDM-3, and its practical effects are very large. Example 3 This example has d=3, k=12, N nio =15, M nio
This is a variable-length code conversion method that can obtain channel codes of =8, N nax =30, i nax =2, T W =8/15T 0.533T, T nio =1.6T, and T nax =6.4T. The number of channel codewords that can be used in this example is
There are 180 with N nio = 15 bits and 19502 with a bit length of 30 bits. Additionally, the 180 15-bit channel codewords correspond to the 8-bit data words “00000000” to “10110011” in the range below, and the 30-bit channel codewords correspond to 19456 in the range below. Match data words. Therefore, the 30-bit channel code “1011010000000000” to “11111111
11111111" words, there are 19502-19456=46 channel code words. Compared to the conventional 3PM, the variable length channel code by the variable key code conversion method has the same d and k, and T It has the feature that W becomes wider by about 6.7%. Example 4 This example has d=2, k=7, N nio =3, M nio
= 2, N nax = 15, i nax = 5, T W = 2/3T0.67T, T nio = 4T/31.33T, T nax = 14/3T4.67T is obtained by variable key code conversion. It's a method.
The number of channel code words that can be used in this embodiment is 20 as shown in Table 6 (excluding back patterns). Table 6 also lists examples of data words corresponding to each channel code word. The suitability of these channel code words as variable-length channel code words was confirmed in the same manner as in Example 1, and the correspondence between data words and channel code words was also the same as in Example 1. can be obtained in the same way. In the case of this embodiment, there are 9-, 12-, and 15-bit unique communication channel code words other than those in Table 6.
There are six as shown in Table 7. However, these channel code words cannot be mixed with the channel code words in Table 5. This is clear from the following example.

【表】【table】

【表】【table】

【表】 第6表と第7表の通信路符号語を混用した場合
には、12ビツト以上の通信路符号語は不用とな
り、第7表のたとえばNo.1の通信路符号語にデー
タ語“111111”を対応させられる。しかしなが
ら、この場合には第6表No.3の通信路符号語と第
7表No.1の通信路符号語を接続すると下記のよう
に “111000000111”/No.7 その下線部に第6表のNo.7の通信路符号語現われ
てしまい、前記復調アルゴリズムにより、これは
復調誤りとなる。 以上の事は、6ビツト独自の通信路符号語に含
まれない“111111”又は、“000000”が9ビツト
の通信路符号語の前記L部及びR部のいずれにも
現われ得ることに原因がある。このような場合に
は、6ビツト連続する“1”又は“0”はL部又
はR部のいずれか一方にしか現われないような通
信路符号語を用いなければならない。第6表にお
いては、6ビツト連続する“1”又は“0”はR
部にのみ現われるような通信路符号語を用いてい
る。したがつ
[Table] When the channel code words in Tables 6 and 7 are used together, channel code words of 12 bits or more are unnecessary, and data words are used in the No. 1 channel code word in Table 7, for example. “111111” can be matched. However, in this case, if you connect the channel code word in Table 6 No. 3 and the channel code word in Table 7 No. 1, you will get "111000000111"/No. 7 as shown below. The channel code word No. 7 appears, and according to the demodulation algorithm, this becomes a demodulation error. The reason for the above is that "111111" or "000000", which is not included in the 6-bit unique channel codeword, can appear in both the L and R parts of the 9-bit channel codeword. be. In such a case, it is necessary to use a channel code word in which 6 consecutive bits of "1" or "0" appear only in either the L part or the R part. In Table 6, 6 consecutive bits of “1” or “0” are R
A channel code word that appears only in the first part is used. I want to

【表】 て、第8表に示すような、6ビツト連続する
“0”又は“1”をL部にのみ限定した通信路符
号語でも、第6表の場合と同じ効果が得られる。 上述のような、iNnioビツト連続する“1”又
は“0”が、iNnioビツト長独自の通信路符号語
には含まれないで、(i+1)Nnioビツト長独自
の通信路符号語のL部及びR部のいずれにも現わ
れるのは、先に述べた事から明らかなように、式
(3)が成り立ち、かつ、式(4)が成り立たない場合で
ある。 すなわち、iNnioが式(11)の範囲にある場合には、
(i+1)Nnioビツト以上の通信路符号語のL部
とR部の制約条件は、式(3)のかわりに式(12)又は式
(13)のいずれか一方となる。 k−2d+2<iNnio−d+1 …(11) d1liNnio−1,d−d1rk−d+
1 …(12) 又は d1lk−d+1,d−d1riNnio
1 …(13) 本実施例の場合、k−2d+2=5、k−d+
1=6、Nnio=3より、i=2で式(11)を満たし、
先の具体的な説明と一致する。 このようにして得られる本実施例の可変長符号
変換方法による通信路符号は、従来の2/3変換符
号に比べて、d及びTWは等しく、kを1だけ小
さくすることができ、2/3変換符号よりも高密度
記録及び高速伝送に適しており、その実用的効果
は大きい。 発明の効果 以上本発明の可変調符号変換方法は、通信路符
号語の左右両端における“0”及び“1”の連続
個数に制約を設け、ビツト長の異なる通信路符号
語の選択を適切に行うことにより、たとえば実施
例1〜4で示したように、従来のHDM−3に比
べて、TWが21%広く、Tnaxが15%小さい(5,
18)符号や、Tnaxが36%小さい(6,16)符号、
従来の3PMに比べTWが6.7%広い(3,12)符
号、及び従来の2/3変換符号に比べてkが1小さ
い(2,7)符号などを比較的簡単な回路構成に
より得ることができ、デイジタル画像伝送、磁気
記録、又はデイジタルオーデイオ記録への応用
等、その実用効果は非常に大きい。
[Table] Therefore, the same effect as shown in Table 6 can be obtained even with a channel code word in which 6 consecutive bits of "0" or "1" are limited only to the L part as shown in Table 8. As mentioned above, iN nio bits of consecutive "1" or "0" are not included in the channel code word unique to the iN nio bit length, but are included in the channel code word unique to the (i+1)N nio bit length. As is clear from the above, what appears in both the L part and the R part is the formula
This is a case where (3) holds true and equation (4) does not hold true. That is, if iN nio is within the range of formula (11),
The constraint condition for the L and R parts of a channel codeword of (i+1)N nio bits or more is either Equation (12) or Equation (13) instead of Equation (3). k−2d+2<iN nio −d+1 …(11) d 1 liN nio −1, d−d 1 rk−d+
1 ...(12) or d 1 lk-d+1, d-d 1 riN nio
1...(13) In the case of this example, k-2d+2=5, k-d+
1 = 6, N nio = 3, satisfying equation (11) with i = 2,
Consistent with the specific description above. Compared to the conventional 2/3 conversion code, the channel code obtained by the variable length code conversion method of this embodiment obtained in this way has d and T W equal, and k can be reduced by 1, and 2 It is more suitable for high-density recording and high-speed transmission than the /3 conversion code, and its practical effects are great. Effects of the Invention As described above, the variable key code conversion method of the present invention places constraints on the number of consecutive "0"s and "1"s at both the left and right ends of a channel codeword, and appropriately selects channel codewords with different bit lengths. For example, as shown in Examples 1 to 4, T W is 21% wider and T nax is 15% smaller (5,
18) code, T nax is 36% smaller (6,16) code,
A (3,12) code with T W 6.7% wider than the conventional 3PM and a (2,7) code with k smaller by 1 than the conventional 2/3 conversion code can be obtained with a relatively simple circuit configuration. It has great practical effects in applications such as digital image transmission, magnetic recording, and digital audio recording.

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

第1図a,bはiNnioビツトの通信路符号語の
パターンを示す図、第2図はすべてが“1”の通
信路符号語が存在するための条件を示す図、第3
図は通信路符号語の語境界の判別を説明する図、
第4図は本発明の可変調符号変換方法の実施例1
における変調回路のブロツク図、第5図は実施例
1における変調回路のタイムチヤート、第6図は
実施例1における復調回路のブロツク図である。 10,30…シフトレジスタ、11,31…コ
ントロールパルス発生回路、12,32…ラツチ
回路、13…符号変換回路、14,34…パラレ
ル−シリアル変換器、15…反転転制御回路、1
6…最終ビツト保持回路、17…排他的論理和ゲ
ート、33…符号逆変換回路。
Figures 1a and b are diagrams showing the pattern of the channel codeword of iN nio bits, Figure 2 is a diagram showing the conditions for the existence of a channel codeword with all "1"s, and Figure 3
The figure is a diagram explaining the determination of word boundaries of channel code words.
FIG. 4 is a first embodiment of the variable key code conversion method of the present invention.
FIG. 5 is a time chart of the modulation circuit in the first embodiment, and FIG. 6 is a block diagram of the demodulation circuit in the first embodiment. 10, 30... Shift register, 11, 31... Control pulse generation circuit, 12, 32... Latch circuit, 13... Code conversion circuit, 14, 34... Parallel-serial converter, 15... Inversion control circuit, 1
6... Final bit holding circuit, 17... Exclusive OR gate, 33... Sign inversion circuit.

Claims (1)

【特許請求の範囲】 1 データ語の最小ビツト数をMmin、符号語の
最小ビツト数をNminとし、2以上の整数iに対
してi・Mminビツトのデータ語をi・Nminビ
ツトの通信路符号語に変換する可変長符号変換方
法において、dを2以上の整数、kを前記dより
大きい整数、及びd1を前記d−1以下の正の整
数とし、i・Nminビツトにより得られる2・i.Nm
in個の通信路符号語の内、その始端部Lにおける
“1”の連続ビツト数1が前記d1以上前記k−d
+1以下であり、その終端部Rにおける“1”ま
たは“0”の連続ビツト数rが前記d−d1以上
前記k−d+1以下であり、前記Lと前記Rには
さまれた中間部分Bにおける“1”の連続ビツト
数と、“0”の連続ビツト数のいずれもが前記d
以上前記k以下である通信路符号語と、前記i・
Nmin+2・(d−1)≦kかつ前記i・Nmin≦
k−d+1が成り立つ場合のみ、i+Nminビツ
トのすべてが“1”の通信路符号語を含む通信路
符号語をCCOとし、このCCOとCCOのすべての
ビツトについて“1”を“0”に、“0”を“1”
に置き換えた裏パターンの符号語とを用い、
前記CCOおよびを同一の入力データ語に対
応させるとともに、同一2進値の連続ビツト数が
前記d以上前記k以下になる方の前記CCOまた
はを選択することを特徴とする可変長符号
変換方法。 2 通信路符号語CCO及びについて、lが
d−1以下であるかないかを表わす値Fと、rが
d−1以下であるかないかを表わす値Eと、通信
路符号語CCO又はに属する2つの通信路符
号語W1とW2を接続する場合における第1の通信
路符号語W1の最終ビツトLBとを用いて、第2の
通信路符号語W2を前記裏パターンにするかどう
かを選択することを特徴とする特許請求の範囲第
1項記載の可変長符号変換方法。 3 lがld−1のときF=“0”、ldのと
きF=“1”、かつrがrd−1のときE=
“0”、rdのときE=“1”とし、W2を裏パタ
ーンにする場合にはY=“1”、そうでないときは
Y=“0”となる値Yを、“+”を論理和、“・”
を論理積、“○+”を排他的論理和、“−”を否定す
るとき、Y=(LB+F)・{+(LB○+E)}の式
で与えることを特徴とする特許請求の範囲第2項
記載の可変長符号変換方法。 4 通信路符号語CCO及びに属する、
iNminビツトの通信路符号語のうちiNminビツト
より短い通信路符号語どうしの接続によつて生じ
るiNminビツトの通信路符号語をすべて削除した
結果得られる通信路符号語CC1及び1を用いる
ことを特徴とする特許請求の範囲第3項記載の可
変長符号変換方法。 5 dが3以上であることを特徴とする特許請求
の範囲第4項記載の可変長符号変換方法。 6 d′をd/2を越えない最大の整数とすると
き、d1=d′であることを特徴とする特許請求の範
囲第4項又は第5項記載の可変長符号変換方法。 7 dが奇数の場合において、d1がd及びd′を用
いてd1=d−d′であることを特徴とする特許請求
の範囲第4項又は第5項記載の可変長符号変換方
法。 8 d=5、k=18、Mmin=2、Nmin=5、
imax=6であることを特徴とする特許請求の範
囲第6項又は第7項記載の可変長符号変換方法。 9 d=6、k=16、Mmin=2、Nmin=6、
imax=4であることを特徴とする特許請求の範
囲第4項記載の可変長符号変換方法。 10 d=3、k=12、Mmin=8、Nmin=15、
imax=2であることを特徴とする特許請求の範
囲第4項又は第5項記載の可変長符号変換方法。 11 i Nminがk−2(d−1)<i Nmin
k−d+1なる範囲の値である場合において、
通信路符号語CC1及び1のうち、(i+1)
Nminビツト以上の通信路符号語については前記
l及びrが、d1lk−d+1かつd−d1
i Nmin−1又は d1lNmin−1かつd−d1rk−d+
1の2つの式で表わされる範囲のどちらか一方の
範囲にある通信路符号語を用いることを特徴とす
る特許請求の範囲第4項又は第5項記載の可変長
符号変換方法。 12 d1がd′に等しいことを特徴とする特許請求
の範囲第11項記載の可変長符号変換方法。 13 dが奇数の場合において、前記d1がdと
d′の差d1=d−d′であることを特徴とする特許請
求の範囲第11項記載の可変長符号変換方法。 14 d=2、k=7、Mmin=2、Nmin=3、
imax=5であることを特徴とする特許請求の範
囲第12項記載の可変長符号変換方法。
[Claims] 1. Let the minimum number of bits of a data word be Mmin, and the minimum number of bits of a code word be Nmin, and for an integer i of 2 or more, a data word of i·Mmin bits is a channel code of i·Nmin bits. In the variable-length code conversion method for converting into words, d is an integer of 2 or more, k is an integer larger than d, and d1 is a positive integer less than or equal to d-1, and 2· i obtained by i·Nmin bits. .Nm
Among the in channel codewords, the number of consecutive bits of "1" at the start end L is greater than or equal to the above k-d.
+1 or less, and the number r of consecutive bits of "1" or "0" at the terminal part R is greater than or equal to said d-d1 and less than said k-d+1, and in the middle part B sandwiched between said L and said R. Both the number of consecutive bits of “1” and the number of consecutive bits of “0” are
The communication channel code word which is above k or less, and the i.
Nmin+2・(d−1)≦k and the above i・Nmin≦
Only when k−d+1 holds true, the channel codeword containing the channel codeword in which all i+Nmin bits are “1” is set as CCO, and for this CCO and all bits of CCO, “1” is changed to “0”, and “ 0” to “1”
Using the code word of the back pattern replaced with
A variable-length code conversion method, characterized in that the CCO and correspond to the same input data word, and the CCO or the CCO whose number of consecutive bits of the same binary value is greater than or equal to the d and less than or equal to the k is selected. 2 For the channel code word CCO and, a value F representing whether l is less than or equal to d-1, a value E representing whether r is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1, and a value F representing whether or not l is less than or equal to d-1. Selecting whether or not to make the second channel code word W2 the back pattern using the last bit LB of the first channel code word W1 when connecting two channel code words W1 and W2. A variable length code conversion method according to claim 1, characterized in that: 3 When l is ld-1, F="0", when ld, F="1", and when r is rd-1, E=
“0”, when rd, E = “1”, if W2 is a back pattern, Y = “1”, otherwise Y = “0”, and “+” is logically summed. , “・”
Claim No. 1, characterized in that when ``○+'' is logical product, ``○+'' is exclusive OR, and ``-'' is negated, Y=(LB+F){+(LB○+E)}. 2. The variable length code conversion method according to item 2. 4 Belonging to the communication channel code word CCO and
It is characterized by using channel code words CC1 and 1 obtained by deleting all channel code words of iNmin bits that are generated by connecting channel code words shorter than iNmin bits among channel code words of iNmin bits. A variable length code conversion method according to claim 3. 5. The variable length code conversion method according to claim 4, wherein 5d is 3 or more. 6. The variable length code conversion method according to claim 4 or claim 5, wherein d 1 =d', where d' is the largest integer not exceeding d/2. 7. The variable length code conversion method according to claim 4 or 5, characterized in that when d is an odd number, d 1 is d and d', and d 1 = d - d'. . 8 d=5, k=18, Mmin=2, Nmin=5,
8. The variable length code conversion method according to claim 6 or 7, wherein imax=6. 9 d=6, k=16, Mmin=2, Nmin=6,
5. The variable length code conversion method according to claim 4, wherein imax=4. 10 d=3, k=12, Mmin=8, Nmin=15,
6. The variable length code conversion method according to claim 4 or 5, wherein imax=2. 11 i Nmin is k-2(d-1)<i Nmin
In the case of a value in the range k-d+1,
Among channel code words CC1 and 1, (i+1)
For channel codewords with Nmin bits or more, the above l and r are d 1 lk-d+1 and d-d 1 r
i Nmin-1 or d 1 lNmin-1 and d-d 1 rk-d+
6. The variable length code conversion method according to claim 4 or 5, characterized in that a channel code word in one of the ranges expressed by the two equations 1 is used. 12. The variable length code conversion method according to claim 11, wherein d 1 is equal to d'. 13 When d is an odd number, the above d 1 is equal to d
12. The variable length code conversion method according to claim 11, wherein the difference in d' is d 1 =d - d'. 14 d=2, k=7, Mmin=2, Nmin=3,
13. The variable length code conversion method according to claim 12, wherein imax=5.
JP21728583A 1983-11-17 1983-11-17 Converting method of variable length code Granted JPS60109359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21728583A JPS60109359A (en) 1983-11-17 1983-11-17 Converting method of variable length code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21728583A JPS60109359A (en) 1983-11-17 1983-11-17 Converting method of variable length code

Publications (2)

Publication Number Publication Date
JPS60109359A JPS60109359A (en) 1985-06-14
JPH0455012B2 true JPH0455012B2 (en) 1992-09-02

Family

ID=16701736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21728583A Granted JPS60109359A (en) 1983-11-17 1983-11-17 Converting method of variable length code

Country Status (1)

Country Link
JP (1) JPS60109359A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2684695B2 (en) * 1988-08-05 1997-12-03 キヤノン株式会社 Data recording device

Also Published As

Publication number Publication date
JPS60109359A (en) 1985-06-14

Similar Documents

Publication Publication Date Title
EP0162558B1 (en) Method and apparatus for generating a run length limited code
CA1213062A (en) Direction-constrained ternary codes using peak and polarity detection
US5047767A (en) Apparatus utilizing a four state encoder for encoding and decoding A sliding block (1,7) code
JPS6367268B2 (en)
US4882583A (en) Modified sliding block code for limiting error propagation
JPH0544206B2 (en)
KR920003508B1 (en) Method and apparatus for converting a digital signal
JPH036699B2 (en)
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
JPH0452020B2 (en)
KR950006085B1 (en) Code modulation system
US4502036A (en) Encoding and decoding systems for binary data
JPH0455012B2 (en)
KR20020011981A (en) Method and apparatus for coding information, method and apparatus for decoding coded information, method of fabricating a recording medium, the recording medium and modulated signal
JPH0480576B2 (en)
JP2636902B2 (en) 9/10 NRZI code conversion method
JP3038245B2 (en) Digital modulation method
JPH02119434A (en) Coding circuit and decoding circuit
JPS61227431A (en) Code converting device
JPH0534747B2 (en)
JPH0260323A (en) Information converting system
JPH0797751B2 (en) Sequential coding method
JP3018980B2 (en) Recording code converter
JPH0473339B2 (en)
JPS6098743A (en) Code converting method