JP3500985B2 - Clock system switching circuit - Google Patents
Clock system switching circuitInfo
- Publication number
- JP3500985B2 JP3500985B2 JP29746098A JP29746098A JP3500985B2 JP 3500985 B2 JP3500985 B2 JP 3500985B2 JP 29746098 A JP29746098 A JP 29746098A JP 29746098 A JP29746098 A JP 29746098A JP 3500985 B2 JP3500985 B2 JP 3500985B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- divided
- frequency
- dividing
- input
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims description 35
- 230000000630 rising effect Effects 0.000 claims description 26
- 230000001360 synchronised effect Effects 0.000 description 13
- 230000010355 oscillation Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 101100350613 Arabidopsis thaliana PLL1 gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明はクロック系切替回路
に係わり、詳細には冗長構成の系切替時におけるクロッ
クの連続性を保つクロック系切替回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock system switching circuit, and more particularly to a clock system switching circuit which maintains clock continuity during system switching in a redundant configuration.
【0002】[0002]
【従来の技術】従来のこの種のクロック系切替回路は、
冗長構成を採用している装置に供給されるクロック信号
について、予め現用系および予備系のクロック信号の位
相を合わせておく。そして、たとえば現用系のクロック
系に障害が発生した場合に、クロック断検出信号に基づ
いて生成された切替信号により、装置に供給されるクロ
ック信号を予備系の正常なクロックへ切り替える。2. Description of the Related Art A conventional clock system switching circuit of this type is
Regarding the clock signals supplied to the device adopting the redundant configuration, the phases of the clock signals of the active system and the standby system are matched in advance. Then, for example, when a failure occurs in the clock system of the active system, the clock signal supplied to the device is switched to the normal clock of the standby system by the switching signal generated based on the clock loss detection signal.
【0003】図8は従来提案されたクロック系切替回路
の構成の概要を表わしたものである。このクロック系切
替回路は、冗長構成として第1の系および第2の系を有
しており、ともに同一構成である。以下では第1の系に
ついて説明する。第1の系入力クロック101は、PL
L(Phase Locked Loop)111に入力される。PLL1
11は、電圧制御発振器(Voltage Controlled Oscillat
or:以下、VCOと略す。)121の発振クロック131
と第1の系入力クロック101の同期制御を行う。VC
O121から出力された発振クロック131は、1/n分
周回路141にも入力されており、発振クロック131が
分周された第1の系分周クロック151を生成する。こ
の第1の系分周クロック151は、選択部16に入力さ
れている。さらに、発振クロック131はカウンタ171
に入力されており、この発振クロックに同期したパルス
を生成する。カウンタの出力したパルスは、他系の制御
部に入力される。すなわち、第1の系のカウンタ171
の出力したパルス181は、第2の系の制御部192に入
力され、第2の系のカウンタ172の出力したパルス1
82は、第1の系の制御部191に入力されている。FIG. 8 shows an outline of the configuration of a conventionally proposed clock system switching circuit. This clock system switching circuit has a first system and a second system as redundant configurations, and both have the same configuration. The first system will be described below. The first system input clock 10 1 is PL
It is input to L (Phase Locked Loop) 11 1 . PLL1
1 1, the voltage controlled oscillator (Voltage Controlled Oscillat
or: Hereinafter, abbreviated as VCO. ) 12 1 oscillation clock 13 1
And synchronous control of the first system input clock 10 1 . VC
O12 1 oscillation clock 13 1 output from the even 1 / n frequency dividing circuit 14 1 are inputted, generates the first system divided clock 15 1 oscillation clock 13 1 is divided. The first system divided clock 15 1 is input to the selection unit 16. Further, the oscillation clock 13 1 is the counter 17 1
Is input to and generates a pulse synchronized with this oscillation clock. The pulse output from the counter is input to the control unit of the other system. That is, the counter 17 1 of the first system
The pulse 18 1 output by the second system is input to the control unit 19 2 of the second system and the pulse 1 output by the counter 17 2 of the second system is output.
8 2 is input to the control unit 19 1 of the first system.
【0004】制御部191は、自系が現用系か予備系か
を判別できるようになっており、現用系であると判別さ
れたときには、予備系のクロックに同期させる必要がな
いためパルス182の1/n分周回路141およびカウン
タ171への供給を禁止させる。一方、自系が予備系で
あると判別されたときには、現用系である他系のクロッ
クに同期させるため、パルス182の1/n分周回路1
41およびカウンタ17 1への供給を許可する。なお、制
御部191は、クロック断検出信号などによって生成さ
れた系切替情報およびパッケージの実装状態を示す実装
情報などに基づいて、自系が現用系であるか予備系であ
るかを判別する。Control unit 191Is the current system or standby system
Can be identified, and it is identified as the active system.
Need to be synchronized with the standby system clock when
Pulse 1821 / n frequency divider 141And coun
171Supply to On the other hand, the own system is the standby system
If it is determined that there is a clock of the other system that is the active system.
Pulse 18 to synchronize21 / n frequency divider 1
Four1And counter 17 1To supply to. In addition, control
Part 191Is generated by a clock loss detection signal, etc.
Implementation that indicates the system switching information and package implementation status
Based on information, etc., the local system is the active system or the standby system.
Determine if
【0005】このようにして各系で生成された分周クロ
ックは、選択部16でクロック断検出信号などによって
生成された切替信号20に基づいて出力クロック21が
択一的に選択される。The output clock 21 is selectively selected from the divided clocks thus generated in each system based on the switching signal 20 generated by the clock break detection signal or the like in the selector 16.
【0006】図9は図8に示したクロック系切替回路の
各部の信号波形を表わしたものである。ここでは、現用
系が第2の系であるとして、第1の系で第2の系のクロ
ック信号と位相を合わせるものとする。図9(a)は第
1の系入力クロック101のタイミングチャート、同図
(b)は第2の系入力クロック102のタイミングチャ
ート、同図(c)は発振クロック131のタイミングチ
ャート、同図(d)は発振クロック132のタイミング
チャート、同図(e)は第1の系分周クロック151の
タイミングチャート、同図(f)はパルス182のタイ
ミングチャート、同図(g)は第2の系分周クロック1
52のタイミングチャート、同図(h)は切替信号20
のタイミングチャート、同図(j)は出力クロック21
のタイミングチャートを、それぞれ表わしている。すな
わち、同図(a)および(b)に示すように第1および
第2の系入力クロック101、102が互いに位相が合っ
ていないとき、それぞれは独立してVCO121、122
により発振クロック131、132が出力される(同図
(c)、(d))。FIG. 9 shows the signal waveform of each part of the clock system switching circuit shown in FIG. Here, it is assumed that the active system is the second system and the first system is in phase with the clock signal of the second system. 9A is a timing chart of the first system input clock 10 1 , FIG. 9B is a timing chart of the second system input clock 10 2 , and FIG. 9C is a timing chart of the oscillation clock 13 1 . 6D is a timing chart of the oscillation clock 13 2 , FIG. 7E is a timing chart of the first system division clock 15 1 , FIG. 6F is a timing chart of the pulse 18 2 , and FIG. ) Is the second system divided clock 1
5 2 timing chart, switching signal 20 is shown in FIG.
Of the output clock 21.
The respective timing charts are shown. That is, the first and, as shown in the diagram (a) and (b)
When the second system input clocks 10 1 and 10 2 are not in phase with each other, they are independently VCOs 12 1 and 12 2.
As a result, the oscillation clocks 13 1 and 13 2 are output ((c) and (d) in the figure).
【0007】ここで、現用系である第2の系のカウンタ
172が発振クロック132の入力をカウントし、同図
(f)に示すように所定のタイミングでパルス182を
生成するものとする。このパルス182は、第1の系の
制御部191に通知される。第1の系は予備系であるの
で、そのままパルス182は、1/n分周回路141およ
びカウンタ171にリセットパルス信号として入力され
る。これにより、1/n分周回路142では、発振クロ
ック132に同期して1/n分周された第2の系分周ク
ロック152を生成する(同図(g))。一方、1/n
分周回路14 1 では、リセットパルス信号および発振ク
ロック131に同期して1/n分周された第1の系分周
クロック151を生成する(同図(e))。[0007] Here, as the 2 second system of counter 17 is active system counts the input of the oscillation clock 13 2 generates a pulse 18 2 at a predetermined timing as shown in FIG. (F) To do. This pulse 18 2 is notified to the control unit 19 1 of the first system. Since the first system is a standby system, the pulse 18 2 is directly input to the 1 / n frequency dividing circuit 14 1 and the counter 17 1 as a reset pulse signal. As a result, the 1 / n frequency dividing circuit 14 2 generates the second system frequency dividing clock 15 2 which is frequency-divided by 1 / n in synchronization with the oscillation clock 13 2 ((g) in the figure). On the other hand, 1 / n
The frequency dividing circuit 14 1 generates a first system frequency-divided clock 15 1 divided by 1 / n in synchronization with the reset pulse signal and the oscillation clock 13 1 ((e) in the figure).
【0008】そこで、同図(h)に示すように切替信号
20により選択される系が第2の系から第1の系に経路
切替が行われるとき、上述した通り同図(e)、(g)
に示すように既に第1の系分周クロック151および第
2の系分周クロック152の位相が合っている。したが
って、切替信号20によって選択部16でこれら分周ク
ロックの切替が行われても、同図(j)に示すように出
力クロック信号21が生成され、“位相飛び”あるいは
“位相の進み”などの系切替時における連続性が損なわ
れるようなことがない。Therefore, when the system selected by the switching signal 20 is switched from the second system to the first system as shown in FIG. 6 (h), as shown in FIG. g)
As shown in (1), the phases of the first system divided clock 15 1 and the second system divided clock 15 2 are already in phase. Therefore, even if these frequency-divided clocks are switched by the selector 16 by the switching signal 20, the output clock signal 21 is generated as shown in FIG. There is no loss of continuity during system switching.
【0009】このようなクロック系切替回路に関する技
術は、たとえば特開平4−267652号公報「クロッ
ク位相同期システム」に開示されている。A technique relating to such a clock system switching circuit is disclosed in, for example, Japanese Patent Laid-Open No. 4-267652, "Clock phase synchronization system".
【0010】また、このようなクロック系切替回路に関
する他の技術としては、たとえば特開平2−13001
8号公報「クロックの系切替回路」に開示されているよ
うに、現用系および予備系のクロックそれぞれの変化点
をパルスに変換し、クロックのレベルが定常状態にある
位置まで遅延させる。そして、この変化点パルス信号で
現用系および予備系のクロック信号の系切替を行うため
の切替信号をリタイミングし、このリタイミング信号で
これら現用系および予備系クロックの切り替え制御を行
う。これにより、従来の切り替えられた出力クロックに
おける“クロック割れ”の発生を防止することができ
る。Another technique relating to such a clock system switching circuit is, for example, Japanese Patent Laid-Open No. 23001 / 2-1003.
As disclosed in Japanese Unexamined Patent Publication No. 8 "Clock system switching circuit", the changing points of the clocks of the active system and the standby system are converted into pulses and delayed until a position where the clock level is in a steady state. Then, the change-point pulse signal is used to retime a switching signal for performing system switching of the clock signals of the active system and the standby system, and the switching timing of the active system and the standby system clock is controlled by this retiming signal. As a result, it is possible to prevent the occurrence of “clock crack” in the conventional switched output clock.
【0011】[0011]
【発明が解決しようとする課題】しかしながら特開平4
−267652号公報に開示されている技術では、カウ
ンタ回路を用いてリセットパルスを出力することによっ
て他系のクロック信号の同期をとるようにしているた
め、回路構成が大きくなってしまうという問題がある。
また、非同期の切替信号で系切替を行っているため、ク
ロック信号の周波数が向上するにつれて、両系のゲート
遅延や配線遅延などの差が無視できなくなり、これらの
系切替タイミングによっては上述したようなクロック割
れなどが発生し、切替時におけるクロック信号の連続性
を保つことができなくなるという問題がある。[Patent Document 1] Japanese Unexamined Patent Application Publication No.
In the technique disclosed in Japanese Laid-Open Patent Publication No. 267652, a counter circuit is used to output a reset pulse so as to synchronize clock signals of other systems, which causes a problem that the circuit configuration becomes large. .
In addition, since system switching is performed with an asynchronous switching signal, as the frequency of the clock signal improves, differences such as gate delay and wiring delay between the two systems cannot be ignored. However, there is a problem in that it is impossible to maintain the continuity of the clock signal at the time of switching, because such a clock crack occurs.
【0012】また、特開平2−130018号公報に開
示されている技術では、これら切替信号の同期をとって
選択時におけるクロック信号の連続性を保つようにして
いるが、その際に行うリタイミング用のパルス生成に遅
延回路を用いているため、現用系および予備系のクロッ
ク信号のずれの量に応じて遅延すべき時間を変更する必
要がある。これは、製造条件が異なると、さらに複雑な
配慮が必要となる。また、この技術では現用系および予
備系のクロック信号が互いに180度の位相が異なる場
合には、切替時におけるクロック信号の連続性を保つこ
とができないという問題もある。Further, in the technique disclosed in Japanese Patent Laid-Open No. 2-130018, the switching signals are synchronized to maintain the continuity of the clock signal at the time of selection. Since the delay circuit is used to generate the pulse for the system, it is necessary to change the time to be delayed according to the amount of deviation of the clock signals of the active system and the standby system. This requires more complicated consideration when the manufacturing conditions are different. Further, this technique has a problem that the continuity of the clock signals at the time of switching cannot be maintained when the clock signals of the active system and the standby system are 180 degrees out of phase with each other.
【0013】そこで本発明の目的は、現用系および予備
系のクロック信号のずれの量に関わらず、系切替時にお
けるクロック信号の連続性を保つクロック系切替回路を
提供することにある。Therefore, an object of the present invention is to provide a clock system switching circuit that maintains the continuity of clock signals during system switching, regardless of the amount of deviation between the clock signals of the active system and the standby system.
【0014】[0014]
【課題を解決するための手段】請求項1記載の発明で
は、(イ)第1の系の入力クロックを分周する第1の分
周手段と、(ロ)この第1の分周手段によって分周され
て生成された第1の分周クロックの論理レベルの変化を
検出する第1のレベル変化検出手段と、(ハ)第2の系
の入力クロックを分周する第2の分周手段と、(ニ)こ
の第2の分周手段によって分周されて生成された第2の
分周クロックの論理レベルの変化を検出する第2のレベ
ル変化検出手段と、(ホ)この第2のレベル変化検出手
段の検出結果で第1の分周手段の分周出力をプリセット
する第1のプリセット手段と、(ヘ)第1のレベル変化
検出手段の検出結果で第2の分周手段の分周出力をプリ
セットする第2のプリセット手段と、(ト)所定の切替
信号に基づいて第1および第2の分周クロックの一方を
択一的に選択する選択手段と、(チ)第1および第2の
分周クロックのいずれか一方をその立ち上がりおよび立
ち下がりエッジのうち一方のエッジに同期して逓倍する
逓倍手段と、(リ)この逓倍手段によって逓倍されて生
成された逓倍クロックのエッジと異なる他方のエッジで
切替信号をリタイミングすることによって選択手段の選
択時の切替信号を生成するリタイミング手段とをクロッ
ク系切替回路に具備させる。According to a first aspect of the present invention, there are provided: (a) first frequency dividing means for dividing the input clock of the first system; and (b) the first frequency dividing means. First level change detecting means for detecting a change in logic level of the first divided clock generated by frequency division, and (c) second dividing means for dividing the input clock of the second system. (D) second level change detecting means for detecting a change in the logic level of the second frequency-divided clock generated by frequency division by the second frequency dividing means, and (e) this second level change detecting means. a first preset means for presetting the frequency division output of the first frequency dividing means with the detection result of level change detection means, (f) minute second frequency dividing means in the detection result of the first level change detecting means second preset means for pre <br/> set division output, based on (g) a predetermined switching signal Selecting means for selectively selecting one of the first and second frequency-divided clocks, and (h) one of the first and second frequency-divided clocks as one of the rising and falling edges. A multiplying means for synchronously multiplying, and (i) a switching signal when the selecting means is selected by retiming the switching signal at the other edge different from the edge of the multiplied clock generated by being multiplied by this multiplying means. And a retiming means for controlling the clock system switching circuit.
【0015】 すなわち請求項1記載の発明では、第1
および第2の系を有するクロック系切替回路で、各系に
入力されるクロックはそれぞれ第1および第2の分周手
段で分周し、第1および第2の分周クロックを生成させ
る。その際、第1のレベル変化検出手段で第1の分周ク
ロックの論理レベルの変化を検出させ、その検出結果で
第2の分周手段の分周出力をプリセットさせている。ま
た、第2のレベル変化検出手段で第2の分周クロックの
論理レベルの変化を検出させ、その検出結果で第2の分
周手段の分周出力をプリセットさせている。このように
して生成された第1および第2の分周クロックは互いに
同位相となり、所定の切替信号により選択手段で択一的
に選択させて出力クロックを生成するようにしている。
しかも、請求項1記載の発明では選択手段で切替制御を
行う切替信号の生成を、第1および第2の分周クロック
のいずれか一方をその立ち上がりおよび立ち下がりエッ
ジのうち一方のエッジに同期して逓倍手段により逓倍さ
せ、さらにリタイミング手段でこの逓倍クロックの逓倍
時に同期させたエッジと異なる他方のエッジで切替信号
をリタイミングさせることにしているので、両分周クロ
ックの立ち上がりあるいは立ち下がり付近で行われる切
替制御を回避して、系切替時におけるクロック信号の連
続性を保つことができる。That is, according to the invention of claim 1,
And a clock system switching circuit having a second system, the clocks input to the respective systems are frequency-divided by the first and second frequency dividing means, respectively, to generate the first and second frequency-divided clocks. At that time, thereby detecting a change in the logic level of the first divided clock in the first level change detecting means, to preset the divided output of <br/> second frequency dividing means in the detection result. Further, the second level change detection means detects a change in the logic level of the second frequency-divided clock, and the frequency division output of the second frequency division means is preset according to the detection result. The first and second frequency-divided clocks thus generated have the same phase, and the output clock is generated by being selectively selected by the selection means by a predetermined switching signal.
Moreover, in the invention according to claim 1, the generation of the switching signal for performing the switching control by the selecting means is performed by synchronizing either one of the first and second divided clocks with one of the rising edge and the falling edge. Therefore, the switching signal is multiplied by the multiplying means, and the retiming means retiming the switching signal at the other edge different from the edge synchronized at the time of multiplication of this multiplied clock. It is possible to avoid the switching control performed in step 1 and maintain the continuity of the clock signal during system switching.
【0016】 請求項2記載の発明では、(イ)自走す
る第1の系の入力クロックを分周する第1の分周手段
と、(ロ)この第1の分周手段によって分周されて生成
された第1の分周クロックの論理レベルの変化を検出す
る第1のレベル変化検出手段と、(ハ)第2の系の入力
クロックを分周する第2の分周手段と、(ニ)この第2
の分周手段によって分周されて生成された第2の分周ク
ロックの論理レベルの変化を検出する第2のレベル変化
検出手段と、(ホ)第1の系の入力クロックの断状態を
判別する断状態判別手段と、(ヘ)この断状態判別手段
によって第1の系の入力クロックが断状態であると判別
されたときには第2のレベル変化検出手段の検出結果で
第1の分周手段の分周出力をプリセットする第1のプリ
セット手段と、(ト)第1のレベル変化検出手段の検出
結果で第2の分周手段の分周出力をプリセットする第2
のプリセット手段と、(チ)所定の切替信号に基づいて
第1および第2の分周クロックの一方を択一的に選択す
る選択手段と、(リ)第1および第2の分周クロックの
いずれか一方をその立ち上がりおよび立ち下がりエッジ
のうち一方のエッジに同期して逓倍する逓倍手段と、
(ヌ)この逓倍手段によって逓倍されて生成された逓倍
クロックのエッジと異なる他方のエッジで切替信号をリ
タイミングすることによって選択手段の選択時の切替信
号を生成するリタイミング手段とをクロック系切替回路
に具備させる。According to a second aspect of the invention, (a) first frequency dividing means for dividing the input clock of the first system which is self-propelled, and (b) frequency dividing by the first frequency dividing means. First level change detecting means for detecting a change in the logic level of the first divided clock generated by the above; and (c) second dividing means for dividing the input clock of the second system, D) This second
Second level change detecting means for detecting a change in the logic level of the second divided clock generated by dividing by the frequency dividing means, and (e) a disconnection state of the input clock of the first system. Disconnection state determining means, and (f) when the disconnection state determining means determines that the input clock of the first system is in the disconnection state, the detection result of the second level change detecting means is the first. a first preset means for presetting the frequency division outputs of the frequency dividing means, (g) a second preset the divided output of the second frequency dividing means in the detection result of the first level change detecting means
And (h) selecting means for selectively selecting one of the first and second frequency-divided clocks based on a predetermined switching signal, and (ii) the first and second frequency-divided clocks. Multiplication means for multiplying either one in synchronization with one of the rising and falling edges,
(E) Clock system switching between the retiming means for generating the switching signal at the time of selection by the selecting means by retiming the switching signal at the other edge different from the edge of the multiplied clock generated by multiplication by this multiplying means. Prepare for the circuit.
【0017】 すなわち請求項2記載の発明では、第1
および第2の系を有するクロック系切替回路で、各系に
入力されるクロックはそれぞれ第1および第2の分周手
段で分周し、第1および第2の分周クロックを生成させ
る。その際、第1のレベル変化検出手段で第1の分周ク
ロックの論理レベルの変化を、第2のレベル変化検出手
段で第2の分周クロックの論理レベルの変化を、それぞ
れ検出させている。さらに断状態判別手段には第1の系
の入力クロックの断状態を判別させ、その断状態が判別
されたときに、第2のレベル変化検出手段による論理レ
ベルの変化の検出結果で第1の分周手段の分周出力をプ
リセットさせている。これに対して、その断状態の判別
結果に関わらず、第1のレベル変化検出手段による第1
の分周クロックの論理レベルの変化の検出結果で第2の
分周手段の分周出力をプリセットさせている。このよう
にして生成された第1および第2の分周クロックは互い
に同位相となり、所定の切替信号により選択手段で択一
的に選択させて出力クロックを生成するようにしてい
る。しかも、請求項2記載の発明では選択手段で切替制
御を行う切替信号の生成を、第1および第2の分周クロ
ックのいずれか一方をその立ち上がりおよび立ち下がり
エッジのうち一方のエッジに同期して逓倍手段により逓
倍させ、さらにリタイミング手段でこの逓倍クロックの
逓倍時に同期させたエッジと異なる他方のエッジで切替
信号をリタイミングさせることにしているので、両分周
クロックの立ち上がりあるいは立ち下がり付近で行われ
る切替制御を回避して、系切替時におけるクロック信号
の連続性を保つことができる。That is, in the invention according to claim 2, the first
And a clock system switching circuit having a second system, the clocks input to the respective systems are frequency-divided by the first and second frequency dividing means, respectively, to generate the first and second frequency-divided clocks. At that time, the first level change detection means detects the change in the logic level of the first divided clock, and the second level change detection means detects the change in the logic level of the second divided clock. . Furthermore, the disconnection state determination means determines the disconnection state of the input clock of the first system, and when the disconnection state is determined, the first level is detected by the detection result of the change in the logic level by the second level change detection means. The frequency division output of the frequency division means is reset. On the other hand, regardless of the determination result of the disconnection state,
The frequency division output of the second frequency dividing means is preset by the detection result of the change in the logic level of the frequency division clock. The first and second frequency-divided clocks thus generated have the same phase, and the output clock is generated by being selectively selected by the selection means by a predetermined switching signal. Moreover, in the invention according to the second aspect, the generation of the switching signal for performing the switching control by the selection means synchronizes one of the first and second divided clocks with one of the rising edge and the falling edge. Therefore, the switching signal is multiplied by the multiplying means, and the retiming means retiming the switching signal at the other edge different from the edge synchronized at the time of multiplication of this multiplied clock. It is possible to avoid the switching control performed in step 1 and maintain the continuity of the clock signal during system switching.
【0018】請求項3記載の発明では、(イ)自走する
第1の系の入力クロックを分周する第1の分周手段と、
(ロ)この第1の分周手段によって分周されて生成され
た第1の分周クロックの論理レベルの変化を検出する第
1のレベル変化検出手段と、(ハ)第2の系の入力クロ
ックを分周する第2の分周手段と、(ニ)この第2の分
周手段によって分周されて生成された第2の分周クロッ
クの論理レベルの変化を検出する第2のレベル変化検出
手段と、(ホ)第1の系の入力クロックの断状態を判別
する断状態判別手段と、(ヘ)この断状態判別手段によ
って第1の系の入力クロックが断状態以外の状態と判別
されたときには第1の分周手段の出力を第1の系の入力
クロックによってそのまま自走させる一方、第1の系の
入力クロックが断状態であると判別されたときには第2
のレベル変化検出手段が第2の分周クロックの論理レベ
ルの変化を検出したタイミングで第1の分周クロックを
第2の分周クロックと同位相にプリセットする第1のプ
リセット手段と、(ト)第1のレベル変化検出手段が第
1の分周クロックの論理レベルの変化を検出したタイミ
ングで第2の分周クロックを第1の分周クロックと同位
相にプリセットする第2のプリセット手段と、(チ)所
定の切替信号に基づいて第1および第2の分周クロック
の一方を択一的に選択する選択手段とをクロック系切替
回路に具備させる。According to a third aspect of the invention, (a) first frequency dividing means for frequency-dividing the input clock of the self-propelled first system;
(B) First level change detecting means for detecting a change in the logic level of the first frequency-divided clock generated by frequency division by the first frequency dividing means, and (c) input of the second system. A second frequency dividing means for dividing the clock; and (d) a second level change for detecting a change in the logical level of the second divided clock generated by the second frequency dividing means. detection means, (e) and the cross-sectional state discriminating means for discriminating the disconnection state of the input clock of the first system, (f) the input clock of the first system I <br/> by this disengaged state discrimination means Determined as a state other than disconnection
Output of the first frequency dividing means is input to the first system
While it is self-propelled as it is by the clock,
Second when the input clock is determined to be disconnected state
Level change detection means of the second divided clock is
The first divided clock at the timing when a change in
A first preset means for presetting the second divided clock in phase, (g) a first level change detecting means first
Timing that detects a change in the logic level of the divided clock of 1
A second divided clock first frequency division clock and peers in ring
Second presetting means for presetting a phase, and (h) first and second divided clocks based on a predetermined switching signal.
The clock system switching circuit is provided with selection means for selectively selecting one of the two.
【0019】すなわち請求項3記載の発明では、第1お
よび第2の系を有するクロック系切替回路で、各系に入
力されるクロックはそれぞれ第1および第2の分周手段
で分周し、第1および第2の分周クロックを生成させ
る。その際、第1のレベル変化検出手段で第1の分周ク
ロックの論理レベルの変化を、第2のレベル変化検出手
段で第2の分周クロックの論理レベルの変化を、それぞ
れ検出させている。さらに断状態判別手段には第1の系
の入力クロックの断状態を判別させ、その断状態が判別
されたときには第2のレベル変化検出手段が第2の分周
クロックの論理レベルの変化を検出したタイミングで第
1の分周クロックを第2の分周クロックと同位相にプリ
セットさせている。また、断状態判別手段によって第1
の系の入力クロックが断状態以外の状態と判別されたと
きには第1の分周手段の出力を第1の系の入力クロック
によってそのまま自走させるようにしている。また、そ
の断状態の判別結果に関わらず、第1のレベル変化検出
手段による第1の分周クロックの論理レベルの変化の検
出結果を第2の分周手段の分周出力にプリセットさせて
いる。このようにして生成された第1および第2の分周
クロックは第1の系の入力クロックが断状態と判別され
たとき互いに同位相となり、所定の切替信号により選択
手段で択一的に選択させて出力クロックを生成するよう
にしている。That is, according to the third aspect of the invention, in the clock system switching circuit having the first and second systems, the clock input to each system is divided by the first and second frequency dividing means, respectively. The first and second divided clocks are generated. At that time, the first level change detection means detects the change in the logic level of the first divided clock, and the second level change detection means detects the change in the logic level of the second divided clock. . Further, the disconnection state determination means determines the disconnection state of the input clock of the first system, and when the disconnection state is determined, the second level change detection means causes the second frequency division.
At the timing when a change in the clock logic level is detected,
The divided clock of 1 is pre-phased with the second divided clock.
I have it set . In addition, the disconnection state determination means makes the first
When it is determined that the input clock of the system is not in the disconnected state
The output of the first frequency dividing means is the input clock of the first system.
I am trying to make it self-propelled as it is. Further , regardless of the determination result of the disconnection state, the detection result of the change in the logic level of the first frequency-divided clock by the first level change detection means is preset in the frequency-divided output of the second frequency-division means. . The first and second frequency-divided clocks thus generated are determined to be in the disconnected state of the input clock of the first system.
At this time, they are in phase with each other, and an output clock is generated by selectively selecting them by a selecting means by a predetermined switching signal.
【0020】請求項4記載の発明では、請求項3記載の
クロック系切替回路で、第1および第2の分周クロック
のいずれか一方をその立ち上がりおよび立ち下がりエッ
ジのうち一方のエッジに同期して逓倍する逓倍手段と、
この逓倍手段によって逓倍されて生成された逓倍クロッ
クのエッジと異なる他方のエッジで切替信号をリタイミ
ングすることによって選択手段の切替信号を生成するリ
タイミング手段とを備えることを特徴としている。[0020] In the present invention of claim 4, wherein, in the clock system switching circuit of claim 3, wherein, in synchronization with one of the first and second divided clock to one edge of its rising and falling edges Multiplication means to multiply by
Re-timing means for generating the switching signal of the selecting means by retiming the switching signal at the other edge different from the edge of the multiplied clock generated by being multiplied by the multiplying means.
【0021】すなわち請求項4記載の発明では、選択手
段で切替制御を行う切替信号の生成を、第1および第2
の分周クロックのいずれか一方をその立ち上がりおよび
立ち下がりエッジのうち一方のエッジに同期して逓倍手
段により逓倍させ、さらにリタイミング手段でこの逓倍
クロックの逓倍時に同期させたエッジと異なる他方のエ
ッジで切替信号をリタイミングさせることによって生成
している。That is, in the invention according to claim 4, the generation of the switching signal for performing the switching control by the selecting means is performed by the first and second
One of the divided clocks is multiplied by the multiplying means in synchronization with one of the rising and falling edges, and the other edge different from the edge synchronized at the time of multiplying the multiplied clock by the retiming means. It is generated by retiming the switching signal with.
【0022】請求項5記載の発明では、請求項1〜請求
項3いずれかに記載のクロック系切替回路で、第1およ
び第2のレベル変化検出手段は、立ち上がりあるいは立
ち下がりを検出することを特徴としている。According to the invention of claim 5, claims 1 to 1
In the clock system switching circuit according to any one of the items 3 , the first and second level change detecting means are characterized by detecting rising or falling.
【0023】すなわち請求項5記載の発明では、第1お
よび第2のレベル変化検出手段が、立ち上がりあるいは
立ち下りを検出することにしたので、回路構成の簡素化
を図ることができる。[0023] That is, in the invention of claim 5, wherein the first and second level change detecting means, since in detecting the rising or falling, it is possible to simplify the circuit configuration.
【0024】[0024]
【0025】[0025]
【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.
【0026】図1は本発明の一実施例におけるクロック
系切替回路の原理的な構成を表わしたものである。この
クロック系切替回路は、冗長構成でともに同一構成の第
1の系および第2の系を有している。第1の系入力クロ
ック301は、分周回路311で分周され、第1の系分周
クロック321としてセレクタ33に対して出力され
る。また、第2の系入力クロック302は、分周回路3
12で分周され、第2の系分周クロック322としてセレ
クタ33に対して出力される。分周回路311、312は
それぞれ自系の入力クロックを分周する一方、他系の分
周クロックに同期したパルス信号341、342によって
それぞれプリセットされることを特徴としている。さら
に、これら第1および第2の系分周クロック321、3
22から択一的に選択するための切替信号35が非同期
に入力され、リタイミング回路36によってリタイミン
グ切替信号37として生成される。このリタイミング切
替信号37は、第1および第2の系分周クロック3
21、322の立ち上がりあるいは立ち下がりで系が切り
替わらないようなタイミングにリタイミングされる。そ
してセレクタ33では、このリタイミング切替信号37
により第1あるいは第2の系分周クロック321、322
のいずれかを選択して、出力クロック38として出力さ
れる。FIG. 1 shows a principle configuration of a clock system switching circuit according to an embodiment of the present invention. This clock system switching circuit has a first system and a second system which are both redundant and have the same structure. The first system input clock 30 1 is frequency-divided by the frequency divider circuit 31 1 and output to the selector 33 as the first system frequency-divided clock 32 1 . In addition, the second system input clock 30 2 is applied to the frequency dividing circuit 3
The frequency is divided by 1 2 and output to the selector 33 as the second system divided clock 32 2 . Each of the frequency dividing circuits 31 1 and 31 2 divides its own input clock, and is preset by pulse signals 34 1 and 34 2 synchronized with the frequency dividing clocks of other systems. Further, these first and second system divided clocks 32 1 , 3
A switching signal 35 for selectively selecting from 2 2 is input asynchronously, and is generated as a retiming switching signal 37 by the retiming circuit 36. This retiming switching signal 37 is used for the first and second system divided clocks 3
Retiming is performed so that the system does not switch at the rising or falling of 2 1 and 32 2 . Then, in the selector 33, this retiming switching signal 37
Depending on the first or second system divided clock 32 1 , 32 2
Is selected and output as the output clock 38.
【0027】このような構成のクロック系切替回路で
は、入力クロック波形391、392に示すような第1お
よび第2の系入力クロック301、302が、それぞれ分
周回路311、312で分周される。分周回路311、3
12によって生成された第1および第2の系分周クロッ
ク321、322は、セレクタ33に入力される。この
際、第2の系の分周回路312に対して第1の系分周ク
ロック321に同期して生成されたパルス信号341が入
力される。そして、第2の系入力クロック302を分周
する分周回路312で分周信号がプリセットされる。こ
れにより、第2の系分周クロック322は、分周クロッ
ク波形401、402のようになって第1の系分周クロッ
ク321と同位相となる。あるいは、第1の系の分周回
路311に対して第2の系分周クロック322に同期して
生成されたパルス信号342が入力される。そして、第
1の系入力クロック301を分周する分周回路311で分
周信号がプリセットされる。これにより、第1の系分周
クロック321は、分周クロック波形401、402のよ
うになって第2の系分周クロック322と同位相とな
る。[0027] In the clock-based switching circuit having such a configuration, the input clock waveform 39 1, 39 2 first and the second system input clock 30, as shown in 1, 30 2 are each divider 31 1, 31 Divided by 2 . Divider circuit 31 1 , 3
The first and second system divided clocks 32 1 and 32 2 generated by 1 2 are input to the selector 33. At this time, the pulse signal 34 1 generated in synchronization with the first system division clock 32 1 is input to the second system frequency dividing circuit 31 2 . Then, the frequency-divided signal is preset by the frequency-dividing circuit 31 2 which divides the frequency of the second system input clock 30 2 . As a result, the second system divided clock 32 2 has the same phase as the first system divided clock 32 1 as the divided clock waveforms 40 1 and 40 2 . Alternatively, the pulse signal 34 2 generated in synchronization with the second system division clock 32 2 is input to the first system frequency dividing circuit 31 1 . Then, the frequency dividing signal is preset by the frequency dividing circuit 31 1 which divides the frequency of the first system input clock 30 1 . As a result, the first system divided clock 32 1 becomes like the divided clock waveforms 40 1 and 40 2 , and has the same phase as the second system divided clock 32 2 .
【0028】以下では、本実施例におけるクロック系切
替回路の構成の要部について説明する。The main part of the configuration of the clock system switching circuit in this embodiment will be described below.
【0029】図2は図1に示した本実施例におけるクロ
ック系切替回路の構成要部を表わしたものである。ただ
し、図1に示すクロック系切替回路と同一部分には同一
符号を付し、適宜説明を省略する。第1の系入力クロッ
ク301は、分周回路411に入力されている。分周回路
411は、プリセット入力ができるバイナリカウンタか
ら構成されており、第1の系入力クロック301を分周
して第1の系分周クロック321を生成し、セレクタ3
3と第2の系の微分回路422に入力されている。この
微分回路422は、入力される第1の系分周クロック3
21の微分結果をパルスとして出力することができるよ
うになっており、本実施例における微分回路では分周ク
ロックの変化点をパルスとして出力する。この微分回路
422による微分出力パルスは第2の系の分周回路412
に入力されている。FIG. 2 shows the essential parts of the clock system switching circuit of this embodiment shown in FIG. However, the same parts as those of the clock system switching circuit shown in FIG. The first system input clock 30 1 is input to the frequency dividing circuit 41 1 . The frequency dividing circuit 41 1 is composed of a binary counter capable of preset input, divides the first system input clock 30 1 to generate the first system divided clock 32 1 , and selects the selector 3
3 and the differential circuit 42 2 of the second system. The differentiating circuit 42 2 receives the first system division clock 3
The differential result of 2 1 can be output as a pulse, and the changing point of the divided clock is output as a pulse in the differentiating circuit in this embodiment. The differentiated output pulse from the differentiating circuit 42 2 is the frequency dividing circuit 41 2 of the second system.
Has been entered in.
【0030】分周回路412は、プリセット入力ができ
るバイナリカウンタから構成されており、第2の系入力
クロック302が入力されて、これを分周し、微分回路
422からの微分出力パルスをロード値入力とする第2
の系分周クロック322を生成する。これにより、分周
回路412は、第2の系入力クロック302を分周すると
ともに、第1の系分周クロック321の変化点に同期し
た第2の系分周クロック322を出力することができ
る。第2の系分周クロック322は、第1の系の微分回
路421およびセレクタ33に入力されている。微分回
路421は、入力される第2の系分周クロック322の微
分結果をパルスとして出力することができるようになっ
ており、本実施例における微分回路では分周クロックの
変化点をパルスとして出力する。この微分回路421に
よる微分出力パルスは第1の系の分周回路411に入力
されている。The frequency dividing circuit 41 2 is composed of a binary counter capable of preset input. When the second system input clock 30 2 is input, the frequency dividing circuit 41 2 divides this frequency and the differential output pulse from the differentiating circuit 42 2 is inputted. The second that inputs the load value
The system divided clock 32 2 is generated. As a result, the frequency dividing circuit 41 2 divides the frequency of the second system input clock 30 2 and outputs the second system frequency dividing clock 32 2 synchronized with the change point of the first system frequency dividing clock 32 1. can do. The second system divided clock 32 2 is input to the first system differentiating circuit 42 1 and the selector 33. The differentiating circuit 42 1 can output the differentiated result of the input second system divided clock 32 2 as a pulse. In the differentiating circuit of the present embodiment, the changing point of the divided clock is pulsed. Output as. The differential output pulse from the differentiating circuit 42 1 is input to the frequency dividing circuit 41 1 of the first system.
【0031】分周回路411では、上述したように第2
の系入力クロック302が入力されてこれを分周する
が、この際、微分回路422からの微分出力パルスをロ
ード値入力とする第1の系分周クロック321を生成す
る。これにより、分周回路411は、第1の系入力クロ
ック301を分周するとともに、第2の系分周クロック
322の変化点に同期した第1の系分周クロック321を
出力することができる。In the frequency dividing circuit 41 1 , the second circuit is used as described above.
The system input clock 30 2 is input and frequency-divided. At this time, the first system frequency-divided clock 32 1 which receives the differential output pulse from the differentiator 42 2 as the load value is generated. As a result, the frequency dividing circuit 41 1 divides the frequency of the first system input clock 30 1 and outputs the first system frequency dividing clock 32 1 synchronized with the change point of the second system frequency dividing clock 32 2. can do.
【0032】このようにして生成された第1および第2
の系分周クロック321、322は、セレクタ43にも入
力されている。セレクタ43は切替信号35がリタイミ
ング回路36でリタイミングされたリタイミング切替信
号37によって、第1および第2の系分周クロック32
1、322の中から択一的に選択して選択分周クロック4
4を出力する。選択分周クロック44はリタイミング回
路36に入力されている。リタイミング回路36ではこ
の選択分周クロック44に基づいて切替信号35をリタ
イミングして、リタイミング切替信号37が生成され
る。この際、選択分周クロック44は逓倍され、第1お
よび第2の系分周クロック321、322の立ち上がりお
よび立ち下がりを避けて、分周クロックの論理レベルが
安定している位置で切替が行われるようにリタイミング
される。The first and second generated in this way
The system divided clocks 32 1 and 32 2 are also input to the selector 43. The selector 43 uses the retiming switching signal 37 obtained by retiming the switching signal 35 by the retiming circuit 36 to generate the first and second system divided clocks 32.
Selectable from among 1 and 32 2 and selected Divided clock 4
4 is output. The selected divided clock 44 is input to the retiming circuit 36. In the retiming circuit 36, the switching signal 35 is retimed based on the selected divided clock 44 to generate a retiming switching signal 37. At this time, the selected divided clock 44 is multiplied, and switching is performed at a position where the logical level of the divided clock is stable while avoiding rising and falling of the first and second system divided clocks 32 1 and 32 2. Will be retimed.
【0033】セレクタ33はこのようなリタイミング切
替信号37によって、第1および第2の分周クロック3
21、322の中から択一的に選択して出力クロック38
として外部の図示しない装置の基準クロックとして出力
する。The selector 33 uses the retiming switching signal 37 as described above to generate the first and second divided clocks 3.
Output clock 38 by selecting one from 2 1 and 32 2
Is output as a reference clock of an external device (not shown).
【0034】図3は図2に示す微分回路421の構成の
一例を具体的に表わしたものである。微分回路421、
422はともに同一構成である。微分回路421は、遅延
型フリップフロップ(Delayed-Flip Flop:以下、D−
FFと略す。)451と、否定回路461と、2入力論理
積回路471とを備えている。D−FF451のクロック
端子(CK)には、第1の系入力クロック301が入力
されている。また、データ端子(D)には、第2の系分
周クロック322が入力されている。そして、第1の系
入力クロック301で同期化されて出力端子(Q)から
出力される第2の系分周クロック322は、否定回路4
61で論理反転された後、2入力論理積回路471の一方
の入力端子に入力される。この2入力論理積回路471
の他方の入力端子には、第2の系分周クロック322が
入力されている。2入力論理積回路471は、これら2
端子から入力される信号の論理積を、微分出力パルス4
81として出力する。FIG. 3 specifically shows an example of the configuration of the differentiating circuit 42 1 shown in FIG. Differentiating circuit 42 1 ,
Both 42 2 have the same structure. The differentiating circuit 42 1 is a delay-type flip-flop (Delayed-Flip Flop: D-
Abbreviated as FF. ) 45 1 , a NOT circuit 46 1, and a 2-input AND circuit 47 1 . The first system input clock 30 1 is input to the clock terminal (CK) of the D-FF 45 1 . The second system divided clock 32 2 is input to the data terminal (D). Then, the second system divided clock 32 2 that is synchronized with the first system input clock 30 1 and is output from the output terminal (Q) is
After being logically inverted at 6 1 , it is input to one input terminal of the 2-input AND circuit 47 1 . This 2-input AND circuit 47 1
The second system divided clock 32 2 is input to the other input terminal of the. The 2-input AND circuit 47 1 is
The logical product of the signals input from the terminals is calculated by the differential output pulse 4
Output as 8 1 .
【0035】このような構成により、第2の系分周クロ
ック322が第1の系入力クロック301の1クロック分
だけ遅延された信号とその遅延前との論理積である微分
出力パルス481は、第2の系分周クロック322の立ち
上がり検出パルスとなる。With such a configuration, the differential output pulse 48 which is the logical product of the signal obtained by delaying the second system divided clock 32 2 by one clock of the first system input clock 30 1 and the signal before the delay. 1 is a rising edge detection pulse of the second system divided clock 32 2 .
【0036】図4は図2に示すリタイミング回路36の
構成の一例を具体的に表わしたものである。このリタイ
ミング回路36は、逓倍回路49と、CK端子に入力さ
れる信号の立ち下がりエッジでD端子の信号をラッチす
るD−FF50とを備えている。選択分周クロック44
は、逓倍回路49に入力され、選択分周クロック44の
立ち上がりに同期して、本実施例では2逓倍される。逓
倍回路49で2逓倍された逓倍クロック51は、D−F
F50のCK端子に入力され、D端子に入力される切替
信号35を、その立ち下がりエッジでラッチし、その出
力をQ端子からリタイミング切替信号37として出力す
る。FIG. 4 specifically shows an example of the configuration of the retiming circuit 36 shown in FIG. The retiming circuit 36 includes a multiplication circuit 49 and a D-FF 50 that latches the signal at the D terminal at the falling edge of the signal input to the CK terminal. Selectable division clock 44
Is input to the multiplication circuit 49 and is multiplied by 2 in this embodiment in synchronization with the rising edge of the selective frequency-divided clock 44. The multiplied clock 51 that has been multiplied by 2 in the multiplication circuit 49 is DF
The switching signal 35 input to the CK terminal of the F50 and input to the D terminal is latched at its falling edge, and its output is output from the Q terminal as the retiming switching signal 37.
【0037】このように第1あるいは第2の系分周クロ
ック321、322と同位相の選択分周クロック44を2
逓倍した逓倍クロック51の立ち下がりで切替信号35
をリタイミングすることで、第1および第2の系分周ク
ロック321、322の立ち上がりおよび立ち下がり付近
で切替が行われないようにしている。[0037] Thus the first or second system divided clock 32 1, 32 2 with the selected divided clock 44 of the same phase 2
At the falling edge of the multiplied clock 51, the switching signal 35
Is re-timed so that switching is not performed near the rising and falling edges of the first and second divided clocks 32 1 and 32 2 .
【0038】図5は図4に示したリタイミング回路36
の各部信号波形の概要を表わしたものである。図5
(a)は選択分周クロック44のタイミングチャート、
同図(b)は逓倍クロック51のタイミングチャート、
同図(c)は切替信号35のタイミングチャート、同図
(d)はリタイミング切替信号37のタイミングチャー
トをそれぞれ表わしている。すなわち、上述したように
各系の分周回路で他系の分周クロックに同期して分周さ
れた第1および第2の系分周クロック321、322と同
位相の選択分周クロック44(同図(a))は、逓倍回
路49で選択分周クロック44の立ち上がりに同期して
2逓倍されて、同図(b)に示すような逓倍クロック5
1が生成される。そしてD−FF50において、その立
ち下がりエッジで同図(c)に示すように非同期入力さ
れた切替信号35をラッチすることでリタイミングし、
同図(d)に示すリタイミング切替信号37をセレクタ
33、43に対して出力することになる。FIG. 5 shows the retiming circuit 36 shown in FIG.
3 shows an outline of the signal waveform of each part. Figure 5
(A) is a timing chart of the selective division clock 44,
FIG. 7B is a timing chart of the multiplied clock 51,
FIG. 7C shows a timing chart of the switching signal 35, and FIG. 7D shows a timing chart of the retiming switching signal 37. That is, as described above, the selective division clocks of the same phase as the first and second system division clocks 32 1 and 32 2 which are divided by the division circuit of each system in synchronization with the division clocks of the other system. 44 ((a) in the figure) is multiplied by 2 in synchronization with the rising edge of the selected frequency-divided clock 44 by the multiplication circuit 49, and the multiplication clock 5 as shown in (b) of the figure is obtained.
1 is generated. Then, in the D-FF 50, the switching signal 35 asynchronously input is latched at the falling edge as shown in FIG.
The retiming switching signal 37 shown in FIG. 7D is output to the selectors 33 and 43.
【0039】このように第1および第2の系分周クロッ
ク321、322と同位相の選択分周クロック44の立ち
上がりに同期して逓倍し、その立ち下がりエッジで非同
期の切替信号35をリタイミングすることによって、セ
レクタ33、43では第1および第2の系分周クロック
321、322の立ち上がりあるいは立ち下がり付近での
系切替が行われないようにしている。これにより、系切
替時に発生する異常パルスの発生を抑え、システムの動
作を安定化させることができる。In this way, the first and second system divided clocks 32 1 and 32 2 are multiplied in synchronization with the rising edge of the selective divided clock 44 having the same phase, and the asynchronous switching signal 35 is generated at the falling edge thereof. The retiming prevents the selectors 33 and 43 from switching the system near the rising or falling of the first and second system divided clocks 32 1 and 32 2 . As a result, it is possible to suppress the generation of abnormal pulses that occur during system switching and stabilize the operation of the system.
【0040】このような構成のクロック系切替回路で
は、さらに上述したように第1および第2の系分周クロ
ック321、322の位相を、それぞれ自系の分周クロッ
クの位相を他系の分周クロックに同期させるようにする
ことによって、系切替時におけるクロック信号の連続性
を保つようにしている。そこで、次に図6を参照して本
実施例におけるクロック系切替回路の位相同期動作の概
要について説明する。In the clock system switching circuit having such a configuration, as described above, the phases of the first and second system divided clocks 32 1 and 32 2 are respectively changed to the phase of the divided clock of the own system to the other system. By synchronizing with the frequency-divided clock, the continuity of the clock signal at the time of system switching is maintained. Therefore, the outline of the phase synchronization operation of the clock system switching circuit in this embodiment will be described with reference to FIG.
【0041】図6は本実施例におけるクロック系切替回
路の位相同期動作の概要を表わしたものである。同図
(a)は第1の系入力クロック301のタイミングチャ
ート、同図(b)は第1の系の微分回路421によって
生成される微分出力パルス481のタイミングチャー
ト、同図(c)は第2の系入力クロック302のタイミ
ングチャート、同図(d)は第2の系の微分回路422
によって生成される微分出力パルス482のタイミング
チャート、同図(e)は第1の系分周クロック321の
タイミングチャート、同図(f)は第2の系分周クロッ
ク322のタイミングチャートを、それぞれ表わしたも
のである。すなわち分周回路411では、第1の系微分
出力パルス481(同図(b))によってプリセットさ
れたのち、第1の系入力クロック301(同図(a))
に同期して分周された第1の系分周クロック321が出
力されている(同図(e))。FIG. 6 shows the outline of the phase synchronization operation of the clock system switching circuit in this embodiment. 11A is a timing chart of the input clock 30 1 of the first system, FIG. 9B is a timing chart of the differential output pulse 48 1 generated by the differentiation circuit 42 1 of the first system, and FIG. ) Is a timing chart of the input clock 30 2 of the second system, and FIG. 7D is a differentiation circuit 42 2 of the second system.
Differential output pulse 48 second timing chart produced by drawing (e) the first system divided clock 32 1 in the timing chart, FIG. (F) the second system divided clock 32 second timing chart , Respectively. That is, in the frequency dividing circuit 41 1 , after being preset by the first system differential output pulse 48 1 (the same figure (b)), the first system input clock 30 1 (the same figure (a))
The first system divided clock 32 1 which is divided in synchronism with is output ((e) in the same figure).
【0042】そして、第2の系の微分回路422ではこ
の第1の系分周クロック321の立ち上がりの検出され
た第2の系微分出力パルス482が生成される(同図
(d))。分周回路412では、第2の系微分出力パル
ス482(同図(d))によってプリセットされたの
ち、第2の系入力クロック302(同図(c))に同期
して分周された第2の系分周クロック322が出力され
ている(同図(f))。Then, the differential circuit 42 2 of the second system generates the second system differential output pulse 48 2 in which the rising edge of the first system divided clock 32 1 is detected (FIG. 7 (d)). ). In the frequency dividing circuit 41 2 , the frequency is preset by the second system differential output pulse 48 2 ((d) in the figure) and then divided in synchronization with the second input clock 30 2 ((c) in the figure). The generated second system divided clock 32 2 is output ((f) in the same figure).
【0043】これまで説明したように本実施例における
クロック系切替回路は、互いに位相の異なる第1および
第2の系入力クロック301、302をそれぞれの系の分
周回路411、412で分周する。その際、各系には微分
回路を有しており、各分周回路は他系の分周後のクロッ
クの変化点を検出した微分出力パルスをロード値入力と
してプリセットできるようにしている。各系の分周回路
411、412で生成される第1の分周クロック321は
第2の分周クロック322の変化点に同期した分周クロ
ックとして生成され、第2の分周クロック322は第1
の分周クロック321の変化点に同期した分周クロック
として生成される。これら分周クロックを択一的に選択
するセレクタ33の切替制御は、第1あるいは第2の分
周クロック321、322のいずれか一方を立ち上がりエ
ッジに同期して逓倍し、この逓倍クロックの立ち下がり
にエッジで非同期に入力される切替信号35をリタイミ
ングしたリタイミング切替信号37で行うようにしてい
る。これにより、両分周クロック321、322の立ち上
がりあるいは立ち下がり付近で行われる切替制御を回避
して、系切替時におけるクロック信号の連続性を保つこ
とができる。また、第1あるいは第2の系の入力クロッ
クのいずれかが障害などによってクロック断状態になっ
たとしても、その復帰時に両分周クロックを同期させて
適切な冗長構成を維持することができる。また、周波数
の低い分周後のクロックに基づいて位相合わせを行って
いるので、クロック周波数が向上したとしても分周前の
クロックに基づいて位相合わせするよりも、簡単に同期
をとることができる。As described above, the clock system switching circuit according to the present embodiment divides the first and second system input clocks 30 1 and 30 2 having different phases from each other by the frequency dividing circuits 41 1 and 41 2 of the respective systems. Divide by. At that time, each system has a differentiating circuit, and each frequency dividing circuit is capable of presetting a differential output pulse which detects a change point of the clock after frequency division of the other system as a load value input. The first frequency-divided clock 32 1 generated by the frequency-dividing circuits 41 1 and 41 2 of each system is generated as a frequency-divided clock that is synchronized with the change point of the second frequency-divided clock 32 2 , and the second frequency-divided clock 32 1 is generated. Clock 32 2 is the first
It is generated as a divided clock synchronized with the changing point of the divided clock 32 1 . The switching control of the selector 33 that selectively selects one of these divided clocks is performed by multiplying one of the first and second divided clocks 32 1 and 32 2 in synchronization with the rising edge, and The retiming switching signal 37 is retiming the switching signal 35 that is asynchronously input at the falling edge. As a result, the switching control that is performed near the rising or falling of the divided clocks 32 1 and 32 2 can be avoided, and the continuity of the clock signal can be maintained during system switching. Further, even if either of the input clocks of the first or second system is brought into the clock interruption state due to a failure or the like, it is possible to synchronize both divided clocks at the time of the restoration thereof and maintain an appropriate redundant configuration. Further, since the phase adjustment is performed based on the divided clock having the low frequency, even if the clock frequency is improved, the synchronization can be easily achieved as compared with the phase adjustment based on the clock before the division. .
【0044】変形例 Modification
【0045】本実施例におけるクロック系切替回路は、
上述したように第1あるいは第2の系のいずれかの入力
クロックが障害などによってクロック断状態になって
も、その復帰時に同期をとって位相を合わせるようにす
るために、一方の系の分周クロックを他方の系の分周ク
ロック生成に戻すという“たすきがけ”を行っていた。
しかし、実装条件あるいは製造条件、信号の入力条件に
よっては両分周クロックが不安定な動作を続ける発振状
態になる可能性があった。そこで、本変形例におけるク
ロック系切替回路では、第1あるいは第2の系のいずれ
か一方に、一種のガード回路を設けていることを特徴と
している。The clock system switching circuit in this embodiment is
As described above, even if the input clock of either the first system or the second system goes into a clock-disconnected state due to a failure or the like, in order to synchronize the phases at the time of recovery, the system of one system is separated. There was a "thinking" of returning the divided clock to the divided clock generation of the other system.
However, depending on mounting conditions, manufacturing conditions, and signal input conditions, there is a possibility that both divided clocks may be in an oscillating state in which unstable operation continues. Therefore, the clock system switching circuit in the present modification is characterized in that a kind of guard circuit is provided in either the first system or the second system.
【0046】図7は本変形例におけるクロック系切替回
路の構成の概要を表わしたものである。ただし、図2に
示す本実施例におけるクロック系切替回路と同一部分に
は同一符号を付し、適宜説明を省略している。本変形例
におけるクロック系切替回路は、微分回路421の出力
である微分出力パルス481がセレクタ60に入力され
ている。このセレクタ60の他方には固定的に“0”が
入力されるようになっており、セレクタ制御信号61に
よって択一的に選択できるようになっている。この選択
出力62は、本実施例における分周回路411のロード
値入力とされる。セレクタ制御信号61は、図示しない
異常検出部によって検出された第1の系のクロック断状
態に基づいて生成された第1の系異常検出信号を用いる
とともに、第1の系入力クロックは通常、自走するよう
にする。FIG. 7 shows the outline of the configuration of the clock system switching circuit in this modification. However, the same parts as those of the clock system switching circuit in the present embodiment shown in FIG. 2 are designated by the same reference numerals, and the description thereof will be appropriately omitted. In the clock system switching circuit according to this modification, the differential output pulse 48 1 output from the differentiating circuit 42 1 is input to the selector 60. "0" is fixedly input to the other side of the selector 60, and can be selectively selected by the selector control signal 61. The selection output 62 is used as the load value input of the frequency dividing circuit 41 1 in this embodiment. As the selector control signal 61, the first system abnormality detection signal generated based on the clock disconnection state of the first system detected by the abnormality detection unit (not shown) is used, and the first system input clock is normally Try to run.
【0047】これにより、正常時にはセレクタ制御信号
61で、定常的に“0”が分周回路411に入力される
ように選択しておき、第2の系分周クロック322の微
分出力パルスが第1の系に反映されないようにする。し
たがって、第2の系は第1の系の位相に合わせて分周ク
ロックの位相合わせを行う。これに対して第1の系の異
常が検出されたときにはセレクタ60で第2の系の分周
クロックを第1の系に反映させることによって、第1の
系は第2の系の分周クロックの位相に合うように位相調
整が行われる。このようにセレクタ60からなるガード
回路を設けることによって、定常的に第1の系の分周ク
ロックの微分出力パルスが第2の系に、第2の系の分周
クロックの微分出力パルスが第1の系に、同時に入力さ
れることを回避して本変形例におけるクロック系切替回
路の動作状態が不安定になることを防止している。As a result, under normal conditions, the selector control signal 61 is selected so that "0" is constantly input to the frequency dividing circuit 41 1, and the differential output pulse of the second system frequency dividing clock 32 2 is selected. Is not reflected in the first system. Therefore, the second system adjusts the phase of the divided clock according to the phase of the first system. On the other hand, when an abnormality in the first system is detected, the selector 60 reflects the frequency-divided clock of the second system in the first system so that the first system can divide the frequency-divided clock of the second system. The phase is adjusted to match the phase of. By providing the guard circuit including the selector 60 in this manner, the differential output pulse of the divided clock of the first system is steadily provided to the second system and the differential output pulse of the divided clock of the second system is constantly provided to the second system. The simultaneous input to the first system is prevented to prevent the operating state of the clock system switching circuit in this modification from becoming unstable.
【0048】なお本実施例および本変形例におけるクロ
ック系切替回路は、第1および第2の系で互いに同期を
とるように構成しているが、たとえば第1の系のみを第
2の系に同期させるだけの構成により回路の簡素化を図
ることも可能である。The clock system switching circuits in the present embodiment and the modification are constructed so as to synchronize with each other in the first and second systems. For example, only the first system is used as the second system. It is also possible to achieve simplification of the circuit by simply synchronizing the circuits.
【0049】[0049]
【発明の効果】以上説明したように請求項1記載の発明
によれば、両系のうちの一方が障害などによって断状態
になったとしても、その両系のクロックの位相を合わせ
ることができるとともに、周波数の低い分周後のクロッ
クに基づいて位相合わせを行っているので、クロック周
波数が向上したとしても分周前のクロックに基づいて位
相合わせするよりも、簡単に同期をとることができる。
さらに、両系の入力クロックの位相のずれに関わりな
く、非常に簡素な構成で系切替時における出力クロック
の連続性を保つことができる。また、両分周クロックの
立ち上がりあるいは立ち下がり付近で行われる切替制御
を回避して、系切替時におけるクロック信号の連続性を
保つことができる。 As described above, according to the invention described in claim 1, one of the two systems is disconnected due to a failure or the like.
Even if it becomes, match the phases of the clocks of both systems.
Moreover, since the phase is adjusted based on the divided clock with the low frequency, even if the clock frequency is improved, the synchronization is easier than the phase based on the clock before the division. Can be taken.
Furthermore, regardless of the phase shift of the input clocks of both systems, the continuity of the output clocks at the time of system switching can be maintained with a very simple configuration. Also, for both divided clocks
Switching control performed near rising or falling
To avoid the continuity of the clock signal during system switching.
Can be kept.
【0050】更に請求項2記載の発明によれば、定常的
に第1の系の分周クロックのレベル変化検出結果が第2
の系に、第2の系の分周クロックのレベル変化検出結果
が第1の系に、同時に入力されることを回避しているの
で、実装条件や製造条件、信号入力条件に依存して発生
する可能性のある発振状態の発生を抑えて、クロック系
切替回路の動作状態が不安定になることを防止すること
ができる。また、両分周クロックの立ち上がりあるいは
立ち下がり付近で行われる切替制御を回避して、系切替
時におけるクロック信号の連続性を保つことができる。 Further , according to the invention of claim 2, the steady state
The level change detection result of the divided clock of the first system is
To the second system, the detection result of the level change of the divided clock of the second system
Avoids being input to the first system at the same time
Occurs depending on the mounting conditions, manufacturing conditions, and signal input conditions.
It is possible to suppress the occurrence of oscillation state that may
Preventing the operating state of the switching circuit from becoming unstable
You can Also, the rise of both divided clocks or
System switching by avoiding the switching control performed near the falling edge
It is possible to maintain continuity of the clock signal with time.
【0051】さらに請求項3記載の発明によれば、定常
的に第1の系の分周クロックのレベル変化検出結果が第
2の系に、第2の系の分周クロックのレベル変化検出結
果が第1の系に、同時に入力されることを回避している
ので、実装条件や製造条件、信号入力条件に依存して発
生する可能性のある発振状態の発生を抑えて、クロック
系切替回路の動作状態が不安定になることを防止するこ
とができる。According to the third aspect of the present invention, the level change detection result of the divided clock of the first system is steadily applied to the second system and the level change detection result of the divided clock of the second system is detected. there the first system, since avoids simultaneously input, suppressing mounting conditions and production conditions, the generation of oscillating state that may occur in dependence on the signal input condition, the clock-based switching circuitry It is possible to prevent the operating state of the device from becoming unstable.
【0052】さらにまた請求項4記載の発明によれば、
両分周クロックの立ち上がりあるいは立ち下がり付近で
行われる切替制御を回避して、系切替時におけるクロッ
ク信号の連続性を保つことができる。Further, according to the invention of claim 4,
It is possible to avoid the switching control performed near the rising or falling of both divided clocks and maintain the continuity of the clock signal at the time of system switching.
【0053】さらに請求項5記載の発明によれば、第1
および第2のレベル変化検出手段が、立ち上がりあるい
は立ち下がりを検出することにしたので、回路構成の簡
素化を図ることができる。Further, according to the invention of claim 5, the first
And second level change detecting means, since in detecting the rising or falling, it is possible to simplify the circuit configuration.
【図1】本発明の一実施例におけるクロック系切替回路
の原理的構成を示すブロック図である。FIG. 1 is a block diagram showing a principle configuration of a clock system switching circuit according to an embodiment of the present invention.
【図2】本実施例におけるクロック系切替回路の構成の
概要を示すブロック図である。FIG. 2 is a block diagram showing an outline of a configuration of a clock system switching circuit in the present embodiment.
【図3】本実施例における微分回路の構成要部を示すブ
ロック図である。FIG. 3 is a block diagram showing a main part of the configuration of a differentiating circuit in the present embodiment.
【図4】本実施例におけるリタイミング回路の構成要部
を示すブロック図である。FIG. 4 is a block diagram showing a main part of a retiming circuit according to the present exemplary embodiment.
【図5】本実施例におけるリタイミング回路の各部の動
作波形を示すタイミングチャートである。FIG. 5 is a timing chart showing operation waveforms of respective parts of the retiming circuit in the present embodiment.
【図6】本実施例におけるクロック系切替回路の同期化
動作を示すタイミングチャートである。FIG. 6 is a timing chart showing a synchronizing operation of the clock system switching circuit in the present embodiment.
【図7】本発明の変形例におけるクロック系切替回路の
構成の概要を示すブロック図である。FIG. 7 is a block diagram showing an outline of a configuration of a clock system switching circuit in a modified example of the present invention.
【図8】従来提案されたクロック系切替回路の構成の概
要を示すブロック図である。FIG. 8 is a block diagram showing an outline of a configuration of a conventionally proposed clock system switching circuit.
【図9】図8に示すクロック系切替回路の動作を示すタ
イミングチャートである。9 is a timing chart showing the operation of the clock system switching circuit shown in FIG.
301 第1の系入力クロック 302 第2の系入力クロック 311、312、411、412 分周回路 321 第1の系分周クロック 322 第2の系分周クロック 33、43 セレクタ 341、342 パルス信号 35 切替信号 36 リタイミング回路 37 リタイミング切替信号 38 出力クロック 391、392 入力クロック波形 401、402 分周クロック波形 421、422 微分回路 44 選択分周クロック 481、482 微分出力パルス30 1 First system input clock 30 2 Second system input clock 31 1 , 31 2 , 41 1 , 41 2 Dividing circuit 32 1 First system dividing clock 32 2 Second system dividing clock 33, 43 selector 34 1 , 34 2 pulse signal 35 switching signal 36 retiming circuit 37 retiming switching signal 38 output clock 39 1 , 39 2 input clock waveform 40 1 , 40 2 divided clock waveform 42 1 , 42 2 differentiating circuit 44 selection Divided clock 48 1 and 48 2 differential output pulse
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 H03K 5/00 H04L 1/22 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04L 7/00 H03K 5/00 H04L 1/22
Claims (5)
の分周手段と、 この第1の分周手段によって分周されて生成された第1
の分周クロックの論理レベルの変化を検出する第1のレ
ベル変化検出手段と、 第2の系の入力クロックを分周する第2の分周手段と、 この第2の分周手段によって分周されて生成された第2
の分周クロックの論理レベルの変化を検出する第2のレ
ベル変化検出手段と、 この第2のレベル変化検出手段の検出結果で前記第1の
分周手段の分周出力をプリセットする第1のプリセット
手段と、 前記第1のレベル変化検出手段の検出結果で前記第2の
分周手段の分周出力をプリセットする第2のプリセット
手段と、 所定の切替信号に基づいて前記第1および第2の分周ク
ロックの一方を択一的に選択する選択手段と、 前記第1および第2の分周クロックのいずれか一方をそ
の立ち上がりおよび立ち下がりエッジのうち一方のエッ
ジに同期して逓倍する逓倍手段と、 この逓倍手段によって逓倍されて生成された逓倍クロッ
クの前記エッジと異なる他方のエッジで切替信号をリタ
イミングすることによって前記選択手段の選択時の切替
信号を生成するリタイミング手段とを具備することを特
徴とするクロック系切替回路。1. A first frequency-dividing input clock of a first system
Frequency dividing means and a first frequency dividing means generated by dividing the frequency by the first frequency dividing means.
A first level change detecting means for detecting a change in the logic level of the divided clock, a second dividing means for dividing the input clock of the second system, and a frequency dividing means for dividing the input clock by the second dividing means. Generated and generated second
Second level change detecting means for detecting a change in the logic level of the divided clock, and a first level presetting the divided output of the first frequency dividing means based on the detection result of the second level change detecting means. Presetting means, second presetting means for presetting the frequency-divided output of the second frequency-dividing means according to the detection result of the first level change detecting means, and the first and second based on a predetermined switching signal. Selecting means for selectively selecting one of the divided clocks, and multiplication for multiplying either one of the first and second divided clocks in synchronization with one of rising and falling edges thereof. Means and a switching signal at the time of selection of the selecting means by retiming the switching signal at the other edge different from the edge of the multiplied clock generated by being multiplied by the multiplying means. Clock system switching circuitry, characterized by comprising a retiming means for generating.
する第1の分周手段と、 この第1の分周手段によって分周されて生成された第1
の分周クロックの論理レベルの変化を検出する第1のレ
ベル変化検出手段と、 第2の系の入力クロックを分周する第2の分周手段と、 この第2の分周手段によって分周されて生成された第2
の分周クロックの論理レベルの変化を検出する第2のレ
ベル変化検出手段と、 前記第1の系の入力クロックの断状態を判別する断状態
判別手段と、 この断状態判別手段によって前記第1の系の入力クロッ
クが断状態であると判別されたときには前記第2のレベ
ル変化検出手段の検出結果で前記第1の分周手段の分周
出力をプリセットする第1のプリセット手段と、 前記第1のレベル変化検出手段の検出結果で前記第2の
分周手段の分周出力をプリセットする第2のプリセット
手段と、 所定の切替信号に基づいて前記第1および第2の分周ク
ロックの一方を択一的に選択する選択手段と、 前記第1および第2の分周クロックのいずれか一方をそ
の立ち上がりおよび立ち下がりエッジのうち一方のエッ
ジに同期して逓倍する逓倍手段と、 この逓倍手段によって逓倍されて生成された逓倍クロッ
クの前記エッジと異なる他方のエッジで切替信号をリタ
イミングすることによって前記選択手段の選択時の切替
信号を生成するリタイミング手段とを具備することを特
徴とするクロック系切替回路。2. A first frequency dividing means for dividing an input clock of a free-running first system, and a first frequency dividing means for dividing the input clock by the first frequency dividing means.
A first level change detecting means for detecting a change in the logic level of the divided clock, a second dividing means for dividing the input clock of the second system, and a frequency dividing means for dividing the input clock by the second dividing means. Generated and generated second
Second level change detecting means for detecting a change in the logic level of the divided clock, a disconnection state determining means for determining the disconnection state of the input clock of the first system, and the first state by the disconnection state determining means. First presetting means for presetting the frequency-divided output of the first frequency-dividing means based on the detection result of the second level-change detecting means when it is determined that the input clock of the system is disconnected. Second presetting means for presetting the frequency-divided output of the second frequency-dividing means on the basis of the detection result of the first level-change detecting means, and one of the first and second frequency-dividing clocks based on a predetermined switching signal. Selecting means for selectively selecting the frequency dividing means, and multiplying means for multiplying either one of the first and second divided clocks in synchronization with one of the rising and falling edges thereof. Retiming means for generating a switching signal at the time of selection by the selecting means by retiming the switching signal at the other edge different from the edge of the multiplied clock generated by being multiplied by the multiplying means. Clock system switching circuit.
する第1の分周手段と、 この第1の分周手段によって分周されて生成された第1
の分周クロックの論理レベルの変化を検出する第1のレ
ベル変化検出手段と、 第2の系の入力クロックを分周する第2の分周手段と、 この第2の分周手段によって分周されて生成された第2
の分周クロックの論理レベルの変化を検出する第2のレ
ベル変化検出手段と、 前記第1の系の入力クロックの断状態を判別する断状態
判別手段と、 この断状態判別手段によって前記第1の系の入力クロッ
クが断状態以外の状態と判別されたときには第1の分周
手段の出力を前記第1の系の入力クロックによってその
まま自走させる一方、第1の系の入力クロックが断状態
であると判別されたときには前記第2のレベル変化検出
手段が第2の分周クロックの論理レベルの変化を検出し
たタイミングで前記第1の分周クロックを前記第2の分
周クロックと同位相にプリセットする第1のプリセット
手段と、 前記第1のレベル変化検出手段が第1の分周クロックの
論理レベルの変化を検出したタイミングで前記第2の分
周クロックを前記第1の分周クロックと同位相にプリセ
ットする第2のプリセット手段と、 所定の切替信号に基づいて前記第1および第2の分周ク
ロックの一方を択一的に選択する選択手段とを具備する
ことを特徴とするクロック系切替回路。3. A first frequency dividing means for dividing an input clock of a free-running first system, and a first frequency dividing means for dividing the input clock by the first frequency dividing means.
A first level change detecting means for detecting a change in the logic level of the divided clock, a second dividing means for dividing the input clock of the second system, and a frequency dividing means for dividing the input clock by the second dividing means. Generated and generated second
Second level change detecting means for detecting a change in the logic level of the divided clock, a disconnection state determining means for determining the disconnection state of the input clock of the first system, and the first state by the disconnection state determining means. When it is determined that the input clock of the system is a state other than the disconnected state, the output of the first frequency dividing means is self-running by the input clock of the first system, while the input clock of the first system is in the disconnected state. When it is determined that the first divided clock has the same phase as the second divided clock at the timing when the second level change detection means detects the change in the logic level of the second divided clock. First preset means for presetting the second divided clock at the timing when the first level change detection means detects a change in the logic level of the first divided clock. A second presetting means for presetting the same phase as the clock; and a selecting means for selectively selecting one of the first and second divided clocks based on a predetermined switching signal. Clock system switching circuit.
ずれか一方をその立ち上がりおよび立ち下がりエッジの
うち一方のエッジに同期して逓倍する逓倍手段と、この
逓倍手段によって逓倍されて生成された逓倍クロックの
前記エッジと異なる他方のエッジで切替信号をリタイミ
ングすることによって前記選択手段の切替信号を生成す
るリタイミング手段とを備えることを特徴とする請求項
3記載のクロック系切替回路。4. A multiplication means for multiplying either one of the first and second divided clocks in synchronization with one of the rising and falling edges thereof, and a multiplication means for multiplying by the multiplication means. 4. The clock system switching circuit according to claim 3, further comprising retiming means for generating a switching signal of the selecting means by retiming the switching signal at the other edge different from the edge of the multiplied clock.
段は、立ち上がりあるいは立ち下がりを検出することを
特徴とする請求項1〜請求項3いずれかに記載のクロッ
ク系切替回路。5. The clock system switching circuit according to claim 1, wherein the first and second level change detecting means detect a rising edge or a falling edge.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29746098A JP3500985B2 (en) | 1998-10-20 | 1998-10-20 | Clock system switching circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29746098A JP3500985B2 (en) | 1998-10-20 | 1998-10-20 | Clock system switching circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000124884A JP2000124884A (en) | 2000-04-28 |
| JP3500985B2 true JP3500985B2 (en) | 2004-02-23 |
Family
ID=17846792
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29746098A Expired - Fee Related JP3500985B2 (en) | 1998-10-20 | 1998-10-20 | Clock system switching circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3500985B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114726367B (en) * | 2022-06-02 | 2022-08-23 | 上海泰矽微电子有限公司 | Gate-controlled low-jitter clock frequency division circuit and control method |
-
1998
- 1998-10-20 JP JP29746098A patent/JP3500985B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000124884A (en) | 2000-04-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5373254A (en) | Method and apparatus for controlling phase of a system clock signal for switching the system clock signal | |
| US6516422B1 (en) | Computer system including multiple clock sources and failover switching | |
| US6359945B1 (en) | Phase locked loop and method that provide fail-over redundant clocking | |
| EP1061651B1 (en) | Clock recovery circuit and phase detecting method therefor | |
| JP3320353B2 (en) | Variable speed phase locked loop system and method | |
| JP3619466B2 (en) | Semiconductor device | |
| KR100421411B1 (en) | Clock signal reproduction device | |
| KR101295657B1 (en) | Switchable pll circuit | |
| JP4015254B2 (en) | Lock detection circuit and PLL frequency synthesizer | |
| JP3500985B2 (en) | Clock system switching circuit | |
| EP0479237B1 (en) | Phase-locked oscillation circuit system with measure against shut-off of input clock | |
| JP3720996B2 (en) | Clock switching device | |
| JPH09307432A (en) | Pll circuit | |
| JP2795008B2 (en) | Input clock cutoff circuit method for phase-locked oscillation circuit | |
| JP2972590B2 (en) | Clock switching circuit | |
| JP2776334B2 (en) | Phase locked loop | |
| JPH07170584A (en) | Clock switching circuit | |
| JPH0964731A (en) | Phase locked loop circuit | |
| JPH07273643A (en) | Phase synchronization circuit | |
| JP3408921B2 (en) | Phase locked loop | |
| JP3518503B2 (en) | Clock supply device | |
| JPH09261787A (en) | Clock synchronization circuit in pll circuit | |
| JP2806661B2 (en) | Double loop type PLL circuit | |
| JPH0322706A (en) | Pll device | |
| JPH07321773A (en) | Phase synchronization circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |