JPS63229921A - Code converter - Google Patents

Code converter

Info

Publication number
JPS63229921A
JPS63229921A JP6454387A JP6454387A JPS63229921A JP S63229921 A JPS63229921 A JP S63229921A JP 6454387 A JP6454387 A JP 6454387A JP 6454387 A JP6454387 A JP 6454387A JP S63229921 A JPS63229921 A JP S63229921A
Authority
JP
Japan
Prior art keywords
code word
output
code
bit
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6454387A
Other languages
Japanese (ja)
Inventor
Akira Iketani
池谷 章
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 JP6454387A priority Critical patent/JPS63229921A/en
Priority to US07/073,443 priority patent/US4833470A/en
Publication of JPS63229921A publication Critical patent/JPS63229921A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent an error from being expanded by realizing a means controlling either or both of a preceding code word and a succeeding code word so as to increase the number of code words constituting an RLL code. CONSTITUTION:An output of a data word holding circuit 1 is given to code word generating circuits 2, 3. Holding circuits 4, 5 hold the parameter relating to the block of the preceding code word. An inversion control signal generating circuit 6 generates a value controlling whether or not a code word is taken as an inverted pattern. The code word is fed to 9-bit delay circuits 9, 10 via inversion control circuits 7, 8 and the value of the head bit is stored in a storage circuit 11. A selection circuit 13 selects the output of the 9-bit delay circuits 9, 10 and sends it.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル信号の記録に用いて好適なるラン
レングスリミテッド(Run LengthLimit
ed)符号を実現するための符号変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a run length limited device suitable for use in recording digital signals.
ed) relates to a code conversion device for realizing a code.

従来の技術 磁気テープやディスクなどにディジタルデータを高密度
に記録する場合、通常、ランレングスリミテッド符号(
以下、RLL符号と記す)を用いる。RLL符号とはm
ビットのデータ語をnビットの符号語に変換し、変換後
のnビットの符号語どうしを接続した結果得られるビッ
ト列における同一2進値の連続ビット数を、d以上に以
下に制限する符号を言う。
Conventional technology When recording digital data at high density on magnetic tape or disk, run-length limited codes (
(hereinafter referred to as RLL code) is used. What is RLL code?
A code that limits the number of consecutive bits of the same binary value in a bit string obtained by converting a bit data word to an n-bit code word and connecting the converted n-bit code words to a value greater than or equal to d and less than or equal to d. To tell.

データ語の1ピット長をTとすると、高密度記録に適し
たRLL符号に望まれる条件として次の3点が知られて
いる。
Assuming that the length of one pit of a data word is T, the following three points are known as desired conditions for an RLL code suitable for high-density recording.

(1)検出窓幅Tw(=m/n−T)が大であること(
2)最小反転間隔Tm in (=d−Tw )が大で
あること (3)最大連続ピット数kが小であること検出窓幅Tw
が大である程、再生過程でのンツタやピークシフトなど
の時間軸変動の復号誤り率に対する影響が小さく、最小
反転間隔Tm1nが大である程、記録・再生系の高周波
数成分遮断特性の影響を受けにくく、最大連続ビット数
kが小である程、再生信号からクロック情報を抽出する
セルフクロック機能が得易い。
(1) The detection window width Tw (=m/n-T) is large (
2) The minimum inversion interval Tmin (=d-Tw) is large. (3) The maximum number of consecutive pits k is small. Detection window width Tw
The larger Tm1n is, the smaller the influence of time axis fluctuations such as peak shifts and peak shifts during the reproduction process on the decoding error rate, and the larger the minimum inversion interval Tm1n is, the smaller the influence of high frequency component cutoff characteristics of the recording/reproducing system. The smaller the maximum number of consecutive bits k is, the easier it is to obtain a self-clock function for extracting clock information from the reproduced signal.

従来、上記観点から種々のRLL符号が開発されており
、2/3変換変換上Franaszek et al、
Conventionally, various RLL codes have been developed from the above viewpoint, and Franaszek et al.
.

USP 3,889,899 )もその一つである62
/3変換符号は前記定義に従えば、d=2 、 k=9
 。
USP 3,889,899) is one of them62
According to the above definition, the /3 conversion code is d=2, k=9
.

Tw= 0.667Tであり、2ビットのデータ語を3
ビットの符号語に変換する場合と、4ビットのデータ語
をθビットの符号語に変換する場合を切り換える可変長
のRLL符号である。
Tw = 0.667T, and a 2-bit data word is
This is a variable length RLL code that switches between converting into a bit code word and converting a 4-bit data word into a θ-bit code word.

発明が解決しようとする問題点 前記2/3変換変換上、前記(1)〜(3)の条件を良
く満たしている優れたRLL符号であるが、2/3変換
と44変換を併用している。このため、例えば5ビット
で表わされるディジタルデータの符号変換に際しては、
データ語の区切が5ビット1語のデータの2語にまたが
ることがある。このような場合には、復号時における符
号語1語の誤りが5ビットのデータの2語に伝搬(拡大
)する。
Problems to be Solved by the Invention Although it is an excellent RLL code that satisfies the conditions (1) to (3) above in terms of the 2/3 conversion and the 44 conversion, There is. For this reason, when converting the code of digital data represented by 5 bits, for example,
A data word break may span two words of 5-bit, one-word data. In such a case, an error in one code word during decoding propagates (expands) to two words of 5-bit data.

高密度記録を行っても復号誤り率を劣化させないことを
目的としてRLL符号を用いるにもかかわらず、前記2
//3変換符号が可変長のRLL符号であるために、か
えって復号誤シを拡大してしまう。これは解決しなけれ
ばならない重大な問題である。
Although RLL codes are used for the purpose of not deteriorating the decoding error rate even when performing high-density recording,
//3 Since the conversion code is a variable length RLL code, decoding errors will be increased. This is a serious problem that must be resolved.

本発明の目的は、前記従来例の問題点を解消し、しかも
前記従来例と等しいd (= 2 ) 、 Tw(=0
.667T)を有する固定長のRLL符号を実現する符
号変換装置を提供することである。
An object of the present invention is to solve the problems of the conventional example, and to achieve d (= 2) and Tw (=0
.. An object of the present invention is to provide a code conversion device that realizes a fixed-length RLL code having a fixed-length RLL code (667T).

問題点を解決するための手段 本発明は、5ビットのデータ語を9ビットの符号語に変
換する符号変換装置であって、前記5ビットのデータ語
入力に対する符号変換出力の符号語どうしを接続して得
るピット列において、同一2進値の連続ビット数を2以
上に制限するために、前記5ビットのデータ語入力に対
して9ビットの符号語を生成する第1の符号語生成手段
と、直前の符号語に関する情報と前記第1の符号語生成
手段の出力の符号語に関する情報に基づいて、前記第1
の符号語生成手段の出力を反転させるか否かを制御する
ための制御信号を生成する反転制御信号生成手段と、前
記反転制御信号生成手段の出力に基づいて前記第1の符
号語生成手段の出力の符号語に関して反転・不反転を制
御する第1の反転制御手段と、前記第1の反転制御手段
の出力を遅延させる第1の遅延手段と、前記5ビットの
データ語入力に対して9ビットの符号語を生成する第2
の符号語生成手段と、前記反転制御信号生成手段の出力
に基づいて前記第2の符号語生成手段の出力の符号語に
関して反転・不反転を制御する第2の反転制御手段と、
前記第2の反転制御手段の出力を遅延させる第2の遅延
手段と、前記第1の遅延手段の出力の符号語に関する情
報と前記第1の符号語生成手段の出力の符号語に関する
情報に基づいて、前記第1の遅延手段の出力の符号語と
前記第2の遅延手段の出力の符号語を選択するための信
号を生成する選択信号生成手段と、前記選択信号生成手
段の出力に基づいて前記第1の遅延手段の出力の符号語
と前記第2の遅延手段の出力の符号語を選択する選択手
段と、前記9ビットの符号語を5ビットの符号語と4ビ
ットの符号語に分割する符号語分割手段と、前記符号語
分割手段で分割された5ビットの符号語を識別するため
の4ビットを生成する仮復号手段と、前記仮復号手段の
出力4ビットと前記符号語分割手段の出力の4ビットの
符号語の合計8ビットを入力とし、前記符号語分割手段
の入力である9ビットの符号語に対応する5ビットのデ
ータ語を復号する最終復号手段を備えた符号変換装置で
ある。
Means for Solving the Problems The present invention is a code conversion device that converts a 5-bit data word into a 9-bit code word, and the code words of the code conversion output for the 5-bit data word input are connected to each other. a first code word generating means for generating a 9-bit code word for the 5-bit data word input in order to limit the number of consecutive bits of the same binary value to 2 or more in the pit string obtained by the process; , based on information regarding the immediately preceding codeword and information regarding the output codeword of the first codeword generating means, the first
an inversion control signal generation means for generating a control signal for controlling whether or not to invert the output of the first codeword generation means; a first inversion control means for controlling inversion/non-inversion with respect to the output code word; a first delay means for delaying the output of the first inversion control means; the second to generate a codeword of bits;
a second inversion control means for controlling inversion/non-inversion of the code word output from the second code word generation means based on the output of the inversion control signal generation means;
a second delay means for delaying the output of the second inversion control means; information regarding the code word of the output of the first delay means; and information regarding the code word of the output of the first code word generation means. a selection signal generation means for generating a signal for selecting a code word output from the first delay means and a code word output from the second delay means, based on the output of the selection signal generation means; selection means for selecting a code word output from the first delay means and a code word output from the second delay means; and dividing the 9-bit code word into a 5-bit code word and a 4-bit code word. a temporary decoding means for generating 4 bits for identifying the 5-bit code word divided by the code word dividing means; and 4 bits output from the temporary decoding means and the code word dividing means. A code converting device comprising a final decoding means for inputting a total of 8 bits of the 4-bit code word output from the code word dividing means and decoding a 5-bit data word corresponding to the 9-bit code word input to the code word dividing means. It is.

作  用 本発明は、先行する符号語W1と、Wlに続く符号語W
2のいずれか一方、または、両方を制御する手段を実現
している。この結果、RLL符号を構成する符号語数が
従来よシも増加し、従来不可能であった5ビットのデー
タ語を9ビットの符号語に直接変換して、d=2なる制
限を満たすRLL符号が得られ(Tw=0,667T)
、誤りの拡大を無くしている。
Function The present invention provides a code word W1 that precedes and a code word W that follows Wl.
2, or both. As a result, the number of code words constituting an RLL code has increased compared to before, and it is possible to directly convert a 5-bit data word into a 9-bit code word, which was previously impossible, to create an RLL code that satisfies the restriction of d = 2. is obtained (Tw=0,667T)
, eliminating error expansion.

実施例 次に、k=12を一例として本発明の詳細な説明する。Example Next, the present invention will be described in detail using k=12 as an example.

なお、k=12は従来の2/3変換符号のに=sよυ大
であるが、十分セルフクロック機能が得られる値であり
、実用上何ら支障ない。説明の都合上、本発明で使用す
る符号語を分類するために、第2図に示すような符号語
の特徴を表わすパラメータを定める。つまシ、 Lブロック:1ビット同一2進値TBが連続する符号語
の始端部 Rブロック二rピット同一2進値LBが連続する符号語
の終端部 Bブロック: b (=9−1−r )ビットの符号語
の中間部 本発明で使用する符号語としては次の条件を満たすもの
に限る。
Note that although k=12 is larger than s of the conventional 2/3 conversion code, it is a value that allows a sufficient self-clock function to be obtained and does not cause any practical problems. For convenience of explanation, parameters representing the characteristics of code words as shown in FIG. 2 are defined in order to classify code words used in the present invention. L block: Starting end of a code word with consecutive 1 bits of the same binary value TB R block 2r pit End of a code word with consecutive same binary values LB B block: b (=9-1-r ) Intermediate part of bit code word Code words used in the present invention are limited to those that satisfy the following conditions.

(I)1≦1≦9.1≦r≦6 (I[)  Bブロックにおいては完全にd、に制限を
満たすω)は、Bブロックにおいてはdビット以上にビ
ット以下の0と1が交互に続くことを意味する(b=o
を除く)。さらに、1とrに関して次のパラメータF、
Eを導入する。
(I) 1≦1≦9.1≦r≦6 (I[) In B block, ω that completely satisfies the restriction d) means that in B block, 0 and 1, which are more than d bits and less than d bits, alternate. (b=o
except for). Furthermore, with respect to 1 and r, the following parameters F,
Introduce E.

F=O(1=1)、F=1 (2≦1≦6)。F=O (1=1), F=1 (2≦1≦6).

F=2(1≧7)、E=o(r=1 )。F=2 (1≧7), E=o (r=1).

E=1(2≦r≦6) このように定めた4つのノ(ラメータ(TB、F。E=1 (2≦r≦6) The four parameters (TB, F.

E、LB)に基づいて、符号語どうしの接続を制御する
が、この制御と言うのは、第3図に示す第1符号語W1
と第2符号語W2との接続に関して、符号語W1のRブ
ロックと符号語W2のLブロックによる接続部において
もd、に制限を満たすようにすることを意味する。以下
では、この符号語どうしの、接続に関する規則を接続部
と呼ぶ。
The connection between code words is controlled based on the first code word W1 shown in FIG.
With respect to the connection between the code word W2 and the second code word W2, this means that the connection part between the R block of the code word W1 and the L block of the code word W2 also satisfies the restriction on d. Hereinafter, the rules regarding the connection between code words will be referred to as a connection part.

第   1   表 第1表に、前記4つのパラメータ(TB、F。Chapter 1 Table Table 1 shows the four parameters (TB, F.

E、LB)に基づいて規定した、本発明における符号語
の組み合わせ則を示す。第1表において、CW−、cは
符号語の組み合わせ番号と、その組み合わせを構成する
符号語の識別番号であり、一つ組み合わせを構成する符
号語には同一のデータ語を対応させる。
3 shows the code word combination rules in the present invention, which are defined based on E, LB). In Table 1, CW-,c is a combination number of code words and an identification number of the code words forming the combination, and the code words forming one combination are associated with the same data word.

第1表におけるTB、F、E、LBは符号語に関するパ
ラメータであり、例はそのパラメータによって表わせる
符号語の一例を示す。次に第1表の符号語の組み合わせ
則について詳細に説明する。
TB, F, E, and LB in Table 1 are parameters related to code words, and the example shows an example of a code word that can be represented by the parameters. Next, the code word combination rules in Table 1 will be explained in detail.

なお、符号語Aにおける1を0,0を1にすべて置き換
えた符号語を符号語Aの裏パターンと呼び、A′と表わ
すものとする。
Note that a code word in which all 1's in code word A are replaced with 0 and all 0's are replaced with 1 is called a back pattern of code word A, and is expressed as A'.

(1)F〆1.E=O、TB=1.LB=1゜LB=1
O符号語CW(F、o、1)は、その裏パターンCW(
F、o、1)’と、CW(F。
(1) F〆1. E=O, TB=1. LB=1゜LB=1
The O code word CW (F, o, 1) is its back pattern CW (
F,o,1)' and CW(F.

o、1)とF、E、TBO値が等しく、LB=。o, 1) and F, E, TBO values are equal, LB=.

の符号語CW(F、E、o)と、その裏パターンcW(
F 、 O、O)’と組み合わせる。
The code word CW (F, E, o) and its back pattern cW (
Combine with F, O, O)'.

(CW−沈=1) (2)F〆1 、E:1 、TB=1の符号語CW(F
、1.X)は、その裏パターンCW(F。
(CW-sink=1) (2) F〆1, E:1, TB=1 code word CW(F
, 1. X) is its back pattern CW (F.

1、X)’と組み合わせる。なお、Xは○および1のい
ずれをも表わす。
1. Combine with X)'. In addition, X represents both ◯ and 1.

(CW’−4=2 、3 、10 ) (33F=1 、E=O,TB=1  、LB=1(7
)符号語CW(1,o、1)は、CW(1,o、1)と
F、E、TBの値が等しく、LB=Oの符号語CW(1
,0,0)と組み合わせる。
(CW'-4=2, 3, 10) (33F=1, E=O, TB=1, LB=1(7
) Code word CW (1, o, 1) has the same values of F, E, TB as CW (1, o, 1), and the code word CW (1
,0,0).

(CW’−屋=4. e; ) (4)  F=1+ E=1o符号1cW(1,1,X
)とその裏パターンCW(1,1,X)’は他の符号語
とは組み合わせないで、単独でデータ語に対応させる。
(CW'-ya=4. e; ) (4) F=1+ E=1o sign 1cW(1,1,X
) and its back pattern CW(1,1,X)' are not combined with other code words, but are made to correspond to data words alone.

(CW−4=6.了、8.9) 第   2   表 第3.1表 第3.2表 以上示した(1)〜(4)の符号語の組み合わせにより
、第2表に見られるように、符号語を接続した場合にお
いても必ずd、に制限を満たすことができる。
(CW-4 = 6.0, 8.9) Table 2 Table 3.1 Table 3.2 By combining the code words (1) to (4) shown above, as shown in Table 2. Even when code words are connected to d, the restriction on d can always be satisfied.

9ビットの符号語の内、前記(1)の条件を満たす符号
語のみに対して、(1,1)(1,4)に従って組み合
わせを行った結果得られる符号語の組数は、第3表に示
すように66である。なお、第3表の組合せは一例であ
り謂記(1)〜(4)の符号語の組み合せ則に従うかぎ
りどの様に組み合わせてもよい。
Among the 9-bit codewords, only the codewords that satisfy the condition (1) above are combined according to (1, 1) (1, 4), and the number of codeword pairs obtained is the third As shown in the table, it is 66. Note that the combinations in Table 3 are just examples, and any combination may be used as long as the code word combination rules in notes (1) to (4) are followed.

5ビットで表わせるデータ語数は64であることから、
本発明のd=2.に=12を満たす9ビットのRLL符
号は6ビソトのデータ語をもれなく符号変換できる。次
に、本発明の実現化手段について第1図を用いて説明す
る。第1図において、データ語保持回路1は周期的に送
られてくる5ビットのデータ語を順々に保持する。デー
タ語保持回路1の出力は、符号語生成回路2および符号
語生成回路3の入力とする°。符号語生成回路2では、
前記TB=1なる前記符号語CW(F、E、0)(F=
0.1.2.E=0.1 )と、TB=。
Since the number of data words that can be expressed with 5 bits is 64,
d=2 in the present invention. A 9-bit RLL code that satisfies =12 can convert all 6-bit data words. Next, means for realizing the present invention will be explained using FIG. 1. In FIG. 1, a data word holding circuit 1 sequentially holds 5-bit data words sent periodically. The output of the data word holding circuit 1 is input to the code word generation circuit 2 and the code word generation circuit 3. In the code word generation circuit 2,
The code word CW (F, E, 0) (F=
0.1.2. E=0.1) and TB=.

なる前記符号語CW(1,E、o)(E=o、1)、お
よび、それらの符号語のり、Rブロックに関するパラメ
ータF、Eを生成する。ここで、符号語生成回路2の出
力に現われる符号語をCWiaとする。一方、符号語生
成回路3では、TB=1なる符号語CW(F、○$1 
)(F=0.112)と、TB=oなる符号語CW(1
,0,1)を生成しする。ここで、符号語生成回路2の
出力に現われる符号語をCW i bとする。なお、符
号語CW i aとCWibはともにシリアルで送出す
る。符号語CW f aとCWibは第1表に従って組
み合わせた符号語であり、それらのLブロックを構成す
る2進値TBが互いに等しいものを選ぶ。さらにTB=
1なる符号語Aとその裏パターンA′を組み合わせてい
る場合には、符号語Aを生成するものとする。
The codeword CW (1, E, o) (E=o, 1), the codewords thereof, and the parameters F and E regarding the R block are generated. Here, the code word appearing in the output of the code word generation circuit 2 is assumed to be CWia. On the other hand, in the code word generation circuit 3, the code word CW (F,○$1
) (F=0.112) and the code word CW(1
, 0, 1). Here, the code word appearing in the output of the code word generation circuit 2 is assumed to be CW i b. Note that both code words CW i a and CWib are transmitted serially. Codewords CW f a and CWib are codewords combined according to Table 1, and the binary values TB constituting their L blocks are selected to be equal to each other. Further TB=
When the code word A, which is 1, and its back pattern A' are combined, the code word A is generated.

なお、第1表において、他の符号語と組み合わせない符
号語については、符号語生成回路2で生成するものと定
める。
Note that in Table 1, codewords that are not combined with other codewords are determined to be generated by the codeword generation circuit 2.

保持回路4および保持回路6は、先行する符号語W1の
Rブロックに関するパラメータE、LBの値を保持する
。なお、LBの値は、符号語の最終ビットの値でよい。
The holding circuit 4 and the holding circuit 6 hold the values of parameters E and LB regarding the R block of the preceding code word W1. Note that the value of LB may be the value of the last bit of the code word.

反転制御信号生成回路6は、第2表に従っ−y2を裏パ
ターンにするか否かを制御する値Yを生成する(Y=1
:裏パターン)。
The inversion control signal generation circuit 6 generates a value Y for controlling whether or not to make -y2 a reverse pattern according to Table 2 (Y=1
: Back pattern).

反転制御回路7の出力にはYの値に応じて、CW’i 
a” (=CWi a (V=O) 、またはCWia
の裏パター/cWia’(V=1))が現われ、同じく
反転制御回路8の出力にはCWi b” (=CWi 
b (V=O)またはCWib c7)裏パターンcw
ib′(■=1))が現われる。この後、符号語CWi
♂は9ビット遅延回路9へ、符号語CWib”は9ビッ
ト遅延回路10へそれぞれ送られる。
The output of the inversion control circuit 7 has CW'i depending on the value of Y.
a” (=CWia (V=O), or CWia
The back putter /cWia' (V=1)) appears, and CWi b'' (=CWi
b (V=O) or CWib c7) Back pattern cw
ib′(■=1)) appears. After this, the code word CWi
♂ is sent to a 9-bit delay circuit 9, and the code word CWib'' is sent to a 9-bit delay circuit 10, respectively.

一方、CWi♂の先頭ピノ)TBの値を保持するのが保
持回路11である。保持回路11の出力と、符号語生成
回路2の出力である符号語CWiaのLブロックに関す
るパラメータFと、先行する符号語W1のRブロックに
関するパラメータE。
On the other hand, the holding circuit 11 holds the value of the leading pin ()TB of CWi♂. The output of the holding circuit 11, the parameter F regarding the L block of the code word CWia which is the output of the code word generation circuit 2, and the parameter E regarding the R block of the preceding code word W1.

LBを保持している保持回路4と保持回路6の出力とを
用いて、第2表に従って、wlとして9ビット遅延回路
9の出力を選ぶならばS=o、9ビット遅延回路10の
出力を選ぶならばS=1とする値Sを生成するのが選択
信号生成回路12である。
Using the outputs of the holding circuit 4 and holding circuit 6 that hold LB, and selecting the output of the 9-bit delay circuit 9 as wl according to Table 2, S=o, and the output of the 9-bit delay circuit 10. If selected, the selection signal generation circuit 12 generates a value S that makes S=1.

選択回路13は、Sの値に応じて9ビット遅延回路9の
出力と、9ビット遅延回路1oの出力を選択して送出す
る。この結果、選択回路13の出力には、符号語CW(
i−1)” (:CW(t 、1)a m 、 jたは
CW(i−1)bりが現われ、第1表に従って組み合わ
せた符号語を、第2表に従って接続することができる。
The selection circuit 13 selects and transmits the output of the 9-bit delay circuit 9 and the output of the 9-bit delay circuit 1o according to the value of S. As a result, the output of the selection circuit 13 includes the code word CW (
i-1)" (:CW(t,1)am, j or CW(i-1)b appear, and the codewords combined according to Table 1 can be connected according to Table 2.

以上示したように、第1図の回路構成によって8ビット
の符号語を9ピツi・のデータ語に変換し、変換後の9
ビットのデータ語どうしを接続して生じるビット列にお
ける同一2進値の連続ピット数を、2以上12以下に制
限できる。
As shown above, an 8-bit code word is converted into a 9-bit data word using the circuit configuration shown in FIG.
The number of consecutive pits of the same binary value in a bit string generated by connecting data words of bits can be limited to 2 or more and 12 or less.

次に、9ビットの符号語から5ビットのデータ語を復号
する復号回路について説明する。
Next, a decoding circuit that decodes a 5-bit data word from a 9-bit code word will be described.

従来の復号法では復号対象の9ビットを直接5ビットの
データ語に復号しなければならない。この復号をROM
 (Read 0nly Memory)で行うものと
すると、ROMに必要な容量は2X6=3kbitsで
ある。
In conventional decoding methods, the 9 bits to be decoded must be directly decoded into a 5-bit data word. ROM this decryption
(Read ONLY Memory), the capacity required for the ROM is 2×6=3 kbits.

一方、本発明で用いる復号回路に必要なROMの容量は
およそ1.6kbitsに縮小できる。以下、本発明の
復号回路を第4図を用いて詳細に説明する。
On the other hand, the capacity of the ROM required for the decoding circuit used in the present invention can be reduced to approximately 1.6 kbits. Hereinafter, the decoding circuit of the present invention will be explained in detail using FIG. 4.

第   4   表 第4図において、先ず、ビット列をパラレルデータに変
換するためのシリアル・パラレル変換回路14の出力を
、符号語単位で保持する保持回路15の出力には、9ビ
ットの符号語が現われる。
Table 4 In FIG. 4, first, a 9-bit code word appears in the output of the holding circuit 15 that holds the output of the serial-parallel conversion circuit 14 for converting a bit string into parallel data in code word units. .

次いで、この復号対象の9ビットを5ビットと4ビット
の2つのビット列に分割する。このとき、第1表の符号
語の前5ビットのビットパターンは第4表に示す16通
りであり、各ビットパターンは4ビットで識別できる。
Next, the 9 bits to be decoded are divided into two bit strings of 5 bits and 4 bits. At this time, there are 16 bit patterns for the first 5 bits of the code word in Table 1 as shown in Table 4, and each bit pattern can be identified by 4 bits.

仮復号回路16は9ビットの符号語の前5ビットの入力
に対応する4ビットの識別番号を出力とする。
The temporary decoding circuit 16 outputs a 4-bit identification number corresponding to the input of the first 5 bits of the 9-bit code word.

仮復号回路16からの4ビットと保持回路16の下位4
ビットの合計8ビットの値は最終復号回路17の入力と
なる。
4 bits from temporary decoding circuit 16 and lower 4 bits of holding circuit 16
The total 8-bit value is input to the final decoding circuit 17.

この8ビットは復号対象の9ビットの符号語の識別番号
であるから、最終復号回路17は入力の9ビットに対応
するeビットのデータ語を復号するように定めておけば
良い。
Since these 8 bits are the identification number of the 9-bit code word to be decoded, the final decoding circuit 17 may be set to decode the e-bit data word corresponding to the input 9 bits.

以上示した復号に要するROMの容量は、次のようにな
る。先ず仮偵号に(2X 4) =128ビソト、最終
復号に2 X 6=1.5 kbitgである。
The capacity of the ROM required for the above decoding is as follows. First, (2 x 4) = 128 bits are used for the temporary reconnaissance code, and 2 x 6 = 1.5 kbits are used for the final decoding.

したがって、復号に要するROMの容量は約1600b
its となり、従来の約1/2になる。
Therefore, the ROM capacity required for decoding is approximately 1600b.
ITS, which is about 1/2 of the conventional value.

発明の効果 本発明は、5ビットのデータ語を9ビットの符号語に直
接符号変換して、Tw=0.667T、d=2なる高密
度記録に適した性能を有するRLL符号を、非常に簡単
な回路構成で実現した。この結果、5ビットを単位とす
るディジタルデータの符号変換に関しては、復号時の一
語の符号語誤りが2語に拡大することはなくなシ、従来
に比べてデータ語の復号誤り率を大きく改善できる。
Effects of the Invention The present invention directly converts a 5-bit data word into a 9-bit code word, and creates an RLL code with Tw=0.667T and d=2, which has performance suitable for high-density recording. This was achieved with a simple circuit configuration. As a result, with regard to code conversion of digital data in units of 5 bits, a code word error of one word during decoding will not expand to two words, and the decoding error rate of data words will be increased compared to the conventional method. It can be improved.

さらに、仮復号と最終復号を組み合わせる2段階の復号
法により、従来の復号法に比べて復号に必要なROMの
容量を約1/2に低減できる。
Furthermore, by using a two-stage decoding method that combines preliminary decoding and final decoding, the capacity of the ROM required for decoding can be reduced to about 1/2 compared to conventional decoding methods.

以上のように、本発明は記録再生特性に優れるRLL符
号を実現するのみならず、実用化も非常に容易であると
いう優れた特長を備えている。したがって、高密度記録
を必要とするディジタルVTRや光ディスクなどに特に
効果が高く、極めて小さな回路規模で実現できることと
併せて、本発明の実用上の効果は大きい。
As described above, the present invention not only realizes an RLL code with excellent recording and reproducing characteristics, but also has the excellent feature of being extremely easy to put into practical use. Therefore, the present invention is particularly effective for digital VTRs, optical discs, etc. that require high-density recording, and in addition to being able to be realized with an extremely small circuit scale, the present invention has great practical effects.

なお、説明の都合上NRZL記録を前提に説明したが、
NRZI記録の場合にも容易に適用できることは言うま
でもない。
For convenience of explanation, the explanation was based on NRZL records,
Needless to say, this method can be easily applied to NRZI records as well.

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

第1図は本発明を実現する回路構成の一例を示すブロッ
ク図、第2図は符号語の構造を示す説明図、第3図は符
号語どうしの接続を示す説明図、第4図は復号回路のブ
ロック図である。 1・・・・・・データ語保持回路、2,3・・・・・・
符号語生成回路、4,5.11・・・・・・保持回路、
6・・・・・・反転制御信号生成回路、7,8・・・・
・・反転制御回路、9゜1o・・・・・・遅延回路、1
2・・・・・・選択信号生成回路、13・・・・・・選
択回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第2
図 第3図 第4図
Figure 1 is a block diagram showing an example of a circuit configuration for realizing the present invention, Figure 2 is an explanatory diagram showing the structure of code words, Figure 3 is an explanatory diagram showing connections between code words, and Figure 4 is decoding. It is a block diagram of a circuit. 1... Data word holding circuit, 2, 3...
code word generation circuit, 4,5.11...holding circuit,
6... Inversion control signal generation circuit, 7, 8...
...Inversion control circuit, 9゜1o...Delay circuit, 1
2... Selection signal generation circuit, 13... Selection circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd
Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 6ビットのデータ語を9ビットの符号語に変換する符号
変換装置であって、前記6ビットのデータ語入力に対す
る符号変換出力の符号語どうしを接続して得るビット列
において、同一2進値の連続ピット数を2以上に制限す
るために、前記6ビットのデータ語入力に対して9ビッ
トの符号語を生成する第1の符号語生成手段と、直前の
符号語に関する情報と前記第1の符号語生成手段の出力
の符号語に関する情報に基づいて、前記第1の符号語生
成手段の出力を反転させるか否かを制御するための制御
信号を生成する反転制御信号生成手段と、前記反転制御
信号生成手段の出力に基づいて前記第1の符号語生成手
段の出力の符号語に関して反転・不反転を制御する第1
の反転制御手段と、前記第1の反転制御手段の出力を遅
延させる第1の遅延手段と、前記6ビットのデータ語入
力に対して9ビットの符号語を生成する第2の符号語生
成手段と、前記反転制御信号生成手段の出力に基づいて
前記第2の符号語生成手段の出力の符号語に関して反転
・不反転を制御する第2の反転制御手段と、前記第2の
反転制御手段の出力を遅延させる第2の遅延手段と、前
記第1の遅延手段の出力の符号語に関する情報と前記第
1の符号語生成手段の出力の符号語に関する情報に基づ
いて、前記第1の遅延手段の出力の符号語と前記第2の
遅延手段の出力の符号語を選択するための信号を生成す
る選択信号生成手段と、前記選択信号生成手段の出力に
基づいて前記第1の遅延手段の出力の符号語と前記第2
の遅延手段の出力の符号語を選択する選択手段と、前記
9ビットの符号語を5ビットの符号語と4ビットの符号
語に分割する符号語分割手段と、前記符号語分割手段で
分割された5ビットの符号語を識別するための4ビット
を生成する仮復号手段と、前記仮復号手段の出力4ビッ
トと前記符号語分割手段の出力の4ビットの符号語の合
計8ビットを入力とし、前記符号語分割手段の入力であ
る9ビットの符号語に対応する6ビットのデータ語を復
号する最終復号手段を備えることを特徴とする符号変換
装置。
A code conversion device that converts a 6-bit data word into a 9-bit code word, wherein the bit string obtained by connecting the code words of the code conversion output for the 6-bit data word input is a sequence of the same binary value. In order to limit the number of pits to 2 or more, first code word generation means generates a 9-bit code word for the 6-bit data word input, and information regarding the immediately preceding code word and the first code. an inversion control signal generation means for generating a control signal for controlling whether or not to invert the output of the first codeword generation means based on information regarding the codeword output from the word generation means; and the inversion control. a first control unit that controls inversion/non-inversion of the code word output from the first code word generation means based on the output of the signal generation means;
an inversion control means, a first delay means for delaying the output of the first inversion control means, and a second code word generation means for generating a 9-bit code word in response to the 6-bit data word input. and a second inversion control means for controlling inversion/non-inversion of the code word output from the second code word generation means based on the output of the inversion control signal generation means; a second delay means for delaying the output; and the first delay means based on information regarding the code word output from the first delay means and information regarding the code word output from the first code word generation means. a selection signal generation means for generating a signal for selecting a code word output from the second delay means and a code word output from the second delay means; and an output of the first delay means based on the output of the selection signal generation means. and the code word of the second
selecting means for selecting a code word output from the delay means; code word dividing means for dividing the 9-bit code word into a 5-bit code word and a 4-bit code word; a temporary decoding means for generating 4 bits for identifying a 5-bit code word, and a total of 8 bits of the output 4 bits of the temporary decoding means and the 4 bit code word output from the code word dividing means as input. , a code conversion device comprising final decoding means for decoding a 6-bit data word corresponding to a 9-bit code word input to the code word dividing means.
JP6454387A 1986-07-15 1987-03-19 Code converter Pending JPS63229921A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6454387A JPS63229921A (en) 1987-03-19 1987-03-19 Code converter
US07/073,443 US4833470A (en) 1986-07-15 1987-07-14 Code conversion apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6454387A JPS63229921A (en) 1987-03-19 1987-03-19 Code converter

Publications (1)

Publication Number Publication Date
JPS63229921A true JPS63229921A (en) 1988-09-26

Family

ID=13261241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6454387A Pending JPS63229921A (en) 1986-07-15 1987-03-19 Code converter

Country Status (1)

Country Link
JP (1) JPS63229921A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5875950A (en) * 1981-10-31 1983-05-07 Sony Corp Encoding method for binary data
JPS5899028A (en) * 1981-12-09 1983-06-13 Hitachi Ltd Code converter
JPS60201728A (en) * 1984-03-26 1985-10-12 Canon Inc Coding system of binary data
JPS6180917A (en) * 1984-09-28 1986-04-24 Nec Corp Encoding circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5875950A (en) * 1981-10-31 1983-05-07 Sony Corp Encoding method for binary data
JPS5899028A (en) * 1981-12-09 1983-06-13 Hitachi Ltd Code converter
JPS60201728A (en) * 1984-03-26 1985-10-12 Canon Inc Coding system of binary data
JPS6180917A (en) * 1984-09-28 1986-04-24 Nec Corp Encoding circuit

Similar Documents

Publication Publication Date Title
US4760378A (en) Method and apparatus for converting a run length limited code
EP0554638A2 (en) Method and apparatus for implementing PRML codes with maximum ones
JP2002271205A (en) Modulation method, modulator, demodulation method, demodulator, information recoding medium, information transmitting method and information transmitting equipment
JPS59167165A (en) Variable length encoding and decoding system
JPS6129578B2 (en)
JPH10508456A (en) Method for converting a sequence of m-bit information words into a modulated signal, method for manufacturing a record carrier, coding apparatus, apparatus, recording apparatus, signal and record carrier
JP2002533974A (en) Apparatus for encoding an n-bit source word into a corresponding m-bit channel word and decoding the m-bit channel word into a corresponding n-bit source word
JP4138031B2 (en) Encoding device from n-bit source word to corresponding m-bit channel word, and reverse decoding device
JP3935217B2 (en) Conversion from a sequence of m-bit information words to a modulated signal
JPH07118657B2 (en) Binary data encoding and decoding system
JP2002280907A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method and information transmitter
JP2002261619A (en) Data encoding method, data encoding device and record medium
KR20020087001A (en) A device for encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa
JPS63229921A (en) Code converter
JP2003536315A (en) Device for encoding a stream of data bits of a binary source signal into a stream of data bits for a binary channel signal, a memory means, a device for recording information, a record carrier, a device for encoding, and a device for reproducing
JPS63204822A (en) Code converter
JP3013745B2 (en) Digital modulation / demodulation method, device, recording medium, and method of manufacturing
JPH08235785A (en) Recording signal modulating device, recording signal demodulating device, recording signal modulating method and recording signal demodulating method
JPH0480576B2 (en)
JPH0783273B2 (en) Code converter
JP2002533975A (en) Apparatus for encoding n-bit source words into corresponding m-bit channel words and decoding m-bit channel words into corresponding n-bit source words
JP2794719B2 (en) Code conversion device
JPH11288563A (en) Magnetic recording encoding system for a (1, 7) channel having a2/3 coding rate
JP3243137B2 (en) Data conversion method
JP2004220766A (en) Modulation method, modulation device, demodulation method, demodulation device, information recording medium, information transmitting method and device,