JPS58169305A - Converting method of binary code - Google Patents

Converting method of binary code

Info

Publication number
JPS58169305A
JPS58169305A JP5155282A JP5155282A JPS58169305A JP S58169305 A JPS58169305 A JP S58169305A JP 5155282 A JP5155282 A JP 5155282A JP 5155282 A JP5155282 A JP 5155282A JP S58169305 A JPS58169305 A JP S58169305A
Authority
JP
Japan
Prior art keywords
code
bit
data
signal
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5155282A
Other languages
Japanese (ja)
Inventor
Jun Yonemitsu
潤 米満
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP5155282A priority Critical patent/JPS58169305A/en
Publication of JPS58169305A publication Critical patent/JPS58169305A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To reduce DC and a low-band component, by displaying two pieces whose polarity of the digital sum is opposite and whose absolute values are equal, as one group, in a converting method of a variable length code, which converts the number of bits, and limits the minimum value and the maximum value of the number of ''0'' between ''1'' and ''1'' to some value. CONSTITUTION:''10'' of a code is made ''2'', ''01'' is made ''1'' and ''00'' is made ''0'', by which a code is expressed by 4-scale. A bit of ''0'' is made -1, a bit of ''1'' is made +1, and the sum total is taken at each code, by which the sum (abbreviated as DSV) is derived. Positive and negative values of DSC are made maps B, A, respectively. In case of encoding, an accumulated value of DSV is seen, and when it is positive and beginning of the following code is in a low level, a code of the map A is used, and when said beginning is in a high level, a code of the map B is used. By executing such encoding, DC and a low-band component can be reduced.

Description

【発明の詳細な説明】 この発明a、m気記録再生装置を媒体としてコ値袴号を
伝送する揚台に適用される2値狩号の変換方法に関する
DETAILED DESCRIPTION OF THE INVENTION The present invention (a) relates to a method for converting a binary Kari-go which is applied to a platform for transmitting a Ko-value Hakama-go using a m-ki recording and reproducing device as a medium.

この発明は、11換後の符号において、lと/との閤の
最小のOの黴がdに制限され、lとlとの閏の最大のO
の黴がkに制限されると共に、データの虱ピッ)を符号
のnビットに対応させ、変換:W :l i :::I
l :* t、、二:::7二;二::号は、((1,
kpm、nor)とlI!現される。
In this invention, in the code after 11 conversion, the minimum value of O between l and / is limited to d, and the maximum value of O between l and l is limited to d.
is limited to k, and the data bits are made to correspond to the n bits of the code, and the transformation: W :l i :::I
l:* t,, 2:::7 2; 2:: is ((1,
kpm, nor) and lI! be revealed.

この発明では、かかる!蛮長*tにおいて、直流及び低
域成分の減少を図ると共に、最大反転量■’f’ 11
1111と最小反転間隔テwinとの差を小さくするよ
うにしたものである。
This invention takes! At the long length*t, we aim to reduce the direct current and low frequency components, and also increase the maximum inversion amount ■'f' 11
The difference between 1111 and the minimum inversion interval Tewin is made small.

以下、この発明の一実施例について説明すると。An embodiment of this invention will be described below.

この例では、<t、s;t、コ;7)とする木うにした
ものである。また、この符号は、NRZIで7の後で反
転する。(as−/)(kxJ)であるから、データの
ビットセルをTとすると、第1図から明かなようにe 
 (Tmax−−T)となり。
In this example, the tree is set to <t, s; t, ko; 7). Also, this sign is inverted after 7 in NRZI. (as-/)(kxJ), so if the data bit cell is T, then e
(Tmax--T).

(Twin = T )となる。(Twin=T).

第2wi及び第3111は、この発明の一実施例のエン
コードテーブルを示し、第2図が 現したもので、第J[はNRZで表現したものである。
2nd wi and 3111 are encoding tables of an embodiment of the present invention, which are shown in FIG. 2, and J[ is expressed in NRZ.

データのlビットが2ピツ)の将量に変換され。1 bit of data is converted into a quantity of 2 bits).

(rsa+7)とされているので、lビット〜γビット
重でのデータと対応する符号のピッ)黴は、コビツ)、
lピッ)、lビット、lピッ)、10ビツシ、/、コビ
ツシ、711ビツシと2の倍歇となる。
(rsa+7), so the code corresponding to the data in l-bit to γ-bit weight is kobitsu),
1 bit), 1 bit, 1 bit), 10 bits, /, 711 bits, and 2 times.

データのO同士の−に存在するlの数と、lが7ビツト
連続するのと対応して符号が定められている。また#符
号のCIO>;スとし、(0/)を7とし、<00>を
Oとす1C委によって参道で符号を褒舅することができ
る。−I■のように。
A sign is determined corresponding to the number of l's that exist between - in the data and the number of l's that are 7 consecutive bits. In addition, the code can be praised on the approach by the 1C committee, where the # code is CIO>;, (0/) is 7, and <00> is O. -Like I■.

11JIIに示す符号のlの後で夏−が生じる被形なの
で、その低レベルをOとし、高レベルI/とすると、第
711に示すようなNR4の表現でエンコードテーブル
を表わすこ2ができる。
Since Natsu- occurs after l in the code shown in No. 11JII, if its low level is set to O and its high level is set to I/, the encode table can be represented by the expression of NR4 as shown in No. 711.

((1−/) #)条件は、NRZe場会に場合O又は
lがコ傭潰連続する必要があるので、前の符号(MRZ
)e最後のピッ)がOf)と會at、 111711人
に示すテーブルが用いられ、これがlのときは。
((1-/) #) The condition is that the case O or l must be continuous in the NRZe field, so the previous code (MRZ
)eThe last pitch) is Of) and the table shown in 111711 people is used, and when this is l.

1117[IBに示すテーブルが用いられる。この11
13図から明かなように、Oのピッ)を−lとし、lの
ビットを十lとして、#置部に総和をとることでディジ
タ廣和(以下、 DIIV造略す)が求められる。
1117 [The table shown in IB is used. This 11
As is clear from FIG. 13, the digital sum (hereinafter abbreviated as DIIV) can be obtained by setting the bit of O to -l and the bit of l to 10l, and taking the sum in the # position.

このD8Vが0の符号は、その1個でデータの7−に財
応さ曽、 DIiVが0でないlF量は、符号が低レベ
ルから鍮會ると1i(117■ム)のDflVが負のも
のな゛マツプAとし、 DIIVが王のものを!ツブB
とし、l1号が高レベルから艙會ると會(第JliB)
のD8マが正のものをマツプAとし。
The sign of this D8V of 0 corresponds to the data 7-, and the amount of IF for which DIiV is not 0 has a negative DflV of 1i (117 mm) when the sign is changed from a low level. Let Map A be the one, and DIIV be the king's! Whelk B
Then, when No. 11 met from a high level, there was a meeting (No. JliB).
Let map A be the one where D8ma is positive.

D8Vが負のものをマツプBとする。そして、エンコー
ドの際に′は、nsvの累算値を見ており、これが正で
次の符号の鍮會りが低レベルeときは、マツプAの符号
を用い、この鍮會9が高レベルのと會は、マツプ1tf
)符号を眉いるc、nsvの累算値が負のときのマツプ
A、Bの選択は、上達と逆になされる。このようなエン
コードを行なうことによって、直流及び低域成分の減少
を−ることがで會るO なお、stggr及び1llJ図に示すエンツートチ−
プルは、−意に復号することができると共に、エラーが
生じても、これの伝繻が**であるという可変長符号の
一毅釣条件を満足している。また。
Map B is the one where D8V is negative. Then, when encoding, ' looks at the accumulated value of nsv, and if this is positive and the next sign's brass association is at a low level e, the sign of map A is used, and this brass association 9 is at a high level. Notokai is map 1tf
) When the cumulative value of c and nsv is negative, the selection of maps A and B is done in the opposite way to the improvement. By performing such encoding, it is possible to reduce the direct current and low frequency components.
A pull can be decoded at will, and even if an error occurs, the pull satisfies the one-permanence condition of a variable-length code, that is, the propagation is **. Also.

17ビツトのデータに対応する符号としては、第参図に
示すようなりIIVが正負−極性のl履のlF号(3つ
の例が示されている)を用いるようにしても良い。
As a code corresponding to 17-bit data, an IF code (three examples are shown) may be used, with IIV having positive/negative polarity and l/l as shown in FIG.

111j閣ム及びjlllBは、NRZI”C’麦現*
htデコードテーブルを示す。遥雷は、可変長挿置のデ
コードを行なう場合、符号のl#ビットをレジスタに取
り込み、このl#ビットに該当する符′号を探し、見つ
かれば、テーブルよりデコードし。
111j cabinet and jllllB are NRZI”C’mugigen*
ht decoding table. When performing variable-length interpolation decoding, Harukai takes the l# bit of the code into a register, searches for the code that corresponds to the l# bit, and if found, decodes it from the table.

見つからなければ、l参ピッ)のうちの先願からのll
ビットに該当するstewすというステップを順次行な
う必要がある。これに対し、この発明の一実施例ては、
  (/ / / / / / /”)のデータを除い
て、第jIIから明かなように、最大で前のlビット、
IIのlビットを調べることにより一意にデコードされ
る。
If you can't find it, please refer to the previous application.
It is necessary to sequentially perform steps corresponding to the bits. On the other hand, in one embodiment of the present invention,
Except for the data of (/ / / / / / /”), as is clear from the jII, at most the previous l bits,
It is uniquely decoded by examining the l bit of II.

デツーr紘、エンコードと遂にlビットをlピッ)に変
換するものであり、第3図においてアンダーラインを付
した2ビツトがlピッ)に変換される。そして、第jl
lAは、デコードされるlビットがOの場合のテーブル
を示し、第jllBはこれが7の場合のテーブルを示し
ている。また、lが7個連続するデータに対応するツー
Vは、その参道6褒現による(///10)のIOビッ
トのビット′1、パターンを検出することによってデコ
ードすることができる・更に、上述のデツーFの規則の
何れにも1M1当しない符号は、エラーとして検出され
る@ 以下、この発明を上述のような(/、J’、l。
The encoder converts 1 bit into 1 bit, and the 2 bits underlined in FIG. 3 are converted into 1 bit. And the jl
lA indicates a table when the l bit to be decoded is O, and jllB indicates a table when it is 7. In addition, the 2 V corresponding to data with 7 consecutive l's can be decoded by detecting the pattern of bit '1 of the IO bit of (///10) according to the approach 6.Furthermore, A code that does not match 1M1 to any of the above-mentioned Detu F rules will be detected as an error.

コ;7)の可変長コードに対して適用した一実施例につ
いて説明する。
An example applied to the variable length code of (7) will be described.

第4図及び第711&!、この発明の一実施例における
エンコーダの構成を示し、第zgu、このエンコーダの
動作を表わすタイムチャー)である。
Figure 4 and Figure 711 &! , which shows the configuration of an encoder in an embodiment of the present invention, and zgu is a time chart representing the operation of this encoder.

第4[において、1で示す端子にデータが供給され、2
で示す端子にクーツクCKIIが供給される。このタ宵
ツクCxH材、第jliAに示すターツクCIを1に分
周したもので、入力データのビット周波数と等しい鳴の
て島る・會th#sは、アツブカウンタを示す。
In the fourth [, data is supplied to the terminal indicated by 1, and 2
Cuckoo CKII is supplied to the terminal indicated by. This clock CxH material is obtained by dividing the clock CI shown in the jliA by 1, and the ringing island number th#s, which is equal to the bit frequency of the input data, indicates an active counter.

このカウンタ3は、夕田ツタC1[Hを計数すると共に
、入力反転のNORゲー)4の出力でクリアされる。′
jIゆンタ3の上位コビツシの出力が舅AMDゲー)5
に供給されることで、信号$、が形成され、NORゲー
)4の一方の入力とされる。)10Rデー)4の他方の
入力としてデータが供給され。
This counter 3 is cleared by the output of Yuta Tsuta C1 [counting H and NOR game with input inversion] 4. ′
jI Yunta 3's top level output is AMD game) 5
A signal $ is formed by supplying the signal to one input of the NOR gate (4). )10R data is supplied as the other input of)4.

したがってデータ又は信号8.がOとなることにより、
 NORゲート4の出力8.が0とな!、これによって
力ラン#3がクリアされる。つまり、★ウンタ3は、デ
ータの連続するlの歌と対応した出力を発生すると共に
、最大77個でクリアされ。
Therefore data or signal 8. By becoming O,
Output of NOR gate 48. is 0! , this clears Power Run #3. In other words, ★ counter 3 generates outputs corresponding to l consecutive songs of data, and is cleared with a maximum of 77 pieces.

データをリードに区切っている。The data is separated into leads.

また、データ及び信号S、が供給されるA)IDゲージ
・によってlが7個連続するときに、lとなる信号8.
が彫處される。また、夕胃ツタCKHと信号88とが反
転されて供給声れるA)fDゲート1によってツーrの
区切りcoとなる信号8−が形成される。
In addition, when the data and signal S are supplied with A) ID gauge 7, a signal 8.
is carved. In addition, the signal 88 is inverted and supplied by the A)fD gate 1 to form the signal 8-, which is the delimiter of the signal 88.

上達のカラン#3の出力が(J−1)デコーダSに供給
される。この場合、その最下位ビツシと信号8sとがイ
タスタルーシプORゲート9を介される。したがって、
lの連続機が4傭のデータのリードの場合には、(/1
0)のJピッ)がデコーダ$に加えられ、この連続機が
7個の場合には、、、<iit>のJビットがデコーダ
$に加えられることになる。このデコーダ8の出力に現
れるlの連続機を示すデータがAγDゲート及びORゲ
ージを複徽領用いた組舎曽回路10に供給され。
The output of advanced callan #3 is supplied to (J-1) decoder S. In this case, the least significant bit and the signal 8s are passed through an itastarucip OR gate 9. therefore,
When a continuous machine of 1 reads data of 4 days, (/1
J bits of 0) are added to the decoder $, and if there are 7 consecutive machines, J bits of <iit> are added to the decoder $. The data indicating the continuous unit of 1 appearing at the output of the decoder 8 is supplied to the assembly circuit 10 which uses an AγD gate and an OR gauge.

第2図に示すテーブルに従ってエンコードが行なわれ1
組合せ回路10から符号が現れる。この場金、第2図に
おいて規定されてないビツシは金てOとされる。例えば
データの(10)と対応する符号(0/ 00>は@ 
 (&1 @ &@ g kB ”””al、)が<o
oiooooooooooo>の14!ピツ)とされる
。これと共に、第2閣から明かなように、al、龜49
&’@のJピッ)は、金てOであるので、この3ビツト
は總金tg路10から出力されない。
Encoding is performed according to the table shown in Figure 2.
A code emerges from the combinational circuit 10. In this case, any bits not specified in Fig. 2 are considered to be O. For example, the code (0/00> that corresponds to data (10) is @
(&1 @ &@ g kB ”””al,) is <o
oiooooooooooo>14! Pitsu). Along with this, as is clear from the second cabinet, al.
Since the J bit of &'@ is 0, these 3 bits are not output from the tg path 10.

また、JK79ツブ7田ツブ11がIIけられ。Also, JK79 Tubu 7 Tabu 11 was kicked out II.

マツプA、Bを指定する儒J#84が形成される。Confucian J#84 specifying maps A and B is formed.

JK79ツプフ讐ツブ11の711びYの入力として入
力反転のNARDゲー)12の出力が供給されておりv
  (To r)が<oo>の−舎に、その出力である
信号s4がデータ# CKIiによって瓦板し、これが
(l/)の場合に、信号84が反転しない・MANDデ
ー)12には、信号CとANDゲート13の出力の反転
されたものとが供給され。
The output of the NARD game (NARD game) 12 of input inversion is supplied as the input of 711 and Y of the JK79 block 11.
When (To r) is <oo>, the output signal s4 is shattered by the data # CKIi, and when this is (l/), the signal 84 is not inverted (MAND day) 12, Signal C and an inverted version of the output of AND gate 13 are supplied.

ANDゲート13に信号8s及びB4が供給される。Signals 8s and B4 are supplied to AND gate 13.

このマツプの選択は、/符号毎に、マツ1A、Bかも交
互にとり、<oioootoiotoi。
The selection of this map alternately selects pines 1A and B for each / code, and <oioootoiotoi.

O)のパターンのときのみ、翼在のマツプ1と同じ、マ
ツプBからとるようになされる。これは。
Only in the case of pattern O), the map is taken from map B, which is the same as map 1 of the wings. this is.

Dllvの絶対値が等しく、(nsv嵩0)の符号の7
の歇が奇数−であり、(nsv!qo)の符号のlの敵
が偶数個であることによる。但し、上述のlダビットの
パターンは、これにlk3!iLない。一般的に、 D
llvの絶対値が等しい場合には、lの数が奇撒なら9
次の符号は、現在と異なるマツプからと砂、これが偶数
なら同じマツプかもとり。
The absolute values of Dllv are equal and the sign of (nsv volume 0) is 7
This is because the interval of is an odd number -, and the number of enemies of l of the sign of (nsv!qo) is an even number. However, the above-mentioned l dabit pattern is lk3! There is no iL. Generally, D
If the absolute values of llv are equal, if the number of l is odd, then 9
The next code is from a map different from the current one, and if this is an even number, it may be the same map.

(nsv!qO)のときは、これと逆の選択を行なえば
良い。
(nsv!qO), the opposite selection should be made.

なお、m合量11m116に代えてROMを用いること
もで會る。この場合に鯰、デコーダ$に供給される3ビ
ツトと夏ムNDゲート12の出力とがROMのアドレス
とされる。
Note that a ROM may be used in place of the total m amount of 11 m116. In this case, the 3 bits supplied to the decoder $ and the output of the summer ND gate 12 are used as the ROM address.

上述の親金曹回路10からの//ビツシが第7図に示す
ように、゛イタスクルーシプORデー11゜lc 1 
 *   II   *   l@   *   BY
   *   m、   e   M 1@   ― 
 鳶 ■  ψ罵■・Els−鳶14の夫々の一方の入
力とされる。また、14.Is、l@、17は、縦続接
続されたパラレ#買−ド可能なシリアルイン/パラレル
アウトのシフ)レジスタを示す。このシフトレジスタ1
″4〜11の夫々のプ叩七ツ)入力として、イタスクル
ーシプORゲー) 1. 、 IIm mmmmm*罵
、4の各出力が供給される。但し、alに財しては、常
にON与えられている。また、シフ)レジスタ14〜1
Tのパラレル聞方C−〜014がイタスクルーシブOR
ゲー)1.、Ns・・・・・−1114の他方の入力と
される。この場合、龜、、龜、に対応するパツレ#出力
Cs及びCマは、そのままシフ)レジスタ14及び15
のプリセット入力とされる。このシフ)レジスタ14〜
17eIPwツク入力として、端子18からのターツタ
パルスCKが供給され、これらの費−ドパルスとして端
子1sからの信号Is  (第t11及び嬉t’1li
I参厘)が供給される。
As shown in FIG.
* II * l@ * BY
* m, e M 1@ -
This is used as one input for each of the following 14. Also, 14. Is, l@, 17 indicates a serial-in/parallel-out shift register that can be connected in parallel. This shift register 1
As inputs for each of ``4 to 11'', each output of ``Itacruship OR game'' 1., IIm mmmmmm*expletive, 4 is supplied. However, when input to al, it is always given ON. Also, shift) registers 14 to 1
T's parallel listening C-~014 is Ita exclusive OR
Game) 1. , Ns...-1114. In this case, the pattern # outputs Cs and Cma corresponding to 龜, 龜, are shifted as they are in registers 14 and 15.
It is used as a preset input. This shift) register 14~
17eIPw As input, the start pulse CK from terminal 18 is supplied, and the signal Is from terminal 1s (the t11th and t'1li
1) will be supplied.

シ7トレジス#1Tの出力CI4がインバータ20を介
してD形7リツプ7wツブ21のターツタ入力とされ、
その出力端子22に直列の符号が得られる・ 上述のこの発明の一実施例において、第twtcに示す
データが入力端子1に供給されるときの動作について説
明する。このときは、第1HD、 1ielIIx *
 jl II ’に示す信号IIs * 8m e I
Im M発&し、同図Gに示すマツプA、IIを切替え
る信号84が発生する。fslWiD&−招ける数字は
、*ウンタ3の出力を示しており、これと信号8.とか
も、デコーダ8に対しては、第jllHに示す数値のコ
ードが供給される。
The output CI4 of the 7th register #1T is passed through the inverter 20 to the tartar input of the D-type 7rip 7w tube 21,
A serial code is obtained at the output terminal 22. In the above-described embodiment of the present invention, the operation when the data shown in the twtc is supplied to the input terminal 1 will be described. At this time, the 1st HD, 1ielIIx *
Signal IIs * 8m e I shown in jl II'
A signal 84 is generated which switches between maps A and II shown in FIG. The numbers fslWiD&- indicate the output of *counter 3, and this and signal 8. Also, the decoder 8 is supplied with a numerical code shown at jllH.

會た。第jllIは、信号8sを示し、これによってデ
ータのフードの区切りが示され、したがって、第tHH
&−おいて0?閣んだ数字がデータのlワードのlの連
続数を表わしている。例えば第1WH&:招ける0は、
データのlワードが(/////10)であることを意
味し、*舎曽―路10かもこのデータと対応して、!ツ
プムからとられた(am e as・・・・・・1.4
)のllビットとして、  ((as ) 0/ (1
14) 10/ Ca、) 101010)が発生する
We met. The jllI shows the signal 8s, which indicates the delimitation of the data hood, and therefore the tHH
&- put 0? The calculated number represents the number of consecutive l's in the l word of the data. For example, the first WH &: 0 that can be invited is
It means that the l word of the data is (/////10), and *Shaso-ji 10 also corresponds to this data! Taken from Tupum (am e as...1.4
) as ll bits of ((as) 0/(1
14) 10/Ca,) 101010) occurs.

シフトレジスタ14〜17のシリアルイン入力としては
、富にOが供給されている。このシフ)レジス#14〜
IFのパテレに出力C1〜C□が全てOの状態において
、信号1.の立上9で親舎せ回路10の出力が一−ドさ
れe jll t II Jにおいて枠て■んで示すよ
うに、シフトレジス#14〜17の出力C3〜C14が
履舎曽−路10の出力と対応したものに変化する。次に
、信号8膠の   ′立上抄で新たな符号が−−ドされ
る亥で、シ7トレジス#14〜17は、夕買ツタCIに
よりシフ)動作を行ない、0が入力されていることで、
第1*Jにおいて斜めの集線より下方に示すように。
O is supplied to the serial inputs of the shift registers 14 to 17. This Schiff) Regis #14~
When the outputs C1 to C□ are all O to the IF pattern, signal 1. At the start-up 9, the output of the parent circuit 10 is turned on, and as shown in the frame (■) in J, the outputs C3 to C14 of the shift registers #14 to #17 are the outputs of the parent circuit 10. It changes to the corresponding one. Next, when a new code is entered at the start of signal 8, registers #14 to #17 of signal #17 perform a shift operation by Yubuya Tsuta CI, and 0 is input. By that,
As shown below the diagonal concentration line in 1st *J.

シ7トレジス#14〜17の出力が順次0となる。The outputs of the registers #14 to #17 become 0 in sequence.

また、シフ)レジスタ11の出力csiが取り出され、
出力端子22には、第を図!に示す直列の出力符号□1
RZI)が得られる。
In addition, the output csi of the shift) register 11 is taken out,
The output terminal 22 has a number shown in the figure! The serial output code shown in □1
RZI) is obtained.

また1次に、デコーダ8の^力Φと対応する符号が―−
ドされ、上述と同様の動作がなされる。
Also, in the first order, the code corresponding to the power Φ of the decoder 8 is -
The same operation as described above is performed.

更に、デコーダ8の出力■と対応するIllが賀−ドさ
れる。この場合、■と対応する符号は、lピッ)が有効
であり、この≦ビットと対応するシフトレジスタの出力
は全てOであるため、そのままp−ドされると共に、l
ビットは0!あるから。
Furthermore, Ill corresponding to the output (2) of the decoder 8 is coded. In this case, the code corresponding to ■ is valid (l bit), and the output of the shift register corresponding to this ≦ bit is all O, so it is p-coded as is and l
The bit is 0! because there is.

シフトレジスタにまだ残っているΦと対応する符号のl
ビットが保存される。かかる出力符号は。
l of the sign corresponding to Φ still remaining in the shift register
bits are saved. Such output sign is .

例えば回転ヘッドによって磁気テープに一記録されるO 第9図は、この発明の一実施例におけるデコーダの構成
を示し、第10図は、このデコーダの動作を表わすタイ
ムチャージである。
For example, an image is recorded on a magnetic tape by a rotary head. FIG. 9 shows the configuration of a decoder in an embodiment of the present invention, and FIG. 10 shows a time charge representing the operation of this decoder.

fs9図において、23で示す入力端子に例えば磁気テ
ープから再生された符号系列が供給され。
In the fs9 diagram, a code sequence reproduced from, for example, a magnetic tape is supplied to an input terminal indicated by 23.

24で示す端子にタレツタCIが供給される。この符号
系竺がD$79ツブ7wツブ2SとイタスクルーシプO
Rゲー)2@とD廖79ツブ7wツブ21とを介される
ことによって、NRZの波*(lは高レベル、0#i低
レベルと対応する波・量)に変換される。また、ターツ
タCIがムNDゲート21を介してD形7リツプ7wツ
ブ2Iにより百に分局され1位相がずれた2つのターツ
タCXX。
A collector CI is supplied to a terminal indicated by 24. This code system is D$79 Tsubu 7w Tsubu 2S and Itacruship O
It is converted into an NRZ wave* (l is a high level, 0#i is a wave/amount corresponding to a low level) by passing through the R game) 2@ and the D 79 tube 7w tube 21. Further, the tartuter CI is divided into 100 stations by the D-type 7 lip 7w tube 2I via the mum ND gate 21, and the two tartuta CXX are separated by one phase.

及びCKII、が形成される。and CKII are formed.

第1O図Aは、タロツタCIを示し、同図B及び同11
cu、ターツタCKH,及びCl−を示す。
Figure 1A shows Tarotsuta CI, Figure 1B and Figure 11
Cu, Tartuta CKH, and Cl- are shown.

このタレツタCIE、及びCl1l、は、lF号のコビ
ットと対応している。また、第1 O’1liDは、5
rIIKと対応する符号系列の一例を示しており、これ
が7リツプ7wツブ25,27を介されることで、第7
0閣罵に示すように、lピッ)連れ。
These tarets CIE and Cl1l correspond to the cobit No. IF. Moreover, the first O'1liD is 5
An example of a code sequence corresponding to rIIK is shown, and by passing through the 7 rip 7 w knobs 25 and 27, the 7th
As shown in the 0 cabinet insult, l p) accompanied.

NRZに変換されたデータD、が発生する。このデータ
DIがシフトレジスタ30及び32のシリアル入力とし
て供給されると共に、パラレル−一ド入力の最下位ビッ
トとして供給される。
Data D converted to NRZ is generated. This data DI is supplied as the serial input of shift registers 30 and 32, and as the least significant bit of the parallel input.

再生データをII&環する揚台、符号系列をどこで区切
って2ビツトずつの組にするかのアレー之ンダが行なわ
れる。この例では、フレーミングが正常なときには、<
01>の一ビットのパターンが最大4個しか連続しない
ことを利用して7レーミンダを行なっている。シフトレ
ジX#30&!、タ璽ツタcxiilで動作し、シフ)
レジス#32は。
The reproduced data is rearranged and arrayed to determine where to divide the code sequence into groups of 2 bits each. In this example, when the framing is normal, <
7 Reminder is performed by utilizing the fact that there are only four consecutive one-bit patterns of 01> at most. Shift register X#30&! , works with cxiil and schiff)
Regis #32 is.

り田ツタCKH,で動作してい墨のて9両シフ)レジス
タ30及び32には、デー#D1の連続する一ビットが
取り込まれる。とのシフ)レジスタ30及び32のパラ
レルアラ)の最下位ビットが信号8.及び8!として取
り出され、(−一#)デコーダ34に供給される0 2ビツト(S・、8マ)が(O7)のときに。
One consecutive bit of data #D1 is taken into the registers 30 and 32. The least significant bit of the parallel shift of registers 30 and 32 is signal 8. and 8! When the 02 bits (S·, 8ma) extracted as (-1#) and supplied to the decoder 34 are (O7).

デコーダ34の出力8.がlどなり、これがORゲー)
35を介して力☆ン#3Gのタリフ入力となされる。カ
ラン#36は、タロツタCIH,を計数し、゛これを7
個以上例えばl≦領計敵すると會にOとなる中ヤリー出
力を発生し、このキャリ供給される。(Ol)のパター
ンが7個以上連続すれば、ミス7レームであるが、伝道
時のエラーを考慮して14個の(O7)のパターンを検
出してミスフレームとしている。
Output of decoder 348. (This is an OR game)
35 is used as the tariff input for force #3G. Karan #36 counts Tarotsuta CIH, and makes it 7.
For example, if l≦the total is equal to or greater than 1, a mid-range output that becomes O is generated, and this carry is supplied. If 7 or more (Ol) patterns are consecutive, it is a missed 7 frame, but taking into account errors during transmission, 14 (O7) patterns are detected and considered as a missed frame.

第1OHMに示すデータり、がターツクC’KII。The data shown in the first OHM is Turk C'KII.

及びCKH,によって交互にシフトレジス#sO及び3
2に取9込會れるので、信号壽−及び8.は。
and CKH, alternately shift registers #sO and 3.
Since 2.9 is included, the signal life and 8. teeth.

#/7IIF及びGに示すものとなる。(8=、勧)が
CO/)の場舎に、l1110Wivtに示すように。
#/7IIF and G. (8=, Recommendation) in the place of CO/), as shown in l1110Wivt.

信号8.が/となるので、同図において/、、2゜J・
・・・・・≦と示すように、カウンタ36が夕習ツクC
KH,を計数し*(8selly)が(Oo)となるこ
とによって信号8・がOとなると、カラン#3Gが夕雫
アさhる。第io*F−示すタイムチャートは、−レヘ
ニ宅ングが正しい場舎であるが。
Signal 8. becomes /, so in the same figure /,, 2°J・
...As shown by ≦, the counter 36 indicates the evening lesson
When the signal 8 becomes O by counting KH, *(8selly) becomes (Oo), the signal #3G is turned on. The time chart shown in Chapter io*F shows that the correct location is Leheni's house.

もしミス7レー^が生−一と、カラン#s@のキ+り一
出−力によってアントゲ−)2$を夕胃ツタC1Lが通
過できなくなり、これが7傭であるため。
If Miss 7 Ray^ is raw-1, due to Karan #s@'s key output power, evening stomach ivy C1L will not be able to pass through Antogame) 2$, and this is 7-mer.

り冒ツpat−及びCKH,の位相かに転され。The phase of the attack and CKH is inverted.

ミスフレームが補正される0 會た。デコーダ34の出力信号8− (第1O図I)と
カウンタ36の参ビツシの出力とがデコード動作のため
に用いられる。信号8・とカウンタS@の出力とがアン
トゲ−)31に供給される。
0 meeting where misframes are corrected. The output signal 8- (FIG. 1O) of the decoder 34 and the reference output of the counter 36 are used for the decoding operation. The signal 8. and the output of the counter S@ are supplied to an anti-game 31.

このアンドデー)$7の出力が7雫ツブ7wツブ3@と
VORゲージSSとを介されて信号1..が311威さ
れる0この信号lI@は、第1OIIIJに示すように
、I!進表示で(///10)−進表示で(01010
10100>のビットパターンを検出すると、lになる
ものである。つまり、データの(lllllll)と対
応する符号<ioi。
The output of this &day) $7 is sent through the 7 drop tube 7w tube 3@ and the VOR gauge SS, and the signal 1. .. 311 is applied 0 This signal lI@ is, as shown in the first OIIIJ, I! In decimal display (///10) - in decimal display (01010
If a bit pattern of 10100> is detected, it becomes l. In other words, the code corresponding to (llllllll) of the data <ioi.

0101010100>叉は<otoooiotOlo
loo)は、前述のように、第jllに示′すデコード
テーブルによってデコードで會ないので。
0101010100>or<otooioiotOlo
loo) is not decoded by the decoding table shown in jll, as described above.

このような符号の揚台は、(010101010101
010/>のパターンのIFIに変換するのである。
A platform with such a code is (010101010101
It is converted into an IFI with a pattern of 010/>.

このような変換は、縦続接続されたシフトレジスタ30
及び31のプリセラ)入力として全てOを供給し、縦続
接続されたシフトレジスタ32及び33のプリセラ)入
力として全てl゛を供給すれば良い。そして、信号81
が7となる時に、これらのプリセット入力をシフトレジ
スタ5oNssに田−ドするようになされる。このよう
に、s号を変換することによって、<01>のコビツ)
がlにデコードされるから、7ビツ)が垂てlのデータ
が得られる。    ゛ また、シフ)レジスタ31及び3sのパラレル出力8,
1〜81.が組舎曽回路4・に供給さ−れる。
Such a conversion is performed using cascaded shift registers 30
31 and 31 as inputs, and l' as inputs to all the cascade-connected shift registers 32 and 33 as inputs. And signal 81
When becomes 7, these preset inputs are loaded into the shift register 5oNss. In this way, by converting the s number, the <01> Kobitsu)
is decoded into l, so 7 bits) are decoded into l data.゛Also, shift) register 31 and parallel output 8 of 3s,
1-81. is supplied to the assembly circuit 4.

この粗金tI回路40は、第3図に示すデコードテーブ
ルに従ってANDゲージなどが接続されたものであり、
その出力端子41にデx−f出力が取り出される。粗金
を回路40に代えてROMを用いることもCきる。また
、第jllに示すデコードテーブルに該当しない符号の
場舎は、これをエラーとみなして、エラーの有無を示す
信号を親舎曽回路40から発生するようにしても良い。
This coarse gold tI circuit 40 has an AND gauge and the like connected according to the decoding table shown in FIG.
The dexf output is taken out to the output terminal 41. It is also possible to use a ROM instead of coarse gold for the circuit 40. Further, a code field that does not correspond to the decoding table shown in jll may be regarded as an error, and a signal indicating the presence or absence of an error may be generated from the parent circuit 40.

第3図のデコードテーブルにおけるjビットの狩号のN
Rzに変換したものが信号”11〜allと對応してい
る。第1oHx、同図L t MI III M s同
Ill WRlloの夫々に信号8゜、虐11 e 8
111e’14 e itsが示されている。このjピ
ッ)81〜Slと財産して組会せ回路40#)出力端子
に第1OWIPに示すデータが得られる・図示せずも。
N of the j-bit Karigo in the decoding table of Figure 3
What is converted to Rz corresponds to the signal "11~all. Signal 8°, 11 e 8 for the 1st oHx, Lt MI III M s Ill WRllo in the same figure, respectively.
111e'14e its is shown. The data shown in the first OWIP is obtained at the output terminal of the circuit 40#) which is combined with the J pins 81 to SL (not shown).

これをD廖7リツプ7四ツブ1+して嬉10WiQに示
すようなデコード出力が得られる。
By adding this to D 7 ri 7 4 tsu 1 +, a decoded output as shown in 10WiQ can be obtained.

上述の一実施例の説明から理解!れるように。Understand from the explanation of one embodiment above! So that it can be done.

この発明に依れば、直流成分が抑えられた変調を行なう
ことができる。したがって、i1転ヘッド形のデープレ
コーダのように、直流成分を伝送てきない揚台に適用し
て好適である。また、最大戻転関■T111龜!と最小
反転間−T重inとが2!及びTのように、互いの差が
小さいものとされているので、羨調出力のスペクトルが
集中している。したがって、記録イフライザなどの設嘗
が容易となり。
According to this invention, it is possible to perform modulation with suppressed DC components. Therefore, it is suitable for application to a platform that cannot transmit a DC component, such as an i1 rotary head type day recorder. Also, the maximum return test ■T111 pin! and the minimum reversal interval - T multiplication in is 2! and T, the difference between them is small, so the spectrum of the envy output is concentrated. Therefore, it becomes easy to set up a recording ifrazer, etc.

また、ビータシフ)量が小さくなる利点がある。In addition, there is an advantage that the amount of beater shift is reduced.

更に、直流成分のみならず低域成分もおさえられている
ため、ターストーク妨害が少なくなる。
Furthermore, since not only the DC component but also the low frequency component is suppressed, Tarstalk interference is reduced.

第7図は、この発明の説明に用いる被形−1第2図、第
JIi及び第4!閣はこの発明が遣M1!!れたlFf
の工ンズー「テーブルの一例を示す略−一。
Fig. 7 shows the shape-1 Fig. 2, JIi, and 4! used for explaining the present invention. This invention is the M1 of the Cabinet! ! 1Ff
``An example of a table is shown in Table 1.''

第jllはそのデコードテーブルの一例を示す略纏−9
第411及び第7図はこの発明の一実施例に招けるエン
コーダのブーツタ図、第jllはこのエンコーダの動作
説明に用いるタイムチャージ、嬉を閣はこの発明の一実
施例におけるデコーダのブーツタ図、第1oriaはこ
のデコーダの動作**に用いるタイムチャートである。
No. jll is an abbreviation-9 that shows an example of the decoding table.
Figures 411 and 7 are boot starter diagrams of an encoder that can be used in an embodiment of the present invention, No. Jll is a time charge used to explain the operation of this encoder, and Figure 7 is a boot starter diagram of a decoder in an embodiment of the present invention. The first oria is a time chart used for the operation** of this decoder.

3.36・・・・・・カウンタ、II、34・・・・・
・デコーダ、10.40・・・・・・綴金−を回路、1
4.Is、16.17,30.31.32.33・・・
・・・シフシレジスタ。
3.36... Counter, II, 34...
・Decoder, 10.40... circuit, 1
4. Is, 16.17, 30.31.32.33...
...Sifushi register.

代履人 杉浦正匍Substitute agent: Masamasa Sugiura

Claims (1)

【特許請求の範囲】 墓ビットのデータをnビットの符号に変換すると共に、
/とlとの閏のOの数の最小値及び最大値が夫々d及び
kに開眼されるように変換する可変長符号の変換方法に
おいて、ディジタル和がOの符号は、そのl儒でデータ
の7個に対応させ。 ディジタル和がO″Cない符号は、符号が低レベル又は
高レベルから船倉るときのディジタル和の極性が反対で
、その絶対値の等しいコ領を7組として、データの1個
に対応さ曽ることを勢徽とする2値符号の変換方法。
[Claims] Converting grave bit data into an n-bit code,
In a variable-length code conversion method in which the minimum and maximum values of the number of leapfrogs between / and l are converted to d and k, respectively, the code whose digital sum is O is Correspond to the 7 items. For codes whose digital sum is not O''C, the polarity of the digital sum is opposite when the code goes from a low level or a high level, and seven pairs of codes whose absolute values are equal correspond to one piece of data. A binary code conversion method that emphasizes
JP5155282A 1982-03-30 1982-03-30 Converting method of binary code Pending JPS58169305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5155282A JPS58169305A (en) 1982-03-30 1982-03-30 Converting method of binary code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5155282A JPS58169305A (en) 1982-03-30 1982-03-30 Converting method of binary code

Publications (1)

Publication Number Publication Date
JPS58169305A true JPS58169305A (en) 1983-10-05

Family

ID=12890166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5155282A Pending JPS58169305A (en) 1982-03-30 1982-03-30 Converting method of binary code

Country Status (1)

Country Link
JP (1) JPS58169305A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0405836A2 (en) * 1989-06-28 1991-01-02 Digital Equipment Corporation Data encoding and demodulation system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50142131A (en) * 1974-05-02 1975-11-15
JPS51110206A (en) * 1975-03-24 1976-09-29 Hitachi Ltd PARUSUDENSOHOSHIKI
JPS52128024A (en) * 1976-04-20 1977-10-27 Nec Corp Binal data coding method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50142131A (en) * 1974-05-02 1975-11-15
JPS51110206A (en) * 1975-03-24 1976-09-29 Hitachi Ltd PARUSUDENSOHOSHIKI
JPS52128024A (en) * 1976-04-20 1977-10-27 Nec Corp Binal data coding method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0405836A2 (en) * 1989-06-28 1991-01-02 Digital Equipment Corporation Data encoding and demodulation system

Similar Documents

Publication Publication Date Title
JPH03280624A (en) Coding and decoding device for variable length data
JPS58169305A (en) Converting method of binary code
JP2970231B2 (en) Parallel multiplication circuit
TW498626B (en) Chien&#39;s searching apparatus
JPH0556070B2 (en)
JPH0828052B2 (en) Frame generation method for PCM data
EP0470793B1 (en) Digital signal orthogonal transformer apparatus
JPS5845202B2 (en) Gijisei Genha Hatsusei Cairo
CN103139555B (en) A kind of video sequence parameter coding method, coding/decoding method, corresponding device and code stream
JPS62269425A (en) Coding/decoding method for error correction code
JPS6085626A (en) Decoder
JP3524806B2 (en) Code error correction method
JP2536489B2 (en) Compressed data decoding device
RU2006960C1 (en) Information display
JPS595779A (en) Run-length decoding device
JP2728818B2 (en) Variable length decoder
JPS63217724A (en) Syndrome calculation method
SU1290328A1 (en) Device for collecting diagnostic information on generating jump addresses of microprograms
JPH04242374A (en) Decoding circuit for variable length code
JP2559791Y2 (en) Clock generation circuit
JP3245617B2 (en) Waveform generator
SU1198524A1 (en) Device for calculating value of check element
JPH01302917A (en) Data compression system
JPS63276329A (en) Dividing circuit for finite field
JPH03276401A (en) Signal transmission method for rotary transformer