JPH05297976A - Clock switching circuit - Google Patents

Clock switching circuit

Info

Publication number
JPH05297976A
JPH05297976A JP10148292A JP10148292A JPH05297976A JP H05297976 A JPH05297976 A JP H05297976A JP 10148292 A JP10148292 A JP 10148292A JP 10148292 A JP10148292 A JP 10148292A JP H05297976 A JPH05297976 A JP H05297976A
Authority
JP
Japan
Prior art keywords
clock
system clock
circuit
switching
outputting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP10148292A
Other languages
Japanese (ja)
Inventor
Masato Muratani
正人 村谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10148292A priority Critical patent/JPH05297976A/en
Publication of JPH05297976A publication Critical patent/JPH05297976A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the clock switching circuit whose circuit scale is small, and also, which can be switched to the own system clock without outputting a component of a high frequency immediately at the time when the other system is abnormal. CONSTITUTION:The circuit is provided with a synchronizing circuit 1 for outputting a synchronization control signal at a variation point of a level of the other system clock, and a clock generating circuit 2 for outputting the own system clock subjected to phase lock with the other system clock on the operation by the synchronization control signal, running freely without depending on the synchronization control signal, when a switching signal is inputted and outputting the own system clock of the same frequency. Also, this circuit is constituted by providing a selector 3 for inputting the other system clock and the own system clock, selecting and outputting the other system clock at a normal time, and selecting and outputting the own system clock, when the switching signal is inputted, and a switching control circuit 4 for sending the switching signal to the clock generating circuit 2 and the selector 3, when the other system abnormality signal is inputted, and outputting the own system clock from the selector 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル系の現用装
置,予備装置を有し、現用装置異常時は予備装置に切り
替えるシステム等に用いられるクロック切替回路の改良
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an improvement of a clock switching circuit having a digital system active device and a standby device and used for a system for switching to the standby device when the active device is abnormal.

【0002】ディジタル系の現用装置,予備装置を有す
るシステムでは、現用装置異常時はクロックも予備装置
側のクロックに切り替え予備装置にて運用を行うように
するが、このクロック切り替え時に周波数の高い成分
(ハザード)が発生し誤動作を起こさなく、且つ回路規
模が小さくてクロックを瞬時に切り替え可能なクロック
切替回路の提供が要望されている。
In a system having an active device and a backup device of a digital system, when the active device is abnormal, the clock is also switched to the clock of the backup device so that the backup device operates. There is a demand for providing a clock switching circuit which can prevent a (hazard) from occurring and cause a malfunction, and has a small circuit scale that can instantaneously switch clocks.

【0003】[0003]

【従来の技術】図4は従来例のクロック切替回路のブロ
ック図、図5は図4の各部のタイムチャートである。
2. Description of the Related Art FIG. 4 is a block diagram of a conventional clock switching circuit, and FIG. 5 is a time chart of each part of FIG.

【0004】図4では、図5(A)に示す如き他系クロ
ック(現用装置のクロック)が入力すると、このクロッ
クは同期回路1,セレクタ3及び位相監視回路21に入
力する。
In FIG. 4, when the other system clock (clock of the active device) as shown in FIG. 5A is inputted, this clock is inputted to the synchronizing circuit 1, the selector 3 and the phase monitoring circuit 21.

【0005】同期回路1では他系クロックの立ち上がり
で同期制御信号をクロック生成回路20に入力し、クロ
ック生成回路20ではこの同期制御信号をトリガとし図
5(B)に示す如き位相が少し遅れた自系クロックを出
力し、セレクタ3及び位相監視回路21に入力する。
In the synchronizing circuit 1, the synchronizing control signal is input to the clock generating circuit 20 at the rising edge of the clock of the other system, and in the clock generating circuit 20, the synchronizing control signal is used as a trigger to slightly delay the phase as shown in FIG. 5 (B). The own system clock is output and input to the selector 3 and the phase monitoring circuit 21.

【0006】位相監視回路21では、図5(A)に示す
他系クロック,図5(B)に示す自系クロックのレベル
が共にLレベル又はHレベルの時は図5(C)に示す如
きHレベルの切替許可信号を切替え制御回路22に送
る。
In the phase monitor circuit 21, when the levels of the other system clock shown in FIG. 5A and the own system clock shown in FIG. 5B are both L level or H level, as shown in FIG. 5C. An H level switching permission signal is sent to the switching control circuit 22.

【0007】切替え制御回路22では、図5(D)イに
示す如く切替許可信号が入力していない時に、他系異常
信号が入力すると、切替許可信号が入力する迄待ち図5
(E)のハに示す如き切替信号を出力し、図5(D)ロ
に示す如く切替許可信号が入力している時に、他系異常
信号が入力すると、直ちに図5(E)のニに示す如き切
替信号を出力する。
In the switching control circuit 22, if the other system abnormal signal is input when the switching permission signal is not input as shown in FIG. 5D, the switching control circuit 22 waits until the switching permission signal is input.
When a switching signal as shown in C of (E) is output and a switching permission signal is input as shown in (D) of FIG. A switching signal as shown is output.

【0008】この切替信号は、クロック生成回路20及
びセレクタ3に入力し、クロック生成回路20では同期
制御信号に依存せず自走し他系クロックと周波数の同じ
クロックを出力し、セレクタ3では、図5(F)に示す
如く、他系クロックを選択出力していたものを自系クロ
ック選択出力に切り替え、内部クロックとして使用する
ようにする。
This switching signal is input to the clock generation circuit 20 and the selector 3, and the clock generation circuit 20 self-runs without depending on the synchronization control signal and outputs a clock having the same frequency as that of the other system clock. As shown in FIG. 5F, the other system clock that has been selected and output is switched to the own system clock selection output and used as the internal clock.

【0009】尚切替許可信号を出力する理由は次の通り
である。図5(C)に示す切替許可信号が切替許可でな
いLレベルの時に他系クロックを自系クロックに切り替
えると、図5(G)に示す如き周波数の高い成分(ハザ
ード)が発生し装置が誤動作を起こすことがあるので、
切り替えは切替許可信号が切替許可のHレベルの時行う
ようにしている。
The reason why the switching permission signal is output is as follows. When the other system clock is switched to the own system clock when the switching permission signal shown in FIG. 5C is L level which is not switching permission, a high frequency component (hazard) as shown in FIG. 5G is generated and the device malfunctions. May occur,
The switching is performed when the switching permission signal is at the switching permission H level.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
クロック切替回路では、切替許可を与える位相監視回路
が必要で回路規模が大きくなることと、他系異常時、自
系クロックに切り替える時少し遅れて切り替えねばなら
ないことが起こる問題点がある。
However, in the conventional clock switching circuit, the phase monitoring circuit for giving the switching permission is required, the circuit scale becomes large, and when there is an abnormality in another system, there is a slight delay when switching to the own system clock. There is a problem that something that must be switched occurs.

【0011】本発明は、回路規模が小さくて且つ、他系
異常時直ちに、周波数の高い成分を出力することなく自
系クロックに切り替えられるクロック切替回路の提供を
目的としている。
It is an object of the present invention to provide a clock switching circuit having a small circuit scale and capable of switching to a self-system clock immediately without outputting a high frequency component when another system malfunctions.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理ブロ
ック図である。図1に示す如く、他系クロックのレベル
の変化点にて同期制御信号を出力する同期回路1と、該
同期制御信号により動作上は該他系クロックと位相同期
した自系クロックを出力し、切替信号が入力すると該同
期制御信号に依存せず自走して周波数の同じ自系クロッ
クを出力するクロック生成回路2と、該他系クロック及
び該自系クロックを入力し、正常時は該他系クロックを
選択出力し、切替信号が入力すると該自系クロックを選
択出力するセレクタ3と、他系異常信号が入力すると、
該クロック生成回路2及び該セレクタ3に切替信号を送
り、該セレクタ3より該自系クロックを出力させる切替
え制御回路4とを有する構成とする。
FIG. 1 is a block diagram showing the principle of the present invention. As shown in FIG. 1, a synchronization circuit 1 that outputs a synchronization control signal at a change point of the level of the other system clock, and an own system clock that is phase-synchronized with the other system clock in operation by the synchronization control signal, When a switching signal is input, the clock generation circuit 2 that outputs a self-system clock of the same frequency by running independently of the synchronization control signal, and the other system clock and the self system clock are input, and when normal, the other When the selector 3 which selectively outputs the system clock and the switching signal is input, and the selector 3 which selectively outputs the own system clock and the other system abnormality signal
A switching control circuit 4 is provided which sends a switching signal to the clock generation circuit 2 and the selector 3 and causes the selector 3 to output the own system clock.

【0013】[0013]

【作用】本発明によれば、クロック生成回路2は、同期
回路1よりの他系クロックのレベルの変化点にて発した
同期制御信号により、動作上は他系クロックに位相同期
した自系クロックを出力しており、他系クロックを自系
クロックに何時切り替えても周波数の高い成分を出力す
ることないので、切替え制御回路4は他系異常信号が入
力すると直ちに切替信号をクロック生成回路2及びセレ
クタ3に送り、クロック生成回路2を自走とし、セレク
タ3では、他系クロックを選択出力していたものを直ち
に自系クロックの選択出力に切り替える。
According to the present invention, the clock generation circuit 2 operates in response to the synchronization control signal generated at the change point of the level of the other system clock from the synchronizing circuit 1 to operate its own clock which is phase-synchronized with the other system clock. Since a high frequency component is not output no matter which time the other system clock is switched to the own system clock, the switching control circuit 4 immediately outputs the switching signal to the clock generation circuit 2 and the other system abnormal signal. The clock generation circuit 2 is sent to the selector 3, and the clock generation circuit 2 is made to be free-running. In the selector 3, the other system clock that has been selectively output is immediately switched to the own system clock selection output.

【0014】即ち、従来のクロック切替回路の位相監視
回路は不要になるので、回路規模は小さくて且つ、他系
異常時直ちに、周波数の高い成分を出力することなく自
系クロックに切り替えることが出来る。
That is, since the phase monitoring circuit of the conventional clock switching circuit is not required, the circuit scale is small and it is possible to switch to the own system clock without outputting a high frequency component immediately when another system malfunctions. ..

【0015】[0015]

【実施例】図2は本発明の実施例のクロック切替回路の
ブロック図、図3は図2の各部のタイムチャートであ
る。
2 is a block diagram of a clock switching circuit according to an embodiment of the present invention, and FIG. 3 is a time chart of each part of FIG.

【0016】図2にて、図3(A)に示す如き周波数が
1MHzの他系クロックが入力すると、ノット回路11
にて反転され、図3(B)に示す如きクロックとなり、
クロックとして図3(C)に示す如き周波数が10MH
zのクロックが入力しているフリップフロップ12,1
3、アンド回路14よりなる微分回路16及びセレクタ
3に入力する。
In FIG. 2, when another system clock having a frequency of 1 MHz as shown in FIG.
Is inverted and becomes a clock as shown in FIG.
As the clock, the frequency shown in FIG. 3 (C) is 10 MHz.
flip-flops 12 and 1 to which the z clock is input
3 and a differentiating circuit 16 composed of an AND circuit 14 and the selector 3.

【0017】微分回路16では図3(B)に示す反転ク
ロックの立ち上がりを微分した図3(D)に示す如きパ
ルスを出力しセレクタ15に入力する。セレクタ15は
通常は微分回路16の出力側を選択出力しており、図3
(D)に示すパルスは、10MHzのクロックが入力し
ている10進カウンタ2ー1の同期ロード端子に入力す
る。
The differentiating circuit 16 outputs a pulse as shown in FIG. 3D obtained by differentiating the rising edge of the inverted clock shown in FIG. The selector 15 normally selects and outputs the output side of the differentiating circuit 16, and FIG.
The pulse shown in (D) is input to the synchronous load terminal of the decimal counter 2-1 to which the 10 MHz clock is input.

【0018】10進カウンタのQcの出力は、0〜3の
間はLレベル,4〜7の間はHレベル,8〜9の間はL
レベルとなるので、10進カウンタ2ー1の出力Qcよ
りは図3(E)に示す如きクロックを出力し、ノット回
路2ー2にて反転され、図3(B)に示す反転他系クロ
ックよりは10MHzの1/2周期位相の進んだ図3
(F)に示す如きクロックを出力する。
The output of Qc of the decimal counter is L level between 0 and 3, H level between 4 and 7, and L level between 8 and 9.
Since it becomes the level, a clock as shown in FIG. 3 (E) is output from the output Qc of the decimal counter 2-1 and is inverted by the knot circuit 2-2, and the inverted other system clock shown in FIG. 3 (B). Figure 3 is a phase advance of 1/2 cycle of 10MHz
A clock as shown in (F) is output.

【0019】即ち、動作上は他系クロックと位相同期し
たクロックを出力する。図3(H)に示す如き他系異常
信号がフリップフロップ4にクロックとして入力する
と、フリップフロップ4の出力は図3(I)に示す如き
Hレベルの切替信号となり、セレクタ15及びセレクタ
3に入力し、セレクタ15ではアース側を選択して10
進カウンタ2ー1の同期ロード端子に与え、10進カウ
ンタ2ー1を自走するようにし、セレクタ3では、図3
(B)に示す反転他系クロックを選択していたものを、
10進カウンタ2ー1の出力を反転した自系クロックを
選択するように切り替え、出力より図3(G)に示す如
く他系クロックを自系クロックに切り替えたクロックを
出力し内部クロックとする。
That is, in operation, a clock that is phase-synchronized with the other system clock is output. When another system abnormal signal as shown in FIG. 3 (H) is input to the flip-flop 4 as a clock, the output of the flip-flop 4 becomes an H-level switching signal as shown in FIG. Then, the selector 15 selects the ground side and
It is given to the synchronous load terminal of the decimal counter 2-1 so that the decimal counter 2-1 self-runs.
The one in which the inverted other system clock shown in (B) is selected,
The output of the decimal counter 2-1 is switched so as to select the own system clock, and a clock obtained by switching the other system clock to the own system clock is output from the output as the internal clock.

【0020】即ち、自系クロックは他系クロックと動作
上は位相同期しているので、位相監視回路は不要で回路
規模は小さくなり且つ、他系異常時直ちに、周波数の高
い成分を出力することなく自系クロックに切り替えるこ
とが出来る。
That is, since the own system clock is phase-synchronized with the other system clock in operation, the phase monitoring circuit is unnecessary and the circuit scale becomes small, and the high frequency component is output immediately when the other system abnormality occurs. Instead, you can switch to your own system clock.

【0021】[0021]

【発明の効果】以上詳細に説明せる如く本発明によれ
ば、回路規模が小さくて且つ、他系異常時直ちに、周波
数の高い成分を出力することなく自系クロックに切り替
えられることが出来るクロック切替回路が得られる効果
がある。
As described in detail above, according to the present invention, the clock can be switched to the own system clock with a small circuit scale and immediately when another system is abnormal without outputting a high frequency component. There is an effect that a circuit can be obtained.

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

【図1】は本発明の原理ブロック図、FIG. 1 is a block diagram of the principle of the present invention,

【図2】は本発明の実施例のクロック切替回路のブロッ
ク図、
FIG. 2 is a block diagram of a clock switching circuit according to an embodiment of the present invention,

【図3】は図2の各部のタイムチャート、FIG. 3 is a time chart of each part of FIG.

【図4】は従来例のクロック切替回路のブロック図、FIG. 4 is a block diagram of a conventional clock switching circuit,

【図5】は図4の各部のタイムチャートである。FIG. 5 is a time chart of each part of FIG.

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

1は同期回路、 2,20はクロック生成回路、 2ー1は10進カウンタ、 2ー2,11はノット回路、 3,15はセレクタ、 4はフリップフロップ,切替え制御回路、 12,13はフリップフロップ、 14はアンド回路、 16は微分回路、 21は位相監視回路、 22は切替え制御回路を示す。 1 is a synchronous circuit, 2 is a clock generation circuit, 2 is a decimal counter, 2 is a notation counter, 2 is a 11 is a knot circuit, 3 is a selector, 4 is a flip-flop, a switching control circuit, and 12 is a flip-flop. 14 is an AND circuit, 16 is a differentiating circuit, 21 is a phase monitoring circuit, and 22 is a switching control circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 他系クロックのレベルの変化点にて同期
制御信号を出力する同期回路(1)と、該同期制御信号
により動作上は該他系クロックと位相同期した自系クロ
ックを出力し、切替信号が入力すると該同期制御信号に
依存せず自走して周波数の同じ自系クロックを出力する
クロック生成回路(2)と、該他系クロック及び該自系
クロックを入力し、正常時は該他系クロックを選択出力
し、切替信号が入力すると該自系クロックを選択出力す
るセレクタ(3)と、他系異常信号が入力すると、該ク
ロック生成回路(2)及び該セレクタ(3)に切替信号
を送り、該セレクタ(3)より該自系クロックを出力さ
せる切替え制御回路(4)とを有することを特徴とする
クロック切替回路。
1. A synchronizing circuit (1) which outputs a synchronization control signal at a change point of the level of the other system clock, and an own system clock which is phase-synchronized with the other system clock by the synchronization control signal. When a switching signal is input, a clock generation circuit (2) that self-runs independently of the synchronization control signal and outputs the own system clock of the same frequency, and the other system clock and the own system clock Is a selector (3) that selectively outputs the other system clock and selectively outputs the own system clock when a switching signal is input, and a clock generation circuit (2) and the selector (3) when another system abnormality signal is input. And a switching control circuit (4) for sending a switching signal to the selector (3) to output the own system clock.
JP10148292A 1992-04-22 1992-04-22 Clock switching circuit Withdrawn JPH05297976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10148292A JPH05297976A (en) 1992-04-22 1992-04-22 Clock switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10148292A JPH05297976A (en) 1992-04-22 1992-04-22 Clock switching circuit

Publications (1)

Publication Number Publication Date
JPH05297976A true JPH05297976A (en) 1993-11-12

Family

ID=14301938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10148292A Withdrawn JPH05297976A (en) 1992-04-22 1992-04-22 Clock switching circuit

Country Status (1)

Country Link
JP (1) JPH05297976A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086664A (en) * 1994-06-15 1996-01-12 Nec Corp Computer and its clock switching method
US7301896B2 (en) 2001-05-14 2007-11-27 Fujitsu Limited Redundant changeover apparatus
GB2450862A (en) * 2007-04-25 2009-01-14 Wolfson Microelectronics Plc Synchronising circuit to output a control signal based on either first or second clock signals

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086664A (en) * 1994-06-15 1996-01-12 Nec Corp Computer and its clock switching method
US7301896B2 (en) 2001-05-14 2007-11-27 Fujitsu Limited Redundant changeover apparatus
GB2450862A (en) * 2007-04-25 2009-01-14 Wolfson Microelectronics Plc Synchronising circuit to output a control signal based on either first or second clock signals
GB2450862B (en) * 2007-04-25 2011-07-20 Wolfson Microelectronics Plc Synchronisation circuit and method

Similar Documents

Publication Publication Date Title
US3594656A (en) Automatic clock frequency-switching system
JP3368815B2 (en) Flip-flop circuit
JPH075949A (en) Method and device for duplex clock switching
JPH05297976A (en) Clock switching circuit
JP2005236549A (en) Clock signal switching circuit
US6823413B2 (en) Interrupt signal processing apparatus
KR0141292B1 (en) Circuit for controlling the duplexing in the full electronic switching system
JPH01290013A (en) Asynchronous clock selecting/synchronizing circuit
JPH08221151A (en) Clock supply device
JP2856570B2 (en) Clock generation circuit
JPH01116815A (en) Clock switching circuit
JP3101315B2 (en) Automatic time adjustment circuit
JP2715729B2 (en) Frame phase synchronization circuit
JP2519887Y2 (en) Phase locked oscillator
JPH11355259A (en) Clock confounding/distributing device
KR100352125B1 (en) Device for Multiplexing Asynchronous Clock Signal
JPS59148573A (en) Oscillator circuit for inverter controller
JPH11341108A (en) Switching method and device of active system and standby system
JPS62169560A (en) Duplexed clock signal generator
JPH05153096A (en) Synchronizing circuit in supervisory and controlling device
JPS59231668A (en) Dual clock signal switching system
JPS6379123A (en) Clock distribution circuit
JPH0774622A (en) Pulse supply device
JPS63271513A (en) Switching circuit for clock signal
JPH0652898B2 (en) Subordinate clock switching control 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: 19990706