JPH0661966A - Digital stuff control circuit - Google Patents

Digital stuff control circuit

Info

Publication number
JPH0661966A
JPH0661966A JP4209347A JP20934792A JPH0661966A JP H0661966 A JPH0661966 A JP H0661966A JP 4209347 A JP4209347 A JP 4209347A JP 20934792 A JP20934792 A JP 20934792A JP H0661966 A JPH0661966 A JP H0661966A
Authority
JP
Japan
Prior art keywords
clock
circuit
memory
counter
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.)
Withdrawn
Application number
JP4209347A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Nakajima
佳之 中島
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 JP4209347A priority Critical patent/JPH0661966A/en
Publication of JPH0661966A publication Critical patent/JPH0661966A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To provide a digital stuff control circuit which reduces various types of jitters and can maintain the high quality of a transmission circuit. CONSTITUTION:The digital stuff control circuit consists of a memory 10 where the input data are temporarily written, a write counter 20 which produces a write pulse from an output clock to the memory 10, a timing signal generating circuit 30 which produces a clock and a toothless clock from an output clock only when a frame pulse and the data are required, a read counter 40 which produces a read pulse from the toothless clock to read the data out of memory 10, a subtractor circuit 50 which performs the subtraction between the outputs of both counters 20 and 40, and a deciding circuit 60 which decides the necessity for insertion of a stuff bit based on the output of the circuit 50.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディジタル通信のディジ
タルスタッフ制御回路に関する。近年、ディジタル通信
として新同期網と呼ばれる通信方式が採用されるように
なってきている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital stuff control circuit for digital communication. In recent years, a communication system called a new synchronous network has been adopted as digital communication.

【0002】図8はフレームフォーマットの例を説明す
る図である。図は4本のデータを多重する例であり、一
定のタイミングで付加ビットを挿入し、さらにスタッフ
ビットを挿入している。
FIG. 8 is a diagram for explaining an example of a frame format. The figure shows an example in which four lines of data are multiplexed, and additional bits are inserted at fixed timings and stuff bits are further inserted.

【0003】付加ビットは回線監視や、制御のために使
用するビットであり、スタッフビットは周波数整合のた
めに挿入するものである。また、ここで使用する付加ビ
ットは数バイトの連続する情報であってその間はデータ
の挿入は行えない。そのため、スタッフビット挿入の要
否を判定する回路に大きな影響を与えることになり、適
正なスタッフビットの挿入が行えなくなってしまい、デ
ータが本来あるべき位置からの微小な位相ズレであるジ
ッタ量が増大し、回線品質を劣化させる。
The additional bits are used for line monitoring and control, and the stuff bits are inserted for frequency matching. Further, the additional bits used here are continuous information of several bytes, and data cannot be inserted during that period. As a result, the circuit that determines the necessity of inserting the stuff bit has a great influence, and the stuff bit cannot be inserted properly, and the jitter amount, which is a minute phase shift from the position where the data should originally be, is generated. Increases and deteriorates the line quality.

【0004】かかる、ジッタを抑圧し、回線品質を高め
ることのできるスタッフ制御回路が要求されている。
There is a demand for a stuff control circuit capable of suppressing the jitter and improving the line quality.

【0005】[0005]

【従来の技術】図9は従来例を説明するブロック図を示
す。図中の10はメモリ、10Aは多重回路、20は書
込カウンタ、30はタイミング信号発生回路、40は読
出カウンタ、90AはAND回路、90BはS−Rラッ
チ回路である。
2. Description of the Related Art FIG. 9 is a block diagram for explaining a conventional example. In the figure, 10 is a memory, 10A is a multiplexing circuit, 20 is a write counter, 30 is a timing signal generating circuit, 40 is a read counter, 90A is an AND circuit, and 90B is an SR latch circuit.

【0006】この回路で、書込カウンタ20は入力クロ
ックをカウントすることにより、メモリ10への書き込
みパルス2aと特定のメモリ10に対する位相信号2b
を発生する。タイミング信号発生回路30は出力クロッ
クから各種タイミング信号3aとデータの必要な部分の
みにクロックがある歯抜けクロック3bを発生する。
In this circuit, the write counter 20 counts the input clock to write the write pulse 2a to the memory 10 and the phase signal 2b to the specific memory 10.
To occur. The timing signal generation circuit 30 generates various timing signals 3a from an output clock and a toothless clock 3b having a clock only in a necessary portion of data.

【0007】読出カウンタ40は読み出しパルス4aと
特定のメモリ10に対する位相信号4bを発生し、入力
データ1aを書き込みパルス2aでメモリ10に保持し
ておき、読み出しパルス4aで出力データ1bとして出
力する。多重回路10Aはタイミング信号3aにより、
メモリ10からの出力データ1bと付加ビット1cを多
重し、出力データ1dを作成する。
The read counter 40 generates a read pulse 4a and a phase signal 4b for a specific memory 10, holds input data 1a in the memory 10 with a write pulse 2a, and outputs it as output data 1b with a read pulse 4a. The timing signal 3a causes the multiplexing circuit 10A to
The output data 1b from the memory 10 and the additional bit 1c are multiplexed to create the output data 1d.

【0008】また、AND回路90Aは書き込みの特定
の位相信号2bと読み出しの特定の位相信号4bの重な
りを検出したとき検出パルス9aを出力し、S−Rラッ
チ回路90Bは検出パルス9aを保持しておき、フレー
ム信号発生回路30にスタッフビットの挿入を要求する
信号9bを入力して、歯抜けクロック3bを制御して、
スタッフビットの挿入を行うよう制御する。スタッフビ
ットの挿入を行った場合には、S−Rラッチ回路をクリ
アする信号3cを出力する。
Further, the AND circuit 90A outputs the detection pulse 9a when detecting the overlap between the specific phase signal 2b for writing and the specific phase signal 4b for reading, and the SR latch circuit 90B holds the detection pulse 9a. A signal 9b requesting insertion of a stuff bit is input to the frame signal generation circuit 30 to control the tooth loss clock 3b,
Control to insert the stuff bit. When the stuff bit is inserted, the signal 3c for clearing the SR latch circuit is output.

【0009】このような動作でスタッフビットの挿入を
行い、スタッフされているかどうかは、図8で説明した
付加ビットの一部を使用して表示している。図10は従
来例のスタッフ制御動作を説明する図である。図は図9
に示すメモリ10内での位相状態を示すものであり、横
軸が時間の経過t、縦軸が位相の進み/遅れの大きさを
示し、点線はスタッフビット挿入の判定基準を示す。
The stuffing bit is inserted by such an operation, and whether it is stuffed or not is indicated by using a part of the additional bit described in FIG. FIG. 10 is a diagram for explaining the staff control operation of the conventional example. Figure is Figure 9
2 shows the phase state in the memory 10, the abscissa indicates the lapse of time t, the ordinate indicates the amount of lead / lag of the phase, and the dotted line indicates the criterion for stuff bit insertion.

【0010】書き込みパルスと読み出しパルスの周波数
の差により位相は緩やかに変化し、判定基準を超えた場
合にはスタッフビットを挿入し位相を戻す。図の矢印
は、図8で説明したように、スタッフビットを挿入する
位置はフレームの中で決まっているので、判定基準を超
えた場合、直ちに、スタッフビットの挿入を行うのでは
なく、スタッフビットのタイミングがくるまで待ち、そ
の位置で挿入を行う。
The phase gradually changes due to the difference in frequency between the write pulse and the read pulse. When the judgment criterion is exceeded, a stuff bit is inserted and the phase is returned. As described with reference to FIG. 8, the position of inserting the stuff bit in the arrow in the figure is determined in the frame. Therefore, when the criterion is exceeded, the stuff bit is not inserted immediately but the stuff bit is inserted. Wait until the timing comes and insert at that position.

【0011】[0011]

【発明が解決しようとする課題】上述の従来例において
は、メモリ段数とフレームの形状には関係なく、メモリ
の特定位相に対して、付加ビット挿入のためのクロック
の歯抜けは非同期に発生するので、各判定時点での付加
ビット挿入の影響は一定していない。
In the above-mentioned conventional example, the missing of the clock for inserting the additional bit occurs asynchronously with respect to the specific phase of the memory regardless of the number of memory stages and the shape of the frame. Therefore, the influence of the additional bit insertion at each determination time is not constant.

【0012】このため、図10で示したような、短い時
間だけ判定基準を超えるフレーム形式では、検出が不規
則になり、待ち合わせジッタが大きくなり、発生周期も
ランダムなものとなってしまう。
Therefore, in the frame format as shown in FIG. 10 in which the judgment criterion is exceeded only for a short time, the detection becomes irregular, the waiting jitter becomes large, and the generation cycle becomes random.

【0013】また、スタッフを行うかどうかを表示する
のに付加ビットの一部を使用するので、スタッフを行う
ことを決めてから、実際にスタッフを行うまで一定の時
間が必要になるが、その間に次のフレームでスタッフす
るか否かの検出は始まっているので、2回連続でスタッ
フビットの挿入が行われがちである。そうなると、位相
が必要以上に戻ることとなり、次のスタッフビットの挿
入までの時間が長くなり、スタッフジッタは振幅が大き
く周期も長くなってしまう。
Further, since a part of the additional bits is used to indicate whether or not to perform stuffing, a certain time is required from the decision to perform stuffing to the actual stuffing. Since the detection of whether or not to stuff in the next frame has already started, the stuff bit is likely to be inserted twice in succession. In that case, the phase returns more than necessary, the time until the insertion of the next stuff bit becomes long, and the stuff jitter has a large amplitude and a long cycle.

【0014】さらに、このデータの受信側では、付加ビ
ットとスタッフビットを除いた後、位相同期ループ(以
下PLLと称する)回路でクロックを再生して、メモリ
を通してデータを出力しているが、PLL回路はローパ
スフィルタの特性をもっていることから、付加ビットに
よるジッタは繰り返し周波数が短いので充分抑圧できる
が、待ち合わせジッタとスタッフジッタが、振幅が大き
く、繰り返し周波数が長いものになると、充分な抑圧が
できず、出力信号に残ってしまい、回線品質を低下させ
る原因となる。
Further, on the receiving side of this data, after removing the additional bit and the stuff bit, the clock is regenerated by the phase locked loop (hereinafter referred to as PLL) circuit and the data is output through the memory. Since the circuit has the characteristics of a low-pass filter, jitter due to additional bits can be sufficiently suppressed because the repetition frequency is short, but queuing jitter and stuff jitter can be sufficiently suppressed when the amplitude is large and the repetition frequency is long. Instead, it remains in the output signal, causing the line quality to deteriorate.

【0015】本発明は振幅が大きくランダムな周期をも
つ待ち合わせジッタや、スタッフを連続して行うことに
よる振幅が大きく繰り返し周期の長いジッタを減少さ
せ、伝送回線の高い品質を維持することのできるディジ
タルスタッフ制御回路を実現しようとする。
The present invention reduces queuing jitter having a large amplitude and a random period, and jitter having a large amplitude and a long repeating period due to continuous stuffing, thereby maintaining high quality of a transmission line. Try to realize a staff control circuit.

【0016】[0016]

【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。図中の100はディジタルス
タッフ制御回路であり、10Aは第1のクロック周波数
f1の複数N本のデータに付加ビットをつけて、第2の
クロック周波数f2の信号に多重する多重回路であり、
10は入力データを一時書き込んでおくメモリであり、
20は周波数が第1のクロック周波数f1の入力クロッ
クからメモリ10への書き込みパルスを作成する書込カ
ウンタであり、30は周波数が第2のクロック周波数f
2の出力クロックからフレームパルスとデータが必要な
ときだけクロックを発生させる歯抜けクロックとを作成
するタイミング信号発生回路であり、40はタイミング
信号発生回路30の発生する歯抜けクロックから、メモ
リ10に書き込まれたデータを読み出す読み出しパルス
を作成する読出カウンタである。
FIG. 1 is a block diagram for explaining the principle of the present invention. In the figure, 100 is a digital stuff control circuit, and 10A is a multiplexing circuit that adds additional bits to a plurality of N pieces of data having a first clock frequency f1 and multiplexes them with a signal having a second clock frequency f2.
10 is a memory for temporarily writing input data,
Reference numeral 20 is a write counter that creates a write pulse to the memory 10 from an input clock whose frequency is the first clock frequency f1, and 30 is a second clock frequency f.
2 is a timing signal generating circuit for generating a frame pulse from the output clock of 2 and a tooth-missing clock for generating a clock only when data is required. Reference numeral 40 denotes a timing-missing clock generated by the timing signal generating circuit 30 in the memory 10. It is a read counter that creates a read pulse for reading the written data.

【0017】また、50は書込カウンタ20の出力と、
読出カウンタ40の出力の減算を行う減算回路であり、
60は減算回路50の出力からスタッフビットの挿入の
要否を判定する判定回路であり、メモリ10の書き込み
の位相を示す書込カウンタ20のカウント値とメモリ1
0の読み出しの位相を示す読出カウンタ40のカウント
値との減算を減算回路50で行いその結果を判定回路6
0に入力し、位相差が所定の値より小さいと判定された
場合にはタイミング信号発生回路30を制御してスタッ
フビットの挿入を行う。
Reference numeral 50 denotes the output of the writing counter 20,
Is a subtraction circuit for subtracting the output of the read counter 40,
Reference numeral 60 denotes a determination circuit that determines whether or not the stuff bit needs to be inserted from the output of the subtraction circuit 50.
The subtraction circuit 50 performs subtraction with the count value of the read counter 40 indicating the 0 read phase, and the result is determined by the determination circuit 6.
When 0 is input and it is determined that the phase difference is smaller than a predetermined value, the timing signal generating circuit 30 is controlled to insert the stuff bit.

【0018】[0018]

【作用】図において、書込カウンタ20で入力クロック
からメモリ書き込み用の書き込みパルスを発生させると
ともに、メモリ10の書き込み位相を示すカウンタ値を
出力し、減算回路50の一方の端子に入力する。
In the figure, the write counter 20 generates a write pulse for writing the memory from the input clock, and outputs a counter value indicating the write phase of the memory 10 to input to one terminal of the subtraction circuit 50.

【0019】タイミング信号発生回路30は出力クロッ
クからフレーム作成のためのフレームタイミング信号、
メモリ読み出し用の歯抜けクロックを作成し、読出カウ
ンタ40に入力する。
The timing signal generation circuit 30 is a frame timing signal for creating a frame from the output clock,
A toothless clock for memory reading is created and input to the reading counter 40.

【0020】読出カウンタ40では、歯抜けクロックか
らメモリ読み出し用のパルスとメモリ10の読み出し位
相を示すカウンタ値を出力し、減算回路50の他方の端
子に入力する。
The read counter 40 outputs a pulse for memory reading and a counter value indicating the read phase of the memory 10 from the missing clock and inputs it to the other terminal of the subtraction circuit 50.

【0021】入力データはメモリ10に書き込みパルス
で書き込まれ、読み出しパルスにより読み出され、多重
回路10Aでメモリ10から出力したデータと付加ビッ
トとをタイミング信号により多重して出力データとして
出力する。
Input data is written in the memory 10 by a write pulse and read by a read pulse, and the data output from the memory 10 by the multiplexing circuit 10A and the additional bit are multiplexed by a timing signal and output as output data.

【0022】減算回路50は書き込み位相を示すカウン
タ値と、読み出し位相を示すカウンタ値との減算を行
い、その結果を判定回路60に入力し、位相差が所定の
値より小さいことを検出した場合には、スタッフを行う
制御信号を出力し、タイミング信号発生回路30は歯抜
けクロックを制御してスタッフビットの挿入を行うか否
かを制御する。このような動作により、ジッタを抑圧
し、回線品質を高めることが可能となる。
When the subtraction circuit 50 performs subtraction between the counter value indicating the write phase and the counter value indicating the read phase and inputs the result to the judgment circuit 60 and detects that the phase difference is smaller than a predetermined value. , A control signal for performing stuffing is output, and the timing signal generation circuit 30 controls the tooth missing clock to control whether or not to insert the stuff bit. By such an operation, it is possible to suppress the jitter and improve the line quality.

【0023】[0023]

【実施例】図2は本発明の信号の流れを説明する図であ
る。図2の構成は原理図の構成にFF回路20Aを加え
たものである。
FIG. 2 is a diagram for explaining the signal flow of the present invention. The configuration of FIG. 2 is obtained by adding an FF circuit 20A to the configuration of the principle diagram.

【0024】図において、入力クロックで書込カウンタ
20を回して、書き込みパルス2aとメモリ10の位相
を示す位相信号2bを発生する。タイミング信号発生回
路30は出力クロックから各種タイミング信号3aとデ
ータの必要な部分のみにクロックがある歯抜けクロック
3bを発生し、読出カウンタ40は読み出しパルス4a
とメモリ10の位相を示す位相信号4bを発生する。
In the figure, a write counter 20 is rotated by an input clock to generate a write pulse 2a and a phase signal 2b indicating the phase of the memory 10. The timing signal generation circuit 30 generates various timing signals 3a from the output clock and a toothless clock 3b having a clock only in a necessary portion of the data, and the read counter 40 outputs the read pulse 4a.
And a phase signal 4b indicating the phase of the memory 10 is generated.

【0025】入力データ1aを書き込みパルス2aでメ
モリ10上に保持しておき、読み出しパルス4aで出力
データ1bを出力する。多重回路10Aはタイミング信
号3aにより、メモリ10からの出力データ1bと付加
ビット1cを多重し、出力データ1dを作成する。
The input data 1a is held in the memory 10 by the write pulse 2a, and the output data 1b is output by the read pulse 4a. The multiplexing circuit 10A multiplexes the output data 1b from the memory 10 and the additional bit 1c by the timing signal 3a to create the output data 1d.

【0026】また、入力クロックと出力クロックは非同
期であるので、書込カウンタ20のカウント値をFF回
路20Aで出力クロックに同期させ位相信号2cとして
出力する。
Further, since the input clock and the output clock are asynchronous, the count value of the write counter 20 is synchronized with the output clock by the FF circuit 20A and output as the phase signal 2c.

【0027】減算回路50はタイミング信号発生回路3
0から特定タイミング信号3dが入力されたときの、F
F回路20Aの出力する位相信号2cと読出カウンタ4
0の出力する位相信号4bとの減算を行い、その差を信
号5aとして出力する。
The subtraction circuit 50 is the timing signal generation circuit 3
F when the specific timing signal 3d is input from 0
The phase signal 2c output from the F circuit 20A and the read counter 4
0 is subtracted from the phase signal 4b output, and the difference is output as a signal 5a.

【0028】判定回路60はこの信号5aが予め設定し
た値より大きいか否かを判定し、小さい場合には、スタ
ッフ制御を行う制御信号6aを出力し、タイミング信号
発生回路30を制御して、スタッフビットの挿入を行
う。
The decision circuit 60 decides whether or not the signal 5a is larger than a preset value, and if it is smaller, outputs the control signal 6a for stuff control and controls the timing signal generation circuit 30. Insert the stuff bit.

【0029】図3は本発明の実施例を説明する図であ
る。図は3本の入力データ1〜3を多重する例であり、
図中の101〜103はディジタルスタッフ制御回路、
11〜1nはFF回路(図中MMと示す)により構成し
たメモリ、10Aは多重回路(図中MUXと示す)、1
0Bはn:1セレクタ(図中SELと示す)、21、4
1はループカウンタ(図中LCと示す)、22、42は
エンコーダ(図中ENCと示す)、23はFF回路(図
中FFと示す)、30はタイミング信号発生回路(図中
TMGと示す)、50は減算回路(図中SUBと示
す)、60は判定回路(図中DET)と示す。
FIG. 3 is a diagram for explaining an embodiment of the present invention. The figure shows an example of multiplexing three input data 1 to 3,
101 to 103 in the figure are digital stuff control circuits,
Numerals 11 to 1n are memories constituted by FF circuits (denoted by MM in the figure), and 10A are multiplex circuits (denoted by MUX in the figure), 1
0B is an n: 1 selector (shown as SEL in the figure), 21, 4
1 is a loop counter (indicated by LC in the figure), 22 and 42 are encoders (indicated by ENC in the figure), 23 is an FF circuit (indicated by FF in the figure), and 30 is a timing signal generation circuit (indicated by TMG in the figure). , 50 is a subtraction circuit (denoted by SUB in the figure), and 60 is a decision circuit (DET in the figure).

【0030】ここで、書き込みパルスの作成はループカ
ウンタ21にて行い、メモリ11〜1nの位相を示すた
めにエンコーダ22で、n本のパルスから2進数に変換
している。原理図で説明したメモリ10としてはメモリ
11〜1nとn:1セレクタ10Bから構成している。
Here, the write pulse is created by the loop counter 21, and the encoder 22 converts the n pulses into a binary number to indicate the phase of the memories 11 to 1n. The memory 10 described in the principle diagram is composed of the memories 11 to 1n and the n: 1 selector 10B.

【0031】FF回路23はクロック乗り換えのための
ものであり、m個のFF回路から構成しており、減算回
路50は通常の減算ではなく、書き込みパルスと読み出
しパルスの位相差から位相余裕度を示す数値を出力す
る。この数値を判定回路60に入力し、位相差が予め定
められた値より小さい場合には、スタッフビットの挿入
を行うようにタイミング信号発生回路30を制御する。
The FF circuit 23 is for changing the clock and is composed of m FF circuits. The subtraction circuit 50 does not perform normal subtraction, but determines the phase margin from the phase difference between the write pulse and the read pulse. Output the indicated value. This numerical value is input to the determination circuit 60, and when the phase difference is smaller than a predetermined value, the timing signal generation circuit 30 is controlled to insert the stuff bit.

【0032】図3に示す実施例では、書き込みパルス、
読み出しパルスの発生にエンコーダ22、42を使用し
ているが、これを2進カウンタとし、メモリ側への信号
に2進から順序パルスに変換するデコーダを使用するこ
ともできる。また、書き込みパルス、読み出しパルスの
発生にループカウンタ21、41を使用し、エンコーダ
22、42を削除し、減算回路50を順序パルスから位
相余裕度を求めるように構成することも可能である。
In the embodiment shown in FIG. 3, a write pulse,
Although the encoders 22 and 42 are used to generate the read pulse, it is also possible to use this as a binary counter and use a decoder that converts a binary signal into a sequential pulse as a signal to the memory side. It is also possible to use the loop counters 21 and 41 for generating the write pulse and the read pulse, delete the encoders 22 and 42, and configure the subtraction circuit 50 to obtain the phase margin from the sequential pulse.

【0033】図4は本発明の実施例のスタッフ制御動作
を説明する図である。図中の細い矢印はスタッフビット
の挿入の要否を判定するタイミングであり、太い矢印は
スタッフビットの挿入を行ったことを示す。このように
本発明では判定タイミングがデータフレームの特定点と
なっているので、付加ビット挿入によるクロックの歯抜
けの影響は毎回同じであり、各回の判定はメモリの位相
の進み遅れを正確に反映することができ、適切なスタッ
フビットの挿入を行える。このような動作からスタッフ
ビット挿入による待ち合わせジッタは振幅が小さくほぼ
均等に発生することになる。
FIG. 4 is a diagram for explaining the staff control operation of the embodiment of the present invention. The thin arrow in the figure indicates the timing for determining the necessity of inserting the stuff bit, and the thick arrow indicates that the stuff bit has been inserted. As described above, according to the present invention, since the determination timing is the specific point of the data frame, the influence of the missing bit of the clock due to the additional bit insertion is the same every time, and the determination of each time accurately reflects the lead / lag of the phase of the memory. It is possible to insert an appropriate stuff bit. Due to such an operation, the waiting jitter due to the insertion of the stuff bit has a small amplitude and occurs almost evenly.

【0034】したがって、受信側ではPLL回路のクロ
ック再生において、ローパスフィルタの効果でジッタを
十分抑圧することが可能となる。図5は本発明の実施例
の減算処理を説明する図である。図において、横方向が
書き込みパルスの位相(Wと示す)を示し、縦方向が読
み出しパルスの位相(Rと示す)を示す。
Therefore, on the receiving side, in the clock recovery of the PLL circuit, the effect of the low-pass filter can sufficiently suppress the jitter. FIG. 5 is a diagram for explaining the subtraction process according to the embodiment of the present invention. In the figure, the horizontal direction indicates the phase of the write pulse (denoted by W), and the vertical direction indicates the phase of the read pulse (denoted by R).

【0035】ここで、例えばW=0、R=0の場合、位
相余裕度は0となる。また、W=1、R=0の場合、位
相余裕度は1となる。逆に、W=0、R=1の場合、位
相余裕度は最大のn−1となる。
Here, for example, when W = 0 and R = 0, the phase margin is zero. Further, when W = 1 and R = 0, the phase margin is 1. On the contrary, when W = 0 and R = 1, the phase margin is the maximum n-1.

【0036】図6は本発明のその他の実施例を説明する
図(1)である。図は4本の入力データ1〜4を多重す
る例であり、図中の101〜104はディジタルスタッ
フ制御回路であり、ここでは、原理図で説明したメモリ
10として、アドレス空間がn以上のデュアルポートラ
ム10Cを使用した例である。この構成では、デュアル
ポートラム10Cへの書き込み、読み出しともにアドレ
スで行うので、カウンタ21A、41Aは2進カウンタ
を使用するのみで、エンコーダ22、42あるいはデコ
ーダは必要でなくなる。
FIG. 6 is a diagram (1) for explaining another embodiment of the present invention. The figure shows an example in which four input data 1 to 4 are multiplexed, and 101 to 104 in the figure are digital stuff control circuits. Here, as the memory 10 described in the principle diagram, the dual address space is n or more. This is an example of using the portram 10C. In this configuration, since writing and reading to and from the dual port RAM 10C are performed by addresses, the counters 21A and 41A only use binary counters, and the encoders 22 and 42 or decoders are not necessary.

【0037】図7は本発明のその他の実施例を説明する
図(2)である。ここでは、データの多重は行わず、付
加ビットの挿入のみを行う例であり、既存の回線を新同
期網に取り込む場合に使用される構成である。
FIG. 7 is a diagram (2) for explaining another embodiment of the present invention. Here, the data is not multiplexed and only the additional bits are inserted, and the configuration is used when the existing line is taken into the new synchronous network.

【0038】図3の実施例との構成の差はループカウン
タ21B、41Bにあり、書き込みパルス、読み出しパ
ルスを発生すると同時に、特定位相信号ΦX 、ΦY を発
生する。
The difference from the embodiment of FIG. 3 lies in the loop counters 21B and 41B, which generate write pulses and read pulses and at the same time generate specific phase signals ΦX and ΦY.

【0039】また、NOR回路71、72でS−Rラッ
チ回路70を構成し、特定位相信号ΦX 、ΦY をS−R
ラッチ回路70に入力することによりデューティ比信号
を発生している。このデューティ比信号をFF回路73
で出力クロックに同期させ、カウンタ80でアップカウ
ント/ダウンカウントを行うことによりデューティ比信
号を積分し、メモリの位相の進み遅れ状態を判定回路9
0で検出してスタッフビットの挿入を行うか否かの制御
信号を作成している。
Further, the NOR circuits 71 and 72 constitute the SR latch circuit 70, and the specific phase signals ΦX and ΦY are SR.
The duty ratio signal is generated by inputting it to the latch circuit 70. This duty ratio signal is sent to the FF circuit 73.
Is synchronized with the output clock and the counter 80 performs up-counting / down-counting to integrate the duty-ratio signal and determine whether the phase of the memory is advanced or delayed.
A control signal indicating whether or not the stuff bit is inserted by detecting 0 is created.

【0040】このような動作により、付加ビット挿入に
よる歯抜けを、カウンタ80でアップカウント/ダウン
カウントをおこなうことによる積分効果で相殺してお
り、メモリの位相の進み遅れを正確に判定することがで
き、ジッタを抑圧することが可能となる。
By such an operation, the missing tooth due to the addition of the additional bit is canceled by the integration effect of up-counting / down-counting by the counter 80, and the lead / lag of the phase of the memory can be accurately determined. It is possible to suppress the jitter.

【0041】以上の説明ではスタッフビットを1ビット
としているが、スタッフビットを複数のNビットとと
し、その中のnビットを挿入することも可能である。こ
の場合には、判定回路90を複数のNビットの中の何ビ
ットを挿入するかを制御するようにすれば良い。
In the above description, the stuff bit is one bit, but it is also possible to set the stuff bit to a plurality of N bits and insert n bits among them. In this case, the determination circuit 90 may control how many bits of a plurality of N bits are inserted.

【0042】[0042]

【発明の効果】本発明によれば、大量の付加ビットを挿
入するフレーム形式で、スタッフビットの挿入で周波数
の調整を行う場合、待ち合わせジッタやスタッフジッタ
の振幅を小さくし、繰り返し周期も短くすることができ
るので、受信側でのデータ出力に残るるジッタを抑え、
高い回線品質を維持することができる。
According to the present invention, when the frequency is adjusted by inserting stuff bits in a frame format in which a large number of additional bits are inserted, the amplitude of queuing jitter or stuff jitter is reduced and the repetition cycle is also shortened. Since it is possible to suppress the jitter remaining in the data output on the receiving side,
High line quality can be maintained.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】 本発明の信号の流れを説明する図FIG. 2 is a diagram for explaining a signal flow of the present invention.

【図3】 本発明の実施例を説明する図FIG. 3 is a diagram illustrating an embodiment of the present invention.

【図4】 本発明の実施例のスタッフ制御動作を説明す
る図
FIG. 4 is a diagram illustrating a staff control operation according to the embodiment of this invention.

【図5】 本発明の実施例の減算処理を説明する図FIG. 5 is a diagram illustrating subtraction processing according to the embodiment of this invention.

【図6】 本発明のその他の実施例を説明する図(1)FIG. 6 is a diagram (1) for explaining another embodiment of the present invention.

【図7】 本発明のその他の実施例を説明する図(2)FIG. 7 is a diagram (2) illustrating another embodiment of the present invention.

【図8】 フレームフォーマットの例を説明する図FIG. 8 is a diagram illustrating an example of a frame format.

【図9】 従来例を説明するブロック図FIG. 9 is a block diagram illustrating a conventional example.

【図10】 従来例のスタッフ制御動作を説明する図FIG. 10 is a diagram illustrating a staff control operation of a conventional example.

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

100、101〜104 ディジタルスタッフ制御回路 10、11〜1n メモリ 10A 多重回路 10B n:1セレクタ 10C デュアルポートラム 20 書込カウンタ 20A、23、73 FF回路 21、41、21B、41B ループカウンタ 21A、41A、80 カウンタ 22、42 エンコーダ 30 タイミング信号発生回路 40 読出カウンタ 50 減算回路 60、90 判定回路 70、90B S−Rラッチ回路 71、72 NOR回路 90A AND回路 100, 101-104 Digital stuff control circuit 10, 11-1n memory 10A Multiplexing circuit 10B n: 1 selector 10C Dual port RAM 20 Write counter 20A, 23, 73 FF circuit 21, 41, 21B, 41B Loop counter 21A, 41A, 80 counter 22, 42 encoder 30 timing signal generation circuit 40 read counter 50 subtraction circuit 60, 90 determination circuit 70, 90B SR latch circuit 71, 72 NOR circuit 90A AND circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル伝送において、多重回路(1
0A)で第1のクロック周波数(f1)の複数(N本)
のデータに付加ビットをつけて、第2のクロック周波数
(f2)の信号に多重する際のディジタルスタッフ制御
回路(100)であって、 入力データを一時書き込んでおくメモリ(10)と、 周波数が第1のクロック周波数(f1)の入力クロック
から前記メモリ(10)への書き込みパルスを作成する
書込カウンタ(20)と、 周波数が第2のクロック周波数(f2)の出力クロック
からフレームパルスとデータが必要なときだけクロック
を発生させる歯抜けクロックとを作成するタイミング信
号発生回路(30)と、 前記タイミング信号発生回路(30)の発生する歯抜け
クロックから、前記メモリ(10)に書き込まれたデー
タを読み出す読み出しパルスを作成する読出カウンタ
(40)と、 前記書込カウンタ(20)の出力と、前記読出カウンタ
(40)の出力の減算を行う減算回路(50)と、 前記減算回路(50)の出力からスタッフビット挿入の
要否を判定する判定回路(60)を備えたことを特徴と
するディジタルスタッフ制御回路。
1. In digital transmission, a multiplexing circuit (1
0A) and a plurality of first clock frequencies (f1) (N)
Is a digital stuff control circuit (100) for adding an additional bit to the data of (1) and multiplexing it with the signal of the second clock frequency (f2). A write counter (20) that creates a write pulse to the memory (10) from an input clock of a first clock frequency (f1), and a frame pulse and data from an output clock of a second clock frequency (f2). Is written in the memory (10) from a timing signal generating circuit (30) for generating a toothless clock that generates a clock only when necessary, and a toothless clock generated by the timing signal generating circuit (30). A read counter (40) for creating a read pulse for reading data, an output of the write counter (20), A subtraction circuit (50) for subtracting the output of the read / write counter (40) and a determination circuit (60) for determining whether or not stuff bit insertion is necessary from the output of the subtraction circuit (50). Digital stuff control circuit.
【請求項2】 入力データを一時書き込んでおくメモリ
(10)と、 周波数が第1のクロック周波数(f1)の入力クロック
から前記メモリ(10)への書き込みパルスを作成する
書込カウンタ(20)と、 周波数が第2のクロック周波数(f2)の出力クロック
からフレームパルスとデータが必要なときだけクロック
を発生させる歯抜けクロックとを作成するタイミング信
号発生回路(30)と、 前記タイミング信号発生回路(30)の発生する歯抜け
クロックから、前記メモリ(10)に書き込まれたデー
タを読み出す読み出しパルスを作成する読出カウンタ
(40)と、 前記書込カウンタ(20)と、前記読出カウンタ(4
0)の特定の位相のパルスを入力として、前記メモリ
(10)への書き込みと読み出しの進み遅れ状態をデュ
ーティ比として出力するS−Rラッチ回路(70)と、 前記S−Rラッチ回路(70)の出力をアップ/ダウン
の制御入力とし、進み遅れ状態をカウントするカウンタ
(80)と、 前記カウンタ(80)の出力からスタッフビット挿入の
要否を判定する判定回路(90)を備えたことを特徴と
するディジタルスタッフ制御回路。
2. A memory (10) for temporarily writing input data, and a write counter (20) for creating a write pulse to the memory (10) from an input clock having a frequency of a first clock frequency (f1). A timing signal generating circuit (30) for generating a frame pulse and a toothless clock for generating a clock only when data is required from an output clock having a frequency of a second clock frequency (f2), and the timing signal generating circuit A read counter (40) for creating a read pulse for reading the data written in the memory (10) from the missing clock generated by (30), the write counter (20), and the read counter (4
0) a pulse of a specific phase as an input, and an S-R latch circuit (70) for outputting a lead / lag state of writing and reading to and from the memory (10) as a duty ratio; and the S-R latch circuit (70). ) Is used as an up / down control input, and a counter (80) for counting the lead / lag state and a judgment circuit (90) for judging whether or not stuff bit insertion is necessary from the output of the counter (80) are provided. Digital stuff control circuit characterized by.
JP4209347A 1992-08-06 1992-08-06 Digital stuff control circuit Withdrawn JPH0661966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4209347A JPH0661966A (en) 1992-08-06 1992-08-06 Digital stuff control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4209347A JPH0661966A (en) 1992-08-06 1992-08-06 Digital stuff control circuit

Publications (1)

Publication Number Publication Date
JPH0661966A true JPH0661966A (en) 1994-03-04

Family

ID=16571452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4209347A Withdrawn JPH0661966A (en) 1992-08-06 1992-08-06 Digital stuff control circuit

Country Status (1)

Country Link
JP (1) JPH0661966A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6557109B1 (en) 1998-12-07 2003-04-29 Nec Corporation Synchronizing device and method that adjusts readout speed according to remaining quantity of data in memory while operating decoder on fixed frequency system clock
JP2008135464A (en) * 2006-11-27 2008-06-12 Matsushita Electric Works Ltd Processing apparatus for wiring board and processing method employing it
JP2013121002A (en) * 2011-12-06 2013-06-17 Fujitsu Ltd Data reloading circuit and data reloading method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6557109B1 (en) 1998-12-07 2003-04-29 Nec Corporation Synchronizing device and method that adjusts readout speed according to remaining quantity of data in memory while operating decoder on fixed frequency system clock
JP2008135464A (en) * 2006-11-27 2008-06-12 Matsushita Electric Works Ltd Processing apparatus for wiring board and processing method employing it
JP2013121002A (en) * 2011-12-06 2013-06-17 Fujitsu Ltd Data reloading circuit and data reloading method

Similar Documents

Publication Publication Date Title
US6229863B1 (en) Reducing waiting time jitter
JPH0626330B2 (en) Digital frame synchronization device and synchronization method
JPH04227142A (en) Circuit arrangement for regulating bit speeds of two digital signals
JPH10327158A (en) Clock reproducing device
US6845490B2 (en) Clock switching circuitry for jitter reduction
US5561691A (en) Apparatus and method for data communication between two asynchronous buses
JPH0661966A (en) Digital stuff control circuit
CA2021348C (en) Elastic store memory circuit
KR910000624B1 (en) Bit synchronous circuits and methods
US8983012B2 (en) Receive timing manager
JP3090591B2 (en) Clock recovery device
JPH0575563A (en) Destuff circuit
JP3581584B2 (en) Delay amount correction circuit, ATM exchange, and delay amount correction method
JPH08340325A (en) High speed data reception circuit
JP2000196462A (en) Parallel/serial converting circuit and synchronous multiple transmission device having the same
JP3875031B2 (en) Asynchronous signal transmission device
JP2783495B2 (en) Clock transfer circuit
JP2706199B2 (en) SDH interface circuit
JP2001308839A (en) Circuit and method for clock synchronization
US6907095B1 (en) Clock ride-over method and circuit
JP2748875B2 (en) Clock extraction circuit
JPH06152579A (en) Jitter control circuit
EP0304450A1 (en) Method and apparatus for obtaining high frequency resolution of a low frequency signal.
JP3102164B2 (en) Destuff circuit
JPH0548561A (en) Destuff circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991102