JPH1127247A - System switching method - Google Patents

System switching method

Info

Publication number
JPH1127247A
JPH1127247A JP9181523A JP18152397A JPH1127247A JP H1127247 A JPH1127247 A JP H1127247A JP 9181523 A JP9181523 A JP 9181523A JP 18152397 A JP18152397 A JP 18152397A JP H1127247 A JPH1127247 A JP H1127247A
Authority
JP
Japan
Prior art keywords
clock
switching
output
frame pulse
phase
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
JP9181523A
Other languages
Japanese (ja)
Other versions
JP3011139B2 (en
Inventor
Hiroshi Kariya
浩 苅谷
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 JP9181523A priority Critical patent/JP3011139B2/en
Publication of JPH1127247A publication Critical patent/JPH1127247A/en
Application granted granted Critical
Publication of JP3011139B2 publication Critical patent/JP3011139B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a clock and a frame pulse without being affected by phase shift when an active system and a stand-by system are switched by outputting a high frequency clock and a third frame pulse. SOLUTION: An output clock CLK2 of a frequency divider 32 of a PLO part 30 and a frame pulse FP2 generated in a FP generation part 50 are outputted in a clock switching circuit 2. Similarly, an output clock CLK2' of a frequency divider 32' of a PLO part 30' and a frame pulse FP2' generated in an FP generation part 50' are outputted in a clock switching circuit 2'. These outputs of the clock switching circuits 2, 2' are inputted in lower order devices 3, 3' respectively and switching of input from each of the clock switching circuits 2, 2' to each of the lower order devices 3, 3' is controlled based on control from phase monitoring parts 60, 60'. The phase monitoring devices 60, 60' are linked together and controlled so that the input is not switched by the lower order devices 3, 3' until pull-in of the PLO parts 30, 30' are completed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えばパルス通信
システムに用いられ、現用系と予備系の2系統を備え、
これら系の切替を行う系切替方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used, for example, in a pulse communication system and includes two systems, an active system and a standby system.
The present invention relates to a system switching method for switching these systems.

【0002】[0002]

【従来の技術】この種の系切替方式として、例えば特開
平4-316234号公報に開示されるような2系統の出力クロ
ックを選択的に切替えるクロック切替方式がある。その
クロック切替方式の構成を図3に示す。
2. Description of the Related Art As this type of system switching system, there is a clock switching system for selectively switching between two output clocks as disclosed in, for example, JP-A-4-316234. FIG. 3 shows the configuration of the clock switching system.

【0003】このクロック切替方式は、発振周波数が同
一のクロック発生回路101,102と、これらクロッ
ク発生回路101,102からの各クロックの位相差を
検出する位相差検出回路106と、この位相差検出回路
106からの位相差電圧に応じてクロック発生回路1の
出力を0〜2πラジアンの範囲で遅延させる遅延回路1
07と、この遅延回路107からのクロックとクロック
発生回路2からのクロックを切替選択して出力するクロ
ック切替回路103と、このクロック切替回路103で
切替選択したクロックを1/N分周する分周器104と
からなる。
The clock switching system includes clock generation circuits 101 and 102 having the same oscillation frequency, a phase difference detection circuit 106 for detecting a phase difference between respective clocks from the clock generation circuits 101 and 102, and a phase difference detection circuit 106. Delay circuit 1 for delaying the output of clock generation circuit 1 in the range of 0 to 2π radians in accordance with the phase difference voltage from circuit 106
07, a clock switching circuit 103 for selectively selecting and outputting the clock from the delay circuit 107 and the clock from the clock generation circuit 2, and a frequency division for dividing the clock switched and selected by the clock switching circuit 103 by 1 / N. And a vessel 104.

【0004】クロック発生回路101,102は冗長系
を構成するもので、一方が現用系で、他方が予備系であ
る。これら回路からは図4(a),(b)に示すような
クロックが出力される。クロック発生回路101,10
2から出力されたクロックは位相差検出回路106にて
その位相差が検出され、クロック発生回路101から出
力されたクロックに対して、その位相差の電圧に基づい
て遅延回路107により0〜2πラジアンの範囲で遅延
が施され、図4(c)に示すようなクロックが出力され
る。この遅延回路107による遅延により、各クロック
発生回路101から出力されたクロック間の位相差を最
小に抑えるようになっている。
The clock generation circuits 101 and 102 constitute a redundant system, one of which is a working system and the other is a standby system. Clocks as shown in FIGS. 4A and 4B are output from these circuits. Clock generation circuits 101 and 10
2 is detected by a phase difference detection circuit 106. The phase difference detection circuit 106 detects a phase difference between the clock output from the clock generation circuit 101 and the delay circuit 107 based on the voltage of the phase difference. And a clock as shown in FIG. 4C is output. Due to the delay by the delay circuit 107, the phase difference between the clocks output from the respective clock generation circuits 101 is minimized.

【0005】上記のようにして位相差が縮まった各クロ
ックは、クロック切替回路103にて選択的に切替出力
され(現用系および予備系のクロック切替が行われ)、
図4(d)に示すようなクロックが出力される。そし
て、この切替出力されたクロックは、さらに1/N分周
器104により1/N分周され、図4(e)に示すよう
なクロックになる。このように1/N分周されることに
より、切替前後のクロックの位相差がさらに1/Nに縮
まることになる。
Each clock whose phase difference has been reduced as described above is selectively switched and output by the clock switching circuit 103 (clock switching between the working system and the standby system is performed), and
A clock as shown in FIG. 4D is output. The switched clock is further frequency-divided by 1 / N by the 1 / N frequency divider 104 to become a clock as shown in FIG. By dividing the frequency by 1 / N, the phase difference between the clocks before and after the switching is further reduced to 1 / N.

【0006】上記のように構成されるクロック切替方式
によれば、クロック発生回路の切替えに伴う位相変動を
最小限に抑え、クロックを基準にディジタル信号を処理
する場合のデータの欠落や重複が発生するのを低減する
ことができる。
[0006] According to the clock switching system configured as described above, phase fluctuations caused by switching of the clock generation circuit are minimized, and data loss or duplication occurs when a digital signal is processed on the basis of a clock. Can be reduced.

【0007】上述のクロック切替方式の他、特開平5-13
6768号公報には、現用クロックと予備系クロックとの位
相の同期がとれているかを監視する回路を備える方式が
開示されている。このクロック切替方式では、2系統
(ACT系、SBY系)のクロックの出力を一定時間遅
らせる2系統の遅延回路を備え、さらに、2系統のクロ
ックの立上り位置を検出する立上り位置検出回路とこれ
ら検出回路にて検出された立上り位置が一致したときの
みパルスを出力する比較回路とこの比較回路の出力パル
スを検出する出力パルス検出回路とから構成される位相
同期監視部を備えた構成となっている。このクロック切
替方式では、位相同期回路の不備により同期がとれてい
ない場合には、クロック切替えをしないように位相同期
監視部によって制御される。
[0007] In addition to the clock switching method described above,
Japanese Patent Application Publication No. 6768 discloses a method including a circuit for monitoring whether the phases of a working clock and a standby clock are synchronized. In this clock switching method, there are provided two delay circuits for delaying the output of two clocks (ACT and SBY) for a certain period of time, and furthermore, a rising position detecting circuit for detecting the rising positions of the two clocks, The phase synchronization monitoring unit includes a comparison circuit that outputs a pulse only when the rising position detected by the circuit matches, and an output pulse detection circuit that detects an output pulse of the comparison circuit. . In the clock switching method, when synchronization is not achieved due to a defect in the phase synchronization circuit, the phase synchronization monitoring unit controls the clock switching so as not to perform the clock switching.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
た従来のクロック切替方式には、それぞれ以下のような
問題がある。
However, each of the above-mentioned conventional clock switching systems has the following problems.

【0009】特開平4-316234号公報および特開平5-1367
68号公報に記載の切替方式では、現用系と予備系間のク
ロックおよびフレームパルスの位相合わせは遅延回路を
用いて行われる。このような遅延回路を用いた系切替方
式では、位相ずれのMAX値は遅延回路の最大遅延量に
よって制限されるため、遅延回路に設定された最大遅延
量を超える位相ずれについては対応することができず、
拡張性に欠けるものとなっていた。
JP-A-4-316234 and JP-A-5-1367
In the switching method described in Japanese Patent Publication No. 68, the phase adjustment of the clock and the frame pulse between the active system and the standby system is performed using a delay circuit. In the system switching method using such a delay circuit, since the MAX value of the phase shift is limited by the maximum delay amount of the delay circuit, it is possible to cope with a phase shift exceeding the maximum delay amount set in the delay circuit. I ca n’t,
It lacked scalability.

【0010】また、遅延回路を用いて位相合わせを行う
場合、完全に位相ずれをなくすことはできないため、例
えば特開平5-136768号公報に記載の方式において現用系
から予備系への切替えがいずれか一方のクロックを基準
に交互に切替が行われるよな場合には、系を切替える度
にその位相ずれの分だけ遅延回路による位相調整が片側
方向(位相を進める方向または遅らせる方向)にどんど
んずれ込むことになり、その結果、遅延回路による調整
の範囲を超えてしまって、機能が正常に動作しなくなる
ことも考えられる。
Further, when phase matching is performed using a delay circuit, it is not possible to completely eliminate the phase shift. For example, in the method described in Japanese Patent Application Laid-Open No. 5-136768, switching from the working system to the standby system is required. In the case where the switching is performed alternately with reference to one of the clocks, the phase adjustment by the delay circuit is gradually shifted in one direction (direction in which the phase is advanced or delayed) by the amount of the phase shift each time the system is switched. As a result, it is conceivable that the function does not operate normally because the range of adjustment by the delay circuit is exceeded.

【0011】本発明の目的は、遅延回路を用いず、現用
系と予備系を切替る際にクロックに位相ずれが生じて
も、その位相ずれの影響のないクロックおよびフレーム
パルスを生成することができる、信頼性の高い系切替方
式を提供することにある。
An object of the present invention is to generate a clock and a frame pulse which are not affected by the phase shift even if a phase shift occurs when switching between the active system and the standby system without using a delay circuit. An object of the present invention is to provide a reliable system switching method that can be performed.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するた
め、本発明の系切替方式は、現用クロック供給系と予備
クロック供給系の2系統を入力とし、これら系からのク
ロック供給を選択的に切替えるクロック切替手段を有す
る系切替方式において、前記クロック切替手段は、前記
現用クロック供給系から供給されるクロックおよびフレ
ームパルスと前記予備クロック供給系から供給されるク
ロックおよびフレームパルスとを選択出力する選択手段
と、入力制御電圧に応じて出力クロックの周波数を制御
する電圧制御発振器と、前記電圧制御発振器の出力を分
周して高周波数のクロックを出力する第1の分周器と、
前記第1の分周器の出力クロックを分周して低周波数の
クロックを出力する第2の分周器と、前記第2の分周器
の出力クロックと前記選択手段にて選択されたクロック
との位相を比較し、該比較結果から前記電圧制御発振器
を制御する制御電圧を得る位相比較手段と、前記第2の
分周器から出力された低周波数のクロックを用いて、前
記選択手段にて選択されたフレームパルスに同期した第
2のフレームパルスを生成する第1のフレームパルス生
成手段と、前記第1の分周器から出力された高周波数の
クロックを用いて、前記第2のフレームパルスと同期し
た第3のフレームパルスを生成する第2のフレームパル
ス生成手段と、を有し、前記第1の分周器から出力され
たクロックおよび前記第2のフレームパルス生成手段に
て生成されたフレームパルスを出力とすることを特徴と
する。
In order to achieve the above object, a system switching system according to the present invention has two inputs, a working clock supply system and a backup clock supply system, and selectively supplies clocks from these systems. In a system switching system having clock switching means for switching, the clock switching means selects and outputs a clock and a frame pulse supplied from the working clock supply system and a clock and a frame pulse supplied from the backup clock supply system. Means, a voltage controlled oscillator for controlling the frequency of the output clock in accordance with the input control voltage, a first frequency divider for dividing the output of the voltage controlled oscillator and outputting a high frequency clock,
A second frequency divider for dividing the output clock of the first frequency divider to output a low-frequency clock; an output clock of the second frequency divider; and a clock selected by the selection means. And a phase comparison unit that obtains a control voltage for controlling the voltage-controlled oscillator from the comparison result, and a low-frequency clock output from the second frequency divider. Using a first frame pulse generating means for generating a second frame pulse synchronized with the selected frame pulse and a high frequency clock output from the first frequency divider, A second frame pulse generating means for generating a third frame pulse synchronized with the pulse, and a clock output from the first frequency divider and a second frame pulse generated by the second frame pulse generating means. Tafure Characterized by an output Muparusu.

【0013】上記の系切替方式において、前記クロック
切替手段は、前記位相比較手段における位相比較結果を
監視し、前記選択手段にて選択されたクロックと前記第
2の分周器の出力クロックとが完全に同期するまで、下
位装置に対し、当該クロック切替手段から出力されるク
ロックおよびフレームパルスに基づくデータの読み込み
を禁止する位相監視手段をさらに有するものであっても
よい。
In the above system switching method, the clock switching means monitors a result of the phase comparison by the phase comparing means, and determines whether a clock selected by the selecting means and an output clock of the second frequency divider are output. It may further include a phase monitoring unit that inhibits reading of data based on the clock and the frame pulse output from the clock switching unit to the lower-level device until complete synchronization.

【0014】また、前記クロック切替手段を現用系と予
備系からなる冗長構成としてもよい。
Further, the clock switching means may have a redundant configuration including an active system and a standby system.

【0015】さらに、前記クロック切替手段お現用系と
予備系からなる冗長構成とし、これら現用系および予備
系の各クロック切替手段の位相監視手段は、互いにリン
クし、それぞれの選択手段にて選択されたクロックと第
2の分周器の出力クロックとが完全に同期するまで、下
位装置に対して現用系のクロック切替手段からの入力と
予備系のクロック切替手段からの入力の切替えを禁止す
るように構成してもよい。
Further, the clock switching means has a redundant configuration comprising a working system and a protection system, and the phase monitoring means of each of the working and protection system clock switching means are linked to each other and selected by respective selection means. Until the output clock of the second frequency divider and the output clock of the second frequency divider are completely synchronized, the switching of the input from the working clock switching means and the input from the protection clock switching means to the lower-level device is prohibited. May be configured.

【0016】さらに、前記位相比較手段を、前記第2の
分周器の出力クロックと前記選択手段にて選択されたク
ロックとの位相差が180度となるような制御電圧を得
るような構成としてもよい。
Further, the phase comparing means is configured to obtain a control voltage such that the phase difference between the output clock of the second frequency divider and the clock selected by the selecting means is 180 degrees. Is also good.

【0017】(作用)上記のとおりの本発明において
は、選択手段にて選択された基準となるクロック(現用
クロック供給系または予備クロック供給系から供給され
るクロック)と第1の分周器の出力クロック(クロック
切替手段の出力クロック)との同期は、第1の分周器の
出力クロックを分周した低周波数のクロック(第2の分
周器の出力クロック)と基準クロックとの同期をとるこ
とにより行われる。このように低周波数のクロックを用
いてその周波数を一時的に変動させることで、基準クロ
ックとの位相の同期をとるようになっているので、基準
クロックの切替えの際に位相飛びが発生しても、第1の
分周器の出力クロックの山の数が変動することなく位相
合わせを行うことができる。
(Operation) In the present invention as described above, the reference clock selected by the selection means (the clock supplied from the working clock supply system or the spare clock supply system) and the first frequency divider The synchronization with the output clock (output clock of the clock switching means) is performed by synchronizing the low frequency clock (output clock of the second frequency divider) obtained by dividing the output clock of the first frequency divider with the reference clock. It is done by taking. In this way, by temporarily varying the frequency using a low-frequency clock, the phase with the reference clock is synchronized, so that when the reference clock is switched, a phase jump occurs. Also, phase adjustment can be performed without changing the number of peaks of the output clock of the first frequency divider.

【0018】また、選択手段にて選択された基準となる
フレームパルス(現用クロック供給系または予備クロッ
ク供給系から供給されるフレームパルス)に同期したフ
レームパルスの生成は、まず第1の分周器の出力クロッ
クをさらに分周した低周波数のクロック(第2の分周器
の出力クロック)を用いて位相を合わせた後、第1の分
周器の高周波数の出力クロックを用いてフレームパルス
を生成することにより行われるので、第1の分周器の高
周波数の出力クロックに数クロックの位相ずれが発生し
ても、その位相ずれは第2の分周器によって分周された
際に圧縮されることとなり、フレームパルスにその位相
ずれの影響は生じない。
The generation of the frame pulse synchronized with the reference frame pulse (the frame pulse supplied from the current clock supply system or the backup clock supply system) selected by the selection means is performed by first using the first frequency divider. After adjusting the phase using a low-frequency clock (output clock of the second frequency divider) obtained by further dividing the output clock of the second frequency divider, a frame pulse is generated using the high-frequency output clock of the first frequency divider. Since the phase shift is performed by generating, even if a phase shift of several clocks occurs in the high frequency output clock of the first frequency divider, the phase shift is compressed when the frequency is divided by the second frequency divider. Therefore, the frame pulse is not affected by the phase shift.

【0019】クロック切替手段を現用系と予備系からな
る冗長構成としたものにおいては、一方のクロック切替
手段が何等かの理由で使用不能になっても予備系のクロ
ック切替手段を使用できるので、より信頼性の高いもの
となる。さらに、各位相監視手段が互いにリンクしたも
のにおいては、現用系および予備系の各クロック切替手
段における基準クロックとの同期が完全にとれるまで、
下位装置に対して現用系のクロック切替手段からの入力
と予備系のクロック切替手段からの入力の切替えが禁止
されるので、下位装置が同期がとれていないクロックお
よびフレームパルスを基にデータの読み込みを行うこと
はない。
In the case where the clock switching means has a redundant configuration consisting of the working system and the standby system, the clock switching means of the standby system can be used even if one of the clock switching units becomes unusable for some reason. It will be more reliable. Further, in the case where the phase monitoring units are linked to each other, until the synchronization with the reference clock in each of the clock switching units of the working system and the standby system is completely achieved.
Since the switching of the input from the working system clock switching means and the input from the standby system clock switching means to the lower-level device is prohibited, the lower-level device reads data based on the unsynchronized clock and frame pulse. Never do.

【0020】[0020]

【発明の実施の形態】次に、本発明の実施形態について
図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0021】図1は、本発明の系切替方式の一実施形態
を示すブロック図である。本形態の系切替方式は、例え
ばActive系、Stanby系(以下、それぞれACT系、SB
Y系と記す。)の2系統の入力を備え、ACT系(現用
系)とSBY系(予備系)の間で系の切替を行うための
クロック切替回路2,2’を備えている。クロック切替
回路2,2’は冗長構成で、本形態では、クロック切替
回路2が現用系、クロック切替回路2’が予備系として
用いられる。
FIG. 1 is a block diagram showing one embodiment of the system switching system of the present invention. The system switching method of the present embodiment includes, for example, an active system and a standby system (hereinafter referred to as ACT system and SB system, respectively).
Described as Y system. ), And clock switching circuits 2 and 2 ′ for switching the system between an ACT system (active system) and an SBY system (standby system). The clock switching circuits 2 and 2 'have a redundant configuration. In this embodiment, the clock switching circuit 2 is used as a working system and the clock switching circuit 2' is used as a standby system.

【0022】クロック切替回路2は、ACT系であるク
ロック供給系1から出力されたクロックCLK1および
フレームパルスFP1とSBY系であるクロック供給系
1’から出力されたクロックCLK1’およびフレーム
パルスFP1’とを選択的に出力するセレクタ20と、
このセレクタ20にて選択されたクロックを入力とし、
該入力信号に同期して発振するPLO(Phase Locked O
scillator)部30と、セレクタ20にて選択されたフ
レームパルスFPをPLO部30にて発振されたクロッ
クに同期させるとともに頭合わせ(情報系列の前に付加
されている同期のための特殊符号(同期パターン)を入
力FPと出力FPとの間で合わせること)を行うための
FP位相合わせ部40およびFP発生器50と、PLO
部30における引き込みが完了するまで下位装置3,
3’における現用系と予備系の切替えを禁止する位相監
視部60とを備える。予備系のクロック切替回路2’も
このクロック切替回路2と同様の構成になっているた
め、ここではクロック切替回路2の構成について具体的
に説明する。
The clock switching circuit 2 includes a clock CLK1 and a frame pulse FP1 outputted from the clock supply system 1 which is an ACT system and a clock CLK1 'and a frame pulse FP1' outputted from the clock supply system 1 'which is an SBY system. Selector 20 for selectively outputting
The clock selected by the selector 20 is used as an input,
PLO (Phase Locked O) that oscillates in synchronization with the input signal
A scillator) unit 30 synchronizes the frame pulse FP selected by the selector 20 with the clock oscillated by the PLO unit 30 and performs head alignment (a special code (synchronization code added before the information sequence) for synchronization. Pattern matching) between the input FP and the output FP) and the PLO.
Until the retraction in the unit 30 is completed,
3 ′ is provided with a phase monitoring unit 60 that inhibits switching between the active system and the standby system in 3 ′. Since the spare clock switching circuit 2 'has the same configuration as the clock switching circuit 2, the configuration of the clock switching circuit 2 will be specifically described here.

【0023】セレクタ20は、クロック供給系1,1’
から出力されるACT信号,ACT’信号に基づいてク
ロックを選択するようになっており、ACT信号が入力
された場合にはクロックCLK1およびフレームパルス
FP1を選択し、ACT’信号が入力された場合にはク
ロックCLK1’およびフレームパルスFP1’を選択
する。
The selector 20 has a clock supply system 1, 1 '
The clock is selected based on the ACT signal and the ACT 'signal output from the CPU. When the ACT signal is input, the clock CLK1 and the frame pulse FP1 are selected, and when the ACT' signal is input. Select the clock CLK1 'and the frame pulse FP1'.

【0024】PLO部30は電圧制御発振器(VCO)
31と、該電圧制御発振器(VCO)31の出力を1/
N分周してクロックCLK2を出力する分周器32と、
該分周器32の出力クロックCLK2を1/N分周して
クロックCLK3を出力する分周器33と、該分周器3
3の出力クロックCLK3とセレクタ20にて選択され
たクロックとの位相を比較する位相比較部34と、該位
相比較部34の出力(位相情報)を入力とし、該入力位
相情報に基づく制御電圧を電圧制御発振器31に出力す
るローパスフィルタ(LPF)35とから構成されてい
る。このPLO部30では、クロックCLK1とクロッ
クCLK3の位相差が180度となるように電圧制御発
振器31が制御される。
The PLO unit 30 is a voltage controlled oscillator (VCO)
31 and the output of the voltage controlled oscillator (VCO) 31
A frequency divider 32 for dividing the frequency by N and outputting a clock CLK2;
A frequency divider 33 for dividing the output clock CLK2 of the frequency divider 32 by 1 / N and outputting a clock CLK3;
3, a phase comparator 34 for comparing the phase of the output clock CLK3 with the clock selected by the selector 20, an output (phase information) of the phase comparator 34, and a control voltage based on the input phase information. And a low-pass filter (LPF) 35 for outputting to the voltage-controlled oscillator 31. In the PLO unit 30, the voltage controlled oscillator 31 is controlled such that the phase difference between the clock CLK1 and the clock CLK3 becomes 180 degrees.

【0025】FP位相合わせ部40は、分周器33の出
力クロックCLK3およびセレクタ20にて選択された
フレームパルスFPを入力とし、クロックCLK3を用
いてフレームパルスFPに同期したフレームパルスFP
3を生成する。FP発生部50は、FP位相合わせ部4
0にて生成されたフレームパルスFP3および分周器3
2の出力クロックCLK2を入力とし、クロックCLK
2を用いてフレームパルスFP3に同期したフレームパ
ルスFP2を生成する。
The FP phase matching section 40 receives the output clock CLK3 of the frequency divider 33 and the frame pulse FP selected by the selector 20, and uses the clock CLK3 to synchronize the frame pulse FP with the frame pulse FP.
3 is generated. The FP generation unit 50 includes the FP phase matching unit 4
0 generated frame pulse FP3 and frequency divider 3
2 output clock CLK2 as an input and the clock CLK
2 to generate a frame pulse FP2 synchronized with the frame pulse FP3.

【0026】位相監視部60は、位相比較部34におけ
るクロックCLK3とセレクタ20にて選択されたクロ
ックとの位相比較結果を基にPLO部30の引き込み完
了を監視するもので、引き込みが完了するまで下位装置
3,3’に対し、当該クロック切替回路2から出力され
るクロックおよびフレームパルスに基づくデータの読み
込みを禁止する。
The phase monitoring unit 60 monitors the completion of the pull-in operation of the PLO unit 30 based on the result of the phase comparison between the clock CLK3 in the phase comparison unit 34 and the clock selected by the selector 20. The reading of data based on the clock and the frame pulse output from the clock switching circuit 2 is prohibited for the lower order devices 3 and 3 '.

【0027】上述のクロック切替回路2では、PLO部
30の分周器32の出力クロックCLK2とFP発生部
50にて生成されたフレームパルスFP2が出力され
る。同様に、クロック切替回路2’では、PLO部3
0’の分周器32’の出力クロックCLK2’とFP発
生部50’にて生成されたフレームパルスFP2’が出
力される。これらクロック切替回路2,2’の出力(ク
ロック,フレームパルス)は、下位装置3,3’にそれ
ぞれ入力されており、各下位装置3,3’は位相監視部
60,60’からの制御に基づいて、各クロック切替回
路2,2’からの入力の切替が制御されるようになって
いる。本形態では、位相監視部60,60’はリンクし
ており、PLO部30,30’の引き込みが完全に終了
するまで下位装置3,3’が入力切替を行わないように
制御される。
The clock switching circuit 2 outputs the output clock CLK2 of the frequency divider 32 of the PLO unit 30 and the frame pulse FP2 generated by the FP generation unit 50. Similarly, in the clock switching circuit 2 ′, the PLO unit 3
The output clock CLK2 'of the frequency divider 32' of 0 'and the frame pulse FP2' generated by the FP generator 50 'are output. The outputs (clock and frame pulse) of these clock switching circuits 2 and 2 'are input to the lower devices 3 and 3', respectively, and the lower devices 3 and 3 'control the phase monitoring units 60 and 60'. The switching of the input from each of the clock switching circuits 2 and 2 'is controlled based on this. In the present embodiment, the phase monitoring units 60 and 60 'are linked, and control is performed so that the lower-level devices 3 and 3' do not perform input switching until the pull-in of the PLO units 30 and 30 'is completed.

【0028】次に、この系切替方式の具体的な動作につ
いて図2を参照して説明する。図2は、図1に示した系
切替方式の動作タイムチャートで、クロックCLK1お
よびフレームパルスFP1に対してクロックCLK1’
およびフレームパルスFP1’がクロックCLK2の約
2クロック分遅れている場合の系切替えの際の同期の様
子が示されている。
Next, a specific operation of the system switching method will be described with reference to FIG. FIG. 2 is an operation time chart of the system switching system shown in FIG. 1, in which the clock CLK1 'and the frame pulse FP1 are supplied with the clock CLK1'.
Also, a state of synchronization at the time of system switching when the frame pulse FP1 'is delayed by about two clocks of the clock CLK2 is shown.

【0029】現用系が用いられている状態(クロック供
給系1から各クロック切替回路2,2’にACT信号が
出力されている状態)で、クロック供給系1’から各ク
ロック切替回路2,2’に対してACT’信号が出力さ
れると、各クロック切替回路2,2’のセレクタ20,
20’はクロックCLK1’、フレームパルスFP1’
を選択出力する。このとき、クロックCLK1’、フレ
ームパルスFP1’は、図2に示すようにクロックCL
K1、フレームパルスFP1に対してクロックCLK2
の約2クロック分遅れており、位相飛びが発生する。
When the working system is used (the ACT signal is being output from the clock supply system 1 to each of the clock switching circuits 2 and 2 '), the clock supply system 1' and the clock switching circuits 2 and 2 are used. When the ACT signal is output to the clock switching circuits 2, 2 ', the selector 20,
20 'is a clock CLK1', a frame pulse FP1 '
Is selected and output. At this time, the clock CLK1 'and the frame pulse FP1' are changed to the clock CL1 as shown in FIG.
K1, clock CLK2 for frame pulse FP1
Is delayed by about two clocks, and a phase jump occurs.

【0030】各クロック切替回路2,2’では、セレク
タ20,20’にてクロックCLK1’、フレームパル
スFP1’が選択出力されると、各PLO部30,3
0’にてクロックCLK1’を基準にクロックCLK
3,CLK3’との位相同期がとられると同時に、FP
位相合わせ部40,40’にてそのクロックCLK3,
CLK3’を用いてフレームパルスFP3,FP3’が
生成される。例えば、PLO部30にてクロックCLK
1’とクロックCLK3との位相を同期させる場合に
は、図2に示すようにクロックCLK3の位相が除々に
ずれてクロックCLK1’の位相に同期し、フレームパ
ルスFP3の位相も除々にずれてこのクロックCLK3
の位相に同期する(クロックCLK3’およびフレーム
パルスFP3’も同様)。このクロックCLK3,CL
K3’を用いて生成されるフレームパルスFP3,FP
3’は、位相飛びに関係なく生成される。フレームパル
スFP3,FP3’の位相が除々にずれると、この位相
ずれに応じてフレームパルスFP2,FP2’の位相も
除々にずれて、それぞれクロックCLK3,CLK3’
の位相に同期する。
In each of the clock switching circuits 2, 2 ', when the clock CLK1' and the frame pulse FP1 'are selectively output from the selectors 20, 20', the PLO units 30, 3 are output.
At 0 ', the clock CLK is based on the clock CLK1'.
3 and CLK3 ', and at the same time, FP
The clocks CLK3,
Frame pulses FP3 and FP3 'are generated using CLK3'. For example, the clock CLK
When synchronizing the phases of 1 'and the clock CLK3, as shown in FIG. 2, the phase of the clock CLK3 gradually shifts to synchronize with the phase of the clock CLK1', and the phase of the frame pulse FP3 also gradually shifts. Clock CLK3
(The clock CLK3 'and the frame pulse FP3' are also the same). This clock CLK3, CL
Frame pulse FP3, FP generated using K3 '
3 ′ is generated regardless of the phase jump. When the phases of the frame pulses FP3 and FP3 'gradually shift, the phases of the frame pulses FP2 and FP2' also gradually shift in accordance with the phase shift, and the clocks CLK3 and CLK3 ', respectively.
Synchronize with the phase of

【0031】上述のように各クロック切替回路2,2’
においては、クロックの切替えを行う場合には、電圧制
御発振器31,31’の出力を分周したクロックCLK
2,CLK2’をさらに分周した低周波数のクロックC
LK3,CLK3’とクロックCLK1’との位相合わ
せが行われる。この場合、クロックCLK1とクロック
CLK1’との間に位相ずれがあっても、低周波数のク
ロックCLK3,CLK3’ではその位相ずれが圧縮さ
れるので、高周波数のクロックCLK2,CLK2’で
はクロックの山の数が変動することはない。よって、本
形態では、クロック切替えによって位相飛びが発生して
もその影響を受けないクロックCLKの発生が可能であ
る。
As described above, each clock switching circuit 2, 2 '
In the above, when the clock is switched, the clock CLK obtained by dividing the output of the voltage controlled oscillators 31 and 31 'is used.
2, a low-frequency clock C obtained by further dividing CLK2 '
LK3, CLK3 'and clock CLK1' are phase-matched. In this case, even if there is a phase shift between the clock CLK1 and the clock CLK1 ′, the phase shift is compressed in the low-frequency clocks CLK3 and CLK3 ′, so that the clock peaks in the high-frequency clocks CLK2 and CLK2 ′. Does not fluctuate. Therefore, in this embodiment, even if a phase jump occurs due to clock switching, it is possible to generate a clock CLK that is not affected by the phase jump.

【0032】また、本形態では、まず低周波数のクロッ
クCLK3,CLK3’を用いてフレームパルスFP
1’と同期したフレームパルスFP3,FP3’を生成
した後、高周波数のクロックCLK2,CLK2’を用
いてそのフレームパルスFP3,FP3’と同期したフ
レームパルスFP2,FP2’が生成されるので、クロ
ック切替え時の位相ずれが、この生成されたフレームパ
ルスFP2,FP2’に影響することはない。したがっ
て、クロック切替の際に位相変動が起きても、フレーム
パルスFP2,FP2’の1周期内におけるクロックC
LK2,2’のパルス数に変化は生じない。
In this embodiment, first, the frame pulse FP is generated by using low-frequency clocks CLK3 and CLK3 '.
After generating the frame pulses FP3 and FP3 'synchronized with 1', the frame pulses FP2 and FP2 'synchronized with the frame pulses FP3 and FP3' are generated using the high-frequency clocks CLK2 and CLK2 '. The phase shift at the time of switching does not affect the generated frame pulses FP2 and FP2 '. Therefore, even if a phase change occurs at the time of clock switching, the clock C within one cycle of the frame pulses FP2 and FP2 '
No change occurs in the number of pulses of LK2, 2 '.

【0033】また、本形態では、クロック切替回路2,
2’は冗長構成となっており、例えばクロック切替回路
2が何等かの理由で使用できなくなった場合には、クロ
ック切替回路2’を使用して系切替えを行うことができ
る。この場合、位相監視部60,60’にてPLO部3
0,30’の引き込みが完全に終了するまで下位装置
3,3’が予備系のクロック切替回路2’への切替動作
を行わないように制御されるているので、PLO部3
0,30’の引き込みが完全にないうちに下位装置3,
3’が入力の切替え(クロック切替回路2からクロック
切替回路2’への入力切替)を行うことはない。
In the present embodiment, the clock switching circuits 2 and
2 'has a redundant configuration. For example, when the clock switching circuit 2 cannot be used for some reason, the system switching can be performed using the clock switching circuit 2'. In this case, the phase monitoring units 60 and 60 '
Since the lower devices 3, 3 'are controlled so as not to perform the switching operation to the standby clock switching circuit 2' until the pull-in of 0, 30 'is completely completed, the PLO unit 3
Before the 0, 30 'is completely retracted, the lower level device 3,
3 ′ does not perform input switching (input switching from the clock switching circuit 2 to the clock switching circuit 2 ′).

【0034】(他の実施形態)上述した実施形態では、
クロック切替回路は冗長構成になっているが、クロック
切替回路は1つであってもよい。例えば、図1に示した
構成においてクロック切替回路1のみで構成されている
ものとしてもよい。この場合、位相監視部60の動作と
しては、PLO部30における引き込みが完了するまで
下位装置3,3’に対し、当該クロック切替回路2から
出力されるクロックおよびフレームパルスに基づくデー
タの読み込みを禁止するだけとなる。
(Other Embodiments) In the above embodiment,
Although the clock switching circuit has a redundant configuration, the number of clock switching circuits may be one. For example, the configuration shown in FIG. 1 may include only the clock switching circuit 1. In this case, as an operation of the phase monitoring unit 60, reading of data based on the clock and the frame pulse output from the clock switching circuit 2 is prohibited for the lower order devices 3, 3 'until the pull-in in the PLO unit 30 is completed. You just have to.

【0035】本実施形態においても、クロック切替えに
よって位相飛びが発生してもその影響を受けないクロッ
クCLKの発生が可能である。また、クロック切替の際
に位相変動が起きても、フレームパルスFP2の1周期
内におけるクロックCLK2のパルス数に変化は生じな
い。
Also in the present embodiment, it is possible to generate a clock CLK that is not affected by a phase jump caused by clock switching. Further, even if a phase change occurs during clock switching, the number of pulses of the clock CLK2 within one cycle of the frame pulse FP2 does not change.

【0036】[0036]

【発明の効果】以上説明したように構成されている本発
明によれば、現用クロック供給系から予備クロック供給
系へ切替えた際に位相ずれが生じても、その位相ずれの
影響のないクロックおよびフレームパルスを生成するこ
とができるので、信頼性の高い系切替方式を提供するこ
とができる。
According to the present invention configured as described above, even if a phase shift occurs when switching from the current clock supply system to the spare clock supply system, a clock and a clock that are not affected by the phase shift are provided. Since a frame pulse can be generated, a highly reliable system switching method can be provided.

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

【図1】本発明の系切替方式の一実施形態を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a system switching system according to the present invention.

【図2】図1に示した系切替方式の動作タイムチャート
である。
FIG. 2 is an operation time chart of the system switching method shown in FIG.

【図3】特開平4-316234号公報に開示された従来の系切
替方式の構成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of a conventional system switching method disclosed in Japanese Patent Application Laid-Open No. 4-316234.

【図4】図3に示した系切替方式における動作タイムチ
ャートである。
4 is an operation time chart in the system switching method shown in FIG.

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

1,1’ クロック供給系 2,2’ クロック切替回路 3,3’ 下位装置 20,20’ セレクタ 30,30’ PLO部 31,31’ 電圧制御発振器 32,32’,33,33’ 分周器 34,34’ 位相比較部 35,35’ ローパスフィルタ(LFP) 40,40’ FP位相合わせ部 50,50’ FP発生器 60,60’ 位相監視部 1, 1 'Clock supply system 2, 2' Clock switching circuit 3, 3 'Lower device 20, 20' Selector 30, 30 'PLO unit 31, 31' Voltage controlled oscillator 32, 32 ', 33, 33' Divider 34, 34 'phase comparison unit 35, 35' low-pass filter (LFP) 40, 40 'FP phase matching unit 50, 50' FP generator 60, 60 'phase monitoring unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 現用クロック供給系と予備クロック供給
系の2系統を入力とし、これら系からのクロック供給を
選択的に切替えるクロック切替手段を有する系切替方式
において、 前記クロック切替手段は、 前記現用クロック供給系から供給されるクロックおよび
フレームパルスと前記予備クロック供給系から供給され
るクロックおよびフレームパルスとを選択出力する選択
手段と、 入力制御電圧に応じて出力クロックの周波数を制御する
電圧制御発振器と、 前記電圧制御発振器の出力を分周して高周波数のクロッ
クを出力する第1の分周器と、 前記第1の分周器の出力クロックを分周して低周波数の
クロックを出力する第2の分周器と、 前記第2の分周器の出力クロックと前記選択手段にて選
択されたクロックとの位相を比較し、該比較結果から前
記電圧制御発振器を制御する制御電圧を得る位相比較手
段と、 前記第2の分周器から出力された低周波数のクロックを
用いて、前記選択手段にて選択されたフレームパルスに
同期した第2のフレームパルスを生成する第1のフレー
ムパルス生成手段と、 前記第1の分周器から出力された高周波数のクロックを
用いて、前記第2のフレームパルスと同期した第3のフ
レームパルスを生成する第2のフレームパルス生成手段
と、を有し、 前記第1の分周器から出力されたクロックおよび前記第
2のフレームパルス生成手段にて生成されたフレームパ
ルスを出力とすることを特徴とする系切替方式。
1. A system switching system having two systems, an active clock supply system and a standby clock supply system, and having a clock switching means for selectively switching clock supply from these systems, wherein the clock switching means comprises: Selection means for selecting and outputting a clock and a frame pulse supplied from a clock supply system and a clock and a frame pulse supplied from the spare clock supply system; and a voltage controlled oscillator for controlling a frequency of an output clock in accordance with an input control voltage. A first frequency divider for dividing the output of the voltage controlled oscillator to output a high frequency clock; and dividing the output clock of the first frequency divider to output a low frequency clock. Comparing the phase of the output clock of the second frequency divider with the phase of the clock selected by the selection means; And a phase comparison unit for obtaining a control voltage for controlling the voltage-controlled oscillator from the result, and using a low-frequency clock output from the second frequency divider, synchronized with the frame pulse selected by the selection unit. A first frame pulse generating means for generating a second frame pulse, and a third frame pulse synchronized with the second frame pulse using a high frequency clock output from the first frequency divider And a frame pulse generated by the second frame pulse generating unit, and a clock output from the first frequency divider and a frame pulse generated by the second frame pulse generating unit. Characteristic system switching method.
【請求項2】 請求項1に記載の系切替方式において、 前記クロック切替手段は、 前記位相比較手段における位相比較結果を監視し、前記
選択手段にて選択されたクロックと前記第2の分周器の
出力クロックとが完全に同期するまで、下位装置に対
し、当該クロック切替手段から出力されるクロックおよ
びフレームパルスに基づくデータの読み込みを禁止する
位相監視手段をさらに有することを特徴とする系切替方
式。
2. The system switching system according to claim 1, wherein the clock switching unit monitors a result of the phase comparison by the phase comparing unit, and the clock selected by the selecting unit and the second frequency division. Further comprising phase monitoring means for prohibiting a lower-level device from reading data based on the clock and frame pulse output from the clock switching means until the output clock of the device is completely synchronized. method.
【請求項3】 請求項1または請求項2に記載の系切替
方式において、 前記クロック切替手段を現用系と予備系からなる冗長構
成としたことを特徴とする系切替方式。
3. The system switching system according to claim 1, wherein said clock switching means has a redundant configuration including a working system and a standby system.
【請求項4】 請求項2に記載の系切替方式において、 前記クロック切替手段を現用系と予備系からなる冗長構
成とし、これら現用系および予備系の各クロック切替手
段の位相監視手段は、互いにリンクし、それぞれの選択
手段にて選択されたクロックと第2の分周器の出力クロ
ックとが完全に同期するまで、下位装置に対して現用系
のクロック切替手段からの入力と予備系のクロック切替
手段からの入力の切替えを禁止することを特徴とする系
切替方式。
4. The system switching system according to claim 2, wherein the clock switching means has a redundant configuration including a working system and a protection system, and the phase monitoring means of each of the clock switching means of the working system and the protection system are mutually connected. Until the clock selected by the selection means and the output clock of the second frequency divider are completely synchronized, the input from the working clock switching means and the protection system clock to the lower-level device. A system switching method characterized in that switching of an input from a switching unit is prohibited.
【請求項5】 請求項1に記載の系切替方式において、 前記位相比較手段を、前記第2の分周器の出力クロック
と前記選択手段にて選択されたクロックとの位相差が1
80度となるような制御電圧を得るよう構成したことを
特徴とする系切替方式。
5. The system switching method according to claim 1, wherein said phase comparing means determines that a phase difference between an output clock of said second frequency divider and a clock selected by said selecting means is one.
A system switching method characterized in that a control voltage of 80 degrees is obtained.
JP9181523A 1997-07-07 1997-07-07 System switching method Expired - Fee Related JP3011139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9181523A JP3011139B2 (en) 1997-07-07 1997-07-07 System switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9181523A JP3011139B2 (en) 1997-07-07 1997-07-07 System switching method

Publications (2)

Publication Number Publication Date
JPH1127247A true JPH1127247A (en) 1999-01-29
JP3011139B2 JP3011139B2 (en) 2000-02-21

Family

ID=16102260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9181523A Expired - Fee Related JP3011139B2 (en) 1997-07-07 1997-07-07 System switching method

Country Status (1)

Country Link
JP (1) JP3011139B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003049356A1 (en) * 2001-11-30 2003-06-12 Fujitsu Limited Clock switching circuit and node device
JP2005533404A (en) * 2002-01-08 2005-11-04 モトローラ・インコーポレイテッド Method and apparatus for clock generation using reference signal selection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102302854B1 (en) * 2020-01-20 2021-09-16 주식회사 알에프디앤씨 Microwave sensor apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003049356A1 (en) * 2001-11-30 2003-06-12 Fujitsu Limited Clock switching circuit and node device
JP2005533404A (en) * 2002-01-08 2005-11-04 モトローラ・インコーポレイテッド Method and apparatus for clock generation using reference signal selection

Also Published As

Publication number Publication date
JP3011139B2 (en) 2000-02-21

Similar Documents

Publication Publication Date Title
US6359945B1 (en) Phase locked loop and method that provide fail-over redundant clocking
US5455840A (en) Method of compensating a phase of a system clock in an information processing system, apparatus employing the same and system clock generator
JP3011139B2 (en) System switching method
KR200314154Y1 (en) Apparatus For Compensing Frequency And Phase Simultaneously In DPPLL
JP4520380B2 (en) Clock generation circuit
JPH1117669A (en) Phase-locked loop circuit
JPH02100518A (en) Digital processing type phase locked loop oscillator
US5867545A (en) Phase-locked loop circuit
JP3655878B2 (en) PLL circuit
KR20000061197A (en) Apparatus and method for controlling clock frequency using plural phase-locked loops
JPS58139227A (en) Switching system of clock supplying circuit
JP2000148281A (en) Clock selecting circuit
JPH09307432A (en) Pll circuit
JP3612497B2 (en) Clock synchronization system and method for mobile communication base station apparatus
JP3239945B2 (en) Clock switching adjustment method and circuit
JPH07170584A (en) Clock switching circuit
JP3424662B2 (en) Clock synchronization circuit
JPH07273648A (en) Pll circuit
JP3720552B2 (en) Dual clock synchronous control system
JP3160904B2 (en) Phase-locked oscillation circuit device
JPH11154940A (en) Clock generating circuit
KR200242921Y1 (en) System Clock Redundancy
JP2001186018A (en) Input clock changeover circuit
JP2002026725A (en) Phase synchronization circuit
JP2001077690A (en) Device and method for supplying clock

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees