JPH03126114A - No-hit switching control circuit - Google Patents

No-hit switching control circuit

Info

Publication number
JPH03126114A
JPH03126114A JP26477289A JP26477289A JPH03126114A JP H03126114 A JPH03126114 A JP H03126114A JP 26477289 A JP26477289 A JP 26477289A JP 26477289 A JP26477289 A JP 26477289A JP H03126114 A JPH03126114 A JP H03126114A
Authority
JP
Japan
Prior art keywords
clock
circuit
selection signal
system clock
outputs
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
JP26477289A
Other languages
Japanese (ja)
Inventor
Hitoshi Masuo
増尾 仁志
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP26477289A priority Critical patent/JPH03126114A/en
Publication of JPH03126114A publication Critical patent/JPH03126114A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To switch systems 1 and 0 without a hit even in the case of the phase deviation between both system clocks by using an AND circuit to use a select signal where the phase deviation between both system clocks is taken into consideration. CONSTITUTION:A second select signal 106 obtained at the retiming of a first select signal 105 for switching between systems 0 and 1 is generated by a control clock 103 resulting from AND or OR between a system 0 clock 101 and a system 1 clock 102. The first or second select signal 105 or 106 is used as a third select signal 107 for switching between both systems in accordance with break information of both system clocks from a clock break detecting circuit 2. That is, when break information of both system clocks is inputted to a selecting circuit 5, the circuit 5 selects the second select signal 106 to output it as the third select signal 107 in the case of the presence of phase deviation between both system clocks 101 and 102 but selects the first select signal 105 to output it as the signal 107 in the case of the absence of the phase deviation. Thus, both systems are switched without a hit through the phase deviation occurs between both system clocks 101 and 102.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、0系と1系との冗長構成をとるディジタル回
路の切替回路に利用され、特に、その無瞬断切替制御回
路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used in a switching circuit for a digital circuit having a redundant configuration of a 0 system and a 1 system, and particularly relates to a non-interruption switching control circuit thereof.

〔概要〕〔overview〕

本発明は、0系と1系との冗長構成をとるディジタル回
路の切替制御回路において、 0系の0系クロックと1系の1系クロックとの論理積ま
たは論理和をとった制御クロックにより、両系切替えの
ための第一の選択信号のりタイミングをとった第二の選
択信号を生成し、クロック断検出回路からの両系クロッ
ク断情報に応じて前記第一または前記第二の選択信号の
いずれかを両系切替えのための第三の選択信号とするこ
とにより、無瞬断切替制御回路を実現したものである。
The present invention provides a switching control circuit for a digital circuit that has a redundant configuration of a 0 system and a 1 system. A second selection signal is generated at the same timing as the first selection signal for switching between the two systems, and the first selection signal or the second selection signal is generated in accordance with the clock interruption information from the clock interruption detection circuit for both systems. By using one of them as the third selection signal for switching between the two systems, a non-interruption switching control circuit is realized.

〔従来の技術〕[Conventional technology]

従来、この種の冗長構成をとるディジタル回路において
は、0系と1系とを切り替えたいときは、0系クロック
か1系クロックかを選択する選択信号A(第1図の10
5)により直接切り替えていた。
Conventionally, in digital circuits with this type of redundant configuration, when it is desired to switch between the 0 system and 1 system, a selection signal A (10 in Fig. 1) is used to select either the 0 system clock or the 1 system clock.
5), it was directly switched.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述した従来の冗長構成をとるディジタル回路において
は、0系と1系とを切り替えたいときに、選択信号Aに
より直接切り替えようとすると、0系クロックと1系ク
ロックとでは若干の位相のずれが生じているため、切替
えのタイミングによっては瞬断が起きてしまう欠点があ
った。
In the digital circuit with the conventional redundant configuration described above, if you try to switch between the 0 system and 1 system directly using the selection signal A, there will be a slight phase shift between the 0 system clock and the 1 system clock. This has the disadvantage that momentary interruptions may occur depending on the timing of switching.

本発明の目的は、前記の欠点を除去することにより、切
替時の瞬断を無くした無瞬断切替制御回路を提供するこ
とにある。
An object of the present invention is to provide a no-interruption switching control circuit that eliminates instantaneous interruptions during switching by eliminating the above-mentioned drawbacks.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明は、冗長構成をとるθ糸回路および1系回路の0
系クロックおよび1系クロックにより、両系クロック断
情報を出力するクロック断検出回路と、前記0系クロッ
クか前記1系クロックかの選択を行う第一の選択信号を
出力する制御回路とを備えた切替制御回路において、前
記0系クロックと前記1系クロックとの論理和または論
理積をとり制御クロックを出力する演算回路と、前記制
御クロックにより前記第一の選択信号をリタイミングし
た第二の選択信号を出力するフリップフロップと、前記
第一の選択信号と前記第二の選択信号とを前記両系クロ
ック断情報により選択して第三の選択信号を出力する選
択回路とを備えたことを特徴とする。
The present invention provides a redundant configuration of the θ thread circuit and the 0 line of the 1 system circuit.
A clock disconnection detection circuit that outputs both system clock disconnection information based on the system clock and the 1 system clock, and a control circuit that outputs a first selection signal that selects the 0 system clock or the 1 system clock. In the switching control circuit, an arithmetic circuit that performs a logical sum or AND of the 0-system clock and the 1-system clock and outputs a control clock; and a second selection circuit that retimes the first selection signal using the control clock. The present invention is characterized by comprising a flip-flop that outputs a signal, and a selection circuit that selects the first selection signal and the second selection signal based on the both-system clock disconnection information and outputs a third selection signal. shall be.

〔作用〕[Effect]

演算回路は、例えば、回路が正論理で動作している場合
には、論理積回路により、O系クロックと1系クロック
との論理積をとり(負論理の場合には論理和をとる)、
両系クロックが「1」レベルのとき「1」レベルになる
制御クロックを出力する。すなわち、この制御クロック
は両系クロックの位相ずれを考慮にいれたものとなる。
For example, when the circuit is operating with positive logic, the arithmetic circuit uses an AND circuit to AND the O-system clock and the 1-system clock (in the case of negative logic, takes the OR),
When both system clocks are at the "1" level, a control clock that goes to the "1" level is output. In other words, this control clock takes into account the phase shift between the clocks of both systems.

そして、フリップフロップはこの制御クロックにより第
一の選択信号をリタイミングした第二の選択信号を出力
する。選択回路は両系クロック断情報が人力したときに
、両系クロックに位相ずれがある場合には前記第二の選
択信号を、ない場合には前記第一の選択信号をそれぞれ
選択して、第三の選択信号として出力する。
Then, the flip-flop outputs a second selection signal obtained by retiming the first selection signal using this control clock. The selection circuit selects the second selection signal when there is a phase difference between the clocks of both systems and the first selection signal when there is no phase difference between the clocks of both systems. Output as the third selection signal.

従って、両系クロックにたとえ位相ずれが生じた場合に
おいても、両系を無瞬断にて切り替えることが可能とな
る。
Therefore, even if a phase shift occurs between the clocks of both systems, it is possible to switch between both systems without momentary interruption.

〔実施例〕〔Example〕

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

第1図は本発明の第一実施例を示すブロック構成図で、
本発明の基本的構成を示すものである。
FIG. 1 is a block diagram showing a first embodiment of the present invention.
This figure shows the basic configuration of the present invention.

本第二実施例は、冗長構成をとる0系回路および1系回
路の0系クロック101および1系クロック102によ
り、両系クロック断情報104を出力するクロック断検
出回路2と、前記O系クロックか前記1系クロックかの
選択を行う第一の選択信号としての選択信号AlO3を
出力する制御回路3とを備えた切替制御回路において、 本発明の特徴とするところの、0系クロック101と1
系クロック102との論理和または論理積をとり制御ク
ロックとしてのクロックB103を出力する演算回路(
本実施例では論理積回路)1と、クロックB103によ
り選択信号A15をリタイミングした第二の選択信号と
しての選択信号B106を出力するフリップフロップ4
と、両系クロック断情報104の入力により選択信号A
lO3と選択信号B106とのいずれかを選択して第三
の選択信号としての選択信号C107を出力する選択回
路A5とを備えている。
The second embodiment includes a clock disconnection detection circuit 2 that outputs both system clock disconnection information 104 based on the 0 system clock 101 and 1 system clock 102 of the 0 system circuit and 1 system circuit that have a redundant configuration, and the O system clock and a control circuit 3 that outputs a selection signal AlO3 as a first selection signal for selecting between the 0-system clock 101 and the 1-system clock, which is a feature of the present invention.
A calculation circuit (
In this embodiment, an AND circuit) 1 and a flip-flop 4 outputting a selection signal B106 as a second selection signal obtained by retiming the selection signal A15 using a clock B103.
, the selection signal A is input by inputting the clock disconnection information 104 for both systems.
It includes a selection circuit A5 that selects either lO3 or selection signal B106 and outputs selection signal C107 as a third selection signal.

第2図は本発明の第二実施例を示すブロック構成図で、
本発明を適用した無瞬断切替回路の要部を示したもので
ある。
FIG. 2 is a block diagram showing a second embodiment of the present invention.
1 shows a main part of a non-interruption switching circuit to which the present invention is applied.

第2図において、破線で囲んだ部分は第1図の無瞬断切
替制御回路である。そして、本第二実施例はこのほかに
、両系回路とその切替選択回路として、クロック発生回
路6.0系回路7.1系回路8、選択回路B9、選択回
路CIOおよび共通回路11を含んでいる。
In FIG. 2, the portion surrounded by a broken line is the non-interruption switching control circuit of FIG. In addition, the second embodiment includes a clock generation circuit 6.0 system circuit 7.1 system circuit 8, a selection circuit B9, a selection circuit CIO, and a common circuit 11 as both system circuits and their switching selection circuits. I'm here.

次に、第2図を用いて本発明の実施例の動作について説
明する。
Next, the operation of the embodiment of the present invention will be explained using FIG.

0系回路7は、クロック発生回路6より出力されるクロ
ックAlO3で動作し、0系信号109 と0系クロッ
ク101 とを出力する。また同様に、1系回路8は、
クロック発生回路6より出力されるクロックAlO3で
動作し、1系信号110と1系クロック102とを出力
する。そして、0系信号109か1系信号110か、ま
た0系クロック101か1系クロック102かをそれぞ
れ選択回路B9および選択回路C10にて選択して信号
111およびクロックC112を出力する。共通回路1
1では、この信号111およびクロックC112により
動作して最終的な出力信号113を出力する。
The 0-system circuit 7 operates with the clock AlO3 output from the clock generation circuit 6, and outputs a 0-system signal 109 and a 0-system clock 101. Similarly, the 1-system circuit 8 is
It operates with the clock AlO3 output from the clock generation circuit 6, and outputs the 1-system signal 110 and the 1-system clock 102. Then, the selection circuit B9 and the selection circuit C10 select either the 0 system signal 109 or the 1 system signal 110, and the 0 system clock 101 or the 1 system clock 102, respectively, and output the signal 111 and the clock C112. Common circuit 1
1 operates based on this signal 111 and clock C112 to output a final output signal 113.

ここで、0系と1系とを切り替えたいときは、制御回路
3より選択信号AlO3を出力する。このとき、演算回
路1にて0系クロック101と1系クロック102との
論理積または論理和をとったクロックB103を出力し
く本実施例では論理積をとるものとする。)、フリップ
フロップ4にてクロックB103により選択信号AlO
3をリタイミングして選択信号B106を出力する。そ
して、選択回路A5は、選択信号AlO3と選択信号B
106とのいずれかを0系クロック101および1系ク
ロック102の両系クロック断情報104の入力により
選択して、選択信号C107を出力する、そしてこの選
択信号C107によって選択回路B9および選択回路C
10を切り替える。
Here, when it is desired to switch between the 0 system and the 1 system, the control circuit 3 outputs a selection signal AlO3. At this time, the arithmetic circuit 1 outputs a clock B103 obtained by logically multiplying or ORing the 0-system clock 101 and the 1-system clock 102. In this embodiment, the logical product is used. ), the selection signal AlO is output by the clock B103 in the flip-flop 4.
3 and outputs the selection signal B106. Then, the selection circuit A5 selects the selection signal AlO3 and the selection signal B.
106 is selected by inputting the both-system clock disconnection information 104 of the 0-system clock 101 and the 1-system clock 102, and a selection signal C107 is output.This selection signal C107 causes the selection circuit B9 and the selection circuit C
Switch 10.

第3図は第2図の動作の一例を示すタイミングチャート
で、0系クロック101に対して1系クロック102が
位相遅れを示している場合を示す。
FIG. 3 is a timing chart showing an example of the operation shown in FIG. 2, and shows a case where the 1-system clock 102 shows a phase lag with respect to the 0-system clock 101.

このとき、制御回路3からの選択信号AlO3は0系ク
ロック101に同期して立ち上っている。
At this time, the selection signal AlO3 from the control circuit 3 is rising in synchronization with the 0-system clock 101.

方、演算回路(ここでは論理積回路)1では、0系クロ
ック101と1系クロック102との論理積をとり両ク
ロックが「1」レベルの領域を「1」レベルとしたクロ
ックB103を出力する。これによりフリップフロップ
4は選択信号AlO3のリタイミングを行いクロックB
103に同期して立ち上る選択信号B106を出力する
On the other hand, the arithmetic circuit (AND circuit in this case) 1 performs the logical product of the 0 system clock 101 and the 1 system clock 102 and outputs a clock B 103 in which the area where both clocks are at the "1" level is set to the "1" level. . As a result, the flip-flop 4 retimes the selection signal AlO3 and clock B.
A selection signal B106 rising in synchronization with signal B103 is output.

選択回路A5は、両系クロック断情報104の入力時に
、選択信号B106を選択して選択信号C107として
出力する。これにより、この場合、従来選択信号AlO
3により切り替えるために生じていた瞬断は発生せず、
無瞬断切替えが達成できる。
The selection circuit A5 selects the selection signal B106 and outputs it as the selection signal C107 when the dual-system clock disconnection information 104 is input. As a result, in this case, the conventional selection signal AlO
3, the instantaneous interruption that occurred due to switching did not occur,
Uninterrupted switching can be achieved.

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

以上説明したように、本発明によれば、0系と1系との
切替えを、たとえ両系クロックに位相ずれがある場合に
も、無瞬断で切り替えることができ、その効果は大であ
る。
As explained above, according to the present invention, it is possible to switch between the 0 system and the 1 system without momentary interruption even if there is a phase shift between the clocks of both systems, and the effect is great. .

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

第1図は本発明の第一実施例を示すブロック構成図。 第2図は本発明の第二実施例を示すブロック構成図。 第3図は本発明の第二実施例の動作を示すタイミングチ
ャート。 1・・・演算回路、2・・・クロック断検出回路、3・
・・制御回路、4・・・フリップフロップ、5・・・選
択回路A、6・・・クロック発生回路、7・・・0系回
路、8−1系回路、9・・・選択回路B、10・・・選
択回路C111・・・共通回路、101・・・0系クロ
ック、102・・・1系クロック、103・・・クロッ
クB、104・・・両系クロ・ンク断情報、105・・
・選択信号A、106・・・選択信号B1107・・・
選択信号C1108・・・クロックA、109・・・0
系信号、110・・・1系信号、111・・・信号、1
12・・・クロックC1113・・・出力信号。
FIG. 1 is a block diagram showing a first embodiment of the present invention. FIG. 2 is a block diagram showing a second embodiment of the present invention. FIG. 3 is a timing chart showing the operation of the second embodiment of the present invention. 1... Arithmetic circuit, 2... Clock disconnection detection circuit, 3.
... Control circuit, 4... Flip-flop, 5... Selection circuit A, 6... Clock generation circuit, 7... 0 system circuit, 8-1 system circuit, 9... Selection circuit B, 10...Selection circuit C111...Common circuit, 101...0 system clock, 102...1 system clock, 103...Clock B, 104...Both system clock link disconnection information, 105...・
・Selection signal A, 106...Selection signal B1107...
Selection signal C1108...Clock A, 109...0
System signal, 110...1 system signal, 111...signal, 1
12... Clock C1113... Output signal.

Claims (1)

【特許請求の範囲】 1、冗長構成をとる0系回路および1系回路の0系クロ
ックおよび1系クロックにより、両系クロック断情報を
出力するクロック断検出回路と、前記0系クロックか前
記1系クロックかの選択を行う第一の選択信号を出力す
る制御回路とを備えた切替制御回路において、 前記0系クロックと前記1系クロックとの論理和または
論理積をとり制御クロックを出力する演算回路と、 前記制御クロックにより前記第一の選択信号をリタイミ
ングした第二の選択信号を出力するフリップフロップと
、 前記第一の選択信号と前記第二の選択信号とを前記両系
クロック断情報により選択して第三の選択信号を出力す
る選択回路と を備えたことを特徴とする無瞬断切替制御回路。
[Scope of Claims] 1. A clock disconnection detection circuit that outputs both system clock disconnection information based on the 0 system clock and 1 system clock of the 0 system circuit and 1 system circuit that have a redundant configuration; A switching control circuit comprising a control circuit that outputs a first selection signal for selecting a system clock, the operation of performing a logical OR or AND of the 0 system clock and the 1 system clock and outputting a control clock. a flip-flop that outputs a second selection signal obtained by retiming the first selection signal using the control clock; and a flip-flop that outputs a second selection signal obtained by retiming the first selection signal using the control clock; and a selection circuit that selects and outputs a third selection signal.
JP26477289A 1989-10-11 1989-10-11 No-hit switching control circuit Pending JPH03126114A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26477289A JPH03126114A (en) 1989-10-11 1989-10-11 No-hit switching control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26477289A JPH03126114A (en) 1989-10-11 1989-10-11 No-hit switching control circuit

Publications (1)

Publication Number Publication Date
JPH03126114A true JPH03126114A (en) 1991-05-29

Family

ID=17407976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26477289A Pending JPH03126114A (en) 1989-10-11 1989-10-11 No-hit switching control circuit

Country Status (1)

Country Link
JP (1) JPH03126114A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579350A (en) * 1992-03-19 1996-11-26 Fujitsu Limited Clock change circuit preventing spike generation by delaying selection control signal
US5675615A (en) * 1994-02-23 1997-10-07 Advanced Risc Machines Limited Apparatus and method for switching asynchronous clock signals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579350A (en) * 1992-03-19 1996-11-26 Fujitsu Limited Clock change circuit preventing spike generation by delaying selection control signal
US5675615A (en) * 1994-02-23 1997-10-07 Advanced Risc Machines Limited Apparatus and method for switching asynchronous clock signals

Similar Documents

Publication Publication Date Title
JPH04113718A (en) Hitless clock switching device
JPH03126114A (en) No-hit switching control circuit
JPH0417001A (en) Circuit for controlling switching without
JP2712465B2 (en) Clock selection circuit
JP2643578B2 (en) Self-diagnosis circuit
JPS6324681Y2 (en)
JP2644572B2 (en) Frame overhead processing circuit
JPS6243215A (en) Synchronization detecting circuit containing majority deciding function
JPH0787625B2 (en) Clock signal selection circuit
KR920004921B1 (en) Clock selection circuit
JP3145016B2 (en) Selector circuit and selector device
JPH0250715A (en) Clock controller
JPH02164146A (en) Clock segmenting circuit
JPH05235887A (en) Uninterruptible clock changeover device
JPH0685804A (en) Frame pulse generating circuit
JPH03218113A (en) Clock signal switching circuit
JPH04317227A (en) Line switching circuit
JP2000231487A (en) Digital signal processing circuit
JPH02209010A (en) Timing pulse generating circuit
JPH0346412A (en) Selection circuit changeover device
JPH05219033A (en) Path check circuit
JPS6188318A (en) Clock function of microcomputer
JPH0348701B2 (en)
JPH09257963A (en) Clock switching circuit
JPH06197102A (en) Clock signal selecting device