JPH03218113A - Clock signal switching circuit - Google Patents
Clock signal switching circuitInfo
- Publication number
- JPH03218113A JPH03218113A JP1424490A JP1424490A JPH03218113A JP H03218113 A JPH03218113 A JP H03218113A JP 1424490 A JP1424490 A JP 1424490A JP 1424490 A JP1424490 A JP 1424490A JP H03218113 A JPH03218113 A JP H03218113A
- Authority
- JP
- Japan
- Prior art keywords
- switching circuit
- clock signal
- signal
- gate
- clock
- 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
Links
- 230000001360 synchronised effect Effects 0.000 abstract description 11
- 238000004519 manufacturing process Methods 0.000 abstract 2
- 238000005070 sampling Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は2系統に構成したクロンク信号の切替回路に関
し、特にシステムの動作状況によって一方のクロノク信
号を選択動作する過程で、クロンク信号を歪なく切り替
える回路に関する。Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a clock signal switching circuit configured into two systems, and in particular, in the process of selecting one clock signal depending on the operating status of the system, the clock signal is distorted. Regarding circuits that switch without switching.
従来、この種のクロック信号切替回路としては、第3図
に示すように、クロック信号0とクロック信号1とを、
クロック信号とは全く非同期の選択信号Sにより切り替
える切替回路10が提案されている。この切替回路10
は、第4図に等価回路を示すように、1個のNOTゲー
ト11と、4個のANDゲート12〜15と、1個のO
Rゲート16とで構成され、ゲート12.13に選択信
号Sを入力し、ゲート14.15にクロック信号0,1
を入力し、ゲート16から選択したクロック信号OUT
を出力するように構成している。Conventionally, as shown in FIG. 3, this type of clock signal switching circuit switches between clock signal 0 and clock signal 1.
A switching circuit 10 has been proposed that performs switching using a selection signal S that is completely asynchronous with a clock signal. This switching circuit 10
As shown in the equivalent circuit in FIG. 4, one NOT gate 11, four AND gates 12 to 15, and one O
The selection signal S is input to the gate 12.13, and the clock signal 0, 1 is input to the gate 14.15.
and the selected clock signal OUT from the gate 16.
It is configured to output .
しかしながら、上述した従来の切替回路では、選択信号
Sが低レベル(LOW)から高レベル(HIGH)に立
ち上がる瞬間にクロック信号が高レベルであった場合、
第5図のタイムチャートに示したようなクロックの凹み
が生じてしまうという問題がある。However, in the conventional switching circuit described above, if the clock signal is at a high level at the moment when the selection signal S rises from a low level (LOW) to a high level (HIGH),
There is a problem in that a dent in the clock as shown in the time chart of FIG. 5 occurs.
この過程の論理を第4図及び第5図を用いて説明する。The logic of this process will be explained using FIGS. 4 and 5.
先ず、選択信号Sが低レベルの場合、ゲートl2は高レ
ベル,ゲート13は低レベルとなり、その結果ゲートl
5は低レヘル、ゲート14はクロンク信号Oがそのまま
出力されるため、ゲート14とゲート15のOR論理で
出力されるゲート16からはクロック信号0が出力され
る。First, when the selection signal S is at a low level, the gate l2 is at a high level and the gate 13 is at a low level.
5 is a low level, and the gate 14 outputs the clock signal O as it is, so the clock signal 0 is output from the gate 16 which is output by the OR logic of the gates 14 and 15.
次に、選択信号Sが低レベルから高レベルに立ち上がる
と、ゲート12は低レヘルになり、その結果ゲート14
は低レヘルとなるが、ゲート13はゲート11の遅延時
間が有るため依然として低レヘルのままである。このと
きゲートl4とゲート15は共に低レヘルとなり、ゲー
トl6からは低レベルが出力されてしまう。つまり、出
力されるべきクロック信号が高レヘルであった場合、意
に反して低レヘルが出力されることとになる。このゲー
ト1lの遅延時間差の後、ゲート13は高レベルになる
ので、その後はゲート16からは期待どおりクロンク信
号1が出力されることとなるが、出力クロック信号には
第2図のタイムチャートに見られるように凹みができて
しまう。Next, when the selection signal S rises from a low level to a high level, the gate 12 goes to a low level, and as a result, the gate 14
becomes a low level, but the gate 13 still remains at a low level due to the delay time of the gate 11. At this time, gate l4 and gate 15 both become low level, and gate l6 outputs a low level. In other words, if the clock signal to be outputted is at a high level, a low level will be outputted against the intention. After this delay time difference of the gate 1l, the gate 13 becomes high level, so the clock signal 1 is output from the gate 16 as expected, but the output clock signal does not match the time chart shown in Fig. 2. As you can see, a dent is formed.
このような現象は、切替回路10においては論理的に選
択信号が低レベルから高レベルに変化するときのみに発
生する。Such a phenomenon occurs in the switching circuit 10 only when the selection signal logically changes from a low level to a high level.
この凹みは、ディジタル信号処理システムにおいては、
1つのクロック信号と見做されてしまうため、あらゆる
局面で機器の誤動作の原因となり、システム全体の信頼
性を著しく損なうものとなる。This recess is used in digital signal processing systems.
Since it is regarded as one clock signal, it causes equipment malfunctions in all situations, significantly impairing the reliability of the entire system.
本発明の目的は、出力されるクロック信号の凹みの発生
を防止し、クロック信号の安定した出力を可能にしたク
ロック信号切替回路を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a clock signal switching circuit that prevents the generation of dents in the output clock signal and enables stable output of the clock signal.
本発明のクロック信号切替回路は、2系統のクロック信
号を選択信号により選択でき、選択信号の一定方向の変
化時に不確定時間が存在する第1切替回路と、前記クロ
ック信号を選択信号により選択でき、かつ第1切替回路
におけるとは反対方向の変化時に不確定時間が存在する
第2切替回路と、この第2切替回路から出力される信号
で選択信号をサンプリングして同期化を行う同期回路と
を備えており、この同期回路の出力信号で第1切替回路
におけるクロック信号の選択を行うように構成している
。The clock signal switching circuit of the present invention is capable of selecting two systems of clock signals using a selection signal, and includes a first switching circuit in which an uncertain time exists when the selection signal changes in a certain direction; , and a second switching circuit in which an uncertain time exists when the change occurs in the opposite direction to that in the first switching circuit; and a synchronization circuit that samples and synchronizes the selection signal with the signal output from the second switching circuit. The clock signal in the first switching circuit is selected using the output signal of this synchronous circuit.
〔作用]
本発明によれば、第2切替回路で得られるクロック信号
出力を利用して選択信号をクロック信号に同期化させ、
この同期化された選択信号を用いて第1切替回路により
クロック信号の選択を行うことにより、選択されたクロ
ック信号における凹みの発生を防止する。[Operation] According to the present invention, the selection signal is synchronized with the clock signal using the clock signal output obtained by the second switching circuit,
By selecting a clock signal by the first switching circuit using this synchronized selection signal, generation of a dent in the selected clock signal is prevented.
次に、本発明を図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例のクロック信号切替回路の構
成図である。図において、1oは第3図及び第4図に示
した従来と同様な切替回路(第1切替回I)、20は新
たに付加した第2切替回路である。この第2切替回路2
oは、2個のANDゲート21.22と、1個(7)N
OTゲート23と、1個のNORゲート24とで構成さ
れる。また、第2切替回路20の出力側にはDフリップ
フロップで構成される同期回路30を接続している。FIG. 1 is a block diagram of a clock signal switching circuit according to an embodiment of the present invention. In the figure, 1o is a switching circuit (first switching circuit I) similar to the conventional one shown in FIGS. 3 and 4, and 20 is a newly added second switching circuit. This second switching circuit 2
o consists of two AND gates 21.22 and one (7)N
It is composed of an OT gate 23 and one NOR gate 24. Furthermore, a synchronization circuit 30 composed of a D flip-flop is connected to the output side of the second switching circuit 20.
そして、選択されるクロック信号0.1はそれぞれ前記
切替回路10及び第2切替回路2oに入力され、選択信
号Sは第2切替回路20に入力される。ここでは、クロ
ック信号0.1と選択信号SはそれぞれANDゲート2
1.22に入力し、各ANDゲート21.22の出力を
NORゲート24に入力させ、このNORゲート24の
出力を第2切替回路20の出力としている。また、この
場合には、第4図に示した切替回路10とは逆に、クロ
ック信号0を人力させるANDゲート2IにNOTゲー
ト23を介して選択信号Sを入力させている。The selected clock signal 0.1 is input to the switching circuit 10 and the second switching circuit 2o, respectively, and the selection signal S is input to the second switching circuit 20. Here, the clock signal 0.1 and the selection signal S are each AND gate 2
1.22, the outputs of the AND gates 21 and 22 are input to the NOR gate 24, and the output of the NOR gate 24 is used as the output of the second switching circuit 20. Further, in this case, contrary to the switching circuit 10 shown in FIG. 4, the selection signal S is inputted via the NOT gate 23 to the AND gate 2I which manually inputs the clock signal 0.
前記第2切替回路20の出力は同期回路30を介して切
替回路10の選択端子に入力され、この切替回路10か
ら出力クロ7ク信号OUTが出力されるように構成して
いる。The output of the second switching circuit 20 is input to the selection terminal of the switching circuit 10 via the synchronization circuit 30, and the switching circuit 10 is configured to output an output clock signal OUT.
以上の構成のクロック信号切替回路の動作を説明する。The operation of the clock signal switching circuit having the above configuration will be explained.
先ず、第2切替回路20の動作を説明する。クロツク信
号O.lと非同期の選択信号Sが入力された場合、AN
Dゲー}21.22の出力はそれぞれ第2図のようにな
り、その結果NORゲート24の出力も同図のようにな
る。このとき、第2切替回路20では、NOTゲート2
3をクロック信号O側に接続しているため、選択信号S
が低レヘルから高レベルに変化するときにはNORゲー
ト24の出力は破損しないが、切替回路10とは逆に高
レベルから低レベルに変化するときには点Pにおいて出
力信号の破損が見られる。First, the operation of the second switching circuit 20 will be explained. Clock signal O. When a selection signal S asynchronous with l is input, AN
The outputs of the D gates 21 and 22 are as shown in FIG. 2, and as a result, the output of the NOR gate 24 is also as shown in FIG. At this time, in the second switching circuit 20, the NOT gate 2
3 is connected to the clock signal O side, the selection signal S
When the level changes from a low level to a high level, the output of the NOR gate 24 is not damaged, but contrary to the switching circuit 10, when the level changes from a high level to a low level, the output signal is damaged at point P.
しかし、選択信号Sは同期回路30によってNORゲー
ト24の出力でサンプリングされるため、その後はクロ
ック信号0.1に同期した信号となり、切替回路10の
選択信号として使用される。However, since the selection signal S is sampled by the synchronization circuit 30 at the output of the NOR gate 24, it becomes a signal synchronized with the clock signal 0.1 after that and is used as the selection signal of the switching circuit 10.
この同期した選択信号は低レベルから高レベルに変化す
る際には必ずクロック信号が低レベルの時に変化するの
で、結果として出力信号には歪のないクロック信号が得
られることになる。When this synchronized selection signal changes from a low level to a high level, it always changes when the clock signal is at a low level, so that as a result, a distortion-free clock signal is obtained as an output signal.
以上説明したように本発明は、2系統のクロック信号を
選択信号により選択でき、かつ従来の切替回路における
とは反対方向の変化時に不確定時間が存在する第2切替
回路と、この第2切替回路から出力される信号で選択信
号をサンプリングして同期化を行う同期回路とを設けて
いるので、第2切替回路で得られるクロック信号出力を
利用して選択信号をクロック信号に同期化させ、この同
期化された選択信号を用いて切替回路によりクロック信
号の選択を行うことにより、選択されたクロック信号に
おける凹みの発生を防止することができ、システムにお
ける基準信号であるクロック信号の安定化を図り、シス
テムの信鯨性を向上させるという効果がある。As explained above, the present invention provides a second switching circuit that can select two systems of clock signals using a selection signal, and in which an uncertain time exists when the clock signal changes in the opposite direction to that in the conventional switching circuit; Since a synchronization circuit is provided that samples and synchronizes the selection signal with the signal output from the circuit, the selection signal is synchronized with the clock signal using the clock signal output obtained from the second switching circuit, By selecting a clock signal by a switching circuit using this synchronized selection signal, it is possible to prevent the occurrence of a dent in the selected clock signal, and to stabilize the clock signal that is the reference signal in the system. This has the effect of improving the credibility of the system.
第1図は本発明の一実施例のクロック信号切替回路の回
路図、第2図は各部の信号波形を示す図、第3図は従来
のクロック信号切替回路の回路図、第4図は第3図の等
価回路図、第5図は第4図の各部の信号波形を示す図で
ある。
l・・・クロック信号、lO・・・切替回路、1・・・
NOTゲート、12〜15・・・ANDゲート、6・・
・ORゲート、20・・・第2切替回路、1. 22・
・・ANDゲート、23・・・NOTゲート、4・・・
NORゲート、30・・・同期回路。
第4
図
14
第5
図
!yIjA間Fig. 1 is a circuit diagram of a clock signal switching circuit according to an embodiment of the present invention, Fig. 2 is a diagram showing signal waveforms at various parts, Fig. 3 is a circuit diagram of a conventional clock signal switching circuit, and Fig. 4 is a diagram showing signal waveforms of various parts. FIG. 3 is an equivalent circuit diagram, and FIG. 5 is a diagram showing signal waveforms at various parts in FIG. 4. l...clock signal, lO... switching circuit, 1...
NOT gate, 12-15...AND gate, 6...
- OR gate, 20... second switching circuit, 1. 22・
...AND gate, 23...NOT gate, 4...
NOR gate, 30... synchronous circuit. Figure 4 Figure 14 Figure 5! Between yIjA
Claims (1)
選択信号の一定方向の変化時に不確定時間が存在する第
1切替回路と、前記クロック信号を選択信号により選択
でき、かつ前記第1切替回路におけるとは反対方向の変
化時に不確定時間が存在する第2切替回路と、この第2
切替回路から出力される信号で選択信号をサンプリング
して同期化を行う同期回路とを備え、この同期回路の出
力信号で前記第1切替回路のクロック信号の選択を行う
ように構成したことを特徴とするクロック信号切替回路
。1 or 2 systems of clock signals can be selected by the selection signal,
a first switching circuit in which an uncertain time exists when the selection signal changes in a certain direction; and a first switching circuit in which the clock signal can be selected by the selection signal, and an uncertain time exists when the selection signal changes in a direction opposite to that in the first switching circuit; a second switching circuit;
It is characterized by comprising a synchronization circuit that samples and synchronizes the selection signal with the signal output from the switching circuit, and configured so that the output signal of the synchronization circuit selects the clock signal of the first switching circuit. Clock signal switching circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1424490A JPH03218113A (en) | 1990-01-24 | 1990-01-24 | Clock signal switching circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1424490A JPH03218113A (en) | 1990-01-24 | 1990-01-24 | Clock signal switching circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03218113A true JPH03218113A (en) | 1991-09-25 |
Family
ID=11855678
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1424490A Pending JPH03218113A (en) | 1990-01-24 | 1990-01-24 | Clock signal switching circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03218113A (en) |
-
1990
- 1990-01-24 JP JP1424490A patent/JPH03218113A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900010557A (en) | Method and circuit for synchronizing signals in a modular redundant fault-tolerant computer system | |
| US4156200A (en) | High reliability active-standby clock arrangement | |
| EP0534129B1 (en) | Interface circuit for data transfer | |
| JPH03127526A (en) | Synchronizing device | |
| EP0319184B1 (en) | Two stage synchronizer | |
| EP0146216B1 (en) | Improvements relating to phase detecting apparatus for use in synchronising systems | |
| JPH03218113A (en) | Clock signal switching circuit | |
| EP0520127A1 (en) | Digital synchronizing arrangement using a tuned tapped delay line | |
| US5487163A (en) | Fast synchronization of asynchronous signals with a synchronous system | |
| US6150861A (en) | Flip-flop | |
| US4741005A (en) | Counter circuit having flip-flops for synchronizing carry signals between stages | |
| JP2712465B2 (en) | Clock selection circuit | |
| JPH0413325A (en) | Bit phase synchronizing circuit | |
| US4818894A (en) | Method and apparatus for obtaining high frequency resolution of a low frequency signal | |
| JP2792759B2 (en) | Synchronous clock generation circuit | |
| JP3930641B2 (en) | Switching method and switching system for active and standby systems | |
| JPH01166633A (en) | Bit phase synchronizing circuit | |
| JP2556169B2 (en) | Clock switching circuit | |
| JP3145016B2 (en) | Selector circuit and selector device | |
| JPH02130018A (en) | System switching circuit for clock | |
| JP2549472Y2 (en) | Frame synchronization protection circuit | |
| JPS61110253A (en) | Synchronising circuit | |
| JPH03139125A (en) | Digital synchronous parallel-in apparatus | |
| JPH06207968A (en) | High speed digital signal processing circuit | |
| JPS62213337A (en) | Frame synchronizing protection system |