JPH0256118A - Code converter - Google Patents

Code converter

Info

Publication number
JPH0256118A
JPH0256118A JP20766588A JP20766588A JPH0256118A JP H0256118 A JPH0256118 A JP H0256118A JP 20766588 A JP20766588 A JP 20766588A JP 20766588 A JP20766588 A JP 20766588A JP H0256118 A JPH0256118 A JP H0256118A
Authority
JP
Japan
Prior art keywords
code
code word
word
data
bit
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.)
Granted
Application number
JP20766588A
Other languages
Japanese (ja)
Other versions
JP2794719B2 (en
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 JP63207665A priority Critical patent/JP2794719B2/en
Publication of JPH0256118A publication Critical patent/JPH0256118A/en
Application granted granted Critical
Publication of JP2794719B2 publication Critical patent/JP2794719B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To convert an 8-bit data word into a 12-bit code word directly by making a code word group including at least one code word or over to each data word, and selecting a code word W2 from the code word group. CONSTITUTION:A selection signal generating circuit 8 generates a selection signal S, the selection signal S changes over a switch 9 to select either a code word from a code word generating circuit 2 or a code word from a code word generating circuit 3. A parallel/serial converter 10 converts the code word in 12-bit parallel appearing at an output of the switch 9 into a serial code. Then switches 16-18 selects and outputs each signal from a synchronizing pattern generating circuit 14 while a synchronizing pattern period signal from a counter 15 is set.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ディジタル信号の記録に用られるう7L/7
グスリミテツド(Run Length Llmlte
d)符号を実現するための符号変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a 7L/7 device used for recording digital signals.
Run Length Llmlte
d) It relates to a code conversion device for realizing a code.

従来の技術 磁気テープやディスクなどにディジタルデータを高密度
に記録する場合、通常、ランレングスリミテッド符号(
以下、RLL符号と記す)を用いる。
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.

RLL符号とはmビットのデータ語をnビットの符号語
に変換し、変換後のnビットの符号語どうしを接続した
結果得られるビット列における同一2進値の連続ビット
数を、d以上に以下に制限する符号を言う。
RLL code converts an m-bit data word into an n-bit code word, and then connects the converted n-bit code words. Say the sign that is restricted to .

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

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

なお、上記3点に加えて、通常8ビツトで表わされるデ
ィジタル映像信号等の場合は、復号過程での誤り伝搬を
避けるために、8ビット単位でデータ語を符号語に変換
できることが望まれている。
In addition to the above three points, in the case of digital video signals that are normally expressed in 8 bits, it is desirable to be able to convert data words into code words in 8-bit units in order to avoid error propagation during the decoding process. There is.

従来、上記観点から種々のRLL符号が開発されており
、2/3変換符号(Franaszek et al、
、USP 3゜889.899)もその一つである。2
/3変換符号は前記定義に従えば、d=2.に=9.T
W=0.667Tであり、2ビツトのデータ語を3ビツ
トの符号語に変換する場合と、4ピツトのデータ語を6
ビツトの符号語に変換する場合を切り換える可変長のR
LL符号である。
Conventionally, various RLL codes have been developed from the above point of view, including 2/3 conversion codes (Franaszek et al.
, USP 3°889.899) is one of them. 2
According to the above definition, the /3 conversion code has d=2. ni=9. T
W = 0.667T, and when converting a 2-bit data word to a 3-bit code word, and when converting a 4-bit data word to a 6-bit code word.
Variable length R to switch the case of converting to a bit code word
It is an LL code.

発明が解決しようとする課題 前記2/3変換符号は、前記(1)〜(3)の条件を良
く溝たしている優れたRLL符号であるが、2/3変換
と478変換を併用している。このため、例えば8ビツ
トで表わされるディジタル画像データの符号変換に際し
ては、データ語の区切が8ビツト1語の画像データの2
語にまたがることがある。
Problems to be Solved by the Invention The above-mentioned 2/3 conversion code is an excellent RLL code that satisfies the conditions (1) to (3) above. ing. For this reason, for example, when converting the code of digital image data expressed in 8 bits, the delimiter between data words is 8 bits per word of image data.
It may span words.

このような場合には、復号時における符号語1語の誤り
が8ビツトの画像データの2語に伝搬(拡大)する。
In such a case, an error in one code word during decoding is propagated (expanded) to two words in the 8-bit image data.

高密度記録を行っても復号誤り率を劣化させないことを
目的としてRLL符号を用いるにもかかわらず、前記2
/3変換符号が可変長符号°であるために、かえって復
号誤りを拡大してしまう。特に、家庭用のディジタルV
TRなどでは長時間記録の必要性のために、記録密度を
極限に近いところまでに高めている。したがって、再生
過程での符号語誤りも非常に多くなり、誤り伝搬(拡大
)も頻繁に起こる。これは解決しなければならない重大
な問題である。
Although RLL codes are used for the purpose of not deteriorating the decoding error rate even when performing high-density recording,
Since the /3 conversion code is a variable length code, decoding errors will be increased. In particular, digital V for home use
Because of the need for long-term recording in TR and other devices, the recording density is increased to near the limit. Therefore, the number of code word errors during the reproduction process increases significantly, and error propagation (expansion) also occurs frequently. This is a serious problem that must be resolved.

一方、通常のディジタル記録では複数のデータを1ブロ
ツクとして、ブロック毎にブロック同期のための同期パ
ターンを付加した形式を用いており、この同期パターン
としては、通常のデータの中には決して現われない特殊
なパターンを選んでいる。ところが、2/3変換符号で
はこのような同期パターンを見出すことが困難であり、
通常、同期パターンについてはに制限を無視していると
いうもう一つの問題点がある。
On the other hand, normal digital recording uses a format in which multiple pieces of data are treated as one block and a synchronization pattern is added to each block for block synchronization, and this synchronization pattern never appears in normal data. Selecting a special pattern. However, it is difficult to find such a synchronization pattern with the 2/3 conversion code.
Another problem with synchronization patterns is that they usually ignore restrictions.

本発明は、上記従来例の問題点を解決した符号変換装置
を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a code conversion device that solves the problems of the conventional example.

課題を解決するための手段 本発明は、mビットのデータ語をnビットの符号語に変
換し、変換後の符号語どうしを接続して得るビット列に
おける同一2進値の連続ビット数を6以上に以下に制限
するランレングス・リミテッド符号を生成する符号変換
装置であって、各データ語に対し、少なくとも1つ以上
の符号語を含む符号語群をそれぞれ対応させてなる符号
変換手段と、前記符号変換手段により生成される符号語
群から符号語W2を選択する符号語選択手段と、前記符
号語W2の選択結果により、符号語W2の直前の符号語
Wlの自己の属する符号語群からの選択を修正する符号
語修正手段と、符号語を分割して得る複数の゛ビットパ
ターンのそれぞれに対する識別コードを生成する仮復号
手段と、前記識別コードに基づいて前記符号語に対応す
るデータ語に関係する値を生成する符号逆変換手段と、
前記符号語の特徴により前記符号逆変換手段の出力を修
正して前記符号語に対応するデータ語を生成するデータ
語復号手段とを備えることを特徴とする符号変換装置で
ある。
Means for Solving the Problems The present invention converts an m-bit data word into an n-bit code word, and connects the converted code words so that the number of consecutive bits of the same binary value in a bit string is 6 or more. A code converting device for generating a run-length limited code limited to the following: a code converting means in which each data word is associated with a code word group including at least one code word; A code word selection means selects a code word W2 from the code word group generated by the code conversion means, and a code word Wl immediately preceding the code word W2 is selected from the code word group to which it belongs based on the selection result of the code word W2. codeword modification means for modifying the selection; provisional decoding means for generating identification codes for each of a plurality of bit patterns obtained by dividing the codeword; sign inversion means for generating related values;
and data word decoding means for generating a data word corresponding to the code word by modifying the output of the code inverse conversion means according to the characteristics of the code word.

作用 本発明は、先行する符号語W1と、Wlに続く符号語W
2のいずれか一方、または、両方を制御する手段を実現
している。この結果、RLL符号を構成する符号語数が
従来よりも増加し、従来不可能であった8ビツトのデー
タ語を12ビツトの符号語に直接変換して、d=2.に
=ioなる制限を満足するRLL符号が得られ(Tv:
0.6877)、誤りの拡大を無くしている。
Operation The present invention provides the preceding code word W1 and the code word W following Wl.
2, or both. As a result, the number of code words constituting an RLL code is increased compared to before, and 8-bit data words, which were previously impossible, can be directly converted to 12-bit code words, and d=2. An RLL code that satisfies the restriction that = io is obtained (Tv:
0.6877), eliminating error expansion.

また、符号語からデータ語を復号する場合に、符号語を
直接参照するのではなく、符号語を分割して得られる複
数のビットパターンのそれぞれに対する識別コードをも
とにデータ語を復号することで、復号時に参照するビッ
ト数を符号語のピット数よりも少なくできる。この結果
、復号に要する回路素子数を大幅に削減できる。
Furthermore, when decoding a data word from a code word, the data word is decoded based on the identification code for each of a plurality of bit patterns obtained by dividing the code word, instead of directly referring to the code word. Therefore, the number of bits referred to during decoding can be made smaller than the number of pits in the code word. As a result, the number of circuit elements required for decoding can be significantly reduced.

実施例 次に、実施例を用いて本発明の詳細な説明する。Example Next, the present invention will be explained in detail using examples.

なお、説明の都合上、本発明で使用する符号語を分類す
るために、第2図に示すような符号語の特徴を表わすパ
ラメータを定める。つまり、Lブロック: Iビット同
一2進値TBが連続する符号語の始端部 Rブロック: rビット同一2進値LBが連続する符号
語の終端部 Bブロック:  b(=12−1−r)ビットの符号語
の中間部 本発明で使用する符号語としては次の条件を満たすもの
に限る。
For convenience of explanation, parameters representing characteristics of code words as shown in FIG. 2 are determined in order to classify code words used in the present invention. That is, L block: Starting end of a code word where I-bit identical binary value TB continues R block: End end portion of a code word where r-bit identical binary value LB continues: b (=12-1-r) Intermediate part of bit code word Code words used in the present invention are limited to those that satisfy the following conditions.

(+)    1≦1≦9,1≦r≦9(+)Bブロッ
クにおいては完全にd、  k制限を溝たす (+)は、Bブロックにおいてはdビット以上にビット
以下のOと1が交互に続くことを意味する(b=0を除
く)。さらに、lとrに関して次のパラメータF、  
Eを導入する。
(+) 1≦1≦9, 1≦r≦9 (+) In the B block, the d and k limits are completely satisfied. (except when b=0). Furthermore, with respect to l and r, the following parameters F,
Introduce E.

こうして定めた4つのパラメータ(TB、F、E、LB
)に基づいて、符号語どうしの接続を制御するが、この
制御と言うのは、第3図に示す第1符号語w1と第2符
号語W2との接続に関して、符号語WIのRブロックと
符号語W2のLブロックによる接続部においてもd、 
 k制限を溝たすようにすることを意味する。以下では
、この符号語どうしの接続に関する規則を接続剤と呼ぶ
The four parameters thus determined (TB, F, E, LB
), the connection between codewords is controlled based on the R block of codeword WI and the connection between the first codeword w1 and the second codeword W2 shown in FIG. Also at the connection part by the L block of code word W2, d,
This means trying to satisfy the k limit. Hereinafter, the rules regarding the connection between code words will be referred to as a connecting agent.

第1表に、前記4つのパラメータ(Tlll、F、E、
LH)に基づいて規定した、本発明における符号語の組
第1表 み合わせ則を示す。第1表において、CW−No、は符
号語の組み合わせ番号と、その組み合わせを構成する符
号語の識別番号であり、一つの組み合わせを構成する符
号語には同=のデータ語を対応させる。
Table 1 shows the four parameters (Tllll, F, E,
Table 1 shows the rules for matching codeword sets according to the present invention, which are defined based on LH). In Table 1, CW-No is the combination number of code words and the identification number of the code words that make up the combination, and the code words that make up one combination are made to correspond to data words with the same =.

第1表におけるTB、F 、E 、LBは符号語に関す
るパラメータであり、例はそのパラメータによって表わ
せる符号語の一例を示す。次に第1表の符号語の組み合
わせ則について詳細に説明する。なお、符号語Aにおけ
る1を0.0を1にすべて置き換えた符号語を符号語A
の裏パターンと呼び、A”と表わすものとする。
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. In addition, the code word in which all 1's in code word A are replaced with 1's is replaced with code word A.
It is called the back pattern of , and is expressed as "A".

(1)F≠1.E≠1 、TB= 1 、LB= 1の
符号語C41(F、E、1)は、その裏パターンCI!
(F、E、1)’と、CWf(F、E、1)とF、E、
TBの値が等しく、LB:0の符号語CW(F、E、0
)と、その裏パターンCW(F、E、0)’と組み合わ
せる。
(1) F≠1. The code word C41 (F, E, 1) with E≠1, TB=1, and LB=1 is its back pattern CI!
(F, E, 1)' and CWf (F, E, 1) and F, E,
The values of TB are equal and the code word CW (F, E, 0
) and its back pattern CW (F, E, 0)'.

(CW−No、=1.4.13) (2)F≠1 、E= 1 、TB= 1の符号語CW
(F、1.X) il、その裏パターンGW(F、1 
、X)’と組み合わせる。
(CW-No, = 1.4.13) (2) Code word CW of F≠1, E=1, TB=1
(F, 1.X) il, its back pattern GW (F, 1
,X)'.

なお、XはOおよび1のいずれをも表わす。Note that X represents both O and 1.

(GW−No、=2.3,14.15)(3)F=1.
E≠l 、TB= 1 、LB= 1の符号語cw(1
,E、1)は、CV(1,E、1)とF、E、Ti1l
の値が等しく、LB=Oの符号語CW(1、E、0)と
組み合わ・せる。
(GW-No, = 2.3, 14.15) (3) F = 1.
The code word cw(1
,E,1) is CV(1,E,1) and F,E,Ti1l
are the same and are combined with the code word CW (1, E, 0) where LB=O.

(CW−No、=5.G、11.12)(4)F=1 
、E=1  の符号語cw(t、t、X)とその裏パタ
ーンCW(1,1,X)’は他の符号語とは組み合わせ
ないで、単独でデータ語に対応させる。
(CW-No, = 5.G, 11.12) (4) F = 1
, E=1 code word cw (t, t, X) and its back pattern CW (1, 1,

((J−No、=7.8,9.20) 以上示した(1)〜(4)の符号語の組み合わせにより
、第2表に見られるように、符号語を接続した場合にお
いても必ずd、  k制限を満たすことができる。
((J-No, = 7.8, 9.20) With the combinations of code words (1) to (4) shown above, as shown in Table 2, even when code words are connected, d, k restrictions can be satisfied.

12ビツトの符号語の内、前記(+)、(+)の条件を
満たす符号語のみに対して、(1)〜(4)に従って組
み合わせを行った結果得られる符号語の組数は、第3表
に示すように264である。なお、第3表におけるDP
は符号語における1とOの個数の差第3.1表 (以下余白) 第 3゜ 表 第 3゜ 表 第 3゜ 表 第 3゜ 表 第 3.7′表 (以下余白) (ディスパリティ−と呼ぶ)の絶対値を表わしている。
Among the 12-bit codewords, only the codewords that satisfy the above conditions (+) and (+) are combined according to (1) to (4), and the number of codeword pairs obtained is as follows: As shown in Table 3, it is 264. In addition, DP in Table 3
is the difference between the number of 1 and O in the codeword Table 3.1 (blank below) Table 3゜Table 3゜Table 3゜Table 3゜Table 3.7' (blank below) (Disparity ) represents the absolute value of

8ビツトのデータ語数が256であることから、本発明
のd=2.に=10を満たす12ビツトのRLL符号は
8ビツトのデータ語をもれなく符号変換できる。
Since the number of 8-bit data words is 256, d=2. A 12-bit RLL code that satisfies =10 can convert all 8-bit data words.

ところで、通常のディジタル記録では複数のデータを1
ブロツクとして、ブロック毎にブロック同期のための同
期パターンを付加した形式を用いる。この同期パターン
としては、通常のデータの中には決して現われない特殊
なパターンを選択する。
By the way, in normal digital recording, multiple pieces of data are
A format in which a synchronization pattern for block synchronization is added to each block is used. As this synchronization pattern, a special pattern that never appears in normal data is selected.

本発明では、データ語に対応させる符号語としては、第
3.1〜3.6表におけるDPが6以下の符号語に限り
(256語)、同期パターンとしてはDPが8の同一の
符号語(F=1.E=1)を2語直列に並べたパターン
を用いる(例えば第3.7表の符号語25B)。
In the present invention, code words that correspond to data words are limited to code words with a DP of 6 or less in Tables 3.1 to 3.6 (256 words), and the same code words with a DP of 8 are used as synchronization patterns. A pattern in which two words (F=1.E=1) are arranged in series is used (for example, code word 25B in Table 3.7).

第4図に示すように、この24ビツトの同期パターンの
どの連続する12ビツト(B 12)にも、前記DPが
8の符号語を構成するビット(b +:I=1−B)が
必ず含まれるので、前記B12のDPも8になる。
As shown in FIG. 4, in any consecutive 12 bits (B12) of this 24-bit synchronization pattern, there is always a bit (b+:I=1-B) that constitutes a code word with a DP of 8. Since it is included, the DP of B12 is also 8.

方、24ビツトの中には少なくとも1語の12ビツトの
符号語が含まれる。従って、データ語に対応しているD
Pが6以下の符号語どうしを接続して生じるビット列の
どの24ビツトも、その内部の12ビツトのDPが6以
下になる部分を必ず含む。これらのことから、この同期
パターンはデータ語に対応する符号語どうしを接続して
得られるビット列の中には決して現われない。
On the other hand, the 24 bits include at least one 12-bit code word. Therefore, D corresponding to the data word
Any 24 bits of a bit string generated by connecting code words in which P is 6 or less always includes a portion where DP of 12 bits therein is 6 or less. For these reasons, this synchronization pattern never appears in a bit string obtained by connecting code words corresponding to data words.

金子したように、データ語に対応させる符号語と、同期
パターンに用いる符号語を定めることで、d = 2.
  k = 10を保ったままで、正しいブロック同期
が保証できる。
As Kaneko explained, by determining the code word that corresponds to the data word and the code word used for the synchronization pattern, d = 2.
Correct block synchronization can be guaranteed while keeping k = 10.

次に、本発明の実現化手段について第1図を用いて説明
する。第1図において、保持回路1は周期的に送られて
くる8ビツトのデータ語を順々に保持する。保持回路1
の出力は、符号語生成回路2および符号語生成回路3の
入力とする。
Next, means for realizing the present invention will be explained using FIG. 1. In FIG. 1, a holding circuit 1 sequentially holds 8-bit data words sent periodically. Holding circuit 1
The outputs are input to the codeword generation circuit 2 and the codeword generation circuit 3.

符号語生成回路2では、第3表におけるE=1の”′符
号語”およびE≠1の”°符号語1′′と、それらの符
号語のり、  Rブロックに関するパラメータF、  
Eを生成する。ここで、符号語生成回路2の出力に現わ
れる符号語をCW+、とする。
In the codeword generation circuit 2, the "'codeword" of E=1 and the "°codeword 1'' of E≠1 in Table 3, their codewords, the parameter F regarding the R block,
Generate E. Here, the code word appearing at the output of the code word generation circuit 2 is assumed to be CW+.

一方、符号語生成回路3では、第3表におけるE≠1の
″符号語2”を生成する。ここで、符号語生成回路3の
出力に現われる符号語をCL bとする。なお、第3表
における は保持回路1の出力に現われるデータ語に対
応する。例えば、データ語の値が154であれば、第3
表のNo、 154の符号語100011100111
が符号語生成回路2に現われる。
On the other hand, the code word generation circuit 3 generates "code word 2" in Table 3 where E≠1. Here, the code word appearing in the output of the code word generation circuit 3 is assumed to be CL b. Note that in Table 3, corresponds to the data word appearing at the output of the holding circuit 1. For example, if the value of the data word is 154, the third
Table No. 154 code word 100011100111
appears in the code word generation circuit 2.

保持回路4は符号語生成回路2の出力を、保持回路5は
符号語生成回路3の出力を、そして、保持回路6は、直
前の符号語CW、、−目、のRブロックに関するパラメ
ータE、  LBの値を保持する。なお、LHの値は符
号語CWx−口、の最終ビットの値でよい。
The holding circuit 4 receives the output of the code word generation circuit 2, the holding circuit 5 receives the output of the code word generation circuit 3, and the holding circuit 6 receives the parameter E regarding the R block of the immediately preceding code word CW, -th, Holds the value of LB. Note that the value of LH may be the value of the last bit of the code word CWx-start.

また、反転制御信号生成回路7は、第2表に従って符号
語CW+aを裏パターンにするか否かを制御する値Yを
生成する(Y=1:裏パターン)。
Further, the inversion control signal generation circuit 7 generates a value Y that controls whether or not the code word CW+a is made into a back pattern according to Table 2 (Y=1: back pattern).

ここで、前記符号語CW+、に関するTB、  FlL
BおよびEの値をそれぞれTBl、FI  LB1% 
 El とする。また、直前の符号語CW(1−11゜
に関するTBlF、  LBおよびEの値をそれぞれT
Rl−1、FI鴫、LBI−+1El−1とする。
Here, TB regarding the code word CW+, FlL
The values of B and E are TBl and FI LB1%, respectively.
Let it be El. In addition, the values of TBIF, LB, and E regarding the immediately preceding code word CW (1-11° are respectively T
Rl-1, FI Shizuku, LBI-+1El-1.

このとき、直前の符号語CWi1−11mに関する反転
情報をY + −+ とすると、符号語CW1.に関す
る反転情報Y1は次の3条件を満たす場合に1になる。
At this time, if the inversion information regarding the immediately preceding code word CWi1-11m is Y + -+, then code word CW1. The reversal information Y1 regarding the value becomes 1 when the following three conditions are satisfied.

(Y 、 1 )LBX+す=O,F+=0(Y、2)
LBX+−+ = 0.E l−1= Olかつ、FI
=2(Y、3)LBX+−+=1.  Et−1≠01
 かつ、FI:まただし、LBX+−+はLBI−1と
Y+−+ の排他的論理和により得られる。
(Y, 1) LBX+S=O, F+=0(Y, 2)
LBX+-+ = 0. E l-1= Ol and FI
=2(Y,3)LBX+-+=1. Et-1≠01
And FI: However, LBX+-+ is obtained by exclusive OR of LBI-1 and Y+-+.

一方、選択信号生成回路8は選択信号Sを生成し、この
選択信号Sによりスイッチ9を切り換えることで、符号
語生成回路2からの符号語と符号語生成回路3からの符
号語をのいずれか一方を選択する。この選択信号Sは次
の条件を満足する場合のみ1になり、符号語生成回路3
からの符号語を選択する。
On the other hand, the selection signal generation circuit 8 generates a selection signal S, and by switching the switch 9 using this selection signal S, the codeword from the codeword generation circuit 2 or the codeword from the codeword generation circuit 3 is selected. Choose one. This selection signal S becomes 1 only when the following conditions are satisfied, and the code word generation circuit 3
Select a codeword from .

(S、I)E番−1=0、 LBX+−+≠TBI、 
 かつ、 F1=1(5,2)El−+=2、 LBX
 + −I: TBl、 かつ、 F1=11=1Y、
1)〜(Y、3)および(S、l)、(S、2)から分
かるように、反転制御信号生成回路7と選択信号生成回
路8は、いずれも簡単な論理回路で実現できる。次に、
パラレル/シリアル変換器lOはスイッチ9の出力に現
われる12ビツトパラレルの符号語を、シリアルデータ
に変換する。EXORゲート11は、パラレル/シリア
ル変換器IOの出力と、反転制御信号生成回路7からの
反転制御信号Yにより、シリアルな符号語を反転して、
または不反転のまま送出する。保持回路12.13は、
パラレル/シリアル変換器10からの符号語出力と、こ
の符号語に対する反転制御信号の時間調整のために用い
ている。
(S, I) E number-1=0, LBX+-+≠TBI,
And, F1=1(5,2)El-+=2, LBX
+ -I: TBl, and F1=11=1Y,
As can be seen from 1) to (Y, 3), (S, l), and (S, 2), both the inversion control signal generation circuit 7 and the selection signal generation circuit 8 can be realized by simple logic circuits. next,
Parallel/serial converter lO converts the 12-bit parallel codeword appearing at the output of switch 9 into serial data. The EXOR gate 11 inverts the serial code word using the output of the parallel/serial converter IO and the inversion control signal Y from the inversion control signal generation circuit 7.
Or send it out uninverted. The holding circuit 12.13 is
It is used for time adjustment of the code word output from the parallel/serial converter 10 and the inverted control signal for this code word.

一方、同期パターン生成回路14は2語(24ビツト)
の同期パターンとF=1.E=1を生成し、カウンタ1
5からの同期パターン区間信号にしたがって、同期パタ
ーンをスイッチ16へ、Fをスイッチ17へ、Eをスイ
ッチ18へそれぞれ送る。スイッチIB、17.18は
、カウンタ15からの同期パターン区間信号がONの間
だけ同期パターン生成回路14からの各信号を選択して
出力とする。この結果、同期パターンに関してはF=1
.E’=1の符号語と全く同様に処理され、同期パター
ンが反転したり、同期パターンの前後でd、  k制限
違反が生じることはない。
On the other hand, the synchronization pattern generation circuit 14 uses 2 words (24 bits)
The synchronization pattern of F=1. generates E=1 and counter 1
According to the synchronization pattern section signal from 5, the synchronization pattern is sent to switch 16, F to switch 17, and E to switch 18, respectively. The switch IB, 17.18 selects and outputs each signal from the synchronization pattern generation circuit 14 only while the synchronization pattern section signal from the counter 15 is ON. As a result, F=1 for the synchronization pattern
.. It is processed in exactly the same way as the E'=1 codeword, and the synchronization pattern will not be reversed and no violation of d, k restrictions will occur before or after the synchronization pattern.

以上水したように、第1図の回路構成によって8ビツト
の符号語を12ビツトのデータ語に変換し、変換後の1
2ビツトのデータ語どうしを接続して生じるビット列に
おける同一2進値の連続ビット数を、2以上10以下に
制限できる。さらに、本発明では、符号語の送出直前ま
でパラレル状態で処理しているために、回路構成素子の
動作速度に対する要求も低く、回路規模そのものの小さ
さと併せて、極めて実用的である。
As mentioned above, an 8-bit code word is converted into a 12-bit data word using the circuit configuration shown in Figure 1, and the converted 1
The number of consecutive bits of the same binary value in a bit string generated by connecting 2-bit data words can be limited to 2 or more and 10 or less. Furthermore, in the present invention, since the code word is processed in parallel until just before it is sent, the requirements for the operating speed of the circuit components are low, and in addition to the small circuit scale itself, it is extremely practical.

次に、12ビツトの符号語から8ビツトのデータ語を復
号する復号回路について説明する。従来の復号法では復
号対象の12ビツトを直接8ビツトのデータ語に復号す
ることになる。この復号をROM(Read 0nly
 Memory)で行うものとすると、ROMに必要な
容量は2I2X8=32キロビツトである。−方、本発
明で用いる復号回路に必要なROMの容量は高々4キロ
ビツトである。以下、本発明の復号手法を説明し、つい
で、復号回路について詳細に述べる。
Next, a decoding circuit for decoding an 8-bit data word from a 12-bit code word will be explained. In conventional decoding methods, the 12 bits to be decoded are directly decoded into 8-bit data words. This decoding is performed in a ROM (Read Only
Memory), the required capacity of the ROM is 2I2X8=32 kilobits. - On the other hand, the capacity of the ROM required for the decoding circuit used in the present invention is at most 4 kilobits. The decoding method of the present invention will be explained below, and then the decoding circuit will be described in detail.

本発明における復号法の特徴は、以下の2点である。The decoding method according to the present invention is characterized by the following two points.

(1)復号対象の符号語の先頭ビットはすべて1である
(1) All leading bits of the code word to be decoded are 1.

(2)符号語そのものを復号対象とせず、符号語を分割
して得られるビットパターンの識別コードを用いて復号
する。
(2) Instead of decoding the code word itself, decoding is performed using a bit pattern identification code obtained by dividing the code word.

次に、このような特徴を持った復号法で、正しく復号で
きることを示す。
Next, we will show that correct decoding can be achieved using a decoding method with these characteristics.

先に示したように、本発明のF≠1の符号語に関しては
、1で始まる符号語W2と符号語W2の裏パターン12
’に同一のデータ語を対応させている。
As shown above, regarding the code word of the present invention with F≠1, the code word W2 starting with 1 and the back pattern 12 of the code word W2
' corresponds to the same data word.

したがって、復号対象の符号語のF≠1であることがわ
かれば、この符号語が1で始まる符号語W2であるか、
または、符号語W2の裏パターン12’であるかを区別
して復号する必要はない。このことから、F≠1の符号
語については符号語W2とW2’に対して同一の識別コ
ードを対応させればよい。
Therefore, if it is found that F≠1 of the codeword to be decoded, whether this codeword is the codeword W2 starting with 1 or not,
Alternatively, there is no need to distinguish between the back pattern 12' of the code word W2 and decode it. From this, for codewords with F≠1, the same identification code may be associated with codewords W2 and W2'.

一方、F=1の符号語に関しては、先頭ビットTBが1
の符号語W2と、TBがOである符号語W2の裏パター
ンW2’には異なったデータ語を対応させている。した
がって、符号語W2に対応するデータ語りと、符号語W
2’に対応するデータ語D′を任意に選ぶ場合には、符
号語W2とW2’を互いに区別できる識別コードを出力
する必要がある。
On the other hand, for the code word with F=1, the first bit TB is 1
The code word W2 and the back pattern W2' of the code word W2 whose TB is O are made to correspond to different data words. Therefore, the data story corresponding to the code word W2 and the code word W
2', it is necessary to output an identification code that can distinguish code words W2 and W2' from each other.

しかしながら、符号語W2に対応するデータ語りと符号
語W2’に対応するデータ語D′が相補的、つまり、デ
ータ語りのすべての1をOに反転し、かつ、すべてのO
を1に反転したデータ語がD”である場合には、符号語
W2に対する識別コードと符号語W2’に対する識別コ
ードを等しくできる。
However, the data word corresponding to code word W2 and the data word D' corresponding to code word W2' are complementary, that is, all 1's of the data word are inverted to O's, and all O's are inverted.
When the data word obtained by inverting 1 to 1 is D'', the identification code for the code word W2 and the identification code for the code word W2' can be made equal.

なぜならば、符号語W2に対する識別コードをIDとし
、識別コード■Dに対するデータ語出力をDとする。こ
のとき、符号語W2’に対する識別コードもIDである
から、データ語出力もDになる。ここで、符号語W2’
のF’=1であり、かつTB= 0であることを検出す
れば、復号器出力のデータ語りのすべての1を0に、そ
して、すべてのOを1に反転させる。こうすることで、
最終的な符号語W2’に対応するデータ語D′が得られ
る。
This is because ID is the identification code for the code word W2, and D is the data word output for the identification code D. At this time, since the identification code for the code word W2' is also ID, the data word output is also D. Here, code word W2'
If it is detected that F'=1 and TB=0, all the 1's in the data story of the decoder output are inverted to 0 and all the O's are inverted to 1. By doing this,
A data word D' corresponding to the final code word W2' is obtained.

以上水した復号法に基づいて構成した復号回路について
、第5図を用いて詳細に説明する。第5図における12
個の排他的論理和(EXOR)ゲー)19と、12個の
否定(NOT)ゲート20は、復号対象の12ビットの
符号語を必ず1で始まる符号語に変換するためのもので
ある。例えば、復号対象の符号語としてI(1(111
1001100を仮定する。この符号語の先頭ビットT
Bは1であり、EXORゲート1Bは否定として働くの
で、NOTゲート20の出力は10011100110
0になる。逆に、復号対象の符号語に01100011
0011を仮定すると、この符号語のTB:Oであるか
ら、EXORゲート1Bの出力には入力がそのまま現わ
れる。したがって、NOTゲート20の出力に1001
11001100が得られる。
A decoding circuit configured based on the decoding method described above will be explained in detail using FIG. 5. 12 in Figure 5
Exclusive OR (EXOR) gates 19 and twelve NOT (NOT) gates 20 are for converting a 12-bit code word to be decoded into a code word that always starts with 1. For example, the code word to be decoded is I(1(111
Assume 1001100. The first bit T of this code word
Since B is 1 and EXOR gate 1B acts as a negation, the output of NOT gate 20 is 10011100110
becomes 0. Conversely, the codeword to be decoded is 01100011.
Assuming 0011, since TB:O of this code word, the input appears as is at the output of EXOR gate 1B. Therefore, the output of NOT gate 20 is 1001
11001100 is obtained.

第5図における仮復号回路21は、NOTゲート20の
出力に得られる必ず1で始まる符号語の上位6ビツトに
対する識別コードを生成する。第3表から分かるように
、1で始まる符号語の上位6ビツトは、第4表に示すよ
うに13通りである。したがって、上位6ビツトに対す
る識別フード(10)は4ビツトで表わせる。さらに、
仮復号回路21は復号対象の符号語のF=1かつTB=
Oのときのみ1になる反転制御信号Yをも出力する。な
お、反転制御信号Yは簡単な論理回路により実現できる
The temporary decoding circuit 21 in FIG. 5 generates an identification code for the upper six bits of the code word that always starts with 1 and is obtained at the output of the NOT gate 20. As can be seen from Table 3, there are 13 different upper 6 bits of code words starting with 1, as shown in Table 4. Therefore, the identification hood (10) for the upper 6 bits can be represented by 4 bits. moreover,
The temporary decoding circuit 21 determines that F=1 and TB= of the code word to be decoded.
It also outputs an inverted control signal Y that becomes 1 only when the signal is O. Note that the inverted control signal Y can be realized by a simple logic circuit.

また、第5図における仮復号回路22は、NOTゲート
20の出力に得られる必ず1で始まる符号語の下位6ビ
ツトに対する識別コードを生成する。第3表から分かる
ように、1で始まる符号語の下位6ビツトは、第5表に
示すように26通りである。
Further, the temporary decoding circuit 22 in FIG. 5 generates an identification code for the lower 6 bits of the code word obtained at the output of the NOT gate 20 and always starting with 1. As can be seen from Table 3, there are 26 ways for the lower 6 bits of a code word starting with 1 as shown in Table 5.

したがって、下位6ビツトに対する識別コード(ID)
は5ビツトで表わせる。
Therefore, the identification code (ID) for the lower 6 bits
can be expressed in 5 bits.

第6.1〜6.2表は、このようにして得られる9ビツ
トの識別コードは、第3表における1で始まる符号語に
重複することなく対応する。第5図における逆変換回路
22は、第6表を実現するためのものであり、9ビツト
の識別コードに対するデータ第4表   第6表 第6.1表 第6.2表 語を出力する。
Tables 6.1 and 6.2 show that the 9-bit identification code thus obtained corresponds to the code word starting with 1 in Table 3 without duplication. The inverse conversion circuit 22 in FIG. 5 is for realizing Table 6, and outputs data for the 9-bit identification code in Table 4, Table 6, Table 6.1, and Table 6.2.

8個のEXORゲート24は、逆変換回路23からの8
ビツトのそれぞれに対して、反転制御信号Yとの排他的
論理和を求めるためのものである。先に示したように、
F=1の符号語について、は、1で始まる符号語とその
裏パターンに対応するデータ語も互いに相補的である。
The eight EXOR gates 24 are the 8
This is for determining the exclusive OR with the inverted control signal Y for each bit. As shown earlier,
For a codeword with F=1, the codeword starting with 1 and the data word corresponding to its back pattern are also complementary to each other.

したがって、F=1かつTB= 0の符号語に対してY
=1になるから、この場合のみ、EXORゲート24の
出力は逆変換回路23の出力を反転させた値になり、正
しい復号データが得られる。
Therefore, for a codeword with F=1 and TB=0, Y
=1, so only in this case the output of the EXOR gate 24 becomes a value obtained by inverting the output of the inverse conversion circuit 23, and correct decoded data can be obtained.

以上示したように本発明の復号回路は、符号語そのもの
ではなく、符号語を分割して得られるビットパターンに
対する識別コードを用いることにより、復号に要するR
OMの容量を1/8に削減している。具体的示すと、第
5図における仮復号回路21及び22は、比較的簡単な
論理回路(例えば、Programable Logl
c Device)で容易に実現できる。
As described above, the decoding circuit of the present invention uses an identification code for a bit pattern obtained by dividing a codeword, rather than the codeword itself, to reduce the R required for decoding.
The OM capacity has been reduced to 1/8. Specifically, the temporary decoding circuits 21 and 22 in FIG. 5 are relatively simple logic circuits (for example, programmable log
c Device).

したがって、ROMを用いた方が好都合なのは、逆変換
回路23だけである。このROMに必要な容量は、アド
レス9ビツトで8ビツト出力であるから、2”X 8 
= 4  キロビットである。これが、本発明の復号回
路に必要なROMの総容量であり、従来の復号法に要す
るROMの容量の1/8しか必要としない。
Therefore, it is only the inverse conversion circuit 23 that is more convenient to use a ROM. The capacity required for this ROM is 2” x 8 since the address is 9 bits and the output is 8 bits.
= 4 kilobits. This is the total ROM capacity required for the decoding circuit of the present invention, and requires only 1/8 of the ROM capacity required for the conventional decoding method.

なお、本実施例では高密度記録に効果が大きい8712
変換符号を例示したが、任意のd+  k、  m。
In addition, in this example, 8712, which is highly effective for high-density recording, is used.
Although the conversion code is shown as an example, any d+k, m.

nに対しても有効である。本発明では、d、  k制限
を満たすための制御に関して、データ語のビット長m1
  および符号語のビット長nは全く無関係である。厳
密に言うと、符号語の特徴を表わすパラメータTB1F
、  LB、  およびEだけでd、  k制限を満足
させ得る制御が可能である。
It is also valid for n. In the present invention, regarding the control to satisfy the d and k restrictions, the bit length m1 of the data word is
and the bit length n of the codeword are completely irrelevant. Strictly speaking, the parameter TB1F representing the characteristics of the code word
, LB, and E alone can satisfy the d and k restrictions.

先に、8/12変換符変換対するFおよびEの定め方に
ついて示したが、これは−膜化できて次のようにして与
えられる。
The method of determining F and E for the 8/12 conversion code conversion was shown above, and this can be converted into a film and given as follows.

E=2.(k−に’ <r≦に−d+1)ただし、d′
はd/2を越えない最大の整数でありN  k’はに/
2を越えない最大の整数である。
E=2. (k-to'<r≦-d+1) However, d'
is the largest integer not exceeding d/2 and N k' is/
It is the largest integer not exceeding 2.

また、d;1に関しては、F=01 E=Oは存在しな
い。上記のように定めたパラメータF、  Eに対して
、先に示した符号語どうしの接続剤を適用すると、d、
  k制限を確実に満足する。
Furthermore, regarding d;1, F=01 E=O does not exist. Applying the connecting agent between code words shown earlier to the parameters F and E defined above, d,
Ensure that the k limit is satisfied.

また、NRZI記録に対しても全く同様に実現でき、N
RZI記録であるが故の特殊性は何もない。
Also, it can be realized in exactly the same way for NRZI recording, and N
Since it is an RZI record, there is nothing special about it.

発明の効果 本発明は、8ビツトのデータ語を12ビツトの符号語に
直接符号変換し、かつ、Tw:0.EiG7T1d =
 2゜k=l0なる高密度記録に適した性能を有するR
LL符号を、非常に実用的な回路構成で実現した。この
結果、8ビツトを単位とするディジタルデータの符号変
換に関しては、復号時の一語の符号語誤りが2語に拡大
することはなくなり、従来に比べてデータ語の復号誤り
率を大きく改善できる。
Effects of the Invention The present invention directly converts an 8-bit data word into a 12-bit code word, and Tw:0. EiG7T1d =
R has a performance suitable for high-density recording of 2°k=l0.
The LL code was realized with a very practical circuit configuration. As a result, when converting the code of digital data in units of 8 bits, a code word error of one word during decoding will not expand to two words, and the decoding error rate of data words can be greatly improved compared to the conventional method. .

また、前記d、  k制限に違反することなく誤った同
期パターンの発生も完全に防ぐことが出来、完べきなブ
ロック同期を実現できる。
Moreover, generation of erroneous synchronization patterns can be completely prevented without violating the d and k restrictions, and perfect block synchronization can be achieved.

さらに、新たな復号法により、従来の復号法に比べて復
号に必要なROMの容量を1/8に低減している。
Furthermore, the new decoding method reduces the ROM capacity required for decoding to 1/8 compared to the conventional decoding method.

以上のように、本発明は記録再生特性に優れる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記録を前提として8/12
変換符変換例として用いて説明したが、NRZr記録の
場合、および他の(L  k+  m+  nに対して
も有効であることは言うまでもない。
For convenience of explanation, NRZL records are assumed and 8/12
Although the explanation has been given using an example of conversion code conversion, it goes without saying that it is also valid for NRZr recording and other (L k+ m+ n).

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

第1図は本発明の一実施例の符号変換装置のブロック構
成図、第2図は同装置における符1号語の構造図、第3
図符号語どうしの接続を示す説明図、第4図は同期パタ
ーンの構造図、第5図は復号回路のブロック構成図であ
る。 1.3〜8. 12. 13・・保持回路、2・・符号
語生成回路、7・・反転制御信号生成回路、8・・選択
信号生成回路、9.16〜18・・スイッチ、10・・
P/S、11・・EXORl 14・・同期パターン生
成回路、15・・カウンタ。 代理人の氏名 弁理士 粟野重孝 ほか1名城 減
FIG. 1 is a block configuration diagram of a code conversion device according to an embodiment of the present invention, FIG. 2 is a structural diagram of code word 1 in the same device, and FIG.
FIG. 4 is an explanatory diagram showing connections between code words, FIG. 4 is a structural diagram of a synchronization pattern, and FIG. 5 is a block configuration diagram of a decoding circuit. 1.3-8. 12. 13...Holding circuit, 2...Code word generation circuit, 7...Inversion control signal generation circuit, 8...Selection signal generation circuit, 9.16-18...Switch, 10...
P/S, 11...EXORl 14...Synchronization pattern generation circuit, 15...Counter. Name of agent: Patent attorney Shigetaka Awano and one other person

Claims (5)

【特許請求の範囲】[Claims] (1)mビットのデータ語をnビットの符号語に変換し
、変換後の符号語どうしを接続して得るビット列におけ
る同一2進値の連続ビット数をd以上k以下に制限する
ランレングス・リミテッド符号を生成する符号変換装置
であって、各データ語に対し、少なくとも1つ以上の符
号語を含む符号語群をそれぞれ対応させてなる符号変換
手段と、前記符号変換手段により生成される符号語群か
ら符号語W2を選択する符号語選択手段と、前記符号語
W2の選択結果により、符号語W2の直前の符号語W1
の自己の属する符号語群からの選択を修正する符号語修
正手段と、符号語を分割して得る複数のビットパターン
のそれぞれに対する識別コードを生成する仮復号手段と
、前記識別コードに基づいて前記符号語に対応するデー
タ語に関係する値を生成する符号逆変換手段と、前記符
号語の特徴により前記符号逆変換手段の出力を修正して
前記符号語に対応するデータ語を生成するデータ語復号
手段とを備えることを特徴とする符号変換装置。
(1) A run length method that converts an m-bit data word into an n-bit code word and limits the number of consecutive bits of the same binary value in a bit string obtained by connecting the converted code words to d or more and k or less. A code converting device that generates a limited code, comprising a code converting means in which each data word is associated with a code word group including at least one code word, and a code generated by the code converting means. A code word selection means for selecting a code word W2 from a word group, and a code word W1 immediately before the code word W2 based on the selection result of the code word W2.
a code word modifying means for modifying the selection from a code word group to which the code word belongs; a temporary decoding means for generating an identification code for each of a plurality of bit patterns obtained by dividing the code word; a code inverse converter for generating a value related to a data word corresponding to a code word; and a data word for generating a data word corresponding to the code word by modifying an output of the code inverse converter according to characteristics of the code word. A code conversion device comprising: decoding means.
(2)mビットのデータ語をnビットの符号語に変換し
、変換後の符号語どうしを接続して得るビット列におけ
る同一2進値の連続ビット数をd以上k以下に制限する
ランレングス・リミテッド符号を生成する符号変換装置
であって、各データ語に対し、少なくとも1つ以上の符
号語を含む符号語群をそれぞれ対応させてなる符号変換
手段と、前記符号変換手段の出力と同期パターンを生成
する同期パターン生成手段の出力を切り換える切り換え
手段と、前記符号変換手段および切り換え手段の出力に
得られる符号語群から符号語W2を選択する符号語選択
手段と、前記符号語W2の選択結果により、符号語W2
の直前の符号語W1の自己の属する符号語群からの選択
を修正する符号語修正手段と、符号語を分割して得る複
数のビットパターンのそれぞれに対する識別コードを生
成する仮復号手段と、前記識別コードに基づいて前記符
号語に対応するデータ語に関係する値を生成する符号逆
変換手段と、前記符号語の特徴により前記符号逆変換手
段の出力を修正して前記符号語に対応するデータ語を生
成するデータ語復号手段とを備えることを特徴とする符
号変換装置。
(2) A run length method that converts an m-bit data word into an n-bit code word and limits the number of consecutive bits of the same binary value in the bit string obtained by connecting the converted code words to d or more and k or less. A code conversion device for generating a limited code, comprising a code conversion means in which each data word is associated with a code word group including at least one code word, and an output of the code conversion means and a synchronization pattern. a switching means for switching the output of a synchronization pattern generating means for generating a synchronization pattern generating means; a code word selecting means for selecting a code word W2 from a code word group obtained from the outputs of the code converting means and the switching means; and a selection result of the code word W2. Accordingly, the code word W2
a code word modifying means for modifying the selection of the immediately preceding code word W1 from the code word group to which it belongs; a temporary decoding means for generating an identification code for each of a plurality of bit patterns obtained by dividing the code word; code inverse conversion means for generating a value related to a data word corresponding to the code word based on an identification code; and data corresponding to the code word by correcting the output of the code inverse conversion means according to the characteristics of the code word. A code conversion device comprising: data word decoding means for generating data words.
(3)符号変換手段の出力に現われる符号語における1
と0の個数差の絶対値をDPとし、前記DPの最大値を
DPmaxとするとき、同期パターン生成手段が、d、
k制限を満足する符号語のうち、前記DPmaxより大
きいDPを有する符号語のうちの1語を2語続けて出力
し、これを同期パターンとすることを特徴とする請求項
2記載の符号変換装置。
(3) 1 in the code word appearing in the output of the code conversion means
When the absolute value of the difference in the number of 0 and
3. The code conversion according to claim 2, wherein one of the codewords having a DP larger than the DPmax among the codewords satisfying the k limit is outputted two consecutively, and this is used as a synchronization pattern. Device.
(4)符号変換手段が、mビットのデータ語に入力に対
してnビットの符号語W2aを生成する第1の符号語生
成手段と、前記mビットのデータ語入力に対してnビッ
トの符号語W2bを生成する第2の符号語生成手段とに
よりなり、符号語選択手段が直前の符号語W1に関する
情報と、前記符号語W2aに関する情報に基づいて、前
記符号語W2aをW2aと予め組み合わせている他の符
号語W2a’に、または前記符号語W2bをW2bと予
め組み合わせている他の符号語W2b’に置換するか否
かを制御する置換信号生成手段と、前記置換信号生成手
段の出力を遅延させる置換制御信号遅延手段と、前記置
換制御信号遅延手段の出力に基づいて前記符号語W2a
またはW2bをそのまま出力するか、あるいは前記符号
語W2a’またはW2b’に置換して出力する符号語置
換手段とによりなり、符号語修正手段が、前記符号語W
2aを遅延させる第1の遅延手段と、前記符号語W2b
を遅延させる第2の遅延手段と、前記第1の遅延手段の
出力の符号語に関する情報と前記第1の符号生成手段の
出力の符号語W2aに関する情報に基づいて、前第1の
遅延手段の出力の符号語と前記第2の遅延手段の出力の
符号語のいずれか一方をを選択する選択手段とからなる
ことを特徴とする請求項1、2または3記載の符号変換
装置。
(4) a first code word generating means for generating an n-bit code word W2a in response to an input m-bit data word; a second code word generation means for generating a word W2b, and the code word selection means combines the code word W2a with W2a in advance based on information regarding the immediately preceding code word W1 and information regarding the code word W2a. replacement signal generation means for controlling whether or not to replace the code word W2b with another code word W2a' that is currently in use or with another code word W2b' that is previously combined with W2b; a replacement control signal delay means for delaying the code word W2a based on the output of the replacement control signal delay means;
or a code word replacing means that outputs W2b as it is or replaces it with the code word W2a' or W2b', and the code word modifying means outputs the code word W2b.
2a; and a first delay means for delaying the code word W2b.
of the first delay means based on information regarding the code word of the output of the first delay means and information regarding the code word W2a of the output of the first code generation means. 4. The code conversion apparatus according to claim 1, further comprising a selection means for selecting either an output code word or an output code word of said second delay means.
(5)1で始まる符号語W2と前記符号語W2の1を0
、0を1にすべて反転させた符号語W2の裏パターンW
2’が異なるデータ語に対応するとき、符号語生成手段
1がmビットのデータ語Dの入力に対して、符号語W2
aを生成し、前記データDの1を0、0を1にすべて反
転させたデータ語D’の入力に対して、前記符号語W2
aの裏パターンW2a’を生成し、符号語生成手段2が
前記データ語Dの入力に対して、符号語W2bを生成し
、前記データ語D’の入力に対して、前記符号語W2b
の裏パターンW2b’を生成し、符号逆変換手段が前記
符号語W2a、W2b、W2a’、およびW2b’のい
ずれに対しても同一の値を出力し、データ語復号手段が
前記符号逆変換手段の出力を反転させるか否かを制御す
るデータ語反転制御信号を生成するデータ語反転制御信
号生成手段と、前記データ語反転制御信号に基づいて、
前記符号逆変換手段の出力をそのまま前記符号語に対す
るデータ語とするか、あるいわ、前記符号逆変換手段の
出力を反転させて前記符号語に対するデータ語とするか
を選択するデータ語選択手段とによりなることを特徴と
する請求項4記載の符号変換装置。
(5) Code word W2 starting with 1 and the 1 of said code word W2 being set to 0
, the back pattern W of the code word W2 in which all 0s are inverted to 1s.
2' correspond to different data words, the code word generation means 1 generates the code word W2 in response to the input of the m-bit data word D.
The code word W2
The code word generating means 2 generates the code word W2b in response to the input of the data word D, and the code word W2b is generated in response to the input of the data word D'.
, the code inverse converting means outputs the same value for each of the code words W2a, W2b, W2a', and W2b', and the data word decoding means generates the code inverse converting means a data word inversion control signal generating means for generating a data word inversion control signal for controlling whether to invert the output of the data word inversion control signal; and based on the data word inversion control signal,
data word selection means for selecting whether to use the output of the code inverse conversion means as it is as a data word for the code word or to invert the output of the code inverse conversion means and use it as a data word for the code word; 5. The code conversion device according to claim 4, characterized in that:
JP63207665A 1988-08-22 1988-08-22 Code conversion device Expired - Fee Related JP2794719B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63207665A JP2794719B2 (en) 1988-08-22 1988-08-22 Code conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63207665A JP2794719B2 (en) 1988-08-22 1988-08-22 Code conversion device

Publications (2)

Publication Number Publication Date
JPH0256118A true JPH0256118A (en) 1990-02-26
JP2794719B2 JP2794719B2 (en) 1998-09-10

Family

ID=16543528

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63207665A Expired - Fee Related JP2794719B2 (en) 1988-08-22 1988-08-22 Code conversion device

Country Status (1)

Country Link
JP (1) JP2794719B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59181759A (en) * 1983-03-31 1984-10-16 Toshiba Corp Digital code converting system
JPS61107817A (en) * 1984-10-31 1986-05-26 Hitachi Ltd Binary code converting method
JPS6216619A (en) * 1985-07-16 1987-01-24 Matsushita Electric Ind Co Ltd Code converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59181759A (en) * 1983-03-31 1984-10-16 Toshiba Corp Digital code converting system
JPS61107817A (en) * 1984-10-31 1986-05-26 Hitachi Ltd Binary code converting method
JPS6216619A (en) * 1985-07-16 1987-01-24 Matsushita Electric Ind Co Ltd Code converter

Also Published As

Publication number Publication date
JP2794719B2 (en) 1998-09-10

Similar Documents

Publication Publication Date Title
AU593096B2 (en) Method and apparatus for implementing optium PRML codes
US4985700A (en) Variable-length coding/decoding device
JPS6192476A (en) Channel coding method
JPH0319735B2 (en)
EP0557130B1 (en) Data conversion method and recording/reproducing apparatus using the same
JPH1186458A (en) Modulating device and method, demodulating device and method and transmission medium
JPH01286626A (en) Data encoding system
JPH0256118A (en) Code converter
JPH11145841A (en) Modulation device/method, demodulation device/method and transmission medium
JP2007533053A (en) Modulation code system and signal encoding and decoding method
JP2005502257A (en) Modulation code system and method for encoding and decoding signals by multiple integration
JPS63204822A (en) Code converter
JP4095440B2 (en) Apparatus and method for encoding information, apparatus and method for decoding the encoded information, modulation signal, and recording medium manufacturing method
JPS60248025A (en) Binary data converting and decoding system
JP2606194B2 (en) Digital signal transmission equipment
JPS635826B2 (en)
JPH0783273B2 (en) Code converter
JPH0349076A (en) Variable length recording encoding system for digital signal
JP2005513706A (en) Data stream encoding method
JPH01221918A (en) Variable length code converter
JP3337589B2 (en) Binary data encoding / decoding method
JPS635825B2 (en)
JPS62164279A (en) Code converter
JP2002216435A (en) Modulation method, modulator, demodulation method, demodulator, information recording medium, information transmission method, and information transmission device
JPH05266602A (en) Clock circuit and magnetic disc unit employing clock circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees