JPH02185133A - Clock switching circuit - Google Patents

Clock switching circuit

Info

Publication number
JPH02185133A
JPH02185133A JP1003852A JP385289A JPH02185133A JP H02185133 A JPH02185133 A JP H02185133A JP 1003852 A JP1003852 A JP 1003852A JP 385289 A JP385289 A JP 385289A JP H02185133 A JPH02185133 A JP H02185133A
Authority
JP
Japan
Prior art keywords
clock
switching
output clock
original
clocks
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.)
Pending
Application number
JP1003852A
Other languages
Japanese (ja)
Inventor
Toshiyuki Sakai
俊行 酒井
Masaaki Takahashi
正昭 高橋
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 JP1003852A priority Critical patent/JPH02185133A/en
Publication of JPH02185133A publication Critical patent/JPH02185133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To switch a clock without instantaneous interruption by holding plural original clocks in the level of an output clock after switching for a prescribed time based on the phase where the level of the output clock is switched in a prescribed direction. CONSTITUTION:A switching protection means 2 is constituted with OR circuits 21 and 22 and a monostable multivibrator circuit 23. The output clock just after switching, namely, an original clock 2 is held at the high level for a time T after a time t0 of the rise of the output clock just after switching by taking OR between the monostable multivibrator circuit 23 which outputs a pulse having the width T at the time t0 of the rise of the output clock and the original clock 2. Consequently, the duty ratio of the output clock is also kept before and after clock switching.

Description

【発明の詳細な説明】 〔概 要〕 複数の原クロックの内1つを外部から与えられた制御信
号に従って選択して出力するクロック切替回路に関し、 切替前後のクロックの位相関係の調整が不要で、且つ、
エラーを発生することなく、無瞬断でクロックの切替を
行なうことを目的とし、 外部から与えられた制御信号に従って、複数の原クロッ
クの内1つを選択して出力するセレクタを有してなるク
ロック切替回路において、前記出力クロックのレベルが
所定の方向に遷移する位相を基準として所定の時間、前
記複数の原クロックの各々を該遷移後の出力クロックの
レベルに保持する切替保護手段を設けるように構成する
[Detailed Description of the Invention] [Summary] Regarding a clock switching circuit that selects and outputs one of a plurality of original clocks according to a control signal given from the outside, it is unnecessary to adjust the phase relationship between the clocks before and after switching. ,and,
The purpose is to switch clocks without any momentary interruption without causing errors, and it has a selector that selects and outputs one of a plurality of original clocks according to a control signal given from the outside. In the clock switching circuit, switching protection means is provided for holding each of the plurality of original clocks at the level of the output clock after the transition for a predetermined time based on a phase in which the level of the output clock changes in a predetermined direction. Configure.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数の原クロックの内1つを外部から与えら
れた制御信号に従って選択して出力するクロック切替回
路に関する。
The present invention relates to a clock switching circuit that selects and outputs one of a plurality of original clocks according to an externally applied control signal.

通信分野における伝送装置に対しては、近年、特に、高
い信頼性が要求され、伝送装置を動作させるタイミング
を与えるクロックについても、現用/予備の2系統が備
えられるのが一般的になっている。
In recent years, particularly high reliability has been required for transmission equipment in the communications field, and it has become common to have two clock systems, one for working and one for backup, for the clock that provides the timing to operate the transmission equipment. .

さらに、このような伝送装置においては、クロックを現
用系から予備系に切り替える際に、2系統のクロックの
位相関係によらず、無瞬断で切り替えられるようにする
ことにより、より信頼性を向上させようとする要求があ
る。
Furthermore, in such transmission equipment, when switching the clock from the working system to the backup system, reliability can be further improved by making it possible to switch without momentary interruption, regardless of the phase relationship between the two systems' clocks. There are demands to do so.

〔従来の技術、および発明が解決しようとする課題〕[Prior art and problems to be solved by the invention]

伝送装置においてクロックが使用される場所としては、
例えば、データの受信部に設けられるバッファメモリに
おいて、データの読み出しクロックとして用いる場合が
考えられる。
The places where clocks are used in transmission equipment are:
For example, it may be used as a data read clock in a buffer memory provided in a data receiving section.

従来、伝送装置においては、クロックの現用系から予備
系への切替は、単にセレクタ等によって単純にに切り替
えられていた。そのため、上記のようなバッファメモリ
等において、読み出しクロックを切り替えると、切替前
後のクロックの位相差によっては、出力データに抜けが
生じたりして伝送路エラーを発生する原因となっていた
Conventionally, in a transmission device, the clock has been simply switched from the active system to the protection system using a selector or the like. Therefore, when the read clock is switched in the above-mentioned buffer memory or the like, depending on the phase difference between the clocks before and after switching, omissions may occur in the output data, causing a transmission path error.

あるいは、従来、上記のような伝送路エラーの発生を防
ぐために、切替前後のクロックの位相差を合わせること
も行なわれていたが、クロックの位相関係は、例えば、
回路上のパッケージの位置等によって変化するものであ
り、調整に手間が掛かるという問題があった。
Alternatively, conventionally, in order to prevent the occurrence of transmission path errors as described above, the phase difference between the clocks before and after switching has been matched, but the phase relationship of the clocks is, for example,
This changes depending on the position of the package on the circuit, etc., and there is a problem in that it takes time and effort to adjust.

本発明は上記の問題点に鑑み、なされたもので、切替前
後のクロックの位相関係の調整が不要で、且つ、エラー
を発生することなく、無瞬断でクロックの・切替を行な
うことのできるクロック切替回路を提供することを目的
とするものである。
The present invention has been made in view of the above-mentioned problems, and does not require adjustment of the phase relationship between clocks before and after switching, and can switch clocks without any momentary interruption without causing errors. The purpose of this invention is to provide a clock switching circuit.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の基本構成図である。本図において、1
はセレクタ、そして、2は切替保護手段である。
FIG. 1 is a basic configuration diagram of the present invention. In this figure, 1
is a selector, and 2 is a switching protection means.

セレクタ1は、外部から与えられた制御信号に従って、
複数の原クロックの内1つを選択して出力するものであ
る。
Selector 1 follows a control signal given from the outside.
One of the plurality of original clocks is selected and output.

そして、切替保護手段2は、前記出力クロックのレベル
が所定の方向に遷移する位相を基準として所定の時間、
前記複数の原クロックの各々を該遷移後の出力クロック
のレベルに保持するものである。
Then, the switching protection means 2 operates for a predetermined time based on a phase in which the level of the output clock changes in a predetermined direction.
Each of the plurality of original clocks is held at the level of the output clock after the transition.

〔作 用〕[For production]

本発明により設けられた切替保護手段2により、どの原
クロックも、出力クロックのレベルが所定の方向に遷移
する位相を基準として所定の時間、前記複数の原クロッ
クの各々を該遷移後の出力クロックのレベルに保持する
。したがって、該所定の時間を適当に選べば、どの原ク
ロックに切り替えても出力クロックのデユーティ比を所
定の値以上に保つことができる。
The switching protection means 2 provided in accordance with the present invention allows each of the plurality of original clocks to be switched to the output clock after the transition for a predetermined time based on the phase in which the level of the output clock changes in a predetermined direction. level. Therefore, if the predetermined time is appropriately selected, the duty ratio of the output clock can be maintained at a predetermined value or higher no matter which original clock is switched.

よって、本発明の切替回路によれば、切替前後のクロッ
クの位相関係の調整が不要で、且つ、エラーを発生する
ことな(、無瞬断でクロックの切替を行なうことができ
る。
Therefore, according to the switching circuit of the present invention, there is no need to adjust the phase relationship between the clocks before and after switching, and the clocks can be switched without causing an error (without interruption).

〔実施例〕〔Example〕

第2図は、本発明の実施例の構成図である。 FIG. 2 is a configuration diagram of an embodiment of the present invention.

第2図において、10はセレクタ、21および22はO
R回路、23は単安定マルチ・バイブレータ回路、30
は本発明のクロック切替回路、そして、40は本発明の
クロック切替回路の出力クロックを読み出しクロックと
して用いるエラスティックメモリである。
In FIG. 2, 10 is a selector, 21 and 22 are O
R circuit, 23 is monostable multi-vibrator circuit, 30
4 is a clock switching circuit of the present invention, and 40 is an elastic memory that uses the output clock of the clock switching circuit of the present invention as a read clock.

前述の第1図の構成のセレクタ1は第2図のセレクタ1
0に対応し、切替保護手段2は、第2図のOR回路21
.22および単安定マルチ・パイブレーク回路23によ
って実現される。
The selector 1 having the configuration shown in FIG. 1 described above is the same as the selector 1 shown in FIG.
0, the switching protection means 2 is the OR circuit 21 of FIG.
.. 22 and a monostable multi-pie break circuit 23.

すなわち、OR回路21および22は、原クロック■お
よび■を、それぞれの一方の人力とし、セレクタ10の
出力、すなわち、出力クロックをトリガ人力とする単安
定マルチ・パイブレーク回路23の出力を、それぞれの
他方の人力としている。
That is, the OR circuits 21 and 22 use the original clocks ■ and ■ as their respective human inputs, and the output of the monostable multi-pie break circuit 23 whose trigger input is the output of the selector 10, that is, the output clock, respectively. The other side is human power.

ここで、単安定マルチ・パイブレーク回路23は、出力
クロックに要求される所定のデユーティ比に相当する幅
Tを有しているものとする。
Here, it is assumed that the monostable multi-pie break circuit 23 has a width T corresponding to a predetermined duty ratio required for the output clock.

第2図の構成の動作は、第3図のタイミング図によって
明らかとなる。
The operation of the arrangement of FIG. 2 is made clear by the timing diagram of FIG.

第3図の例では、時刻t1までは、切替制御信号は原ク
ロック■を選択しているが、時刻t1にて切替制御信号
は原クロック■を選択するように切り替えられる。
In the example of FIG. 3, the switching control signal selects the original clock ■ until time t1, but at time t1 the switching control signal is switched to select the original clock ■.

ここで、時刻t1の直前の出力クロックの立ち上がりは
、時刻t0であり、また、時刻t1では、原クロック■
はまだLレベルにあるので、もし、本発明の切替保護手
段の作用がなければ、出力クロックのデユーティ比は、
非常に小さくなって、伝送路エラー発生の恐れがある。
Here, the rising edge of the output clock immediately before time t1 is time t0, and at time t1, the original clock ■
is still at the L level, so if the switching protection means of the present invention does not work, the duty ratio of the output clock will be:
If it becomes very small, there is a risk that a transmission path error will occur.

しかしながら、本発明の切替保護手段の作用により、具
体的には、時刻t。の出力クロックの立ち上がりの時点
より幅Tのパルスを出力する単安定マルチ・バイブレー
タ回路23と原クロック■との論理和が取られることに
より、切り替え直後の出力クロック、すなわち、原クロ
ック■は、切り替え直前の出力クロックの立ち上がりの
時点(時刻t。)よりTの間、Hレベルに保持される。
However, due to the effect of the switching protection means of the present invention, specifically, at time t. The monostable multi-vibrator circuit 23 that outputs a pulse of width T from the rising edge of the output clock is logically ORed with the original clock ■, so that the output clock immediately after switching, that is, the original clock ■, is changed to It is held at the H level for a period of T from the rising edge of the previous output clock (time t).

したがって、出力クロックのデユーティ比は、クロック
の切り替えの前後においても保持される。
Therefore, the duty ratio of the output clock is maintained even before and after switching the clock.

〔発明の効果〕〔Effect of the invention〕

本発明のクロック切替回路によれば、切替前後のクロッ
クの位相関係の調整が不要で、且つ、エラーを発生する
ことなく、無瞬断でクロックの切替を行なうことができ
る。
According to the clock switching circuit of the present invention, there is no need to adjust the phase relationship between the clocks before and after switching, and the clocks can be switched without interruption without causing an error.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の基本構成図、 第2図は本発明の実施例の構成図、そして第3図は第2
図の構成のタイミング図である。 〔符号の説明〕 l・・・セレクタ、   2・・・切替保護手段、10
・・・セレクタ、   21.22・・・OR回路、2
3・・・単安定マルチ・パイブレーク回路、30・・・
クロック切替回路、 40・・・エラスティックメモリ。
Figure 1 is a basic configuration diagram of the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, and Figure 3 is a diagram of the second embodiment.
FIG. 3 is a timing diagram of the configuration shown in the figure. [Explanation of symbols] l...Selector, 2...Switching protection means, 10
...Selector, 21.22...OR circuit, 2
3... Monostable multi-pie break circuit, 30...
Clock switching circuit, 40...Elastic memory.

Claims (1)

【特許請求の範囲】 1、外部から与えられた制御信号に従って、複数の原ク
ロックの内1つを選択して出力するセレクタ(1)を有
してなるクロック切替回路において、 前記出力クロックのレベルが所定の方向に遷移する位相
を基準として所定の時間、前記複数の原クロックの各々
を該遷移後の出力クロックのレベルに保持する切替保護
手段(2)を設けることを特徴とするクロック切替回路
[Claims] 1. A clock switching circuit comprising a selector (1) that selects and outputs one of a plurality of original clocks according to a control signal applied from the outside, comprising: A clock switching circuit characterized in that a switching protection means (2) is provided for holding each of the plurality of original clocks at the level of the output clock after the transition for a predetermined time based on a phase in which the clock changes in a predetermined direction. .
JP1003852A 1989-01-12 1989-01-12 Clock switching circuit Pending JPH02185133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1003852A JPH02185133A (en) 1989-01-12 1989-01-12 Clock switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1003852A JPH02185133A (en) 1989-01-12 1989-01-12 Clock switching circuit

Publications (1)

Publication Number Publication Date
JPH02185133A true JPH02185133A (en) 1990-07-19

Family

ID=11568715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1003852A Pending JPH02185133A (en) 1989-01-12 1989-01-12 Clock switching circuit

Country Status (1)

Country Link
JP (1) JPH02185133A (en)

Similar Documents

Publication Publication Date Title
EP0668592A1 (en) Internal timing method and circuit for programmable memories
US5923621A (en) Clock doubler circuit with duty cycle control
US4933571A (en) Synchronizing flip-flop circuit configuration
US4644568A (en) Timing signal distribution arrangement
JPH02185133A (en) Clock switching circuit
EP0298747A2 (en) Register
EP0766392A2 (en) Edge detection circuit with improved detection reliability
JPH0349417A (en) Semiconductor integrated circuit
KR950013799B1 (en) Clock signal selector of dual clock system
KR0147680B1 (en) Clock delay circuit
JP2834306B2 (en) Switching control circuit
JPH05297976A (en) Clock switching circuit
JP3930641B2 (en) Switching method and switching system for active and standby systems
SU1032602A1 (en) Three-channel redunancy device
SU1501063A1 (en) Controllable register
KR20010079511A (en) Circuit for determining the time difference between two edges of a first and of a second digital signal
SU1603367A1 (en) Element of sorting network
JPS63282820A (en) Clock signal switching system
JPS6160010A (en) Priority circuit for advanced signal
JPH02217956A (en) Skew preventing circuit
JPH04138728A (en) Active and reserve changeover system
JPH01116815A (en) Clock switching circuit
JPS63193606A (en) Pulse adjusting circuit
JPS61140216A (en) Sampling clock supply monitoring circuit
JPH0451716A (en) Plo changeover circuit