JP3465386B2 - Frame synchronization circuit and encoding / decoding processing circuit using the same - Google Patents

Frame synchronization circuit and encoding / decoding processing circuit using the same

Info

Publication number
JP3465386B2
JP3465386B2 JP31717694A JP31717694A JP3465386B2 JP 3465386 B2 JP3465386 B2 JP 3465386B2 JP 31717694 A JP31717694 A JP 31717694A JP 31717694 A JP31717694 A JP 31717694A JP 3465386 B2 JP3465386 B2 JP 3465386B2
Authority
JP
Japan
Prior art keywords
bit
frame
synchronization
circuit
counter
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 - Fee Related
Application number
JP31717694A
Other languages
Japanese (ja)
Other versions
JPH08172432A (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 JP31717694A priority Critical patent/JP3465386B2/en
Publication of JPH08172432A publication Critical patent/JPH08172432A/en
Application granted granted Critical
Publication of JP3465386B2 publication Critical patent/JP3465386B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はフレーム同期回路及び同
回路を有する復号化処理回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frame synchronization circuit and a decoding processing circuit having the same circuit.

【0002】近年、コンピュータシステム、交換機ある
いは、伝送処理端局内の処理速度が日増しに向上してき
ており、ボード・装置間の信号インタフェース速度が日
増しに高速化し、その伝送距離についても装置の配置に
柔軟に対応する為、増加する傾向にある。そこで、多数
の信号を並列に長い距離を伝送することのできるインタ
フェースを実現する必要がある。
In recent years, the processing speed in computer systems, exchanges, or transmission processing terminal stations has been increasing day by day, and the signal interface speed between boards and devices has been increasing day by day, and the transmission distance has also been increased by the arrangement of the devices. To respond flexibly to, there is a tendency to increase. Therefore, it is necessary to realize an interface capable of transmitting a large number of signals in parallel over a long distance.

【0003】[0003]

【従来の技術】図15は従来例の説明図で、(a) は構成
図、(b) は動作説明図である。上記の様に、ボード・装
置間のインタフェース速度が日増しに高速化されるのに
伴い、並列の高速ディジタル信号を効率よく、比較的長
距離伝送することのできる符号化/復号化処理回路の実
現が重要な課題となっている。特に、伝送される情報が
画像信号及びデータ信号等の場合には、符号化/復号化
処理回路も含めた送受信回路の伝送品質の軽微な劣化
が、明瞭な誤りとして利用者に知覚される為、回路全体
として極めて低い誤り率が要求される。
2. Description of the Related Art FIG. 15 is an explanatory view of a conventional example, (a) is a configuration diagram, and (b) is an operation explanation diagram. As described above, as the interface speed between the board and the device is increased day by day, a coding / decoding processing circuit capable of efficiently transmitting parallel high-speed digital signals over a relatively long distance is provided. Realization is an important issue. In particular, when the information to be transmitted is an image signal, a data signal, or the like, a slight deterioration in the transmission quality of the transmission / reception circuit including the encoding / decoding processing circuit is perceived by the user as a clear error. An extremely low error rate is required for the entire circuit.

【0004】この様な問題を解決し信頼性が高く経済的
な符号化/復号化処理回路を実現するには、符号化処理
回路では効率的な符号化を行なうこと、復号化処理回路
においては同期復帰時間が速く、擬似同期、同期外れを
起こさないフレーム同期回路の実現が必要である。
In order to solve such problems and realize a highly reliable and economical encoding / decoding processing circuit, efficient encoding should be performed in the encoding processing circuit, and in the decoding processing circuit. It is necessary to realize a frame synchronization circuit that has a fast synchronization recovery time and does not cause pseudo synchronization or loss of synchronization.

【0005】例えば、並列データを一括して伝送する
際、この並列データを多重化したデータを各チャネル毎
に入れ替えて符号化を行なう方式、バーストデータ伝送
時の伝送路マーク率を1/2 にする為、入力データをスク
ランブリングする方法、補助ビットとして直前ビットの
論理反転符号を挿入し同符号連続を抑える方法、フレー
ムビット検出によるフレーム同期方式、フレームビット
の符号誤りを監視する同期保護方式などが提案されてい
る。
For example, when transmitting parallel data in a lump, the data obtained by multiplexing the parallel data is exchanged for each channel for encoding, and the transmission line mark ratio during burst data transmission is halved. Therefore, the method of scrambling the input data, the method of suppressing the same code by inserting the logical inversion code of the immediately preceding bit as an auxiliary bit, the frame synchronization method by the frame bit detection, the synchronization protection method that monitors the code error of the frame bit, etc. Is proposed.

【0006】しかし、フレーム同期回路として良く用い
られるのは1ビット遅延シフト方式である。この方式は
図15に示す様に、フレーム比較・検出部分81、同期保護
部分82、制御部分83で構成されて、制御部分で生成した
フレームパルスと入力データをフレーム比較・検出部分
で比較する。ここで、フレームパルスはデータ中に等間
隔で分散しているとする。
However, the 1-bit delay shift system is often used as the frame synchronization circuit. As shown in FIG. 15, this system is composed of a frame comparison / detection portion 81, a synchronization protection portion 82, and a control portion 83, and the frame pulse generated in the control portion and the input data are compared in the frame comparison / detection portion. Here, it is assumed that the frame pulses are dispersed in the data at equal intervals.

【0007】そして、あるフレームパルスとデータとを
比較した時、符号が一致するとフレームパルス検出とし
て同期保護状態に移行する。しかし、符号が不一致の場
合にはフレームパルスを(1ビット+1フレーム)遅延
してデータと比較するが、不一致の場合は更に(1ビッ
ト+1フレーム)遅延する。そして、この遅延を一致す
るまで繰り返す。
Then, when a certain frame pulse is compared with the data, if the codes match, the frame pulse is detected and the synchronization protection state is entered. However, when the codes do not match, the frame pulse is delayed by (1 bit + 1 frame) and compared with the data, but when the codes do not match, the frame pulse is further delayed (1 bit + 1 frame). Then, this delay is repeated until they match.

【0008】[0008]

【発明が解決しようとする課題】図16は課題説明図で、
(a) は擬似同期発生の場合、(b) はデータ・スリップ時
の誤同期発生の場合である。
[Problems to be Solved by the Invention] FIG. 16 is a diagram for explaining the problems.
(a) is the case where pseudo synchronization occurs, and (b) is the case where false synchronization occurs at the time of data slip.

【0009】ここで、上記の様なフレーム同期方式で
は、 (1) 入力するディジタル信号のパターン( バーストデー
タなど) によっては、システムを立ち上げた時に復号化
処理回路においてフレームビットバターンを誤認して擬
似同期の起こる可能性がある。
Here, in the frame synchronization method as described above, (1) depending on the pattern (burst data, etc.) of the input digital signal, the frame bit pattern may be mistakenly recognized in the decoding processing circuit when the system is started up. Pseudo-sync can occur.

【0010】例えば、図16(a) に示す様に、入力データ
中に"1", "0"の交番するフレームビットパターン( 図中
のF1が"1", F0 が"0" とする) が分散して挿入されてお
り、これと同じパターンのデータが存在する場合は擬似
同期が起こる。 (2) 同期確立後、伝送データが前後にスリップした時に
誤同期の起こる可能性がある。
For example, as shown in FIG. 16 (a), a frame bit pattern in which "1" and "0" alternate in the input data (F1 in the figure is "1" and F0 is "0") Are distributed and inserted, and if data of the same pattern exists, pseudo synchronization occurs. (2) After synchronization is established, missynchronization may occur when transmission data slips back and forth.

【0011】図16(b) に示す様に、データ中にフレーム
ビットパターンと同じパターンのデータがフレームビッ
トパターンと隣り合っていても、復号化処理回路で正常
にフレーム同期が取れていたとする( , 参照) 。し
かし、データが何らかの原因( 例えば、伝送路の温度変
化など) により、スリップすると、誤り動作が発生する
( , 参照) 。 (3) フレーム長に対応して、同期復帰時間が長くなるの
で、保守性や信頼性に関して不利になる。 (4) バーストデータを伝送する際、符号化処理部でデー
タにスクランブル処理を施す。スクランブル処理は、回
路内のスクランブラで発生するスクランブルパターンと
伝送データとの排他的論理和を取ることによって行なわ
れる。
As shown in FIG. 16 (b), it is assumed that the decoding processing circuit normally synchronizes the frame even if the data having the same pattern as the frame bit pattern is adjacent to the frame bit pattern. , See). However, if the data slips for some reason (for example, the temperature change of the transmission line), erroneous operation occurs.
(See,). (3) The synchronization recovery time becomes longer according to the frame length, which is disadvantageous in terms of maintainability and reliability. (4) When transmitting burst data, the encoding processing unit scrambles the data. The scramble process is performed by taking the exclusive OR of the scramble pattern generated by the scrambler in the circuit and the transmission data.

【0012】この時、スクランブルパターンのパターン
長は回路内のスクランブラの段数によって決定される
が、この長さはフレーム長と異なることが多い。システ
ムにおいて、1フレーム長当りのマーク率を規定する
為、スクランブルパターンに1フレーム長相当の周期で
リセットをかける。
At this time, the pattern length of the scramble pattern is determined by the number of stages of the scrambler in the circuit, but this length is often different from the frame length. In the system, the scramble pattern is reset at a cycle corresponding to one frame length in order to define the mark ratio per one frame length.

【0013】並列データ伝送路の場合、回路構成上、ス
クランブルパターンとリセット位置の関係が各チャンネ
ル毎に異なりマーク率のチャンネル間のバラツキが大き
く、例えば、光送受信器と組み合わせて使用する場合、
平均値検出を行なう光/電気変換部の特性に悪影響を与
える。
In the case of a parallel data transmission line, the relationship between the scramble pattern and the reset position is different for each channel due to the circuit configuration, and the variation in mark ratio between channels is large. For example, when used in combination with an optical transceiver,
This adversely affects the characteristics of the optical / electrical conversion unit that detects the average value.

【0014】本発明は最適化を図ったフレーム同期回路
及びこの回路を使用した復号化処理回路の提供を図るこ
とを目的とする。
An object of the present invention is to provide an optimized frame synchronization circuit and a decoding processing circuit using this circuit.

【0015】[0015]

【課題を解決するための手段】第1の本発明は、フレー
ム同期回路が補助ビットとフレームビットが挿入された
入力符号化データから補助ビットを検出し、検出出力を
送出する補助ビット検出手段と、検出出力を利用して、
入力符号化データからフレームビットを検出するフレー
ム同期検出手段を有する様に構成する。
According to a first aspect of the present invention, there is provided auxiliary bit detecting means for detecting an auxiliary bit from input coded data in which a frame synchronizing circuit inserts an auxiliary bit and a frame bit, and transmitting a detection output. , Using the detection output,
It is configured to have a frame synchronization detecting means for detecting a frame bit from the input encoded data.

【0016】第2の本発明は符号化データに、それぞれ
一定周期の補助ビットとフレームビットを挿入する様に
した。第3の本発明は、上記フレームビットの周期を補
助ビットの挿入周期の整数倍となる様にした。
In the second aspect of the present invention, auxiliary bits and frame bits having a constant cycle are inserted in the encoded data. In the third aspect of the present invention, the cycle of the frame bit is set to be an integral multiple of the auxiliary bit insertion cycle.

【0017】第4の本発明は、フレームビットの挿入周
期で補助ビットが置き替わる様にした。第5の本発明
は、非同期状態でアラームを送出する様にした。
In the fourth aspect of the present invention, the auxiliary bit is replaced at the frame bit insertion period. In the fifth aspect of the present invention, an alarm is sent out in an asynchronous state.

【0018】第6の本発明は、フレーム同期の確立した
データとPNパターンとの排他的論理和を取るデスクラン
ブラ部を有する様にした。第7の本発明は、デスクラン
ブラ部をフレーム同期検出部から出力するフレーム情報
でセット/リセットする様にした。
The sixth aspect of the present invention is provided with a descrambler section that takes the exclusive OR of the data for which frame synchronization is established and the PN pattern. In the seventh aspect of the present invention, the descrambler unit is set / reset by the frame information output from the frame synchronization detecting unit.

【0019】第8、第9の本発明は、比較部、受信側制
御部を有する補助ビット検出手段とフレーム同期検出
部、同期保護部、デスクランブラ部を有するフレーム同
期検出手段を設け、フレーム同期検出部が、受信側制御
部の出力を利用してフレームビットを検出してフレーム
同期を取る様に構成した。
The eighth and ninth aspects of the present invention are provided with an auxiliary bit detecting means having a comparing section and a receiving side controlling section, and a frame synchronizing detecting section having a frame synchronizing detecting section, a synchronizing protecting section and a descrambler, and the frame synchronizing means is provided. The detection unit is configured to detect the frame bit by using the output of the reception side control unit and establish frame synchronization.

【0020】第10の本発明は、排他的論理和出力が"0"
でn ビットカウンタが"0" となる所で排他的論理和出力
が"0" となった時の符号が、補助ビットと認識できなけ
れば、2 ビットカウンタを"0" にして補助ビットのハン
ティングを始める様にした。
In the tenth aspect of the present invention, the exclusive OR output is "0".
If the sign when the exclusive OR output becomes "0" at the place where the n-bit counter becomes "0" is not recognized as the auxiliary bit, set the 2-bit counter to "0" and hunt the auxiliary bit. To start.

【0021】第11の本発明は、フレーム同期確立後も補
助ビットの符号誤りを検出すると再ハンティング状態に
戻る構成にした。第12の本発明は、同期保護部で補助ビ
ットの同期保護とフレームビットの同期保護を同時に行
なって、擬似同期やデータ・スリップ時の誤同期を回避
する構成にした。
The eleventh aspect of the present invention is configured to return to the re-hunting state when a code error of an auxiliary bit is detected even after frame synchronization is established. In the twelfth aspect of the present invention, the synchronization protection unit simultaneously performs auxiliary bit synchronization protection and frame bit synchronization protection to avoid false synchronization at the time of pseudo synchronization or data slip.

【0022】第13の本発明は、複数チャンネルの符号化
データのうち、1チャンネルをマスター、他のチャンネ
ルをスレーブとし、マスタのフレーム同期回路からのフ
レームビット情報を用いてスレーブのフレーム同期を取
る構成にした。
In the thirteenth aspect of the present invention, among the encoded data of a plurality of channels, one channel is used as a master and the other channels are used as slaves, and the frame bit information from the frame synchronization circuit of the master is used to establish the frame synchronization of the slaves. I made it up.

【0023】第14の本発明は、スレーブのフレーム同期
部にスキューアライン機能を持たせる構成にした。第15
の本発明は、スクランブラ部、符号化処理部、送信側制
御部を有する符号化処理回路及びフレーム同期部、復号
化処理部を有する復号化処理回路において、フレーム長
及びPNパターンのリセット長を設定可能な構成にした。
In the fourteenth aspect of the present invention, the frame synchronization section of the slave is provided with a scualine function. 15th
According to the present invention, in a coding processing circuit having a scrambler section, a coding processing section, a transmission side control section, a frame synchronization section, and a decoding processing circuit having a decoding processing section, the frame length and the reset length of the PN pattern are set. It has a configurable configuration.

【0024】第16の本発明は、送信側制御部及び受信側
制御部に設けられたnビットカウンタを2K-1 ビットカ
ウンタに置換する構成にした。第17の本発明は、光受信
器において、受信側制御部に2 K-1 ビットカウンタを設
け、フレーム長とPNパターンのリセット長を設定可能に
した。
In the sixteenth aspect of the present invention, the n-bit counter provided in the transmission side control unit and the reception side control unit is replaced with a 2 K-1 bit counter. In a seventeenth aspect of the present invention, in the optical receiver, the receiving side control unit is provided with a 2 K-1 bit counter, and the frame length and the PN pattern reset length can be set.

【0025】[0025]

【作用】図1は本発明のフレーム同期回路及び同回路を
用いた符号化/復号化処理回路の要部構成図の一例、図
2は図1中のフレーム同期回路の動作説明用フロー図で
ある。
1 is an example of a block diagram of a main part of a frame synchronization circuit of the present invention and an encoding / decoding processing circuit using the same, and FIG. 2 is a flow chart for explaining the operation of the frame synchronization circuit in FIG. is there.

【0026】以下、図1、図2を説明する。先ず、図1
中のスクランブラ部1は、PNパターン発生回路とゲート
回路からなり、PNパターン発生回路から出力されるPNパ
ターンと入力ディジタル信号との排他的論理和を取る。
Hereinafter, FIGS. 1 and 2 will be described. First, Fig. 1
The scrambler unit 1 in the inside comprises a PN pattern generating circuit and a gate circuit, and takes an exclusive OR of the PN pattern output from the PN pattern generating circuit and the input digital signal.

【0027】符号化処理部2は、スクランブラ部でスク
ランブリングされたデータに補助ビット及びフレームビ
ットを挿入し、mB1C符号化を行なう。送信側制御部3
は、図示しない内蔵の(m+1)ビットカウンタ、n ビット
カウンタ、2 ビットカウンタのセット/リセットを行な
う。
The encoding processing unit 2 inserts auxiliary bits and frame bits into the data scrambled by the scrambler unit, and performs mB1C encoding. Transmission side control unit 3
Sets / resets the built-in (m + 1) bit counter, n-bit counter, and 2-bit counter (not shown).

【0028】比較部41は、ディジタル伝送路より入力し
た符号化データの i番目と(i+1)番目とを比較して補助
ビットを検出する。受信側制御部42は、図示しない内蔵
の(m+1)ビットカウンタ、n ビットカウンタ(CNTn ) 、
2 ビットカウンタ(CNT2 ) のセット/ リセットを行な
う。
The comparator 41 compares the i-th and (i + 1) -th encoded data input from the digital transmission line to detect an auxiliary bit. The reception side control unit 42 includes a built-in (m + 1) bit counter, an n-bit counter (CNT n ),
Set / reset the 2-bit counter (CNT 2 ).

【0029】フレーム同期検出部43は、フレームビット
及びフレーム情報の出力タイミングの生成とデスクラン
ブラ部のセット/ リセット用情報の生成とフレーム保護
用情報の生成を行なう。
The frame synchronization detection unit 43 generates the output timing of the frame bit and the frame information, the set / reset information of the descrambler unit, and the frame protection information.

【0030】同期保護部44は、フレーム同期保護を行
い、フレーム同期のアラームを出力する。デスクランブ
ラ部5は、図示しないPNパターン発生回路とゲート回路
からなり、PNパターン発生回路から出力されるPNパター
ンとフレーム同期の取れたデータとの排他的論理和をと
り、スクランブリングされたデータを元のディジタル信
号に戻す。
The synchronization protection unit 44 performs frame synchronization protection and outputs a frame synchronization alarm. The descrambler unit 5 is composed of a PN pattern generating circuit and a gate circuit (not shown), takes the exclusive OR of the PN pattern output from the PN pattern generating circuit and the frame-synchronized data, and scrambles the scrambled data. Restore the original digital signal.

【0031】復号化処理部6は、符号化データの補助ビ
ット及びフレームビットを削除する。 ここで、補助ビ
ットは(m+1)ビット毎に挿入され、その符号は直前のビ
ットの反転となる。フレームビットは[(m +1)×n ] ビ
ットに1回、1, 0交番として補助ビット上に挿入され
る。
The decoding processing unit 6 deletes auxiliary bits and frame bits of encoded data. Here, the auxiliary bit is inserted for each (m + 1) bit, and its code is the inversion of the immediately preceding bit. The frame bit is inserted on the auxiliary bit as a 1,0 alternation once in [(m + 1) × n] bits.

【0032】次に、図1の符号化処理回路からの mB1C
符号化データが復号化処理回路に入力すると、フレーム
同期回路で図2に示す様なフローに従って補助ビット(C
ビット) やフレームビット(Fビット) を検出する。即
ち、 1. 2ビットカウンタ(CNT2)を0にする(S1 参照) 。 2. 比較部41で、データのi 番目と(i+1)番目との排他
的論理和を取り、その結果が初めて"1" となった場所を
C ビットと認識する(S2 参照) 。
Next, mB1C from the encoding processing circuit of FIG.
When the encoded data is input to the decoding processing circuit, the auxiliary bit (C
Bit) and frame bit (F bit) are detected. That is, the 1.2-bit counter (CNT 2 ) is set to 0 (see S1). 2. In the comparison unit 41, the exclusive OR of the i-th and (i + 1) -th data is taken, and the result is "1" for the first time.
Recognized as C bit (see S2).

【0033】この時、受信側制御部の(m+1)ビットカウ
ンタ, n ビットカウンタをリセットする(S3 参照) なお、"1" でなければ、"1" となるまで繰り返す(Cビッ
トハンティング) 。 3. (m+1)ビットカウンタが"0" の時(S4 のY 参照) 、
i 番目と(i+1)番目との排他的論理和(S5)が"1" であれ
ば、C ビットと見なし(S5 のY 参照) 、n ビットカウン
タを+1 する(S6 参照) 。
At this time, the (m + 1) -bit counter and the n-bit counter of the control section on the receiving side are reset (see S3). If not "1", repeat until "1" (C bit hunting). 3. When the (m + 1) bit counter is "0" (see S4 Y),
If the exclusive OR (S5) of the i-th and (i + 1) th is "1", it is regarded as a C bit (see Y in S5), and the n-bit counter is incremented by 1 (see S6).

【0034】なお、CNT n ++はn ビットカウンタのカ
ウンタを+1 する。 4. (m+1)ビットカウンタが "0"の時(S4 のY 参照))、
i 番目と(i+1)番目との排他的論理和が"0" であれば(S
5 のN)、C ビットではないが、F ビットの可能性がある
為、これよりC ビットを探し始める。
CNT n ++ increments the counter of the n-bit counter by 1. 4. When the (m + 1) bit counter is "0" (see S4 Y)),
If the exclusive OR of the i-th and (i + 1) -th is "0" (S
N) of 5 and not C bit, but there is a possibility of F bit, so start searching C bit from this.

【0035】この時、2ビットカウンタが0なら(S8 の
Y 参照) 、n ビットカウンタをリセットし、2 ビットカ
ウンタを"1" にする(S9 参照) 。なお、2ビットカウン
タを"1" にしたと云うことはF ビットの検出を行なって
いることを表す。
At this time, if the 2-bit counter is 0 (S8
Reset the n-bit counter and set the 2-bit counter to "1" (see S9). The fact that the 2-bit counter is set to "1" means that the F bit is being detected.

【0036】2ビットカウンタが1なら、n ビットカウ
ンタが "0"の時は(S10のY 参照)、S7の(m+1)ビットカ
ウンタをカウントアップしてS4とのループを回る。しか
し、n ビットカウンタが0 でなければ(S10のN 参照) 、
C ビットの再ハンティングに入る。 5. ここで、上記の検出ビット(S5 の所の i+1 番目の
ビット) の符号が"0" であったとすると、次にn ビット
カウンタが "0"になる所で、検出されるビットの符号
が"1" であれば、このビットをF ビットとして認識す
る。
If the 2-bit counter is 1, and the n-bit counter is "0" (see Y in S10), the (m + 1) -bit counter in S7 is incremented and a loop with S4 is performed. However, if the n-bit counter is not 0 (see N in S10),
Enter C-bit rehunting. 5. Here, if the sign of the detected bit (i + 1st bit at S5) is "0", the sign of the detected bit at the next n-bit counter becomes "0". If is "1", this bit is recognized as F bit.

【0037】その後、符号誤りが検出されない場合、F
ビットを2r回分、即ち、後方保護r 段の後、同期が確立
する。 6. しかし、検出されるビットの符号が"0" であれば、
F ビットと認識せず、Cビットかどうかの判定をS5で行
なう。
After that, if no code error is detected, F
The synchronization is established after 2r times of bits, ie after r stages of backward protection. 6. However, if the sign of the detected bit is "0",
It is not recognized as the F bit, and it is determined in S5 whether it is the C bit.

【0038】C ビットと判定すれば、n ビットカウンタ
を+1 し(S6 参照) 、判定しなければ、2 ビットカウン
タを"0" として(S1 参照) 、C ビットの再ハンティング
を始める。
If it is determined to be C bits, the n-bit counter is incremented by 1 (see S6), and if not determined, the 2-bit counter is set to "0" (see S1), and the C bit rehunting is started.

【0039】即ち、上記のハンティング過程において
は、C ビットの検出は常に行なっている為、符号化デー
タがバースト的に誤った場合にF ビットの符号誤りを待
たず、直ちに再ハンティングを行なうことができる。
That is, in the above hunting process, since the C bit is always detected, re-hunting can be performed immediately without waiting for the F bit code error when the encoded data is erroneously burst. it can.

【0040】また、フレーム同期確立後もC ビットの監
視を行い、C ビットの符号誤りを検出すると、F ビット
符号の正誤にかかわらず、再ハンティング状態に戻る。
この様に、C ビットの検出を行なうことによって、F ビ
ットのみの検出と比べて、再ハンティングまでの時間が
短いので、同期復帰時間を短縮することができる。
After the frame synchronization is established, the C bit is monitored, and if a C bit code error is detected, the re-hunting state is restored regardless of whether the F bit code is correct or incorrect.
By detecting the C bit in this way, the time until rehunting is shorter than the detection of only the F bit, so that the synchronization recovery time can be shortened.

【0041】更に、同期保護部では、C ビットの同期保
護とF ビットの同期保護を同時に行なうので、擬似同期
パターンによる擬似同期や、データ・スリップ時の誤同
期を回避することが可能となる。
Further, since the synchronization protection unit simultaneously performs the C-bit synchronization protection and the F-bit synchronization protection, it is possible to avoid pseudo synchronization due to the pseudo synchronization pattern and erroneous synchronization at the time of data slip.

【0042】また、送信側制御部及び受信側制御部にお
いて、n ビットカウンタを2K-1 ビットカウンタ(K=1,
2, 3・・) にすることにより Kの値を任意に設定できる
ので、カウンタ部分の回路構成の簡略化ができ、フレー
ム長及びPNパターンのリセット長を変化させ、擬似同期
パターンの発生を回避させ、バーストデータ伝送時の伝
送路マーク率を一定にすることが可能となる。
Further, in the transmission side control unit and the reception side control unit, the n bit counter is set to 2 K-1 bit counter (K = 1,
2, 3 ...), the value of K can be set arbitrarily, so the circuit configuration of the counter part can be simplified and the frame length and PN pattern reset length can be changed to avoid the occurrence of pseudo sync patterns. Thus, it is possible to make the transmission line mark ratio constant during burst data transmission.

【0043】更に、並列データ伝送路においては、チャ
ンネル間バラツキを小さくすることが可能となる。
Further, in the parallel data transmission line, it is possible to reduce the variation between channels.

【0044】[0044]

【実施例】図3は図1中のフレーム同期回路構成図の一
例、図4は図3の動作説明図(その1)、図5は図3の
動作説明図(その2)、図6は本発明の実施例の符号化
処理回路の要部構成図、図7は図6の動作説明図、図8
は本発明の実施例の復号化処理回路の要部構成図、図9
は図8中のスレーブ側フレーム同期回路の構成図、図10
は図9中の遅延回路の動作説明図、図11は図8の動作説
明図、図12は本発明の実施例の復号化処理回路の別の一
例を示す図、図13は本発明の実施例の復号化回路の更に
別の一例を示す図、図14は本発明を光伝送装置に適用し
た場合の要部構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 3 is an example of a frame synchronization circuit configuration diagram in FIG. 1, FIG. 4 is an operation explanatory diagram (No. 1) of FIG. 3, FIG. 5 is an operation explanatory diagram (No. 2) of FIG. 3, and FIG. 8 is a block diagram showing the main part of an encoding processing circuit according to an embodiment of the present invention, FIG.
9 is a block diagram of the main part of the decoding processing circuit according to the embodiment of the present invention.
Is a block diagram of the slave side frame synchronization circuit in FIG.
9 is an operation explanatory diagram of the delay circuit in FIG. 9, FIG. 11 is an operation explanatory diagram of FIG. 8, FIG. 12 is a diagram showing another example of the decoding processing circuit of the embodiment of the present invention, and FIG. 13 is an implementation of the present invention. FIG. 14 is a diagram showing still another example of the decoding circuit of the example, and FIG. 14 is a configuration diagram of a main part when the present invention is applied to an optical transmission device.

【0045】なお、全図を通じて同一符号は同一対象物
を示す。以下、mB1C符号化は19B1C符号化として、図3
〜図14の説明を行なう。先ず、図1、図4、図5を用い
て図3に示すフレーム同期回路の同期確立迄の動作を説
明する。
The same reference numerals denote the same objects throughout the drawings. Hereinafter, mB1C encoding will be referred to as 19B1C encoding as shown in FIG.
~ The description of FIG. 14 will be given. First, the operation of the frame synchronization circuit shown in FIG. 3 until the synchronization is established will be described with reference to FIGS. 1, 4 and 5.

【0046】図1に示す様に、符号化処理回路はスクラ
ンブラ部1、符号化処理部2、送信側制御部3で構成さ
れており、この回路から19B1C 符号化データをフレーム
同期回路4、デスクランブラ部5、復号化処理部6で構
成される復号化処理回路に送出するので、フレーム同期
回路に19B1C 符号化データが入力する(図4(a) 参照)
。なお、図2中の(m+1)ビットカウンタ、n ビットカ
ウンタは図3の20ビットカウンタ、8ビットカウンタに
対応する。
As shown in FIG. 1, the encoding processing circuit is composed of a scrambler unit 1, an encoding processing unit 2 and a transmission side control unit 3. From this circuit, 19B1C encoded data is sent to a frame synchronization circuit 4, The 19B1C encoded data is input to the frame synchronization circuit because it is sent to the decoding processing circuit configured by the descrambler unit 5 and the decoding processing unit 6 (see FIG. 4 (a)).
. The (m + 1) -bit counter and n-bit counter in FIG. 2 correspond to the 20-bit counter and 8-bit counter in FIG.

【0047】一方、図3に示すフレーム同期回路は入力
するリセット(b) が"H" になるとハンティング開始とな
り( 図4(b)の参照) 、比較部41で符号化データの i番
目と(i+1)番目との排他的論理和( 以下、EX-0R と省略
する) を取り、その結果が初めて "1"になった場所をC
ビット( 補助ビット) と認識し、EX-OR の反転(k) と1
ビットシフト(L) を出力する( 図4(k),(L)の参照) 。
On the other hand, the frame synchronization circuit shown in FIG. 3 starts hunting when the input reset (b) becomes "H" (see FIG. 4 (b)), and the comparing unit 41 determines that the i-th data of the encoded data ( The exclusive OR with the i + 1) th (hereinafter abbreviated as EX-0R) is taken, and the place where the result becomes "1" for the first time is C
Recognized as a bit (auxiliary bit), EX-OR inversion (k) and 1
Output the bit shift (L) (see Fig. 4 (k) and (L)).

【0048】この時、受信側制御部 42 の20ビットカウ
ンタ(c) 及び8ビットカウンタ(d)をリセットする( 図4
(c),(d)の参照) 。20ビットカウンタ情報(f) が8ビ
ットカウンタ(d) と2ビットカウンタ(e) に送られ、8
ビットカウンタ情報(g) が2ビットカウンタに送られ
る。
At this time, the 20-bit counter (c) and 8-bit counter (d) of the receiving side control unit 42 are reset (see FIG. 4).
(See (c) and (d)). 20-bit counter information (f) is sent to 8-bit counter (d) and 2-bit counter (e),
The bit counter information (g) is sent to the 2-bit counter.

【0049】そして、20ビットカウンタが "0"の時、i
番目のビットと (i +1)番目のビットとのEX-OR が "1"
であればC ビットとみなし、8ビットカウンタ(d) のカ
ウント値を+1 する。
When the 20-bit counter is "0", i
EX-OR between the 1st bit and the (i + 1) th bit is "1"
If so, it is regarded as C bit and the count value of the 8-bit counter (d) is incremented by 1.

【0050】また、20ビットカウンタが "0"の時、i 番
目のビットと (i +1)番目のビットとのEX-OR が "0"で
あれば、C ビットではないがF ビットの可能性がある
為、これよりC ビットを探し始める( 図4(a)の参照)
If the EX-OR of the i-th bit and the (i + 1) -th bit is "0" when the 20-bit counter is "0", it is possible that it is not the C bit but the F bit. Therefore, we will start looking for the C bit from this (see Figure 4 (a)).
.

【0051】この時、8ビットカウンタをリセットし
(図4(d)の参照) 、2ビットカウンタ(e) を "1"にす
る( 図4(e)の参照) 。2ビットカウンタが "1"の場合
は Fビットの検出を行なっていることを表す。
At this time, the 8-bit counter is reset (see FIG. 4 (d)) and the 2-bit counter (e) is set to "1" (see FIG. 4 (e)). When the 2-bit counter is "1", it indicates that the F bit is being detected.

【0052】次に、20ビットカウンタが "0"となる時、
i 番目のビットと (i +1)番目のビットとのEX-OR が "
0"となると、C ビットは誤りとなり、隣のビットから C
ビットの再ハンティングが始まる( 図4(a) の参照)
Next, when the 20-bit counter becomes "0",
The EX-OR between the i-th bit and the (i + 1) -th bit is "
If it becomes 0 ", the C bit becomes erroneous and the C
Bit re-hunting begins (see Figure 4 (a))
.

【0053】ここで、上記の様に再ハンティング状態と
なり、再び、図4(c),(d)のの状態まで遷移したとす
る。状態で検出されるビットの符号が "0"であったと
すると、次に8ビットカウンタが "0"となる所で検出さ
れるビットの符号が "1"であれば、このビットをF ビッ
トとして認識する。
Here, it is assumed that the re-hunting state is entered as described above, and the state transits to the states shown in FIGS. 4 (c) and 4 (d) again. If the sign of the bit detected in the state is "0", then if the sign of the bit detected at the place where the 8-bit counter becomes "0" is "1", this bit is regarded as the F bit. recognize.

【0054】その後、符号誤りが検出されない場合は、
Fビット4回分、即ち、後方2段の後、同期が確立する
( 図5(a) の参照) 。同期が確立すると、アラーム
(m) が"L"となり( 図5(m) のA 参照) 、デスクラン
ブラリセット用情報(h) 、フレーム情報(i) 、フレーム
ビット情報(j) を出力する( 図5のB 参照) 。
After that, if no code error is detected,
Synchronization is established after four F-bits, that is, after the rear two stages.
(See Figure 5 (a)). When synchronization is established, an alarm
(m) becomes "L" (see A in Fig. 5 (m)), and descrambler reset information (h), frame information (i), and frame bit information (j) are output (see B in Fig. 5). .

【0055】しかし、8ビットカウンタが "0"となる所
で検出されるビットの符号が "0"であれば、 Fビットと
認識せずC ビットかどうかの判定を行なう。ここで、C
ビットと判定すれば、8ビットカウンタを+1し、判定
しなければ2ビットカウンタを "0"として Cビットの再
ハンティングを始める。
However, if the sign of the bit detected at the place where the 8-bit counter becomes "0" is "0", it is not recognized as the F bit and it is judged whether it is the C bit or not. Where C
If it is determined to be a bit, the 8-bit counter is incremented by 1, and if not determined, the 2-bit counter is set to "0" and the C bit re-hunting is started.

【0056】この様に、C ビットの検出を行なうことに
よって、F ビットのみの検出と比べて再ハンティングま
での時間が短いので同期復帰時間を短縮することができ
る。また、同期保護部44では、ハンティング過程におい
て、C ビットの同期保護とフレームビットの同期保護を
同時に行なっている( 後方保護) ので、擬似同期パター
ンによる擬似同期を回避することができる。
By detecting the C bit in this way, the time until rehunting is shorter than the detection of only the F bit, so that the synchronization recovery time can be shortened. In the hunting process, the synchronization protection unit 44 simultaneously performs the C-bit synchronization protection and the frame-bit synchronization protection (backward protection), so that it is possible to avoid the pseudo synchronization due to the pseudo synchronization pattern.

【0057】更に、同期確立後もC ビットを監視して、
同期保護を行なう( 前方保護) ことができる。C ビット
の前方保護は1フレーム長内に存在する Cビット中、1
個でも誤りが発見されると1段と数える。保護段数が2
段の時、C ビットの誤りが2フレーム連続で発見される
と、再ハンティング状態となる。この保護により、デー
タ・スリップ時の誤同期を回避することが可能となる。
Further, after the synchronization is established, the C bit is monitored,
You can perform synchronization protection (forward protection). Forward protection of C bits is 1 in C bits existing within one frame length.
If an error is found even in an individual, it will be counted as one step. The number of protection steps is 2
In the round stage, if a C-bit error is detected in two consecutive frames, re-hunting occurs. This protection makes it possible to avoid false synchronization during data slips.

【0058】図6〜図11において、図6は送信側、図8
受信側であり、図6中の11はパラレル/ シリアル変換
部、12, 61はデータスワップ部、4aはマスターのフレー
ム同期部、4bはスレーブのフレーム同期部、62はシリア
ル/ パラレル変換部である。
6 to 11, FIG. 6 is the transmitting side, and FIG.
On the receiving side, 11 in FIG. 6 is a parallel / serial conversion unit, 12, 61 are data swap units, 4a is a master frame synchronization unit, 4b is a slave frame synchronization unit, and 62 is a serial / parallel conversion unit. .

【0059】さて、上記では単チャンネルのデータ入力
に対する回路構成になっているが、図6に示す符号化処
理回路は20本の並列入力データ( うち1本は F/Cビット
挿入用) を4本ずつパラレル/シリアル変換部11で4多
重して5系列のデータに変換した後、データスワップ部
12で5系列のデータを図7に示す様に4ビット単位(並
列入力データ4本に対応)に系列間で順次、入替えを行
ってスクランブラ部13に送出する。
Although the circuit configuration for single-channel data input has been described above, the encoding processing circuit shown in FIG. 6 outputs 20 pieces of parallel input data (one of which is for F / C bit insertion). The data is swapped after the data is converted into 5 series data by multiplexing four by one in the parallel / serial conversion unit 11.
As shown in FIG. 7, 5 series of data are sequentially switched between the series in units of 4 bits (corresponding to 4 pieces of parallel input data) and sent to the scrambler unit 13.

【0060】スクランブラ部13では5本のデータとPNパ
ターンとのEX-OR を取り、F/C ビット挿入部21で 20 ビ
ット毎にC ビットを、160 ビット毎にF ビットを挿入し
て19B1C 符号化データとして出力する。
The scrambler unit 13 takes the EX-OR of the five data and the PN pattern, and the F / C bit insertion unit 21 inserts the C bit for every 20 bits and the F bit for every 160 bits to obtain 19B1C. Output as encoded data.

【0061】一方、図8に示す復号化処理回路では5本
の19B1C 符号化データのうちの1本をマスターに、残り
の4本をスレーブとし、マスターのフレーム同期回路4a
において上記で説明した手段を用いてフレーム同期を取
った後、マスタの同期情報(Fフラグ及びF ビット情報)
を各スレーブのフレーム同期回路4bに送出する。
On the other hand, in the decoding processing circuit shown in FIG. 8, one of the five pieces of 19B1C encoded data is used as a master and the remaining four are used as slaves, and the frame synchronization circuit 4a of the master is used.
After synchronizing the frame by using the method described above in 1., the master synchronization information (F flag and F bit information)
To the frame synchronization circuit 4b of each slave.

【0062】そこで、スレーブのフレーム同期回路は入
力した同期情報を用いてそれぞれフレーム同期を取る
が、スレーブのフレーム同期方法を図9、図10を用いて
説明する。
Therefore, the slave frame synchronization circuit uses the input synchronization information to establish frame synchronization. The slave frame synchronization method will be described with reference to FIGS. 9 and 10.

【0063】先ず、図9の遅延回路( 図10に示す様に、
例えば、5段のシフトレジスタで構成されている)41b
で入力データに±2ビットの遅延を与え、−2ビット,
−1ビット,±0ビット,+1ビット,+2ビット遅延
データ、即ち、計5系列のデータを用意する。受信側制
御部45b において、マスターからのF ビット情報が入力
すると、それを基にセレクト信号を生成してセレクタ部
42b に送出する。
First, the delay circuit of FIG. 9 (as shown in FIG.
For example, it is composed of 5 stages of shift register) 41b
Delays input data by ± 2 bits, -2 bits,
-1 bit, ± 0 bit, +1 bit, +2 bit delay data, that is, a total of 5 series of data are prepared. In the receiving side control unit 45b, when the F bit information from the master is input, a select signal is generated based on it and the selector unit is generated.
Send to 42b.

【0064】セレクタ部は図10に示す様に、セレクト信
号で選択された遅延データとマスタから送出されたF フ
ラグとを比較する。比較結果が不一致の場合は次の遅延
データを選択し、一致すれば一致したセレクトデータを
出力する。
As shown in FIG. 10, the selector section compares the delay data selected by the select signal with the F flag sent from the master. If the comparison results do not match, the next delay data is selected, and if they match, the matched select data is output.

【0065】そこで、各スレーブでは、マスタを基準に
して±2ビットまでのスキューを解消できる。本方式は
マスターの同期確立後、複数のスレーブで同時にハンテ
ィングを開始する為、同期復帰時間が早く、またマスタ
に比べて回路規模が小さいと云う特徴を持つ。
Therefore, each slave can eliminate the skew up to ± 2 bits with respect to the master. Since this method starts hunting by multiple slaves at the same time after the master synchronization is established, the synchronization recovery time is short and the circuit scale is small compared to the master.

【0066】さて、上記の方法フレーム同期を取った
後、各系列は図8のデスクランブラ部5で同期データと
PNパターンとのEX-OR を取り、データスワップ部61で図
11に示す様にデータを系列間で入れ替え直し、シリアル
/ パラレル変換部62で各系列毎に並列データ4本に分離
する。
Now, after the frame synchronization is performed by the above method, each sequence is synchronized with the synchronization data by the descrambler unit 5 in FIG.
EX-OR with the PN pattern and take the data swap section 61
Replace the data between series as shown in 11, and
/ Parallel conversion unit 62 separates each series into four parallel data.

【0067】なお、図12に示す様に、マスターの同期情
報をスレーブ4b1 に送り、スレーブ4b1 で同期が確立し
た後、この同期情報をスレーブ4b2 に送ると云う具合に
順次、同期を取って行く構成にしてもよい。また、図13
に示す様に、全ての符号化データ系列をマスタとして個
々にフレーム同期を取る形態にしてもよい。
[0067] Incidentally, as shown in FIG. 12, sends the synchronization information of the master to the slave 4b 1, after establishing synchronization at the slave 4b 1, sequentially and so called sending this synchronization information to the slave 4b 2, the synchronization You may make it the composition taken. Also, in FIG.
As shown in FIG. 5, all encoded data sequences may be used as masters to individually perform frame synchronization.

【0068】ここで、バーストデータを伝送する際に
は、図6に示す符号化処理回路において、データにスク
ランブル処理を施す。スクランブル処理は、回路内のス
クランブラで発生するスクランブルパターンと伝送デー
タとのEX-OR を取ることによって行なわれる。
Here, when transmitting the burst data, the data is scrambled by the encoding processing circuit shown in FIG. The scramble process is performed by taking the EX-OR of the scramble pattern generated by the scrambler in the circuit and the transmission data.

【0069】この時、スクランブルパターンのパターン
長は回路内のスクランブラの段数によって決定される
が、この長さはフレーム長とは異なることが多い。一
方、システムにおいては、1フレーム長あたりのマーク
率を規定る為、スクランブルパターンに1フレーム長相
当の周期でリセットをかける。
At this time, the pattern length of the scramble pattern is determined by the number of stages of the scrambler in the circuit, but this length is often different from the frame length. On the other hand, in the system, the scramble pattern is reset at a cycle corresponding to one frame length in order to define the mark ratio per one frame length.

【0070】並列データ伝送の場合、回路の構成上スク
ランブルパターンとリセット位置の関係が各チャンネル
毎に異なり、マーク率がチャンネル間でバラツクと云う
のが従来の課題であったが、フレーム長とPNパターンの
マーク率が僅かに変化させると、1フレーム長当りのPN
パターンのマーク率が僅かに変化する。
In the case of parallel data transmission, the conventional problem is that the relationship between the scramble pattern and the reset position differs from channel to channel due to the circuit configuration, and the mark ratio varies among channels. If the mark ratio of the pattern is changed slightly, PN per frame length
The mark ratio of the pattern changes slightly.

【0071】この変化量を予め知っていれば、伝送路マ
ーク率が変化して0.5 からずれた時、そのずれた分だけ
補正することができる。従って、並列データ伝送路にお
いては、チャンネル間でのマーク率のバラツキを小さく
することもできる。
If this change amount is known in advance, when the transmission line mark ratio changes and deviates from 0.5, it can be corrected by the amount of the deviation. Therefore, in the parallel data transmission path, it is possible to reduce the variation in the mark ratio between the channels.

【0072】PNパターンのリセット長がフレーム長以上
で、且つ、フレーム長の整数倍の時、擬似同期パターン
が発生する可能性がある。この時、 2K-1 ビットカウン
タ制御部( 図示せず) において 2K-1 ビットカウンタを
制御し、PNパターン及びリセット長を変化させることに
より、擬似同期が起こらない様にすることができる。
When the reset length of the PN pattern is equal to or longer than the frame length and is an integral multiple of the frame length, a pseudo sync pattern may occur. At this time, the 2 K-1 bit counter control unit (not shown) controls the 2 K-1 bit counter to change the PN pattern and the reset length so that pseudo synchronization does not occur.

【0073】さて、図14は上記で詳細説明した本発明の
フレーム同期回路を光伝送装置に用いた場合の要部構成
図である。図に示す様に、フォトダイオード(PD)、プリ
アンプ、リファレンス回路、リミッタアンプで構成され
る光/ 電気変換部とを有する光受信部と、上記の復号化
処理回路とを組み合わせた光受信器において、フレーム
長、デスクランブラ部内のPNパターンのリセット長を任
意に設定する 2K-1 ビットカウンタを用意して、Kの値
を制御することで伝送路のマーク率を変化させることが
できる。ここで、Kは1,2,3 ・・である。
FIG. 14 is a block diagram of the essential parts when the frame synchronization circuit of the present invention described in detail above is used in an optical transmission device. As shown in the figure, in an optical receiver in which an optical receiving section having a photo diode (PD), a preamplifier, a reference circuit, and an optical / electrical converting section composed of a limiter amplifier, and the above decoding processing circuit are combined. , The frame length and the reset length of the PN pattern in the descrambler are set to 2 K-1 bit counter, and the mark ratio of the transmission path can be changed by controlling the value of K. Here, K is 1,2,3 ....

【0074】光受信部ではリファレンス回路を用いてお
り、リファレンス回路では光受信レベルを検出してい
る。この時、リファレンス回路で平均値を検出する方式
であれば伝送路マーク率が常に0.5 であることが安定に
動作する条件である。
A reference circuit is used in the light receiving section, and the reference circuit detects the light receiving level. At this time, if the reference circuit detects the average value, the condition that the transmission line mark ratio is always 0.5 is a stable operation condition.

【0075】しかし、伝送路データのマーク率は、スク
ランブル処理が行なわれてもデータ自身のマーク率や出
現パターンによって0.5 から僅かにずれてしまう。この
ことがリファレンス回路( 平均値検出回路) の特性劣化
を招くことになる。
However, the mark ratio of the transmission path data is slightly deviated from 0.5 depending on the mark ratio of the data itself and the appearance pattern even if scramble processing is performed. This causes deterioration of the characteristics of the reference circuit (average value detection circuit).

【0076】そこで、送信部におけるスクランブラ部及
び受信部におけるデスクランブラ内部のPNパターン発生
部で発生するPNパターンのリセット長をかえることによ
り、或いはフレーム長を変えることにより、伝送路マー
ク率を0.5 に対して微妙に変化させることができる。
Therefore, by changing the reset length of the PN pattern generated in the scrambler unit in the transmission unit and the PN pattern generation unit in the descrambler in the reception unit, or by changing the frame length, the transmission line mark ratio is 0.5. Can be subtly changed.

【0077】これにより、データ自身のマーク率が変化
して伝送路マーク率が0.5 からずれた時に0.5 に近づけ
る様に修正することが可能となる。つまり、本発明によ
れば同期復帰時間を短縮すること、擬似同期及びデータ
・スリップ時の誤同期を回避すること、伝送路マーク率
を変化させること、並列伝送時のチャンネル間ばらつき
を抑えること、光伝送システムに適用した時の光受信部
の能力に最適なマーク率でのデータ伝送を行い、光/ 電
気変換部における平均値検出の特性劣化を防ぐこと、n
ビットカウンタを 2K-1 ビットカウンタとすることによ
り、回路構成を簡略化することが可能となる効果を奏
し、符号化/ 復号化処理装置の性能向上に寄与するとこ
ろが大きい。
As a result, when the mark ratio of the data itself changes and the transmission line mark ratio deviates from 0.5, it can be corrected so as to approach 0.5. That is, according to the present invention, the synchronization recovery time is shortened, false synchronization and erroneous synchronization at the time of data slip are avoided, the transmission line mark ratio is changed, and variation between channels during parallel transmission is suppressed. Data transmission is performed at a mark ratio that is optimal for the optical receiver's capability when applied to an optical transmission system, and the deterioration of average value detection characteristics in the optical / electrical converter is prevented.
By using a 2 K-1 bit counter as the bit counter, the circuit configuration can be simplified, and it greatly contributes to the performance improvement of the encoding / decoding processing device.

【0078】[0078]

【発明の効果】以上詳細説明した様に本発明によれば、
最適化を図ったフレーム同期回路と同回路を用いた符号
化/復号化処理回路の提供を図ることができると云う効
果がある。
As described in detail above, according to the present invention,
There is an effect that it is possible to provide an optimized frame synchronization circuit and an encoding / decoding processing circuit using the same.

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

【図1】本発明のフレーム同期回路及び同回路を用いた
符号化/復号化処理回路の要部構成図の一例である。
FIG. 1 is an example of a configuration diagram of a main part of a frame synchronization circuit of the present invention and an encoding / decoding processing circuit using the same.

【図2】図1中のフレーム同期回路の動作説明用フロー
図である。
2 is a flowchart for explaining the operation of the frame synchronization circuit in FIG.

【図3】図1中のフレーム同期回路構成図の一例であ
る。
FIG. 3 is an example of a frame synchronization circuit configuration diagram in FIG. 1.

【図4】図3の動作説明図(その1)である。FIG. 4 is an operation explanatory diagram (1) of FIG. 3;

【図5】図3の動作説明図(その2)である。FIG. 5 is an operation explanatory diagram (2) of FIG. 3;

【図6】本発明の実施例の符号化処理回路の要部構成図
である。
FIG. 6 is a main part configuration diagram of an encoding processing circuit according to an embodiment of the present invention.

【図7】図6の動作説明図である。FIG. 7 is an operation explanatory diagram of FIG. 6;

【図8】本発明の実施例の復号化処理回路の要部構成図
である。
FIG. 8 is a configuration diagram of a main part of a decoding processing circuit according to an embodiment of the present invention.

【図9】図8中のスレーブ側フレーム同期回路の構成図
である。
9 is a configuration diagram of a slave side frame synchronization circuit in FIG.

【図10】図9中の遅延回路の動作説明図である。10 is an explanatory diagram of the operation of the delay circuit in FIG.

【図11】図8の動作説明図である。11 is an explanatory diagram of the operation of FIG.

【図12】本発明の実施例の復号化処理回路の別の一例
を示す図である。
FIG. 12 is a diagram showing another example of the decoding processing circuit according to the embodiment of the present invention.

【図13】本発明の実施例の復号化回路の更に別の一例
を示す図である。
FIG. 13 is a diagram showing still another example of the decoding circuit according to the exemplary embodiment of the present invention.

【図14】本発明を光伝送装置に適用した場合の要部構
成図である。
FIG. 14 is a configuration diagram of a main part when the present invention is applied to an optical transmission device.

【図15】従来例の説明図で、(a) は構成図、(b) は動
作説明図である。
15A and 15B are explanatory views of a conventional example, where FIG. 15A is a configuration diagram and FIG. 15B is an operation explanatory diagram.

【図16】課題説明図で、(a) は擬似同期発生の場合、
(b) はデータスリップ時の誤同期発生の場合である。
FIG. 16 is an explanatory diagram of a problem, where (a) is a case where pseudo synchronization occurs,
(b) is the case of erroneous synchronization at the time of data slip.

【符号の説明】[Explanation of symbols]

1 スクランブラ部 2 符号化処
理部 3 送信側制御部 4 フレーム
同期回路 5 デスクランブラ部 6 復号化処
理部 11 パラレル/ シリアル変換部 12 データス
ワップ部( 送信側) 41 比較部 42 受信側制
御部 43 フレーム同期検出部 44 同期保護
部 61 データスワップ部( 受信側) 62 シリアル
/ パラレル変換部
1 Scrambler 2 Encoding Processor 3 Transmitter Control 4 Frame Synchronization Circuit 5 Descrambler 6 Decoding Processor 11 Parallel / Serial Converter 12 Data Swap (Sender) 41 Comparator 42 Receiver Control 43 Frame sync detection block 44 Sync protection block 61 Data swap block (reception side) 62 Serial
/ Parallel converter

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−97937(JP,A) 特開 平5−3473(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 7/08 H04L 7/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-58-97937 (JP, A) JP-A-5-3473 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 7/08 H04L 7/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 補助ビットとフレームビットが挿入され
た入力符号化データから補助ビットを検出し、検出出力
を送出する補助ビット検出手段と、 該検出出力を利用して、該入力符号化データからフレー
ムビットを検出するフレーム同期検出手段 を有することを特徴とするフレーム同期回路において、 前記補助ビット検出手段は、符号化データの i番目と(i
+1)番目を比較して補助ビットを検出する比較部と、 補助ビットの検出状態に対応してセット/ リセットさ
れる、補助ビット挿入周期をカウントする (m+1)ビットカ
ウンタ、該(m+1)ビットカウンタと連携し、(m+
1)×nビット周期でのフレームビットの挿入周期をカ
ウントするnビットカウンタ、該(m+1)ビットカウ
ンタ、該nビットカウンタと連携動作し、ハンティング
の制御を行なう2 ビットカウンタを持ち、該2ビットカ
ウンタは、前記比較部の出力、前記(m+1)ビットカ
ウンタ、前記nビットカウンタの出力と、前記(m+
1)ビットカウンタは、前記比較部の出力と、前記nビ
ットカウンタは、前記比較部の出力、前記(m+1)ビ
ットカウンタの出力と、各々、相互接続され前記2ビ
ットカウンタ、前記nビットカウンタ出力を制御信号と
して必要な部分に送出する受信側制御部を有し、 前記フレーム同期検出手段は、該制御信号を利用して入
力符号化データからデータ、フレームビット、フレーム
情報、同期保護情報及びデスクランブラ部用セット/ リ
セット用情報を生成・送出するフレーム同期検出部、 該フレーム同期検出部からのフレームビット、フレーム
情報、同期保護情報を用いて同期保護が外れた時にアラ
ームを送出する同期保護部、 デスクランブラ部を有し、 該フレーム同期検出部が、該受信側制御部の出力を利用
してフレームビットを検出してフレーム同期を取る様に
構成したことを特徴とするフレーム同期回路。
1. An auxiliary bit detecting means for detecting an auxiliary bit from input coded data in which an auxiliary bit and a frame bit are inserted and transmitting a detection output, and utilizing the detection output, the input coded data In a frame synchronization circuit characterized by comprising frame synchronization detection means for detecting frame bits, the auxiliary bit detection means is the i-th and (i
Comparing unit for detecting the auxiliary bit by comparing +1) th, and (m + 1) -bit counter for counting the auxiliary bit insertion period , which is set / reset corresponding to the detection state of the auxiliary bit , the (m + 1) bit In cooperation with the counter, (m +
1) Check the frame bit insertion period in × n bit period.
N-bit counter to count, the (m + 1) Bittokau
And hunting in cooperation with the n-bit counter.
Has 2-bit counter that controls the, the two Bittoka
The counter outputs the output of the comparison unit and the (m + 1) -bit counter.
The output of the n-bit counter and the (m +
1) The bit counter outputs the output of the comparison unit and the n-bit counter.
The bit counter outputs the output of the comparison unit and the (m + 1) bit.
Output of the output counter and each of the two
A bit counter, a reception side control unit for sending the output of the n-bit counter to a necessary portion as a control signal, and the frame synchronization detection means uses the control signal to output data, frame bits, and frames from input encoded data. Information, synchronization protection information and descrambler set / reset information generation / transmission frame synchronization detection unit, when synchronization protection is lost using frame bits, frame information and synchronization protection information from the frame synchronization detection unit It is characterized in that it has a sync protector for sending out an alarm and a descrambler, and that the frame sync detector is configured to detect a frame bit using the output of the receiving side controller to establish frame synchronization. And a frame synchronization circuit.
【請求項2】 入力する複数チャンネルの上記符号化
データのうち、1チャンネルをマスター他のチャンネ
ルをスレーとし、 該マスターのフレーム同期検出部は請求項1に記載のフ
レーム同期回路で構成され、該マスタのフレーム同期回
路からのフレームビット情報を、 同期保護部、制御部、ゲート回路部で構成される該スレ
ーブチャネルのフレーム同期部に送出し、 入力したフレームビット情報とフレームビットとの一致
/不一致を検出してスレーブのフレーム同期を取る構成
にしたことを特徴とするフレーム同期回路。
Wherein among the encoded data of a plurality of channels to be input, one channel master, the other channel as slave, the frame synchronization detection unit of the master is composed of a frame synchronization circuit according to claim 1 , The frame bit information from the frame synchronization circuit of the master is sent to the frame synchronization unit of the slave channel composed of the synchronization protection unit, control unit, and gate circuit unit, and the input frame bit information matches the frame bit. / A frame synchronization circuit characterized by being configured to establish frame synchronization of a slave by detecting a mismatch.
【請求項3】 PNパターンを発生し、入力ディジタ
ル信号とPNパターンとの排他的論理和を取るスクラン
ブラ部と、 補助ビット及びフレームビットをディジタル信号に挿入
することにより符号化を行なう符号化処理部と、 m +1 ビットカウンタ、n ビットカウンタ、2 ビットカ
ウンタのセット/ リセットを行なう送信側制御部とを有
する符号化処理回路と、 請求項1又は請求項2に記載のフレーム同期回路と、同
期の取れたディジタル信号の復号化を行なう復号化処理
部とを有する復号化処理回路において、 フレーム長及びPNパターンのリセット長を設定可能な
構成にしたことを特徴とする符号化/ 復号化処理回路。
3. A coding process for generating a PN pattern and performing an exclusive OR of an input digital signal and a PN pattern, and an encoding process for inserting auxiliary bits and frame bits into the digital signal. and parts, m +1 bit counter, n-bit counter, and coding processing circuit and a transmitting-side control unit that performs a set / reset the 2-bit counter, a frame synchronization circuit according to claim 1 or claim 2, A decoding processing circuit having a decoding processing unit for decoding synchronized digital signals, characterized in that the frame length and the reset length of the PN pattern are settable. circuit.
JP31717694A 1994-12-20 1994-12-20 Frame synchronization circuit and encoding / decoding processing circuit using the same Expired - Fee Related JP3465386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31717694A JP3465386B2 (en) 1994-12-20 1994-12-20 Frame synchronization circuit and encoding / decoding processing circuit using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31717694A JP3465386B2 (en) 1994-12-20 1994-12-20 Frame synchronization circuit and encoding / decoding processing circuit using the same

Publications (2)

Publication Number Publication Date
JPH08172432A JPH08172432A (en) 1996-07-02
JP3465386B2 true JP3465386B2 (en) 2003-11-10

Family

ID=18085302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31717694A Expired - Fee Related JP3465386B2 (en) 1994-12-20 1994-12-20 Frame synchronization circuit and encoding / decoding processing circuit using the same

Country Status (1)

Country Link
JP (1) JP3465386B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3536909B2 (en) * 1999-12-24 2004-06-14 日本電気株式会社 Switching device and scrambling method
US7689133B2 (en) 2005-02-28 2010-03-30 Fujitsu Limited Optical signal reception device and method of controlling optical signal reception
JP4727493B2 (en) * 2006-04-20 2011-07-20 富士通株式会社 Optical signal receiving apparatus and optical signal reception control method
ATE548838T1 (en) * 2009-01-09 2012-03-15 Alcatel Lucent TRANSMISSION OF PARALLEL DATA FLOWS IN A PARALLEL BUS

Also Published As

Publication number Publication date
JPH08172432A (en) 1996-07-02

Similar Documents

Publication Publication Date Title
US5408473A (en) Method and apparatus for transmission of communication signals over two parallel channels
JP2732759B2 (en) Frame synchronization control method
EP1648128B1 (en) Selective scrambler for use in a communication system and method to minimize bit error at the receiver
JP2002051033A (en) Method and system for detecting data speed for multi- speed embedded clock series receiver
EP0977411B1 (en) Block code with limited disparity
US20030037297A1 (en) Frame synchronization device and frame synchronization method
EP0119004B1 (en) Ring communications system
US7333518B2 (en) Transmission method and transmission system as well as communications device
US20010008001A1 (en) Switching system and scramble control method
US7054401B2 (en) Parallel signal transmission device
US5703882A (en) Cyclic line coding apparatus for error detection and frame recovery
US6920604B2 (en) Systems and methods for high speed serial encoding and decoding for data and control interfaces
KR100849427B1 (en) An encoder within a communication system that avoids encoded DC accumulation and can use coding violations to synchronize a decoder and detect transmission errors
EP0212327B1 (en) Digital signal transmission system having frame synchronization operation
EP1517450A1 (en) Error correction on M-BIT encoded links
US5629983A (en) Parallel transmission through plurality of optical fibers
JP3465386B2 (en) Frame synchronization circuit and encoding / decoding processing circuit using the same
EP0549047B1 (en) Scrambler/descrambler and synchronizer for a data transmission system
US5619532A (en) Digital communication system
CA2031494C (en) Correlation code transmission system
US20120027107A1 (en) Communication device and communication method in data transmission system
EP0065641B1 (en) Synchronizer for medium speed multiplex data
JPH05219488A (en) Video signal transmitter/receiver
US20030043938A1 (en) Apparatus and method for periodic pattern detection
JPH03297236A (en) Data transmission system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030729

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

Free format text: PAYMENT UNTIL: 20080829

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090829

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100829

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees