JPH0548015B2 - - Google Patents
Info
- Publication number
- JPH0548015B2 JPH0548015B2 JP15764283A JP15764283A JPH0548015B2 JP H0548015 B2 JPH0548015 B2 JP H0548015B2 JP 15764283 A JP15764283 A JP 15764283A JP 15764283 A JP15764283 A JP 15764283A JP H0548015 B2 JPH0548015 B2 JP H0548015B2
- Authority
- JP
- Japan
- Prior art keywords
- bits
- bit
- circuit
- patterns
- conversion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/14—Digital recording or reproducing using self-clocking codes
- G11B20/1403—Digital recording or reproducing using self-clocking codes characterised by the use of two levels
- G11B20/1423—Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code
- G11B20/1426—Code representation depending on subsequent bits, e.g. delay modulation, double density code, Miller code conversion to or from block codes or representations thereof
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Dc Digital Transmission (AREA)
Description
産業上の利用分野
本発明は、音声信号等のPCM記録に使用して
好適な情報変換装置に関する。
背景技術とその問題点
例えば音声信号をPCM化して磁気記録するこ
とが提案されている。このような装置において信
号の記録に当たつては、一般にNRZIと呼ばれる
変調が用いられる。これはデータ信号中の“1”
で信号を反転させ、“0”で反転させないように
するものである。
ところでこのような信号の記録において、低域
成分が多く含まれていると再生時の安定性が悪く
なる。一方上述のNRZIにおいて“0”が連続す
ると、その間変調信号は反転されなくなり、周波
数が低下してしまう。
そこでPCMによる情報を任意数のビツトずつ
に分解し、そのそれぞれをより多数のビツトに変
換して、“0”が多数連続しないようにすること
が行われている。
このような情報変換方式として、本願出願人は
先に以下のようなものを提案した。
この方式においては、8ビツト(B1、B2、B3、
B4、B5、B6、B7、B8)の情報を10ビツト(P1、
P2、P3、P4、P5、P6、P7、P8、P9、P10)に変換
する。
ここで8ビツト(B1〜B8)の情報が取り得る
形態は28=256通りである。
一方10ビツト(P1〜P10)については、まず直
流成分を除去するためにはNRZI変調後の信号で
10ビツト中の5ビツトが正(1)、5ビツトが負
(0)となればよい。なおTmax/Tmin=4とす
るためNRZI表現で“0”の連続する数が3個以
下、すなわち変調後の信号で同じレベルの連続が
4ビツト以下となることを条件とする。
このような条件を考えた上で、さらにNRZI表
現で、最初または最後の“0”の数が、0個、1
個、2個、3個の場合に分類して、それぞれの場
合の組合せの数は次の表1のようになる。
INDUSTRIAL APPLICATION FIELD The present invention relates to an information conversion device suitable for use in PCM recording of audio signals and the like. BACKGROUND TECHNOLOGY AND PROBLEMS For example, it has been proposed to convert audio signals into PCM and magnetically record them. When recording signals in such devices, modulation generally called NRZI is used. This is “1” in the data signal
The signal is inverted at "0" and not inverted at "0". By the way, when recording such a signal, if a large amount of low-frequency components are included, stability during reproduction deteriorates. On the other hand, if "0" continues in the above-mentioned NRZI, the modulation signal will not be inverted during that time, and the frequency will drop. Therefore, the PCM information is broken down into an arbitrary number of bits, and each bit is converted into a larger number of bits to prevent a large number of consecutive "0"s. As such an information conversion method, the applicant of the present application previously proposed the following. In this method, 8 bits (B 1 , B 2 , B 3 ,
B 4 , B 5 , B 6 , B 7 , B 8 ) information in 10 bits (P 1 ,
P 2 , P 3 , P 4 , P 5 , P 6 , P 7 , P 8 , P 9 , P 10 ). Here, there are 2 8 =256 forms that the 8-bit information (B 1 to B 8 ) can take. On the other hand, for 10 bits (P 1 to P 10 ), first, in order to remove the DC component, the signal after NRZI modulation is
It is sufficient that 5 bits out of 10 bits be positive (1) and 5 bits be negative (0). Note that in order to set Tmax/Tmin=4, the condition is that the number of consecutive "0"s in NRZI representation is 3 or less, that is, the number of consecutive "0"s in the modulated signal is 4 or less at the same level. Considering these conditions, we further consider that the number of first or last “0” is 0 or 1 in NRZI representation.
The number of combinations in each case is as shown in Table 1 below.
【表】
この表1から、10ビツトパターン同士の接続の
部分でも“0”の連続が3個以下となるようにで
きるものは、例えば最初の“0”の数が2個以下
で最後の“0”の数が1個以下の場合である。と
ころがこの場合に組合せの数は、
69+34+40+20+20+10=193
通りしかない。これでは8ビツト256の組合せの
数に満たず、他の選び方ではその数はさらに少な
くなる。
そこで直流成分0以外の組合せについて検討す
る。すなわち例えば最後の“0”の数が1個以下
とした場合に、最初の“0”の数と直流の蓄積量
による組合せの数は次の表2のようになる。[Table] From Table 1, it is possible to make the number of consecutive "0"s three or less even in the connection part between 10-bit patterns, for example, if the number of consecutive "0"s is two or less and the last "0" is This is the case when the number of 0'' is one or less. However, in this case, the number of combinations is only 69+34+40+20+20+10=193. This is less than the number of 8-bit 256 combinations, and with other selection methods, the number would be even smaller. Therefore, combinations other than DC component 0 will be considered. That is, for example, when the number of the last "0" is one or less, the number of combinations based on the number of the first "0" and the accumulated amount of DC is as shown in Table 2 below.
【表】
ここで直流の蓄積量については、例えば第1図
に示すように前の組合せの最後が負(0)で終つ
た場合である。従つて前の組合せの最後が正(1)で
終つている場合には正負の符号は逆転する。また
例えば先頭のビツトが“0”の組合せについて、
この先頭ビツトを“1”に変換すると、直流の蓄
積量は第2図に示すように符号が逆転する。
そこで例えば表2の内の直流の蓄積量が−2
で、先頭ビツトが“0”の組合せ
43+30=73
通りの組合せを利用し、上述の直流成分のない第
1の組合せ193通りと、この第2の組合せ73通り
の計266通りの内から、8ビツト256通りの組合せ
と1対1で対応させる。そして第2の組合せが現
われる度に、直流の蓄積量が正、負交互になるよ
うに先頭ビツトを変換する。
すなわち第3図に示すように、2の組合せが現
われたとき、その2ビツト目からの反転回数
(“1”の数)を計数し、次の第2の組合せが現わ
れるまでに、反転回数が偶数ならAに示すように
先頭ビツト(矢印)を“1”に変換し、奇数なら
Bに示すように“0”のままとする。
これによつて±2の直流の蓄積が生じても、次
の第2の組合せでこれが相殺され、どのような組
合せの連続でも直流成分が0になる。
さらに第4図は上述の方式に従つて変換を行う
装置の一例を示す。図において1は入力端子、2
は入力用の8ビツトシフトレジスタ、3は変換ロ
ジツク、4は出力用10ビツトシフトレジスタであ
る。そして入力端子1に供給される情報が8ビツ
トずつシフトレジスタ2の中を転送され、8ビツ
ト(B1〜B8)の情報が変換ロジツク3に供給さ
れる。この変換ロジツク3で上述の1対1の変換
が行われ、変換された10ビツト(P1〜P10)の情
報がシフトレジスタ4に供給される。
また変換後の信号の反転回数が検出される。こ
こで反転回数は組合せごとに予め判つているの
で、例えば変換ロジツク3を構成するリードオン
リーメモリから反転回数の情報(反転回数が奇数
か偶数かのみでよく、例えば奇数のとき“1”)
を同時に出力することができる。この出力Qがラ
ツチ回路8に供給され、このラツチ出力Q′が変
換ロジツク3に供給される。さらに入力端子1に
供給される情報8ビツトごとのタイミングが検出
回路9で検出され、このタイミング信号がシフト
レジスタ4のロード端子及びラツチ回路8のラツ
チ端子に供給される。
そして例えば上述の第2の組合せに変換される
時に、Q′を用いて、Q′が“0”なる先頭ビツト
を“1”、Q′が“1”なる先頭ビツトを“0”に
変換する。その時Qには出力された第2の組合せ
の反転回数の奇数偶数情報が出力されラツチされ
る。さらに第1の組合せに変換される時は、出力
の10ビツトはそのまま出力されると共に、Qには
出力された第1の組合せの反転回路とQ′の和の
奇数偶数情報が出力されラツチされる。
さらにクロツク端子5から、入力信号のクロツ
クの5/4倍の周波数のクロツク信号がシフトレジ
スタ4に供給され、上述の10ビツトが順次読み出
される。この信号がJKフリツプフロツプ6に供
給され、端子5からのクロツク信号がフリツプフ
ロツプ6に供給されて、NRZI変調された信号が
出力端子7に取り出される。
また第5図は復調のための装置の例を示し、入
力端子11からの信号がNRZIの復調回路12を
通じて10ビツトシフトレジスタ13に供給され、
このシフトレジスタ13からの(P1〜P10)の情
報が変換ロジツク14に供給される。そして上述
の1対1の逆変換による復調が行われ、復調され
た(B1〜B8)の情報がシフトレジスタ15に供
給され、出力端子16に取り出される。なお上述
の第2の組合せによる10ビツトが供給されたとき
は、先頭ビツトを無視して逆変換が行われるよう
にされる。
このようにして変換及び復調を行うことができ
る。
ところがこの方式において、変換ロジツク3,
14をリードオンリーメモリで構成すると、極め
て多くのビツト数が必要であり、例えば回路を
LSI化した場合に広い面積を必要として好ましく
ない。
発明の目的
本発明はこのような点にかんがみ、変換ロジツ
クを簡略化できるようにするものである。
発明の概要
複数ビツトからなる情報データをNRZI変調す
るに当り、上記情報データの偶数番目のビツトを
検出し、このビツトが0のとき、このビツトとこ
の直列のビツトの2ビツトに直流値が存在するこ
とを検出し、この検出信号を用いて上記情報デー
タの変換を制御するようにした情報変換装置。
実施例
例えば上述の条件を満す10ビツトのパターンは
全体で1024パターン内で271パターン存在する。
この10ビツトの271パターンにおいて、これを
上位、下位5ビツトに分割して分類すると、下位
5ビツトのパターンは次の表3のようにA〜Eの
5群に分類できる。なおこの他に例外パターンが
ある。[Table] Here, regarding the accumulated amount of DC, for example, as shown in FIG. 1, it is assumed that the previous combination ends in a negative value (0). Therefore, if the previous combination ends with a positive (1), the positive and negative signs are reversed. For example, for a combination where the first bit is “0”,
When this leading bit is converted to "1", the sign of the accumulated amount of DC is reversed as shown in FIG. So, for example, the accumulated amount of DC in Table 2 is -2
Then, using 43+30=73 combinations in which the leading bit is "0", 8 out of 266 combinations, including the 193 first combinations without DC component mentioned above and 73 second combinations, are used. One-to-one correspondence with 256 bit combinations. Each time the second combination appears, the first bit is converted so that the accumulated amount of DC is alternately positive and negative. In other words, as shown in Figure 3, when a combination of 2 appears, the number of inversions (the number of "1"s) from the second bit is counted, and the number of inversions is counted until the next second combination appears. If it is an even number, the first bit (arrow) is converted to "1" as shown in A, and if it is an odd number, it remains as "0" as shown in B. Even if this causes an accumulation of DC of ±2, this is canceled out by the next second combination, and the DC component becomes 0 in any series of combinations. Furthermore, FIG. 4 shows an example of an apparatus for performing conversion according to the above-described method. In the figure, 1 is the input terminal, 2
is an 8-bit shift register for input, 3 is a conversion logic, and 4 is a 10-bit shift register for output. The information supplied to the input terminal 1 is transferred 8 bits at a time through the shift register 2, and 8 bits (B 1 to B 8 ) of information are supplied to the conversion logic 3. The conversion logic 3 performs the above-mentioned one-to-one conversion, and the converted 10-bit (P 1 to P 10 ) information is supplied to the shift register 4. Furthermore, the number of inversions of the signal after conversion is detected. Here, since the number of inversions is known in advance for each combination, for example, information on the number of inversions is stored in the read-only memory that constitutes the conversion logic 3 (it is only necessary whether the number of inversions is an odd number or an even number; for example, if it is an odd number, it is "1").
can be output simultaneously. This output Q is supplied to a latch circuit 8, and this latch output Q' is supplied to a conversion logic 3. Furthermore, the timing of every 8 bits of information supplied to the input terminal 1 is detected by the detection circuit 9, and this timing signal is supplied to the load terminal of the shift register 4 and the latch terminal of the latch circuit 8. For example, when converting to the second combination described above, use Q' to convert the first bit where Q' is "0" to "1" and the first bit where Q' is "1" to "0". . At that time, odd and even number information of the number of inversions of the output second combination is output to Q and latched. Furthermore, when converting to the first combination, the 10 output bits are output as they are, and the odd and even number information of the sum of the output inverting circuit of the first combination and Q' is output and latched to Q. Ru. Further, a clock signal having a frequency 5/4 times that of the input signal is supplied from the clock terminal 5 to the shift register 4, and the above-mentioned 10 bits are read out in sequence. This signal is supplied to the JK flip-flop 6, the clock signal from the terminal 5 is supplied to the flip-flop 6, and the NRZI modulated signal is taken out at the output terminal 7. Further, FIG. 5 shows an example of a device for demodulation, in which a signal from an input terminal 11 is supplied to a 10-bit shift register 13 through an NRZI demodulation circuit 12.
Information (P 1 to P 10 ) from this shift register 13 is supplied to a conversion logic 14 . Demodulation is then performed by the above-mentioned one-to-one inverse conversion, and the demodulated information (B 1 to B 8 ) is supplied to the shift register 15 and taken out to the output terminal 16. Note that when 10 bits according to the above-mentioned second combination are supplied, the first bit is ignored and the inverse conversion is performed. Conversion and demodulation can be performed in this way. However, in this method, the conversion logic 3,
If 14 were configured with read-only memory, an extremely large number of bits would be required, for example, if the circuit
This is not preferable because it requires a large area when converted into an LSI. OBJECTS OF THE INVENTION In view of these points, the present invention makes it possible to simplify the conversion logic. Summary of the Invention When performing NRZI modulation on information data consisting of multiple bits, an even-numbered bit of the information data is detected, and when this bit is 0, a DC value exists in this bit and the two bits in series. An information conversion device that detects that the information is detected and uses this detection signal to control the conversion of the information data. Example For example, there are 271 10-bit patterns out of a total of 1024 patterns that satisfy the above conditions. If these 271 patterns of 10 bits are divided into upper and lower 5 bits and classified, the patterns of the lower 5 bits can be classified into 5 groups A to E as shown in Table 3 below. Note that there are other exception patterns.
【表】
この表3において、A、B群は先頭ビツトが反
転し残り4ビツトは等しい。またC、D群の下位
3ビツトはA群で先頭が0、B群で先頭が1のパ
ターンの下位3ビツトに等しい。
これに対して上位5ビツトは次の表4のように
21パターン存在している。[Table] In Table 3, the leading bits of groups A and B are inverted and the remaining 4 bits are equal. Furthermore, the lower 3 bits of groups C and D are equal to the lower 3 bits of a pattern in which the leading bit is 0 in group A and the leading 1 in group B. On the other hand, the top 5 bits are as shown in Table 4 below.
There are 21 patterns.
【表】【table】
【表】
これらのパターンに対して、上述の条件を満し
て接続可能な下位5ビツトの群(A〜E)は表中
の中央欄に示すようになる。なお表中A′はA群
中で先頭が0以外のもの、B′はB群中で先頭が
00以外のものを示す。
そこで表中に丸印を附した群を採用することに
より、それぞれの接続によつて形成されるパター
ンの数は表中の右欄に示すようになり、合計240
のパターンを形成することができる。これにさら
に下位5ビツトがE群になる16パターンを加えて
256のパターンを形成することができる。
これに対して、8ビツトの入力パターンを上
位、下位4ビツトずつに分割する。ここで各4ビ
ツトのパターンはそれぞれ16パターンずつであ
る。そこで、上位4ビツトのパターンをそれぞれ
表4の21パターンの1つあるいはそれ以上と対応
させると共に、下位4ビツトのパターンをそれぞ
れ表3の5群のパターンと対応させる。
すなわち、まず下位4ビツトの16パターンを表
3のA、B群の16パターンに対応させる。これに
よつて表4の中央欄でA、B(B′も含む)群の採
用される上位5ビツトの9パターンについては入
力の上位4ビツトをそのまま対応させることがで
きる。次にA(A′も含む)、B群のいずれか一方
のみの採用される上位5ビツトの9パターンの内
で、B群の採用される2パターンとA群の採用さ
れる任意の2パターンとを組合せて、これらの上
位5ビツトの2組(各2パターン)を入力の上位
4ビツトの2パターンに対応させる。またA群の
採用される残りの5パターンの内の任意の2パタ
ーンを組合せて、これらの上位5ビツトの1組
(2パターン)を入力の上位4ビツトの1パター
ンに対応させる。さらにA(A′も含む)、C群の
採用される上位5ビツトの2パターンとA群の採
用される残りの3パターンの内の任意の2パター
ンとを組合せて、これらの上位5ビツトの2組
(各2パターン)を入力の上位4ビツトの2パタ
ーンと対応させる。またA群の採用される残りの
1パターンと、B、D群の採用される1パターン
とを組合せて、これらの上位5ビツトの1組(2
パター)を入力の上位4ビツトの1パターンに対
応させる。そしてE群の採用される上位5ビツト
の16パターンを入力の上位4ビツトの1パターン
に対応させる。
このように組合せることにより、8→10変換を
4→5変換の2系統に分割することができ変換ロ
ジツクを極めて簡略化することができる。
さらに以下に変換、復調回路の一例について説
明する。
第6図において、21は8ビツトの入力端子
群、22はプログラマブル・ロジツク・アレー
(PLA)あるいはゲートで構成する変換の主論理
回路、23は回路22を軽減するための副論理回
路である。
この副論理回路23においては、入力パターン
の検出により例えば上述の例において、B群を含
まない組のパターンに対応する入力があつたとき
オン、それ以外のときオフの検出信号a、E群を
含む組に対応する入力があつたときオン、それ以
外でオフの検出信号もb、A′、B′群を含む組に
対応する入力があつたときオン、それ以外でオフ
の信号検出cが形成される。
すなわち例えばA群を2つもつ組を入力上位4
ビツトの6H、7H、EHに割り当て、E群を含む組を
入力上位4ビツトのFHに割り当てた場合の回路
の具体例は第7図のようになる。なお検出信号c
については表3において入力下位3ビツトの000
〜111が上から順に割り当てられた場合に、010、
100、110でオン、それ以外でオフとなるようにす
ればよく、図中に示す回路となる。
そしてこれらの検出信号a〜cが回路22に供
給され、これによつて変換ロジツクを制御するこ
とにより、変換ロジツクを極めて簡略化すること
ができる。
なお24は主論理回路22を軽減するために
PLAの出力に入れるインバータ群であつて、
( )についていないものの効果は大きい。( )
のついているものについても入つている方が有利
である。
また25は出力用のシフトレジスタである。
さらに26は上述の直流の蓄積量の検出によつ
て出力先頭ビツトの反転制御信号を形成する回路
である。また27はこの制御信号によつて先頭ビ
ツトを反転するためのイクスクルーシブオア回
路、28は直流蓄積量の検出回路である。
ここで反転制御信号形成回路26は次のように
形成される。
第8図において、出力の偶数番目のビツトの出
力がイクスクルーシブオア回路31に供給され、
全てのイクスクルーシブオアが採られる。ここで
偶数ビツトが1のときはこの部分で反転が行われ
ることになり、このビツトと直前のビツトとの直
流量は0になる。これに対して0のときは±2の
直流量が存在する。さらに0が2個の場合、直流
量は0か±4、同様に3個の場合は±2か±6と
なる。すなわち0の数が偶数なら直流量は0、±
4、±8…奇数なら±2、±6、±10…となる。一
方10ビツトの全体の直流量は0か−2に限定され
ている。従つて上述の偶数番目のビツトの0の数
が偶数か奇数かを検出することにより、直流量が
0か±2かを判定することができる。
そこで上述のイクスクルーシブオア回路31に
おいて、出力が1のとき直流量0、0のとき−2
を検出することができる。
さらに第8図において、イクスクルーシブオア
回路32とDフリツプフロツプ33とでNRZI変
調回路が構成される。
また直流蓄積量検出回路28はアツプダウンカ
ウンタ34にて構成される。すなわちカウンタ3
4は1/2の周波数のクロツクで駆動され、偶数番
目のビツトのみが計数される。またイクスクルー
シブオア回路32の出力にてアツプダウンが制御
される。これによつて直流の蓄積量が検出され
る。なおカウンタ34の出力は常に2ビツト遅れ
るので、値を最終の2ビツトで補正するようにイ
クスクルーシブオア回路35,36が設けられ
る。
これによつて直流の蓄積量の正負が検出され、
この信号とイクスクルーシブオア回路31からの
信号とがナンド回路37に供給されて出力先頭ビ
ツトの反転制御信号が形成される。
なお先頭ビツトの反転については、カウンタ等
にて直流蓄積量を検出し、シフトレジスタ25か
らの出力の先頭ビツトを直接反転するようにして
もよい。
このようにして変換信号が出力端子29に取り
出される。
さらに第9図は復調回路の例を示す。41は直
流蓄積量の検出回路でカウンタ等で構成される。
入力信号はこの回路11を通過してシフトレジス
タ42に供給され、この先頭ビツトがイクスクル
ーシブオア回路43にて回路41からの信号に応
じて反転されて主論理回路44に供給される。
また45は副論理回路であつて、例えば第10
図に示すように構成されてE群を含むパターンの
とき検出信号e、A群を含むパターンのとき検出
信号fを形成する。なおA、B群の検出に当つて
は、第3、第5ビツトが等しくかつ先頭が1のと
き及び第3、第5ビツトが異なりかつ先頭が0の
ときA群、第3、第5ビツトが等しくかつ先頭が
0のとき及び第3、第5ビツトが異なりかつ先頭
が1のときB群である。
そしてこれらの検出信号e、fが回路44に供
給され、これによつて変換ロジツクを制御するこ
とにより、変換ロジツクを極めて簡略化すること
ができる。
なお検出信号fを用いることにより、入力の第
6ビツトは不要となる。
このようにして復調信号が出力端子群45に取
り出される。
さらに第11図は変換及び復調回路の主論理回
路22,44を一体化する場合であつて、第6図
の入力端子群21に相当する入力回路21′及び
第9図のシフトレジスタ42の出力を共にトライ
ステートとして共通に接続して主論理回路50に
接続する。一方変換、復調の切換信号を端子51
から主論理回路50に供給する。
一方主論理回路22,44のロジツクを検討す
ると、両者に共通のロジツクも多く存在してい
る。
そこで図示のように端子51からの信号が0の
とき選択されるロジツクX、1のとき選択される
ロジツクY、常に選択される共通のロジツクZを
設けることにより、両者を別体に構成した場合よ
り構成を一層簡略化することができる。
なお変換と復調を同時に行いたい場合には、こ
れらを時分割で行うことができる。
発明の効果
従つて本発明によれば、上述の構成としたこと
により、簡単なゲート回路により情報タの先頭ビ
ツトの反転の必要性を判断できるものであり、
ROMにデータの反転回数等を記憶させておく必
要がなく、LSI化に好適であるという効果を奏す
るものである。[Table] The groups (A to E) of lower 5 bits that can be connected to these patterns while satisfying the above conditions are shown in the center column of the table. In addition, in the table, A' means those in group A whose first part is not 0, and B' means those whose first part is not 0 in group B.
Indicates something other than 00. Therefore, by adopting the groups marked with circles in the table, the number of patterns formed by each connection becomes as shown in the right column of the table, which is 240 in total.
pattern can be formed. Add to this 16 patterns in which the lower 5 bits become group E.
256 patterns can be formed. On the other hand, an 8-bit input pattern is divided into upper and lower 4 bits. Here, there are 16 patterns each of 4 bits. Therefore, the patterns of the upper 4 bits are respectively made to correspond to one or more of the 21 patterns in Table 4, and the patterns of the lower 4 bits are respectively made to correspond to the patterns of the 5 groups of Table 3. That is, first, the 16 patterns of the lower 4 bits are made to correspond to the 16 patterns of groups A and B in Table 3. As a result, the nine patterns of the upper five bits adopted in groups A and B (including B') in the center column of Table 4 can be directly associated with the upper four bits of the input. Next, among the 9 patterns of the upper 5 bits in which only either group A (including A') or group B is adopted, 2 patterns in which group B is adopted and any 2 patterns in which group A is adopted. These two sets (each two patterns) of the upper 5 bits are made to correspond to the two patterns of the upper 4 bits of the input. Further, any two patterns out of the remaining five patterns employed in group A are combined, and one set (two patterns) of these upper five bits is made to correspond to one pattern of the upper four bits of the input. Furthermore, by combining two patterns of the upper 5 bits adopted in groups A (including A') and C with any two patterns of the remaining 3 adopted patterns of group A, the upper 5 bits of these 2 patterns are combined. The two sets (two patterns each) are made to correspond to the two patterns of the upper 4 bits of the input. Also, by combining the remaining pattern adopted in group A and the one pattern adopted in groups B and D, one set (2
pattern) corresponds to one pattern of the upper 4 bits of the input. Then, the 16 patterns of the upper 5 bits employed in the E group are made to correspond to one pattern of the upper 4 bits of the input. By combining in this way, the 8→10 conversion can be divided into two systems of 4→5 conversion, and the conversion logic can be extremely simplified. Further, an example of a conversion/demodulation circuit will be described below. In FIG. 6, 21 is a group of 8-bit input terminals, 22 is a main logic circuit for conversion consisting of a programmable logic array (PLA) or a gate, and 23 is a sub logic circuit for reducing circuit 22. In FIG. In this sub logic circuit 23, by detecting the input pattern, for example in the above example, the detection signals a and E group are turned on when there is an input corresponding to a pattern that does not include group B, and are off otherwise. The detection signal c is on when the input corresponding to the group containing groups is received, and is off otherwise. It is formed. In other words, for example, if you input a set with two A groups, the top 4
FIG. 7 shows a specific example of a circuit in which bits 6H , 7H , and EH are assigned, and a set including group E is assigned to FH of the upper four input bits. Note that the detection signal c
In Table 3, the input lower 3 bits are 000.
If ~111 is assigned in order from the top, 010,
It is sufficient to turn on at 100 and 110 and turn off at other times, resulting in the circuit shown in the figure. These detection signals a to c are then supplied to the circuit 22 to control the conversion logic, thereby making it possible to greatly simplify the conversion logic. Note that 24 is used to reduce the main logic circuit 22.
A group of inverters inserted into the output of PLA,
Although it is not in parentheses, the effect is great. ( )
It is advantageous to include the items marked with . Further, 25 is a shift register for output. Furthermore, 26 is a circuit for forming an inversion control signal for the output leading bit by detecting the amount of accumulated DC. Further, 27 is an exclusive OR circuit for inverting the leading bit in accordance with this control signal, and 28 is a DC storage amount detection circuit. Here, the inversion control signal forming circuit 26 is formed as follows. In FIG. 8, the output of even-numbered bits of the output is supplied to the exclusive OR circuit 31,
All exclusive ors are taken. Here, when an even numbered bit is 1, inversion is performed in this part, and the DC amount between this bit and the immediately preceding bit becomes 0. On the other hand, when it is 0, there is a DC amount of ±2. Furthermore, if there are two 0s, the DC amount will be 0 or ±4, and similarly, if there are three, the DC amount will be ±2 or ±6. In other words, if the number of 0's is even, the DC flow is 0, ±
4, ±8...If it is an odd number, it will be ±2, ±6, ±10... On the other hand, the total DC amount for 10 bits is limited to 0 or -2. Therefore, by detecting whether the number of 0's in the even-numbered bits is even or odd, it is possible to determine whether the DC amount is 0 or ±2. Therefore, in the exclusive OR circuit 31 described above, when the output is 1, the DC amount is 0, and when the output is 0, the DC amount is -2.
can be detected. Furthermore, in FIG. 8, an exclusive OR circuit 32 and a D flip-flop 33 constitute an NRZI modulation circuit. Further, the DC accumulation amount detection circuit 28 is constituted by an up-down counter 34. That is, counter 3
4 is driven by a 1/2 frequency clock and only even numbered bits are counted. Further, the up-down is controlled by the output of the exclusive OR circuit 32. This allows the amount of accumulated DC to be detected. Note that since the output of the counter 34 is always delayed by 2 bits, exclusive OR circuits 35 and 36 are provided to correct the value using the final 2 bits. This detects whether the accumulated amount of DC is positive or negative.
This signal and the signal from the exclusive OR circuit 31 are supplied to a NAND circuit 37 to form an inversion control signal for the output leading bit. Regarding the inversion of the leading bit, the amount of DC accumulation may be detected using a counter or the like, and the leading bit of the output from the shift register 25 may be directly inverted. In this way, the converted signal is taken out to the output terminal 29. Furthermore, FIG. 9 shows an example of a demodulation circuit. Reference numeral 41 denotes a detection circuit for detecting the accumulated amount of DC, which is composed of a counter and the like.
The input signal passes through this circuit 11 and is supplied to a shift register 42, and the leading bit is inverted by an exclusive OR circuit 43 in accordance with the signal from the circuit 41 and supplied to a main logic circuit 44. Further, 45 is a sub logic circuit, for example, the 10th
Configured as shown in the figure, a detection signal e is generated when the pattern includes the E group, and a detection signal f is generated when the pattern includes the A group. When detecting groups A and B, when the 3rd and 5th bits are equal and the first bit is 1, and when the 3rd and 5th bits are different and the first bit is 0, group A, 3rd and 5th bits are detected. are equal and the first bit is 0, and when the third and fifth bits are different and the first bit is 1, it is group B. These detection signals e and f are then supplied to the circuit 44, which controls the conversion logic, thereby making it possible to greatly simplify the conversion logic. Note that by using the detection signal f, the sixth bit of the input becomes unnecessary. In this way, the demodulated signal is taken out to the output terminal group 45. Further, FIG. 11 shows a case where the main logic circuits 22 and 44 of the conversion and demodulation circuits are integrated, and the input circuit 21' corresponding to the input terminal group 21 of FIG. 6 and the output of the shift register 42 of FIG. Both are tri-stated and connected in common to the main logic circuit 50. On the other hand, the conversion/demodulation switching signal is sent to terminal 51.
is supplied to the main logic circuit 50 from. On the other hand, when examining the logic of the main logic circuits 22 and 44, there are many logics common to both. Therefore, as shown in the figure, by providing a logic X that is selected when the signal from the terminal 51 is 0, a logic Y that is selected when it is 1, and a common logic Z that is always selected, the two are configured separately The configuration can be further simplified. Note that if it is desired to perform conversion and demodulation simultaneously, these can be performed in a time-division manner. Effects of the Invention Therefore, according to the present invention, with the above-described configuration, it is possible to determine the necessity of inverting the first bit of the information data using a simple gate circuit.
It is not necessary to store the number of times data is inverted in the ROM, and this has the advantage of being suitable for LSI implementation.
第1図〜第5図は背景技術の説明のための図、
第6図〜第11図は本発明の説のための図であ
る。
22,44,50は主論理回路、23,45は
副論理回路、31はイクスクルーシブオア回路、
51は切換制御端子である。
Figures 1 to 5 are diagrams for explaining background technology;
FIGS. 6 to 11 are diagrams for explaining the present invention. 22, 44, 50 are main logic circuits, 23, 45 are sub logic circuits, 31 is an exclusive OR circuit,
51 is a switching control terminal.
Claims (1)
−2に規定されたm(mは偶数)ビツトからなる
情報データをNRZI変換するにあたり、上記情報
データの偶数番目のビツトの“0”の数が奇数個
であることを判別するゲート回路と、上記直流蓄
積量を検出する検出回路と、上記ゲート回路によ
り“0”の数が奇数個であることが判別されたと
き、上記検出回路の出力の正負に応じて上記情報
データの先頭ビツトを反転する反転制御回路とを
有することを特徴とする情報変換装置。1 When performing NRZI conversion on information data consisting of m (m is an even number) bits whose DC accumulation amount is defined as 0 or +2, or 0 or -2, the number of “0” in the even numbered bits of the above information data is A gate circuit that determines that the number of "0s" is an odd number, a detection circuit that detects the amount of accumulated DC, and when the gate circuit determines that the number of "0"s is an odd number, the output of the detection circuit is An information conversion device comprising: an inversion control circuit that inverts the first bit of the information data depending on whether the information is positive or negative.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15764283A JPS6048644A (en) | 1983-08-29 | 1983-08-29 | Information converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15764283A JPS6048644A (en) | 1983-08-29 | 1983-08-29 | Information converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6048644A JPS6048644A (en) | 1985-03-16 |
| JPH0548015B2 true JPH0548015B2 (en) | 1993-07-20 |
Family
ID=15654183
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15764283A Granted JPS6048644A (en) | 1983-08-29 | 1983-08-29 | Information converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6048644A (en) |
-
1983
- 1983-08-29 JP JP15764283A patent/JPS6048644A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6048644A (en) | 1985-03-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0548016B2 (en) | ||
| EP0138229A2 (en) | Apparatus for transcribing digital data | |
| KR950010213B1 (en) | Digital Code Conversion Apparatus and Method | |
| JPH0548015B2 (en) | ||
| JP3134449B2 (en) | Serial / parallel conversion circuit | |
| US5642113A (en) | Methods and devices for converting a sequence of m-bit information words to a modulated signal and including that signal on a record carrier, devices for decoding that signal and reading it from a record carrier, and that signal | |
| JPS6048643A (en) | Information converter | |
| JPH08223047A (en) | Data conversion system and data decoding method | |
| JP2615588B2 (en) | Digital pulse demodulation circuit | |
| JP3207997B2 (en) | Data converter | |
| JPH0480576B2 (en) | ||
| JPS60121854A (en) | Error pulse detecting circuit | |
| JPH05215820A (en) | Scan path circuit | |
| JPS635825B2 (en) | ||
| JPS6339938B2 (en) | ||
| JPH0126208B2 (en) | ||
| JPS6159695A (en) | Shift register configuration circuit | |
| JPS6064573A (en) | Picture signal reducing system | |
| JPH06148291A (en) | Boundary scanning register | |
| JPH06148290A (en) | Boundary scanning register | |
| JPS6221427B2 (en) | ||
| JPH07113660B2 (en) | Mode setting circuit | |
| JPS58155511A (en) | Binary information recording and playback method | |
| JPS6198272U (en) | ||
| JPH0277933A (en) | Data transfer device |