JP2007336043A - Optical transmission apparatus - Google Patents

Optical transmission apparatus Download PDF

Info

Publication number
JP2007336043A
JP2007336043A JP2006163272A JP2006163272A JP2007336043A JP 2007336043 A JP2007336043 A JP 2007336043A JP 2006163272 A JP2006163272 A JP 2006163272A JP 2006163272 A JP2006163272 A JP 2006163272A JP 2007336043 A JP2007336043 A JP 2007336043A
Authority
JP
Japan
Prior art keywords
pulse
data
main signal
fifo memory
line
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
JP2006163272A
Other languages
Japanese (ja)
Other versions
JP4699292B2 (en
Inventor
Wataru Kawasaki
渡 川崎
Atsushi Ito
淳 伊藤
Hiroyuki Kitajima
広之 北島
Masanori Hiramoto
正徳 平本
Katsukichi Miura
克吉 三浦
Yasuyuki Endo
靖行 遠藤
Kazuto Takei
和人 武井
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
NTT Electronics Corp
Original Assignee
Fujitsu Ltd
NTT Electronics 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 Fujitsu Ltd, NTT Electronics Corp filed Critical Fujitsu Ltd
Priority to JP2006163272A priority Critical patent/JP4699292B2/en
Publication of JP2007336043A publication Critical patent/JP2007336043A/en
Application granted granted Critical
Publication of JP4699292B2 publication Critical patent/JP4699292B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent generation of an FIFO error by executing control (centering control) so that the number of unread data in an FIFO memory is M/2 when a read pulse frequency becomes stable after completion of line switching. <P>SOLUTION: A pulse delete deletes a clock pulse of a position corresponding to stuff data from a main signal clock pulse as a writing pulse of the FIFO memory. A frequency control unit controls the frequency of the reading pulse so that the pulse to be outputted from the pulse deleting section may match the frequency of the reading pulse. A pulse number control unit controls the number of pulses to be outputted from the pulse delete so that the residual quantity of data of the FIFO memory may become a half of the FIFO memory size M, when the reading pulse frequency becomes stable after resetting the FIFO memory. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、光伝送装置に係わり、特に回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置に関する。   The present invention relates to an optical transmission apparatus, and more particularly to an optical transmission apparatus having a line switching function when a line abnormality occurs and a destuffing function for deleting stuff data included in main signal data.

通信量の増大により大容量伝送可能な光通信を利用した同期光通信網SDH(Synchronous Digital Hierarchy)および、SONET(Synchronous Optical Network)ではそれぞれSTM-N, STS-N(N:整数)のフレームフォーマットにしたがってユーザデータを多重伝送する。図12は51.84MbpsのSTS-1のフレーム構成図であり、全体として9×90 (bytes/125μs)を有し、3×9 bytesのオーバヘッドOH、87×9 bytesのSTSペイロードSTS-1 SPEで構成され、ペイロードにおける9 bytesはパスオーバヘッドPOHで、残りの86×9 bytesに複数の低次群チャンネルのパケットが多重される。同期光通信網SONETでは上記STS-1の他に、フレームフォーマットとしてSTS-3(155.52Mbps)、STS-12(622.08Mbps)、STS-48(2.488Gbps)、...などがあり、光伝送路により適宜使用できるようになっている。   STM-N and STS-N (N: integer) frame formats for synchronous optical communication networks SDH (Synchronous Digital Hierarchy) and SONET (Synchronous Optical Network), which use optical communication capable of high-capacity transmission due to increased traffic. According to the above, user data is multiplexed and transmitted. FIG. 12 is a frame configuration diagram of 51.84 Mbps STS-1, which has 9 × 90 (bytes / 125 μs) as a whole, 3 × 9 bytes overhead OH, 87 × 9 bytes STS payload STS-1 SPE 9 bytes in the payload is a path overhead POH, and a plurality of low-order group channel packets are multiplexed on the remaining 86 × 9 bytes. In the synchronous optical network SONET, in addition to the above STS-1, the frame formats include STS-3 (155.52 Mbps), STS-12 (622.08 Mbps), STS-48 (2.488 Gbps),. . . And can be used as appropriate depending on the optical transmission path.

同期光通信網SDHおよびSONETのネットワーク構成として信頼性確保の観点から伝送装置TRUを図13に示すようにリング状に接続し、かつ、WDM回線に冗長性を持たせたリング構成が知られている。リング構成によれば、WDMリンクの左回りが現用(Work)光回線、右回りが予備(Protect)光回線であり、現用光回線に回線断等の回線異常が発生すると、予備光回線に切り替える。この切替時間は顧客にとって回線不通になるため、50msec以下に規定されている。この切替時間を占めるのは、(1)回線切替時間、(2)主信号クロック信号を発生するPLLの安定時間及び(3)デスタッフ回路内に設けられるFIFOメモリの半分まで主信号データを書き込むに要する時間(FIFOセンタリング時間)であり、50msec以下にしなければならない。
光伝送装置の回線切替仕様は以下のように規定されている。
1.ユニットの光入力断から回線を切り替えてエラーが無くなるまで50msec以下。
この50msのうち、光入力断通知から装置ソフト(回線切替制御部)が回線切替を行なうのに最大30msec要する。
このため、切替時間を50msec以下にするには、回線が切り替えられてから20msec以内にエラー復旧する必要がある。すなわち、20msec以内にPLLが主信号クロック信号を安定に出力し、かつ、FIFOセンタリングを完了しなければならない。
As a network configuration of the synchronous optical communication networks SDH and SONET, a ring configuration in which transmission devices TRU are connected in a ring shape as shown in FIG. 13 and redundancy is provided to the WDM line is known from the viewpoint of ensuring reliability. Yes. According to the ring configuration, the counterclockwise WDM link is the working (Work) optical line, and the clockwise is the protection (Protect) optical line. If a line abnormality such as a line break occurs in the working optical line, the WDM link is switched to the protection optical line. . This switching time is specified as 50 msec or less because the line is disconnected for the customer. The switching time is occupied by (1) line switching time, (2) PLL stabilization time for generating the main signal clock signal, and (3) writing main signal data to half of the FIFO memory provided in the destuff circuit. This is the time required for the FIFO (FIFO centering time) and must be 50 msec or less.
The line switching specifications of the optical transmission apparatus are defined as follows.
1. 50 msec or less until the error disappears after switching the line from the light input interruption of the unit.
Of this 50 ms, it takes a maximum of 30 msec for the device software (line switching control unit) to perform line switching from the notification of optical input interruption.
For this reason, in order to reduce the switching time to 50 msec or less, it is necessary to recover the error within 20 msec after the line is switched. That is, the PLL must stably output the main signal clock signal within 20 msec and complete the FIFO centering.

図14は従来の光伝送装置TRUの本発明に関連する部分の構成図である。回線切替制御部1は、現用光回線の断検出部2あるいは予備光回線の断検出部3から光切断の通知を受信すればソフト処理により回線切替信号を光スイッチ4に入力する。この信号により光スイッチ4は現用光回線から予備光回線へ、あるいは現用光回線から予備光回線へ光回線を切り替えて光受信機5に入力する。
光受信機5は光信号より主信号データと主信号クロックを抽出すると共に、光信号レベルが設定レベル以下の場合に光断アラーム信号OPALを発生し、また、主信号クロックを発生するPLLが同期外れ状態のときCDR(Clock Data Recovery)同期はずれアラームSOALを発生する。図15は光受信機5の構成図であり、光信号を電気信号に変換する光電変換部5a, 主信号データ/主信号クロック抽出部5b、光電変換部から出力する電気信号レベルと設定レベルVrefを比較し、設定レベル以下のときに光断アラーム信号OPALを出力する比較部5cで構成されている。主信号データ/主信号クロック抽出部8bは光電変換された電気信号(主信号)を増幅するアンプ8aと、主信号に含まれる主信号クロックを発生すると共にCDR同期はずれアラームSOALを発生するPLL回路8bと、主信号クロックに同期して主信号データを出力するフリップフロップ8cを備えている。
FIG. 14 is a configuration diagram of a portion related to the present invention of a conventional optical transmission device TRU. The line switching control unit 1 inputs a line switching signal to the optical switch 4 by software processing upon receiving a notification of optical disconnection from the active optical line disconnection detection unit 2 or the standby optical line disconnection detection unit 3. With this signal, the optical switch 4 switches the optical line from the working optical line to the protection optical line or from the working optical line to the protection optical line, and inputs it to the optical receiver 5.
The optical receiver 5 extracts the main signal data and the main signal clock from the optical signal, generates the light interruption alarm signal OPAL when the optical signal level is lower than the set level, and the PLL that generates the main signal clock is synchronized. When it is out of synch, CDR (Clock Data Recovery) synchronization loss alarm SOAL is generated. FIG. 15 is a configuration diagram of the optical receiver 5, a photoelectric conversion unit 5a that converts an optical signal into an electric signal, a main signal data / main signal clock extraction unit 5b, an electric signal level output from the photoelectric conversion unit, and a set level Vref. And a comparator 5c that outputs a light interruption alarm signal OPAL when it is below a set level. The main signal data / main signal clock extraction unit 8b is an amplifier 8a that amplifies the photoelectrically converted electrical signal (main signal), and a PLL circuit that generates a main signal clock included in the main signal and generates an alarm SOAL out of CDR synchronization. 8b and a flip-flop 8c that outputs main signal data in synchronization with the main signal clock.

図14に戻ってFIFOリセット信号発生部6は回線切替完了後に光信号レベルが設定レベル以上になり、かつ、PLLが安定して同期外れ状態でなくなったとき、後述するFIFOメモリのリセットを行なうFIFOリセット信号RSを発生する。デスタッフ部7は光受信器5より主信号データと主信号クロックを入力され、主信号データに含まれるスタッフデータを削除し、データ間隔を均一にして送出する。図16はデスタッフ部7の概略動作説明図である。主信号には(A)に示すように送信側において同期合わせ用のスタッフバイトSが挿入されている。このスタッフバイトSの挿入位置はオーバヘッドOHのポインタより既知であるから、(B)のバイトクロック信号よりスタッフバイトに対応する位置のクロックパルス((C)参照)を削除し、(D)に示すパルス列を発生する。同時にスタッフバイトSを削除した主信号データをFIFOメモリに記録する。FIFOメモリには(E)に示すようにスタッフバイトSを除いた位置で主信号データが間延びした状態になって入力する。しかる後、(D)のパルスの周波数と同一周波数のFIFO読出しパルスをPLL制御で発生し、該読出しパルスによりFIFOメモリから主信号データを読み出せば均一なタイミングで主信号データを出力して後段に送出できる。   Returning to FIG. 14, the FIFO reset signal generator 6 resets the FIFO memory, which will be described later, when the optical signal level becomes equal to or higher than the set level after completion of the line switching and the PLL is stably out of synchronization. Generates reset signal RS. The destuffing unit 7 receives the main signal data and the main signal clock from the optical receiver 5, deletes the stuff data included in the main signal data, and sends out the data with a uniform data interval. FIG. 16 is a schematic operation explanatory diagram of the destuffing unit 7. In the main signal, a stuff byte S for synchronization is inserted on the transmission side as shown in FIG. Since the insertion position of this stuff byte S is known from the overhead OH pointer, the clock pulse (see (C)) at the position corresponding to the stuff byte is deleted from the byte clock signal of (B), and shown in (D) Generate a pulse train. At the same time, the main signal data from which the stuff byte S is deleted is recorded in the FIFO memory. As shown in (E), the main signal data is input to the FIFO memory in a state where the main signal data is extended at a position excluding the stuff byte S. After that, a FIFO read pulse with the same frequency as the pulse frequency of (D) is generated by PLL control, and if the main signal data is read from the FIFO memory by the read pulse, the main signal data is output at a uniform timing and the subsequent stage Can be sent to.

図17はデスタッフ部7の構成図、図18はPLL位相差信号発生のタイムチャートである。
変換部7aはビット列の主信号データを例えばバイト単位の主信号データに変換し、分周器7bは主信号クロックを1/m、例えば1/8に分周し、FIFOメモリの書き込みパルスWPとしてFIFO部7cとパルス削除部7dに入力する。オーバヘッド監視部7eはオーバヘッドを参照してスタッフバイト位置を識別し、FIFO部7cとパルス削除部7dに入力する。FIFO部7cはスタッフバイト位置では入力データをFIFOメモリに書き込まないようにし、これによりスタッフバイトを除いた主信号データがFIFOメモリに書き込みパルスWPにより保存される。また、パルス削除部7dは書き込みパルスWPからスタッフデータに対応する位置のパルスを削除し、パルスWP′を出力する。
電圧可変発振器(VCO)7fはPLL制御により発生する入力電圧信号に応じた周波数のパルスを発生し、分周部7gは電圧可変発振器から出力するパルスを1/nに分周してFIFO読出しパルスRPを発生する。FIFO部7cはこのFIFO読出しパルスRPによりFIFOメモリより主信号データを読み出して出力する。
分周部7hは読出しパルスRPを1/2に分周してパルスRP′(図18参照)を発生し、フリップフロップ7iは該分周されたパルスRP′をデータとし、パルスWP′をクロックとしてセット/リセットを行なってパルスWP′′を出力する。EXOR回路7jはパルスRP′とパルスWP′′との位相差を示す信号PDを出力し、低域フィルタ7kは該位相差信号PDを平滑化して電圧可変発振器7fに入力する。各部7f〜7kはPLL回路を構成しており、最終的に読出しパルスRPの周波数は、パルス削除部7dから出力するパルスWP′の周波数に等しくなり、FIFOメモリから均一なタイミングで主信号データが読み出されて出力される。
FIG. 17 is a configuration diagram of the destuffing unit 7, and FIG. 18 is a time chart for generating a PLL phase difference signal.
The conversion unit 7a converts the main signal data of the bit string into main signal data in units of bytes, for example, and the frequency divider 7b divides the main signal clock by 1 / m, for example, 1/8, as a write pulse WP of the FIFO memory. The data is input to the FIFO unit 7c and the pulse deletion unit 7d. The overhead monitoring unit 7e refers to the overhead, identifies the stuff byte position, and inputs it to the FIFO unit 7c and the pulse deletion unit 7d. The FIFO unit 7c does not write the input data to the FIFO memory at the stuff byte position, so that the main signal data excluding the stuff byte is stored in the FIFO memory by the write pulse WP. The pulse deleting unit 7d deletes a pulse at a position corresponding to the stuff data from the write pulse WP, and outputs a pulse WP ′.
The variable voltage oscillator (VCO) 7f generates a pulse with a frequency corresponding to the input voltage signal generated by the PLL control, and the frequency divider 7g divides the pulse output from the voltage variable oscillator by 1 / n to a FIFO read pulse. Generate RP. The FIFO unit 7c reads and outputs the main signal data from the FIFO memory by the FIFO read pulse RP.
The frequency divider 7h divides the read pulse RP by 1/2 to generate a pulse RP '(see FIG. 18), and the flip-flop 7i uses the frequency-divided pulse RP' as data and the pulse WP 'as a clock. Is set / reset to output a pulse WP ″. The EXOR circuit 7j outputs a signal PD indicating the phase difference between the pulse RP ′ and the pulse WP ″, and the low-pass filter 7k smoothes the phase difference signal PD and inputs it to the voltage variable oscillator 7f. Each unit 7f to 7k constitutes a PLL circuit, and finally the frequency of the read pulse RP becomes equal to the frequency of the pulse WP 'output from the pulse deletion unit 7d, and the main signal data is sent from the FIFO memory at a uniform timing. Read and output.

図19、図20はFIFOメモリの書き込み読出し制御の説明図であり、FIFOメモリFMの容量はMサイズ(アドレス1〜アドレスM)である。(A)に示すようにリセットされてFIFOメモリFMにデータが書き込まれていない状態において、FIFO部7cはスタッフデータが削除された主信号データをアドレス1から順番にFIFOメモリに書き込み、(B)に示すようにメモリサイズの半分まで主信号データを書き込んでから該主信号データをアドレス1から順番に読み出す。なお、図中WADは書き込みアドレスを、RADは読出しアドレスを意味している。以後、FIFO部7cは書き込みと読み出しを並行して行ない、書き込みパルス周波数fWPと読出しパルス周波数fRPが等しいとき、(C)に示すようにアドレスMへの書き込みとアドレスM/2からの読み出しが同時に行なわれ、次のタイミングで、(D)に示すようにアドレス1への書き込みとアドレスM/2+1からの読み出しが同時に行なわれ、以後、上記の動作が繰り返される。 19 and 20 are explanatory diagrams of write / read control of the FIFO memory, and the capacity of the FIFO memory FM is M size (address 1 to address M). In a state where data is not written to the FIFO memory FM as shown in (A), the FIFO unit 7c writes the main signal data from which the stuff data has been deleted to the FIFO memory in order from the address 1, (B) As shown, the main signal data is written up to half of the memory size, and then the main signal data is read sequentially from address 1. In the figure, WAD means a write address, and RAD means a read address. Thereafter, the FIFO unit 7c performs writing and reading in parallel, and when the write pulse frequency f WP and the read pulse frequency f RP are equal, writing to the address M and reading from the address M / 2 as shown in (C). At the next timing, as shown in (D), writing to address 1 and reading from address M / 2 + 1 are performed simultaneously, and the above operation is repeated thereafter.

以上のように読出しパルス周波数fRPと書き込みパルス周波数fWPとが等しいときには、図20(A)に示すようにアドレス1への書き込みとアドレス(M/2+1)からの読み出しが同時に行なわれ、アドレス差はM/2でFIFOメモリFMには常にM/2個の未読出しデータが記憶されている。しかし、読出しパルス周波数fRPが書き込みパルス周波数fWPより大きいときには、図20(B)に示すようにアドレス差はM/2以下になり、未読出しデータ数がM/2より少なくなってゆく。又、読出しパルス周波数fRPが書き込みパルス周波数fWPより小さいときには、図20(C)に示すようにアドレス差はM/2より大きくなり、未読出しデータ数がM/2より多くなる。図20(B)に示す状態において、読出しパルス周波数fRPが書き込みパルス周波数fWPより大きい状態が継続すると未読出しデータが存在しなくなるアンダーフロー状態になリ、主信号データを連続して出力できなくなる。また、図20(C)に示す状態において、読出しパルス周波数fRPが書き込みパルス周波数fWPより小さい状態が継続するとFIFOメモリFMが未読出しデータで満杯になるオーバフロー状態になリ、主信号データをFIFOメモリに書き込めなくなる。なお、FIFO部は未読み出しデータ量がUFL以下になるとアンダーフロー状態とみなし、また、OFL以上になるとオーバフロー状態とみなしてFIFOエラーを発生する As described above, when the read pulse frequency f RP is equal to the write pulse frequency f WP , writing to the address 1 and reading from the address (M / 2 + 1) are performed simultaneously as shown in FIG. The address difference is M / 2, and M / 2 unread data is always stored in the FIFO memory FM. However, when the read pulse frequency f RP is larger than the write pulse frequency f WP , the address difference becomes M / 2 or less as shown in FIG. 20B, and the number of unread data becomes smaller than M / 2. When the read pulse frequency f RP is smaller than the write pulse frequency f WP , the address difference becomes larger than M / 2 and the number of unread data becomes larger than M / 2 as shown in FIG. In the state shown in FIG. 20 (B), if the read pulse frequency f RP continues to be higher than the write pulse frequency f WP , the main signal data can be output continuously in an underflow state where no unread data exists. Disappear. In the state shown in FIG. 20C, if the read pulse frequency f RP continues to be lower than the write pulse frequency f WP , the FIFO memory FM becomes full with unread data, and the main signal data is changed. Cannot write to FIFO memory. The FIFO section considers an underflow condition when the amount of unread data falls below UFL, and considers an overflow condition when it exceeds OFL and generates a FIFO error.

図21は現用回線に障害が発生して回線復旧するまでのタイムチャートであり、時刻t1において現用回線に障害が発生して回線切替制御部1に通知され、時刻t3において予備回線への切替が完了する。この間、光信号は光受信器5に入力しないため、主信号クロックが発生せず、パルス削除部7d(図17)の出力は"1"または"0"に固定され、EXOR回路7jの位相差信号PDの位相差はデューティ50%に固定され、電圧可変発振器7fはフリーラン状態になってその発振周波数は例えば図21に示すように増加する。また、FIFOメモリの未読出しデータ量が減少して時刻t2においてアンダーフロー状態になり、FIFOエラーとなる。かかる状態において、時刻t3において予備回線に切替が完了すると、予備回線からの光信号を用いて主信号クロックの抽出が行なわれ、時刻t4においてFIFOリセット信号RSが発生する。これにより、FIFOメモリがリセットされ、以後、図19で説明したFIFOメモリへの主信号データの書き込み、読出し制御が行われる。   FIG. 21 is a time chart from when a failure occurs in the working line until the line is restored. At time t1, a failure occurs in the working line and is notified to the line switching control unit 1, and switching to the protection line is performed at time t3. Complete. During this time, since the optical signal is not input to the optical receiver 5, the main signal clock is not generated, the output of the pulse deletion unit 7d (FIG. 17) is fixed to "1" or "0", and the phase difference of the EXOR circuit 7j The phase difference of the signal PD is fixed at a duty of 50%, the voltage variable oscillator 7f is in a free-run state, and its oscillation frequency increases as shown in FIG. In addition, the amount of unread data in the FIFO memory decreases and an underflow state occurs at time t2, resulting in a FIFO error. In this state, when switching to the protection line is completed at time t3, the main signal clock is extracted using the optical signal from the protection line, and the FIFO reset signal RS is generated at time t4. As a result, the FIFO memory is reset, and thereafter, the main signal data is written to and read from the FIFO memory described with reference to FIG.

・従来技術の第1の問題点
読出しパルス周波数fRPと書き込みパルス周波数fWPとが等しい場合、FIFOメモリFMにM/2個の未読出しデータが記憶されている状態(センタリング状態)が最もアンダーフロー及びオーバフローになりにくい好ましい状態である。このため、回線断後の回線復旧時にFIFOリセット信号RSによりFIFOメモリFMをリセットし、図19に示す書き込み、読出し制御を行なってセンタリング状態にしている。
ところで、FIFOリセット時において読出しパルス周波数fRPが書き込みパルス周波数fWPより大きければ、図22の(A)に示すようにリセットによりアドレス差をM/2より大きくし、未読出しデータ数をM/2より多くすることが理想的である。しかし、従来は前述のようにFIFOリセットにより(B)に示すようにアドレス差をM/2にし、未読出しデータ数をM/2にする。このため、未読出しデータ数にΔDの差(オフセット)が生じ、読出しパルスRPの周波数が安定するまでに未読出しデータ数が(C)に示すように減少し、安定後はこの少ない未読出しデータ数を維持しながらFIFOメモリへの主信号データの書き込み、読出し制御が行われる。しかし、未読出しデータ数が少ないため、温度変化、その他の原因で読出しパルス周波数fRPが書き込みパルス周波数fWPより大きくなると(D)に示すように未読出しデータが存在しないアンダーフロー状態になってFIFOエラーが発生する。
また、FIFOリセット時において読出しパルス周波数fRPが書き込みパルス周波数fWPより小さければ、図22の(E)に示すようにリセットによりアドレス差をM/2より小さくし、未読出しデータ数をM/2より少なくすることが理想的である。しかし、従来は前述のようにFIFOリセットにより(F)に示すようにアドレス差をM/2にし、未読出しデータ数をM/2にする。このため、未読出しデータ数にΔDの差(オフセット)が生じ、読出しパルスRPの周波数が安定するまでに未読出しデータ数が(G)に示すように増加し、安定後はこの多い未読出しデータ数を維持しながらFIFOメモリへの主信号データの書き込み、読出し制御が行われる。しかし、未読出しデータ数が多いため、温度変化、その他の原因で読出しパルス周波数fRPが書き込みパルス周波数fWPより小さくなると(H)に示すように未読出しデータでFIFOメモリが満杯になるオーバフロー状態になってFIFOエラーが発生する。
First problem of the prior art When the read pulse frequency f RP and the write pulse frequency f WP are equal, the state in which M / 2 unread data is stored in the FIFO memory FM (centering state) is the lowest This is a preferable state that is unlikely to cause a flow or overflow. For this reason, the FIFO memory FM is reset by the FIFO reset signal RS when the line is restored after the line is disconnected, and the writing and reading control shown in FIG.
If the read pulse frequency f RP is larger than the write pulse frequency f WP at the time of FIFO reset, as shown in FIG. 22A, the address difference is made larger than M / 2 by reset, and the number of unread data is set to M / Ideally more than two. However, conventionally, as described above, by FIFO reset, the address difference is set to M / 2 and the number of unread data is set to M / 2 as shown in (B). For this reason, a difference (offset) of ΔD occurs in the number of unread data, and the number of unread data decreases as shown in (C) until the frequency of the read pulse RP stabilizes. The main signal data is written to and read from the FIFO memory while maintaining the number. However, since the number of unread data is small, temperature change, become other underflow state readout pulse frequency f RP because there is no unread data as shown in the larger than the write pulse frequency f WP (D) A FIFO error occurs.
If the read pulse frequency f RP is smaller than the write pulse frequency f WP at the time of FIFO reset, as shown in FIG. 22E, the address difference is made smaller than M / 2 by reset, and the number of unread data is set to M / Ideally less than 2. However, conventionally, as described above, by FIFO reset, the address difference is set to M / 2 and the number of unread data is set to M / 2 as shown in (F). For this reason, a difference (offset) of ΔD occurs in the number of unread data, and the number of unread data increases as shown in (G) until the frequency of the read pulse RP stabilizes. The main signal data is written to and read from the FIFO memory while maintaining the number. However, since the number of unread data is large, the overflow state where the FIFO memory becomes full with unread data as shown in (H) when the read pulse frequency f RP becomes lower than the write pulse frequency f WP due to temperature change or other causes And a FIFO error occurs.

・従来技術の第2の問題点
図21で説明したように、入力断時、EXOR回路7jの位相差信号PDの位相差がデューティ50%に固定され、フリーラン状態になる。このため、電圧可変発振器7fの発振周波数は図21に示すように増加する。このとき、温度などの環境により可変電圧発振器7fの発振周波数(読出しパルスRPの周波数)と書き込みパルスの周波数との差が大きくなって、FIFOリセット後に安定するまでに時間を要し、最悪FIFOエラーが発生する。
・従来技術の第3の問題点
回線切り替え後のFIFOリセットは、光信号レベルが設定レベル以上になり、かつ、PLLが安定して同期外れ状態でなくなったとき、FIFOリセット信号発生部6(図14)がFIFOリセット信号RSを発生して行なう。しかし、光断アラームを検出するための基準電圧のバラツキやCDR(Clock Data Recovery)の周波数安定時のバラツキにより、20msec以内にFIFOリセットを行なえない場合が生じる。又、FIFOリセット後、未読み出しデータ量がM/2になるまで時間を要する。
従来技術としてデスタッフ制御回路を用いてスタッフの有無によりメモリへの書き込みクロックを制御するものがある(特許文献1)。しかし、この従来技術は上記の第1〜第3の問題点を解決するものではない。
特開平5−3463号公報
Second Problem of Prior Art As described with reference to FIG. 21, when the input is interrupted, the phase difference of the phase difference signal PD of the EXOR circuit 7j is fixed to 50% duty, and a free-run state is entered. For this reason, the oscillation frequency of the voltage variable oscillator 7f increases as shown in FIG. At this time, the difference between the oscillation frequency of the variable voltage oscillator 7f (the frequency of the read pulse RP) and the frequency of the write pulse increases depending on the environment such as temperature, and it takes time to stabilize after the FIFO reset, and the worst FIFO error Occurs.
Third problem of the prior art FIFO reset after line switching is performed when the optical signal level exceeds the set level and the PLL is stable and no longer out of synchronization. 14) is performed by generating a FIFO reset signal RS. However, the FIFO reset may not be performed within 20msec due to variations in the reference voltage for detecting the light interruption alarm and variations in the CDR (Clock Data Recovery) frequency. In addition, it takes time until the unread data amount reaches M / 2 after the FIFO reset.
As a conventional technique, there is a technique in which a write clock to a memory is controlled by using a destuffing control circuit depending on the presence or absence of stuffing (Patent Document 1). However, this prior art does not solve the first to third problems.
JP-A-5-3463

以上から、本発明の目的は、回線切り替え完了後に読出しパルス周波数が安定したとき、FIFOメモリにおける未読出しデータ数がM/2になるように制御(センタリング制御)して、FIFOエラーが生じないようにすることである。
本発明の別の目的は、FIFOリセット時における読み出しパルスの周波数と書き込みパルスの周波数との差を小さくし、FIFOリセット後に読出しパルス周波数が安定するまでの時間を短縮し、FIFOエラーが発生しないようにすることである。
本発明の別の目的は、リセット制御を終了する規定時刻においてデータ残量をほぼFIFOメモリのサイズMの1/2にしてFIFOエラー発生を防止することである。
From the above, the object of the present invention is to control the number of unread data in the FIFO memory to be M / 2 (centering control) when the read pulse frequency is stable after completion of line switching so that no FIFO error occurs. Is to do.
Another object of the present invention is to reduce the difference between the read pulse frequency and the write pulse frequency at the time of FIFO reset, to shorten the time until the read pulse frequency stabilizes after the FIFO reset, and to prevent a FIFO error from occurring. Is to do.
Another object of the present invention is to prevent a FIFO error from occurring by setting the remaining data amount to approximately 1/2 of the size M of the FIFO memory at a specified time when the reset control is terminated.

上記課題は本発明によれば、回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置により達成される。
本発明の光伝送装置は、回線異常を検出して現用光回線と予備光回線の一方から他方に切り替える回線切り替え部、回線切り替え部から入力する光信号より主信号データと主信号クロックを抽出する光受信機、該主信号データに含まれるスタッフデータを削除するデスタッフ部を備え、前記デスタッフ部は、(1)前記スタッフデータを削除された主信号データを記憶するFIFOメモリと、該FIFOメモリをリセットしたとき、前記スタッフデータが削除された主信号データを順番にFIFOメモリに書き込み、メモリサイズの半分まで主信号データを書き込んでから該主信号データを順番に読み出す書き込み/読出し制御部とを備えたFIFO部、(2)前記FIFOメモリの読み出しパルスを発生する読み出しパルス発生部、(3)前記FIFOメモリの書き込みパルスとなる主信号クロックパルスからスタッフデータに対応する位置のクロックパルスを削除するパルス削除部、(4)前記クロックパルス削除部から出力するパルスと前記読み出しパルスの周波数が一致するように該読み出しパルスの周波数を制御する制御部、(5)回線異常発生により一方の光回線から他方の光回線への切り替え完了後に、FIFOメモリをリセットするリセット信号発生部、(6)前記FIFOメモリリセット後、読み出しパルス周波数が安定したとき、前記FIFOメモリのデータ残量とFIFOメモリのサイズMの1/2との差が零となるように前記パルス削除部から出力されるパルスの数を制御するパルス数制御部を備えている。
前記パルス数制御部は、前記FIFOメモリの書き込みアドレスと読出しアドレスの差をデータ残量とし、前記差が正であれば、前記パルス削除部から出力されるパルスに1パルス挿入するよう制御し、前記差が負であれば、前記パルスから1パルス削除するよう制御する制御部、前記制御部からの指示に従って前記パルスに1パルスを挿入し、あるいは前記パルスから1パルスを削除するパルス調整部を備えている。
前記リセット信号発生部は、正常時、前記FIFOメモリのデータ残量が第1の設定値より小さくなったとき及び該データ残量が第2の設定値より大きくなったときFIFOメモリをリセットし、回線異常時、前記第1の設定値と第2の設定値の差を狭くしてFIFOメモリのリセット制御を行い、回線異常検出時刻あるいは回線切替完了時刻から設定時間後に、第1、第2の設定値を正常時の値に戻す。
本発明の光伝送装置は、更に、前記主信号クロックパルスと同一周波数のパルスを発生する固定発振器、回線異常発生により主信号クロックパルスに代えて前記固定発振器から出力するパルスを前記パルス削除部に入力するパルス切り替え部、回線異常発生により前記パルス削除部のクロックパルス削除機能を停止する信号を発生するパルス削除停止信号発生部を備えている。
According to the present invention, the above object is achieved by an optical transmission apparatus having a line switching function at the time of a line abnormality and a destuffing function for deleting stuff data included in main signal data.
The optical transmission apparatus of the present invention extracts main signal data and a main signal clock from a line switching unit that detects a line abnormality and switches from one of the working optical line and the backup optical line to the other, and an optical signal input from the line switching unit. The optical receiver includes a stuffing unit that deletes stuff data included in the main signal data, and the destuffing unit includes (1) a FIFO memory that stores the main signal data from which the stuff data is deleted, and the FIFO When the memory is reset, the main signal data from which the stuff data has been deleted is sequentially written to the FIFO memory, the main signal data is written to half the memory size, and then the main signal data is read in order. (2) a read pulse generator that generates a read pulse of the FIFO memory, and (3) a main signal that becomes a write pulse of the FIFO memory A pulse deleting unit that deletes a clock pulse at a position corresponding to stuff data from the clock pulse; (4) controlling the frequency of the read pulse so that the frequency of the pulse output from the clock pulse deleting unit and the frequency of the read pulse match. (5) Reset signal generator for resetting the FIFO memory after completion of switching from one optical line to the other due to the occurrence of a line abnormality, (6) After the FIFO memory is reset, the read pulse frequency is stabilized A pulse number control unit that controls the number of pulses output from the pulse deletion unit so that the difference between the remaining data amount of the FIFO memory and 1/2 of the size M of the FIFO memory becomes zero. .
The pulse number control unit sets the difference between the write address and the read address of the FIFO memory as the remaining data amount, and if the difference is positive, controls to insert one pulse into the pulse output from the pulse deletion unit, If the difference is negative, a control unit that controls to delete one pulse from the pulse, a pulse adjustment unit that inserts one pulse into the pulse according to an instruction from the control unit, or deletes one pulse from the pulse I have.
The reset signal generator resets the FIFO memory when the data remaining in the FIFO memory becomes smaller than the first set value and when the remaining data becomes larger than the second set value, When the line is abnormal, the difference between the first set value and the second set value is narrowed to perform the FIFO memory reset control. After the set time from the line abnormal detection time or the line switching completion time, the first and second Return the set value to the normal value.
The optical transmission apparatus of the present invention further includes a fixed oscillator that generates a pulse having the same frequency as the main signal clock pulse, and a pulse output from the fixed oscillator in place of the main signal clock pulse due to the occurrence of a line abnormality to the pulse deletion unit. A pulse switching unit for inputting and a pulse deletion stop signal generating unit for generating a signal for stopping the clock pulse deleting function of the pulse deleting unit when a line abnormality occurs are provided.

本発明によれば、FIFOメモリの読み出しパルスの周波数が安定したとき、FIFOメモリのデータ残量(未読み出しデータ量)をFIFOメモリのサイズMの1/2となるように制御(センタリング制御)するため、FIFOエラーが生じないようにできる。
本発明によれば、回線異常発生により主信号クロックパルスに代えて固定発振器から出力するパルスを使用し、該パルス周波数に読み出しパルスの周波数が一致するように制御するため、回線切り替え完了後のFIFOメモリリセット時における読み出しパルスの周波数と書き込みパルスの周波数との差を小さくでき、この結果、FIFOリセット後に読み出しパルスの周波数が安定するまでの時間を短縮でき、FIFOエラーが発生しないようにできる。
本発明によれば、正常時、FIFOメモリのデータ残量が第1の設定値より小さくなったとき及び該データ残量が第2の設定値より大きくなったときFIFOエラーとみなしてFIFOメモリをリセットし、回線異常時、前記第1の設定値と第2の設定値の差を狭くしてFIFOメモリのリセット制御を行い、回線異常検出時刻あるいは回線切替完了時刻から設定時間後に、第1、第2の設定値を正常時の値に戻すようにしたから、回線異常中において頻繁にリセット制御が行われるため規定時刻においてデータ残量をほぼFIFOメモリのサイズMの1/2にでき、FIFOエラー発生を防止できる。
According to the present invention, when the read pulse frequency of the FIFO memory is stabilized, the data remaining amount (unread data amount) of the FIFO memory is controlled (centering control) so as to be 1/2 of the size M of the FIFO memory. Therefore, it is possible to prevent the FIFO error from occurring.
According to the present invention, a pulse output from a fixed oscillator is used instead of the main signal clock pulse due to the occurrence of a line abnormality, and control is performed so that the read pulse frequency matches the pulse frequency. The difference between the read pulse frequency and the write pulse frequency at the time of memory reset can be reduced. As a result, the time until the read pulse frequency is stabilized after the FIFO reset can be shortened, and a FIFO error can be prevented from occurring.
According to the present invention, when the remaining amount of data in the FIFO memory becomes smaller than the first set value and when the remaining amount of data becomes larger than the second set value, the FIFO memory is regarded as a FIFO error. When the line is abnormal, the difference between the first set value and the second set value is narrowed to perform the FIFO memory reset control. After the set time from the line abnormality detection time or the line switching completion time, the first, Since the second set value is returned to the normal value, the reset control is frequently performed during line abnormalities, so the remaining data can be reduced to almost 1/2 of the FIFO memory size M at the specified time. The occurrence of errors can be prevented.

(A)第1実施例
図1は光伝送装置TRUにおける本発明に関連する部分の構成図であり、以降の全実施例に適用できる。
回線切替制御部11は、現用光回線の断検出部12あるいは予備光回線の断検出部13から光信号断の通知を受信すればソフト処理により回線切替信号を光スイッチ14に入力する。この信号により光スイッチ14は現用光回線から予備光回線へ、あるいは現用光回線から予備光回線へ光回線を切り替えて光受信機15に入力する。
光受信機15は光信号より主信号データと主信号クロックを抽出すると共に、光信号レベルが設定レベル以下の場合に光断アラーム信号OPALを発生し、また、主信号クロックを発生するPLLが同期外れ状態のときCDR同期はずれアラームSOALを発生する。光受信機15は図15に示す構成を備えている。
FIFOリセット信号発生部16は回線切替時に光信号レベルが設定レベル以上になり、かつ、PLLが安定して同期外れ状態でなくなったとき、FIFOメモリのリセットを行なうFIFOリセット信号RSを発生する。回線異常信号発生部17は断検出部12、13から光信号断検出信号が発生したとき回線異常信号を発生し、回線切替制御部11から回線切替信号が出力されたとき回線異常信号の発生を停止する。デスタッフ部18は光受信器15より主信号データと主信号クロックを入力され、主信号データに含まれるスタッフデータを削除し、データ間隔を均一にして送出する。
(A) First Embodiment FIG. 1 is a configuration diagram of a portion related to the present invention in an optical transmission apparatus TRU, and can be applied to all the following embodiments.
The line switching control unit 11 inputs a line switching signal to the optical switch 14 by software processing upon receiving a notification of optical signal disconnection from the active optical line disconnection detection unit 12 or the protection optical line disconnection detection unit 13. With this signal, the optical switch 14 switches the optical line from the working optical line to the protection optical line, or switches from the working optical line to the protection optical line, and inputs to the optical receiver 15.
The optical receiver 15 extracts the main signal data and the main signal clock from the optical signal, generates the light interruption alarm signal OPAL when the optical signal level is lower than the set level, and the PLL that generates the main signal clock is synchronized. In the out-of-band condition, the CDR out-of-sync alarm SOAL is generated. The optical receiver 15 has the configuration shown in FIG.
The FIFO reset signal generator 16 generates a FIFO reset signal RS for resetting the FIFO memory when the optical signal level becomes equal to or higher than the set level at the time of line switching and the PLL is stable and no longer out of synchronization. The line abnormality signal generation unit 17 generates a line abnormality signal when an optical signal interruption detection signal is generated from the interruption detection units 12 and 13, and generates a line abnormality signal when a line switching signal is output from the line switching control unit 11. Stop. The destuffing unit 18 receives the main signal data and the main signal clock from the optical receiver 15, deletes the stuff data included in the main signal data, and sends out the data with a uniform data interval.

図2は第1実施例のデスタッフ部18の構成図である。変換部18aはビット列の主信号データを例えばバイト単位の主信号データに変換し、分周器18bは主信号クロックを1/m、例えば1/8に分周し、FIFOメモリの書き込みパルスWPとしてFIFO部18cとパルス削除部18dに入力する。オーバヘッド監視部18eはオーバヘッドを参照してスタッフバイト位置を識別し、FIFO部18cとパルス削除部18dに入力する。FIFO部18cはスタッフバイト位置では入力データをFIFOメモリに書き込まないようにし、これによりスタッフバイトを除いた主信号データがFIFOメモリに書き込みパルスWPにより保存される。また、パルス削除部18dは書き込みパルスWPからスタッフデータに対応する位置のパルスを削除してパルスWP′を出力する。
電圧可変発振器(VCO)18fはPLL制御により発生する入力電圧信号に応じた周波数のパルスを発生し、分周部18gは電圧可変発振器から出力するパルスを1/nに分周してFIFO読出しパルスRPを発生する。FIFO部18cはこのFIFO読出しパルスRPによりFIFOメモリより主信号データを読み出して出力する。
分周部18hは読出しパルスRPを1/2に分周してパルスRP′(図18参照)を発生し、フリップフロップ18iは該分周されたパルスRP′をデータとし、パルスWP′をクロックとしてセット/リセットを行なってパルスWP′′を出力する。EXOR回路18jはパルスRP′とパル
スWP′′との位相差を示す信号PDを出力し、低域フィルタ18kは該位相差信号PDを平滑化して電圧可変発振器18fに入力する。各部18f〜18kはPLL回路を構成しており、最終的に読出しパルスRPの周波数は、パルス削除部18dから出力するパルスWP′の周波数に等しくなり、FIFOメモリから均一なタイミングで主信号データが読み出されて出力される。
FIG. 2 is a configuration diagram of the destuffing unit 18 of the first embodiment. The conversion unit 18a converts the main signal data of the bit string into, for example, main signal data in units of bytes, and the frequency divider 18b divides the main signal clock by 1 / m, for example, 1/8, as a write pulse WP of the FIFO memory The data is input to the FIFO unit 18c and the pulse deletion unit 18d. The overhead monitoring unit 18e identifies the stuff byte position with reference to the overhead, and inputs it to the FIFO unit 18c and the pulse deletion unit 18d. The FIFO unit 18c does not write the input data to the FIFO memory at the stuff byte position, so that the main signal data excluding the stuff byte is stored in the FIFO memory by the write pulse WP. The pulse deleting unit 18d deletes a pulse at a position corresponding to the stuff data from the write pulse WP and outputs a pulse WP ′.
The variable voltage oscillator (VCO) 18f generates a pulse with a frequency corresponding to the input voltage signal generated by the PLL control, and the frequency divider 18g divides the pulse output from the voltage variable oscillator by 1 / n to a FIFO read pulse. Generate RP. The FIFO unit 18c reads and outputs the main signal data from the FIFO memory by the FIFO read pulse RP.
The frequency divider 18h divides the read pulse RP by 1/2 to generate a pulse RP '(see FIG. 18), and the flip-flop 18i uses the frequency-divided pulse RP' as data and the pulse WP 'as a clock. Is set / reset to output a pulse WP ″. The EXOR circuit 18j outputs a signal PD indicating the phase difference between the pulse RP ′ and the pulse WP ″, and the low-pass filter 18k smoothes the phase difference signal PD and inputs it to the voltage variable oscillator 18f. Each unit 18f to 18k constitutes a PLL circuit. Finally, the frequency of the read pulse RP is equal to the frequency of the pulse WP ′ output from the pulse deletion unit 18d, and the main signal data is uniformly transmitted from the FIFO memory. Read and output.

図3はFIFO部の構成図であり、容量MのFIFOメモリ31は0〜(M−1)のアドレスを備え、FIFO(First In First Out)の態様で主信号データが書き込まれ、読み出されるようになっている。書き込み制御部32は、オーバヘッド監視部18eからイネーブル信号enbが入力されているときに書き込みパルスWPにより主信号データをFIFOメモリ31の所定アドレスWADに書き込み、書き込みアドレスWADを1カウントアップする(WAD+1=WAD)。なお、オーバヘッド監視部18eはスタッフバイト位置でのみイネーブル信号enbを出力しないから、書き込み制御部32はスタッフバイト以外の主信号データをFIFOメモリ31に書き込む。又、読出し制御部33は読出しパルスRPによりFIFOメモリ31の所定アドレスRADより主信号データを読み出して出力し、読出しアドレスRADを1カウントアップする(RAD+1=RAD)。
FIFOメモリ31はFIFOリセット信号によりクリアされ、又、書き込み制御部32はFIFOリセット信号によりアドレス0から書き込みを開始し、読出し制御部23はFIFOリセット信号によりアドレスM/2から読み出しを開始し、以後、上記の主信号データのFIFOメモリ21への書き込みと読み出しが行なわれる。FIFOモニター部34はFIFOメモリの書き込みアドレスWADと読出しアドレスRADの差(=WAD−RAD)をデータ残量(未読出しデータ量)Rとし出力する。
FIG. 3 is a block diagram of the FIFO unit. A FIFO memory 31 having a capacity M has addresses 0 to (M−1), and main signal data is written and read in a FIFO (First In First Out) manner. It has become. The write controller 32 writes the main signal data to the predetermined address WAD of the FIFO memory 31 by the write pulse WP when the enable signal enb is input from the overhead monitor 18e, and increments the write address WAD by 1 (WAD + 1 = WAD). Since the overhead monitoring unit 18e does not output the enable signal enb only at the stuff byte position, the write control unit 32 writes main signal data other than the stuff byte in the FIFO memory 31. Further, the read control unit 33 reads and outputs the main signal data from the predetermined address RAD of the FIFO memory 31 by the read pulse RP, and increments the read address RAD by 1 (RAD + 1 = RAD).
The FIFO memory 31 is cleared by the FIFO reset signal, the write control unit 32 starts writing from the address 0 by the FIFO reset signal, and the read control unit 23 starts reading from the address M / 2 by the FIFO reset signal. The main signal data is written to and read from the FIFO memory 21. The FIFO monitor unit 34 outputs the difference (= WAD−RAD) between the write address WAD and the read address RAD of the FIFO memory as a remaining data (unread data amount) R.

図2に戻って、センタリング制御部21は、パルス削除部18dから出力されるパルス列WP′にパルスを挿入する制御、あるいは該パルス列WP′からパルスを削除する制御を行って読み出しパルス周波数を調整し、FIFOメモリのデータ残量がM/2となるように制御する(センタリング制御)。パルス調整部22は、センタリング制御部21からのパルス挿入/削除の指示(センタリング信号)に基づいてパルス列WP′にパルスを挿入し、あるいは該パルス列WP′からパルスを削除してフリップフロップ18iに入力する。   Returning to FIG. 2, the centering control unit 21 adjusts the read pulse frequency by performing control to insert a pulse in the pulse train WP ′ output from the pulse deletion unit 18d or to delete the pulse from the pulse train WP ′. Then, control is performed so that the remaining amount of data in the FIFO memory becomes M / 2 (centering control). The pulse adjustment unit 22 inserts a pulse into the pulse train WP ′ based on a pulse insertion / deletion instruction (centering signal) from the centering control unit 21, or deletes the pulse from the pulse train WP ′ and inputs it to the flip-flop 18i. To do.

回線切替完了後に読出しパルスRPの周波数が安定したとき、未読出しデータ数が図4(A)に示すように減少し、あるいは図4(B)に示すように増加している場合がある。かかる状態は、アンダーフロー状態あるいはオーバフロー状態に近くなっておりFIFOエラーに発展する恐れがある。そこで、センタリング制御部21は、読出しパルスRPの周波数が安定したとき、上記のセンタリング制御を行ってデータ残量がM/2となるように制御する。すなわち、センタリング制御部21は、FIFOメモリの書き込みアドレスWADと読出しアドレスRADの差をデータ残量(=WAD−RAD)とし、該データ残量とFIFOメモリのサイズMの1/2との差(=データ残量−M/2)が正であれば、パルス削除部18dから出力されるパルスWP′に1パルスを挿入するよう制御し、前記差が負であれば、パルスWP′から1パルスを削除するよう制御し、パルス調整部22は1パルス挿入指示によりパルスWP′に1パルスを挿入し、1パルス削除指示によりパルスWP′から1パルスを削除する。
図4(A)の場合、パルスWP′からパルスが削除されて読出しパルスRPの周波数が減少する。この結果、データ書き込み速度がデータ読出し速度より大きくなってFIFOメモリの未読出しデータ量が増加してM/2になるように制御が行われ、M/2になったときセンタリング制御が終了する。又、図4(B)の場合、パルスWP′にパルスが挿入されて読出しパルスRPの周波数が増加する。この結果、データ読み出し速度がデータ書き込み速度より大きくなってFIFOメモリの未読出しデータ量が減少してM/2になるように制御が行われ、M/2になったときセンタリング制御が終了する。
When the frequency of the read pulse RP is stabilized after the line switching is completed, the number of unread data may decrease as shown in FIG. 4 (A) or increase as shown in FIG. 4 (B). Such a state is close to an underflow state or an overflow state and may develop into a FIFO error. Therefore, when the frequency of the read pulse RP is stabilized, the centering control unit 21 performs the above centering control to control the remaining data amount to be M / 2. That is, the centering control unit 21 sets the difference between the write address WAD and the read address RAD of the FIFO memory as the remaining data amount (= WAD−RAD), and the difference between the remaining data amount and 1/2 of the size M of the FIFO memory ( = If the remaining data-M / 2) is positive, control is performed so that one pulse is inserted into the pulse WP 'output from the pulse deleting unit 18d. If the difference is negative, one pulse is generated from the pulse WP'. The pulse adjusting unit 22 inserts one pulse into the pulse WP ′ according to the one-pulse insertion instruction, and deletes one pulse from the pulse WP ′ according to the one-pulse deletion instruction.
In the case of FIG. 4 (A), the pulse is deleted from the pulse WP ′, and the frequency of the read pulse RP decreases. As a result, control is performed so that the data write speed becomes higher than the data read speed, and the amount of unread data in the FIFO memory increases to M / 2, and when it becomes M / 2, the centering control ends. In the case of FIG. 4B, a pulse is inserted into the pulse WP ′, and the frequency of the read pulse RP increases. As a result, control is performed so that the data read speed becomes higher than the data write speed, and the amount of unread data in the FIFO memory decreases to M / 2, and when it becomes M / 2, the centering control ends.

図5はセンタリング制御処理フローである。回線切替完了後にFIFOメモリがリセットされる。該リセット後、設定時間T経過したとき(ステップ101)、センタリング制御部21は、FIFOデータ残量Rを読取る(ステップ102)。設定時間Tは読出しパルス周波数が安定したとみなせる時間であるが、読出しパルスRPの周波数が安定したことを検出してFIFO残量Rを読取るようにしても良い。ついで、センタリング制御部21は、データ残量とFIFOメモリのサイズMの1/2との差d(=データ残量−M/2)を計算し(ステップ103)、該差dが0であるかチェックし(ステップ104)、0であればセンタリング制御を終了する。
差dが0でなければdの正負を判定し(ステップ105)、正であれば、1パルス挿入するようパルス調整部22に指示する(ステップ106)。これにより、パルス調整部22はパルス削除部18dから出力されるパルスWP′に1パルスを挿入し、読出しパルスRPの周波数が高くなるようにして未読み出しデータ量を少なくする。以後、センタリング制御部21は、ステップ104以降の処理を繰り返す。
一方、ステップ105において、差dが負であれば、1パルス削除するようパルス調整部22に指示する(ステップ107)。これにより、パルス調整部22はパルス削除部18dから出力されるパルスWP′から1パルスを削除し、読出しパルスRPの周波数が低くなるようにして未読み出しデータ量を多くする。以後、センタリング制御部21は、ステップ104以降の処理を繰り返す。
FIG. 5 is a centering control processing flow. The FIFO memory is reset after the line switching is completed. When the set time T has elapsed after the reset (step 101), the centering control unit 21 reads the FIFO data remaining amount R (step 102). The set time T is a time during which the read pulse frequency can be regarded as stable. However, the FIFO remaining amount R may be read by detecting that the frequency of the read pulse RP is stable. Next, the centering control unit 21 calculates a difference d (= data remaining amount−M / 2) between the remaining data amount and 1/2 of the size M of the FIFO memory (step 103), and the difference d is 0. (Step 104), and if it is 0, the centering control is terminated.
If the difference d is not 0, the sign of d is determined (step 105). If the difference is positive, the pulse adjustment unit 22 is instructed to insert one pulse (step 106). As a result, the pulse adjustment unit 22 inserts one pulse into the pulse WP ′ output from the pulse deletion unit 18d, and decreases the amount of unread data by increasing the frequency of the read pulse RP. Thereafter, the centering control unit 21 repeats the processing from step 104 onward.
On the other hand, if the difference d is negative in step 105, the pulse adjustment unit 22 is instructed to delete one pulse (step 107). As a result, the pulse adjustment unit 22 deletes one pulse from the pulse WP ′ output from the pulse deletion unit 18d, and increases the amount of unread data by lowering the frequency of the read pulse RP. Thereafter, the centering control unit 21 repeats the processing from step 104 onward.

図6は、現用回線に障害が発生して回線復旧するまでの第1実施例のタイムチャートであり、時刻t1において現用回線に障害が発生して回線切替制御部11に通知され、時刻t3において予備回線に切替が完了する。この間、光信号は光受信器15に入力しないため、主信号クロックが発生しない。このため、フリップフロップ18j(図2)の出力は"1"または"0"に固定され、EXOR回路18jの位相差信号PDの位相差はデューティ50%に固定され、電圧可変発振器18fはフリーラン状態になってその発振周波数は例えば図6に示すように増加する。また、FIFOメモリの未読出しデータ量が減少して時刻t2においてアンダーフロー状態になり、FIFOエラーとなる。かかる状態において、時刻t3において予備回線に切替が完了すると、予備回線からの光信号を用いて主信号クロックの抽出が行なわれ、時刻t4においてFIFOリセット信号発生部16(図1)からFIFOリセット信号RSが発生する。これにより、FIFOメモリ21がクリアされ、また、書き込みアドレスWADが0、読出しアドレスがM/2にリセットされる。   FIG. 6 is a time chart of the first embodiment from when a failure occurs in the working line until the line is restored. At time t1, a failure occurs in the working line and is notified to the line switching control unit 11, and at time t3. Switching to the protection line is complete. During this time, since the optical signal is not input to the optical receiver 15, the main signal clock is not generated. Therefore, the output of the flip-flop 18j (FIG. 2) is fixed to "1" or "0", the phase difference of the phase difference signal PD of the EXOR circuit 18j is fixed to 50% duty, and the voltage variable oscillator 18f is free-running. As a result, the oscillation frequency increases as shown in FIG. 6, for example. In addition, the amount of unread data in the FIFO memory decreases and an underflow state occurs at time t2, resulting in a FIFO error. In this state, when switching to the protection line is completed at time t3, the main signal clock is extracted using the optical signal from the protection line, and the FIFO reset signal is generated from the FIFO reset signal generator 16 (FIG. 1) at time t4. RS occurs. As a result, the FIFO memory 21 is cleared, and the write address WAD is reset to 0 and the read address is reset to M / 2.

FIFOリセット時において読出しパルスRPの周波数fRPが書き込みパルスWPの周波数fWPより大きければ、図22の(B)で示すオフセットΔDが生じ、読出しパルスRPの周波数が安定するまでに未読出しデータ数が(C)に示すように減少し、リセット後の所定時間後の時刻t5において読出しパルスRPの周波数が安定する。第1実施例ではこの時刻t5において図5のセンタリング制御を開始し、時刻t6において未読み出しデータ量をM/2にする。
また、FIFOリセット時において読出しパルス周波数fRPが書き込みパルス周波数fWPより小さければ、図22の(F)に示すオフセットΔDが生じ、読出しパルスRPの周波数が安定するまでに未読出しデータ数が(G)に示すように増加し、リセット後の所定時間後の時刻t5において読出しパルスRPの周波数が安定する。第1実施例ではこの時刻t5において図5のセンタリング制御を開始し、時刻t6において未読み出しデータ量をM/2にする。
第1実施例によれば、FIFOメモリの読み出しパルスの周波数が安定したとき、FIFOメモリのデータ残量をFIFOメモリのサイズMの1/2となるように制御(センタリング制御)するため、FIFOエラーが生じないようにできる。
If the frequency f RP read pulse RP during FIFO reset is greater than the frequency f WP of the write pulse WP, an offset occurs ΔD indicated by (B) in FIG. 22, unread data number to the frequency of the read pulse RP is stable As shown in (C), the frequency of the read pulse RP is stabilized at time t5 after a predetermined time after reset. In the first embodiment, the centering control of FIG. 5 is started at time t5, and the unread data amount is set to M / 2 at time t6.
If the read pulse frequency f RP is smaller than the write pulse frequency f WP at the time of FIFO reset, an offset ΔD shown in FIG. 22 (F) occurs, and the number of unread data becomes (until the frequency of the read pulse RP stabilizes). As shown in G), the frequency of the read pulse RP is stabilized at time t5 after a predetermined time after reset. In the first embodiment, the centering control of FIG. 5 is started at time t5, and the unread data amount is set to M / 2 at time t6.
According to the first embodiment, when the frequency of the read pulse of the FIFO memory is stabilized, the FIFO remaining data is controlled so as to be 1/2 of the FIFO memory size M (centering control). Can be prevented.

(B)第2実施例
図7は本発明の第2実施例のデスタッフ部の構成図であり、図2の第1実施例のデスタッフ部と同一部分には同一符を付している。異なる点は、
(1)主信号クロックパルスと同一周波数のパルスを発生する固定発振器41を設けた点、
(2)回線異常発生により主信号クロックパルスに代えて固定発振器41から出力するパルスを選択してパルス削除部18dに入力するパルス切り替え部42を設けた点、
(3)光入力断アラーム信号OPALによりパルス削除部18dのクロックパルス削除機能を停止する点、である。
回線異常発生により主信号クロックが発生しない。このため、第1実施例ではフリップフロップ18iが"0"または"1"に固定され、EXOR回路18jの位相差信号PDの位相差がデューティ50%に固定され、フリーラン状態になる。フリーラン状態になると電圧可変発振器18fの発振周波数は図6に示すように増加する。このとき、温度などの環境により可変電圧発振器18fの発振周波数(読出しパルスRPの周波数)と書き込みパルスの周波数との差が大きくなって、FIFOリセット後に安定するまでに時間を要し、センタリング制御前に最悪FIFOエラーが発生する恐れがある。
そこで、第2実施例では、回線異常が発生したとき、主信号クロックパルスに代えて固定発振器41から出力するパルスをパルス削除部18dに入力すると共にパルス削除部のクロックパルス削除機能を停止する。クロックパルス削除機能を停止する理由は、回線異常時、オーバヘッド監視部18eに任意の信号が入力された状態になり、オーバヘッド監視部が該入力信号よりスタッフバイトを誤検出してパルス削除をパルス削除部18dに指示するからである。
(B) Second Embodiment FIG. 7 is a block diagram of the destuffing portion of the second embodiment of the present invention. The same parts as those of the destuffing portion of the first embodiment of FIG. . The difference is
(1) A fixed oscillator 41 for generating a pulse having the same frequency as the main signal clock pulse is provided.
(2) A pulse switching unit 42 is provided that selects a pulse output from the fixed oscillator 41 instead of the main signal clock pulse due to the occurrence of a line abnormality and inputs it to the pulse deletion unit 18d.
(3) The clock pulse deletion function of the pulse deletion unit 18d is stopped by the optical input interruption alarm signal OPAL.
The main signal clock is not generated due to a line error. Therefore, in the first embodiment, the flip-flop 18i is fixed to “0” or “1”, the phase difference of the phase difference signal PD of the EXOR circuit 18j is fixed to 50% duty, and a free-run state is set. In the free run state, the oscillation frequency of the voltage variable oscillator 18f increases as shown in FIG. At this time, the difference between the oscillation frequency of the variable voltage oscillator 18f (the frequency of the read pulse RP) and the frequency of the write pulse increases depending on the environment such as temperature, and it takes time to stabilize after the FIFO reset. May cause the worst FIFO error.
Therefore, in the second embodiment, when a line abnormality occurs, a pulse output from the fixed oscillator 41 is input to the pulse deleting unit 18d instead of the main signal clock pulse, and the clock pulse deleting function of the pulse deleting unit is stopped. The reason for stopping the clock pulse deletion function is that when a line error occurs, an arbitrary signal is input to the overhead monitoring unit 18e, and the overhead monitoring unit erroneously detects a stuff byte from the input signal and deletes the pulse deletion. This is because it instructs the unit 18d.

図8は現用回線に障害が発生して回線復旧するまでの第2実施例のタイムチャートであり、図6の第1実施例とほぼ同様である。異なる点は、回線異常発生によりPLL制御が動作を継続してフリーラン状態にならず、読出しパルスRPの周波数が第1実施例のように大きく変動しないことである。
第2実施例によれば、回線切り替え完了後のFIFOメモリリセット時における読み出しパルスの周波数と書き込みパルスの周波数との差を小さくでき、この結果、FIFOリセット後に読み出しパルスの周波数が安定するまでの時間を短縮でき、センタリング制御開始する前にFIFOエラーが発生しないようにできる。
FIG. 8 is a time chart of the second embodiment from when a failure occurs on the working line until the line is restored, and is almost the same as the first embodiment of FIG. The difference is that the PLL control does not continue to operate in a free-run state due to the occurrence of a line abnormality, and the frequency of the read pulse RP does not vary significantly as in the first embodiment.
According to the second embodiment, the difference between the read pulse frequency and the write pulse frequency when the FIFO memory is reset after the line switching is completed can be reduced, and as a result, the time until the read pulse frequency stabilizes after the FIFO reset. The FIFO error can be prevented from occurring before the centering control is started.

(C)第3実施例
図9は本発明の第3実施例のデスタッフ部の構成図であり、図7の第2実施例のデスタッフ部と同一部分には同一符を付している。異なる点は、
(1)FIFOがアンダーフロー状態あるいはオーバフロー状態になったかを監視し、アンダーフロー状態あるいはオーバフロー状態になったとき、FIFO部18cをリセットするFIFOリセット部51を設けたこと、
(2)図1のFIFOリセット信号発生部16から出力するリセット信号でFIFO部18cをリセットしないようにしたこと、
(3)回線異常時、図10(B)に示すようにアンダーフロー状態と認定する第1の設定値THuをM/2に近い値にし、また、オーバフロー状態と認定する第2設定値THoをM/2に近い値にし、FIFO正常であるとみなすFIFOデータ残量(未読み出しデータ量)の範囲を狭めたこと、
(4)タイマー52を設け、回線異常発生してから所定時間(監視制御期間であり例えば50msec)後に前記第1、第2の設定値THu、THoを図10(A)に示す正常時の値に戻すこと、
である。なお、回線切替完了後所定時間(例えば20msec)後に、第1、第2の設定値THu、THoを正常時の値に戻すようにもできる。
FIFOリセット部51は正常時、FIFOデータ残量が図10(A)に示すTHu〜THoの範囲を超えたか監視し、越えればFIFOエラーとみなし、FIFO部18cをリセットする。又、回線異常時には図10(B)に示すように第1、第2の設定値THu、THoをM/2に近い値にし、THu〜THoの範囲を超えたか監視し、越えればFIFOエラーとみなし、FIFO部18cをリセットする。
また、FIFOリセット部51はタイマー52からタイムアップ信号が入力された場合には、第1、第2の設定値THu、THoを図10(A)に示す正常時の値に戻す
(C) Third Embodiment FIG. 9 is a block diagram of the destuffing section of the third embodiment of the present invention. The same parts as those of the destuffing section of the second embodiment of FIG. . The difference is
(1) A FIFO reset unit 51 is provided to monitor whether the FIFO is underflowed or overflowed, and resets the FIFO 18c when underflowed or overflowed.
(2) The FIFO 18c is not reset by the reset signal output from the FIFO reset signal generator 16 in FIG.
(3) When the line is abnormal, as shown in Fig. 10 (B), set the first set value THu that is recognized as an underflow state to a value close to M / 2, and the second set value THo that is recognized as an overflow state. The value is close to M / 2 and the range of FIFO data remaining amount (unread data amount) that is considered normal is narrowed.
(4) A timer 52 is provided, and the first and second set values THu and THo are the normal values shown in FIG. 10 (A) after a predetermined time (a monitoring control period, for example, 50 msec) after the occurrence of a line abnormality. To return to
It is. Note that the first and second set values THu and THo can be returned to normal values after a predetermined time (for example, 20 msec) after the line switching is completed.
When normal, the FIFO reset unit 51 monitors whether the remaining FIFO data exceeds the range of THu to THo shown in FIG. 10 (A), and if it exceeds, it is regarded as a FIFO error and resets the FIFO unit 18c. Also, when the line is abnormal, the first and second set values THu and THo are close to M / 2 as shown in Fig. 10 (B), and it is monitored whether the range of THu to THo is exceeded. Deemed, the FIFO unit 18c is reset.
Further, when a time-up signal is input from the timer 52, the FIFO reset unit 51 returns the first and second set values THu and THo to the normal values shown in FIG. 10 (A).

図11は現用回線に障害が発生して回線復旧するまでの第3実施例のタイムチャートであり、図8の第2実施例とほぼ同様である。異なる点は、監視制御期間の間(t1〜t4)、THu〜THoの範囲を狭めた点である。THu〜THoの範囲が狭いため、頻繁にFIFOエラーが発生してFIFOリセットが行なわれる。このため、回線異常時においてFIFOデータ残量は図10(B)の第1、第2の設定値THu、THoの範囲に入るようになる。
第3実施例によれば、回線異常発生後規定された期間、頻繁にFIFOエラーが発生してFIFOリセットを行なうため、リセット制御を終了する規定時刻においてデータ残量をほぼFIFOメモリのサイズMの1/2にでき、FIFOエラー発生を防止することができる。
FIG. 11 is a time chart of the third embodiment from when a failure occurs on the working line until the line is restored, and is almost the same as the second embodiment of FIG. The difference is that the range of THu to THo is narrowed during the monitoring control period (t1 to t4). Since the range of THu to THo is narrow, FIFO errors frequently occur and FIFO reset is performed. For this reason, the FIFO data remaining amount falls within the first and second set values THu and THo in FIG. 10B when the line is abnormal.
According to the third embodiment, since a FIFO error frequently occurs during a specified period after the occurrence of a line abnormality and the FIFO is reset, the remaining data amount is almost equal to the size of the FIFO memory at the specified time when the reset control ends. It can be halved, and FIFO errors can be prevented.

・付記
(付記1)
回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置において、
回線異常を検出して現用光回線と予備光回線の一方から他方に切り替える回線切り替え部、
回線切り替え部から入力する光信号より主信号データと主信号クロックを抽出する光受信機、
該主信号データに含まれるスタッフデータを削除するデスタッフ部、
を備え、前記デスタッフ部は、
前記スタッフデータを削除された主信号データを記憶するFIFOメモリと、該FIFOメモリをリセットしたとき、前記スタッフデータが削除された主信号データを順番にFIFOメモリに書き込み、メモリサイズの半分まで主信号データを書き込んでから該主信号データを順番に読み出す書き込み/読出し制御部とを備えたFIFO部、
前記FIFOメモリの読み出しパルスを発生する読み出しパルス発生部、
前記FIFOメモリの書き込みパルスとなる主信号クロックパルスからスタッフデータに対応する位置のクロックパルスを削除するパルス削除部、
前記クロックパルス削除部から出力するパルスと前記読み出しパルスの周波数が一致するように該読み出しパルスの周波数を制御する制御部、
回線異常発生により一方の光回線から他方の光回線への切り替え完了後に、FIFOメモリをリセットするリセット信号発生部、
前記FIFOメモリリセット後、読み出しパルス周波数が安定したとき、前記FIFOメモリのデータ残量とFIFOメモリのサイズMの1/2との差が零となるように前記パルス削除部から出力されるパルスの数を制御するパルス数制御部、
を備えたことを特徴とする光伝送装置。
(付記2)
前記パルス数制御部は、前記FIFOメモリがリセットされてから所定時間後に、前記パルス数制御を開始する、
ことを特徴とする付記1記載の光伝送装置。
(付記3)
前記書き込みパルス周波数制御部は、
前記FIFOメモリの書き込みアドレスと読出しアドレスの差をデータ残量とし、前記差が正であれば、前記パルス削除部から出力されるパルスに1パルス挿入するよう制御し、前記差が負であれば、前記パルスから1パルス削除するよう制御する制御部、
前記制御部からの指示に従って前記パルスに1パルスを挿入し、あるいは前記パルスから1パルスを削除するパルス調整部、
を備えたことを特徴とする付記1または2記載の光伝送装置。
(付記4)
前記リセット信号発生部は、前記光受信機に入力する光信号レベルが設定レベル以上になり、かつ、光受信機から出力する主信号クロックが安定したとき、FIFOメモリをリセットすることを特徴とする付記1記載の光伝送装置。
(付記5)
前記リセット信号発生部は、
正常時、前記FIFOメモリのデータ残量が第1の設定値より小さくなったとき及び該データ残量が第2の設定値より大きくなったときFIFOメモリをリセットし、
回線異常時、前記第1の設定値と第2の設定値の差を狭くしてFIFOメモリのリセット制御を行い、回線異常検出時刻あるいは回線切替完了時刻から設定時間後に、第1、第2の設定値を正常時の値に戻すことを特徴とする付記1記載の光伝送装置。
(付記6)
前記主信号クロックパルスと同一周波数のパルスを発生する固定発振器、
回線異常発生により主信号クロックパルスに代えて前記固定発振器から出力するパルスを前記パルス削除部に入力するパルス切り替え部、
回線異常発生により前記パルス削除部のクロックパルス削除機能を停止する信号を発生するパルス削除停止信号発生部、
を備えたことを特徴とする付記1記載の光伝送装置。
(付記7)
回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置において、
回線異常を検出して現用光回線と予備光回線の一方から他方に切り替える回線切り替え部、
回線切り替え部から入力する光信号より主信号データと主信号クロックを抽出する光受信機、
該主信号データに含まれるスタッフデータを削除するデスタッフ部、
を備え、前記デスタッフ部は、
前記スタッフデータを削除された主信号データを記憶するFIFOメモリと、該FIFOメモリをリセットしたとき、前記スタッフデータが削除された主信号データを順番にFIFOメモリに書き込み、メモリサイズの半分まで主信号データを書き込んでから該主信号データを順番に読み出す書き込み/読出し制御部とを備えたFIFO部、
前記FIFOメモリの読み出しパルスを発生する読み出しパルス発生部、
前記FIFOメモリの書き込みパルスとなる主信号クロックパルスからスタッフデータに対応する位置のクロックパルスを削除するパルス削除部、
前記クロックパルス削除部から出力するパルスと前記読み出しパルスの周波数が一致するように該読み出しパルスの周波数を制御する制御部、
前記主信号クロックパルスと同一の周波数のパルスを発生する固定発振器、
回線異常発生により主信号クロックパルスに代えて前記固定発振器から出力するパルスを前記パルス削除部に入力するパルス切り替え部、
回線異常発生により前記パルス削除部のクロックパルス削除機能を停止する信号を発生するパルス削除停止信号発生部、
回線異常発生により一方の光回線から他方の光回線への切り替え完了後に、FIFOメモリをリセットするリセット信号発生部、
を備えたことを特徴とする光伝送装置。
・ Additional notes
(Appendix 1)
In an optical transmission apparatus having a line switching function at the time of a line abnormality and a destuffing function for deleting stuff data included in main signal data,
A line switching unit that detects a line abnormality and switches from one of the working optical line and the protection optical line to the other,
An optical receiver that extracts main signal data and a main signal clock from an optical signal input from a line switching unit;
A destuffing section for deleting stuffing data included in the main signal data;
The de-staff section comprises
A FIFO memory for storing the main signal data from which the stuff data has been deleted, and when the FIFO memory is reset, the main signal data from which the stuff data has been deleted is sequentially written into the FIFO memory, and the main signal is reduced to half the memory size. A FIFO unit including a write / read control unit that sequentially reads the main signal data after writing the data;
A read pulse generator for generating a read pulse of the FIFO memory;
A pulse deletion unit for deleting a clock pulse at a position corresponding to the stuff data from a main signal clock pulse which is a write pulse of the FIFO memory;
A control unit that controls the frequency of the readout pulse so that the pulse output from the clock pulse deletion unit and the frequency of the readout pulse match;
A reset signal generator that resets the FIFO memory after completion of switching from one optical line to the other due to the occurrence of a line abnormality,
After the FIFO memory reset, when the read pulse frequency is stabilized, the pulse output from the pulse deletion unit is set so that the difference between the remaining data amount of the FIFO memory and 1/2 of the FIFO memory size M becomes zero. Pulse number control unit to control the number,
An optical transmission device comprising:
(Appendix 2)
The pulse number control unit starts the pulse number control a predetermined time after the FIFO memory is reset,
The optical transmission device as set forth in appendix 1, wherein:
(Appendix 3)
The write pulse frequency control unit
The difference between the write address and the read address of the FIFO memory is the remaining data, and if the difference is positive, control is performed so that one pulse is inserted into the pulse output from the pulse deletion unit, and if the difference is negative , A control unit that controls to delete one pulse from the pulse,
A pulse adjusting unit that inserts one pulse into the pulse according to an instruction from the control unit, or deletes one pulse from the pulse,
The optical transmission device according to appendix 1 or 2, characterized by comprising:
(Appendix 4)
The reset signal generation unit resets the FIFO memory when an optical signal level input to the optical receiver is equal to or higher than a set level and a main signal clock output from the optical receiver is stable. The optical transmission apparatus according to appendix 1.
(Appendix 5)
The reset signal generator is
When normal, when the remaining amount of data in the FIFO memory becomes smaller than the first set value and when the remaining amount of data becomes larger than the second set value, the FIFO memory is reset.
When the line is abnormal, the difference between the first set value and the second set value is narrowed to perform the FIFO memory reset control. After the set time from the line abnormal detection time or the line switching completion time, the first and second The optical transmission apparatus according to appendix 1, wherein the set value is returned to a normal value.
(Appendix 6)
A fixed oscillator for generating a pulse having the same frequency as the main signal clock pulse;
A pulse switching unit that inputs a pulse output from the fixed oscillator to the pulse deletion unit instead of the main signal clock pulse due to the occurrence of a line abnormality;
A pulse deletion stop signal generator for generating a signal for stopping the clock pulse deletion function of the pulse deletion unit due to occurrence of a line abnormality;
The optical transmission apparatus according to appendix 1, wherein the optical transmission apparatus is provided.
(Appendix 7)
In an optical transmission device having a line switching function at the time of a line abnormality and a destuffing function for deleting stuff data included in main signal data,
A line switching unit that detects a line abnormality and switches from one of the working optical line and the protection optical line to the other,
An optical receiver that extracts main signal data and a main signal clock from an optical signal input from a line switching unit;
A destuffing section for deleting stuffing data included in the main signal data;
The de-staff section comprises
A FIFO memory for storing the main signal data from which the stuff data has been deleted, and when the FIFO memory is reset, the main signal data from which the stuff data has been deleted is sequentially written into the FIFO memory, and the main signal is reduced to half the memory size. A FIFO unit including a write / read control unit that sequentially reads the main signal data after writing the data;
A read pulse generator for generating a read pulse of the FIFO memory;
A pulse deletion unit for deleting a clock pulse at a position corresponding to the stuff data from a main signal clock pulse which is a write pulse of the FIFO memory;
A control unit that controls the frequency of the readout pulse so that the pulse output from the clock pulse deletion unit and the frequency of the readout pulse match;
A fixed oscillator that generates a pulse having the same frequency as the main signal clock pulse;
A pulse switching unit that inputs a pulse output from the fixed oscillator to the pulse deletion unit instead of the main signal clock pulse due to the occurrence of a line abnormality;
A pulse deletion stop signal generator for generating a signal for stopping the clock pulse deletion function of the pulse deletion unit due to occurrence of a line abnormality;
A reset signal generator that resets the FIFO memory after completion of switching from one optical line to the other due to the occurrence of a line abnormality,
An optical transmission device comprising:

光伝送装置TRUにおける本発明に関連する部分の構成図である。It is a block diagram of the part relevant to this invention in the optical transmission apparatus TRU. 第1実施例のデスタッフ部の構成図である。It is a block diagram of the destuffing part of 1st Example. FIFO部の構成図である。It is a block diagram of a FIFO part. 回線切替完了後に読出しパルスRPの周波数が安定したときの未読出しデータ数の説明図である。It is explanatory drawing of the number of unread data when the frequency of read-out pulse RP is stabilized after completion | finish of line switching. センタリング制御処理フローである。It is a centering control processing flow. 現用回線に障害が発生して回線復旧するまでの第1実施例のタイムチャートである。6 is a time chart of the first embodiment from when a failure occurs on the working line until the line is restored. 本発明の第2実施例のデスタッフ部の構成図である。It is a block diagram of the destuffing part of 2nd Example of this invention. 現用回線に障害が発生して回線復旧するまでの第2実施例のタイムチャートである。6 is a time chart of a second embodiment from when a failure occurs in an active line until the line is restored. 本発明の第3実施例のデスタッフ部の構成図である。It is a block diagram of the destuffing part of 3rd Example of this invention. アンダーフロー状態と認定する第1の設定値THu、オーバフロー状態と認定する第2設定値THoの説明図である。It is explanatory drawing of 1st setting value THu recognized as an underflow state, and 2nd setting value THo recognized as an overflow state. 現用回線に障害が発生して回線復旧するまでの第3実施例のタイムチャートである。FIG. 10 is a time chart of the third embodiment from when a failure occurs in an active line until the line is restored. STS-1のフレーム構成図である。It is a frame block diagram of STS-1. 伝送装置TRUをリング状に接続した伝送網の説明図である。It is explanatory drawing of the transmission network which connected the transmission apparatus TRU in the ring shape. 従来の光伝送装置TRUの要部構成図である。It is a principal part block diagram of the conventional optical transmission apparatus TRU. 光受信機の構成図である。It is a block diagram of an optical receiver. デスタッフ部の概略動作説明図である。It is a schematic operation | movement explanatory drawing of a destuffing part. 従来のデスタッフ部の構成図である。It is a block diagram of the conventional destuffing part. PLL位相差信号発生のタイムチャートである。It is a time chart of PLL phase difference signal generation. FIFOメモリのへの書き込み読出し制御の第1の説明図である。FIG. 3 is a first explanatory diagram of write / read control to a FIFO memory. FIFOメモリのへの書き込み読出し制御の第2の説明図である。FIG. 10 is a second explanatory diagram of writing / reading control to / from the FIFO memory. 現用回線に障害が発生して回線復旧するまでのタイムチャートTime chart from the failure of the working line to the restoration of the line 読出しパルス周波数と書き込みパルス周波数の大小関係と未読み出しデータ量(FIFOデータ量)の関係図である。FIG. 4 is a relationship diagram between a magnitude relationship between a read pulse frequency and a write pulse frequency and an unread data amount (FIFO data amount).

符号の説明Explanation of symbols

18 デスタッフ部
18a 変換部
18b 分周器
18c FIFO部
18d パルス削除部
18e オーバヘッド監視部
18f 電圧可変発振器(VCO)
18j EXOR回路
18k ローパスフィルタ
21 センタリング制御部
22 パルス調整部

18 Destuffing section 18a Conversion section 18b Frequency divider 18c FIFO section 18d Pulse deletion section 18e Overhead monitoring section 18f Variable voltage oscillator (VCO)
18j EXOR circuit 18k Low pass filter 21 Centering control unit 22 Pulse adjustment unit

Claims (5)

回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置において、
回線異常を検出して現用光回線と予備光回線の一方から他方に切り替える回線切り替え部、
回線切り替え部から入力する光信号より主信号データと主信号クロックを抽出する光受信機、
該主信号データに含まれるスタッフデータを削除するデスタッフ部、
を備え、前記デスタッフ部は、
前記スタッフデータを削除された主信号データを記憶するFIFOメモリと、該FIFOメモリをリセットしたとき、前記スタッフデータが削除された主信号データを順番にFIFOメモリに書き込み、メモリサイズの半分まで主信号データを書き込んでから該主信号データを順番に読み出す書き込み/読出し制御部とを備えたFIFO部、
前記FIFOメモリの読み出しパルスを発生する読み出しパルス発生部、
前記FIFOメモリの書き込みパルスとなる主信号クロックパルスからスタッフデータに対応する位置のクロックパルスを削除するパルス削除部、
前記クロックパルス削除部から出力するパルスと前記読み出しパルスの周波数が一致するように該読み出しパルスの周波数を制御する制御部、
回線異常発生により一方の光回線から他方の光回線への切り替え完了後に、FIFOメモリをリセットするリセット信号発生部、
前記FIFOメモリのリセット後、読み出しパルス周波数が安定したとき、前記FIFOメモリのデータ残量とFIFOメモリのサイズMの1/2との差が零となるように前記パルス削除部から出力されるパルスの数を制御するパルス数制御部、
を備えたことを特徴とする光伝送装置。
In an optical transmission device having a line switching function at the time of a line abnormality and a destuffing function for deleting stuff data included in main signal data,
A line switching unit that detects a line abnormality and switches from one of the working optical line and the protection optical line to the other,
An optical receiver that extracts main signal data and a main signal clock from an optical signal input from a line switching unit;
A destuffing section for deleting stuffing data included in the main signal data;
The de-staff section comprises
FIFO memory for storing the main signal data from which the stuff data has been deleted, and when the FIFO memory is reset, the main signal data from which the stuff data has been deleted is sequentially written into the FIFO memory, and the main signal is reduced to half the memory size. A FIFO unit including a write / read control unit that sequentially reads the main signal data after writing the data;
A read pulse generator for generating a read pulse of the FIFO memory;
A pulse deletion unit for deleting a clock pulse at a position corresponding to the stuff data from a main signal clock pulse which is a write pulse of the FIFO memory;
A control unit that controls the frequency of the readout pulse so that the pulse output from the clock pulse deletion unit and the frequency of the readout pulse match;
A reset signal generator that resets the FIFO memory after completion of switching from one optical line to the other due to the occurrence of a line abnormality,
After the reset of the FIFO memory, when the read pulse frequency is stabilized, the pulse output from the pulse deletion unit so that the difference between the remaining data amount of the FIFO memory and 1/2 of the size M of the FIFO memory becomes zero A pulse number control unit for controlling the number of
An optical transmission device comprising:
前記パルス数制御部は、
前記FIFOメモリの書き込みアドレスと読出しアドレスの差をデータ残量とし、前記差が正であれば、前記パルス削除部から出力されるパルスに1パルス挿入するよう制御し、前記差が負であれば、前記パルスから1パルス削除するよう制御する制御部、
前記制御部からの指示に従って前記パルスに1パルスを挿入し、あるいは前記パルスから1パルスを削除するパルス調整部、
を備えたことを特徴とする請求項1記載の光伝送装置。
The pulse number control unit
The difference between the write address and read address of the FIFO memory is the remaining data, and if the difference is positive, control is performed so that one pulse is inserted into the pulse output from the pulse deletion unit, and if the difference is negative , A control unit that controls to delete one pulse from the pulse,
A pulse adjusting unit that inserts one pulse into the pulse according to an instruction from the control unit, or deletes one pulse from the pulse,
The optical transmission apparatus according to claim 1, further comprising:
前記リセット信号発生部は、
正常時、前記FIFOメモリのデータ残量が第1の設定値より小さくなったとき及び該データ残量が第2の設定値より大きくなったときFIFOメモリをリセットし、
回線異常時、前記第1の設定値と第2の設定値の差を狭くしてFIFOメモリのリセット制御を行い、回線異常検出時刻あるいは回線切替完了時刻から設定時間後に、第1、第2の設定値を正常時の値に戻すことを特徴とする請求項1記載の光伝送装置。
The reset signal generator is
When normal, when the remaining amount of data in the FIFO memory becomes smaller than the first set value and when the remaining amount of data becomes larger than the second set value, the FIFO memory is reset.
When the line is abnormal, the difference between the first set value and the second set value is narrowed to perform the FIFO memory reset control. After the set time from the line abnormal detection time or the line switching completion time, the first and second 2. The optical transmission apparatus according to claim 1, wherein the set value is returned to a normal value.
前記主信号クロックパルスと同一周波数のパルスを発生する固定発振器、
回線異常発生により主信号クロックパルスに代えて前記固定発振器から出力するパルスを前記パルス削除部に入力するパルス切り替え部、
回線異常発生により前記パルス削除部のクロックパルス削除機能を停止する信号を発生するパルス削除停止信号発生部、
を備えたことを特徴とする請求項1記載の光伝送装置。
A fixed oscillator for generating a pulse having the same frequency as the main signal clock pulse;
A pulse switching unit that inputs a pulse output from the fixed oscillator to the pulse deletion unit instead of the main signal clock pulse due to the occurrence of a line abnormality;
A pulse deletion stop signal generator for generating a signal for stopping the clock pulse deletion function of the pulse deletion unit due to occurrence of a line abnormality;
The optical transmission apparatus according to claim 1, further comprising:
回線異常時における回線切り替え機能及び主信号データに含まれるスタッフデータを削除するデスタッフ機能を備えた光伝送装置において、
回線異常を検出して現用光回線と予備光回線の一方から他方に切り替える回線切り替え部、
回線切り替え部から入力する光信号より主信号データと主信号クロックを抽出する光受信機、
該主信号データに含まれるスタッフデータを削除するデスタッフ部、
を備え、前記デスタッフ部は、
前記スタッフデータを削除された主信号データを記憶するFIFOメモリと、該FIFOメモリをリセットしたとき、前記スタッフデータが削除された主信号データを順番にFIFOメモリに書き込み、メモリサイズの半分まで主信号データを書き込んでから該主信号データを順番に読み出す書き込み/読出し制御部とを備えたFIFO部、
前記FIFOメモリの読み出しパルスを発生する読み出しパルス発生部、
前記FIFOメモリの書き込みパルスとなる主信号クロックパルスからスタッフデータに対応する位置のクロックパルスを削除するパルス削除部、
前記クロックパルス削除部から出力するパルスと前記読み出しパルスの周波数が一致するように該読み出しパルスの周波数を制御する制御部、
前記主信号クロックパルスと同一の周波数のパルスを発生する固定発振器、
回線異常発生により主信号クロックパルスに代えて前記固定発振器から出力するパルスを前記パルス削除部に入力するパルス切り替え部、
回線異常発生により前記パルス削除部のクロックパルス削除機能を停止する信号を発生するパルス削除停止信号発生部、
回線異常発生により一方の光回線から他方の光回線への切り替え完了後に、FIFOメモリをリセットするリセット信号発生部、
を備えたことを特徴とする光伝送装置。

In an optical transmission device having a line switching function at the time of a line abnormality and a destuffing function for deleting stuff data included in main signal data,
A line switching unit that detects a line abnormality and switches from one of the working optical line and the protection optical line to the other,
An optical receiver that extracts main signal data and a main signal clock from an optical signal input from a line switching unit;
A destuffing section for deleting stuffing data included in the main signal data;
The de-staff section comprises
FIFO memory for storing the main signal data from which the stuff data has been deleted, and when the FIFO memory is reset, the main signal data from which the stuff data has been deleted is sequentially written into the FIFO memory, and the main signal is reduced to half the memory size. A FIFO unit including a write / read control unit that sequentially reads the main signal data after writing the data;
A read pulse generator for generating a read pulse of the FIFO memory;
A pulse deletion unit for deleting a clock pulse at a position corresponding to the stuff data from a main signal clock pulse which is a write pulse of the FIFO memory;
A control unit that controls the frequency of the readout pulse so that the pulse output from the clock pulse deletion unit and the frequency of the readout pulse match;
A fixed oscillator that generates a pulse having the same frequency as the main signal clock pulse;
A pulse switching unit that inputs a pulse output from the fixed oscillator to the pulse deletion unit instead of the main signal clock pulse due to the occurrence of a line abnormality;
A pulse deletion stop signal generator for generating a signal for stopping the clock pulse deletion function of the pulse deletion unit due to occurrence of a line abnormality;
A reset signal generator that resets the FIFO memory after completion of switching from one optical line to the other due to the occurrence of a line abnormality,
An optical transmission device comprising:

JP2006163272A 2006-06-13 2006-06-13 Optical transmission equipment Active JP4699292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006163272A JP4699292B2 (en) 2006-06-13 2006-06-13 Optical transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006163272A JP4699292B2 (en) 2006-06-13 2006-06-13 Optical transmission equipment

Publications (2)

Publication Number Publication Date
JP2007336043A true JP2007336043A (en) 2007-12-27
JP4699292B2 JP4699292B2 (en) 2011-06-08

Family

ID=38935122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006163272A Active JP4699292B2 (en) 2006-06-13 2006-06-13 Optical transmission equipment

Country Status (1)

Country Link
JP (1) JP4699292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013258471A (en) * 2012-06-11 2013-12-26 Fujitsu Ltd Transmitter and transmission method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180151A (en) * 1988-01-12 1989-07-18 Fujitsu Ltd Self-running frequency stability compensation type pll circuit
JPH053463A (en) * 1991-06-25 1993-01-08 Mitsubishi Electric Corp Stuff multiplex communication reception circuit
JPH0575563A (en) * 1991-09-18 1993-03-26 Nec Corp Destuff circuit
JPH1022968A (en) * 1996-07-02 1998-01-23 Oki Tec:Kk Stuff circuit and de-stuff circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01180151A (en) * 1988-01-12 1989-07-18 Fujitsu Ltd Self-running frequency stability compensation type pll circuit
JPH053463A (en) * 1991-06-25 1993-01-08 Mitsubishi Electric Corp Stuff multiplex communication reception circuit
JPH0575563A (en) * 1991-09-18 1993-03-26 Nec Corp Destuff circuit
JPH1022968A (en) * 1996-07-02 1998-01-23 Oki Tec:Kk Stuff circuit and de-stuff circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013258471A (en) * 2012-06-11 2013-12-26 Fujitsu Ltd Transmitter and transmission method

Also Published As

Publication number Publication date
JP4699292B2 (en) 2011-06-08

Similar Documents

Publication Publication Date Title
JP3866826B2 (en) Digital telecommunications transmission system
US8638683B2 (en) Frame signal generating method and frame signal generating device
US6999480B2 (en) Method and apparatus for improving data integrity and desynchronizer recovery time after a loss of signal
US9438365B2 (en) Client signal mapping circuit and mapping method
JP3791983B2 (en) Switching device of active reference by synchronization message
JP3884956B2 (en) SDH transmission equipment
US7002968B1 (en) Transport system and transport method
US7400655B2 (en) Transmission device
US5471511A (en) Digital phase-locked loop arrangement for use in a desynchronizer
JP2003060736A (en) Transmitting device
JP5699759B2 (en) Transmission apparatus and transmission method
JP4699292B2 (en) Optical transmission equipment
US7212599B2 (en) Jitter and wander reduction apparatus
JP2001177491A (en) Optical transmission system, synchronous multiplex transmission system and synchronous multiplex transmission method
US9226050B2 (en) Transmission apparatus and transmission method
US7940651B2 (en) Momentary-disconnection-free switching device
JP4168701B2 (en) Phase adjusting apparatus, phase adjusting method used therefor, and program thereof
JP4183535B2 (en) Optical signal transmission device for speed conversion processing of frame signal
JP3945287B2 (en) Data receiving circuit and data receiving method
JP4941547B2 (en) Optical transmission apparatus and optical transmission method
JP3140285B2 (en) Data rate converter
JP3842534B2 (en) Transmission equipment
DK176259B1 (en) Method for transmitting data signals and method and apparatus for desynchronizing PDH signals
JP3542267B2 (en) Clock erroneous switching prevention transmission apparatus and clock switching method
JP5077006B2 (en) Communication apparatus, communication system, and mapping method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110302

R150 Certificate of patent or registration of utility model

Ref document number: 4699292

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250