JPH08181580A - Clock changeover circuit - Google Patents

Clock changeover circuit

Info

Publication number
JPH08181580A
JPH08181580A JP6317896A JP31789694A JPH08181580A JP H08181580 A JPH08181580 A JP H08181580A JP 6317896 A JP6317896 A JP 6317896A JP 31789694 A JP31789694 A JP 31789694A JP H08181580 A JPH08181580 A JP H08181580A
Authority
JP
Japan
Prior art keywords
clock
resonance
signal
clock signal
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.)
Withdrawn
Application number
JP6317896A
Other languages
Japanese (ja)
Inventor
Yasuyoshi Sekine
康善 関根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP6317896A priority Critical patent/JPH08181580A/en
Publication of JPH08181580A publication Critical patent/JPH08181580A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE: To eliminate an output clock interrupt state for a discrimination period by adding a resonance section and a clock generating section to an input clock and keeping the clock longer than a time required for abnormity discrimination to the input clock. CONSTITUTION: A resonance signal 105 obtained by resonating a 1-system input clock signal at a resonance section 3 is converted into a clock signal by a clock generating section 5 to obtain a resonance clock signal 107 for holding four periods of the 1 system input clock signal. Since a 2-system input clock signal is normally received, a 2-system input monitor section 2 provides an output of a 2-system input state signal 104 as a normal state and a resonance clock signal 108 is obtained via the resonance section 4 and the clock generating section 6. Furthermore, a clock selection section 9 outputs an output clock signal 111 resulting from the signal 108 in place of the signal 111 resulting from the signal 107 based on the selection signal 110. Then the clock signal is held longer than the time required for abnormity discrimination of input monitor sections 1, 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はクロック切替え回路に関
し、特に現用系と予備系との各クロック信号の入力断状
態を判別して正常クロック信号を選択して導出するクロ
ック切替え回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock switching circuit, and more particularly to a clock switching circuit for determining a normal clock signal by deciding an input disconnection state of each clock signal of an active system and a standby system. .

【0002】[0002]

【従来の技術】従来のこの種のクロック切替え回路の例
を図3に示す。図3において、1系入力監視部1は、1
系入力クロック信号101の入力状態を、任意に設定さ
れた時間T(入力クロック周波数の1サイクルより長い
時間)内にクロックの立上りまたは立下りが無いことに
よって入力異常(入力断)を検出して検出信号103を
生成するものである。2系入力監視部2も2系入力クロ
ック信号102の入力断状態を同様に検出して検出信号
104を生成する。
2. Description of the Related Art FIG. 3 shows an example of a conventional clock switching circuit of this type. In FIG. 3, the 1-system input monitoring unit 1 is
The input state of the system input clock signal 101 is detected as an input abnormality (input disconnection) by the absence of rising or falling of the clock within the arbitrarily set time T (time longer than one cycle of the input clock frequency). The detection signal 103 is generated. The 2-system input monitoring unit 2 also detects the input disconnection state of the 2-system input clock signal 102 and generates the detection signal 104.

【0003】これ等入力監視部1,2は入力クロック1
01,102の各立上りまたは各立下りによりトリガさ
れるリトリガラブル(再トリガ可能な)単安定マルチバ
イブレータ回路により実現され、上述の時間Tがこの単
安定マルチバイブレータ回路の時定数により決定され
る。
These input monitoring units 1 and 2 have an input clock 1
It is realized by a retriggerable (retriggerable) monostable multivibrator circuit triggered by each rising or falling of 01 and 102, and the above-mentioned time T is determined by the time constant of this monostable multivibrator circuit.

【0004】NOR回路7は1系クロック101と2系
クロック102とからクロック選択部9における切替え
タイミングを決定するタイミング信号109を生成する
ものであり、選択判定部8は検出信号103,104に
基づき切替えタイミング信号109に同期して選択信号
110を生成するものである。
The NOR circuit 7 generates a timing signal 109 for determining the switching timing in the clock selecting section 9 from the 1-system clock 101 and the 2-system clock 102, and the selection determining section 8 is based on the detection signals 103 and 104. The selection signal 110 is generated in synchronization with the switching timing signal 109.

【0005】クロック選択部9はこの選択信号110に
同期して1系クロック信号101と2系クロック信号と
の一方を切替えて導出し出力クロック信号111を生成
するものである。
The clock selection unit 9 switches between one of the 1-system clock signal 101 and the 2-system clock signal in synchronization with the selection signal 110 and derives the output clock signal 111.

【0006】図4は図3の回路の各部信号の波形例を示
しており、現在選択されている1系クロック信号101
の入力状態が異常となり断となったとき、所定時間T経
過後に1系入力監視部1から生成される検出信号103
に応答して、その直後の正常クロック信号102の立下
りに同期したタイミング(NOR出力)109で、この
正常クロック信号102に切替えられるようになってい
る。
FIG. 4 shows an example of waveforms of signals at various parts of the circuit of FIG. 3, in which the 1-system clock signal 101 currently selected is selected.
When the input state of is abnormal and is disconnected, the detection signal 103 generated from the 1-system input monitoring unit 1 after a predetermined time T has elapsed.
In response to, the normal clock signal 102 is switched to this normal clock signal 102 at a timing (NOR output) 109 synchronized with the trailing edge of the normal clock signal 102 immediately thereafter.

【0007】この図3の回路では、クロック選択部9に
おいて入力クロック信号を直接切替えて出力するように
なっているので、クロック切替え時には、少くとも時間
T(入力監視部1,2の時定数に相当)の間、出力クロ
ックが無い状態が生ずる。
In the circuit of FIG. 3, the input clock signal is directly switched and output in the clock selection section 9, so at the time of clock switching, at least the time T (the time constant of the input monitoring sections 1 and 2 is set to the time constant). During the period (corresponding to the above), the state where there is no output clock occurs.

【0008】そこで、特開昭63−287206号公報
には図5,7の各回路が開示されている。先ず、図5の
回路を参照すると、現用系および予備系クロック信号
A,Bはそれぞれ入力端子101,102から入力さ
れ、入力監視回路1,2においてそれぞれ現用系、予備
系クロック信号A,B中の断の有無が監視される。入力
監視回路1,2は例えばRC単安定マルチバイブレータ
で構成され、抵抗とコンデンサとにより設定される時定
数に応じた時間幅の断を検出すると、断検出信号C,D
をそれぞれ送出する。この例では、断検出信号C,Dは
断検出時にローレベルとなる信号としてある。
Therefore, Japanese Patent Laid-Open No. 63-287206 discloses the circuits shown in FIGS. First, referring to the circuit of FIG. 5, the active system and standby system clock signals A and B are input from the input terminals 101 and 102, respectively, and the input monitoring circuits 1 and 2 receive the active system and standby system clock signals A and B, respectively. The presence or absence of disconnection is monitored. The input monitoring circuits 1 and 2 are composed of, for example, RC monostable multivibrators, and when a disconnection of a time width corresponding to a time constant set by a resistor and a capacitor is detected, disconnection detection signals C and D are detected.
Respectively. In this example, the disconnection detection signals C and D are low level signals when disconnection is detected.

【0009】断検出信号C,Dは切替信号生成回路8に
入力され、ここである一定のアルゴリズムに従って切替
信号Eが生成される。この例ではインバータ81および
ナンドゲート82を用いることにより、現用系クロック
信号Aに断が出され、かつ予備系クロック信号Bに断が
検出されないときにのみ、切替信号Eがローレベルとな
る様にしている。
The disconnection detection signals C and D are input to the switching signal generating circuit 8 and the switching signal E is generated according to a certain algorithm. In this example, by using the inverter 81 and the NAND gate 82, the switching signal E is set to the low level only when the active system clock signal A is disconnected and the standby system clock signal B is not detected. There is.

【0010】一方、現用系クロック信号Aおよび予備系
クロック信号Bは選択回路9に入力され、選択信号Eが
ハイレベルの時には現用系を、ローレベルの時には予備
系を選択して、選択されたクロック信号FがLC共振回
路14へ送出される。
On the other hand, the active system clock signal A and the standby system clock signal B are input to the selection circuit 9, and the active system is selected when the selection signal E is at high level, and the standby system is selected when the selection signal E is at low level. The clock signal F is sent to the LC resonance circuit 14.

【0011】LC共振回路14はクロック信号Fの周波
数foに同調されているので、クロック信号Fにより励
振されて周波数foの正弦波信号Gを出力する。正弦波
信号GはSIN/TTL変換回路15において、TTL
レベルのクロック信号Hに再生変換され、出力端子11
1から送出される。
Since the LC resonance circuit 14 is tuned to the frequency fo of the clock signal F, it is excited by the clock signal F and outputs the sine wave signal G of frequency fo. The sine wave signal G is sent to the SIN / TTL conversion circuit 15 by the TTL.
Regenerated and converted into the level clock signal H, and output terminal 11
It is sent from 1.

【0012】次に、現用系クロック信号Aが断となり、
予備系へ切替わる時の動作を説明する。ただし、ここで
は後に述べる問題点が生じない様に、現用系クロック信
号Aと予備系クロック信号Bは位相が一致しているもの
とする。
Next, the active clock signal A is cut off,
The operation when switching to the standby system will be described. However, here, it is assumed that the active system clock signal A and the standby system clock signal B have the same phase so that the problems described later do not occur.

【0013】図6に系の切替が生じる時の回路各部の信
号A〜Hの波形図を示す。入力監視回路1が入力クロッ
ク信号で5タイムスロット分の入力断で断検出をするも
のとすと、切替信号生成回路8の出力Eも図6に示すよ
うにタイムスロット後ローレベルとなり、現用系クロッ
ク信号Aが断を起こしてから5タイムスロット後に予備
系クロック信号Bに切替わり、選択回路9からは5タイ
ムスロット分だけ断となるクロック信号Fが出力され
る。この5タイムスロット分の瞬断を補償するために、
クロック信号FはLC共振回路14に入力される。
FIG. 6 shows a waveform diagram of the signals A to H of each part of the circuit when the system switching occurs. Assuming that the input monitoring circuit 1 detects the disconnection of the input clock signal by the input disconnection of 5 time slots, the output E of the switching signal generation circuit 8 also becomes low level after the time slot as shown in FIG. The clock signal A is switched to the standby system clock signal B five time slots after the disconnection of the clock signal A, and the selection circuit 9 outputs the clock signal F which is disconnected for five time slots. To compensate for these five time slots,
The clock signal F is input to the LC resonance circuit 14.

【0014】LC共振回路14はクロック信号Fの周波
数foに同調しているので、クロック信号Fに5タイム
スロット分の断が生じても、図6に示す様に、振幅が次
第に減衰はするが、周波数foの正弦波信号Gを出力し
続け、5タイムスロット後に再びクロック信号Fが入力
されると、正弦波信号Gの振幅は元の大きさに回復す
る。このため、クロック信号Fの断期間中に正弦波信号
Gが減衰により消滅しない限りは、正弦波信号Gにクロ
ック再生回路15によるレベル変換を施すことで、連続
した出力クロック信号Hを再生することができる。
Since the LC resonance circuit 14 is tuned to the frequency fo of the clock signal F, even if the clock signal F is interrupted for 5 time slots, the amplitude is gradually attenuated as shown in FIG. , The sine wave signal G having the frequency fo is continuously output, and the clock signal F is input again after 5 time slots, the amplitude of the sine wave signal G is restored to the original value. Therefore, unless the sine wave signal G disappears due to attenuation during the disconnection period of the clock signal F, the sine wave signal G is subjected to level conversion by the clock reproduction circuit 15 to reproduce the continuous output clock signal H. You can

【0015】以上は現用系クロック信号Aと予備系クロ
ック信号Bの位相が一致している場合の動作説明である
が、現用系と予備系の各クロック信号A,B間にπの位
相差がある場合には、5タイムスロットの瞬断後にLC
共振回路14に入力されるクロック信号Fは切替前に入
力されていたクロック信号Aに対して位相が反転してい
るため、切替前の正弦波信号Gを減衰させ、切替前の正
弦波信号Gに対して位相の反転した正弦波信号Gを生成
する様に作用する。このため、正弦波信号Gは切替後に
振幅が零のレベルまで減衰したのち、新らたに位相の反
転した正弦波信号が切替後のクロック信号によって励振
される。
The above is the explanation of the operation when the phases of the active clock signal A and the standby clock signal B are the same, but there is a phase difference of π between the active and standby clock signals A and B. In some cases LC after 5 time slots interruption
Since the clock signal F input to the resonance circuit 14 has a phase inversion with respect to the clock signal A input before switching, the sine wave signal G before switching is attenuated and the sine wave signal G before switching is attenuated. To generate a sine wave signal G with the phase reversed. Therefore, the sine wave signal G is attenuated to a level of zero after switching, and then a sine wave signal whose phase is newly inverted is excited by the clock signal after switching.

【0016】よって現用系クロック信号Aと予備系クロ
ック信号Bとの間に位相差(π)が生じると、正弦波信
号Gが切替え後のクロック信号により減衰し、切替え前
後でパルスが抜けた状態となる。
Therefore, when a phase difference (π) occurs between the active system clock signal A and the standby system clock signal B, the sine wave signal G is attenuated by the switched clock signal, and the pulse is lost before and after the switching. Becomes

【0017】そこで、同公報においては、図7に示す如
き回路が提案されている。図7において図5と同等部分
は同一符号により示しており、現用系クロック信号A及
び予備系クロック信号Bの周波数f0を夫々2倍する周
波数逓倍回路16,17を設け、これ等各出力C,Dを
クロック選択部9にて選択し、この選択出力Fを2fo
に同調する共振回路11へ入力している。
Therefore, in this publication, a circuit as shown in FIG. 7 is proposed. 7, the same parts as those in FIG. 5 are designated by the same reference numerals, and frequency multiplication circuits 16 and 17 for doubling the frequencies f0 of the active system clock signal A and the standby system clock signal B respectively are provided, and these output C, D is selected by the clock selector 9 and this selected output F is set to 2fo
Is input to the resonance circuit 11 tuned to.

【0018】そして、この共振出力Gを第1のクロック
再生回路12に2クロック信号Hに再生し、2分周回路
13にて2分周を行いfoの周波数を有するクロック信
号Iを再生する。このクロック信号Iをfoに同調する
第2の共振回路14へ入力し、この共振出力Jを第2の
クロック再生回路15へ入力して目的とするクロック信
号Kを出力端子111より得るものである。
Then, the resonance output G is reproduced as a two-clock signal H by the first clock reproduction circuit 12, and the frequency-divided circuit 13 divides it by two to reproduce a clock signal I having a frequency fo. The clock signal I is input to the second resonance circuit 14 that is tuned to fo, the resonance output J is input to the second clock regenerating circuit 15, and the desired clock signal K is obtained from the output terminal 111. .

【0019】周波数逓倍回路16,17により周波数逓
倍して得られた現用系及び予備系のクロック信号の位相
差がπ近傍にあって、第1のクロック信号再生回路12
からは系切替えの前後において数タイムスロック(クロ
ックパルスの数周期)に亘る断が生じるが、このクロッ
ク信号を分周回路13で分周するので、この断の幅が小
となり、よって、この分周後のクロックパルスを第2の
共振回路14へ入力して第2のクロック再生回路15で
パルス再生をすれば、パルス抜けのない連続したクロッ
クパルスを得ることができるものである。
The phase difference between the clock signals of the active system and the standby system obtained by frequency multiplication by the frequency multiplication circuits 16 and 17 is in the vicinity of π, and the first clock signal reproduction circuit 12
From the above, a disconnection occurs for several time slocks (several cycles of the clock pulse) before and after the system switching. However, since this clock signal is divided by the frequency dividing circuit 13, the width of this disconnection becomes small and therefore By inputting the clock pulse after the round to the second resonance circuit 14 and reproducing the pulse by the second clock reproducing circuit 15, it is possible to obtain a continuous clock pulse without pulse omission.

【0020】[0020]

【発明が解決しようとする課題】この従来の図7に示す
回路では、周波数逓倍回路16,17を現用系及び予備
系に夫々設ける必要があり、またクロック選択部9の出
力に2foとfoとの共振周波数を有する2つの共振回
路を設け、更に、第1及び第2のクロック再生回路1
2,15を設ける必要があって回路構成が複雑化して小
型化、低コスト化にはならないという問題がある。
In the conventional circuit shown in FIG. 7, it is necessary to provide the frequency multiplying circuits 16 and 17 in the active system and the standby system, respectively, and the output of the clock selecting section 9 is 2fo and fo. Two resonance circuits having different resonance frequencies, and further the first and second clock recovery circuits 1
There is a problem that it is necessary to provide Nos. 2 and 15 and the circuit configuration becomes complicated to reduce the size and cost.

【0021】更に、クロック選択部9の出力において、
現用系及び予備系に共通に共振回路を設ける構成である
ために、入力監視部1及び2の監視時定数は同一に設定
する必要があり、現用系、予備系のクロック信号A,B
の位相差が大きい場合には、各入力監視部1,2の断検
出のために時定数はこの位相差に応じて所望に調整する
ことが必要であるが、共振回路11が共通であるため
に、当該時定数を個々に独立して調整することができ
ず、また、共振回路11の共振の尖鋭度を示すQも現用
系及び予備系に対して当然共通となっているので、この
共振回路の共振数も両系で同一となり、両系クロックの
位相差によってはクロック断が生じ、完全なクロック断
を防止することはできないという欠点がある。
Further, in the output of the clock selection unit 9,
Since the resonance circuit is commonly provided in the active system and the standby system, the monitoring time constants of the input monitoring units 1 and 2 need to be set to the same, and the clock signals A and B of the active system and the standby system are set.
If the phase difference between the input monitoring units 1 and 2 is large, the time constant must be adjusted according to the phase difference to detect the disconnection of the input monitoring units 1 and 2, but the resonance circuit 11 is common. In addition, since the time constants cannot be adjusted independently and the Q indicating the sharpness of the resonance of the resonance circuit 11 is naturally common to the active system and the standby system, this resonance The number of resonances of the circuit is the same in both systems, and there is a drawback that a clock failure occurs due to the phase difference between the two system clocks and it is impossible to prevent a complete clock failure.

【0022】本発明の目的は、現用系及び予備系の各ク
ロック信号の位相状態に応じて回路の特性を調整自在と
してクロック断を生じることのない極めて簡単な構成の
クロック切替え回路を提供することである。
An object of the present invention is to provide a clock switching circuit having an extremely simple structure in which the characteristics of the circuit can be adjusted according to the phase states of the clock signals of the active system and the standby system and the clock is not interrupted. Is.

【0023】[0023]

【課題を解決するための手段】本発明によるクロック切
替え回路は、第1系及び第2系クロック信号の各々が所
定時間内に夫々検出されなかったときに断検出信号を夫
々生成する第1及び第2断検出手段と、前記第1系及び
第2系クロック信号を夫々入力として前記所定時間より
も長い共振出力を夫々持続可能な第1及び第2共振手段
と、前記第1及び第2共振手段の各共振出力から第1系
及び第2系共振クロック信号を夫々生成する第1及び第
2共振クロック生成手段と、前記第1及び第2断検出手
段からの検出信号に従って前記第1系及び第2系共振ク
ロック信号のうち正常な共振クロック信号を選択的に切
替え出力する選択手段とを含むことを特徴としている。
A clock switching circuit according to the present invention generates a disconnection detection signal when each of the first system clock signal and the second system clock signal is not detected within a predetermined time. Second disconnection detecting means, first and second resonating means, each of which receives the first system clock signal and the second system clock signal as input, and sustains a resonance output longer than the predetermined time, respectively, and the first and second resonance circuits. First and second resonance clock generation means for respectively generating first and second resonance clock signals from each resonance output of the means, and the first and second resonance clock generation means according to the detection signals from the first and second disconnection detection means It is characterized in that it includes a selecting means for selectively switching and outputting a normal resonance clock signal among the second system resonance clock signals.

【0024】[0024]

【作用】現用系及び予備系の各入力クロック信号に対し
て夫々共振回路を独立に設け、これ等各共振回路の出力
を用いてクロックを再生し、この再生クロック信号をク
ロック選択部により択一的に導出するように構成する。
これにより、各共振回路のQを独立に調整設定でき、結
果として入力監視部の時定数をもこれ等共振回路の各Q
に合わせて独立に設定できることになる。
A resonance circuit is provided independently for each of the input clock signals of the active system and the standby system, the clock is regenerated using the output of each resonance circuit, and the regenerated clock signal is selected by the clock selection unit. It is configured so as to be derived.
As a result, the Q of each resonance circuit can be adjusted and set independently, and as a result, the time constant of the input monitoring unit can also be set to each Q of these resonance circuits.
Can be set independently according to.

【0025】[0025]

【実施例】以下に本発明の実施例について図面を用いて
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0026】図1は本発明の実施例の回路図であり、図
3と同等部分は同一符号により示している。1系(現用
系)入力監視部1は入力される1系クロック信号101
の立ち上がりまたは立ち下がりが任意に設定される時間
内に存在しない場合に1系入力状態信号103にて入力
異常を通知する。2系入力監視部2は入力される2系ク
ロック信号102の立ち上がりまたは立ち下がりが任意
に設定される時間内に存在しない場合に2系入力状態信
号104にて入力異常を通知する。これ等入力監視部
1,2は図3に示した例と同じくリトリガブルな単安定
マルチバイブレータ構成とされている。
FIG. 1 is a circuit diagram of an embodiment of the present invention, and the same portions as those in FIG. 3 are designated by the same reference numerals. The 1-system (active system) input monitoring unit 1 receives the 1-system clock signal 101 that is input.
When the rising edge or the falling edge of does not exist within an arbitrarily set time, an input abnormality is notified by the 1-system input state signal 103. The 2-system input monitoring unit 2 notifies the input abnormality by the 2-system input state signal 104 when the rising or falling of the input 2-system clock signal 102 does not exist within the time set arbitrarily. These input monitoring units 1 and 2 have the same retriggerable monostable multivibrator configuration as in the example shown in FIG.

【0027】共振部3及び4は異常判定に使用される任
意に設定された時間以上クロックを保持した1系共振信
号105および2系共振信号106を出力する。クロッ
ク生成部5及び6は共振信号105および106から共
振クロック信号107および108をそれぞれ出力す
る。
The resonance units 3 and 4 output a 1-system resonance signal 105 and a 2-system resonance signal 106 that hold a clock for an arbitrarily set time used for abnormality determination. The clock generators 5 and 6 output the resonance clock signals 107 and 108 from the resonance signals 105 and 106, respectively.

【0028】NOR回路7は1系共振クロック信号10
7と2系共振クロック信号108とから、両系のクロッ
ク信号が共にローレベルになるタイミングである切替え
タイミング信号109を出力する。選択判定部8は1系
入力状態信号103と2系入力状態信号104とから、
出力クロックとして選択している入力クロックが異常状
態になったときに、系を正常状態の系に切替えるための
選択信号110を切り替えタイミング信号109に同期
して出力する。クロック選択部9は選択信号110に従
って1系共振クロック信号107か2系共振クロック信
号108かを選択して出力クロック信号111を出力す
る。
The NOR circuit 7 uses the 1-system resonance clock signal 10
From the 7 and 2 system resonance clock signals 108, the switching timing signal 109 which is the timing when both system clock signals become low level is output. The selection determination unit 8 determines from the 1-system input state signal 103 and the 2-system input state signal 104 that
When the input clock selected as the output clock is in an abnormal state, the selection signal 110 for switching the system to the normal system is output in synchronization with the switching timing signal 109. The clock selection unit 9 selects the 1-system resonance clock signal 107 or the 2-system resonance clock signal 108 according to the selection signal 110 and outputs the output clock signal 111.

【0029】図2は本発明実施例の動作説明図である
が、選択信号110が1系側を選択している場合に1系
入力クロック信号101が断状態となったときの動作例
である。1系入力監視部1はクロックの立ち上がりが3
周期以上無かった場合に1系入力状態信号103を異常
状態に変化させる。
FIG. 2 is an operation explanatory diagram of the embodiment of the present invention, which is an operation example when the 1-system input clock signal 101 is in a disconnection state when the selection signal 110 selects the 1-system side. . The 1st system input monitoring unit 1 has 3 clock rising edges.
When there is no cycle or more, the 1-system input state signal 103 is changed to an abnormal state.

【0030】共振部3で1系入力クロック信号を共振し
て得られる共振信号105をクロック生成部5にてクロ
ック信号に変換することで1系入力クロック信号より4
周期分クロックを保持した共振クロック信号107が得
られる。2系入力クロック信号は正常に入力されている
ため、2系入力監視部2は2系入力状態信号104を正
常状態として出力し、共振部4およびクロック生成部6
を経て共振クロック信号108が得られる。
The resonance signal 105 obtained by resonating the 1-system input clock signal in the resonance unit 3 is converted into a clock signal in the clock generation unit 5 to convert the 1-system input clock signal into 4 clocks.
A resonance clock signal 107 holding a clock for a period is obtained. Since the system 2 input clock signal is normally input, the system 2 input monitoring unit 2 outputs the system 2 input state signal 104 as a normal state, and the resonance unit 4 and the clock generation unit 6
The resonance clock signal 108 is obtained via

【0031】NOR回路7は、1系と2系のクロックの
位相が異なるとき等に両系のクロックがローレベル時に
切替えを行うための切替えタイミング信号109を出力
する。選択判定部8は選択していた1系の状態が異常状
態に変化したため2系側を選択するように切替えタイミ
ング信号109に同期して選択信号110を切替える。
クロック選択部9は選択信号110により出力クロック
信号111を1系共振クロック信号107から2系共振
クロック信号108に切替えて出力する。
The NOR circuit 7 outputs a switching timing signal 109 for switching when the clocks of both systems are low when the phases of the clocks of the first system and the second system are different. The selection determination unit 8 switches the selection signal 110 in synchronization with the switching timing signal 109 so as to select the second system side because the selected first system state has changed to the abnormal state.
The clock selection unit 9 switches the output clock signal 111 from the 1-system resonance clock signal 107 to the 2-system resonance clock signal 108 according to the selection signal 110 and outputs it.

【0032】[0032]

【発明の効果】以上説明したように本発明は、両系の入
力クロック信号の位相が一致していない場合には切替え
直後の1周期のみがその位相差によりクロック周期に半
周期以内の誤差を生じるが、入力クロックを共振部およ
びクロック生成部を追加して入力クロックの異常判定に
かかる時間より長くクロックを保持することにより、判
定時間中の出力クロック断状態を除去するという効果が
ある。
As described above, according to the present invention, when the phases of the input clock signals of both systems are not coincident with each other, only one cycle immediately after switching causes an error within half a cycle in the clock cycle due to the phase difference. Although it occurs, by adding a resonance unit and a clock generation unit to the input clock and holding the clock longer than the time required for the abnormality determination of the input clock, there is an effect of eliminating the output clock disconnection state during the determination time.

【0033】また、共振部およびクロック生成部をそれ
ぞれの系に持つことにより、入力監視部の異常判定時間
の設定が系毎に独立して異なる設定が可能である。更
に、周波数逓倍回路が不要であるので、回路全体の構成
が簡単化され、小型化及び低価格化が可能となる。
Further, by having the resonance section and the clock generation section in each system, it is possible to set the abnormality determination time of the input monitoring section independently for each system. Further, since the frequency multiplication circuit is unnecessary, the configuration of the entire circuit is simplified, and the size and cost can be reduced.

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

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

【図2】図1のブロックの動作を示す各部信号波形図で
ある。
FIG. 2 is a signal waveform diagram of each part showing the operation of the block of FIG.

【図3】従来のクロック切替え回路の一例を示す図であ
る。
FIG. 3 is a diagram showing an example of a conventional clock switching circuit.

【図4】図3の回路の動作を示す各部信号波形図であ
る。
FIG. 4 is a signal waveform diagram of each part showing the operation of the circuit of FIG.

【図5】従来のクロック切替え回路の他の例を示す図で
ある。
FIG. 5 is a diagram showing another example of a conventional clock switching circuit.

【図6】図5の回路の動作を示す各部信号波形図であ
る。
FIG. 6 is a signal waveform diagram of each part showing the operation of the circuit of FIG.

【図7】従来のクロック切替え回路の更に他の例を示す
図である。
FIG. 7 is a diagram showing still another example of a conventional clock switching circuit.

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

1,2 入力監視部 3,4 共振部 5,6 クロック生成部 7 NOR回路 8 選択判定部 9 クロック選択部 1, 2 Input monitoring unit 3, 4 Resonance unit 5, 6 Clock generation unit 7 NOR circuit 8 Selection determination unit 9 Clock selection unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H03K 5/19 L 17/00 R 9184−5K F 9184−5K ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location H03K 5/19 L 17/00 R 9184-5K F 9184-5K

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 第1系及び第2系クロック信号の各々が
所定時間内に夫々検出されなかったときに断検出信号を
夫々生成する第1及び第2断検出手段と、前記第1系及
び第2系クロック信号を夫々入力として前記所定時間よ
りも長い共振出力を夫々持続可能な第1及び第2共振手
段と、前記第1及び第2共振手段の各共振出力から第1
系及び第2系共振クロック信号を夫々生成する第1及び
第2共振クロック生成手段と、前記第1及び第2断検出
手段からの検出信号に従って前記第1系及び第2系共振
クロック信号のうち正常な共振クロック信号を選択的に
切替え出力する選択手段とを含むことを特徴とするクロ
ック切替え回路。
1. A first and a second disconnection detecting means for respectively generating disconnection detection signals when each of the first system clock signal and the second system clock signal is not detected within a predetermined time, and the first system and First and second resonance means for sustaining resonance outputs longer than the predetermined time, respectively, using the second system clock signal as an input, and first to second resonance outputs of the first and second resonance means, respectively.
Of the first and second system resonance clock signals according to the detection signals from the first and second system resonance clock generation means and the first and second disconnection detection means, respectively. A clock switching circuit comprising: a selection unit that selectively outputs a normal resonance clock signal.
【請求項2】 前記選択手段は、前記検出信号に応答し
て前記正常な共振クロック信号に同期して切替えタイミ
ングを決定する手段と、この切替えタイミングに従って
前記正常な共振クロック信号を導出する手段とを含むこ
とを特徴とする請求項1記載のクロック切替え回路。
2. The selecting means, in response to the detection signal, means for determining a switching timing in synchronization with the normal resonance clock signal, and means for deriving the normal resonance clock signal in accordance with the switching timing. The clock switching circuit according to claim 1, further comprising:
【請求項3】 前記第1及び第2断検出手段の各々の断
検出のための時定数は夫々独立に設定自在とされ、前記
1及び第2共振手段の各共振の尖鋭度を示すQはこれま
た夫々独立に設定自在とされていることを特徴とする請
求項1または2記載のクロック切替え回路。
3. A time constant for detecting disconnection of each of the first and second disconnection detecting means can be independently set, and Q indicating the sharpness of each resonance of the first and second resonance means is 3. The clock switching circuit according to claim 1 or 2, wherein each of them can be independently set.
JP6317896A 1994-12-21 1994-12-21 Clock changeover circuit Withdrawn JPH08181580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6317896A JPH08181580A (en) 1994-12-21 1994-12-21 Clock changeover circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6317896A JPH08181580A (en) 1994-12-21 1994-12-21 Clock changeover circuit

Publications (1)

Publication Number Publication Date
JPH08181580A true JPH08181580A (en) 1996-07-12

Family

ID=18093269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6317896A Withdrawn JPH08181580A (en) 1994-12-21 1994-12-21 Clock changeover circuit

Country Status (1)

Country Link
JP (1) JPH08181580A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100336759B1 (en) * 1999-09-28 2002-05-16 박종섭 Clock signal selection circuit
KR100448961B1 (en) * 2001-09-27 2004-09-18 가부시끼가이샤 도시바 Computer system
WO2011052112A1 (en) * 2009-10-29 2011-05-05 パナソニック株式会社 System clock monitoring device, and motor control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100336759B1 (en) * 1999-09-28 2002-05-16 박종섭 Clock signal selection circuit
KR100448961B1 (en) * 2001-09-27 2004-09-18 가부시끼가이샤 도시바 Computer system
WO2011052112A1 (en) * 2009-10-29 2011-05-05 パナソニック株式会社 System clock monitoring device, and motor control system

Similar Documents

Publication Publication Date Title
US5642069A (en) Clock signal loss detection and recovery apparatus in multiple clock signal system
EP1675267B1 (en) Periodic electrical signal frequency monitoring systems and methods
JP4009338B2 (en) Noise and intermittent data stream decoding apparatus and method
JP3784176B2 (en) Data transmission / reception circuit and method thereof
KR950035370A (en) Monitor power supply control circuit
US20020008548A1 (en) Device for detecting abnormality of clock signal
JPH08181580A (en) Clock changeover circuit
JPH04357713A (en) Reference signal generating circuit having switching function
JP2746727B2 (en) Phase synchronization circuit, semiconductor integrated circuit, and recording / reproducing device
JP3126610B2 (en) Control method of counter in clock generation circuit
JP7420444B1 (en) Data processing systems, processing methods, and programs
JPH08316797A (en) Clock changeover device
JP3216328B2 (en) Digital priority input switching circuit
JPH0630489B2 (en) Clock signal instantaneous interruption prevention circuit
JP3720552B2 (en) Dual clock synchronous control system
JPH1168529A (en) Device and method for clock changeover
JP2844850B2 (en) PLL device
JP2949945B2 (en) Transmission line switching circuit
JP3003471B2 (en) Clock switching circuit
JP2795008B2 (en) Input clock cutoff circuit method for phase-locked oscillation circuit
KR200300385Y1 (en) Synchronous Clock Monitor Circuit in Electronic Switching System
JP3001469B2 (en) Transmission line switching device
JPH09244761A (en) Clock abnormality detecting circuit
CN118054771A (en) Burr-free clock switching circuit, chip and electrical equipment
JPH0195679A (en) Noise decreasing circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020305