JPH0723015A - Destuff circuit - Google Patents

Destuff circuit

Info

Publication number
JPH0723015A
JPH0723015A JP5159118A JP15911893A JPH0723015A JP H0723015 A JPH0723015 A JP H0723015A JP 5159118 A JP5159118 A JP 5159118A JP 15911893 A JP15911893 A JP 15911893A JP H0723015 A JPH0723015 A JP H0723015A
Authority
JP
Japan
Prior art keywords
read
received data
timing
circuit
buffer memory
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.)
Granted
Application number
JP5159118A
Other languages
Japanese (ja)
Other versions
JPH0783342B2 (en
Inventor
Tokuo Yoshida
徳夫 吉田
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5159118A priority Critical patent/JPH0783342B2/en
Publication of JPH0723015A publication Critical patent/JPH0723015A/en
Publication of JPH0783342B2 publication Critical patent/JPH0783342B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To suppress generation of the jitter by controlling a read-out timing of a buffer in accordance with a result of operation of an average value of every unit period of the number of stuffs, and varying length of the unit period in accordance with a stuff ratio of received data. CONSTITUTION:This circuit is provided with a buffer memory 37 for storing temporarily received data, a write address generating circuit 34 for generating a write timing into the memory 37 in accordance with destuff information inserted into the received data, and a read-out control part 50. A frequency analyzer 46 of the read-out control part 50 operates an average value of every unit period of the number of stuffs inserted into the received data, and a phase comparator 38, a low-pass filter 39, a voltage control oscillator 35 and a read- out address generating circuit 36 control a read-out timing of the data of the memory 37 in accordance with a result of this operation, and a gate pulse control circuit varies lenght of the unit period in accordance with a stuff ratio of the received data. In such a way, a variation of an oscillation frequency of the voltage controlled oscillator is mitigated, and the jitter caused by a sudden oscillation frequency variation is reduced.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディジタル通信に利用す
る。特に、ディジタル信号の周波数同期または速度変換
技術に関する。
FIELD OF THE INVENTION The present invention is used in digital communications. In particular, it relates to frequency synchronization or speed conversion technology for digital signals.

【0002】[0002]

【従来の技術】ディジタル伝送系において、異なる周波
数のディジタル信号を同期させ伝送を行う方式としてス
タッフ多重方式がある。例えば、SONET(Synchrono
us Optical Network) においては、バイト単位のスタッ
フ多重により同期伝送を実現している。
2. Description of the Related Art In a digital transmission system, there is a stuff multiplex system as a system for synchronizing and transmitting digital signals of different frequencies. For example, SONET (Synchrono
us Optical Network) realizes synchronous transmission by stuff multiplexing in byte units.

【0003】従来例装置を図4を参照して説明する。図
4は従来例装置のブロック構成図である。受信データ線
31および受信クロック線32には周波数および位相同
期した信号が伝送される。デスタッフ制御線33には送
信部でスタッフが挿入されたか否かを示す信号が伝送さ
れる。この信号は、送信部でスタッフ時に受信データに
挿入されたスタッフ情報を受信側で受信すると“1”、
スタッフがない場合は“0”となる。
A conventional device will be described with reference to FIG. FIG. 4 is a block diagram of a conventional device. A frequency and phase-synchronized signal is transmitted to the reception data line 31 and the reception clock line 32. The destuff control line 33 is transmitted with a signal indicating whether or not the stuff has been inserted by the transmitting unit. This signal is "1" when the receiving side receives the stuff information inserted in the received data at the time of stuffing at the transmitting section,
If there is no staff, it will be "0".

【0004】スタッフ方式としては、送信データにダミ
ーデータを挿入してデータ信号を遅らせるポジティブス
タッフ(以下、Pスタッフという)と送信データを早め
るネガティブスタッフ(以下、Nスタッフという)があ
るが、ここではバイト単位のPスタッフ制御を例にとり
説明する。Pスタッフ制御により生成されたディジタル
信号からスタッフパルスを除去するPデスタッフ処理
は、送信側でのPスタッフ処理で挿入されたダミーデー
タを除く受信データをバッファメモリ37に書込み、受
信データに含まれる正確なクロック周波数でバッファメ
モリ37を読出すことにより達成される。図4では、デ
スタッフ制御信号が“0”の場合に、受信データを書込
アドレス生成回路34にしたがい順次バッファメモリ3
7に書込み、一方デスタッフ制御信号が“1”の場合に
は、1回のPスタッフで挿入された1バイトのダミーデ
ータを削除するために受信クロックを8クロック連続的
に歯抜けさせ、ダミーデータのバッファメモリ37への
書込みを禁止する。電圧制御発振器35は受信データの
正確な周波数のクロック信号を発生するための発振器で
ある。読出アドレス生成回路36は電圧制御発振器35
の出力クロック信号に基づき、バッファメモリ37の読
出タイミングを生成する。位相比較器38はPスタッフ
処理時の8クロック連続歯抜け成分が含まれる書込アド
レス生成回路34の出力と読出アドレス生成回路36の
出力の位相比較を行い、ローパスフィルタ39で高域周
波数成分をカットしたのち電圧制御発振器35の発振周
波数を制御し、電圧制御発振器35の発振周波数を受信
データの正確なデータ周波数にロックさせる。この制御
により、バッファメモリ37への書込周波数と読出周波
数が等しくなるのでバイト単位のデスタッフ処理が実現
される。また、デスタッフが連続発生し、デスタッフ制
御信号がN連続で“1”となった場合でもN×8個のク
ロックを連続的に歯抜けすることによりデスタッフ処理
を行うことができる。
As the stuffing method, there are positive stuff (hereinafter referred to as P stuff) that delays a data signal by inserting dummy data into transmission data and negative stuff (hereinafter referred to as N stuff) that speeds up transmission data. The P staff control in byte units will be described as an example. In the P destuffing process for removing the stuff pulse from the digital signal generated by the P stuff control, the received data excluding the dummy data inserted by the P stuff process on the transmitting side is written in the buffer memory 37 and included in the received data. This is achieved by reading the buffer memory 37 at the correct clock frequency. In FIG. 4, when the destuff control signal is "0", the received data is sequentially transferred to the write address generation circuit 34 according to the sequential buffer memory 3
When the destuff control signal is “1”, the receive clock is continuously skipped by 8 clocks in order to delete the 1-byte dummy data inserted by one P stuff, and the dummy is written. Writing of data to the buffer memory 37 is prohibited. The voltage controlled oscillator 35 is an oscillator for generating a clock signal having an accurate frequency of received data. The read address generation circuit 36 uses the voltage controlled oscillator 35.
The read timing of the buffer memory 37 is generated based on the output clock signal of. The phase comparator 38 performs a phase comparison between the output of the write address generation circuit 34 and the output of the read address generation circuit 36 that include the 8-clock continuous missing component during P stuffing, and the low pass filter 39 detects the high frequency components. After cutting, the oscillation frequency of the voltage controlled oscillator 35 is controlled, and the oscillation frequency of the voltage controlled oscillator 35 is locked to the accurate data frequency of the received data. By this control, the write frequency to the buffer memory 37 and the read frequency become equal, so that the destuffing process in byte units is realized. Further, even if destuffing occurs continuously and the destuffing control signal becomes "1" for N consecutive times, the destuffing process can be performed by continuously missing N × 8 clocks.

【0005】[0005]

【発明が解決しようとする課題】図4に示したバイトデ
スタッフ処理回路においては、スタッフによって挿入さ
れたダミーデータを削除するために、受信クロック信号
に連続的歯抜けを発生させ、読出クロックの周波数制御
はこの連続歯抜けクロック信号と電圧制御発振器の出力
の位相比較に基づいて行われる。したがって、連続歯抜
け時には電圧制御発振器の出力クロックの周波数が大き
く変動するため、出力データの時間的変動量、すなわち
ジッタが急増してしまう。
In the byte destuffing processing circuit shown in FIG. 4, in order to delete the dummy data inserted by the stuffing, a continuous missing bit is generated in the reception clock signal and the read clock Frequency control is performed based on the phase comparison between the continuous missing clock signal and the output of the voltage controlled oscillator. Therefore, the frequency of the output clock of the voltage controlled oscillator fluctuates greatly during continuous tooth loss, and the temporal fluctuation amount of the output data, that is, the jitter, increases sharply.

【0006】従来技術として特開昭63−207229
号公報に開示された技術があるが、これには、スタッフ
数の単位周期毎の平均値を演算する技術に言及されてい
るもののこの単位周期を変化させて移動平均をとるとの
考え方はない。
As a prior art, Japanese Patent Laid-Open No. 63-207229
Although there is a technique disclosed in Japanese Patent Publication, there is no idea of changing the unit period to take a moving average although it refers to a technique for calculating the average value of the number of staffs for each unit period. .

【0007】また特開平1−188127号公報に開示
された技術はあるが、これは実質的にスタッフ数の単位
周期毎の平均値をとることになっているものの、エラス
ティクメモリを2個使用するのでハードウエア構成が大
きくなる。
There is a technique disclosed in Japanese Unexamined Patent Publication No. 1-188127, which uses an average of the number of stuffs per unit cycle, but uses two elastic memories. Therefore, the hardware configuration becomes large.

【0008】本発明は、このような背景に行われたもの
であり、ジッタ発生を抑圧し、連続的に発生するデスタ
ッフ処理を実現できるバイトデスタッフ受信回路を提供
することを目的とする。
The present invention has been made against such a background, and an object of the present invention is to provide a byte destuff receiving circuit capable of suppressing the occurrence of jitter and realizing a continuously generated destuff process.

【0009】[0009]

【課題を解決するための手段】本発明は、受信データを
一時格納するバッファメモリと、受信データに挿入され
るデスタッフ情報にしたがって前記バッファメモリへの
書込タイミングを生成する書込アドレス生成回路と、前
記書込タイミングを入力とし前記バッファメモリのデー
タの読出タイミングを生成する読出アドレス生成手段と
を備えたデスタッフ回路である。
The present invention is directed to a buffer memory for temporarily storing received data, and a write address generation circuit for generating a write timing to the buffer memory according to destuff information inserted in the received data. And a read address generating means for generating the read timing of the data in the buffer memory with the write timing as an input.

【0010】ここで、本発明の特徴とするところは、前
記読出アドレス生成手段は、前記デスタッフ情報を入力
とし前記受信データに挿入されたスタッフ数の単位周期
毎の平均値を演算する手段と、この手段の演算結果にし
たがって前記読出タイミングを制御する手段と、前記単
位周期の長さを前記受信データのスタッフ率に応じて変
化させる手段とを備えたところにある。
Here, a feature of the present invention is that the read address generating means receives the destuffing information as an input and calculates an average value of the number of stuffs inserted in the received data per unit cycle. The means for controlling the read timing according to the calculation result of this means, and the means for changing the length of the unit cycle according to the stuff rate of the received data are provided.

【0011】前記変化させる手段は、前記書込タイミン
グおよび前記読出タイミングの位相差を検出する手段
と、この検出する手段の検出結果にしたがって前記単位
周期を制御する手段とを含むことが望ましい。
It is preferable that the changing means includes a means for detecting a phase difference between the write timing and the read timing, and a means for controlling the unit cycle according to a detection result of the detecting means.

【0012】前記単位周期を制御する手段は、前記単位
周期をs(秒)オーダからms(ミリ秒)オーダの範囲
で変更する手段を含むことが望ましい。
The means for controlling the unit cycle preferably includes means for changing the unit cycle in the range of s (second) order to ms (millisecond) order.

【0013】[0013]

【作用】本発明はスタッフ数の単位周期毎の平均値を移
動平均として演算し、スタッフ数の急激な変化に対して
適応的に動作させるものである。
According to the present invention, the average value of the number of staffs per unit cycle is calculated as a moving average, and the number of staffs is adaptively operated in response to a sudden change.

【0014】送信側で挿入されたスタッフパルスは、受
信側に到達するとスタッフパルス到来タイミングだけバ
ッファメモリへの書込が禁止されることで除去される。
また、到来したデータからスタッフバルス数が計数さ
れ、単位周期毎の平均値が演算される。
The stuff pulse inserted on the transmitting side is removed when it reaches the receiving side by prohibiting writing to the buffer memory only at the stuff pulse arrival timing.
Further, the number of stuff pulses is counted from the incoming data, and the average value for each unit cycle is calculated.

【0015】本発明では、この平均値にしたがって送信
側で挿入されたスタッフパルス位置に係わらず、読出タ
イミングが生成される。すなわち、送信側で連続的にス
タッフパルスが挿入されていても、単位周期間に平均的
に分散されて挿入されたものとみなした読出タイミング
が生成され、バッファメモリから読出される。
In the present invention, the read timing is generated according to the average value regardless of the stuff pulse position inserted on the transmitting side. That is, even if the stuff pulse is continuously inserted on the transmitting side, the read timings that are considered to be evenly distributed and inserted during the unit period are generated and read from the buffer memory.

【0016】これにより、読出タイミング生成手段を構
成する電圧制御発振器の発振周波数の変化が緩和され、
急激な発振周波数変化に伴うジッタが低減される。
As a result, the change in the oscillation frequency of the voltage controlled oscillator constituting the read timing generation means is alleviated,
Jitter associated with a sudden change in oscillation frequency is reduced.

【0017】また、書込タイミングと読出タイミングと
を比較して、この差が大きいときは単位周期を長くし、
この差が小さいときは単位周期を短くする。すなわち、
この差が大きいときは、データ間隔が長いためより長時
間の平均値をとることができる。しかし、この差が小さ
いときはデータ間隔が短いため、データスリップ(書込
アドレス周期が読出アドレス周期より1周期早くなり、
データの欠落を生ずること)が発生する可能性があるの
で短い平均値を求めるように制御する。
Further, the write timing and the read timing are compared, and when the difference is large, the unit cycle is lengthened,
When this difference is small, the unit cycle is shortened. That is,
When this difference is large, the data interval is long, and the average value can be taken for a longer time. However, when this difference is small, the data interval is short, so that data slip (the write address cycle is one cycle earlier than the read address cycle,
Data loss may occur), so control is performed so as to obtain a short average value.

【0018】[0018]

【実施例】本発明実施例の構成を図1および図2を参照
して説明する。図1は本発明実施例装置のブロック構成
図である。図2は周波数アナライザのブロック構成図で
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration of an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram of an apparatus according to an embodiment of the present invention. FIG. 2 is a block diagram of the frequency analyzer.

【0019】本発明は、受信データを一時格納するバッ
ファメモリ37と、受信データに挿入されるデスタッフ
情報にしたがってバッファメモリ37への書込タイミン
グを生成する書込アドレス生成回路34と、前記書込タ
イミングを入力としバッファメモリ37のデータの読出
タイミングを生成する読出アドレス生成手段として読出
制御部50とを備えたデスタッフ回路である。
The present invention comprises a buffer memory 37 for temporarily storing received data, a write address generating circuit 34 for generating a write timing to the buffer memory 37 according to destuff information inserted in the received data, and the above-mentioned writing. The destuff circuit is provided with a read control unit 50 as a read address generating means for generating a read timing of the data of the buffer memory 37 with the input timing as an input.

【0020】ここで、本発明の特徴とするところは、読
出制御部50の周波数アナライザ46は図2に示すよう
に、前記デスタッフ情報を入力とし前記受信データに挿
入されたスタッフ数の単位周期毎の平均値を演算する手
段としてスタッフ計数器23と、スタッフ計数器23の
演算結果にしたがって前記読出タイミングを制御する手
段として位相比較器38、ローパスフィルタ39、電圧
制御発振器35、読出アドレス生成回路36と、前記単
位周期の長さを前記受信データのスタッフ率に応じて変
化させる手段としてゲートパルス制御回路22とを備え
たところにある。
Here, the feature of the present invention is that the frequency analyzer 46 of the read control unit 50 inputs the destuffing information as shown in FIG. 2 and the unit cycle of the number of stuffs inserted in the received data. A stuff counter 23 as means for calculating an average value for each, and a phase comparator 38, a low-pass filter 39, a voltage controlled oscillator 35, a read address generation circuit as means for controlling the read timing according to the calculation result of the stuff counter 23. 36 and a gate pulse control circuit 22 as means for changing the length of the unit cycle according to the stuffing rate of the received data.

【0021】ゲートパルス制御回路22は、前記書込タ
イミングおよび前記読出タイミングの位相差を検出する
手段であるアドレス位相比較回路21の検出結果にした
がって前記単位周期を制御する手段を備えている。ゲー
トパルス制御回路22は、前記単位周期をs(秒)オー
ダからms(ミリ秒)オーダの範囲で変更する手段を含
む。
The gate pulse control circuit 22 comprises means for controlling the unit cycle according to the detection result of the address phase comparison circuit 21, which is means for detecting the phase difference between the write timing and the read timing. The gate pulse control circuit 22 includes means for changing the unit period in the range of s (second) order to ms (millisecond) order.

【0022】次に、本発明実施例の動作を図3を参照し
て説明する。図3は受信データおよび出力データを示す
図である。図3は説明をわかりやすくするために、横軸
(時間軸)を誇張して表示してある。受信データ線31
および受信クロック線32を伝送される受信データと受
信クロックとは周波数および位相同期した信号である。
デスタッフ制御線33を伝送されるデスタッフ制御信号
は送信部でスタッフ時に受信データに挿入されたスタッ
フ情報を受信側で受信すると“1”、スタッフがない場
合は“0”となる。ここではバイト単位のPスタッフ制
御を例にとり説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIG. FIG. 3 is a diagram showing received data and output data. In FIG. 3, the horizontal axis (time axis) is exaggerated for easy understanding of the description. Received data line 31
The reception data transmitted through the reception clock line 32 and the reception clock are signals that are frequency and phase synchronized.
The destuffing control signal transmitted through the destuffing control line 33 is "1" when the transmitting side receives the stuffing information inserted in the received data at the time of stuffing at the receiving side, and is "0" when there is no stuffing. Here, P-stuff control in byte units will be described as an example.

【0023】図1では、デスタッフ制御信号が“0”の
場合、受信データを書込アドレス生成回路34にしたが
い順次バッファメモリ37に書込み、一方デスタッフ制
御信号が“1”の場合には、1回のPスタッフで挿入さ
れた1バイトのダミーデータを削除するために受信クロ
ックを8クロック連続的に歯抜けさせ、ダミーデータの
バッファメモリ37への書込みを禁止することによりバ
ッファメモリ37へのスタッフ発生で受信データに挿入
されたダミーデータを除くデータ信号の書込みを行う。
図3(a)に示すように、受信データとしてパルスA、
B、Cに続いてスタッフパルスS1 、S2 、S3 がT時
間内に到着する場合を例にとり説明する。書込アドレス
生成回路34は、スタッフパルスS1 、S2 、S3 が到
着している時間はバッファメモリ37の書込みを禁止す
る書込クロックを生成してスタッフパルスS1 、S2
3 を除去する。
In FIG. 1, when the destuff control signal is "0", the received data is sequentially written in the buffer memory 37 according to the write address generation circuit 34, while when the destuff control signal is "1", In order to delete the 1-byte dummy data inserted by one P-stuff, the reception clock is skipped continuously for 8 clocks, and writing of the dummy data to the buffer memory 37 is prohibited, so that the buffer memory 37 The data signal is written except for the dummy data inserted in the received data when the stuff is generated.
As shown in FIG. 3A, as the received data, the pulse A,
The case where the stuff pulses S 1 , S 2 , and S 3 arrive within the time T after B and C will be described as an example. The write address generation circuit 34 generates a write clock that prohibits the writing of the buffer memory 37 during the arrival of the stuff pulses S 1 , S 2 , and S 3 to generate the stuff pulses S 1 , S 2 ,
Remove S 3 .

【0024】一方、バッファメモリ37からの読出クロ
ック生成は、連続的に歯抜けがあるバッファメモリ37
の書込みクロックとは別に、周波数アナライザ46で生
成される歯抜けが平滑化された出力に基づいて制御され
た電圧制御発振器35の出力を用いる。図3(b)に示
すように、T時間内のスタッフパルスS1 、S2 、S3
は3個である。ここでは、T時間毎に読出を行うとする
と、読出アドレス生成回路36は、この3個がT時間内
に平均的に分散して到着したと仮定し、これを除去した
場合の読出クロックを生成する。すなわち、図2に示す
周波数アナライザは電圧制御発振器35の出力クロック
を平滑にするため、平滑的な歯抜けを生成し、受信デー
タを送信する際に用いた送信クロックを忠実に再生す
る。
On the other hand, when the read clock is generated from the buffer memory 37, the buffer memory 37 is continuously missing.
In addition to the write clock of, the output of the voltage controlled oscillator 35 controlled based on the output generated by the frequency analyzer 46 in which the missing tooth is smoothed is used. As shown in FIG. 3B, the stuff pulses S 1 , S 2 , S 3 within T time
Is 3. Here, assuming that reading is performed every T time, the read address generation circuit 36 assumes that these three arrive in a distributed manner on average within T time, and generates a read clock when these are removed. To do. That is, since the frequency analyzer shown in FIG. 2 smoothes the output clock of the voltage controlled oscillator 35, smooth tooth gaps are generated and the transmission clock used when transmitting the reception data is faithfully reproduced.

【0025】図2において、レジスタ241 〜24n-1
はゲートパルス制御信号の周期でスタッフ計数器23の
計数結果をシフトするシフトレジスタを構成している。
スタッフ計数器23の出力をXn 、レジスタ24i の出
力をXn-i とすれば、平均回路25ではまず Yn =(Xn +Xn-1 +…+Xn-N ) /N を計算し周期T当たりのスタッフ量を求め、このスタッ
フ量を周期T内に分散させる。例えば、T/Yn 周期に
スタッフ量を分散する。この出力が平滑デスタッフ制御
信号となる。
In FIG. 2, registers 24 1 to 24 n-1.
Constitutes a shift register for shifting the counting result of the stuff counter 23 at the cycle of the gate pulse control signal.
Assuming that the output of the stuff counter 23 is X n and the output of the register 24 i is X ni , the averaging circuit 25 first calculates Y n = (X n + X n-1 + ... + X nN ) / N to calculate per cycle T. Is calculated, and this staff amount is distributed within the cycle T. For example, the stuff amount is dispersed in the T / Y n cycle. This output becomes the smoothing destuff control signal.

【0026】以上のような構成で時間平均結果に基づく
平滑デスタッフ制御信号を得て、位相比較器38を制御
することにより、電圧制御発振器35の出力信号はなめ
らかなクロック信号となり、このクロック信号に基づい
て読出クロックが読出アドレス生成回路36で生成され
るので、結果としてバッファメモリ37から出力される
出力データのジッタは抑圧可能となる。
With the above configuration, the smoothed destuffing control signal based on the time averaging result is obtained and the phase comparator 38 is controlled, whereby the output signal of the voltage controlled oscillator 35 becomes a smooth clock signal. Since the read clock is generated by the read address generating circuit 36 based on the above, the jitter of the output data output from the buffer memory 37 can be suppressed as a result.

【0027】スタッフ計数器23はゲートパルス制御回
路22のゲートパルス周期(T)でデスタッフ制御信号
の計数を行う。このゲートパルス制御回路22のゲート
パルス周期は、標準的な初期値から順次平均値Yn を入
力して適応的に変更される。また、ゲートパルス周期
(T)は、アドレス位相比較回路21の比較結果によっ
ても適応的に変更される。一般に、Tが充分長ければ、
出力データ線40の出力ジッタは大幅に抑圧されること
が期待されるが学習に要する時間がかかってしまうため
収束時間が遅くなるという欠点を持っている。収束時間
が遅いということは、バッファメモリ37への書込周波
数と読出周波数が大きく異なることを意味するので、バ
ッファメモリ37でデータスリップ(例えば、書込アド
レス周期が読出アドレス周期より1周早くなり、データ
の欠落が生じること)を発生させないために膨大なメモ
リ容量が必要となる。一方、Tが小さい出力ジッタ特性
は多少劣化することが予想されるが、学習に要する収束
時間は短時間ですむことになる。
The stuff counter 23 counts the destuff control signal at the gate pulse period (T) of the gate pulse control circuit 22. The gate pulse period of the gate pulse control circuit 22 is adaptively changed by sequentially inputting the average value Y n from a standard initial value. The gate pulse period (T) is also adaptively changed according to the comparison result of the address phase comparison circuit 21. In general, if T is long enough,
It is expected that the output jitter of the output data line 40 will be significantly suppressed, but it has a drawback that the convergence time is delayed because it takes time for learning. The fact that the convergence time is slow means that the write frequency to the buffer memory 37 and the read frequency are significantly different, and therefore data slip (for example, the write address cycle becomes one cycle earlier than the read address cycle in the buffer memory 37. , A loss of data occurs), enormous memory capacity is required. On the other hand, although it is expected that the output jitter characteristics with a small T will be somewhat deteriorated, the convergence time required for learning will be short.

【0028】よって、ゲートパルス制御回路22では、
アドレス位相比較回路21の出力結果に基づき、書込タ
イミングと読出タイミングとの位相差がバッファメモリ
37のバッファ長の1/2の近傍にあるときは、ゲート
パルス周期Tをs(秒)オーダに長くし、書込アドレス
と読出アドレスとの位相差がほとんどなくスリップが発
生しそうな場合は、ゲートパルス周期Tをms(ミリ
秒)オーダに適応的に変更する。これにより、バッファ
メモリ37のバッファ長が短くても、メモリスリップの
発生を防止し、かつ、出力ジッタの抑圧可能なデスタッ
フ回路が構成できる。
Therefore, in the gate pulse control circuit 22,
Based on the output result of the address phase comparison circuit 21, when the phase difference between the write timing and the read timing is near ½ of the buffer length of the buffer memory 37, the gate pulse period T is on the order of s (seconds). When the length is made longer and there is almost no phase difference between the write address and the read address and slip is likely to occur, the gate pulse period T is adaptively changed to the ms (millisecond) order. As a result, even if the buffer length of the buffer memory 37 is short, it is possible to configure a destuff circuit that can prevent the occurrence of memory slip and can suppress output jitter.

【0029】以上のように、位相比較器38で用いる位
相比較用クロックを周波数アナライザ46の出力である
緩和された歯抜け制御信号を用いることにより、バイト
単位のデスタッフ処理によるジッタ発生量を抑圧するこ
とが可能となり、さらに、連続的デスタッフ処理要求は
分散歯抜け密度を制御することにより連続的デスタッフ
処理にも対応可能となる。また、レジスタ241 〜24
n-1 を用いてデスタッフ周期の平滑化を行うことによ
り、ワンダ(Wander)などによって発生するスタッフ周期
の揺らぎによって発生するジッタ量の抑圧が可能とな
る。
As described above, the phase comparison clock used in the phase comparator 38 uses the relaxed tooth missing control signal which is the output of the frequency analyzer 46 to suppress the jitter generation amount due to the destuffing process in byte units. Further, the continuous destuffing process request can be dealt with by controlling the dispersed tooth missing density. In addition, the registers 24 1 to 24
By smoothing the destuffing period by using n-1 , it is possible to suppress the amount of jitter generated by the fluctuation of the stuffing period caused by wander or the like.

【0030】[0030]

【発明の効果】以上説明したように、本発明によれば、
簡単な回路構成でバイト単位のデスタッフ処理によって
発生するジッタ量を抑圧することが可能となるデスタッ
フ回路を提供できる。
As described above, according to the present invention,
It is possible to provide a destuffing circuit that can suppress the amount of jitter generated by destuffing processing in byte units with a simple circuit configuration.

【0031】また、時間当たりのスタッフ回数を計数し
平均化するゲート時間をバッファメモリの書込アドレス
と読出アドレスとの位相差に基づいて適応的に制御する
ことにより、システム立ち上げ時や、送信側のクロック
周波数が急変し結果として受信データ信号の周波数が急
変した場合でも速やかな周波数引込みができるので、デ
スタッフに用いるバッファメモリ量を小さく設計するこ
とができる。
Further, the gate time for counting and averaging the number of times of stuffing per time is adaptively controlled based on the phase difference between the write address and the read address of the buffer memory, so that the system can be started up or transmitted. Even if the clock frequency on the side suddenly changes and the frequency of the received data signal also suddenly changes as a result, it is possible to quickly pull in the frequency, so that the buffer memory amount used for destuffing can be designed to be small.

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

【図1】本発明実施例装置のブロック構成図。FIG. 1 is a block configuration diagram of an apparatus according to an embodiment of the present invention.

【図2】周波数アナライザのブロック構成図。FIG. 2 is a block diagram of a frequency analyzer.

【図3】受信データおよび出力データを示す図。FIG. 3 is a diagram showing received data and output data.

【図4】従来例装置のブロック構成図。FIG. 4 is a block diagram of a conventional device.

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

21 アドレス位相比較回路 22 ゲートパルス制御回路 23 スタッフ計数器 241 〜24n-1 レジスタ 25 平均回路 31 受信データ線 32 受信クロック線 33 デスタッフ制御線 34 書込アドレス生成回路 35 電圧制御発振器 36 読出アドレス生成回路 37 バッファメモリ 38 位相比較器 39 ローパスフィルタ 40 出力データ線 46 周波数アナライザ 50 読出制御部21 address phase comparison circuit 22 gate pulse control circuit 23 stuff counter 24 1 to 24 n-1 register 25 averaging circuit 31 received data line 32 received clock line 33 destuffed control line 34 write address generation circuit 35 voltage controlled oscillator 36 read Address generation circuit 37 Buffer memory 38 Phase comparator 39 Low-pass filter 40 Output data line 46 Frequency analyzer 50 Read controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 受信データを一時格納するバッファメモ
リと、受信データに挿入されるデスタッフ情報にしたが
って前記バッファメモリへの書込タイミングを生成する
書込アドレス生成回路と、前記書込タイミングを入力と
し前記バッファメモリのデータの読出タイミングを生成
する読出アドレス生成手段とを備えたデスタッフ回路に
おいて、 前記読出アドレス生成手段は、前記デスタッフ情報を入
力とし前記受信データに挿入されたスタッフ数の単位周
期毎の平均値を演算する手段と、 この手段の演算結果にしたがって前記読出タイミングを
制御する手段と、 前記単位周期の長さを前記受信データのスタッフ率に応
じて変化させる手段とを備えたことを特徴とするデスタ
ッフ回路。
1. A buffer memory for temporarily storing received data, a write address generation circuit for generating a write timing to the buffer memory according to destuff information inserted in the received data, and the write timing as inputs. In the destuffing circuit including a read address generating means for generating a read timing of the data in the buffer memory, the read address generating means receives the destuff information as a unit of the number of stuffs inserted in the received data. It comprises means for calculating an average value for each cycle, means for controlling the read timing according to the calculation result of this means, and means for changing the length of the unit cycle according to the stuff rate of the received data. Destuff circuit characterized by that.
【請求項2】 前記変化させる手段は、前記書込タイミ
ングおよび前記読出タイミングの位相差を検出する手段
(21)と、この検出する手段の検出結果にしたがって
前記単位周期を制御する手段とを含む請求項1記載のデ
スタッフ回路。
2. The changing means includes means (21) for detecting a phase difference between the write timing and the read timing, and means for controlling the unit cycle according to the detection result of the detecting means. The destuff circuit according to claim 1.
【請求項3】 前記単位周期を制御する手段は、前記単
位周期をs(秒)オーダからms(ミリ秒)オーダの範
囲で変更する手段を含む請求項2記載のデスタッフ回
路。
3. The destuff circuit according to claim 2, wherein the means for controlling the unit period includes means for changing the unit period in the range of s (second) order to ms (millisecond) order.
JP5159118A 1993-06-29 1993-06-29 Destuff circuit Expired - Lifetime JPH0783342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5159118A JPH0783342B2 (en) 1993-06-29 1993-06-29 Destuff circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5159118A JPH0783342B2 (en) 1993-06-29 1993-06-29 Destuff circuit

Publications (2)

Publication Number Publication Date
JPH0723015A true JPH0723015A (en) 1995-01-24
JPH0783342B2 JPH0783342B2 (en) 1995-09-06

Family

ID=15686637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5159118A Expired - Lifetime JPH0783342B2 (en) 1993-06-29 1993-06-29 Destuff circuit

Country Status (1)

Country Link
JP (1) JPH0783342B2 (en)

Also Published As

Publication number Publication date
JPH0783342B2 (en) 1995-09-06

Similar Documents

Publication Publication Date Title
US6415006B2 (en) Reducing waiting time jitter
US4718074A (en) Dejitterizer method and apparatus
KR100715736B1 (en) Adaptive clock recovery
JPH0771064B2 (en) Data synchronization method and synchronization circuit
JPH07250053A (en) Periodic synchronizing pulse generating device/method
JPH02272925A (en) Method and circuit for synchronizing frame phase by pointer conversion
JP3067832B2 (en) Signal phase device
JPH0723015A (en) Destuff circuit
JP4263712B2 (en) Traffic shaping apparatus and traffic shaping method
US5548624A (en) Destuff circuit for asynchronous digital signals
JP2865115B2 (en) Destuff circuit
JPS61127243A (en) Bit phase synchronizing circuit
JP2870273B2 (en) Destuff circuit
JP3044853B2 (en) Destuff circuit
JPS619059A (en) Regenerative repeater
JP3102164B2 (en) Destuff circuit
KR0126854B1 (en) Ait pointer jitter reduction system
JPH1070525A (en) Timing reproducing circuit
JPH0744510B2 (en) Destuff circuit
JP3030783B2 (en) Receive data synchronization circuit
JPH0458631A (en) Frame phase matching system
JPH04276935A (en) Asynchronous data synchronizing transmitter
JPH0548562A (en) Digital data transmitter and transmission reception system using the same
JPH05135510A (en) Information processing system
JPH09247118A (en) Jitter restricting circuit