JPH08251151A - Synchronized changing device - Google Patents

Synchronized changing device

Info

Publication number
JPH08251151A
JPH08251151A JP7052456A JP5245695A JPH08251151A JP H08251151 A JPH08251151 A JP H08251151A JP 7052456 A JP7052456 A JP 7052456A JP 5245695 A JP5245695 A JP 5245695A JP H08251151 A JPH08251151 A JP H08251151A
Authority
JP
Japan
Prior art keywords
signal
data signal
working
division ratio
frequency division
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
JP7052456A
Other languages
Japanese (ja)
Other versions
JP2715966B2 (en
Inventor
Kaori Hosoya
香織 細谷
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 JP7052456A priority Critical patent/JP2715966B2/en
Publication of JPH08251151A publication Critical patent/JPH08251151A/en
Application granted granted Critical
Publication of JP2715966B2 publication Critical patent/JP2715966B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To obtain the concrete constitution of a synchronized switching device capable of switching line without hit. CONSTITUTION: An active-side data signal DATAI is directly inputted to a switching circuit-7 and a reserving-side data signal DATAIS is delayed by a FIFO memory 12 to be a data signal DATAR and inputted to the switching circuit 7. A counting circuit 5 detects the relative delay time difference between both data signals inputted to the switching circuit 7 from a frame pulse generated by frame synchronization circuits 3 and 4. A control circuit 6 controls the frequency dividing rate N of an N-frequency divider 12 so as to eliminate the relative delay time difference. When a frequency dividing rate N is made larger than the frequency dividing rate M of an M-frequency divider 11, the delay quantity of the FIFO memory 12 is increased but when being made smaller, the delay quantity is reduced. This control eliminates the relative delay time difference between both data signals inputted to the switching circuit 7 to attain syncronized switching.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデジタル無線通信システ
ムに使用される同期切替え装置に関し、特にデジタル無
線通信システムの受端で現用回線を予備回線に瞬断無し
に切替える同期切替え装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous switching device used in a digital wireless communication system, and more particularly to a synchronous switching device for switching a working line to a protection line at a receiving end of the digital wireless communication system without interruption.

【0002】[0002]

【従来の技術】通信システムの現用回線を予備回線に切
替える場合、まず送端で予備回線を現用回線に並列に接
続して伝送する信号を予備回線にも通し、続いて受端を
現用回線から予備回線に切替える。伝送する信号がデジ
タル信号であり現用回線と予備回線との相対遅延時間差
が1クロック周期以上あると、現用回線で伝送されてき
た信号と予備回線で伝送されてきた信号とをそのまま受
端で切替えるとビットが欠落したり重複したりして瞬断
が生じる。この瞬断を避けるために相対遅延時間差を1
クロック周期以内に調整する必要がある。
2. Description of the Related Art When switching a working line of a communication system to a protection line, first a transmission line connects the protection line to the working line in parallel and a signal to be transmitted is also passed through the protection line. Switch to the protection line. When the signal to be transmitted is a digital signal and the relative delay time difference between the working line and the protection line is 1 clock cycle or more, the signal transmitted on the working line and the signal transmitted on the protection line are directly switched at the receiving end. And a bit is missing or duplicated and a momentary interruption occurs. To avoid this interruption, set the relative delay time difference to 1
Must be adjusted within the clock period.

【0003】回線が無線回線の場合、伝播時間がフェー
ジング等で変動して現用回線と予備回線との相対遅延時
間差が1クロック周期以上変動することがある。そのた
め、相対遅延時間差の平均、いいかえれば相対遅延時間
差の固定成分が1クロック周期以内になるように初期調
整しておくが、更に変動成分の調整が必要である。
When the line is a wireless line, the propagation time may fluctuate due to fading or the like, and the relative delay time difference between the working line and the protection line may fluctuate by one clock cycle or more. Therefore, although the average of the relative delay time differences, in other words, the fixed component of the relative delay time differences is initially adjusted so as to be within one clock cycle, it is necessary to further adjust the fluctuation component.

【0004】相対遅延時間差を調整するために可変遅延
回路を設け、現用回線で伝送されてきた信号と予備回線
で伝送されてきた信号とのフレーム位相を比較して相対
遅延時間差を検出し、この検出結果に基づき可変遅延回
路の遅延量を制御する方式の同期切替え装置が知られて
いる。
A variable delay circuit is provided to adjust the relative delay time difference, and the relative delay time difference is detected by comparing the frame phases of the signal transmitted on the working line and the signal transmitted on the protection line. There is known a synchronous switching device of a system that controls a delay amount of a variable delay circuit based on a detection result.

【0005】[0005]

【発明が解決しようとする課題】本発明の目的は、かか
る方式をとる同期切替え装置の具体的な構成を提供する
ことにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a concrete structure of a synchronous switching device adopting such a system.

【0006】[0006]

【課題を解決するための手段】本発明の同期切替え装置
は、現用無線回線で伝送されてきた現用側データ信号と
前記現用無線回線を切替えるべき予備無線回線で伝送さ
れてきた予備側データ信号との相対遅延時間差を調整し
て前記現用側データ信号を前記予備側データ信号に瞬断
無しに切替える同期切替え装置であって、入力するクロ
ック信号を分周比M(Mは2以上の整数)で分周して出
力する第1の分周器と、前記予備側データ信号のクロッ
クである予備側クロック信号を分周比N(Nは2以上の
整数)で分周して出力する第2の分周器と、前記第1及
び第2の分周器がそれぞれ分周して出力した信号の位相
差を検出する位相比較器と、この位相比較器が検出した
位相差が小さくなるように出力位相が制御されて前記ク
ロック信号を発生し前記第1の分周器へ出力する可変周
波数発振器とを備え、前記クロック信号を読出しクロッ
ク信号として出力する読出し制御部と、前記予備側デー
タ信号を入力し前記予備側クロック信号を書込みクロッ
クとして順次書込み前記読出し制御部から供給される前
記読出しクロック信号を読出しクロックとして順次読出
し出力するFIFOメモリと、このFIFOメモリが読
出したデータ信号にフレーム同期して予備側フレームパ
ルスを出力する予備側フレーム同期回路と、前記現用側
データ信号にフレーム同期して現用側フレームパルスを
出力する現用側フレーム同期回路と、前記現用側フレー
ムパルスに対する前記予備側フレームパルスの進み遅れ
を検出し進んでいるときは前記分周比Mに対する前記前
記分周比Nの比である値N/Mを1より大きくし遅れて
いるときは1より小さくするように前記第1及び第2の
分周器の少なくともいずれか一方の分周比を制御し前記
現用側フレームパルスと前記予備側フレームパルスとの
タイミングが一致すると切替え制御信号を出力する制御
手段と、前記現用側データ信号と前記現用側データ信号
のクロックである現用側クロック信号と前記FIFOメ
モリが読出したデータ信号と前記読出しクロック信号と
を入力し前記制御手段から前記切替え制御信号が入力す
るまでは前記現用側データ信号と前記現用側クロック信
号とを選択して出力し前記切替え制御信号が入力すると
前記FIFOメモリが読出したデータ信号と前記読出し
クロック信号とを選択して出力する切替え回路とを具備
している。
SUMMARY OF THE INVENTION A synchronous switching device of the present invention comprises a working side data signal transmitted by a working wireless line and a standby side data signal transmitted by a spare wireless line for switching the working wireless line. Is a synchronous switching device that adjusts the relative delay time difference between the active side data signal and the standby side data signal without instantaneous interruption, and the input clock signal is divided by a division ratio M (M is an integer of 2 or more). A first frequency divider for dividing and outputting, and a second divider for dividing and outputting a spare side clock signal which is a clock of the spare side data signal by a dividing ratio N (N is an integer of 2 or more). A frequency divider, a phase comparator for detecting the phase difference between the signals output by the first and second frequency dividers, and output so that the phase difference detected by the phase comparator becomes small. Generates the clock signal with controlled phase A variable frequency oscillator for outputting to the first frequency divider; a read control unit for outputting the clock signal as a read clock signal; and a sequence for inputting the spare side data signal and using the spare side clock signal as a write clock. A FIFO memory that sequentially reads and outputs the read clock signal supplied from the read control unit as a read clock, and a standby frame synchronization circuit that outputs a standby frame pulse in frame synchronization with the data signal read by the FIFO memory. A working-side frame synchronizing circuit that outputs a working-side frame pulse in frame synchronization with the working-side data signal; The value N / M, which is the ratio of the dividing ratio N to the dividing ratio M, is set to 1 Timing of the working side frame pulse and the spare side frame pulse by controlling the frequency division ratio of at least one of the first and second frequency dividers so as to make the value smaller than 1 When the two coincide with each other, a control means for outputting a switching control signal, a working side data signal, a working side clock signal which is a clock of the working side data signal, a data signal read by the FIFO memory and the read clock signal are inputted. Until the switching control signal is input from the control means, the active side data signal and the active side clock signal are selected and output, and when the switching control signal is input, the data signal read by the FIFO memory and the read clock And a switching circuit for selecting and outputting a signal.

【0007】本発明における前記制御手段は、前記現用
側フレームパルスが入力してから前記予備側フレームパ
ルスが入力するまでの期間に入力する前記読出しクロッ
ク信号を計数して計数値を出力する計数回路と、前記現
用側データ信号と前記予備側データ信号とのフレーム長
の情報および前記計数回路が出力した前記計数値に基づ
きに基づいて前記現用側フレームパルスに対する前記予
備側フレームパルスの進み遅れを検出し進んでいるとき
は前記分周比Nを前記分周比Mより大きくし遅れている
ときは前記分周比Mより小さくし進み遅れがないときは
前記分周比Mに等しくするように前記第2の分周器の分
周比Nを制御する制御回路とを含んでいてもよい。
In the present invention, the control means counts the read clock signal input during the period from the input of the working frame pulse to the input of the standby frame pulse, and outputs a count value. And detecting the advance or lag of the spare side frame pulse with respect to the working side frame pulse based on the frame length information of the working side data signal and the spare side data signal and the count value output from the counting circuit. The frequency division ratio N is made larger than the frequency division ratio M when advancing, and is made smaller than the frequency division ratio M when being delayed, and equalized to the frequency division ratio M when there is no advance or delay. A control circuit for controlling the frequency division ratio N of the second frequency divider may be included.

【0008】[0008]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0009】本発明の1実施例を示す図1を参照する
と、読出し制御部1のM分周器11は、入力するクロッ
ク信号をM分周して出力する。N分周器12は、分周比
Nが可変な分周器であり、予備回線で伝送されてきた予
備側データ信号DATAISのクロックである予備側ク
ロック信号CLKISをN分周して出力する。位相比較
器13は、M分周器11出力とN分周器12出力との位
相差を検出して検出結果を出力する。排他的論理和回路
を位相比較器13として用いることができる。フィルタ
14は位相比較器13出力を平滑化して出力する。VC
O15は、フィルタ14出力により出力位相が制御され
るクロック発生器であり、発生したクロック信号をM分
周器11へ出力し、又、読出しクロック信号CLKRと
して出力する。VCO15の出力位相はフィルタ14出
力が小さくなるように、いいかえればM分周器11出力
とN分周器12出力との位相差が小さくなるように制御
される。N分周器12の分周比NがM分周器11の分周
比Mと等しければ、VCO15の出力する読出しクロッ
ク信号CLKRは予備側クロック信号CLKISに位相
同期している。
Referring to FIG. 1 showing an embodiment of the present invention, an M divider 11 of the read control unit 1 divides an input clock signal by M and outputs it. The N frequency divider 12 is a frequency divider having a variable frequency division ratio N, and divides the frequency of the standby side clock signal CLKIs, which is the clock of the standby side data signal DATAIS, transmitted through the standby line by N and outputs the result. The phase comparator 13 detects the phase difference between the output of the M frequency divider 11 and the output of the N frequency divider 12 and outputs the detection result. An exclusive OR circuit can be used as the phase comparator 13. The filter 14 smoothes the output of the phase comparator 13 and outputs it. VC
O15 is a clock generator whose output phase is controlled by the output of the filter 14 and outputs the generated clock signal to the M frequency divider 11 and also as the read clock signal CLKR. The output phase of the VCO 15 is controlled so that the output of the filter 14 becomes small, in other words, the phase difference between the output of the M divider 11 and the output of the N divider 12 becomes small. If the frequency division ratio N of the N frequency divider 12 is equal to the frequency division ratio M of the M frequency divider 11, the read clock signal CLKR output from the VCO 15 is in phase synchronization with the standby side clock signal CLKIs.

【0010】FIFOメモリ2は、予備側クロック信号
CLKISを書込みクロックとして予備側データ信号D
ATAISを順次書込み、VCO15が出力する読出し
クロック信号CLKRを読出しクロックとして順次読出
し、データ信号DATARとして出力する。
The FIFO memory 2 uses the spare side clock signal CLKIS as a write clock for the spare side data signal D.
The ATAIS is sequentially written, the read clock signal CLKR output from the VCO 15 is sequentially read as the read clock, and the data signal DATAR is output.

【0011】フレーム同期回路3は、FIFOメモリ2
が出力したデータ信号DATARとそのクロックである
読出しクロック信号CLKRとを入力し、データ信号D
ATARにフレーム同期して予備側フレームパルスFP
Sを出力する。フレーム同期回路4は、現用回線で伝送
されてきた現用側データ信号DATAI及びそのクロッ
クである現用側クロック信号CLKIを入力し、現用側
データ信号DATAIにフレーム同期して現用側フレー
ムパルスFPを出力する。
The frame synchronization circuit 3 includes a FIFO memory 2
The data signal DATAR output by the CPU and the read clock signal CLKR that is the clock thereof are input, and the data signal D
Frame pulse FP on the spare side in frame synchronization with ATAR
Output S. The frame synchronization circuit 4 receives the working side data signal DATAI transmitted through the working line and the working side clock signal CLKI which is the clock thereof, and outputs the working side frame pulse FP in frame synchronization with the working side data signal DATAI. .

【0012】計数回路5は、現用側フレームパルスFP
をスタート信号とし予備側フレームパルスFPSをスト
ップ信号として読出しクロック信号CLKRを計数し、
計数値を出力する。この計数値は、現用側フレームパル
スFPを基準として予備側フレームパルスFPSが何ク
ロック周期分遅れているかを示す信号であり、現用側デ
ータ信号DATAIを基準としてデータ信号DATAR
が何クロック周期分遅れているかを示す信号になってい
る。現用側データ信号DATAIとデータ信号DATA
Rとの相対遅延時間差がなければ、計数値は零になる。
制御回路6は、データ信号のフレーム長の情報と計数回
路5が出力した計数値と回線切替え制御装置(図示せ
ず)かの回線切替え指令に基づいて、現用側データ信
号DATAIとデータ信号DATARとの相対遅延時間
差が小さくなるようにN分周器12の分周比Nを制御
し、又、計数回路5が出力した計数値が零になると切替
え制御信号を発生して出力する。
The counting circuit 5 uses the active-side frame pulse FP.
Is used as a start signal and the spare frame pulse FPS is used as a stop signal to count the read clock signal CLKR,
Output the count value. This count value is a signal indicating how many clock cycles the standby frame pulse FPS is delayed with respect to the active frame pulse FP, and the data signal DATAR is referenced with the active data signal DATAI as a reference.
Is a signal indicating how many clock cycles are delayed. Working side data signal DATAI and data signal DATA
If there is no relative delay time difference with R, the count value becomes zero.
The control circuit 6, the frame length information and count value counting circuit 5 and outputs the line switching controller of the data signal based on the (not shown) or these line switching command, use side data signal DATAI and data signals DATAR The frequency division ratio N of the N frequency divider 12 is controlled so that the relative delay time difference between the control circuit and the control circuit is reduced, and when the count value output from the counting circuit 5 becomes zero, a switching control signal is generated and output.

【0013】切替え回路7は、現用側データ信号DAT
AI,現用側クロック信号CLKI,データ信号DAT
AR,読出しクロック信号CLKRを入力し、制御回路
6から切替え制御信号が入力すると、出力データ信号D
ATAO,出力クロック信号CLKOとして選択出力す
る信号をそれまでの現用側データ信号DATAI,現用
側クロック信号CLKIからデータ信号DATAR,読
出しクロック信号CLKRに切替える。
The switching circuit 7 has a working data signal DAT.
AI, working clock signal CLKI, data signal DAT
When the AR and the read clock signal CLKR are input and the switching control signal is input from the control circuit 6, the output data signal D
The signals selectively output as the ATAO and the output clock signal CLKO are switched from the currently used data signal DATAI and the currently used clock signal CLKI to the data signal DATAR and the read clock signal CLKR.

【0014】図1に示す実施例は以上説明した構成にな
っているので、現用回線で伝送されてきた現用側データ
信号DATAI及びそのクロックである現用側クロック
信号CLKIは切替え回路7に直接入力する。回線切替
え制御装置からの回線切替え指令により送端で現用回線
に並列接続された予備回線で伝送されてきた予備側デー
タ信号DATAISは、FIFOメモリ2に順次書込ま
れ読出さることにより遅延され、データ信号DATAR
となってそのクロックである読出しクロック信号CLK
Rと共に切替え回路7に入力する。
Since the embodiment shown in FIG. 1 has the configuration described above, the working side data signal DATAI transmitted through the working line and the working side clock signal CLKI which is the clock thereof are directly input to the switching circuit 7. . The spare side data signal DATAIS transmitted by the spare line connected in parallel to the working line at the sending end in response to the line switch command from the line switch control device is sequentially written in the FIFO memory 2 and delayed by reading the data, Signal DATAR
And its clock is the read clock signal CLK
It is input to the switching circuit 7 together with R.

【0015】現用側データ信号DATAIと予備側デー
タ信号DATAISとの相対遅延時間差の最大変動幅が
±mクロック周期であるとして、FIFOメモリ2によ
りこの最大変動幅を調整するため、FIFOメモリ2の
データ信号記憶容量を2m+1クロック周期分にする。
又、現用側データ信号DATAIが予備側データ信号D
ATAISに対して平均としてmクロック周期遅れるよ
うに相対遅延時間差の固定成分の初期調整をしておく。
これ等設定により、FIFOメモリ2による遅延量は最
小0,最大2mクロック周期となり、データ信号DAT
ARは予備側データ信号DATAISより最小0,最大
2mクロック周期だけ遅れるから、切替え回路7に入力
する両データ信号の相対遅延時間差は±mクロック周期
以下となる。FIFOメモリ1による遅延量を調整して
切替え回路7に入力する両データ信号の相対遅延時間差
を1クロック周期以内にできる。
Assuming that the maximum fluctuation width of the relative delay time difference between the data signal DATAI on the working side and the data signal DATAIS on the protection side is ± m clock cycles, the FIFO memory 2 adjusts the maximum fluctuation width, and therefore the data in the FIFO memory 2 is adjusted. The signal storage capacity is set to 2m + 1 clock cycle.
In addition, the working side data signal DATAI is the spare side data signal D.
The fixed component of the relative delay time difference is initially adjusted so as to be delayed by m clock cycles on average with respect to ATAIS.
With these settings, the delay amount by the FIFO memory 2 becomes a minimum of 0 and a maximum of 2 m clock cycle, and the data signal DAT
Since AR is delayed from the spare side data signal DATAIS by a minimum of 0 and a maximum of 2 m clock cycles, the relative delay time difference between both data signals input to the switching circuit 7 is ± m clock cycles or less. By adjusting the delay amount by the FIFO memory 1, the relative delay time difference between both data signals input to the switching circuit 7 can be set within one clock cycle.

【0016】計数回路5が出力する計数値をnとして、
データ信号DATARが現用側データ信号DATAIに
対して遅れている場合、計数値nはクロック周期を単位
とするこの遅れそのものである。逆に進んでいる場合、
計数回路5のストップ信号である予備側フレームパルス
FPSはスタート信号である現用側フレームパルスFP
のフレームより1フレーム後のフレームのフレームパル
スであるから、フレーム長をfクロック周期として、値
f−nがこの進みである。データ信号DATARと現用
側データ信号DATAIとの相対遅延時間差は±mクロ
ック周期以下であることとフレーム長fクロック周期は
相対遅延時間差の最大変動幅±mクロック周期よりはる
かに大きいこととから、この場合の値nは値fよりやや
小さく値mよりはるかに大きい。このことから、値fと
値mとの間のしきい値で計数値nをしきい値判定して進
みか遅れかの識別をすることができる。
The count value output from the counting circuit 5 is n,
When the data signal DATAR lags the working data signal DATAI, the count value n is the delay itself in clock cycle units. If you are going in reverse,
The standby-side frame pulse FPS, which is the stop signal of the counting circuit 5, is the active-side frame pulse FP, which is the start signal.
Since it is a frame pulse of a frame one frame after the frame of, the value f−n is the advance with the frame length as f clock cycles. Since the relative delay time difference between the data signal DATAR and the working data signal DATAI is ± m clock cycles or less, and the frame length f clock cycle is much larger than the maximum fluctuation width ± m clock cycles of the relative delay time difference. The value n in this case is slightly smaller than the value f and much larger than the value m. From this, it is possible to judge whether the count value n is a threshold value by a threshold value between the value f and the value m, and to discriminate whether it is a lead or a lag.

【0017】制御回路6は、回線切替え指令が入力して
いないときN分周器12の分周比NをM分周器11の分
周比Mに等しくするように制御している。したがって、
このときFIFOメモリ1の読出しクロックである読出
しクロック信号CLKRは書込みクロックである予備側
クロック信号CLKISに位相同期しているので、FI
FOメモリ1による遅延量は初期状態によりきまる量を
とり続ける。
The control circuit 6 controls the frequency division ratio N of the N frequency divider 12 to be equal to the frequency division ratio M of the M frequency divider 11 when no line switching command is input. Therefore,
At this time, the read clock signal CLKR, which is the read clock of the FIFO memory 1, is in phase synchronization with the standby clock signal CLKIs, which is the write clock.
The delay amount due to the FO memory 1 continues to be the amount determined by the initial state.

【0018】制御回路6は、回線切替え指令が入力する
と、計数回路5が出力する計数値nをしきい値判定し、
値nがしきい値より小さい場合、データ信号DATAR
が現用側データ信号DATAIに対して遅れていると判
定する。この場合、制御回路6はN分周器12の分周比
NをM分周器11の分周比Mより値nに応じて小さくす
るように制御する。この制御により読出しクロックであ
る読出しクロック信号CLKRの周波数が書込みクロッ
クである予備側クロック信号CLKISの周波数より高
くなり、書込みクロックの位相に対して読出しクロック
の位相が時間とともに進むので、FIFOメモリ1から
の読出し速度が書込み速度より速くなり、FIFOメモ
リ1による遅延量が時間とともに減少し、データ信号D
ATARの現用側データ信号DATAIに対する遅れが
減少していく。その結果として遅れが無くなり計数回路
5が出力する計数値nが零になると、制御回路6はN分
周器12の分周比NをM分周器11の分周比Mに等しく
し、切替え制御信号を切替え回路7へ出力する。
When the circuit switching command is inputted, the control circuit 6 judges the count value n output from the counting circuit 5 as a threshold value,
If the value n is smaller than the threshold value, the data signal DATAR
Is delayed with respect to the working data signal DATAI. In this case, the control circuit 6 controls the frequency division ratio N of the N frequency divider 12 to be smaller than the frequency division ratio M of the M frequency divider 11 according to the value n. By this control, the frequency of the read clock signal CLKR, which is the read clock, becomes higher than the frequency of the standby clock signal CLKIs, which is the write clock, and the phase of the read clock advances with time with respect to the phase of the write clock. Of the data signal D becomes faster than the writing speed, the delay amount by the FIFO memory 1 decreases with time.
The delay of ATAR with respect to the working data signal DATAI decreases. As a result, when the delay disappears and the count value n output from the counter circuit 5 becomes zero, the control circuit 6 sets the frequency division ratio N of the N frequency divider 12 to be equal to the frequency division ratio M of the M frequency divider 11 and switches. The control signal is output to the switching circuit 7.

【0019】制御回路6は、しきい値判定で値nがしき
い値より大きい場合、データ信号DATARが現用側デ
ータ信号DATAIに対して進んでいると判定する。こ
の場合、制御回路6は値f−nを算出し、N分周器12
の分周比NをM分周器11の分周比Mより値f−nに応
じて大きくするように制御する。この制御により読出し
クロックである読出しクロック信号CLKRの周波数が
書込みクロックである予備側クロック信号CLKISの
周波数より低くなり、書込みクロックの位相に対して読
出しクロックの位相が時間とともに遅れるので、FIF
Oメモリ1からの読出し速度が書込み速度より遅くな
り、FIFOメモリ1による遅延量が時間とともに増大
し、データ信号DATARの現用側データ信号DATA
Iに対する進みが減少していく。その結果として進みが
無くなり計数回路5が出力する計数値nが零になると、
制御回路6はN分周器12の分周比NをM分周器11の
分周比Mに等しくし、切替え制御信号を切替え回路7へ
出力する。
If the value n is larger than the threshold value in the threshold value judgment, the control circuit 6 judges that the data signal DATAR is ahead of the working data signal DATAI. In this case, the control circuit 6 calculates the value f−n, and the N frequency divider 12
The frequency division ratio N is controlled to be larger than the frequency division ratio M of the M frequency divider 11 according to the value f−n. By this control, the frequency of the read clock signal CLKR, which is the read clock, becomes lower than the frequency of the standby clock signal CLKIs, which is the write clock, and the phase of the read clock lags the phase of the write clock with time.
The read speed from the O memory 1 becomes slower than the write speed, the delay amount due to the FIFO memory 1 increases with time, and the active side data signal DATA of the data signal DATAR.
The progress toward I decreases. As a result, when there is no progress and the count value n output from the counting circuit 5 becomes zero,
The control circuit 6 makes the frequency division ratio N of the N frequency divider 12 equal to the frequency division ratio M of the M frequency divider 11 and outputs a switching control signal to the switching circuit 7.

【0020】切替え回路7は、切替え制御信号が入力し
たとき現用側データ信号DATAIとデータ信号DAT
ARとの相対遅延時間差が1クロック周期以内になって
いるので、選択出力する出力データ信号DATAOを現
用側データ信号DATAIからデータ信号DATARに
瞬断無しに切替えることができる。
The switching circuit 7 receives the active side data signal DATAI and the data signal DAT when the switching control signal is input.
Since the relative delay time difference from the AR is within one clock cycle, the output data signal DATAO to be selectively output can be switched from the working side data signal DATAI to the data signal DATAR without interruption.

【0021】制御回路6は、N分周器12の分周比Nを
M分周器11の分周比Mより小さくすることによりFI
FOメモリ1による遅延量を時間とともに減少させ、分
周比Nを分周比Mより大きくすることにより遅延量を時
間とともに増大させて現用側データ信号DATAIとデ
ータ信号DATARとの相対遅延時間差を調整している
が、N分周器12の分周比Nを固定し、分周比Nを小さ
くするかわりにM分周器11の分周比Mを大きくし、分
周比Nを大きくするかわりに分周比Mを小さくするよう
にM分周器11の分周比Mを制御するようにしてもよ
い。
The control circuit 6 makes the FI by setting the frequency division ratio N of the N frequency divider 12 smaller than the frequency division ratio M of the M frequency divider 11.
The delay amount by the FO memory 1 is reduced with time, and the frequency division ratio N is made larger than the frequency division ratio M to increase the delay amount with time to adjust the relative delay time difference between the working data signal DATAI and the data signal DATAR. However, instead of fixing the frequency division ratio N of the N frequency divider 12 and decreasing the frequency division ratio N, the frequency division ratio M of the M frequency divider 11 is increased and the frequency division ratio N is increased. Further, the frequency division ratio M of the M frequency divider 11 may be controlled so as to reduce the frequency division ratio M.

【0022】[0022]

【発明の効果】以上説明したように本発明は、予備側ク
ロック信号を書込みクロックとして予備側データ信号を
FIFOメモリに一旦書込み、可変周波数発振器出力を
第1の分周器で分周した出力と予備側クロック信号を第
2の分周器で分周した出力とを位相比較する位相同期ル
ープにより発生した読出しクロックで読出すことにより
予備側データ信号を遅延させ、遅延させたデータ信号の
フレームパルスと現用側データ信号のフレームパルスと
の進み遅れを検出し、検出結果に基づいて第1の分周器
の分周比と第2の分周器の分周比との比を制御してFI
FOメモリの遅延量を増減させることにより遅延させた
データ信号と現用側データ信号との相対遅延時間差を無
くした後切替えるという、瞬断無しに回線切替えができ
る同期切替え装置の具体的な構成を提供できる効果があ
る。
As described above, according to the present invention, the spare side data signal is once written in the FIFO memory using the spare side clock signal as a write clock, and the variable frequency oscillator output is divided by the first frequency divider to obtain an output. The spare side data signal is delayed by reading with a read clock generated by a phase locked loop that compares the phase of the spare side clock signal with the output obtained by frequency division by the second frequency divider, and a frame pulse of the delayed data signal And the frame pulse of the working side data signal are detected, and the FI is controlled by controlling the ratio between the frequency division ratio of the first frequency divider and the frequency division ratio of the second frequency divider based on the detection result.
Provide a specific configuration of a synchronous switching device capable of line switching without interruption, that is, switching is performed after eliminating a relative delay time difference between a delayed data signal and a working data signal by increasing or decreasing a delay amount of a FO memory. There is an effect that can be done.

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

【図1】本発明の1実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1 読出し制御部 2 FIFOメモリ 3,4 フレーム同期回路 5 計数回路 6 制御回路 7 切替え回路 11 M分周器 12 N分周器 13 位相比較器 15 VCO 1 Read Control Unit 2 FIFO Memory 3, 4 Frame Synchronization Circuit 5 Counting Circuit 6 Control Circuit 7 Switching Circuit 11 M Divider 12 N Divider 13 Phase Comparator 15 VCO

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 現用無線回線で伝送されてきた現用側デ
ータ信号と前記現用無線回線を切替えるべき予備無線回
線で伝送されてきた予備側データ信号との相対遅延時間
差を調整して前記現用側データ信号を前記予備側データ
信号に瞬断無しに切替える同期切替え装置であって、入
力するクロック信号を分周比M(Mは2以上の整数)で
分周して出力する第1の分周器と、前記予備側データ信
号のクロックである予備側クロック信号を分周比N(N
は2以上の整数)で分周して出力する第2の分周器と、
前記第1及び第2の分周器がそれぞれ分周して出力した
信号の位相差を検出する位相比較器と、この位相比較器
が検出した位相差が小さくなるように出力位相が制御さ
れて前記クロック信号を発生し前記第1の分周器へ出力
する可変周波数発振器とを備え、前記クロック信号を読
出しクロック信号として出力する読出し制御部と、前記
予備側データ信号を入力し前記予備側クロック信号を書
込みクロックとして順次書込み前記読出し制御部から供
給される前記読出しクロック信号を読出しクロックとし
て順次読出し出力するFIFOメモリと、このFIFO
メモリが読出したデータ信号にフレーム同期して予備側
フレームパルスを出力する予備側フレーム同期回路と、
前記現用側データ信号にフレーム同期して現用側フレー
ムパルスを出力する現用側フレーム同期回路と、前記現
用側フレームパルスに対する前記予備側フレームパルス
の進み遅れを検出し進んでいるときは前記分周比Mに対
する前記前記分周比Nの比である値N/Mを1より大き
くし遅れているときは1より小さくするように前記第1
及び第2の分周器の少なくともいずれか一方の分周比を
制御し前記現用側フレームパルスと前記予備側フレーム
パルスとのタイミングが一致すると切替え制御信号を出
力する制御手段と、前記現用側データ信号と前記現用側
データ信号のクロックである現用側クロック信号と前記
FIFOメモリが読出したデータ信号と前記読出しクロ
ック信号とを入力し前記制御手段から前記切替え制御信
号が入力するまでは前記現用側データ信号と前記現用側
クロック信号とを選択して出力し前記切替え制御信号が
入力すると前記FIFOメモリが読出したデータ信号と
前記読出しクロック信号とを選択して出力する切替え回
路とを具備することを特徴とする同期切替え装置。
1. The working side data by adjusting the relative delay time difference between the working side data signal transmitted on the working radio line and the protection side data signal transmitted on the protection radio line to switch the working radio line. A synchronization switching device for switching a signal to the data signal on the spare side without instantaneous interruption, the first frequency divider outputting a signal by dividing an input clock signal by a frequency division ratio M (M is an integer of 2 or more). And a frequency division ratio N (N
Is an integer greater than or equal to 2) and outputs the second frequency divider,
A phase comparator for detecting the phase difference between the signals output by the first and second frequency dividers, and an output phase controlled so that the phase difference detected by the phase comparator becomes small. A variable frequency oscillator that generates the clock signal and outputs the clock signal to the first frequency divider, a read control unit that outputs the clock signal as a read clock signal, and the standby side clock that receives the standby side data signal. Sequential write using signals as write clocks, a FIFO memory that sequentially reads and outputs the read clock signals supplied from the read control unit as read clocks, and the FIFO memory
A spare side frame synchronization circuit that outputs a spare side frame pulse in frame synchronization with the data signal read by the memory,
A working-side frame synchronizing circuit that outputs a working-side frame pulse in frame synchronization with the working-side data signal, and a division ratio when the lead-lag of the protection-side frame pulse with respect to the working-side frame pulse is detected and progressing. The value N / M, which is the ratio of the frequency division ratio N to M, is set to be larger than 1 and smaller than 1 when delayed.
And a control means for controlling a frequency division ratio of at least one of the second frequency divider and outputting a switching control signal when the timings of the working side frame pulse and the protection side frame pulse match, and the working side data. Signal, the active clock signal which is the clock of the active data signal, the data signal read by the FIFO memory and the read clock signal, and the active side data until the switching control signal is input from the control means. A switching circuit for selecting and outputting a signal and the working clock signal and selecting and outputting the data signal read by the FIFO memory and the read clock signal when the switching control signal is input. Synchronous switching device.
【請求項2】 前記制御手段は、前記現用側フレームパ
ルスが入力してから前記予備側フレームパルスが入力す
るまでの期間に入力する前記読出しクロック信号を計数
して計数値を出力する計数回路と、前記現用側データ信
号と前記予備側データ信号とのフレーム長の情報および
前記計数回路が出力した前記計数値に基づいて前記現用
側フレームパルスに対する前記予備側フレームパルスの
進み遅れを検出し進んでいるときは前記分周比Nを前記
分周比Mより大きくし遅れているときは前記分周比Mよ
り小さくし進み遅れがないときは前記分周比Mに等しく
するように前記第2の分周器の分周比Nを制御する制御
回路とを含むことを特徴とする請求項1記載の同期切替
え装置。
2. The counting circuit, wherein the control means counts the read clock signal input during the period from the input of the working frame pulse to the input of the standby frame pulse and outputs a count value. , Detecting the advance or lag of the spare side frame pulse with respect to the active side frame pulse based on the frame length information of the working side data signal and the spare side data signal and the count value output from the counting circuit, When the frequency division ratio N is larger than the frequency division ratio M and is delayed, the frequency division ratio N is smaller than the frequency division ratio M, and when there is no advance or delay, the frequency division ratio N is made equal to the frequency division ratio M. The synchronization switching device according to claim 1, further comprising a control circuit that controls a frequency division ratio N of the frequency divider.
JP7052456A 1995-03-13 1995-03-13 Synchronous switching device Expired - Fee Related JP2715966B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7052456A JP2715966B2 (en) 1995-03-13 1995-03-13 Synchronous switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7052456A JP2715966B2 (en) 1995-03-13 1995-03-13 Synchronous switching device

Publications (2)

Publication Number Publication Date
JPH08251151A true JPH08251151A (en) 1996-09-27
JP2715966B2 JP2715966B2 (en) 1998-02-18

Family

ID=12915228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7052456A Expired - Fee Related JP2715966B2 (en) 1995-03-13 1995-03-13 Synchronous switching device

Country Status (1)

Country Link
JP (1) JP2715966B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005229344A (en) * 2004-02-13 2005-08-25 Hitachi Kokusai Electric Inc Digital data receiver
US7251303B2 (en) 2002-07-26 2007-07-31 Hitachi Kokusai Electric Inc. Digital data receiving apparatus and method with system changeover function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251303B2 (en) 2002-07-26 2007-07-31 Hitachi Kokusai Electric Inc. Digital data receiving apparatus and method with system changeover function
JP2005229344A (en) * 2004-02-13 2005-08-25 Hitachi Kokusai Electric Inc Digital data receiver

Also Published As

Publication number Publication date
JP2715966B2 (en) 1998-02-18

Similar Documents

Publication Publication Date Title
JP3761481B2 (en) Synchronous circuit
KR100776906B1 (en) Delay locked loop with a function for implementing locking operation periodically during power down mode and locking operation method of the same
KR100399941B1 (en) Register controlled delay locked loop in ddr sdram
US20040085107A1 (en) Register controlled delay locked loop having acceleration mode
US7479814B1 (en) Circuit for digital frequency synthesis in an integrated circuit
JP2000224029A (en) Delayed synchronous loop and control method for the same
GB2331416A (en) Continuously adjustable delay circuit
JP3084151B2 (en) Information processing system
JP2003069424A (en) Ring-register controlled delay locked loop and its control method
JP2000224030A (en) Delayed synchronous loop and method
US20100148832A1 (en) Clock data recovery circuit
JP4228518B2 (en) Digital PLL device
US4531102A (en) Digital phase lock loop system
JP2715966B2 (en) Synchronous switching device
US7076679B2 (en) System and method for synchronizing multiple variable-frequency clock generators
JP2806675B2 (en) Digital PLL device with switching convergence mode
JP3090591B2 (en) Clock recovery device
JPH01146426A (en) Pll circuit
JP2842784B2 (en) PLL circuit
JP2009253876A (en) Clock-data recovery circuit
JP3324647B2 (en) Phase locked loop circuit for horizontal sync signal
JPH1117669A (en) Phase-locked loop circuit
KR20030049303A (en) Register Controlled DLL Circuit
JPH03235522A (en) Frequency synthesis system and frequency synthesizer
US7148729B2 (en) Delay locked loop using synchronous mirror delay

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971007

LAPS Cancellation because of no payment of annual fees