JPS60246155A - Code converting method - Google Patents

Code converting method

Info

Publication number
JPS60246155A
JPS60246155A JP10213884A JP10213884A JPS60246155A JP S60246155 A JPS60246155 A JP S60246155A JP 10213884 A JP10213884 A JP 10213884A JP 10213884 A JP10213884 A JP 10213884A JP S60246155 A JPS60246155 A JP S60246155A
Authority
JP
Japan
Prior art keywords
code
bits
conversion
word
free
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
JP10213884A
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 JP10213884A priority Critical patent/JPS60246155A/en
Priority to DE8585302291T priority patent/DE3583819D1/en
Priority to EP85302291A priority patent/EP0162558B1/en
Priority to US06/719,629 priority patent/US4760378A/en
Publication of JPS60246155A publication Critical patent/JPS60246155A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/14Digital recording or reproducing using self-clocking codes
    • G11B20/1403Digital recording or reproducing using self-clocking codes characterised by the use of two levels
    • G11B20/1423Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
    • G11B20/1426Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof

Abstract

PURPOSE:To realize a code suitable for high-density recording with a simple circuit by applying 7/8 conversion to a high-order 7 bits of the 1st data word of 16 bits by two data works of 8 bits and applying 9/10 conversion to 9 bits by the 2nd data of 8 bits. CONSTITUTION:A code word transmitted from a ROM104 or 105 is fetched by a parallel/serial converter (P/S)108, converted into a bit string and transmitted to an exclusive OR109. On the other hand, an inverse control circuit 110 calculates a select code SC based on a DP and F of a code word transmitted from the ROM14 or 105, a value of an integration value DSV up to the final bit LB of a preceding code word stored in an inverse control circuit 110 and an output LB of a D flip-flop 111 storing the final bit of the preceding code word transmitted, transmits the result to an exclusive OR109 to decide whether the codo word is brought into a back pattern or not. Thus, the DSV is controlled for both the 7/8 and 9/10 conversion.

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 channel 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)最大連続ビット数に=“′0パ又は“1′′のい
ずれかが連続してあまり長く続きすぎると、クロック情
報を抽出することが困難になり、セルフクロック機能が
得られなくなるので、これを避けるために前記には小で
あることが望捷しい。
(1) If the maximum number of consecutive bits = ``'0'' or ``1'' continues for too long, it will be difficult to extract clock information and the self-clock function will not be obtained. , in order to avoid this, it is desirable that the above-mentioned size be small.

(2)最小連続ビット数d:磁気記録再生系が高周波数
成分を遮断する性質を有しているので、110I+と°
′1″の変化が頻繁に起るような通信路符号は適当では
ない。したがって、前記dに犬であることが望lしい。
(2) Minimum number of consecutive bits d: Since the magnetic recording and reproducing system has the property of blocking high frequency components, 110I+ and °
A channel code in which ``1'' changes frequently is not appropriate. Therefore, it is preferable that d be a dog.

(3)検出窓幅TW・再生信号のジッタや波形干渉によ
るピークシフト等の時間軸変動に対する位相方向余裕の
尺度であり、大きい方が望ましい。
(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.

(4)VTRのように通信路がロータリートランスによ
って結合されていて、直流成分が遮断されるような場合
には、通信路符号は直流成分を含1ないDCフリー符号
であることが望ましい。
(4) When the communication channels are connected by a rotary transformer such as in a VTR and the DC component is blocked, it is desirable that the channel code is a DC-free code that does not contain any DC component.

ところで、上記(1)(2)及び(4)の条件と(3)
の条件は相反するものである。なぜならば、(1)(2
)及び(4)の条件を満たすためには、Mビットよりな
るデータ語をMより大きいNビットの通信路符号語に符
号変換しなければならないが、TWはデータ語のピット
長をTとしたとき、Tw−M/N Tで与えられるので
、この場合TVは必ずTより小さくなるからである。し
たがって、DCフリー符号の使用が望壕れるような通信
路において、前記(1)(2+又は(3)のいずれを重
視するかということにより、使用する通信路符号が異な
る。一般的に、di大にするとTm1nは大になるが、
TVは小さくなる。
By the way, conditions (1), (2) and (4) above and (3)
The conditions are contradictory. Because (1) (2
) and (4), a data word consisting of M bits must be code-converted into a channel code word of N bits larger than M, but TW is defined as the pit length of the data word being T. This is because TV is always smaller than T in this case because it is given by Tw-M/NT. Therefore, in a communication channel where it is desirable to use a DC-free code, the channel code to be used differs depending on which of the above (1), (2+), or (3) is emphasized. If you increase it, Tm1n will increase, but
TVs are getting smaller.

従来、上記観点より種々のDCフリー符号が開発されて
おり、8/9変換符号(特開前5了−1了esee )
はその1つである。8/9変換符号は前記定義に従えば
、d==1.に=14.M=:8、N=9及びT。−8
/9Tなる特徴を有するDCフリー符号であり、T(1
,を重視し、でいる反面kが大きいという欠点がある。
Conventionally, various DC-free codes have been developed from the above point of view, including 8/9 conversion codes (Japanese Patent Application Laid-Open No. 5-1-1).
is one of them. According to the above definition, the 8/9 conversion code is d==1. ni=14. M=:8, N=9 and T. -8
It is a DC-free code with the feature of /9T, and T(1
, but has the disadvantage that k is large.

発明の目的 本発明の目的は、d、T、1″i、8/9変換符号と同
一に保ちなからki半分の7にすると共に、簡単で小さ
な回路規模で実現できるDCフリー符号を提供すること
である。
Purpose of the Invention The purpose of the present invention is to provide a DC-free code that maintains d, T, 1''i, and 8/9 conversion code the same, but reduces ki to 7 by half, and that can be realized easily and with a small circuit scale. That's true.

発明の構成 前記目的を達成するため、本発明は7/8変換DCフリ
一符号と9/10変換DCフリ一符号合併用することで
、等節約に16/18変換を行い、T(1) ’= 8
/9 T及びに=7のDCフリー符号を構成している。
Structure of the Invention In order to achieve the above object, the present invention performs 16/18 conversion with equal savings by combining a 7/8 converted DC free one code and a 9/10 converted DC free one code, and obtains T(1). '= 8
/9 T and =7 constitutes a DC free code.

7/8変換及び9/10変換の2つのDCフリー符号は
共に、d==1の場合の一般的なりCフリー符号の構成
方法により得られる。
Two DC free codes, 7/8 transform and 9/10 transform, are both obtained by a general method of constructing a DC free code when d==1.

次に、DCフリー符号であるための条件と、d=1の場
合のDCフリー符号の構成力法について説明する。1ず
、(1)DCフリー符号について、(I):符号語にお
ける“1′”にモ1を、′″○○パ1を割り当てて加算
したときの値をその符号語のディスパリティ−(以降D
Pと記す)と呼び、通信路符号語どうしの接続によって
得られるビット列において、ビット列の先頭から任意の
ビットまでの前記+1および−1の積分値をDSv(デ
ィジタル・サム・バリエーショ/)と呼ぶ。DSvが+
oOまたけ−(資)に発散することなく常に有限ならば
、その符号(−jDcフリー符号となる。
Next, the conditions for a DC-free code and the compositional strength method of a DC-free code in the case of d=1 will be explained. 1. (1) Regarding the DC free code, (I): The value obtained by assigning mo1 and ``○○pa1 to "1'" in the codeword and adding it is calculated as the disparity of the codeword - ( From then on D
In a bit string obtained by connecting channel codewords, the integral value of +1 and -1 from the beginning of the bit string to an arbitrary bit is called DSv (digital sum variation/). DSv is +
If the code is always finite without divergence across oO (-(equity)), then the code (-jDc) becomes a free code.

次に(n)DCフリー符号の構成法について、(II)
・符号語長が有限であるため、DPもやはり有限である
から、DSVの正負に応じて、DSVと逆極性のDPを
有する符号語を用いることによりnsvを有限に抑える
ことができる。また、kを所定の値に保つために次のよ
うな基準によって符号語を選択する。
Next, (n) Regarding the construction method of DC free codes, (II)
- Since the code word length is finite, the DP is also finite, so by using a code word having a DP of opposite polarity to the DSV, depending on the sign of the DSV, it is possible to suppress the nsv to a finite value. Further, in order to keep k at a predetermined value, code words are selected based on the following criteria.

(n−1):Xを1以上に一1以下の整数とするとき、
II 11+で始捷るNビットの符号語の左側りにおけ
る1′°の連続ビット数βが1以−ヒに以下であり、右
側Hにおける“O″または“1′°の連続ビット数r L(βビット) B(bビット) R(βビット)は1
以上に−x以下であり、かつb=N−1−βビットの中
間部分Bにおいては、1ビット以−)−にビット以下連
続する“0パと1゛が交互に現われるようなLとBとH
によって構成される符号語CCoとともに、CCOのす
べてのビットについて、II OI+と“1°゛、“1
″と°“o”を置き換えたCCoの裏パターンCCOを
選ぶ。
(n-1): When X is an integer greater than or equal to 1 and less than or equal to 1,
II The number β of consecutive bits of 1′° on the left side of the N-bit code word starting at 11+ is less than or equal to 1, and the number of consecutive bits of “O” or “1′°” r L on the right side H (β bit) B (b bit) R (β bit) is 1
In the middle part B of -x or less, and b = N-1-β bits, L and B are such that consecutive "0's and 1's appear alternately in 1 bit and below -) -" and H
For all bits of CCO, II OI+ and “1°゛,”1
Select the back pattern CCO of CCo in which "" and °"o" are replaced.

次に、このようにして選ばれた符号語とデータ語との対
応関係について述べる。
Next, the correspondence between code words and data words selected in this way will be described.

(II−2)・(■−1)で選ばれた符号語cco、c
coのうち、前記lがX以下の符号語において、前記デ
ィスパリティ−DP=Oなる符号語CWOに対しては、
それぞれに対して1語ずつのデータ語を対応させる。ま
た、CC0のうち、pがX以下であり、DP)oなる符
号語CW1はその裏パターンCW1とベアにし、それぞ
れのペアに対してデータ語を対応させる。
Code words cco, c selected in (II-2) and (■-1)
Among the codewords in which l is less than or equal to X, for the codeword CWO where the disparity -DP=O,
One data word is associated with each word. Further, among CC0, the code word CW1 where p is less than or equal to X and DP)o is made bare with its back pattern CW1, and data words are associated with each pair.

(It−3):符号語CCOのうち、前記lがX−1−
1以上の符号語において、DP=Oである符号語CW2
は、その裏パターンであるCN3とペアにし、それぞれ
のベアに対しデータ語を対応させる。
(It-3): Of the code word CCO, the above l is X-1-
Codeword CW2 where DP=O in one or more codewords
is paired with its back pattern CN3, and each bear is associated with a data word.

次に、上記(n−1)〜(II−3)で示した符号語と
データ語の対応関係により、k制限とnsv有限なる制
限を満たすことを示す。ただし、l、 =11 、 r
 =r1である第1符号語W1と4= 12 、 r 
= +2なる第2符号語W2を接続するものとする。な
お、以下ではWlの最終ビットをLBと呼ぶ。
Next, it will be shown that the correspondence between code words and data words shown in (n-1) to (II-3) above satisfies the k limit and the nsv limit. However, l, =11, r
= r1 and the first code word W1 and 4 = 12 , r
It is assumed that a second code word W2 of = +2 is connected. Note that the final bit of Wl will be referred to as LB below.

(al) W2=CWOのとき、そのま1接続する。(al) When W2=CWO, just connect 1.

CWoはDP=Oであるから、その−i−を接続しても
ID5VIが増加することはない。捷だ、rl の最大
値はに−x、Cwoのlの最大値はXであるから、接続
部における0゛捷たは“1パの連続ビット数がkを越え
ることはない。
Since CWo has DP=O, ID5VI will not increase even if its -i- is connected. Since the maximum value of rl is -x and the maximum value of l of Cwo is X, the number of consecutive bits of 0's or '1' at the connection will never exceed k.

(a2 )CWl 、CWlともに、そのlの最大値は
Xであるから、(al )と同様の理由でに制限を満た
す。したがって、1 nsv Iの増加を防ぐだけでよ
い。そこで、Wlの最終ビットまでのDSVに対し、C
WlのDPi正であるから、次のように接続則を定める
(a2) Since the maximum value of l for both CWl and CWl is X, the restriction is satisfied for the same reason as (al). Therefore, it is only necessary to prevent an increase of 1 nsv I. Therefore, for DSV up to the last bit of Wl, C
Since DPi of Wl is positive, the connection rule is determined as follows.

(&21) DSvきoのときW2=CW1(&22)
 DSvくoのとき!2=CW1(a3) CW2i4
DP=OであるからID5v1が増加することはない。
(&21) When DSvo is W2=CW1 (&22)
When DSvkuo! 2=CW1(a3) CW2i4
Since DP=O, ID5v1 does not increase.

したがって、k制限だけが問題と々る。そこで、次のよ
うに接続則を定める。
Therefore, only the k limit matters. Therefore, we define the connection rule as follows.

(&31) LBが+1”のときW2=CW2(13・
2) LBが”o”のときW2=CW2CW2の前記り
部はIt 11+であるから、k制限を満たすことは明
らかである。
(&31) When LB is +1”, W2=CW2(13・
2) When LB is "o", the overlap part of W2=CW2CW2 is It 11+, so it is clear that the k restriction is satisfied.

以上示した(If−1)〜(’1J−3)及び(al)
(2L3>で規定する符号変換方法により、d=1のに
制限されるDCフリー符号が得られる。
(If-1) to ('1J-3) and (al) shown above
(2L3>), a DC-free code limited to d=1 can be obtained.

第1表に、前記(&1)〜(&3)の接続則を示す。第
1表において、DSV’hOならげDV=“o” 、D
SV(oな+:)ばDV=”1” 、DP=0ならばP
1=“1′、DP〉OならばP 1 =”O°゛。
Table 1 shows the connection rules of (&1) to (&3) above. In Table 1, DSV'hO Narage DV="o", D
If SV (o na +:), DV = “1”, if DP = 0, P
If 1 = "1', DP〉O, then P 1 = "O°゛.

P2=“O”、DP(OならばP1=”o”。P2="O", DP (If O, P1="o".

P2−“1″なる値に定めてあり、PlはDPを表わす
全ビットの論理和の否定、P2はDPのすインヒツトを
用いる。LBijlつ前に送出された符号語の最終ビッ
トの値を表わす。
P2 is set to a value of "1", P1 is the negation of the logical sum of all bits representing DP, and P2 is the in-hit value of DP. It represents the value of the last bit of the code word sent out LBijl before.

又、Fば、符り1;5の先頭における1“又は′O°“
の連続ビット数が4以上のときF−“1゛°、3以下の
場合F−“°0゛となる値であり、セレクトコードSC
は符号語を裏パターンにするときは°゛1′:そのまま
のときは“O”とする値である。ただし、11 X I
I印は無関係な値を表わす。
Also, F, mark 1; 1" or 'O°" at the beginning of 5
When the number of consecutive bits is 4 or more, it is F-"1゛°, and when it is 3 or less, it is F-"°0゛, and the select code SC
is a value of °゛1' when the code word is made into a back pattern; and "O" when the code word is left as is. However, 11 X I
I marks represent irrelevant values.

第1表を論理式を用いて表わすと式(1)となる。When Table 1 is expressed using a logical formula, it becomes formula (1).

5C=F ・LB十P1・DV■P2−−−(1)第 
1 表 ただし、°“・パは論理積、−”は否定、十”は論理和
、“e゛は排他的論理和を表わす。
5C=F ・LB 10 P1 ・DV ■ P2---(1) No.
1 Table However, °"·pa represents logical product, -" represents negation, "10" represents logical sum, and "e" represents exclusive logical sum.

ところで、前記データ語と符す、;ハの対応関係から明
らかなように、DP=Oの符号語を有するNが偶数の場
合の方が、DP=Oの符号語を有さないNが奇数の場合
に比べて、前記符号語CCO及びCCOのうちデータ語
と1対1対応できる符号語数の割合が多い。従って、た
とえば、Mハ変換でNが奇数の場合、2 M/2 N変
換にすることでT、は一定であり、かつ、符号語長は2
N(偶数)となるので、M/N変換DCフリー符号に比
べて2 M/2 N変換DCフリー符号を小さなkで実
現できる。先に示したように、8/9変換でばkは14
であるが16/18変換ではkは13以下で可能である
。しかしながら、16/18変換では符号変換、逆変換
で使用するメモリー容量が大きくなる(実施例)。
By the way, as is clear from the correspondence between the data words and the data words, when N with a code word of DP=O is an even number, it is better to have N without a code word of DP=O with an odd number. Compared to the above case, the ratio of the number of code words that can have one-to-one correspondence with data words among the code words CCO and CCO is large. Therefore, for example, if N is an odd number in the M/2 N conversion, T is constant and the code word length is 2.
N (an even number), so a 2 M/2 N-converted DC-free code can be realized with a smaller k than an M/N-converted DC-free code. As shown earlier, in 8/9 conversion, k is 14
However, in 16/18 conversion, k can be 13 or less. However, in 16/18 conversion, the memory capacity used for code conversion and inverse conversion becomes large (example).

以上の理由から、前記Nが奇数の場合、符号語長が偶数
である複数のIllフリー符号を用いて、2 M/2 
N変換DCフリー符号を実現し、T、を等しく保ったま
捷、M/N変換DCフリー符号よりkを小さくし、かつ
、2M/2N変換DCフリー符号を単独で実現する場合
より、符号変換、逆変換に要するメモリー容量を減らす
ことが可能となる。
For the above reasons, when N is an odd number, using a plurality of Ill-free codes with an even code word length, 2 M/2
If we realize an N-transform DC-free code and keep T equal, we can make k smaller than the M/N-transform DC-free code, and the code conversion, It becomes possible to reduce the memory capacity required for inverse conversion.

本発明では、16/18変換DCフリ一符号を実現する
のに、7/8変換DCフリ一符号及び9/10変換DC
フリ一符号のいずれも符号語長が偶数の、2種類のDC
フリー符号を用いている。
In the present invention, in order to realize a 16/18 converted DC-free one code, a 7/8 converted DC-free one code and a 9/10 converted DC-free one code are used.
Two types of DC, both of which have an even code word length
Free codes are used.

ただし、°・″は論理積、パ−”′は否定、“■“は排
他的論理和、“′十″は論理和を表わす。
However, °·'' represents a logical product, par-'' represents a negation, "■" represents an exclusive OR, and "'0" represents a logical OR.

以上説明したDCフリー符号の構成方法に1(−6、N
=8を適用すると、第2表に示す132個の符号語を有
する7/8変換DCフリ一符号が得られ、同じく、k=
7.N=10を適用すると、第3表に示す644個の符
号語を有する9/1゜変換DCフリー符号が得られる。
1(-6, N
=8, we obtain a 7/8 converted DC free code with 132 codewords as shown in Table 2, and similarly, k=
7. Applying N=10 results in a 9/1° transformed DC-free code with 644 codewords as shown in Table 3.

ただし、第2表。However, Table 2.

第3表におけるFは第1表のFと同じである。F in Table 3 is the same as F in Table 1.

なお、第2表、第3表共前記X=3としているが、d=
1.に=eの7/8変換DCiフリ一符号MX%3では
できない。d=1.に−=7fの7/8変換DCフリ一
符号及びd=1.に=7の9/10変換DCフリ一符号
はx−3又はX=4で得られるが、7個連続する1″及
びO”の出現確率が小さい方が、クロック再生には有利
である。従って、第2表及び第3表の符号を用いる。
Note that in both Tables 2 and 3, X=3, but d=
1. = e's 7/8 conversion DCi free code MX%3 cannot do this. d=1. -=7f 7/8 converted DC free code and d=1. A 9/10 converted DC free code with 7 = 7 can be obtained with x-3 or x = 4, but it is more advantageous for clock recovery if the probability of appearance of 7 consecutive 1'' and 0'' is smaller. Therefore, the codes in Tables 2 and 3 are used.

第 2 表 第 3 表 次に、本発明を実施例を用いて具体的に説明する0 実施例の説明 本実施例においては16ビノトのデータ語を7ビノトと
9ビツトに分割し、7/8変換、9/MO変換を同時に
行い、変換された結果の18ビツトを記録レート/r 
(= % f d 、fd :データレート)で記録す
る。
Table 2 Table 3 Next, the present invention will be specifically explained using an example.0 Explanation of the Example In this example, a 16 bit data word is divided into 7 bits and 9 bits, and 7/8 Conversion and 9/MO conversion are performed at the same time, and the 18 bits of the converted result are recorded at the recording rate/r.
(=% f d , fd: data rate).

第1図に本発明の方法を実施するため符号変換回路の一
実施例を示す。以下、本発明を第1図を用いて詳細に説
明する。
FIG. 1 shows an embodiment of a code conversion circuit for carrying out the method of the present invention. Hereinafter, the present invention will be explained in detail using FIG. 1.

通常の映像信号をテイジタル処理する場合、映像信号は
8ビツトに量子化される。この量子化された映像信号は
第1図のパラレル−シリアル変換器(P/5)101に
取り込捷れる。・くラレルーシリアル変換器101から
送られて来るビット列はシリアル−パラレル変換器(S
/P)102で16ビノトのパラレルデータにまとめら
れる。この16ビノトは8ビツトの映像信号2ワードよ
り成る。
When digitally processing a normal video signal, the video signal is quantized to 8 bits. This quantized video signal is taken into the parallel-to-serial converter (P/5) 101 shown in FIG.・The bit string sent from the Kurareru serial converter 101 is sent to the serial-parallel converter (S
/P) 102, it is summarized into 16 binoto parallel data. These 16 bits consist of two words of an 8-bit video signal.

前記16ビノトはDフリップフロップ103に取り込ま
れ、その出力の上位7ピツトはROM(Read 0n
ly Memory)1o 4のアドレス入力端子に加
えられ、一方下位9ピノ)fiROM105のアドレス
入力端子に加えられる。つまり、2ワードの映像信号の
うち、第1ワードの上位7ビノトと、第1ワードの最下
位ビット+第2ワード全部の9ビツトに分ける。
The 16 bits are taken into the D flip-flop 103, and the top 7 bits of the output are stored in the ROM (Read 0n).
It is applied to the address input terminal of ly Memory) 1o 4, and on the other hand, it is applied to the address input terminal of fiROM 105 of the lower 9 pins. That is, the two-word video signal is divided into the upper seven bits of the first word and the least significant bit of the first word plus the entire second word, which is the total nine bits.

ROM104では前記7ビノトのデータ語に対応する8
ヒツトの符号語と、そのデイスノζリテイーを示す3ビ
ツト及び前記Fを示す1ヒ諏トの計12ピノ)k送出し
、ROM106では前記9ビツトのデータ語に対応する
10ヒツトの符号語と、そのデイスパリティーヲ表わす
3ビツト及び前記Fを示す1ビットの計14ピットを送
出する。
In the ROM 104, 8 bits corresponding to the 7 binoto data words are stored in the ROM 104.
The ROM 106 sends out the 10-bit code word corresponding to the 9-bit data word, 3 bits indicating its data value, and 1 bit indicating the above-mentioned F, for a total of 12 bits. A total of 14 pits, including 3 bits representing the disparity and 1 bit representing the F, are transmitted.

なお、9/1o変換については第3表におけるIDPl
、<4なる符号語のみを用いる。第2表ではすべての符
号語は1DP144であり、従って、DP=O,±2.
±4となるから、DPを3ビツトで表わせる。すなわち
、DP=O:“o o o ”。
Regarding 9/1o conversion, IDPl in Table 3
, <4 are used. In Table 2 all codewords are 1DP144, so DP=O, ±2.
Since it is ±4, DP can be expressed with 3 bits. That is, DP=O: "o o o".

DP=2: “001 ” 、DP=−2: ”111
 ”。
DP=2: “001”, DP=-2: “111”
”.

DP=4:’″C)10” 、 DPニー4 : “1
1o”である。
DP=4:'″C)10”, DP Knee 4: “1
1o".

切り換え制御回路106はROM104とROM105
の出力のどちらを送出するかを制御するだめのものであ
り、切り換えのだめの制御信号は86M104のチップ
セレクト端子に直接接続され、86M105にはインバ
ータ1071に介してチップセレクト端子に接続される
The switching control circuit 106 includes ROM104 and ROM105.
The switching control signal is directly connected to the chip select terminal of 86M104, and connected to the chip select terminal of 86M105 via an inverter 1071.

こうすることにより、7/8変換された符号語と9/1
0変換された符号語を交互に送出することかできる。
By doing this, the 7/8 converted code word and the 9/1
The zero-converted code words can be sent out alternately.

1’10M104又はROM105から送出されて来る
符号語は、パラレル−シリアル変換器(P/5)108
に取り込まれ、ビット列に変換されて排他的論理和10
9に送られる。
The code word sent from 1'10M 104 or ROM 105 is sent to parallel-serial converter (P/5) 108.
is taken in, converted to a bit string and exclusive ORed with 10
Sent to 9th.

一方、ROM104又は105から送られて来る符号語
のDP及びF、及び、反転制御回路110に保持されて
いる1つ前の符号語の最終ビット」までのDSVの値と
、1つ前に送出された符号語の最終ビットを保持するD
フリップフロップ111の出力LBを基にして、セレク
トコードSCを反転制御回路110U計算する。この後
、セレクトコードSCは排他的論理和109へ送られ、
符号語を裏パターンにするか否かを決定する。こうする
ことで、DSvの制御は了/8変換及び9/10変換の
いずれにも行える。
On the other hand, the DP and F of the code word sent from the ROM 104 or 105, the DSV value up to the last bit of the previous code word held in the inversion control circuit 110, and the value of the DSV sent from the previous code word. D that holds the last bit of the codeword
Based on the output LB of the flip-flop 111, a select code SC is calculated by the inversion control circuit 110U. After this, the select code SC is sent to the exclusive OR 109,
Determine whether or not to make the code word a back pattern. By doing so, the DSv can be controlled for both 9/8 conversion and 9/10 conversion.

以上述べたように、本発明は極めて簡単な回路構成によ
り実現できることがわかる。
As described above, it can be seen that the present invention can be realized with an extremely simple circuit configuration.

更に、上記実施例においてfiF−“1′°の符号語を
用いたが、F−“1°°かつDP=Oの符号語を用いな
くとも、符号の特性が通信路の特性に合致するような場
合には、F −” 1 ”かつDP−0の符号語を除外
することができる。このような場合にも、第2表におけ
る符号語132、第3表における符号語は520であり
、7/8変換。
Furthermore, although the code word of fiF-"1'° was used in the above embodiment, it is possible to make the characteristics of the code match the characteristics of the communication channel without using the code word of F-"1° and DP=O. In this case, the codewords F − “1” and DP-0 can be excluded. In this case as well, the code word in Table 2 is 132, the code word in Table 3 is 520, and 7/8 conversion is performed.

9/1o変換共可能である。Both 9/1o conversion is possible.

F = ” 1”′かつDP=Oの符号語を除く場合、
ROM104の出力は11ビツト、ROM106の出力
は13ビツトになり、Dフリノプフロノプ111は不必
要になる。又、セレクトコードを与える式(1)は式(
2)のように寿る。
When excluding codewords with F = “1”’ and DP=O,
The output of the ROM 104 is 11 bits, and the output of the ROM 106 is 13 bits, making the D flip-flop 111 unnecessary. Also, the formula (1) giving the select code is the formula (
2) Live a long life.

5C=P1 Dv■P2 −(2) このように、符号変換回路は更に簡単な構成になる。5C=P1 Dv■P2 −(2) In this way, the code conversion circuit has a simpler configuration.

本発明の符号変換回路に必要(符号語のみ)なメモリー
容量i278+2910=6にビットであり、16/1
8変換を1つのDCフリー符号で実現する場合に必要な
メモリー容量216・1B〉1Mビットに比べて−i7
にできる。
The memory capacity required (code word only) for the code conversion circuit of the present invention is i278+2910=6 bits, and 16/1
When realizing 8 conversions with one DC free code, the memory capacity required is 216・1B> -i7 compared to 1M bit
Can be done.

次に、第2図に本発明の符号逆変換回路の一例を示す。Next, FIG. 2 shows an example of the code inversion circuit of the present invention.

通信路から送られて来る符号語は、シリアル−パラレル
変換器(S/P)201及びDフリップフロップ202
で18ビツト(2ワード=8ビツト/ワード+10ビツ
ト/ワード)のパラレル信号にまとめられ、前記8ビツ
トばROM203、前記1oピノ)iJROM204の
入力端子に各々加えられるのROM203では8/了変
換、ROM204では1o/9変換が行われ、入力符号
に対応するデータ語が各々復号される。
The code word sent from the communication path is sent to a serial-to-parallel converter (S/P) 201 and a D flip-flop 202.
The 8-bit signals are combined into an 18-bit (2 words = 8 bits/word + 10 bits/word) parallel signal, and the 8-bit signals are applied to the input terminals of the ROM 203 and the 1O pin/iJROM 204, respectively. Then, a 1o/9 conversion is performed, and each data word corresponding to the input code is decoded.

この後、ROM203の7ビノトとROM204の上位
1ビツトはDフリップフロップ205に、ROM204
の残りの8ビツトはDフリップフロップ206に取り込
まれる。つ捷り、Dフリップフロップ205には符号変
換時の第1ワードが、Dフリップフロップ206には同
じく第2ワードが取り込まれる。
After this, the 7 bits of ROM 203 and the upper 1 bit of ROM 204 are transferred to the D flip-flop 205.
The remaining 8 bits are taken into D flip-flop 206. The D flip-flop 205 receives the first word during code conversion, and the D flip-flop 206 receives the second word.

このようにして復号されたデータ語を、順番に外部回路
へ送出するための制御を行うのが、出力切り換え回路2
07であり、その出力[Dフリップフロップ205の出
力コントロール端子に直接接続し、一方、インバータ2
08 ’、f:通してDフリップフロップ206の出力
コントロール端子に接続される。
The output switching circuit 2 controls the data words decoded in this way to be sequentially sent to the external circuit.
07, and its output [D is connected directly to the output control terminal of the flip-flop 205, while the inverter 2
08', f: Connected to the output control terminal of the D flip-flop 206 through.

以上示したように、本発明の符号逆変換回路は極めて簡
単な回路構成により実現できる。
As shown above, the code inversion circuit of the present invention can be realized with an extremely simple circuit configuration.

又、本発明の符号逆変換回路に必要なROMのメモリー
容量は2 ・9+27上10.8にビットであり、16
/18変換DCフリ一符号を1つの符号で行う場合の、
符号逆変換回路のROMに必要なメモリー容量2181
6−4Mビットに比べて、約1/400にすることがで
きる。
Furthermore, the memory capacity of the ROM required for the code inversion circuit of the present invention is 2.9+27+10.8 bits, which is 16 bits.
/18 conversion DC free one code in one code,
Memory capacity required for ROM of sign inversion circuit: 2181
It can be reduced to about 1/400 compared to 6-4 Mbits.

更に本発明は、データ語2ワードを、第1ワードの上位
7ビノトと、第1ワードの最下位ビットと第2ワード全
部の9ビツトに分けて、各々に符号変換するため、通信
路における1ビツトエラーによる他の符号語への誤り波
及は、高々第1ワードの最下位ビットのみであるから、
誤り波及の両生画質に及ぼす影響は無視できる。
Furthermore, the present invention divides two data words into the upper 7 bits of the first word, the least significant bit of the first word, and the entire 9 bits of the second word, and converts the codes into each. Since the bit error spreads to other codewords only in the least significant bit of the first word,
The effect of error propagation on the quality of both images is negligible.

発明の効果 以上示したように、本発明の符号変換方法によジ、d:
1 、に=y及びDCフリー(IDPIイ4)なる性質
を有する。DVTHのような高密度記録に適した符号を
、極めて簡単な回路構成により実現できると共に、使用
するROMの容量を大幅に減少でき、しかも誤り波及の
影響を無視できるようになった。
Effects of the Invention As shown above, the code conversion method of the present invention has the following effects:
1, has the properties of y and DC free (IDPI i4). A code suitable for high-density recording such as DVTH can be realized with an extremely simple circuit configuration, the capacity of the ROM used can be significantly reduced, and the influence of error propagation can be ignored.

このような性質含有する本発明の符号変換方法には大き
な実用性がある。
The code conversion method of the present invention having such properties has great practical utility.

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

第1図は本発明方法を実施するだめの符号変換回路の一
実施例のブロック図、第2図は同符号逆変換回路のブロ
ック図である。
FIG. 1 is a block diagram of an embodiment of a code conversion circuit for implementing the method of the present invention, and FIG. 2 is a block diagram of an inverse code conversion circuit.

Claims (1)

【特許請求の範囲】 (1)正の整数iに対して、Miビットのデータ語をM
iより犬なるN1ビットの符号語に変換し、2進値゛1
″の連続ビット数及び2進値゛OI+の連続ビット数が
共にd以上に以下にするMi7Ni変換符号において、
2以上の正の整数コと1以符号を構成することを特徴と
する符号変換方法。 (2)i、jに対して、符号語長Niが偶数であること
を特徴とする特許請求の範囲第1項記載の符号変換方法
。 (3)i、jに対して、0個のMi/Ni変換符号がす
べてDCフリー符号であり、M/N変換符号もDCフリ
ー符号となることを特徴とする特許請求の範囲第2項記
載の符号変換方法。 (4) M/N変換符号をDCフリー符号にするだめの
制御を1,3に対してコ個のMi/Ni変換符号単位で
行うことを特徴とする特許請求の範囲第3項記載の符号
変換方法。 (5) コ =2 、d:1 、M、、=7 、Nl:
8 、M2=9及びN2−10であることを特徴とする
特許請求の範囲第4項記載の符号変換方法。 (6)8ビツトよりなるデータ語2語による1eビツト
のうち、第1のデータ語の上位7ビノトを7/8変換し
、第1のデータ語の最下位ビットと第2のデータ語8ビ
ツトによる9ビツトを9/10変換することを特徴とす
る特許請求の範囲第5項記載の符号変換方法。 (7) d=1 、に−yであることを特徴とする特許
請求の範囲第5項又は第6項記載の符号変換方法。 (a) M、/N、=7/8変換符号がd=1.に=6
のDCフリー符号であることを特徴とする特許請求の範
囲第7項記載の符号変換方法。 (9)符号語における1°“と”○″の個数の差で定義
するディスバリティーDPが、IDP1z4なる範囲に
あることを特徴とする特許請求の範囲第7項又は第8項
記載の符号変換方法。 (1o)符号語の先頭における同一2進値の最大連続ビ
ット数が3であることを特徴とする特許請求の範囲第7
項、第8項又は第9項記載の符号変換方法。
[Claims] (1) For a positive integer i, a data word of Mi bits is defined as M
Convert to a code word of N1 bits which is more dog than i, and get the binary value ゛1
In the Mi7Ni conversion code in which the number of consecutive bits of `` and the number of consecutive bits of the binary value ``OI+ are both greater than or equal to d,
A code conversion method characterized in that a positive integer code of 2 or more and a code of 1 or more are constructed. (2) The code conversion method according to claim 1, wherein the code word length Ni is an even number with respect to i and j. (3) For i and j, all 0 Mi/Ni conversion codes are DC free codes, and the M/N conversion codes are also DC free codes. code conversion method. (4) The code according to claim 3, wherein the control for converting the M/N conversion code into a DC free code is performed in units of Mi/Ni conversion codes for 1 and 3. Conversion method. (5) Ko = 2, d: 1, M, , = 7, Nl:
8, M2=9 and N2-10, the code conversion method according to claim 4. (6) Of the 1e bits of two 8-bit data words, the upper 7 bits of the first data word are converted to 7/8, and the least significant bit of the first data word and the 8 bits of the second data word are converted to 7/8. 6. The code conversion method according to claim 5, wherein 9 bits are converted to 9/10 according to the method. (7) The code conversion method according to claim 5 or 6, characterized in that d=1 and -y. (a) M,/N,=7/8 conversion code is d=1. ni = 6
8. The code conversion method according to claim 7, wherein the code conversion method is a DC free code. (9) The code according to claim 7 or 8, wherein the disparity DP defined by the difference between the number of 1° and “○” in the code word is in the range of IDP1z4. Conversion method. (1o) Claim 7, characterized in that the maximum number of consecutive bits of the same binary value at the beginning of a code word is 3.
9. Code conversion method according to item 8 or 9.
JP10213884A 1984-05-21 1984-05-21 Code converting method Pending JPS60246155A (en)

Priority Applications (4)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10213884A JPS60246155A (en) 1984-05-21 1984-05-21 Code converting method

Publications (1)

Publication Number Publication Date
JPS60246155A true JPS60246155A (en) 1985-12-05

Family

ID=14319404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10213884A Pending JPS60246155A (en) 1984-05-21 1984-05-21 Code converting method

Country Status (1)

Country Link
JP (1) JPS60246155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62196924A (en) * 1986-02-25 1987-08-31 Nec Corp Code conversion system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62196924A (en) * 1986-02-25 1987-08-31 Nec Corp Code conversion system

Similar Documents

Publication Publication Date Title
US4760378A (en) Method and apparatus for converting a run length limited code
US4728929A (en) Method and apparatus for encoding binary data
KR960004577B1 (en) Encoding apparatus for digital signal with improved block channel coding
US4882583A (en) Modified sliding block code for limiting error propagation
KR100488634B1 (en) How to convert a sequence of m-bit information words into a modulated signal, How to manufacture a record carrier, Encoder, device, recorder, signal, and record carrier
JPS6318821A (en) Encoder
JPH05274812A (en) Recording carrier
JPH0544206B2 (en)
JPH0449304B2 (en)
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
US4496934A (en) Encoding and decoding systems for binary data
KR950006085B1 (en) Code modulation system
US4502036A (en) Encoding and decoding systems for binary data
US6597297B1 (en) Encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versea, such that the conversion is party inverting
US6710724B2 (en) Device for encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa
JPS60246155A (en) Code converting method
TWI268047B (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
JPH06326612A (en) Coding method for dc free channel code
JPS62274948A (en) Frame synchronizing system
JP4095440B2 (en) Apparatus and method for encoding information, apparatus and method for decoding the encoded information, modulation signal, and recording medium manufacturing method
JP2794719B2 (en) Code conversion device
JPH0455011B2 (en)
JPS63204822A (en) Code converter
JPS61227430A (en) Code converting device
JPS61227431A (en) Code converting device