[go: up one dir, main page]

JPH02131022A - Encoder/decoder - Google Patents

Encoder/decoder

Info

Publication number
JPH02131022A
JPH02131022A JP28439388A JP28439388A JPH02131022A JP H02131022 A JPH02131022 A JP H02131022A JP 28439388 A JP28439388 A JP 28439388A JP 28439388 A JP28439388 A JP 28439388A JP H02131022 A JPH02131022 A JP H02131022A
Authority
JP
Japan
Prior art keywords
code
circuit
bit
encoding
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.)
Granted
Application number
JP28439388A
Other languages
Japanese (ja)
Other versions
JP2731189B2 (en
Inventor
Ritsu Takeda
立 武田
Minoru Saito
実 齊藤
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP63284393A priority Critical patent/JP2731189B2/en
Publication of JPH02131022A publication Critical patent/JPH02131022A/en
Application granted granted Critical
Publication of JP2731189B2 publication Critical patent/JP2731189B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To decrease a processing circuit in speed and to reduce a cost by providing an encoder converting a code into a 11-bit code word and giving a function reading the code word generated by the encoder and outputting the result sequentially as the 11-bit code word to a timing circuit in addition. CONSTITUTION:The sequence of data words 1 expressed as series '0' and '1' applied to a coding circuit 3 is divided into data words in 8-bit each by a timing circuit 5 and fed to a coder 4 sequentially. The 8-bit data word fed to the coder 4 is converted into a 11-bit code word 2 according to the reference list between codes exclusive for coding stored in a ROM in the coder 4. It is stored in advance in the ROM as the reference list between codes and the list converts and outputs the pattern of the data word inputted to the coder. Thus, the recording with a lower clock rate and longer recording bit length is applied in comparison with 2, 7 codes, a 4/15 code to attain the optical recording with high quality.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、光記録再生の分野において、データへの変換
は、一般に、論理回路によるシーケンスを用いた順変換
方式や、データ語を特定のコード間対応表を記憶させた
ROMを内臓する符号化器に印加し、該符号化器により
該コード間対応表にしたがって符号語のパターンに変換
する方式、などがとられている。このようにして、符号
化器から生成した符号語のパターンに従い、レーザ光の
強度が変調され、記録媒体上に記録される。また、再生
する場合の複合語から符号語への変換は、論理回路によ
るシーケンスを用いた逆変換方式や、記録媒体から読み
取った符号語のパターンを、特定のコード間対応表を記
憶させたROMを内臓する復号化器に印加し、該復号化
器よりコード間対応表にしたがって変換されたデータ語
のパターンを生成し、原信号に変換して取り出す方式、
などがとられている。しかしながら、データ語から符号
語への変換方式は、前述したようにビットレートや記録
密度を左右し、また、この変換をROMに記憶させた特
定のコード間対応表によって行う場合には、変換方式に
より、ROMの大きさが左記を符号化および符号語を復
号化するための新規な装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is applied in the field of optical recording and reproducing, where conversion to data is generally performed by a forward conversion method using a sequence using a logic circuit or by converting data words into specific words. A method has been adopted in which the signal is applied to an encoder containing a ROM storing an inter-code correspondence table, and the encoder converts the signal into a code word pattern according to the inter-code correspondence table. In this way, the intensity of the laser beam is modulated according to the code word pattern generated by the encoder and recorded on the recording medium. In addition, conversion from a compound word to a code word during playback can be performed using an inverse conversion method using a sequence using a logic circuit, or by converting a code word pattern read from a recording medium into a ROM that stores a specific code-to-code correspondence table. A method in which the decoder generates a data word pattern converted according to an inter-code correspondence table, converts it into an original signal, and extracts it.
etc. are taken. However, as mentioned above, the conversion method from data words to code words affects the bit rate and recording density, and when this conversion is performed using a specific code correspondence table stored in ROM, the conversion method The present invention relates to a novel device for encoding and decoding codewords with a ROM size.

[従来の技術] 光ディスクなどのディジタル光記録の分野においては、
記録すべき原信号を、先ず2進法に基づき0゛と‘1’
の数列で表される8ビットからなるデータ語のパターン
に変換する。この場合、データ語のパターンをそのまま
光ディスクに記録すると、一般に次のような問題点が生
ずる。すなわち、データ語において‘0’や1”が連続
すると、再生信号の直流成分が変動し、フォーカスサー
ボやトラッキングサーボを乱すため、 ′0“や1′の
連続する長さに、ある上限を設けるように制御する。こ
のように、データ語のパターンを適当な形の符号語のパ
ターンに変換して記録する。したがって、如何なる方式
によりデータ語から符号語に変換するか、あるいは複合
語からデータ語に変換するかが、ビットレートや記録密
度や再生精度の向上にとって重要な鍵となる。
[Prior Art] In the field of digital optical recording such as optical discs,
First, the original signal to be recorded is divided into 0 and '1' based on the binary system.
It is converted into a data word pattern consisting of 8 bits expressed as a sequence of numbers. In this case, if the data word pattern is recorded as is on the optical disk, the following problems generally occur. In other words, if there are consecutive '0's or 1's in a data word, the DC component of the reproduced signal will fluctuate and the focus servo or tracking servo will be disturbed, so a certain upper limit is set for the length of consecutive '0's or 1's. Control as follows. In this way, the data word pattern is converted into an appropriate code word pattern and recorded. Therefore, the key to improving the bit rate, recording density, and reproduction accuracy is how to convert data words into code words or convert compound words into data words.

このうち、記録する場合のデータ語から符号語右される
Among these, the code word is determined from the data word to be recorded.

このようなデータ語から符号語への変換方式としては、
従来から幾つかの方式が提案されており、光記録におい
ては(2,7)コード(特開昭5O−142131)お
よび4/15コード(特開昭6O−182061)が代
表的なものとして知られている。このうち、(2,7)
コードは、原データ語のシーケンスを、2倍のビット長
の符号語のシーケンスに変換する方式であり、結果的に
、8ビット長のデータ語は、16ビット長の符号語に変
換されているものと考えられる。(2,7)コードでは
、よく知られているように、コード間対応表が7通りの
ビットパターンですむため、符号化器内のROMを小さ
くできる利点がある。
The conversion method from data words to code words is as follows:
Several methods have been proposed in the past, and the (2,7) code (Japanese Patent Application Laid-open No. 5O-142131) and the 4/15 code (Japanese Patent Application Laid-open No. 6O-182061) are known as representative ones for optical recording. It is being Of these, (2,7)
The code is a method of converting a sequence of original data words into a sequence of code words that are twice as long as the bits, and as a result, an 8-bit long data word is converted into a 16-bit long code word. considered to be a thing. As is well known, the (2,7) code has the advantage that the ROM in the encoder can be made smaller because the code correspondence table requires only seven bit patterns.

一方、4/15コードは、8ビット長の原データ語のシ
ーケンスを、15ビット長からなる符号語に直接変換す
る符号化方式である。この場合、変換された符号語とし
ては、215=32768通りの“‘0’と‘1’の数
列で表されるビットパターンの組み合わせが考えられる
が、4/15コードでは、このビットパターンの組み合
せの中から、偶数番目のグループおよび奇数番目のグル
ープをビット群としてを取り出し、各グループのビット
群内において‘1’が2つ存在するものを選び出し、デ
ータ語のパターンに対応させているので、1ビットパタ
ーンの符号語の中に含まれる 1′の数が4個に制限さ
れている特徴がある。
On the other hand, the 4/15 code is an encoding method that directly converts a sequence of 8-bit original data words into a 15-bit code word. In this case, there are 215 = 32,768 possible combinations of bit patterns represented by a sequence of '0' and '1' as the converted code word, but in the 4/15 code, this combination of bit patterns We extract the even-numbered groups and the odd-numbered groups as bit groups, and select those in which there are two '1's in the bit groups of each group, and make them correspond to the data word pattern. A feature is that the number of 1's included in a code word of a 1-bit pattern is limited to four.

[発明の解決しようとする課題] 上述したように、(2,7)コード、4/15コードな
どの従来の符号化方式では、コード間対応表が小規模で
すむため、ROMを比較的小さくできる利点がある。し
かしながら、ビットレートについて比較すると、符号語
に変換して記録した場合は、データ語をそのまま記録し
た場合の(2,7)コードで2倍、4/15コードで1
5/8倍となり、それにつれて処理回路の速度を速くし
なければならない問題点があった。また、処理回路の速
度に上限がある場合には、必要なデータ語の転送速度が
得られないという問題点もあった。
[Problem to be solved by the invention] As mentioned above, in conventional encoding methods such as (2,7) code and 4/15 code, the correspondence table between codes can be small, so the ROM can be made relatively small. There are advantages that can be achieved. However, when comparing the bit rates, when converted to code words and recorded, the (2,7) code is twice as much as the data words are recorded as they are, and the 4/15 code is 1 times the bit rate.
5/8 times, and there was a problem in that the speed of the processing circuit had to be increased accordingly. Furthermore, if there is an upper limit to the speed of the processing circuit, there is also the problem that the required data word transfer speed cannot be obtained.

本発明は、上記問題点を解決し、ピントレート7ビ ツト るためのビット抜取り回路と、該ビット抜取り回路から
出力した7ビットからなる第1群のデータ語を読め取り
、コード間対応機能を備えたROMにより7個の‘0’
と4個の‘1’からなる11ビットの符号語に変換し.
、且つ変換された11ビットからなる符号語を第1群の
符号語として蓄積するための符号化器と、該符号化器内
に蓄積された第1群の符号語の各々のMSBとLSBを
反転するための符号順列反転回路とを備え、且つ前記符
号化回路に、第1番から第128番までのデータ語の符
号化に際しては、前記符号化器に蓄積された第1群の符
号語の出力をもって変換結果とし、第129番のデータ
語から第256番のデータ語の符号化に際しては、前記
符号化器内に蓄積された第1群の符号語のMSBとLS
Bを反転して得られる符号語をもって変換結果として出
力させる機能を持たせると共に、再生した符号語の復号
化に際しては、復号化を行うための復号化回路内に7個
の‘0’と4個の1”からなる11ビットの増加または
クロック周波数の低減可能な符号化器および復号化器を
備えた符号化・復号化装置を提供することを目的とする
The present invention solves the above problems and includes a bit extraction circuit for determining the pin rate of 7 bits, a function for reading a first group of data words consisting of 7 bits output from the bit extraction circuit, and a code-to-code correspondence function. 7 '0' by ROM
and converted into an 11-bit code word consisting of four '1's.
, and an encoder for storing the converted codeword consisting of 11 bits as a first group of codewords, and an MSB and LSB of each of the first group of codewords stored in the encoder. and a code permutation inversion circuit for inverting, and when encoding data words No. 1 to No. 128, the code words of the first group stored in the encoder are provided in the encoding circuit. The output of is the conversion result, and when encoding the 129th data word to the 256th data word, the MSB and LS of the first group of code words stored in the encoder are
In addition to providing a function to output the code word obtained by inverting B as a conversion result, when decoding the reproduced code word, seven '0's and 4 ' It is an object of the present invention to provide an encoding/decoding device equipped with an encoder and a decoder that can increase the number of 1'' bits or decrease the clock frequency by 11 bits.

[課題を解決するための手段] 上記目的を達成するため、本発明の符号化・復号化装置
では、符号化を行うための符号化回路内に、データ語の
シーケンスを8ビットずつのシンボルに分けるためのタ
イミング回路と、該タイミング回路からの8ビットのデ
ータ語を読み取り、コード間対応機能を備えたROMに
より7個の0′と4個の1“からなる11ビットの符号
語に変換するための符号化器を備え、且つ前記タイミン
グ回路に、前記符号化器にて生成した符号語を読み取り
、11ビットずつの符号語として順次出力させる機能を
合わせ持たせたことを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the encoding/decoding device of the present invention converts a sequence of data words into symbols of 8 bits each in an encoding circuit for encoding. A timing circuit for dividing the code and an 8-bit data word from the timing circuit are read and converted into an 11-bit code word consisting of 7 0's and 4 1's by a ROM equipped with an inter-code correspondence function. The present invention is characterized in that the timing circuit has a function of reading the code word generated by the encoder and sequentially outputting it as a code word of 11 bits each.

また、該符号化回路内に、符号語の生成に先立ち、第1
番のデータ語から第256番までのデータ語を表す8ビ
ットのデータ語のシーケンスを読み取り、第1番から第
128番までのデータ語をの符号語を読み取り出力する
ためのスイッチ回路と、該スイッチ回路から出力した1
1ビットからなる符号語を読み取り、アドレスとしてコ
ード間対応機能を備えたROMにより8ピッ1−からな
るデータ語に変換するための復号化器と、ビットパター
ン判定回路である2ビットデコーダと、該2ビットデコ
ーダが偽を出力した場合に符号語の順列を反転させるた
めの符号順列反転回路と、前記復号化器からの出力を複
合されたデータ語として前記復号化回路から出力させる
ための選択回路とを備えたことを別の特徴とする。
In addition, in the encoding circuit, a first
a switch circuit for reading a sequence of 8-bit data words representing data words numbered to number 256, and reading and outputting code words of data words numbered 1 to 128; 1 output from the switch circuit
a decoder for reading a code word consisting of 1 bit and converting it into a data word consisting of 8 pins 1- by a ROM having an inter-code correspondence function as an address; a 2-bit decoder serving as a bit pattern determination circuit; a code permutation inversion circuit for inverting the permutation of code words when the 2-bit decoder outputs false; and a selection circuit for causing the output from the decoder to be output from the decoding circuit as a composite data word. Another feature is that it has the following.

[作用] このような符号化・復号化装置によれば、まずデータ語
の符号化に際しては、8ビットからなる1バイトのデー
タ語が、高々11ビットの符号語に変換されるにすぎな
いので、(2.7)コードや4/15コードによる符号
語に比べて、変換後のビット数が少なく、そのため、処
理回路の低速化すなわちコストの低減が期待でき、さら
に、変換された符号語の中での‘1’の占める割合は1
1分の4と一定であるため、一種のDCフリーコードが
得られる。また、2段階操作により符号化するため、符
号化に際して小さなROMでコード間対応表を構成する
ことができる。
[Operation] According to such an encoding/decoding device, when encoding a data word, a 1-byte data word consisting of 8 bits is only converted into a code word of 11 bits at most. , (2.7) code or 4/15 code, the number of bits after conversion is smaller, so it can be expected that the speed of the processing circuit will be reduced, that is, the cost will be reduced. The proportion of '1' in it is 1
Since it is constant at 4/1, a kind of DC-free code is obtained. Further, since encoding is performed by a two-step operation, an inter-code correspondence table can be constructed using a small ROM during encoding.

一方、符号語の復号化に際しては、符号語の中において
°1′が4個であるという規則を利用することにより、
誤り語を発見したり、曖昧な符号語からデータ語を正確
に復号化することができる。
On the other hand, when decoding a code word, by using the rule that there are four °1's in a code word,
Error words can be found and data words can be accurately decoded from ambiguous code words.

また、2段階操作により復号化するため、復号化に際し
て小さなROMでコード間対応表を構成することができ
る。
Furthermore, since decoding is performed by a two-step operation, an inter-code correspondence table can be constructed using a small ROM during decoding.

[実施例] 以下、図面により本発明の詳細な説明する。[Example] Hereinafter, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の符号化・復号化装置の第1の実施例
における符号化を行うための符号化回路を示すもので、
1はデータ語、2は符号語、3は符号化回路、4はRO
Mを内臓する符号化器、5はタイミング回路である。
FIG. 1 shows an encoding circuit for encoding in a first embodiment of the encoding/decoding apparatus of the present invention.
1 is data word, 2 is code word, 3 is encoding circuit, 4 is RO
5 is a timing circuit.

符号化回路3に印加された“0′と‘1’の数列で表さ
れるデータ語1のシーケンスは、タイミパターンの中か
ら、4連続する ‘1’が含まれないようなビットパタ
ーンを選び、更に符号語相互の接続部にも4連続する 
1°がないように語尾に3連続する1′を含まないビッ
トパターンを昇順に並べて作成しである。
The sequence of data word 1, which is expressed as a sequence of 0's and 1's, is applied to the encoding circuit 3 by selecting a bit pattern that does not include four consecutive 1's from among the timing patterns. , furthermore, there are 4 consecutive codes at the connection between code words
It is created by arranging three consecutive bit patterns that do not include 1' at the end of a word in ascending order so that there is no 1°.

(以下余白) ング回路5により8ビットずつのデータ語に分けられ、
順次符号化器4に送り込まれる。符号化器4に送り込ま
れた8ビットのデータ語は、符号化器4内のROMに記
憶された符号化専用のコード間対応表にしたがって11
ビットからなる符号語2に変換される。このような変換
方式は公知のものであるが、本発明は、以下に述べるよ
うにコード間対応表に特別の工夫を施したことを特徴と
している。
(Left below) is divided into data words of 8 bits each by the processing circuit 5,
The data are sequentially sent to the encoder 4. The 8-bit data word sent to the encoder 4 is divided into 11 and 11 bits according to an inter-code correspondence table dedicated to encoding stored in the ROM in the encoder 4.
It is converted into a code word 2 consisting of bits. Although such a conversion method is well known, the present invention is characterized in that a special modification has been made to the code correspondence table as described below.

即ち、この場合の符号語としては、211=2048通
りのビットパターンの組み合せが考えられるが、この中
から先ず“‘0’と4つの‘1’の組み合わせからなる
330通りのビットパターンを選択し、更に光記録に適
したパターンを255通り選ぶ。これをコード間対応表
として予めROMに記憶させておき、符号化器に入力し
たデータ語のパターンに対応させて符号語に変換・出力
する。
In other words, as a code word in this case, there are 211 = 2048 possible combinations of bit patterns, but from among these, we first select 330 bit patterns consisting of combinations of '0' and four '1's. Furthermore, 255 patterns suitable for optical recording are selected.These are stored in the ROM in advance as an inter-code correspondence table, and are converted and output into code words in correspondence with the data word patterns input to the encoder.

このようにして定めた4/11コードにおけるコード間
対応表の1例を第1表に示す。木表は、利用可能な33
0個の‘1’を4個含む11ビット第1表 符号語に変換されたビットパターンは、再度タイミング
回路5を経て順次符号化回路3から出力される。このよ
うなデータ語/符号語変換工程は、データ語がなくなる
まで続けられる。したがって、このように構成された符
号化回路を用いることにより、ビットレートは、従来の
変換方式である2/7コードの11/16倍、4/15
コードの11/15倍と小さ(なり、その結果、再生信
号振幅を大きく取り出すことができ、装置全体の信頼性
を向上させることができる。また、記録/再生のクロッ
ク周波数も、従来の2/7コードの11/16倍、4/
15コードの11/15倍と低くなるため、符号化・復
号化装置をLSI化する場合に有利となる。尚、実施例
1に係わる復号化回路については、その機能が上述した
符号化回路の機能を反転したものであるため、ここでは
説明を省略する。
An example of an inter-code correspondence table for the 4/11 code determined in this way is shown in Table 1. There are 33 wooden tables available.
The bit pattern converted into an 11-bit Table 1 code word containing four zero '1's is sequentially outputted from the encoding circuit 3 via the timing circuit 5 again. This data word/code word conversion process continues until there are no more data words. Therefore, by using the encoding circuit configured in this way, the bit rate is 11/16 times that of the 2/7 code, which is the conventional conversion method, and 4/15
The code is 11/15 times smaller (as a result, a larger reproduced signal amplitude can be extracted and the reliability of the entire device can be improved. Also, the recording/reproducing clock frequency is 2/15 times smaller than that of the conventional code). 11/16 times the 7 chord, 4/
Since it is 11/15 times lower than that of 15 codes, it is advantageous when implementing an encoding/decoding device into an LSI. Note that the decoding circuit according to the first embodiment has a function that is an inversion of the function of the above-mentioned encoding circuit, so a description thereof will be omitted here.

第2図は、本発明の符号化・復号化装置の第2の実施例
における符号化を行う場合の符号化回路を示すもので、
6はビット抜取り回路、7は符号順列反転回路である。
FIG. 2 shows an encoding circuit for encoding in a second embodiment of the encoding/decoding device of the present invention.
6 is a bit extraction circuit, and 7 is a code permutation inversion circuit.

この場合には、符号語の生成に先立ち、先ず、符号化回
路3に印加された第1番のデータ語から第256番まで
のデータ語を表す8ビットのデータ語のシーケンスから
、ビット抜取り回路6により、7ビットからなる第1番
のデータ語から第128番までのデータ語を取り出して
データ語の第1群となし、該第1群のデー第2表−2(
逆順) このようにして、第1番から第128番までのデータ語
の符号化に際しては、符号化器4に蓄積された第1群の
符号語の出力をもって変換結果とし、第129番のデー
タ語から第256番のデータ語の符号化に際しては、符
号順列反転回路7にり語を、符号化器4内のROMに記
憶された第2表に示すコード間対応表にしたがって7個
の°O′と4個の′1°からなる11ビットの符号語に
変換し、且つ変換されたIIビットからなる符号語を第
1群の符号語として符号化器4に蓄積する。
In this case, prior to generating a code word, a bit sampling circuit first extracts data from a sequence of 8-bit data words representing data words from the first data word to the 256th data word applied to the encoding circuit 3. 6, the data words from the 1st to the 128th data word consisting of 7 bits are taken out as the first group of data words, and the data of the first group are shown in Table 2-2 (
In this way, when encoding the data words No. 1 to No. 128, the output of the first group of code words stored in the encoder 4 is used as the conversion result, and the data word No. 129 is used as the conversion result. When encoding the 256th data word from the word, the code permutation inversion circuit 7 converts the word into seven degrees according to the code correspondence table shown in Table 2 stored in the ROM in the encoder 4. It is converted into an 11-bit code word consisting of O' and four '1 degrees, and the converted code word consisting of II bits is stored in the encoder 4 as a first group of code words.

第2表−1(正順) より、第1群の符号語の各々のMSB (Mo s t
Significant  Bits)とLSB(Le
ast  51gn1ficant  BitS)を反
転して得られる符号語をもって変換結果とし、第2群の
符号語として符号化回路3から出力する。この変換方式
により得られる効果も、実施例1の場合と同様であるが
、コード間対応表を記憶させるためのROMが半分です
む利点を新たに持つ。ここで用いたコード間対応表を示
す第2表については、第1表の符号語のビットパターン
を構成する規則に加えて、先ず330個の中から左右対
称のものを取り除き、次に順列を左右反転した時に第1
表の条件を満足したものを取り出したちの148個を定
め、この中から値の小さな128個を残したものである
。したがって、これらの符号語は、 1”の数が4個で
あることはもちろん、順列を反転すると各々全く別の符
号になり、合計256通りのビットパターンが作られる
。これらは、8ビット×128ワードのROMに入るの
でROMの大きさは、実施例1の場合の半分で済む。尚
、本実施例では、第2群の符号語を第1群の符号語の順
列反転により得ているが、その他に次のような方法もあ
る。即ち、第1群の符号語を一定ビット回転(ローチー
日させることにより第2群の符号語を得る方法、あるい
は、第1群を一定の規則に従って擬似ランダムに並べ替
えを行う方法などがある。
From Table 2-1 (in order), the MSB (Most
Significant Bits) and LSB (Le
The code word obtained by inverting the code word (ast 51gn1ficant BitS) is used as a conversion result, and is output from the encoding circuit 3 as a second group of code words. The effects obtained by this conversion method are similar to those of the first embodiment, but there is a new advantage that the ROM for storing the code correspondence table can be halved. Regarding Table 2, which shows the code-to-code correspondence table used here, in addition to the rules for configuring the bit patterns of code words in Table 1, we first remove left-right symmetrical ones from among the 330, and then perform permutation. When horizontally reversed, the first
148 items were selected that satisfied the conditions in the table, and 128 items with the lowest values were retained. Therefore, not only do these codewords have four 1's, but when their permutations are reversed, they become completely different codes, creating a total of 256 bit patterns.These are 8 bits x 128 Since the word ROM is stored, the size of the ROM is only half that of the first embodiment.In this embodiment, the code words of the second group are obtained by reversing the permutation of the code words of the first group. In addition, there are also the following methods: obtaining the second group of codewords by subjecting the first group of codewords to constant bit rotation, or There are methods to perform random sorting.

第3図は、第2の実施例における復号化を行う場合の復
号化回路を示すものであり、8は復号化回路、9はスイ
ッチ回路、10はスイッチ、11は復号化器、12はR
OM入力ハス、13はROM出力ハス、14はピッl−
8線、15は符号語入力線、16はクロック線、17は
2ビットデコダ、18は選択回路、19は復号データ語
出力線である。この場合、入力符号語は正順と逆順で各
/sROM参照を試みることになるため、半分以下のR
OMで複合化することができる。クロック線16には、
入力符号語の1ハイドごとに1周期を示すクロック信号
が発生ずるようにしである。入力符号語は、1ハイドず
つ符号語入力線15に現とを表示する。
FIG. 3 shows a decoding circuit for decoding in the second embodiment, where 8 is a decoding circuit, 9 is a switch circuit, 10 is a switch, 11 is a decoder, and 12 is an R
OM input lotus, 13 is ROM output lotus, 14 is pin l-
8 lines, 15 is a code word input line, 16 is a clock line, 17 is a 2-bit decoder, 18 is a selection circuit, and 19 is a decoded data word output line. In this case, since the input code word attempts to refer to each /sROM in forward and reverse order, the R
Can be combined with OM. The clock line 16 has
A clock signal indicating one cycle is generated for each hide of the input code word. The input code word is displayed on the code word input line 15 one by one.

次に、第2の逆順符号(符号化で反転して符号化した第
2群の符号語)の復号化では、クロック信号が真の時、
スイッチ回路9内のスイッチ1゜は正順の再生符号語を
復号化器11内のROMに送付する。復号化器11は、
当該アドレスの内容データをROM出カバ゛ス13に出
力するが、この時、ROM出力バス13のビット8線1
4は‘0’を出力してROM内容が無効であることを表
示するように予めROM内に格納しである。
Next, in decoding the second reverse order code (the second group of code words inverted and encoded during encoding), when the clock signal is true,
The switch 1° in the switch circuit 9 sends the reproduced code words in forward order to the ROM in the decoder 11. The decoder 11 is
The content data at the address is output to the ROM output bus 13, but at this time, the bit 8 line 1 of the ROM output bus 13
4 is stored in the ROM in advance so as to output '0' to indicate that the ROM contents are invalid.

従って、クロック信号は真であるがビット8線14は偽
なので、2ビットデコーダ17はROM出力ハス13の
データ語を復号データ語出力線19に出力しない。この
後、クロック信号が偽になると、スイッチ10は再生符
号語の順列反転データをROMに送付するので、ROM
出力バス13には復号データ語が出力され、且つビット
8線14は真を出力して有効な復号データ語であること
を表示する。そこで、クロック信号が偽でビット8線1
4も偽の時は、2ビットデコーダ17は符号順れるもの
とする。以下に復号動作を2つの場合に分けて説明する
Therefore, since the clock signal is true but the bit 8 line 14 is false, the 2-bit decoder 17 does not output the data word on the ROM output lot 13 to the decoded data word output line 19. After this, when the clock signal becomes false, the switch 10 sends the permuted data of the reproduced code word to the ROM.
The decoded data word is output to the output bus 13, and the bit 8 line 14 outputs true to indicate a valid decoded data word. Therefore, if the clock signal is false, bit 8 line 1
When 4 is also false, the 2-bit decoder 17 is assumed to be in code order. The decoding operation will be explained below in two cases.

先ず、第1の正順符号(符号化で反転せずに済んだ第1
群の符号語)の復号化では、クロック信号が真の時、ス
イッチ回路9内のスイッチ10ば正順の再生符号語をR
OM入力バス12を通してで復号化器II内のROMに
送付する。復号化器11は、当該アドレスの内容データ
をROM出力バス13に出力するが、この時、ROM出
力バス13のビット8線14が有効な復号語として真を
出力した時゛I゛を表示するよう予めROM内に格納し
である。従って、クロック信号が真で、且つビット8線
14も真の時、2ビットデータデコーダ17はROM出
力バス13の復号データ語を復号データ語出力線19に
出力する。一方、クロック信号が偽の時は、スイッチ1
0は符号順列反転回路7を通って反転され、再生符号語
の順列反転符号語をROM入力パス12を通して復号化
器11内のROMに送付するので、ROM出力バス13
には全て“0“を出力して逆順符号でないこ列反転回路
7′を経由した出力を復号データ語出力線19に出力す
る。尚、前記符号化の項で述べたような第2群の生成方
法の場合には、これらに対応し、順列反転データにかえ
て以下の操作を行う。即ち、一定ビット回転による生成
の場合、逆回転によるデータパターンや擬似ランダム並
べ替えを用いた場合には、逆変換による並べ替えを利用
する。
First, the first forward code (the first code that did not need to be inverted during encoding)
When the clock signal is true, the switch 10 in the switch circuit 9 converts the reproduced codeword in the forward order into R.
via the OM input bus 12 to the ROM in the decoder II. The decoder 11 outputs the content data of the address to the ROM output bus 13, and at this time, when the bit 8 line 14 of the ROM output bus 13 outputs true as a valid decoded word, "I" is displayed. It is stored in the ROM in advance. Therefore, when the clock signal is true and the bit 8 line 14 is also true, the 2-bit data decoder 17 outputs the decoded data word on the ROM output bus 13 to the decoded data word output line 19. On the other hand, when the clock signal is false, switch 1
0 is inverted through the code permutation circuit 7 and sends the permuted code word of the reproduced code word to the ROM in the decoder 11 through the ROM input path 12 so that the ROM output bus 13
All "0"s are outputted to the decoded data word output line 19, and the output via the column inversion circuit 7', which is not a reverse order code, is outputted to the decoded data word output line 19. Note that in the case of the second group generation method as described in the above encoding section, the following operations are performed instead of the permuted data correspondingly. That is, in the case of generation by constant bit rotation, in the case of using a data pattern by reverse rotation or pseudo-random rearrangement, rearrangement by inverse transformation is used.

[効果] 以上説明したように、本発明の符号化・復号化装置によ
れば、8ビットのデータ語を容易に変換して11ビット
の複合語にできるので、従来の(2,7)コード、4/
15コードに比べ、クロックレートが低く、記録ビット
長の長い記録が実現でき、品質の良い光記録が実現でき
る。
[Effect] As explained above, according to the encoding/decoding device of the present invention, an 8-bit data word can be easily converted into an 11-bit compound word, so that the conventional (2,7) code can be easily converted into an 11-bit compound word. ,4/
Compared to the 15 code, the clock rate is lower, recording with a longer recording bit length can be realized, and high-quality optical recording can be realized.

また、データクロック速度に比べて、符号語クロック速
度の増加が少ないので、処理回路の低価格化に寄与し、
処理速度一定の条件下ではデータクロック速度を向上さ
せうる。
Additionally, since the codeword clock speed increases less than the data clock speed, it contributes to lower costs for processing circuits.
Under conditions of constant processing speed, the data clock speed can be increased.

更に、一般に符号化と復号化に大きなROMが必要であ
る表装換型符号であるにもかかわらず、符号語の復号化
に際しては、2段階操作によりROMの大きさを半分以
下にできる利点もある。
Furthermore, although removable codes generally require a large ROM for encoding and decoding, they have the advantage of being able to reduce the size of the ROM by more than half through a two-step operation when decoding codewords. .

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

第1図は、本発明の符号化・復号化装置における符号化
を行う場合の符号化回路を示す第1の実施例であり、第
2図は、本発明の符号化・復号化装置における符号化を
行う場合の符号化回路を示す第2の実施例であり、第3
図は、第2の実施例における復号化を行う場合の復号化
回路を示すものである。 1・・・・・・符号語    2・・・・・・複合語3
・・・・・・符号化回路  4・・・・・・符号化器訃
・・・・・タイミング回路 6・・・・・・ビット抜取り回路 7.7゛・・・・・・符号順列反転回路8・・・・・・
復号化回路  9・・・・・・スイッチ回路10・・・
・・・スイッチ   11・・・・・・復号化器12・
・・・・・ROM入力ハス 13・・・・・・ROM出力ハス 14・・・・・・ビット8線 16・・・・・・クロック線 18・・・・・・選択回路 15・・・・・・符号語入力線 17・・・・・・2ビットデコーダ 19・・・・・・複合データ語出力線
FIG. 1 shows a first embodiment of the encoding circuit used in the encoding/decoding device of the present invention for encoding, and FIG. 2 shows the encoding circuit in the encoding/decoding device of the present invention. This is a second embodiment showing an encoding circuit for performing encoding;
The figure shows a decoding circuit for performing decoding in the second embodiment. 1... Code word 2... Compound word 3
... Encoding circuit 4 ... Encoder death ... Timing circuit 6 ... Bit sampling circuit 7.7゛ ... Code permutation inversion Circuit 8...
Decoding circuit 9...Switch circuit 10...
...Switch 11...Decoder 12.
...ROM input lotus 13...ROM output lotus 14...Bit 8 line 16...Clock line 18...Selection circuit 15... ... Code word input line 17 ... 2-bit decoder 19 ... Compound data word output line

Claims (2)

【特許請求の範囲】[Claims] (1)符号化機能と復号化機能を合わせ備えた符号化・
復号化装置において、符号化を行うための符号化回路内
に、データ語のシーケンスを8ビットずつのシンボルと
して読み取り・出力するためのタイミング回路と、該タ
イミング回路から出力された8ビットずつのシンボルを
読み取り、コード間対応機能を備えたROMにより7個
の‘0’と4個の‘1’からなる11ビットの符号語に
変換するための符号化器とを備え、且つ、前記タイミン
グ回路に、該符号化器にて生成した符号語を読み取り、
11ビットずつの符号語として順時前記符号化回路から
出力させる機能を合わせ持たせたことを特徴とする符号
化・復号化装置。
(1) Encoding and decoding functions that combine encoding and decoding functions
In the decoding device, a timing circuit for reading and outputting a sequence of data words as a symbol of 8 bits each is included in an encoding circuit for encoding, and a symbol of 8 bits each output from the timing circuit. and an encoder for reading the code and converting it into an 11-bit code word consisting of 7 '0's and 4 '1's using a ROM having an inter-code correspondence function, and the timing circuit. , reads the code word generated by the encoder,
An encoding/decoding device characterized in that it also has a function of sequentially outputting code words of 11 bits from the encoding circuit.
(2)符号化機能と復号化機能を合わせ備えた符号化・
復号化装置において、符号化を行うための符号化回路内
に、符号語の生成に先立ち、第1番のデータ語から第2
56番までのデータ語を表す8ビットのデータ語のシー
ケンスを読み取り、第1番から第128番までのデータ
語を7ビットからなる第1群のデータ語として出力する
ためのビット抜取り回路と、該ビット抜取り回路から出
力した7ビットからなる第1群のデータ語を読み取り、
コード間対応機能を備えたROMにより7個の‘0’と
4個の‘1’からなる11ビットの符号語に変換し、且
つ変換された11ビットからなる符号語を第1群の符号
語として蓄積するための符号化器と、該符号化器内に蓄
積された第1群の符号語の各々のMSBとLSBを反転
するための符号順列反転回路とを備え、且つ前記符号化
回路に、第1番から第128番までのデータ語の符号化
に際しては、前記符号化器に蓄積された第1群の符号語
の出力をもって変換結果とし、第129番のデータ語か
ら第256番のデータ語の符号化に際しては、前記符号
化器内に蓄積された第1群の符号語のMSBとLSBを
反転して得られる符号語をもって変換結果として出力す
る機能を持たせると共に、再生した符号語の復号化に際
しては、復号化を行うための復号化回路内に7個の‘0
’と4個の‘1’からなる11ビットの符号語を読み取
り出力するためのスイッチ回路と、該スイッチ回路から
出力した11ビットからなる符号語を読み取り、アドレ
スとしてコード間対応機能を備えたROMにより8ビッ
トからなるデータ語に変換するための復号化器と、ビッ
トパターン判定回路である2ビットデコーダと、入力符
号語または復号化データ語の順列を反転させるための符
号順列反転回路と、前記復号化器から出力されたデータ
語を前記復号化回路から出力させるための選択回路とを
備えたことを特徴とする符号化・復号化装置。
(2) Encoding and decoding functions that combine encoding and decoding functions
In the decoding device, in the encoding circuit for encoding, data words from the first to the second data word are stored in the encoding circuit for encoding.
a bit sampling circuit for reading a sequence of 8-bit data words representing data words up to 56 and outputting data words 1 through 128 as a first group of 7-bit data words; reading a first group of data words consisting of 7 bits output from the bit extraction circuit;
A ROM with an inter-code correspondence function converts it into an 11-bit code word consisting of 7 '0's and 4 '1's, and converts the converted 11-bit code word into the first group code word. a code permutation inversion circuit for inverting the MSB and LSB of each of the first group of code words stored in the encoder; , when encoding data words No. 1 to No. 128, the output of the first group of code words stored in the encoder is used as the conversion result, and data words No. 129 to No. 256 are encoded. When encoding a data word, the code word obtained by inverting the MSB and LSB of the first group of code words stored in the encoder is provided as a conversion result, and a function is provided to output the code word as a conversion result. When decoding a word, seven '0's are stored in the decoding circuit for decoding.
A switch circuit for reading and outputting an 11-bit code word consisting of ' and four '1's, and a ROM equipped with a function to read the 11-bit code word output from the switch circuit and use it as an address to correspond between codes. a decoder for converting into a data word consisting of 8 bits, a 2-bit decoder as a bit pattern determination circuit, a code permutation inversion circuit for reversing the permutation of an input code word or a decoded data word; An encoding/decoding device comprising: a selection circuit for outputting a data word output from a decoder from the decoding circuit.
JP63284393A 1988-11-10 1988-11-10 Encoding / decoding device Expired - Lifetime JP2731189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63284393A JP2731189B2 (en) 1988-11-10 1988-11-10 Encoding / decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63284393A JP2731189B2 (en) 1988-11-10 1988-11-10 Encoding / decoding device

Publications (2)

Publication Number Publication Date
JPH02131022A true JPH02131022A (en) 1990-05-18
JP2731189B2 JP2731189B2 (en) 1998-03-25

Family

ID=17677992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63284393A Expired - Lifetime JP2731189B2 (en) 1988-11-10 1988-11-10 Encoding / decoding device

Country Status (1)

Country Link
JP (1) JP2731189B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5357524A (en) * 1992-02-24 1994-10-18 Sony Corporation Apparatus for converting a digital signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074854A (en) * 1983-09-30 1985-04-27 Nec Corp Code transmission system
JPS60201728A (en) * 1984-03-26 1985-10-12 Canon Inc Coding system of binary data
JPS60201729A (en) * 1984-03-26 1985-10-12 Canon Inc Electronic device
JPS61196469A (en) * 1985-02-25 1986-08-30 Matsushita Electric Ind Co Ltd Digital modulating method
JPS61261873A (en) * 1985-05-16 1986-11-19 Matsushita Electric Ind Co Ltd Synchronizing signal recording method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074854A (en) * 1983-09-30 1985-04-27 Nec Corp Code transmission system
JPS60201728A (en) * 1984-03-26 1985-10-12 Canon Inc Coding system of binary data
JPS60201729A (en) * 1984-03-26 1985-10-12 Canon Inc Electronic device
JPS61196469A (en) * 1985-02-25 1986-08-30 Matsushita Electric Ind Co Ltd Digital modulating method
JPS61261873A (en) * 1985-05-16 1986-11-19 Matsushita Electric Ind Co Ltd Synchronizing signal recording method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5357524A (en) * 1992-02-24 1994-10-18 Sony Corporation Apparatus for converting a digital signal

Also Published As

Publication number Publication date
JP2731189B2 (en) 1998-03-25

Similar Documents

Publication Publication Date Title
US4463344A (en) Method and apparatus for generating a noiseless sliding block code for a (2,7) channel with rate 1/2
US4677421A (en) Digital information signal encoding method with reduced run length and improved self-clocking
FI74565B (en) FOERFARANDE FOER KODNING AV EN SEKVENS AV BINAERA DATABITAR TILL EN SEKVENS AV BINAERA KANALBITAR.
JP2002271205A (en) Modulation method, modulator, demodulation method, demodulator, information recoding medium, information transmitting method and information transmitting equipment
US4985700A (en) Variable-length coding/decoding device
JPH09181609A (en) Digital data channel encoding and decoding apparatus and method thereof
JPH09512392A (en) Method for converting m-bit information word sequence into modulated signal, method for manufacturing record carrier, coding device, decoding device, recording device, reading device, signal and record carrier
JP2000332613A (en) Modulation device and demodulation device
JP2001513305A (en) Encoding device for converting an n-bit source word into an m-bit channel word and decoding device for converting an m-bit channel word into an n-bit source word
JP4138031B2 (en) Encoding device from n-bit source word to corresponding m-bit channel word, and reverse decoding device
JPS583350A (en) Method of encoding binary data
JP3935217B2 (en) Conversion from a sequence of m-bit information words to a modulated signal
KR930003259B1 (en) Code converters and decoders for optical recording and optical reading
CN1383659A (en) Device for encoding/decoding N-bit source words into corresponding M-bit channel words, and vice versa
KR100809970B1 (en) Apparatus and method for encoding / decoding an n-bit source language into a corresponding M-bit channel language and vice versa such that the transformation is parity inversion
KR19990041225A (en) RL (2,25) Modulation Code and Encoding / Decoding Method of Digital Data Using the Same
KR20000069751A (en) Device for encoding/decoding n-bit source words into corresponding m-bit channel words, and vice versa
JPH02131022A (en) Encoder/decoder
JPH01286626A (en) Data encoding system
JP3467276B2 (en) Method for converting a sequence of m-bit information words into a modulated signal, method for manufacturing a record carrier, coding device, decoding device, recording device, reading device, signal and record carrier
KR100448282B1 (en) Method for balanced encoding and decoding of locks having the different constant weight
US6044053A (en) Dc-balance-value calculation circuit and recording signal generator using the same
JPS6130818A (en) Digital modulating method
JPH06311042A (en) Digital modulator
JPS6069943A (en) Code converting system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 11

EXPY Cancellation because of completion of term