JP2010130638A - Clock hitless switching apparatus and its operation method - Google Patents

Clock hitless switching apparatus and its operation method Download PDF

Info

Publication number
JP2010130638A
JP2010130638A JP2008306500A JP2008306500A JP2010130638A JP 2010130638 A JP2010130638 A JP 2010130638A JP 2008306500 A JP2008306500 A JP 2008306500A JP 2008306500 A JP2008306500 A JP 2008306500A JP 2010130638 A JP2010130638 A JP 2010130638A
Authority
JP
Japan
Prior art keywords
clock
frequency
frequency division
phase difference
outputting
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
JP2008306500A
Other languages
Japanese (ja)
Other versions
JP5401947B2 (en
Inventor
Hidekazu Fukazawa
英一 深沢
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.)
Oki Electric Industry Co Ltd
Oki Comtec Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Comtec Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd, Oki Comtec Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2008306500A priority Critical patent/JP5401947B2/en
Publication of JP2010130638A publication Critical patent/JP2010130638A/en
Application granted granted Critical
Publication of JP5401947B2 publication Critical patent/JP5401947B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide clock hitless switching apparatus and an operation method capable of making a phase difference at system switching coincident at high precision. <P>SOLUTION: A clock hitless switching apparatus 100 compares a frequency division signal 110 of a standby system with an output frequency division signal 120 higher by integer times of the clock thereof to determine a phase difference value 126, and at system switching, a phase difference frequency division counter value 124 of the standby system is shifted by a phase difference value 126, thereby allowing a phase of an output frequency division signal 120 after switching to be coincident with a phase before switching at high precision. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、インターネットなどの通信回線を介して映像信号等の情報信号を送受信する伝送装置に関し、特に冗長伝送における2系統のクロックを無瞬断で切り替えるクロック無瞬断切替装置およびその動作方法に関するものである。   The present invention relates to a transmission apparatus that transmits and receives an information signal such as a video signal via a communication line such as the Internet, and more particularly to a clock uninterruptible switching apparatus that switches two clocks in redundant transmission without instantaneous interruption and an operation method thereof. Is.

従来、高精細テレビジョンなどの映像信号等の情報信号送信装置において、冗長伝送のために現用系と予備系の2系統の入力クロックを備え、切替えによりいずれかを選択する方法が一般的に用いられる。このような送信装置においては、クロックを現用系から予備系に切り替えるときに、信頼性の向上のため無瞬断での切替えが要求される。このとき両クロックの位相を合わせることが重要となってくる。   2. Description of the Related Art Conventionally, in an information signal transmission apparatus such as a video signal for a high-definition television, a method of selecting either one by switching between two active and standby input clocks is generally used for redundant transmission. It is done. In such a transmission apparatus, when the clock is switched from the active system to the standby system, switching without interruption is required to improve reliability. At this time, it is important to match the phases of both clocks.

特許文献1には、現用系のクロック側が予備系のクロック分周器をリセットすることで、現用系、予備系のクロック位相を合わせる例が、また特許文献2には、現用系、予備系のどちらか一方の系に対して複数の位相遅延を与える遅延回路を持ち、最も位相差の少ないクロックを選択することで、現用系、予備系のクロック位相を合わせる例が開示されている。
特開平8-223085号公報 特開平10-240375号公報
Patent Document 1 discloses an example in which the working clock side resets the standby clock divider to match the clock phases of the working system and the standby system. Patent Document 2 discloses an example in which the working system and the standby system are synchronized. An example is disclosed in which a delay circuit that gives a plurality of phase delays to either one of the systems and a clock phase with the smallest phase difference is selected to match the clock phases of the active system and the standby system.
JP-A-8-223085 Japanese Patent Laid-Open No. 10-240375

従来のクロック切替装置において、現用系と予備系とのクロックに位相差のある場合、現用系のクロックで予備系のクロック分周器をリセットすることにより位相を合わせたとしても、最低でもクロック1サイクル以下の位相差が残ってしまう。また、位相遅延回路を多数用意すれば、位相合わせの精度を上げることも可能であるが、ハード構成の面でもコストの面でも限界があり、結局位相差が残ってしまうことになる。   In the conventional clock switching device, when there is a phase difference between the clocks of the active system and the standby system, even if the phases are adjusted by resetting the standby clock divider with the active system clock, at least the clock 1 A phase difference of less than one cycle remains. If a large number of phase delay circuits are prepared, it is possible to increase the accuracy of phase alignment, but there is a limit in terms of hardware configuration and cost, and eventually a phase difference remains.

いずれにしてもこれらの位相差によって電圧水晶発振器(VCXO:Voltage Controlled
Crystal Oscillator)からの出力クロックを乱してしまうという問題があった。
In any case, voltage crystal oscillator (VCXO: Voltage Controlled)
There was a problem that the output clock from the Crystal Oscillator was disturbed.

本発明は、このような従来技術の欠点を解消し、系切替え時の位相差を高精度で一致させることができるクロック無瞬断切替装置およびその方法を提供することを目的とする。   An object of the present invention is to provide a clock uninterruptible switching device and method that can eliminate the above-described drawbacks of the prior art and can match the phase difference at the time of system switching with high accuracy.

本発明によれば、上述の課題を解決するために、冗長伝送における2系統のクロックを無瞬断で切り替えるクロック無瞬断切替装置は、位相差のある2系統のクロックを出力するクロック供給手段と、この2系統のクロックからそれぞれ第1の分周カウンタ値を出力する第1の分周カウンタ手段と、この第1の分周カウンタ値をそれぞれ1/Nに分周し(ただしNは自然数)、それぞれ分周信号を出力する第1のカウンタデコード手段と、2系統の分周信号からどちらかの分周信号を選択する選択手段と、この選択された分周信号と、出力から帰還される出力分周信号との位相を比較し、位相差に対応した位相差対応電圧を出力する位相比較手段と、この位相差対応電圧をフィルタし、制御電圧を出力するフィルタリング手段と、制御電圧で周波数の制御を行い、入力されたクロックのα(ただしαは自然数)倍の周波数制御クロックを出力するクロック生成手段と、この周波数制御クロックを1/αに分周し、出力クロックを出力するクロック出力手段と、周波数制御クロックから第2の分周カウンタ値を出力する第2の分周カウンタ手段と、第2の分周カウンタ値を1/(N×α)に分周し、出力分周信号を一時的に記憶するとともに、出力する第2のカウンタデコード手段と、2系統の第1の分周カウンタ値の一方と第2の分周カウンタ値との位相差分を、周波数制御クロックを用いてα倍の周波数精度で位相差分値として検出する位相差分検出手段と、系の切替え発生時に、一時的に記憶された出力分周信号を位相差分値で加減算を行い、位相を合わせる位相合わせ手段とを含むことを特徴とする。   According to the present invention, in order to solve the above-described problem, a clock non-interruptible switching device that switches between two clocks in redundant transmission without instantaneous interruption is a clock supply unit that outputs two clocks having a phase difference. The first frequency dividing counter means for outputting the first frequency dividing counter value from the two clocks, respectively, and the first frequency dividing counter value is divided by 1 / N (where N is a natural number). ), First counter decoding means for outputting a divided signal, selection means for selecting one of the divided signals from the two divided signals, the selected divided signal, and feedback from the output. A phase comparison unit that compares the phase of the output frequency division signal and outputs a phase difference corresponding voltage corresponding to the phase difference, a filtering unit that filters the phase difference corresponding voltage and outputs a control voltage, and a control voltage Clock generating means that controls the wave number and outputs a frequency control clock that is α times the input clock (where α is a natural number), and a clock that divides this frequency control clock by 1 / α and outputs the output clock Output means, second frequency dividing counter means for outputting a second frequency dividing counter value from the frequency control clock, and frequency dividing the second frequency dividing counter value to 1 / (N × α), The frequency control clock is used to temporarily store the signal and output the second counter decoding means to output, the phase difference between one of the two first frequency division counter values and the second frequency division counter value. Phase difference detection means for detecting a phase difference value with a frequency accuracy of α times, and a phase matching means for adding and subtracting the temporarily stored output frequency division signal with the phase difference value when the system is switched to match the phases. Including It is characterized in.

また、冗長伝送における2系統のクロックを無瞬断で切り替えるクロック無瞬断切替の動作方法は、位相差のある2系統のクロックを出力するクロック供給工程と、この2系統のクロックからそれぞれ第1の分周カウンタ値を出力する第1の分周カウンタ工程と、この第1の分周カウンタ値をそれぞれ1/Nに分周し(ただしNは自然数)、それぞれ分周信号を出力する第1のカウンタデコード工程と、2系統の分周信号からどちらかの分周信号を選択する選択工程と、この選択された分周信号と、出力から帰還される出力分周信号との位相を比較し、位相差に対応した位相差対応電圧を出力する位相比較工程と、この位相差対応電圧をフィルタし、制御電圧を出力するフィルタリング工程と、制御電圧で周波数の制御を行い、入力されたクロックのα(ただしαは自然数)倍の周波数制御クロックを出力するクロック生成工程と、この周波数制御クロックを1/αに分周し、出力クロックを出力するクロック出力工程と、周波数制御クロックから第2の分周カウンタ値を出力する第2の出力分周カウンタ工程と、第2の分周カウンタ値を1/(N×α)に分周し、出力分周信号を一時的に記憶するとともに、出力する第2のカウンタデコード工程と、2系統の第1の分周カウンタ値の一方と第2の分周カウンタ値との位相差分を、周波数制御クロックを用いてα倍の周波数精度で位相差分値として検出する位相差分検出工程と、系の切替え発生時に、一時的に記憶された出力分周信号を位相差分値で加減算を行い、位相を合わせる位相合わせ工程とを含むことを特徴とする。   In addition, the operation method of the clock non-interruptible switching for switching the two clocks in the redundant transmission without instantaneous interruption is a clock supply process for outputting two clocks having a phase difference, and the first clock from each of the two clocks. A first frequency division counter step for outputting a frequency division counter value, a first frequency division signal value for dividing the first frequency division counter value by 1 / N (where N is a natural number), and a first frequency division signal for outputting a frequency division signal. The counter decoding step, the selection step of selecting one of the two divided signals, and the phase of the selected divided signal and the output divided signal fed back from the output are compared. A phase comparison step for outputting a phase difference-corresponding voltage corresponding to the phase difference, a filtering step for filtering the phase difference-corresponding voltage and outputting a control voltage, and controlling the frequency using the control voltage, A clock generation step that outputs a frequency control clock that is α times the clock (where α is a natural number), a clock output step that divides the frequency control clock by 1 / α and outputs an output clock, and a frequency control clock A second output frequency division counter process for outputting the second frequency division counter value, the second frequency division counter value is divided by 1 / (N × α), and the output frequency division signal is temporarily stored. At the same time, the phase difference between the second counter decoding step to be output and one of the two first frequency division counter values and the second frequency division counter value is obtained with a frequency accuracy of α times using the frequency control clock. A phase difference detecting step for detecting the phase difference value, and a phase matching step for adding and subtracting the output frequency-divided signal temporarily stored at the time of system switching to match the phase. To do.

次に添付図面を参照して、本発明によるクロック無瞬断切替装置の実施例について詳細に説明する。   Next, with reference to the accompanying drawings, an embodiment of a clock uninterruptible switching device according to the present invention will be described in detail.

図1に高精細テレビ(HDTV:High Definition Television)の HD-SDI(High Definition Serial Digital Interface)処理部からの出力信号におけるクロック無瞬断切替装置100の構成を示す。   FIG. 1 shows a configuration of a clock non-interruptible switching device 100 in an output signal from an HD-SDI (High Definition Serial Digital Interface) processing unit of a high definition television (HDTV).

本実施例は冗長構成のHD-SDI処理部から出力される位相差のある現用系のクロック(0系クロック)と予備系のクロック(1系クロック)とを切り替える際、VCXOからの出力クロックの乱れを最小限に抑え、無瞬断切替えを行う方法を示している。   In this embodiment, when switching between the active clock (system 0 clock) having a phase difference and the standby clock (system 1 clock) output from the redundant HD-SDI processing unit, the output clock from the VCXO This shows how to perform disruptive switching with minimal disruption.

クロック供給部12は、位相差のある2系統のクロック、0系クロック102と1系クロック104を出力し、それぞれ分周カウンタ14、18に送る。   The clock supply unit 12 outputs two clocks having a phase difference, a 0-system clock 102 and a 1-system clock 104, and sends them to the frequency dividing counters 14 and 18, respectively.

分周カウンタ14、18は、クロック供給部12から送られた0系クロック102および1系クロック104を分周するためのカウンタであり、分周カウンタ値122、124をそれぞれカウンタデコーダ(DEC:Decoder)16、20に送るとともに、位相差分検出回路36に送る。   The frequency division counters 14 and 18 are counters for frequency-dividing the 0-system clock 102 and the 1-system clock 104 sent from the clock supply unit 12. The frequency-dividing counter values 122 and 124 are respectively represented by counter decoders (DEC: Decoder). ) Sent to 16 and 20, and sent to the phase difference detection circuit 36.

カウンタデコーダ16、20は、分周カウンタ14、18から送られた分周カウンタ値122、124から0系クロックおよび1系クロックをそれぞれ1/N(N:所望の自然数値)に分周し、0系分周信号106と1系分周信号108をセレクタ22に送る。   The counter decoders 16 and 20 respectively divide the 0-system clock and the 1-system clock from the frequency-divided counter values 122 and 124 sent from the frequency-dividing counters 14 and 18 to 1 / N (N: a desired natural value), The 0-system frequency division signal 106 and the 1-system frequency division signal 108 are sent to the selector 22.

セレクタ22は、カウンタデコーダ16、20から送られた0系分周信号106と1系分周信号108のどちらかの信号を選択し、選択した分周信号110を位相比較回路24に送る。また、系の切替えが発生した場合には外部から選択信号128を受信する。   The selector 22 selects either the 0-system divided signal 106 or the 1-system divided signal 108 sent from the counter decoders 16 and 20, and sends the selected divided signal 110 to the phase comparison circuit 24. Further, when system switching occurs, a selection signal 128 is received from the outside.

位相比較回路24は、セレクタ22から送られた分周信号110を基準とし、出力カウンタデコーダ34から送られる出力分周信号120を従属として位相を比較し、位相差に対応する位相差対応電圧111を出力しフィルタ回路26に送る。   The phase comparison circuit 24 uses the frequency division signal 110 sent from the selector 22 as a reference, compares the phase with the output frequency division signal 120 sent from the output counter decoder 34 as a subordinate, and compares the phase difference corresponding voltage 111 corresponding to the phase difference. Is sent to the filter circuit 26.

フィルタ回路26は、位相比較回路24から送られる位相差対応電圧111をフィルタにかけてVCXO制御電圧112とし、電圧制御水晶発振器(VCXO)28に送る。   The filter circuit 26 filters the phase difference corresponding voltage 111 sent from the phase comparison circuit 24 to obtain a VCXO control voltage 112 and sends it to the voltage controlled crystal oscillator (VCXO) 28.

VCXO 28は、フィルタ回路26から送られるVCXO制御電圧112により周波数の制御を行い入力されたクロックのα倍(所望の自然数倍)の周波数精度の周波数制御クロック114を出力し、1/α分周回路30に送る。また周波数制御クロック114をVCXO分周カウンタ32と位相差分検出回路36に送る。   The VCXO 28 controls the frequency by the VCXO control voltage 112 sent from the filter circuit 26 and outputs a frequency control clock 114 having a frequency accuracy that is α times (a desired natural number times) the input clock and is 1 / α minutes. Send to circuit 30. Further, the frequency control clock 114 is sent to the VCXO frequency division counter 32 and the phase difference detection circuit 36.

1/α分周回路30は、VCXO 28から送られるα倍の周波数精度の周波数制御クロック114を1/αに分周し、最終的に選択した分周信号110と同じクロック周波数の出力クロック116を出力する。   The 1 / α divider circuit 30 divides the frequency control clock 114 sent from the VCXO 28 by α times the frequency accuracy by 1 / α, and finally outputs the output clock 116 having the same clock frequency as the selected divided signal 110. Is output.

VCXO分周カウンタ32は、VCXO 28から送られる周波数制御クロック114を分周するためのカウンタであり、VCXO分周カウンタ値118を出力カウンタデコーダ34と位相差分検出回路36に送る。   The VCXO division counter 32 is a counter for dividing the frequency control clock 114 sent from the VCXO 28, and sends the VCXO division counter value 118 to the output counter decoder 34 and the phase difference detection circuit 36.

出力カウンタデコーダ34は、VCXO分周カウンタ32から送られるVCXO分周カウンタ値118を1/(N×α)に分周し、出力分周信号120として位相比較回路24に送る。   The output counter decoder 34 divides the VCXO division counter value 118 sent from the VCXO division counter 32 into 1 / (N × α), and sends it to the phase comparison circuit 24 as an output division signal 120.

また外部から選択信号128による系の切替えの発生時には、出力カウンタデコーダ34は、切替え発生前の出力分周信号120(デコード値)を記憶しておき、位相差分検出回路36から送られる位相差分値126で加減算を行い、切替え後の分周信号に位相の一致する出力分周信号120を作り出す。   In addition, when the switching of the system is generated from the outside by the selection signal 128, the output counter decoder 34 stores the output frequency dividing signal 120 (decoded value) before the switching is generated, and the phase difference value sent from the phase difference detection circuit 36. Addition / subtraction is performed at 126, and an output frequency-divided signal 120 whose phase matches the frequency-divided signal after switching is generated.

位相差分検出回路36は、分周カウンタ14から送られる分周カウンタ値122、もしくは分周カウンタ18から送られる分周カウンタ値124の一方と、VCXO分周カウンタ32 から送られるVCXO分周カウンタ値118との位相差分を、VCXO 28から送られる周波数制御クロック114を用いてα倍の周波数精度の位相差分値126として検出し、出力カウンタデコーダ34に送る。   The phase difference detection circuit 36 includes one of the frequency division counter value 122 sent from the frequency division counter 14 or the frequency division counter value 124 sent from the frequency division counter 18, and the VCXO frequency division counter value sent from the VCXO frequency division counter 32. The phase difference from 118 is detected as a phase difference value 126 having a frequency accuracy of α times using the frequency control clock 114 sent from the VCXO 28 and sent to the output counter decoder 34.

次に、本実施例におけるクロック無瞬断切替装置100の動作方法について、説明する。   Next, an operation method of the clock uninterruptible switching device 100 in the present embodiment will be described.

まず、クロックの系切替えが発生していない場合の動作について説明する。   First, the operation when the clock system switching has not occurred will be described.

クロック供給部12から位相差のある0系クロック102と1系クロック104とが出力され、0系クロック102は分周カウンタ14に入力され、分周カウンタ値122が出力される。この分周カウンタ値122はカウンタデコーダ16でデコードされ1/Nに分周され分周信号106となる。同様に1系クロック104は分周カウンタ18に入力され、カウンタ値124が出力され、このカウンタ値124はカウンタデコーダ20でデコードされ1/Nに分周され分周信号108となる。   A 0-system clock 102 and a 1-system clock 104 having a phase difference are output from the clock supply unit 12, the 0-system clock 102 is input to the frequency dividing counter 14, and a frequency dividing counter value 122 is output. This frequency division counter value 122 is decoded by the counter decoder 16 and divided by 1 / N to become a frequency division signal 106. Similarly, the 1-system clock 104 is input to the frequency dividing counter 18 and a counter value 124 is output. The counter value 124 is decoded by the counter decoder 20 and divided to 1 / N to become a frequency divided signal 108.

これら分周信号106、108はセレクタ22に送られ、どちらかが分周信号110として選択され位相比較回路24に送られる。   These frequency-divided signals 106 and 108 are sent to the selector 22, one of which is selected as the frequency-divided signal 110 and sent to the phase comparison circuit 24.

位相比較回路24では、この選択された分周信号110を基準側として、またVCXO 28から出力される周波数制御クロックを元に分周された出力分周信号120を従属側として、両者の位相が比較され、位相差に対応した位相差対応電圧111が出力され、フィルタ回路26に送られVCXO制御電圧112がVCXO 28に送られる。   The phase comparison circuit 24 uses the selected divided signal 110 as the reference side, and uses the output divided signal 120 divided based on the frequency control clock output from the VCXO 28 as the subordinate side, so that the phases of both are the same. The phase difference corresponding voltage 111 corresponding to the phase difference is output and sent to the filter circuit 26 and the VCXO control voltage 112 is sent to the VCXO 28.

VCXO 28では、あらかじめ入力クロックのα倍(所望の自然数倍)のクロックが出力されるように設定されてあり、クロック供給部12から供給されるクロックのα倍の周波数精度の周波数制御クロック114が出力される。   The VCXO 28 is set in advance to output a clock that is α times the input clock (a desired natural number), and the frequency control clock 114 having a frequency accuracy that is α times that of the clock supplied from the clock supply unit 12. Is output.

α倍の周波数精度の周波数制御クロック114は、VCXO分周カウンタ32に入力され、VCXO分周カウンタ値118が出力され、出力カウンタデコーダ34に送られる。   The frequency control clock 114 having a frequency accuracy of α times is input to the VCXO frequency dividing counter 32, and the VCXO frequency dividing counter value 118 is output and sent to the output counter decoder.

出力カウンタデコーダ34では送られてきたVCXO分周カウンタ値118が1/(N×α)に分周され出力分周信号120となる。   The output counter decoder 34 divides the VCXO frequency division counter value 118 sent to 1 / (N × α) to become an output frequency division signal 120.

この出力分周信号120が従属側として位相比較回路24に送られ、セレクタ22から送られる基準側の分周信号110と位相比較が行われる。   The output frequency division signal 120 is sent to the phase comparison circuit 24 as a subordinate side, and phase comparison is performed with the frequency division signal 110 on the reference side sent from the selector 22.

このようにして周波数制御クロック114が分周され、1/α分周回路30から最終的に選択された出力クロック116が出力される。   In this way, the frequency control clock 114 is frequency-divided, and the finally selected output clock 116 is output from the 1 / α frequency dividing circuit 30.

次にクロックの切替えが発生した場合について説明する。ここで選択された系を現用系、選択されなかった系を予備系とよぶ。   Next, a case where the clock is switched will be described. The system selected here is called the active system, and the system not selected is called the standby system.

位相差分検出回路36では、2系統のクロックから送られた2系統の分周カウンタのうち予備系のカウンタ値、すなわち0系クロックが現用系で1系のクロックが予備系の場合には1系の分周カウンタ値124が、1系クロックが現用系で0系のクロックが予備系の場合には0系の分周カウンタ値122が、VCXO分周カウンタ値118と比較される。   In the phase difference detection circuit 36, the counter value of the standby system among the two frequency division counters sent from the two clocks, that is, the 1 system when the 0 system clock is the active system and the 1 system clock is the standby system When the 1-system clock is the working system and the 0-system clock is the standby system, the 0-system division counter value 122 is compared with the VCXO division counter value 118.

ここで外部からの選択信号128により現用系から予備系への切替えが発生した際、出力カウンタデコーダ34では、あらかじめ記憶された切替え発生前の分周カウンタ124(デコード値)に位相差分検出回路36からの位相差分値126を加減算されることにより切替え後の予備系の分周信号に位相が一致する出力分周信号120が作り出される。   Here, when switching from the active system to the standby system occurs due to the selection signal 128 from the outside, the output counter decoder 34 adds the phase difference detection circuit 36 to the frequency-dividing counter 124 (decoded value) before the occurrence of switching stored in advance. By adding / subtracting the phase difference value 126 from the output, the output frequency division signal 120 whose phase matches the frequency division signal of the standby system after switching is created.

位相差分値126は、α倍の周波数精度のクロック114から求められているため、倍数の大きいほど精度を高く位相を一致させることが可能である。   Since the phase difference value 126 is obtained from the clock 114 having a frequency accuracy of α times, it is possible to match the phases with higher accuracy as the multiple becomes larger.

さらに図2に示すように、0系クロックが現用系で1系のクロックが予備系の場合には、0系のカウンタデコーダ16からのリセット信号130で1系の分周カウンタ18をリセットすることにより、また1系のクロックが現用系で0系のクロックが予備系の場合には、1系のカウンタデコーダ20からのリセット信号132で0系の分周カウンタ14をリセットすることによりあらかじめ両系の分周カウンタ値122、124の位相差、および両系の分周信号106,108の位相差を、供給されるクロックの1サイクル以内にしておくことを併用しても構わない。   Further, as shown in FIG. 2, when the 0 system clock is the active system and the 1 system clock is the standby system, the 1 system frequency dividing counter 18 is reset by the reset signal 130 from the 0 system counter decoder 16. If the 1-system clock is the active system and the 0-system clock is the standby system, the 0-system frequency division counter 14 is reset by the reset signal 132 from the 1-system counter decoder 20 in advance. The phase difference between the divided counter values 122 and 124 and the phase difference between the divided signals 106 and 108 of both systems may be used within one cycle of the supplied clock.

以上の動作について、図3のタイムチャートを用いて具体的に説明する。ここでαは4、すなわちVCXOクロックが供給クロックの4倍の周波数、0系クロックが現用系クロック、1系クロックが予備クロックであるとする。   The above operation will be specifically described with reference to the time chart of FIG. Here, α is 4, that is, the VCXO clock is four times the frequency of the supplied clock, the 0 system clock is the working system clock, and the 1 system clock is the spare clock.

クロック切替えがおこなわれる前の状態では、現用系の分周カウンタ122が「0」をデコードしたときの現用系分周信号106の立ち上がりと、VCXO分周カウンタ値118が「0」〜「3」をデコードしたしたときのVCXO出力分周信号120の立ち上がりとが一致し、現用系クロック102は、VCXOクロック114と位相が一致している。   In a state before the clock is switched, the rising of the active frequency dividing signal 106 when the active frequency dividing counter 122 decodes “0” and the VCXO frequency dividing counter value 118 is “0” to “3”. The rising edge of the VCXO output frequency dividing signal 120 when the signal is decoded coincides with that of the active clock 102 and the phase of the VCXO clock 114 coincides.

次に現用系クロックと位相が一致していない予備系クロック104でカウントされる予備系分周カウンタ124は、VCXO分周カウンタ118と位相差があり、その位相差分値126が求められる。具体的には、現用系分周カウンタ122のときと同様に、予備系分周カウンタ124が「0」をデコードしたときの予備系分周信号108の立ち上がりと、VCXO分周カウンタ118が「0」〜「3」をデコードしたしたときのVCXO出力分周信号120の立ち上がりとの位相差分値126は、VCXOクロック114の精度で「6」となっている。   Next, the standby frequency dividing counter 124 counted by the standby clock 104 whose phase does not match the working clock has a phase difference with the VCXO frequency dividing counter 118, and the phase difference value 126 is obtained. Specifically, as in the case of the active system frequency dividing counter 122, when the standby system frequency dividing counter 124 decodes “0”, the standby system frequency dividing signal 108 rises, and the VCXO frequency dividing counter 118 sets “0”. The phase difference value 126 from the rising edge of the VCXO output divided signal 120 when “3” to “3” is decoded is “6” with the accuracy of the VCXO clock 114.

クロック切替えが行われる際、VCXO出力分周信号120が出力カウンタデコーダ34において、VCXOクロック114を用いて位相差分値126である6クロック分ずらされることによりVCXO分周カウンタ118の「6」〜「9」にデコードされる。   When the clock switching is performed, the VCXO output frequency division signal 120 is shifted by 6 clocks, which is the phase difference value 126, using the VCXO clock 114 in the output counter decoder 34, whereby “6” to “6” of the VCXO frequency division counter 118. 9 ".

これにより、予備系分周信号108の位相をVCXOクロック114の1サイクル以内の精度で、クロック切替え後のVCXO分周信号を、切替え前の位相と一致させることができる。   As a result, the phase of the standby frequency division signal 108 can be made to match the phase before the switching with the accuracy within one cycle of the VCXO clock 114 and the VCXO frequency division signal after the clock switching.

本実施例では、HDTV信号を例として示したが、SDTV(Standard Definition Television)はもちろん周波数領域には関係なく適用することができる。また、VCXOの周波数は、供給クロックに対する倍率が大きければ大きいほど位相精度が向上することは明らかであるが、2倍以上であれば本発明を適用することが可能である。   In this embodiment, an HDTV signal is shown as an example, but SDTV (Standard Definition Television) can be applied regardless of the frequency domain. In addition, it is clear that the phase accuracy improves as the magnification of the VCXO with respect to the supplied clock increases, but the present invention can be applied if it is twice or more.

このように、本発明によれば、クロック無瞬断切替装置において、位相差のある2系統のクロックを切り替える際に、位相比較回路の従属側のクロック周波数を供給されるクロックより整数倍高くし、予備系の分周カウンタ値と従属側の分周カウンタを比較して位相差分値を求めておき、系切替えが発生した際は、従属側の分周カウンタのデコード値を位相差分値だけずらし、切替え後の分周信号の位相を高精度で一致させることで、切替え時に発生するクロックの乱れを防止することが可能である。   Thus, according to the present invention, when switching between two clocks having a phase difference in the clock uninterruptible switching device, the clock frequency on the dependent side of the phase comparison circuit is set to be an integer multiple higher than the supplied clock. The standby frequency division counter value is compared with the subordinate frequency division counter to obtain the phase difference value. When a system switchover occurs, the decode value of the subordinate frequency division counter is shifted by the phase difference value. By making the phase of the frequency-divided signal after switching coincide with each other with high accuracy, it is possible to prevent clock disturbance occurring at the time of switching.

また、簡単な位相比較によって処理することができるため、精度を上げるためのハード量を増大させることもなく回路の規模を削減することが可能となる。   Further, since processing can be performed by simple phase comparison, the scale of the circuit can be reduced without increasing the amount of hardware for increasing accuracy.

本発明の実施例によるクロック無瞬断切替装置の構成を示すブロックである。It is a block which shows the structure of the clock uninterruptible switching apparatus by the Example of this invention. 本発明の他の実施例によるクロック無瞬断切替装置の説明の図である。It is a figure of description of the clock uninterruptible switching device by other Example of this invention. 本発明の実施例によるクロック無瞬断切替装置の動作を説明するタイムチャートである。It is a time chart explaining operation | movement of the clock uninterruptible switching device by the Example of this invention.

符号の説明Explanation of symbols

100 クロック無瞬断切替装置
12 クロック供給部
14,18 分周カウンタ
16,20 カウンタデコーダ
22 セレクタ
24 位相比較回路
26 フィルタ回路
28 電圧制御水晶発振器(VCXO)
30 1/α分周回路
32 VCXO分周カウンタ
34 出力カウンタデコーダ
36 位相差分検出回路
100 clock uninterruptible switching device
12 Clock supply section
14,18 Divider counter
16,20 counter decoder
22 Selector
24 Phase comparison circuit
26 Filter circuit
28 Voltage controlled crystal oscillator (VCXO)
30 1 / α divider circuit
32 VCXO divider counter
34 Output counter decoder
36 Phase difference detection circuit

Claims (4)

冗長伝送における2系統のクロックを無瞬断で切り替えるクロック無瞬断切替装置において、該装置は、
位相差のある2系統のクロックを出力するクロック供給手段と、
該2系統のクロックからそれぞれ第1の分周カウンタ値を出力する第1の分周カウンタ手段と、
該第1の分周カウンタ値をそれぞれ1/Nに分周し(ただしNは自然数)、それぞれ分周信号を出力する第1のカウンタデコード手段と、
2系統の該分周信号からどちらかの分周信号を選択する選択手段と、
該選択された分周信号と、出力から帰還される出力分周信号との位相を比較し、位相差に対応した位相差対応電圧を出力する位相比較手段と、
該位相差対応電圧をフィルタし、制御電圧を出力するフィルタリング手段と、
該制御電圧で周波数の制御を行い、入力されたクロックのα(ただしαは自然数)倍の周波数制御クロックを出力するクロック生成手段と、
該周波数制御クロックを1/αに分周し、出力クロックを出力するクロック出力手段と、
前記周波数制御クロックから第2の分周カウンタ値を出力する第2の分周カウンタ手段と、
該第2の分周カウンタ値を1/(N×α)に分周し、出力分周信号を一時的に記憶するとともに、出力する第2のカウンタデコード手段と、
前記2系統の前記第1の分周カウンタ値の一方と前記第2の分周カウンタ値との位相差分を、前記周波数制御クロックを用いて前記α倍の周波数精度で位相差分値として検出する位相差分検出手段と、
系の切替え発生時に、前記一時的に記憶された出力分周信号を該位相差分値で加減算を行い、位相を合わせる位相合わせ手段とを含むことを特徴とするクロック無瞬断切替装置。
In a clock uninterruptible switching device that switches two systems of clocks in redundant transmission without instantaneous disconnection, the device includes:
Clock supply means for outputting two systems of clocks having a phase difference;
First frequency division counter means for outputting a first frequency division counter value from each of the two clocks;
First counter decoding means for dividing each of the first frequency division counter values by 1 / N (where N is a natural number) and outputting a frequency division signal;
Selecting means for selecting one of the divided signals from the two divided signals;
Phase comparison means for comparing the phase of the selected frequency-divided signal and the output frequency-divided signal fed back from the output, and outputting a phase difference corresponding voltage corresponding to the phase difference;
Filtering means for filtering the phase difference corresponding voltage and outputting a control voltage;
Clock generation means for controlling the frequency with the control voltage and outputting a frequency control clock that is α times (where α is a natural number) times the input clock;
A clock output means for dividing the frequency control clock by 1 / α and outputting an output clock;
Second frequency division counter means for outputting a second frequency division counter value from the frequency control clock;
A second counter decoding means for dividing the second frequency division counter value by 1 / (N × α), temporarily storing an output frequency division signal, and outputting it;
A phase in which a phase difference between one of the first frequency division counter values of the two systems and the second frequency division counter value is detected as a phase difference value with the frequency accuracy of α times using the frequency control clock. Difference detection means;
A clock non-interruptible switching device comprising phase matching means for adding and subtracting the temporarily stored output frequency-divided signal with the phase difference value when the system is switched.
請求項1のクロック無瞬断切替装置において、前記2系統のクロックを分周するときに一方のクロックから他方のクロックの第1の分周カウンタ手段をリセットすることを特徴とするクロック無瞬断切替装置。   2. The clock uninterruptible switching device according to claim 1, wherein when dividing the clocks of the two systems, the first frequency division counter means of the other clock is reset from one clock. Switching device. 請求項2のクロック無瞬断切替装置において、前記リセットにより、あらかじめ前記2系統の前記第1の分周カウンタ値の位相差を供給されるクロックの1サイクル以内にすることを特徴とするクロック無瞬断切替装置。   3. The clock uninterruptible switching device according to claim 2, wherein the reset causes the phase difference between the first frequency division counter values of the two systems to be within one cycle of the supplied clock in advance. Instantaneous interruption switching device. 冗長伝送における2系統のクロックを無瞬断で切り替えるクロック無瞬断切替の動作方法において、該方法は、
位相差のある2系統のクロックを出力するクロック供給工程と、
該2系統のクロックからそれぞれ第1の分周カウンタ値を出力する第1の分周カウンタ工程と、
該第1の分周カウンタ値をそれぞれ1/Nに分周し(ただしNは自然数)、それぞれ分周信号を出力する第1のカウンタデコード工程と、
2系統の該分周信号からどちらかの分周信号を選択する選択工程と、
該選択された分周信号と、出力から帰還される出力分周信号との位相を比較し、位相差に対応した位相差対応電圧を出力する位相比較工程と、
該位相差対応電圧をフィルタし、制御電圧を出力するフィルタリング工程と、
該制御電圧で周波数の制御を行い、入力されたクロックのα(ただしαは自然数)倍の周波数制御クロックを出力するクロック生成工程と、
該周波数制御クロックを1/αに分周し、出力クロックを出力するクロック出力工程と、
前記周波数制御クロックから第2の分周カウンタ値を出力する第2の分周カウンタ工程と、
該第2の分周カウンタ値を1/(N×α)に分周し、出力分周信号を一時的に記憶するとともに、出力する第2のカウンタデコード工程と、
前記2系統の前記第1の分周カウンタ値の一方と前記第2の分周カウンタ値との位相差分を、前記周波数制御クロックを用いて前記α倍の周波数精度で位相差分値として検出する位相差分検出工程と、
系の切替え発生時に、一時的に記憶された前記出力分周信号を該位相差分値で加減算を行い、位相を合わせる位相合わせ工程とを含むことを特徴とするクロック無瞬断切替の動作方法。
In an operation method of clock non-instantaneous switching for switching two clocks in redundant transmission without instantaneous interruption, the method includes:
A clock supply step of outputting two clocks having a phase difference;
A first frequency division counter step of outputting a first frequency division counter value from each of the two clocks;
A first counter decoding step of dividing each of the first frequency division counter values by 1 / N (where N is a natural number) and outputting a frequency division signal;
A selection step of selecting one of the divided signals from the two divided signals;
A phase comparison step of comparing the phase of the selected frequency-divided signal and the output frequency-divided signal fed back from the output, and outputting a phase difference corresponding voltage corresponding to the phase difference;
A filtering step of filtering the phase difference corresponding voltage and outputting a control voltage;
A clock generation step of controlling the frequency with the control voltage and outputting a frequency control clock that is α (where α is a natural number) times the input clock;
A clock output step of dividing the frequency control clock by 1 / α and outputting an output clock;
A second frequency division counter step of outputting a second frequency division counter value from the frequency control clock;
A second counter decoding step of dividing the second frequency division counter value by 1 / (N × α), temporarily storing the output frequency division signal, and outputting it;
A phase in which a phase difference between one of the first frequency division counter values of the two systems and the second frequency division counter value is detected as a phase difference value with the frequency accuracy of α times using the frequency control clock. A difference detection step;
And a phase matching step of adding and subtracting the output frequency-divided signal temporarily stored with the phase difference value to match the phase when switching of the system occurs.
JP2008306500A 2008-12-01 2008-12-01 Clock uninterruptible switching device and operation method thereof Active JP5401947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008306500A JP5401947B2 (en) 2008-12-01 2008-12-01 Clock uninterruptible switching device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008306500A JP5401947B2 (en) 2008-12-01 2008-12-01 Clock uninterruptible switching device and operation method thereof

Publications (2)

Publication Number Publication Date
JP2010130638A true JP2010130638A (en) 2010-06-10
JP5401947B2 JP5401947B2 (en) 2014-01-29

Family

ID=42330632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008306500A Active JP5401947B2 (en) 2008-12-01 2008-12-01 Clock uninterruptible switching device and operation method thereof

Country Status (1)

Country Link
JP (1) JP5401947B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013201743A (en) * 2012-02-22 2013-10-03 Oki Electric Ind Co Ltd Clock switching device
JP2015179351A (en) * 2014-03-19 2015-10-08 日本電気株式会社 Clock generator, server system and clock control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01314447A (en) * 1988-06-14 1989-12-19 Fujitsu Ltd Hitless switch control circuit
JPH04172831A (en) * 1990-11-07 1992-06-19 Nec Corp Clock reception circuit for repeater terminal equipment
JPH08223085A (en) * 1995-02-15 1996-08-30 Fujitsu Ltd Radio transmission equipment
JP2003032320A (en) * 2001-07-16 2003-01-31 Nec Corp Digital wireless communication device provided with hitless switching circuit
JP2008236493A (en) * 2007-03-22 2008-10-02 Nec Corp Data transmission apparatus and clock switching circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01314447A (en) * 1988-06-14 1989-12-19 Fujitsu Ltd Hitless switch control circuit
JPH04172831A (en) * 1990-11-07 1992-06-19 Nec Corp Clock reception circuit for repeater terminal equipment
JPH08223085A (en) * 1995-02-15 1996-08-30 Fujitsu Ltd Radio transmission equipment
JP2003032320A (en) * 2001-07-16 2003-01-31 Nec Corp Digital wireless communication device provided with hitless switching circuit
JP2008236493A (en) * 2007-03-22 2008-10-02 Nec Corp Data transmission apparatus and clock switching circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013201743A (en) * 2012-02-22 2013-10-03 Oki Electric Ind Co Ltd Clock switching device
JP2015179351A (en) * 2014-03-19 2015-10-08 日本電気株式会社 Clock generator, server system and clock control method
US9654277B2 (en) 2014-03-19 2017-05-16 Nec Corporation Clock generation apparatus, server system and clock control method

Also Published As

Publication number Publication date
JP5401947B2 (en) 2014-01-29

Similar Documents

Publication Publication Date Title
US7671634B2 (en) Redundant clock switch circuit
US5852728A (en) Uninterruptible clock supply apparatus for fault tolerant computer system
US8175205B2 (en) Clock data recovery circuit capable of generating clock signal synchronized with data signal
US8249171B2 (en) MPEG-2 transport stream packet synchronizer
US6819153B2 (en) Semiconductor device for clock signals synchronization accuracy
US8035451B2 (en) On-the-fly frequency switching while maintaining phase and frequency lock
JP2001352241A (en) Digital pll device
US20050259505A1 (en) System and method for maintaining device operation during clock signal adjustments
JP5401947B2 (en) Clock uninterruptible switching device and operation method thereof
WO2012081196A1 (en) Signal selection circuit and signal selection method
JP4862984B2 (en) Clock switching device and clock switching method
JP3251213B2 (en) Phase locked loop circuit
JP2008176578A (en) Redundant operation system and operation part
JP5270524B2 (en) Clock phase synchronization circuit
JP3132657B2 (en) Clock switching circuit
JP6036014B2 (en) Clock switching device
JP7198335B2 (en) clock switching device
JP2000148281A (en) Clock selecting circuit
JP4089352B2 (en) Frame pulse switching circuit and phase control method thereof
JP2010124295A (en) Control apparatus and clock synchronizing method
JP2003347933A (en) Clock generating circuit
JP2001326627A (en) Synchronizing source signal changeover circuit
JP2018207197A (en) Clock redundant system
JP4921811B2 (en) Phase-locked loop circuit and control method used in the phase-locked loop circuit
KR100328761B1 (en) A device of switching system clock unit for optical communication system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110114

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110816

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

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: 20131001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131014

R150 Certificate of patent or registration of utility model

Ref document number: 5401947

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150