JPH05324118A - Automatic clock switching system and its circuit - Google Patents

Automatic clock switching system and its circuit

Info

Publication number
JPH05324118A
JPH05324118A JP12877192A JP12877192A JPH05324118A JP H05324118 A JPH05324118 A JP H05324118A JP 12877192 A JP12877192 A JP 12877192A JP 12877192 A JP12877192 A JP 12877192A JP H05324118 A JPH05324118 A JP H05324118A
Authority
JP
Japan
Prior art keywords
clock
level
switching
disconnection
automatic
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
JP12877192A
Other languages
Japanese (ja)
Inventor
Masakazu Nakamura
正和 中村
Yasuhiro Ono
恭裕 大野
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 JP12877192A priority Critical patent/JPH05324118A/en
Publication of JPH05324118A publication Critical patent/JPH05324118A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To switch a working clock to a stand-by clock without generating a hazard by detecting an OFF level state also simultaneously with OFF detection when the working clock is turned off CONSTITUTION:When a clock CKA OFF detecting circuit 1 or a clock CKB OFF detecting circuit 2 detects the generation of clock OFF, an automatic clock switching display part 3 detects whether the OFF clock is a working clock or not by comparing the detected result with the set state of a manual switching signal SEL. On the other hand, an OFF clock 'H' level fixing detecting part 4 detects which level, 'H' or 'L', turns the working clock turned off to an OFF fixed state. A clock switching control part 7 generates a switching command signal at a position where the level of a stand-by clock coincides with that of the OFF working clock and controls a clock selector 8, so that the working clock is automatically switched to the stand-by clock.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、2系統のクロック回路
を備えた電気機器における自動クロック切り替え方式と
その回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic clock switching system and its circuit in an electric device having two clock circuits.

【0002】[0002]

【従来の技術】ディジタル信号処理方式の通信装置など
では、処理動作の基準となる同期クロックが不可欠であ
る。このクロックが断すると、装置はシステムダウンに
陥ってしまう。したがって、従来においては、同一のク
ロック回路を2系統用意し、いずれか一方を現用、他方
を予備用として並行に稼動し、現用のクロック回路に故
障が発生した場合には、予備用のクロック回路へ切り替
えるようにしていた。
2. Description of the Related Art In a digital signal processing type communication device or the like, a synchronous clock as a reference for processing operation is indispensable. If this clock is cut off, the system will go down. Therefore, in the prior art, two systems of the same clock circuit are prepared, one of them is operated in parallel and the other is operated in parallel, and when a failure occurs in the current clock circuit, the spare clock circuit is used. I was trying to switch to.

【0003】図8に従来のクロック断検出回路の構成例
を、図10に従来のクロック切り替え回路の構成例をそ
れぞれ示す。なお、図8のクロック断検出回路は、2系
統のクロックCKAとCKBのうち、クロックCKAに
ついてのクロック断検出回路のみを示した。実際は、他
方のクロックCKBについても同一の検出回路が設けら
れている。
FIG. 8 shows a configuration example of a conventional clock loss detection circuit, and FIG. 10 shows a configuration example of a conventional clock switching circuit. Note that the clock break detection circuit in FIG. 8 shows only the clock break detection circuit for the clock CKA of the two systems of clocks CKA and CKB. In fact, the same detection circuit is provided for the other clock CKB.

【0004】図8のクロック断検出回路の動作を図9の
タイムチャートを参照して説明する。タイマー回路10
1の出力するクロック断検出用パルスS1は、分周回路
102で分周され、分周信号S2としてフリップフロッ
プ103のクロック端子CKに入力される。また、分周
信号S2は、NOTゲート104で反転された後、遅延
セル105で僅かの遅延を与えられ、フリップフロップ
106のリセット端子Rに入力されている。
The operation of the clock loss detection circuit of FIG. 8 will be described with reference to the time chart of FIG. Timer circuit 10
The clock disconnection detection pulse S1 output by 1 is frequency-divided by the frequency dividing circuit 102, and is input to the clock terminal CK of the flip-flop 103 as the frequency divided signal S2. The frequency-divided signal S2 is inverted by the NOT gate 104, given a slight delay in the delay cell 105, and input to the reset terminal R of the flip-flop 106.

【0005】断検出対象クロックCKAが断すると、信
号S3によってフリップフロップ106がOFFされ、
その出力S4が“L”となる。そして、分周比で設定さ
れた一定時間の後、分周回路102から分周パルスS2
がフリップフロップ103のクロック端子CKに与えら
れると、フリップフロップ103前記出力S4の“L”
をラッチし、Q- 端子からクロックCKA断アラーム信
号ALMAを出力し、例えば、図示にない警報ランプや
警報ブザーなどによってクロックCKAが断したことを
知らせる。
When the disconnection detection target clock CKA is disconnected, the signal S3 turns off the flip-flop 106,
The output S4 becomes "L". Then, after a predetermined time set by the division ratio, the division pulse S2 is output from the division circuit 102.
Is given to the clock terminal CK of the flip-flop 103, the output S4 of the flip-flop 103 is "L".
, And outputs a clock CKA disconnection alarm signal ALMA from the Q - terminal to inform that the clock CKA has been disconnected by, for example, an alarm lamp or alarm buzzer (not shown).

【0006】次に、図10のクロック切り替え回路の動
作を、図11のタイムチャートを参照して説明する。ク
ロックCKAが現用クロックとして選択されている場
合、手動クロック切り替え信号SELは“L”に設定さ
れている。したがって、ANDゲート202の一方の入
力端子には“L”が与えられ、ANDゲート201の一
方の入力端子にはNOTゲート203で反転された
“H”が与えられているので、ANDゲート201が導
通し、クロックCKAがORゲート204を通じて現用
クロックCKOとして出力されている。
Next, the operation of the clock switching circuit of FIG. 10 will be described with reference to the time chart of FIG. When the clock CKA is selected as the working clock, the manual clock switching signal SEL is set to "L". Therefore, "L" is given to one input terminal of the AND gate 202, and "H" inverted by the NOT gate 203 is given to one input terminal of the AND gate 201. It becomes conductive and the clock CKA is output as the current clock CKO through the OR gate 204.

【0007】いま、前記した図8のクロック断検出回路
でクロックCKAの断発生が検出され、警報ランプやブ
ザーなどでこれが通知されると、監視員は手動クロック
切り替え信号SELを“L”から“H”に切り替える。
これによって、ANDゲート201がOFF、ANDゲ
ート202がONとなり、クロックCKAに代えて、ク
ロックCKBがANDゲート202,ORゲート204
を通じて現用クロックとして出力される。
Now, when the occurrence of the clock CKA interruption is detected by the clock interruption detection circuit shown in FIG. 8 and this is notified by an alarm lamp or a buzzer, the monitoring staff changes the manual clock switching signal SEL from "L" to "L". Switch to H ".
As a result, the AND gate 201 is turned off, the AND gate 202 is turned on, and the clock CKB is replaced by the AND gate 202 and the OR gate 204 instead of the clock CKA.
Is output as the current clock through.

【0008】[0008]

【発明が解決しようとする課題】上述したように、従来
は、断検出回路とクロック切り替え回路がそれぞれ別回
路として設けられており、図8のクロック断検出回路で
クロックの断発生を検出して外部へ通知し、これを監視
員が認識した後、図10のクロック切り替え回路の手動
クロック切り替え信号SELを“L”から“H”へ、あ
るいは“H”から“L”へ手動で切り替えることによ
り、現用クロックをCKAからCKBへ、あるいはCK
BからCKAへ切り替えていた。
As described above, conventionally, the disconnection detection circuit and the clock switching circuit are provided as separate circuits, and the clock disconnection detection circuit of FIG. 8 detects the occurrence of the clock disconnection. By notifying the outside and recognizing this by the monitor, by manually switching the manual clock switching signal SEL of the clock switching circuit of FIG. 10 from “L” to “H” or from “H” to “L” , The current clock from CKA to CKB, or CK
I was switching from B to CKA.

【0009】そのため、クロック断を検出してから実際
に他方のクロックへ切り替わるまでに相当の時間がかか
り、クロック断によるシステムダウンの時間が長くなっ
てしまうという問題があった。また、クロックの切り替
えは、クロックとは非同期で人手によって行なわれてい
るため、切り替えタイミングによっては、図11中に示
すように、切り替えの際にハザードが発生するおそれが
あった。
Therefore, there is a problem that it takes a considerable time from the detection of the clock failure to the actual switching to the other clock, and the system down time due to the clock failure becomes long. Further, since the clock switching is manually performed asynchronously with the clock, depending on the switching timing, a hazard may occur during the switching, as shown in FIG.

【0010】本発明は、前記事情に基づきなされたもの
で、その目的とするところは、現用クロックにクロック
断が発生したときハザードを生ずることなしに予備用の
クロックへ切り替えることのできる自動クロック切り替
え方式とその回路を提供することである。
The present invention has been made in view of the above circumstances, and an object thereof is to automatically switch clocks to a spare clock without causing a hazard when a clock break occurs in a working clock. A method and its circuit are provided.

【0011】[0011]

【課題を解決するための手段】本発明の自動クロック切
り替え方式は、2系統のクロックを備え、いずれか一方
のクロックを現用、他方のクロックを予備用として用い
るようにした電気機器における自動クロック切り替え方
式において、現用のクロックが断となったときに断検出
と同時にその断レベル状態も検出し、予備用のクロック
が前記断となった現用のクロックの断レベル状態と一致
するタイミング位置で現用から予備用のクロックへ自動
的に切り替えるようにしたものである。
The automatic clock switching system of the present invention is provided with two clocks, and one of the clocks is used as an active clock and the other clock is used as a spare automatic clock switching in an electric device. In the system, when the active clock is disconnected, the disconnection level state is detected at the same time as the disconnection detection, and the standby clock is detected from the active position at a timing position matching the disconnection level state of the disconnected active clock. It automatically switches to the spare clock.

【0012】また、本発明の自動クロック切り替え回路
は、図1にその原理構成を示すように、第1のクロック
CKAの断発生を監視するクロックCKA断検出部1、
第2のクロックCKBの断発生を監視するクロックCK
B断検出部2、前記2つの断検出部1,2の断検出信号
に基づいて自動クロック切り替え信号CHGCKを発生
する自動クロック切り替え表示部3、現用のクロックが
“H”レベル状態で断となったか否かを検出する断クロ
ック“H”レベル固定検出部4、前記断クロック“H”
レベル固定検出部4が“H”レベル断固定を検出したと
きには予備用のクロックが“H”レベルとなるタイミン
グ位置を検出するクロック“H”レベル一致検出部5、
前記断クロック“H”レベル固定検出部4が“H”レベ
ル断固定を検出しなかったときには予備用のクロックが
“L”レベルとなるタイミング位置を検出するクロック
“L”レベル一致検出部6、前記自動クロック切り替え
表示部4の自動クロック切り替え信号と前記クロック
“H”レベル一致検出回路5およびクロック“L”レベ
ル一致検出回路6のレベル一致信号に基づいて、ハザー
ドの発生しないタイミング位置で切り替え指令信号を出
力するクロック切り替え制御部7、前記クロック切り替
え制御部7の切り替え指令信号に基づいてクロックを現
用から予備用へ切り替えるクロックセレクタ8とを備え
ることにより構成したものである。
Further, the automatic clock switching circuit of the present invention has a clock CKA disconnection detecting unit 1 for monitoring the occurrence of disconnection of the first clock CKA, as shown in the principle configuration of FIG.
Clock CK for monitoring occurrence of disconnection of second clock CKB
B disconnection detection unit 2, automatic clock switching display unit 3 that generates an automatic clock switching signal CHGCK based on the disconnection detection signals of the two disconnection detection units 1 and 2, and disconnects when the current clock is in the "H" level state. Disconnection clock “H” level fixed detection unit 4 for detecting whether or not the disconnection clock “H”
A clock “H” level coincidence detection unit 5 for detecting a timing position at which the backup clock becomes “H” level when the level fixation detection unit 4 detects “H” level disconnection fixation.
A clock "L" level coincidence detection unit 6 for detecting a timing position at which the backup clock becomes "L" level when the disconnection clock "H" level fixation detection unit 4 does not detect "H" level disconnection fixation. Based on the automatic clock switching signal of the automatic clock switching display unit 4 and the level matching signals of the clock “H” level matching detection circuit 5 and the clock “L” level matching detection circuit 6, a switching command is issued at a timing position where no hazard occurs. The clock switching control unit 7 outputs a signal, and the clock selector 8 switches a clock from a working clock to a backup clock based on a switching command signal from the clock switching control unit 7.

【0013】[0013]

【作 用】図2に、2系統のクロックCKAとCKBを
任意に切り替えた場合の切り替え状態図を示す。図中、
SELはクロックを切り替えるための手動クロック切り
替え信号、CKOは選択出力される現用クロックであ
る。この図2から明らかなように、クロックCKAとC
KBが“H”レベルと“L”レベルでレベル不一致とな
る領域部分でクロックを切り替えた場合、クロックの
切り替わり位置でハザードが発生する。
[Operation] FIG. 2 shows a switching state diagram when the two systems of clocks CKA and CKB are arbitrarily switched. In the figure,
SEL is a manual clock switching signal for switching the clock, and CKO is a currently used clock that is selectively output. As is clear from FIG. 2, the clocks CKA and C
When the clocks are switched in the area portion where the levels of KB are “H” level and “L” level disagreement, a hazard occurs at the clock switching position.

【0014】一方、クロックCKAとCKBの両者が
“L”レベルでレベル一致する領域位置および両者が
“H”レベルでレベル一致する領域位置でクロックを
切り替えた場合、クロックの切り替わり位置でハザード
が発生することはない。したがって、現用のクロックが
断した場合、断となった現用クロックと予備用のクロッ
クのレベルがお互いに一致するタイミング位置で現用か
ら予備用のクロックへ切り替えれば、ハザードを生ずる
ことなしにクロックを切り替えることができる。本発明
は、このような原理に基づいてなされたものである。
On the other hand, when the clocks are switched at the area position where both the clocks CKA and CKB have the level matching at the "L" level and the area position where the clocks CKA and CKB have the level matching at the "H" level, a hazard occurs at the clock switching position. There is nothing to do. Therefore, when the working clock is cut off, if the working clock is switched to the spare clock at the timing position where the levels of the broken working clock and the spare clock match each other, the clock is switched without causing a hazard. be able to. The present invention is based on such a principle.

【0015】図1において、クロックCKA断検出回路
1はクロックCKAの断を、クロックCKB断検出回路
2はクロックCKBの断をそれぞれ監視し、断が発生し
た場合には断アラーム信号ALMA,ALMBをそれぞ
れ発生する。
In FIG. 1, the clock CKA disconnection detection circuit 1 monitors the disconnection of the clock CKA, and the clock CKB disconnection detection circuit 2 monitors the disconnection of the clock CKB. When the disconnection occurs, disconnection alarm signals ALMA and ALMB are output. It occurs respectively.

【0016】自動クロック切り替え表示部2は、クロッ
クCKA断検出回路1またはクロックCKB断検出回路
2がクロック断の発生を検出すると、手動切り替え信号
SELの設定状態と比較することにより、断となったク
ロックが現用クロックであるか否かを検出し、現用クロ
ックが断となった場合には、自動クロック切り替え信号
CHGCKを発生する。
When the clock CKA disconnection detection circuit 1 or the clock CKB disconnection detection circuit 2 detects the occurrence of a clock disconnection, the automatic clock switching display unit 2 compares the setting state of the manual switching signal SEL to disconnect. Whether or not the clock is the working clock is detected, and when the working clock is cut off, the automatic clock switching signal CHGCK is generated.

【0017】一方、断クロック“H”レベル固定検出部
4は、断となった現用のクロックが“H”または“L”
のいずれのレベルで断固定状態となったかを検出する。
現用のクロックが“H”レベル状態で断固定となった場
合には、クロック“H”レベル一致検出部6によって予
備用のクロックが“H”レベルとなるタイミング位置を
検出し、該位置においてレベル一致信号を出力する。ま
た、現用のクロックが“L”レベル状態で断固定となっ
た場合には、クロック“L”レベル一致検出部6によっ
て予備用のクロックが“L”レベルとなるタイミング位
置を検出し、該位置でレベル一致信号を出力する。
On the other hand, in the disconnection clock "H" level fixed detection section 4, the disconnected current clock is "H" or "L".
The level at which the disconnection / fixation state is reached is detected.
When the working clock is fixed at the "H" level, the clock "H" level coincidence detecting section 6 detects the timing position at which the spare clock goes to the "H" level, and the level is set at that position. Output a match signal. When the working clock is "L" level and is fixedly disconnected, the clock "L" level coincidence detecting section 6 detects the timing position at which the spare clock becomes "L" level, and Outputs the level match signal.

【0018】クロック切り替え制御部7は、予備用のク
ロックのレベルが断となった現用のクロックのレベル状
態と一致する位置で切り替え指令信号を発生し、クロッ
クセレクタ8を制御することにより、現用から予備用の
クロックへ自動的にクロックを切り替える。
The clock switching control section 7 generates a switching command signal at a position that matches the level state of the working clock in which the level of the backup clock is cut off, and controls the clock selector 8 to shift the working clock from the working clock. Automatically switch the clock to the spare clock.

【0019】[0019]

【実施例】図3に、本発明方式を適用して構成した本発
明の自動クロック切り替え回路の1実施例を示す。同図
において、クロックCKA断検出部1は、フリップフロ
ップ11,12、分周回路13、NOTゲート14、遅
延セル15から構成されている。クロックCKB断検出
部2は、フリップフロップ21,22、分周回路23、
NOTゲート24、遅延セル25から構成されている。
これら断検出部1,2は、分周回路13,14の入力信
号としてそれぞれ相手方のクロックCKA,CKBを用
いている点を除けば、従来の断検出回路(図8)と同一
である。
FIG. 3 shows an embodiment of an automatic clock switching circuit of the present invention constructed by applying the method of the present invention. In the figure, the clock CKA disconnection detection unit 1 is composed of flip-flops 11 and 12, a frequency dividing circuit 13, a NOT gate 14, and a delay cell 15. The clock CKB break detection unit 2 includes flip-flops 21 and 22, a frequency dividing circuit 23,
It is composed of a NOT gate 24 and a delay cell 25.
The disconnection detection units 1 and 2 are the same as the conventional disconnection detection circuit (FIG. 8) except that the counterpart clocks CKA and CKB are used as the input signals of the frequency dividing circuits 13 and 14, respectively.

【0020】自動クロック切り替え表示部3は、現用の
クロックが断した時に自動クロック切り替え信号を発生
する回路であり、ANDゲート31,32、ORゲート
33、NOTゲート34から構成されている。
The automatic clock switching display unit 3 is a circuit for generating an automatic clock switching signal when the current clock is cut off, and is composed of AND gates 31, 32, an OR gate 33 and a NOT gate 34.

【0021】断クロック“H”レベル固定検出部4は、
現用のクロックが“H”レベル固定状態で断となったか
否かを検出する回路であり、ANDゲート41,42、
ORゲート43から構成されている。
The disconnection clock "H" level fixed detection unit 4 is
This is a circuit for detecting whether or not the current clock is disconnected in the "H" level fixed state, and AND gates 41, 42,
It is composed of an OR gate 43.

【0022】クロック“H”レベル一致検出部5は、ク
ロック切り替え時のハザード防止のために、クロックC
KAとCKBの“H”レベルの一致位置を検出する回路
であり、ANDゲート51から構成されている。クロッ
ク“L”レベル一致検出部6は、クロック切り替え時の
ハザード防止のために、クロックCKAとCKBの
“L”レベルの一致位置を検出する回路であり、NOR
ゲート回路61から構成されている。
The clock "H" level coincidence detecting section 5 uses the clock C to prevent hazards at the time of clock switching.
This is a circuit for detecting the matching position of "H" level of KA and CKB, and is composed of an AND gate 51. The clock “L” level coincidence detection unit 6 is a circuit that detects the coincidence position of the clocks CKA and CKB at the “L” level in order to prevent hazards at the time of clock switching.
It is composed of a gate circuit 61.

【0023】クロック切り替え制御部7は、ハザードの
生じないタイミング位置で切り替え指令信号を発生する
回路であり、フリップフロップ71、排他的OR(EX
OR)ゲート72、ORゲート73から構成されてい
る。
The clock switching controller 7 is a circuit that generates a switching command signal at a timing position where no hazard occurs, and includes a flip-flop 71 and an exclusive OR (EX).
It is composed of an OR gate 72 and an OR gate 73.

【0024】クロックセレクタ8は、クロック切り替え
制御部7から与えられるクロック切り替え指令信号に従
ってクロックCKAまたはCKBのいずれかを現用クロ
ックCKOとして選択出力する回路であり、ANDゲー
ト81,82、ORゲート83から構成されている。
The clock selector 8 is a circuit for selectively outputting either the clock CKA or CKB as the working clock CKO in accordance with the clock switching command signal given from the clock switching control section 7, and from the AND gates 81 and 82 and the OR gate 83. It is configured.

【0025】次に、前記実施例の動作につき、場合分け
して順に説明する。 [I] クロックが正常な場合の手動による切り替え動作
(図4参照) この場合の切り替え動作のタイムチャートを図4に示
す。なお、前記図3の実施例回路は、手動切り替え信号
SELが“L”のときクロックCKAを選択出力し、
“H”のときクロックCKBを選択出力するように構成
されている。
Next, the operation of the above-described embodiment will be described in order for different cases. [I] Manual switching operation when clock is normal (see FIG. 4) FIG. 4 shows a time chart of the switching operation in this case. The embodiment circuit of FIG. 3 selectively outputs the clock CKA when the manual switching signal SEL is “L”,
The clock CKB is selectively output when it is "H".

【0026】手動クロック切り替え信号SELが“L”
に設定され、現用クロックCKOとしてクロックCKA
が出力されているものとする。いま、現用クロックをC
KAからCKBに切り替えるために、手動クロック切り
替え信号SELを“L”から“H”に切り替えると、E
XORゲート72の出力S5が“H”となる。一方、ク
ロック“L”レベル一致検出部6のNORゲート61
は、クロックCKAとCKBの“L”レベルが一致した
時点で“H”となり、ORゲート73を介して、出力S
7=“H”をフリップフロップ71のクロック端子CK
へ送る。
The manual clock switching signal SEL is "L"
Is set to the clock CKA as the current clock CKO.
Is output. Now, the working clock is C
When the manual clock switching signal SEL is switched from "L" to "H" in order to switch from KA to CKB, E
The output S5 of the XOR gate 72 becomes "H". On the other hand, the NOR gate 61 of the clock “L” level coincidence detector 6
Becomes "H" when the "L" levels of the clocks CKA and CKB match, and the output S is output via the OR gate 73.
7 = “H” is the clock terminal CK of the flip-flop 71
Send to.

【0027】フリップフロップ71は、この出力S7の
立ち上がりエッジで、EXORゲート72から送られて
くる出力S5の“H”をラッチし、出力Q=“H”、Q
- =“L”となる。この結果、クロックセレクタ8のA
NDゲート81がOFF、ANDゲート82がONとな
り、それまで出力されていたクロックCKAに代わっ
て、クロックCKBが現用クロックCKOとして出力さ
れる。
At the rising edge of the output S7, the flip-flop 71 latches the "H" of the output S5 sent from the EXOR gate 72, and outputs Q = "H", Q.
- = "L". As a result, A of the clock selector 8
The ND gate 81 is turned off and the AND gate 82 is turned on, so that the clock CKB is output as the working clock CKO in place of the clock CKA output up to that point.

【0028】[II] クロックCKAが“L”レベル固定
状態で断となった場合の自動切り替え動作(図5参照) この場合の切り替え動作のタイムチャートを図5に示
す。手動クロック切り替え信号SELを“H”としてク
ロックCKAを選択している時に、クロックCKAが
“L”レベル固定状態で断となると、クロックCKA断
検出回路1のフリップフロップ12が、分周回路13の
出力S3によって与えられる一定時間の後にこれを検出
し、Q- 端子からクロックCKA断アラーム信号ALM
A=“H”を出力し、クロックCKAが断になったこと
を知らせる。
[II] Automatic switching operation when the clock CKA is cut off in the "L" level fixed state (see FIG. 5) A time chart of the switching operation in this case is shown in FIG. When the clock CKA is selected while the manual clock switching signal SEL is set to “H” and the clock CKA is fixed at the “L” level, the flip-flop 12 of the clock CKA disconnection detection circuit 1 causes the frequency division circuit 13 to operate. This is detected after a certain time given by the output S3 and the clock CKA disconnection alarm signal ALM is output from the Q - terminal.
A = “H” is output to inform that the clock CKA is cut off.

【0029】クロックCKA断アラーム信号ALMAが
“H”になると、自動クロック切り替え表示部3のAN
Dゲート31が導通し、ORゲート33から自動クロッ
ク切り替え信号CHGCK=“H”が出力される。この
CHGCK信号は、外部へ出力されると同時に、クロッ
ク切り替え制御部7のEXORゲート72の一方の入力
端子へ送られる。EXORゲート72の他方の入力端子
には手動クロック切り替え信号“L”(CKA選択状
態)が入力されているので、EXORゲート72の出力
S5はこの時点で“H”となり、S5=“H”がフリッ
プフロップ71のD端子へ送られる。
When the clock CKA disconnection alarm signal ALMA becomes "H", AN of the automatic clock switching display unit 3 is displayed.
The D gate 31 becomes conductive, and the OR gate 33 outputs the automatic clock switching signal CHGCK = "H". This CHGCK signal is output to the outside, and at the same time, sent to one input terminal of the EXOR gate 72 of the clock switching control unit 7. Since the manual clock switching signal “L” (CKA selected state) is input to the other input terminal of the EXOR gate 72, the output S5 of the EXOR gate 72 becomes “H” at this point, and S5 = “H” It is sent to the D terminal of the flip-flop 71.

【0030】一方、クロック“L”レベル一致検出部6
のNORゲート61は、クロックCKBが“L”レベル
となった時点で出力S7を“H”とし、フリップフロッ
プ71のクロック端子CKに送る。
On the other hand, the clock "L" level coincidence detector 6
The NOR gate 61 sets the output S7 to "H" at the time when the clock CKB becomes "L" level and sends the output S7 to the clock terminal CK of the flip-flop 71.

【0031】フリップフロップ71は、前記S7の立ち
上がりエッジで、EXORゲート72の出力S5の
“H”をラッチし、出力Q=“H”、Q- =“L”とな
る。この結果、クロックセレクタ8のANDゲート81
がOFF、ANDゲート82がONとなり、それまで出
力されていたクロックCKAに代わって、クロックCK
Bが現用クロックCKOとして出力される。
The flip-flop 71 at the rising edge of the S7, the latches "H" of the output S5 in EXOR gate 72, the output Q = "H", Q - = becomes "L". As a result, the AND gate 81 of the clock selector 8
Is turned off and the AND gate 82 is turned on. Instead of the clock CKA that has been output until then, the clock CK
B is output as the working clock CKO.

【0032】[III] クロックCKAが“H”レベル固定
状態で断となった場合の自動切り替え動作(図6参照) この場合の切り替え動作のタイムチャートを図6に示
す。クロックCKA断検出部1がクロックCKAの断を
検出し、クロック切り替え制御部7内のEXORゲート
72の出力S5が“H”に切り変わるまでの動作は、前
記[II]の動作の場合とまったく同じである。しかしなが
ら、図6に示すように、クロックCKAが“H”レベル
固定状態で断となった場合には、クロック“L”レベル
一致検出部6では“H”レベル一致を検出できないの
で、このままではクロックの自動切り替えができない。
[III] Automatic switching operation when the clock CKA is cut off in the "H" level fixed state (see FIG. 6) FIG. 6 shows a time chart of the switching operation in this case. The operation until the clock CKA disconnection detection unit 1 detects the disconnection of the clock CKA and the output S5 of the EXOR gate 72 in the clock switching control unit 7 is switched to “H” is completely the same as the operation of the above [II]. Is the same. However, as shown in FIG. 6, when the clock CKA is disconnected in the “H” level fixed state, the clock “L” level coincidence detection unit 6 cannot detect the “H” level coincidence. Cannot be automatically switched.

【0033】そこで、本発明では、現用のクロックが
“H”レベル固定状態で断となったか否かを断クロック
“H”レベル固定検出部4で監視し、現用のクロックが
“H”レベル固定状態で断となった時には、前記クロッ
ク“L”レベル一致検出部6に代えて、クロック“H”
レベル一致検出部5においてクロックCKAとCKBが
“H”レベルで一致するタイミング位置を検出し、この
タイミング位置でクロックをCKAからCKBへ切り替
えるようにしたものである。
Therefore, in the present invention, the disconnection clock "H" level fixing detector 4 monitors whether or not the current clock is disconnected in the "H" level fixing state, and the current clock is fixed at "H" level. When the disconnection occurs in the state, instead of the clock “L” level coincidence detection unit 6, the clock “H”
The level coincidence detecting section 5 detects a timing position where the clocks CKA and CKB coincide at the “H” level, and switches the clock from CKA to CKB at this timing position.

【0034】すなわち、現用のクロックCKAが“H”
レベル固定状態で断になると、断クロック“H”レベル
固定検出部4内のANDゲート41が導通し、ORゲー
ト43から“H”レベル固定を示す出力S6=“H”が
出力される。この出力S6は、クロック“L”レベル一
致検出部6のNORゲート61と、クロック“H”レベ
ル一致検出部5のANDゲート51にそれぞれ送られ
る。
That is, the current clock CKA is "H".
When the disconnection occurs in the level-fixed state, the AND gate 41 in the disconnection clock “H” level fixation detection unit 4 becomes conductive, and the OR gate 43 outputs the output S6 = “H” indicating the “H” level fixation. The output S6 is sent to the NOR gate 61 of the clock “L” level coincidence detection unit 6 and the AND gate 51 of the clock “H” level coincidence detection unit 5, respectively.

【0035】クロック“H”レベル一致検出部5のAN
Dゲート51の他の入力端子には、クロックCKAとC
KBが入力されている。したがって、予備用のクロック
CKBが“H”レベルとなった時点でANDゲート51
が導通し、ORゲート73を介して、出力S7=“H”
をフリップフロップ71のクロック端子CKに与える。
AN of the clock "H" level coincidence detector 5
The other input terminals of the D gate 51 are connected to the clocks CKA and C.
KB has been entered. Therefore, when the standby clock CKB becomes "H" level, the AND gate 51
Becomes conductive, and the output S7 = "H" is output through the OR gate 73.
To the clock terminal CK of the flip-flop 71.

【0036】フリップフロップ71は、このS7の立ち
上がりエッジで、EXORゲート72の出力S5の
“H”をラッチし、出力Q=“H”、Q- =“L”とな
る。この結果、クロックセレクタ8のANDゲート81
がOFF、ANDゲート82がONとなり、それまで出
力されていたクロックCKAに代わって、クロックCK
Bが現用クロックCKOとして出力される。
The flip-flop 71 at the rising edge of this S7, the latches "H" of the output S5 in EXOR gate 72, the output Q = "H", Q - = becomes "L". As a result, the AND gate 81 of the clock selector 8
Is turned off and the AND gate 82 is turned on. Instead of the clock CKA that has been output until then, the clock CK
B is output as the working clock CKO.

【0037】なお、前記動作説明では、クロックCKA
が現用のクロックCKOとして出力されている場合の切
り替え動作について説明したが、クロックCKBが現用
のクロックCKOである場合も、同様にして切り替える
ことができる。
In the above description of the operation, the clock CKA is used.
The switching operation in the case where is output as the current clock CKO has been described, but the switching can be performed in the same manner when the clock CKB is the current clock CKO.

【0038】一例として、図7に、クロックCKBが
“L”レベル固定状態で断となった場合の自動切り替え
動作のタイムチャートを示す。この場合、クロックCK
Bが断したことをクロックCKB断検出部2で検出する
点を除けば、前述した[II]の場合と同様である。
As an example, FIG. 7 shows a time chart of the automatic switching operation in the case where the clock CKB is cut off in the "L" level fixed state. In this case, the clock CK
The operation is the same as in the case of [II] described above except that the clock CKB disconnection detection unit 2 detects that B has disconnected.

【0039】[0039]

【発明の効果】本発明の自動クロック切り替え方式と自
動クロック切り替え回路によるときは、現用のクロック
が断となったときに、その断レベル状態を検出して断と
なったレベル状態と一致するタイミング位置で自動的に
予備用のクロックへ切り替えるようにしたので、ハザー
ドを生じることなくクロックを切り替えることができ
る。
According to the automatic clock switching system and the automatic clock switching circuit of the present invention, when the current clock is disconnected, the disconnection level state is detected, and the timing coincides with the disconnected level state. Since the clock is automatically switched to the spare clock at the position, the clock can be switched without causing a hazard.

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

【図1】本発明になる自動クロック切り替え回路の原理
構成図である。
FIG. 1 is a principle configuration diagram of an automatic clock switching circuit according to the present invention.

【図2】クロック切り替え時におけるハザードの発生と
その防止策の説明図である。
FIG. 2 is an explanatory diagram of the occurrence of a hazard at the time of clock switching and its preventive measures.

【図3】本発明になる自動クロック切り替え回路の1実
施例の回路図である。
FIG. 3 is a circuit diagram of one embodiment of an automatic clock switching circuit according to the present invention.

【図4】クロックが正常な場合の手動による切り替え動
作のタイムチャートである。
FIG. 4 is a time chart of a manual switching operation when the clock is normal.

【図5】クロックCKAが“L”レベル固定状態で断と
なった場合の自動切り替え動作のタイムチャートであ
る。
FIG. 5 is a time chart of an automatic switching operation when the clock CKA is cut off in the “L” level fixed state.

【図6】クロックCKAが“H”レベル固定状態で断と
なった場合の自動切り替え動作のタイムチャートであ
る。
FIG. 6 is a time chart of an automatic switching operation when the clock CKA is disconnected in the “H” level fixed state.

【図7】クロックCKBが“L”レベル固定状態で断と
なった場合の自動切り替え動作のタイムチャートであ
る。
FIG. 7 is a time chart of the automatic switching operation when the clock CKB is disconnected in the “L” level fixed state.

【図8】従来のクロック断検出回路の一例を示す回路図
である。
FIG. 8 is a circuit diagram showing an example of a conventional clock loss detection circuit.

【図9】従来のクロック断検出回路の動作のタイムチャ
ートである。
FIG. 9 is a time chart of the operation of the conventional clock loss detection circuit.

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

【図11】従来のクロック切り替え回路の動作のタイム
チャートである。
FIG. 11 is a time chart of the operation of the conventional clock switching circuit.

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

1 クロックCKA断検出部 2 クロックCKB断検出部 3 自動クロック切り替え表示部 4 断クロック“H”レベル固定検出部 5 クロック“H”レベル一致検出部 6 クロック“L”レベル一致検出部 7 クロック切り替え制御部 8 クロックセレクタ 1 clock CKA disconnection detection unit 2 clock CKB disconnection detection unit 3 automatic clock switching display unit 4 disconnection clock “H” level fixed detection unit 5 clock “H” level coincidence detection unit 6 clock “L” level coincidence detection unit 7 clock switching control Part 8 Clock selector

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 2系統のクロックを備え、いずれか一方
のクロックを現用、他方のクロックを予備用として用い
るようにした電気機器における自動クロック切り替え方
式において、 現用のクロックが断となったときに断検出と同時にその
断レベル状態も検出し、予備用のクロックが前記断とな
った現用のクロックの断レベル状態と一致するタイミン
グ位置で現用から予備用のクロックへ自動的に切り替え
ることを特徴とする自動クロック切り替え方式。
1. An automatic clock switching method in an electric device, comprising two clocks, one of which is used as a current clock and the other of which is used as a backup clock when the current clock is cut off. At the same time as the disconnection detection, the disconnection level state is also detected, and the standby clock is automatically switched to the standby clock at the timing position where the standby clock matches the disconnection level state of the disconnected current clock. Automatic clock switching method.
【請求項2】 2系統のクロックを備え、いずれか一方
のクロックを現用、他方のクロックを予備用として用い
るようにした電気機器における自動クロック切り替え回
路において、 第1のクロックの断発生を監視する第1のクロック断検
出部と、 第2のクロックの断発生を監視する第2のクロック断検
出部と、 前記2つの断検出部の断検出信号に基づいて自動クロッ
ク切り替え信号を発生する自動クロック切り替え表示部
と、 現用のクロックが“H”レベル状態で断となったか否か
を検出する断クロック“H”レベル固定検出部と、 前記断クロック“H”レベル固定検出部が“H”レベル
固定を検出したときには予備用のクロックが“H”レベ
ルとなるタイミング位置を検出するクロック“H”レベ
ル一致検出部と、 前記断クロック“H”レベル固定検出部が“H”レベル
固定を検出しなかったときには予備用のクロックが
“L”レベルとなるタイミング位置を検出するクロック
“L”レベル一致検出部と、 前記自動クロック切り替え表示部の自動クロック切り替
え信号と、前記クロック“H”レベル一致検出部および
前記クロック“L”レベル一致検出部のレベル一致信号
に基づいて、ハザードの発生しないタイミング位置で切
り替え指令信号を出力するクロック切り替え制御部と、 前記クロック切り替え制御部の切り替え指令信号に基づ
いてクロックを現用から予備用へ切り替えるクロックセ
レクタとを備えたことを特徴とする自動クロック切り替
え回路。
2. An automatic clock switching circuit in an electric device, comprising two clocks, wherein one of the clocks is used as a working clock and the other clock is used as a backup clock, and the occurrence of the first clock interruption is monitored. A first clock loss detection unit, a second clock loss detection unit that monitors the occurrence of a second clock loss, and an automatic clock that generates an automatic clock switching signal based on the loss detection signals of the two loss detection units The switching display section, the disconnection clock “H” level fixed detection section for detecting whether or not the active clock is disconnected in the “H” level state, and the disconnection clock “H” level fixed detection section A clock "H" level coincidence detection unit for detecting a timing position at which the backup clock becomes "H" level when fixed is detected, and the disconnection clock "H" A clock "L" level coincidence detection unit for detecting a timing position at which the backup clock becomes "L" level when the level fixation detection unit does not detect "H" level fixation, and an automatic clock switching display unit. A clock switching control unit that outputs a switching command signal at a timing position where no hazard occurs based on the clock switching signal and the level matching signals of the clock "H" level matching detection unit and the clock "L" level matching detection unit; An automatic clock switching circuit comprising: a clock selector that switches a clock from a working clock to a backup clock based on a switching command signal from the clock switching control unit.
JP12877192A 1992-05-21 1992-05-21 Automatic clock switching system and its circuit Withdrawn JPH05324118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12877192A JPH05324118A (en) 1992-05-21 1992-05-21 Automatic clock switching system and its circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12877192A JPH05324118A (en) 1992-05-21 1992-05-21 Automatic clock switching system and its circuit

Publications (1)

Publication Number Publication Date
JPH05324118A true JPH05324118A (en) 1993-12-07

Family

ID=14993068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12877192A Withdrawn JPH05324118A (en) 1992-05-21 1992-05-21 Automatic clock switching system and its circuit

Country Status (1)

Country Link
JP (1) JPH05324118A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999059051A1 (en) * 1998-05-13 1999-11-18 Mitsubishi Denki Kabushiki Kaisha Device and apparatus for detecting clock failure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999059051A1 (en) * 1998-05-13 1999-11-18 Mitsubishi Denki Kabushiki Kaisha Device and apparatus for detecting clock failure
US6333646B1 (en) 1998-05-13 2001-12-25 Mitsubishi Denki Kabushiki Kaisha Abnormal clock detector and abnormal clock detecting apparatus

Similar Documents

Publication Publication Date Title
JPH05324118A (en) Automatic clock switching system and its circuit
JPH0546422A (en) Current/standby switching system
JPH03101416A (en) Clock supply switching circuit
JP3637510B2 (en) Fault monitoring method and circuit
JP2874632B2 (en) Clock switching circuit
JPH0783353B2 (en) Clock switching circuit
JPH05227056A (en) Alarm detection system for redundant constitution circuit
JPH0884099A (en) Active and spare switching circuit
JPH05235887A (en) Uninterruptible clock changeover device
JPH0210999B2 (en)
JPH0556022A (en) Transmission line switching circuit
JPS60259026A (en) Automatic switching method in n:1 active spare equipment
JPH0721136A (en) Duplex constitution signal processor
JPH0514322A (en) Changeover control system
JPS63191434A (en) Clock circuit
JPH04265022A (en) Line switching control system in radio communication system
JPS60167524A (en) Signal switch
JPH0263248A (en) Infinite loop fault detection system for task program
JPS6047776B2 (en) Switching method for multiple configuration devices
JPS6271366A (en) System for changing over duplex and simplex digital highway
JPH0666767B2 (en) Clock selection switching method
JPH0738548A (en) Transmitter
JPS62138914A (en) Clock circuit
JPS6368937A (en) Switching device
JPH02177619A (en) System switching system

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