Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6028171B2 - Code/decoding circuit using ROM - Google Patents
[go: Go Back, main page]

JPS6028171B2 - Code/decoding circuit using ROM - Google Patents

Code/decoding circuit using ROM

Info

Publication number
JPS6028171B2
JPS6028171B2 JP55121431A JP12143180A JPS6028171B2 JP S6028171 B2 JPS6028171 B2 JP S6028171B2 JP 55121431 A JP55121431 A JP 55121431A JP 12143180 A JP12143180 A JP 12143180A JP S6028171 B2 JPS6028171 B2 JP S6028171B2
Authority
JP
Japan
Prior art keywords
code
bit
circuit
value
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.)
Expired
Application number
JP55121431A
Other languages
Japanese (ja)
Other versions
JPS5745755A (en
Inventor
浩二 西崎
雅典 荒井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP55121431A priority Critical patent/JPS6028171B2/en
Publication of JPS5745755A publication Critical patent/JPS5745755A/en
Publication of JPS6028171B2 publication Critical patent/JPS6028171B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 本発明は、ディジタル伝送で使用されるブロック符号の
復号回路、特にROM(リードオンメモリ)を用いるこ
とにより回路規模を縮少し、しかも多くの同期情報を使
用して動作の安定化を図つたワード同期回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention reduces the circuit scale by using a block code decoding circuit used in digital transmission, especially ROM (read-on memory), and operates using a large amount of synchronization information. This invention relates to a word synchronization circuit designed to stabilize

符号変換が容易で直流成分を持たず、また誤り検出が容
易なAM1(バイポーラ)符号は、ディジタル伝送系の
伝送路符号として広く実用化されている。しかし、AM
I符号は論理0はそのま)で論理1を交互に十,一に振
り分けるだけの符号であるから、論理0が連続すると受
信側で符号逆変換に用いるクロックが再生できなくなる
。また、情報効率も良くないので、これらの理由から最
近ではタイミング情報に富み、直流成分も少なく、また
情報効率の良い符号が検討されている。その1つに、m
ビットの2値符号を所定の変換則に従いnディジットの
L値符号に変換したブロック符号がある。このブロック
符号はその冗長性を利用することによって、タイミング
情報を豊富にし、また直流成分を減少し、さらには誤に
検出を可能にすることができるが、最大の欠点は正しく
復号するために伝送符号を送信側と同期してnディジツ
トの粗に区切るワード同期回路が必要となる点である。
これをMS43等号を例に説明する。・MS43符号は
、4ビットの2値符号を下表1の変換則に従い3ディジ
ットの3値符号に変換するブロック符号でる。表1 上記に示す方式では1ブロックの2値符号に対し3通り
の3値符号化モードA,B,Cが用意されており、これ
らがRDSで選択される。
AM1 (bipolar) codes, which are easy to code convert, have no DC component, and are easy to detect errors, are widely put into practical use as transmission line codes for digital transmission systems. However, A.M.
Since the I code is a code that only alternately distributes logical 1's into 10's and 1's (logical 0 remains unchanged), if logical 0's continue, the clock used for code inversion cannot be recovered on the receiving side. In addition, the information efficiency is not good, so for these reasons, codes that are rich in timing information, have few DC components, and have good information efficiency are being considered recently. One of them is m
There is a block code in which a bit binary code is converted into an n-digit L-value code according to a predetermined conversion rule. By utilizing its redundancy, this block code can enrich timing information, reduce DC components, and even enable false detection, but the biggest drawback is that This requires a word synchronization circuit that roughly divides the code into n digits in synchronization with the transmitting side.
This will be explained using the MS43 equal sign as an example. - The MS43 code is a block code that converts a 4-bit binary code into a 3-digit ternary code according to the conversion rules shown in Table 1 below. Table 1 In the method shown above, three ternary encoding modes A, B, and C are prepared for one block of binary code, and these are selected by RDS.

RDS(RunningdigiPISum)とは、順
次符号変換して出力する3値符号の過去から現在までの
代数和(論理+を十1、論理0を0、論理−を−1とし
て加算したもの)であり、積分方式であれば積分値とな
る。そしてRDS=+1ではモードAが選択される。同
様にRDS=+2または十3ではモードBが、またRD
S=十4ではモードCが選択される。例えば前ブロック
までのRDSが十1で次の入力2値符号が0000であ
れば、モードはAなので出力3値符号は十十十に変換さ
れる。かかるMS4乳等号には、■ RDSが十1〜十
4の4通りの値しかとらない、■ 3値符号+十十,十
十0,十0十,0十十が用いられるのはRDS=十1の
場合だけであり、また3値符号一一一 一一0,一0一
,0一−が用いられるのはRDS=+4の場合だけであ
る、■ 000の3値符号はない、という特徴があるの
でこれらを利用することでワード同期の正,異常を判断
できる。
RDS (Running digi PISum) is the algebraic sum (addition of logic + as 11, logic 0 as 0, and logic - as -1) from the past to the present of ternary codes that are sequentially converted and output. If it is an integral method, it will be an integral value. When RDS=+1, mode A is selected. Similarly, when RDS=+2 or 13, mode B is
When S=14, mode C is selected. For example, if the RDS up to the previous block is 11 and the next input binary code is 0000, the mode is A, so the output ternary code is converted to 110. For such MS4 milk equal sign, ■ RDS takes only four values from 11 to 14, ■ RDS uses ternary code + 10, 110, 10 10, 0 10. = 11, and the ternary code 111 110, 101, 01- is used only when RDS = +4. ■ There is no ternary code of 000. By using these characteristics, it is possible to determine whether word synchronization is correct or abnormal.

しかし、■〜■の全てを利用するワード同期回路を通常
の個別部品を用いて構成すると回路構成が大規模になる
ので、一般には■〜■の一部だけを利用してワード同期
回路を構成している。第1図は上記■の性質だけを利用
したワード同期回路(全体は符号復号回路)である。
However, if a word synchronization circuit that utilizes all of ■~■ is constructed using normal individual components, the circuit configuration will become large-scale, so generally, a word synchronization circuit is configured using only a portion of ■~■. are doing. FIG. 1 shows a word synchronization circuit (the entire circuit is a code/decoder circuit) that utilizes only the property (2) above.

同図においては1はデコーダで、入力3値符号MS43
の十側と一側を分けて直並列変換回路2へ出力する。0
および逆極性のものは共に0とする。
In the figure, 1 is a decoder, and the input ternary code MS43
The 10th side and the 1st side are separated and output to the serial/parallel converter circuit 2. 0
and those of opposite polarity are both set to 0.

こうしてnビットの入力3値符号は幻ビットのシリアル
な2値符号になる。例えば3値符号MS43が0十一で
あればデコーダーの十側出力は3デイジツト中の十デイ
ジツトでのみ1となる2値符号010となり、また一側
出力は3デイジット中のーデイジットでのみ1となる0
01となる。直並列変換回路2はデコーダ1の十,一側
各シリアル出力を6ビットずつ取込んで並列2値符号D
,〜D6に変換される。上記符号例であればD,〜D6
は010001となる。この6ビットずつの取込みは1
/3分周回7の出力により行なう。符号変換回路3は表
1の変換別に従い、符号D,〜DBを4ビットの並列2
値データに逆変換する。この際積分値RDSが用いられ
る。4は並直列変換回路で、ここで符号変換回路3の4
ビット並列出力を4ビットシリアル出力に変換する。
In this way, the input ternary code of n bits becomes a serial binary code of phantom bits. For example, if the ternary code MS43 is 011, the output on the tenth side of the decoder will be a binary code 010, which is 1 only at the tenth digit among the three digits, and the output on the one side will be one only at the -digit among the three digits. 0
It becomes 01. The serial-to-parallel conversion circuit 2 takes in 6 bits of each serial output from the decoder 1 and converts it into a parallel binary code D.
, ~D6. In the above code example, D, ~D6
becomes 010001. This acquisition of each 6 bits is 1
This is done by the output of /3 dividing circuit 7. The code conversion circuit 3 converts codes D, to DB into 4-bit parallel 2
Convert back to value data. At this time, the integral value RDS is used. 4 is a parallel-to-serial conversion circuit;
Converts bit parallel output to 4 bit serial output.

この4ビット2値データはフリップフロップ5において
周波数らのクロックCLKでリタイミングされてノイズ
除去などを行なわれ、図示しない後段回路へ取込まれる
。次にタイミング関係を説明するに、タイミング回路6
はブロック符号MS43からクロック成分を抽出する。
This 4-bit binary data is retimed by the frequency clock CLK in the flip-flop 5, subjected to noise removal, etc., and taken into a subsequent stage circuit (not shown). Next, to explain the timing relationship, the timing circuit 6
extracts the clock component from block code MS43.

ブロック符号MS43は4ビットの2値符号を1ブロッ
クの時間長を変えずに3デイジットに変換したものであ
るから、該2値符号の基本クロツクの周波数をfoとす
ればタイミング回路6の出力周波数はgo/4となる。
これはデコーダ1で使用されると共に、分周回路7で1
/3に分周される。分周回路7の出力(ち/4)はS/
P変換回路2で用いられると共に、逓倍回路8で4逓倍
される。3は逓倍回路8の出力から周波数foのクロツ
クCLKを抽出する回路で、その出力はフリツブフロツ
プ5に供給されると共に、1/4分周回路10で再度ら
/4に低減されてP/S変換回路4に供給される。
Since the block code MS43 is a 4-bit binary code converted into 3 digits without changing the time length of one block, if the frequency of the basic clock of the binary code is fo, then the output frequency of the timing circuit 6 is becomes go/4.
This is used in the decoder 1 and also in the frequency divider circuit 7.
The frequency is divided by /3. The output (chi/4) of the frequency dividing circuit 7 is S/
It is used in the P conversion circuit 2 and is multiplied by 4 in the multiplier circuit 8. 3 is a circuit that extracts the clock CLK of frequency fo from the output of the multiplier circuit 8, and the output thereof is supplied to the flip-flop 5, and is reduced to 1/4 again by the 1/4 frequency divider circuit 10 for P/S conversion. It is supplied to circuit 4.

かかる符号復号回路で符号逆変換が正しく行なわれるた
めには、S/P変換回路2で取り込む十,一側各シリア
ル2億符号が、送信側と同期して正しく十,一側各3個
ずつ区切られる必要がある。
In order for code inverse conversion to be performed correctly in such a code decoding circuit, the 200 million serial codes on each side of 10 and 1 that are taken in by the S/P conversion circuit 2 must be synchronized with the transmitting side and correctly converted into 3 codes on each of 10 and 1. need to be separated.

分周回路7の出力(fo/4)はこの区切りを指示する
からその発生タイミング(位相)は重要であり、ワード
同期回路11によりこの位相を適宜修正する(ワード同
期をとる)。ワード同期回路11は符号D,〜D6から
RDSを求める積分値カウンタと同期はずれ検出回路を
備えたもので、同期はずれ検出回路は積分値カウンタの
計数値RDSが十1〜十4の範囲から外れたときに異常
パルスを発生する。但し、この異常パルスは伝送路上の
単純な符号誤りによっても発生するので保護回路12を
設け、該回路により異常パルスが何回か連続したときに
初めて分周回路7に出力の位相を1ステップ修正するり
ード同期制御パルスPcを送出するようにする。第1図
のワード同期回路11は回路規模を増大させないために
、MS43等号の前述した特徴■しか利用していない。
Since the output (fo/4) of the frequency dividing circuit 7 indicates this division, its generation timing (phase) is important, and the word synchronization circuit 11 appropriately corrects this phase (establishes word synchronization). The word synchronization circuit 11 is equipped with an integral value counter that calculates RDS from codes D, ~D6, and an out-of-synchronization detection circuit. An abnormal pulse is generated when However, since this abnormal pulse is also generated by a simple code error on the transmission path, a protection circuit 12 is provided, and the circuit causes the frequency dividing circuit 7 to correct the output phase by one step only when the abnormal pulse occurs several times in a row. The read synchronization control pulse Pc is sent out. The word synchronization circuit 11 in FIG. 1 utilizes only the above-mentioned feature (2) of the MS43 equal sign in order not to increase the circuit scale.

しかし、ワード同期が外れてもRDSが十1〜十4の範
囲外の値を頻繁にとるとは限らず、その間に■または■
の条件に反する現象も起こり得る。従って、回路規模を
縮少するために上記■〜■の一部しか利用しないワード
同期回路は、その分ワード同期外れ検出が遅れるので、
保護時間を含めて同期引込み時間が長くなり動作が不安
定となる。本発明は、回路規模を増大することなく符号
変換則の特徴点を最大限利用してワード同期を安定化し
ようとするものである。
However, even if word synchronization is lost, RDS does not necessarily take values outside the range of 11 to 14, and during that time
Phenomena that violate these conditions may also occur. Therefore, in a word synchronization circuit that uses only a part of the above ■ to ■ in order to reduce the circuit scale, the word synchronization loss detection will be delayed accordingly.
The synchronization pull-in time including the protection time becomes long and the operation becomes unstable. The present invention attempts to stabilize word synchronization by making maximum use of the features of code conversion rules without increasing the circuit scale.

mビットの2値符号が所定の変換則に従いnディジット
のL値符号に変換されてなるブロック符号列を受信して
復号する符号復号回路において、受信したブロック符号
列をブロック単位で2値符号に変換しかつ直並列変換し
たものと、自己が出力するRDS値を遅延させて得た前
回までのRDS値とをアドレスとして入力され、該ブロ
ック符号列を逆符号変換したmビット並列2値符号、同
期外れまたは符号誤りを示す異常ビットと同期外れまた
は符号誤りがないことを示す正常ビット、及び前記RD
S値を出力する第1のROMと、前記正常ビット及び異
常ビットを入力され、カウンタ機能を有してワード同期
は正常としている状態で異常ビットが入力すれば計数値
を増加し、それが一定値を越えるとき前記ブロック単位
の区分線位置を移動してワード同期化を図る出力を生じ
る第2のROMとを備えることを特徴とするが、以下図
示の実施例を参照しながらこれを詳細に説明する。第2
図は本発明の一実施例を示すブロック図で、第1図と同
一部分には同一符号が付してある。
A code decoding circuit that receives and decodes a block code string obtained by converting an m-bit binary code into an n-digit L-value code according to a predetermined conversion rule converts the received block code string into a binary code in units of blocks. An m-bit parallel binary code which receives the converted and serial-parallel converted code and the previous RDS value obtained by delaying the RDS value outputted by itself as an address, and inversely converts the block code string, Abnormal bits indicating loss of synchronization or code error, normal bits indicating no loss of synchronization or code error, and the RD
The first ROM that outputs the S value and the normal bit and abnormal bit are input, and it has a counter function and when an abnormal bit is input while word synchronization is normal, it increases the count value and keeps it constant. and a second ROM that generates an output for moving the dividing line position in units of blocks to achieve word synchronization when the value exceeds the value, and this will be described in detail below with reference to the illustrated embodiment. explain. Second
The figure is a block diagram showing one embodiment of the present invention, and the same parts as in FIG. 1 are given the same reference numerals.

本例も第1図と同様にMS43等号を逆変換するもので
あるが、第1図の符号変換回路3、ワード同期回路11
および保護回路12に相当する部分を、2つのROM1
3,14で構成した点が異なる。第1のROM13の入
力は8ビットで、D.〜D6にはS/P変換回路2の6
ビット並列符号が供給される。T,,T2は積分値RD
Sに相当する2ビット符号で、これは出力T3,T4を
それぞれ遅延回路15で1ビット遅延させたものである
。ROM13は出力も8ビットで、○7〜0,oは逆符
号変換された4ビット並列2値デ−タ出力、Eは同期外
れまたは符号誤りで1となる制御出力、Rは同期外れも
符号誤りもない正常時に1となる制御出力である。第3
図はROM13の概念図で、16は符号変換テーブル、
17は正異常判別テーフル、18は積分値テーブルであ
る。
This example also inversely converts the MS43 equal sign as in FIG. 1, but the code conversion circuit 3 and word synchronization circuit 11 in FIG.
and a portion corresponding to the protection circuit 12 is stored in two ROM1
3 and 14 are different. The input of the first ROM 13 is 8 bits. ~D6 is S/P conversion circuit 2-6
A bit-parallel code is provided. T,, T2 is the integral value RD
This is a 2-bit code corresponding to S, which is obtained by delaying each of the outputs T3 and T4 by 1 bit by the delay circuit 15. The output of the ROM 13 is also 8 bits, ○7 to 0, o are 4-bit parallel binary data outputs that have been reversely code-converted, E is a control output that becomes 1 when synchronization is lost or a code error occurs, and R is a code that changes even when synchronization is lost. This is a control output that is 1 when there is no error and normal operation. Third
The figure is a conceptual diagram of ROM 13, 16 is a code conversion table,
17 is a normal/abnormal discrimination table; 18 is an integral value table.

これらのテーブル16〜18はいずれも入力D,〜D6
、T,,T2をアドレスA,〜A8とする。符号変換テ
ーブル1 6は入力T,,Lの内容(RDS値)により
指定されたモードに従って6ビットデータD,〜○6を
4ビットデータD7〜D,oに逆変換する。つまり、T
,,T2はRDS=+1〜十4とそれぞれ2ビット符号
00,01,10,11で表わしたものであるから、T
,,T2が例えば00であればその時のデータD,〜D
6は表1のモードAに従って逆変換される。前述した様
にデータD,〜D6ぁ010001であればそれは3値
データ0十−を意味するので、表1に従い逆変換すれば
D7〜D,oは1011となる。具体的には、テーフル
16にはアドレスA,〜A8が01000100のとき
出力D7〜D,oに1011が出せくる様に書込みをし
ておき、そして同様のことを表1の全ての組合せについ
てなしておく。積分値テーブル18は、入力D,〜D6
で示されるMS43等号1ブロック分の極性和(最大は
十十十の十3から最小は−−−の−3まで)を前回のR
DS値、つまりT,,Lに加賛してこれを次のRDS値
、つまりT3,T4とするものである。
These tables 16 to 18 all have inputs D, to D6.
, T, , T2 are addresses A, ~A8. The code conversion table 16 inversely converts the 6-bit data D, .about.6 into 4-bit data D7-D, o according to the mode specified by the contents (RDS values) of the inputs T, . In other words, T
,,T2 is RDS=+1 to 14, which are each represented by 2-bit codes 00, 01, 10, and 11, so T2 is
,, If T2 is 00, then the data D, ~D
6 is inversely transformed according to mode A of Table 1. As mentioned above, if the data is D,~D6a010001, it means ternary data 0~, so if reverse conversion is performed according to Table 1, D7~D,o becomes 1011. Specifically, write to table 16 so that when addresses A, ~A8 are 01000100, 1011 will be output to outputs D7~D, o, and do the same thing for all combinations in Table 1. I'll keep it. The integral value table 18 has inputs D, to D6
The polarity sum for one block of MS43 equal signs (maximum is 13 of 110 to minimum of -3 of ---) is calculated from the previous R
The DS values, that is, T, and L, are added to be used as the next RDS values, that is, T3 and T4.

具体的には入力D,〜D6,T,,LをアドレスA,〜
A8として上記加算動作に対応する出力がT3,読出さ
れる様に必要なデータを書込しでおく。一例を挙げると
T,,T2がRDS値+1(2値符号で00)のときに
D,〜D6が010001であれば、D.〜D6の原3
値符号0十一の極性和は0であるから、T3,T4には
再びRDS値十1(2値符号で00)が出力される。正
異常判別テーブル17は、前述したMS43符号の特徴
■〜■を全て利用して正異常を判別する。
Specifically, the inputs D, ~D6, T, , L are set to addresses A, ~
As A8, necessary data is written so that the output corresponding to the above addition operation is read out at T3. For example, if T, , T2 are RDS values +1 (00 in binary code) and D, to D6 are 010001, then D. ~ D6 no Hara 3
Since the polarity sum of the value code 011 is 0, the RDS value 11 (binary code 00) is output again at T3 and T4. The normal/abnormality determination table 17 uses all of the above-mentioned characteristics ① to ① of the MS43 code to discriminate between normal and abnormalities.

つまり、{a} MS4乳等号が000のときは、これ
は正常時に存在し得ないパターンなのでB=1(異常)
となる。即ちD,〜D6が000000であればテーブ
ル17からE=1が出力される。これは特徴■を利用し
たものである。‘b’同時に特徴■を利用して通性和つ
まりモードとMS43符号の構成とを比較監視する。例
えば入力D,〜D6が111000つまりMS4群等号
で十十十のときT,,T2が00(モードA)以外であ
れば、十十十はモードAにしかないからビットエラーま
たは周期外れであることが分る。また表1から明らかな
ように絶対値が2または3の極性和を有するMS4*等
号はモードAとモードCにしか存在しないから、これを
利用してエラー判別を行なう。これを一活して示すと表
2の如くなる。表2 例えば極性和が−3つまりMS34でーーーのときはT
,,T2は11つまり4のはずであり、本来ならT3,
T4は1、具体的には00にならなければならないがそ
れが1でないから、選択したモードにはないMS34符
号が入力して釆たということであり、ビット誤りまたは
同期外れが懸念される。
In other words, {a} When the MS4 milk equal sign is 000, this is a pattern that cannot exist under normal conditions, so B = 1 (abnormal)
becomes. That is, if D, to D6 are 000000, E=1 is output from the table 17. This takes advantage of feature (■). 'b' At the same time, feature (2) is used to compare and monitor the facultative sum, that is, the mode, and the structure of the MS43 code. For example, when input D, ~D6 is 111000, that is, 110 in the MS4 group equal sign, if T,, T2 is other than 00 (mode A), 110 is only in mode A, so it is a bit error or out of period. I understand. Furthermore, as is clear from Table 1, the MS4*equal sign having a polarity sum of absolute value 2 or 3 exists only in mode A and mode C, so this is used to perform error determination. This is summarized in Table 2. Table 2 For example, when the polarity sum is -3, that is, in MS34, T
,,T2 should be 11, that is, 4, and originally T3,
T4 should be 1, more specifically 00, but since it is not 1, this means that an MS34 code that is not in the selected mode has been input, and there is concern about bit errors or loss of synchronization.

従ってE=1従ってR=0にしかつT3,T4を正しい
はずの値1にする。極性和が−2のときはモードはCの
はずであり、T3,T4=2が正しいが、そ′うでなけ
ればE=1とし、T3,T4は2に変更する。以下同様
である。上表の上半分は入力MS43符号の極性和が−
3,一2,十2,十3で公.LのRDS値が十1,十2
,十3,十4でないときは、異常なのでテーブル17で
E=1にし、併せてテーブル18におけるT3,T4の
RDS値を十1(十2,十3,十4)に変更することを
意味し、また下半分は入力MS43等号の極性和が−3
,一2,十2,十3でT3,T4のRDS値が十1,十
2,十3,十4のときは正常なのでテーフル17でR=
1にすることを意味する。第2のROM14は前方およ
び後方保護時間を設定する機能を有する。
Therefore, E=1, so R=0, and T3 and T4 are set to the correct value of 1. When the polarity sum is -2, the mode should be C, and T3, T4=2 is correct, but if not, E=1 and T3, T4 are changed to 2. The same applies below. The upper half of the above table shows that the polarity sum of the input MS43 code is -
Public in 3, 12, 12, 13. RDS value of L is 11, 12
, 13, or 14, it is abnormal, so set E=1 in Table 17, and also change the RDS values of T3 and T4 in Table 18 to 11 (12, 13, 14). And, in the lower half, the polarity sum of the input MS43 equal sign is -3
, 12, 12, 13, and the RDS values of T3 and T4 are 11, 12, 13, and 14, which is normal, so R= for table 17.
It means to set it to 1. The second ROM 14 has a function of setting forward and backward protection times.

第1のROM13のE=1は伝送路上の符号誤りに対し
ても出力されるからこれを同期外れから区別するために
ROM14のカウンタ機能を用いる。ROM14の入力
はE,R,S,,P,,……Pnであり、またその出力
はA,S2,P′,,…・・・P′nであり、入出力共
に8ビットにすればP,〜Pn,P′,〜P′nは5ビ
ットとなるから前方、後方共に30段階程度の保護時間
が設定できる。前方、後方保護が7段程度でよければ入
力6ビット、出力5ビットのROMで済み、回路規模は
更に縮少される。出力P′,〜Pnはそれぞれ1ビット
の遅延回路15を通して入力P.〜Pnに帰還され、入
力P,〜Pnをアドレスとして読出された該入力P.〜
Pnより1だけ大きな値が出力P′,〜Pnに読出され
る。このカウンタ動作を入力E,Rで制御する。入力S
,は出力S2を1ビット遅延させたもので、S,=0は
ワード同期は正常であるとしている状態を示し、またS
,=1はワード同期を異常と判定している状態を示す。
分周回路7に対するワード同期制御パルスPcは出力A
に現われる。次に動作を説明する。
Since E=1 in the first ROM 13 is also output in response to a code error on the transmission path, the counter function of the ROM 14 is used to distinguish this from out-of-synchronization. The inputs of the ROM14 are E, R, S,,P,,...Pn, and the outputs are A, S2, P',,...P'n, and if both the input and output are 8 bits, Since P, .about.Pn, P', .about.P'n are 5 bits, about 30 steps of protection time can be set for both forward and backward. If about 7 stages of forward and backward protection are sufficient, a ROM with 6 bits of input and 5 bits of output will be sufficient, and the circuit scale will be further reduced. Outputs P', -Pn are each inputted to input P. through a 1-bit delay circuit 15. ~Pn, and the input P.~Pn is read out using the input P, ~Pn as an address. ~
A value 1 greater than Pn is read out at output P', .about.Pn. This counter operation is controlled by inputs E and R. Input S
, is the output S2 delayed by 1 bit, and S,=0 indicates that word synchronization is normal;
,=1 indicates a state in which word synchronization is determined to be abnormal.
The word synchronization control pulse Pc for the frequency dividing circuit 7 is the output A
appears in Next, the operation will be explained.

尚、この場合でも基本的には特定の記憶領域をアドレス
指定してそこに予め書込まれた情報を謙出すのであるが
、以下では一般的な計数回路の如くに説明する。【11
S,:0(正常)のとき: E=1となる毎に出力P′,〜Pnで示される数を1ず
つ増加する。
In this case as well, basically a specific storage area is addressed and the information previously written there is retrieved, but the following description will be made in the same way as a general counting circuit. [11
S,: When 0 (normal): Each time E=1, the number indicated by the outputs P', .about.Pn is increased by 1.

この間にR=1が出現すればその時点で出力P′,〜P
nをリセットする。E=1が多発し、その間にR=1が
出現しなければP′,〜Pnは単純増加するので、それ
が一定量(前方保護レベル)を越えた時に出力Aにパル
スPcを出し、同時にP′,〜Pnをリセツトする。こ
れにより分周回路7の出力fo/4は1ステップ位相修
正される。これにより入力シリアル符号を3符号ずつ区
分するその区分線位置が1符号分後退し、ブロック化さ
れる符号の構成メンバーが変る。この位相修正によって
もワード同期が確立されなければ上述した動作が繰り返
される。【2} S2=1(異常)のとき: R=1となる毎に出力P′,〜P′nで示される数を1
ずつ増加する。
If R=1 appears during this time, the output P′, ~P
Reset n. If E = 1 occurs frequently and R = 1 does not appear during that time, P', ~Pn will simply increase, so when it exceeds a certain amount (forward protection level), a pulse Pc is output to output A, and at the same time Reset P', .about.Pn. As a result, the phase of the output fo/4 of the frequency dividing circuit 7 is corrected by one step. As a result, the position of the dividing line that divides the input serial code into three codes moves back by one code, and the constituent members of the code to be blocked change. If word synchronization is not established even after this phase correction, the above-described operation is repeated. [2} When S2=1 (abnormal): Every time R=1, the number indicated by the output P', ~P'n is changed to 1.
Increase by increments.

この間にE=1が出現すればその時点でP′,〜P′n
をリセツトし、同時に出力Aから制御パルスPcを出す
。R=1が多発し、その間にE=1が出現しなければP
′,〜P′nは単純増加するので、それが一定値(後方
保護)を越えた時は同期引込みが完了したものとみなし
てS2を0に、またP′,〜Pnをリセツトする。尚、
前述したように伝送路誤りが生ずると前記表2の上半に
示したようにE=1となるからこれに対応して別のビッ
トに1を出力させれば、それが伝送路の誤りを示してい
る。
If E=1 appears during this time, then P′, ~P′n
is reset, and a control pulse Pc is output from output A at the same time. If R=1 occurs frequently and E=1 does not appear during that time, P
', .about.P'n simply increase, so when it exceeds a certain value (backward protection), it is assumed that the synchronization pull-in is completed, and S2 is reset to 0 and P', .about.Pn are reset. still,
As mentioned above, when a transmission path error occurs, E=1 as shown in the upper half of Table 2, so if you output 1 to another bit in response to this, it will cause an error in the transmission path. It shows.

また本発明はMS43符号だけでなく他の積分値制御符
号にも適用でき、さらには共通制御符号等のモード交番
符号にも適用できる。第4図はか)る単極性符号の復号
に適用した本発明の他の実施例を示す要部ブロック図で
ある。か)る符号本例では波班は2ビット1ブロックの
2値符号を所定の変換則に従い1ブロック3ビットの2
値符号に変換したものであるから、S/P変換回路2の
出力は3ビットの並列2値符号D,〜D3となる。この
符号D,〜D3は第1のROM13において上記変換別
に従い2ビットの並列2値デークD4,D5に逆変換(
復号)されるが、ROM13,14によりワード同期回
路が構成される点は第2図と変らない(遅延回路は図面
上省略してある)。以上述べたように本発明によれば、
ROMを用いるだけでワード同期回路が構成できるので
、回路規模を増大することなく、しかも伝送路符号の変
換別の特徴点を最大限利用してワード同期を制御するこ
とができる。
Furthermore, the present invention can be applied not only to MS43 codes but also to other integral value control codes, and further to mode alternating codes such as common control codes. FIG. 4 is a block diagram showing a main part of another embodiment of the present invention applied to the decoding of a unipolar code. In this example, the wave pattern converts a 2-bit 1-block binary code into 3-bit 2-bit 2-bit code according to a predetermined conversion rule.
Since it is converted into a value code, the output of the S/P conversion circuit 2 becomes a 3-bit parallel binary code D, to D3. These codes D, ~D3 are inversely converted into 2-bit parallel binary data D4, D5 (
decoding), but the point that the ROMs 13 and 14 constitute a word synchronization circuit is the same as in FIG. 2 (the delay circuit is omitted in the drawing). As described above, according to the present invention,
Since the word synchronization circuit can be constructed only by using a ROM, word synchronization can be controlled by making maximum use of the characteristic points of each transmission line code conversion without increasing the circuit scale.

このため、ワード同期外れの検出の機会が多く、該検出
が迅速となり、同期回復時間が短縮されたので安定した
復号動作が期待できる。
Therefore, there are many opportunities to detect out-of-word synchronization, and the detection is quick, and the synchronization recovery time is shortened, so stable decoding operation can be expected.

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

第1図は従来のMS4群等号復号回路の一例を示すブロ
ック図、第2図はMS43等号に適用した本発明の一実
施例を示すブロック図、第3図は符号変換およびエラー
検出用のROMの説明図、第4図は渉斑符号に適用した
本発明の他の実施例を示す姿部ブ。 ック図である。図中、13,14は符号変換回路とワー
ド同期回路を構成するROMである。 第1図 第2図 第3図 第4図
Figure 1 is a block diagram showing an example of a conventional MS4 group equal code decoding circuit, Figure 2 is a block diagram showing an embodiment of the present invention applied to MS43 equal code, and Figure 3 is for code conversion and error detection. FIG. 4 is an explanatory diagram of the ROM of FIG. 4, and FIG. This is a diagram. In the figure, 13 and 14 are ROMs forming a code conversion circuit and a word synchronization circuit. Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1 mビツトの2値符号が所定の変換則に従いnデイジ
ツトのL値符号に変換されてなるブロツク符号列を受信
して復号する符号復号回路において、 受信したブロツ
ク符号列をブロツク単位で2値符号に変換しかつ直並列
変換したものと、自己が出力するRDS値を遅延させて
得た前回までのRSD値とをアドレスとして入力され、
該ブロツク符号列を逆符号変換いたmビツト並列2値符
号、同期外れまたは符号誤りを示す異常ビツトと同期外
れまたは符号誤りがないことを示す正常ビツト、及び前
記RDS値を出力する第1のROMと、 前記正常ビツ
ト及び異常ビツトを入力され、カウンタ機能を有してワ
ード同期は正常としている状態で異常ビツトが入力すれ
ば計数値を増加し、それが一定値を越えるとき前記ブロ
ツク単位の区分線位置を移動してワード同期化を図る出
力を生じる第2のROMとを備えることを特徴とするR
OMを用いた符号復号回路。
1 In a code decoding circuit that receives and decodes a block code string obtained by converting an m-bit binary code into an n-digit L-value code according to a predetermined conversion rule, the received block code string is converted into a binary code in block units. and the previous RSD value obtained by delaying the RDS value output by itself are input as addresses,
A first ROM that outputs an m-bit parallel binary code obtained by inversely converting the block code string, abnormal bits indicating out-of-sync or code errors, normal bits indicating no out-of-sync or code errors, and the RDS value. Then, when the normal bit and the abnormal bit are input, and the word synchronization is assumed to be normal due to the counter function, if an abnormal bit is input, the counted value is increased, and when it exceeds a certain value, the block unit division is performed. a second ROM that generates an output for moving the line position and achieving word synchronization.
Code/decoding circuit using OM.
JP55121431A 1980-09-02 1980-09-02 Code/decoding circuit using ROM Expired JPS6028171B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55121431A JPS6028171B2 (en) 1980-09-02 1980-09-02 Code/decoding circuit using ROM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55121431A JPS6028171B2 (en) 1980-09-02 1980-09-02 Code/decoding circuit using ROM

Publications (2)

Publication Number Publication Date
JPS5745755A JPS5745755A (en) 1982-03-15
JPS6028171B2 true JPS6028171B2 (en) 1985-07-03

Family

ID=14810966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55121431A Expired JPS6028171B2 (en) 1980-09-02 1980-09-02 Code/decoding circuit using ROM

Country Status (1)

Country Link
JP (1) JPS6028171B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7159805B2 (en) 2002-03-25 2007-01-09 Evanite Fiber Corporation Methods of modifying fibers

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4965264A (en) * 1987-03-25 1990-10-23 Yoshitomi Pharmaceutical Industries, Ltd. Thienocinnoline compounds and their pharmaceutical use
US4975916A (en) * 1988-07-26 1990-12-04 International Business Machines Corporation Character snychronization
GB9506471D0 (en) * 1995-03-29 1995-05-17 Sgs Thomson Microelectronics Coding scheme for transmitting data
JPH08330371A (en) * 1996-04-22 1996-12-13 Tokyo Electron Ltd Probe inspection device and inspection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7159805B2 (en) 2002-03-25 2007-01-09 Evanite Fiber Corporation Methods of modifying fibers

Also Published As

Publication number Publication date
JPS5745755A (en) 1982-03-15

Similar Documents

Publication Publication Date Title
JP3406440B2 (en) Pulse modulation method, pulse modulation device, and pulse demodulation device
US4553130A (en) Variable-length encoding-decoding system
US6079041A (en) Digital modulation circuit and digital demodulation circuit
US4677421A (en) Digital information signal encoding method with reduced run length and improved self-clocking
US6940431B2 (en) Method and apparatus for modulating and demodulating digital data
US5099237A (en) Method and apparatus for providing maximum rate modulation or compression encoding and decoding
JPS6367268B2 (en)
US4547890A (en) Apparatus and method for forming d.c. free codes
JPH0423453B2 (en)
US4524445A (en) Method and circuit arrangement for synchronous detection
US5935269A (en) CRC code generation circuit, code error detection circuit and CRC circuit having both functions of the CRC code generation circuit and the code error detection circuit
JP2001060872A (en) Data coding system
US4617552A (en) Method and apparatus for converting a digital data
JPS60180222A (en) Code error correcting device
JPH05284035A (en) Information conversion method
JPS6028171B2 (en) Code/decoding circuit using ROM
JP2811651B2 (en) Encoding / decoding method and apparatus
US5870413A (en) CRC code generation circuit for generating a CRC code and a code error detection circuit for detecting a code error in a CRC code word
US5854596A (en) Encoding arrangement and method for encoding (n-1)-bit information words into n-bit channel words and decoding arrangement and method for decoding the channel words into information words
US5511080A (en) Playback data detecting method for improving bit error rate for random error
US4038636A (en) Multiple decoding system
JPH0578104B2 (en)
JP2563239B2 (en) Synchronous pattern selection method
JPH04233382A (en) Telescopic text decoder and error detecting and correcting circuit
US20250167809A1 (en) Hamming code encoding and arranging method and storage device detection method