JPH02174329A - External synchronizing clock generating circuit - Google Patents

External synchronizing clock generating circuit

Info

Publication number
JPH02174329A
JPH02174329A JP63328761A JP32876188A JPH02174329A JP H02174329 A JPH02174329 A JP H02174329A JP 63328761 A JP63328761 A JP 63328761A JP 32876188 A JP32876188 A JP 32876188A JP H02174329 A JPH02174329 A JP H02174329A
Authority
JP
Japan
Prior art keywords
clock
external input
circuit
phase
phase difference
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
JP63328761A
Other languages
Japanese (ja)
Inventor
Shigeo Fujimaki
藤巻 茂雄
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 JP63328761A priority Critical patent/JPH02174329A/en
Publication of JPH02174329A publication Critical patent/JPH02174329A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To prevent the influence of a code error or the like on the system by supplying the detection output of a phase comparator to a voltage controlled oscillating circuit and synchronizing the output clock of the voltage controlled oscillating circuit with an external selection input clock. CONSTITUTION:Phase difference absorbing circuits (20-1)-(20-n) provided corresponding to each of external input clocks (1-1)-(1-n) use an output clock 7 whose frequency is nf as a common reference clock to synchronize all phases of phase synchronizing clocks (4-1)-(4-n) to a clock selection circuit 30. Thus, even if an external input clock with different phase exists in the external input clocks (1-1)-(1-n), no frequency jump is caused in the output clock 7 to switch the selected external input clock 5. Thus, the fluctuation of the phase difference detected by the phase comparator 40 and the frequency jump of the output clock 7 are not caused and the influence of the code error or the like on the system is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル通信装置に用いて好適な外部同期
クロック発生回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an external synchronous clock generation circuit suitable for use in a digital communication device.

〔従来の技術〕[Conventional technology]

従来、この種の外部同期クロック発生回路は、電圧制御
発振回路と位相比較回路とクロック選択回路とを備え、
複数の外部入力クロックの内の一つをクロック選択回路
によって選択し、その選択した外部入力クロック(選択
外部入力クロック)と電圧制御発振回路の出力クロック
との位相差を位相比較回路で検出し、この位相比較回路
の検出々力を電圧制御発振回路へ供与することにより、
その電圧制御発振回路の出力クロックを外部入力クロッ
クに周波数同期させている。
Conventionally, this type of external synchronous clock generation circuit includes a voltage controlled oscillation circuit, a phase comparison circuit, and a clock selection circuit.
Selecting one of the plurality of external input clocks by a clock selection circuit, detecting the phase difference between the selected external input clock (selected external input clock) and the output clock of the voltage controlled oscillation circuit by a phase comparison circuit, By supplying the detection power of this phase comparison circuit to the voltage controlled oscillation circuit,
The output clock of the voltage controlled oscillation circuit is synchronized in frequency with the external input clock.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の外部同期クロック発生
回路によると、クロック選択回路においてその選択外部
入力クロックを切り換えると、切り換え前の選択外部入
力クロックと切り換え後の選択外部入力クロックとの位
相が異なる場合、位相比較回路において切り換え前の位
相同期状態から瞬時に位相差が発生する。このため、切
り換え前の選択外部入力クロックに同期していた電圧制
御発振回路の出力クロックに周波数ジャンプが発生し、
システムに符号誤り等の影ツを及ぼすという問題が生じ
ていた。
However, according to such a conventional external synchronous clock generation circuit, when the selected external input clock is switched in the clock selection circuit, if the selected external input clock before switching and the selected external input clock after switching have different phases, In the phase comparator circuit, a phase difference instantaneously occurs from the phase synchronization state before switching. As a result, a frequency jump occurs in the output clock of the voltage controlled oscillator circuit, which was synchronized with the selected external input clock before switching.
A problem has arisen in that the system is affected by code errors and the like.

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

本発明はこのような課題を解決するためになされたもの
で、第1〜第Nの外部入力クロックの各々に対応して設
けられ、その外部入力クロックをサンプリングするフリ
ップフロップと、このフリップフロップによってサンプ
リングされた外部入力クロックの位相を調整するエラス
テックメモリと、このエラステックメモリへの書込みア
ドレスリセットパルスおよび読出しアドレスリセットパ
ルスを発生する書込アドレスリセットパルス発生回路お
よび読出アドレスリセットパルス発生回路とを備え、第
1〜第Nの外部入力クロックの位相同期をとる第1〜第
Nの位相差吸収回路と、この第1〜第Nの位相差吸収回
路によって位相同期のとられた第1〜第Nの外部入力ク
ロックの内の一つを選択するクロック選択回路と、この
クロック選択回路によって選択された選択外部入力クロ
ックと電圧制御発振回路の出力クロックを分周して得ら
れる分周出力クロックとの位相差を検出する位相比較回
路とを備え、この位相比較回路の検出々力を電圧制御部
発振回路へ供与することによりこの電圧制御発振回路の
出力クロックを選択外部入力クロックに同期させるよう
にしたものである。
The present invention has been made to solve such problems, and includes a flip-flop that is provided corresponding to each of the first to Nth external input clocks and samples the external input clock, and a flip-flop that samples the external input clock. An elastic memory that adjusts the phase of a sampled external input clock, and a write address reset pulse generation circuit and a read address reset pulse generation circuit that generate write address reset pulses and read address reset pulses to the elastic memory. and first to Nth phase difference absorption circuits that synchronize the phases of the first to Nth external input clocks, and first to Nth phase difference absorption circuits that are phase synchronized by the first to Nth phase difference absorption circuits. a clock selection circuit that selects one of the N external input clocks, and a divided output clock obtained by dividing the selected external input clock selected by the clock selection circuit and the output clock of the voltage controlled oscillation circuit. The output clock of the voltage controlled oscillator circuit is synchronized with the selected external input clock by providing the detection power of the phase comparing circuit to the voltage control unit oscillation circuit. This is what I did.

〔作用〕[Effect]

したがってこの発明によれば、選択外部入力クロックを
切り換えたとしても、切り換え前の選択外部入力クロッ
クと切り換え後の選択外部入力クロックとに位相差は生
じない。
Therefore, according to the present invention, even if the selected external input clock is switched, no phase difference occurs between the selected external input clock before switching and the selected external input clock after switching.

〔実施例〕〔Example〕

以下、本発明に係る外部同期クロック発生回路を詳細に
説明する。
The external synchronous clock generation circuit according to the present invention will be explained in detail below.

第1図はこの外部同期クロック発生回路の一実施例を示
すブロック回路構成図である。同図において、20−1
〜20−nは第1〜第Nの外部入力クロソク1〜1〜1
−nの各々に対応して設けられ、その外部入力クロソク
1−1〜1−nの位相同期をとる第1〜第Nの位相差吸
収回路、30はこの位相差吸収回路20−1〜20−n
により位相同期のとられた外部入力クロック(位相同期
クロック)4−1〜4−nを入力としその位相同期クロ
ック4−1〜4−nの内の一つを選択し選択外部入力ク
ロック5とするクロック選択回路、40はこのクロック
選択回路30によって選択された選択外部入力クロック
5と、電圧制御発振回路50の出力クロック7を分周回
路60にてn分周して得られる分周出力クロック8との
位相差を検出する位相比較回路である。
FIG. 1 is a block circuit diagram showing one embodiment of this external synchronous clock generation circuit. In the same figure, 20-1
~20-n are the first to Nth external input cloths 1 to 1 to 1
-n, the first to Nth phase difference absorption circuits are provided corresponding to each of the external input cloths 1-1 to 1-n, and 30 is the phase difference absorption circuit 20-1 to 20-n. -n
The external input clocks (phase synchronized clocks) 4-1 to 4-n whose phase has been synchronized are input, one of the phase synchronized clocks 4-1 to 4-n is selected, and the selected external input clock 5 is selected. 40 is a frequency-divided output clock obtained by dividing the selected external input clock 5 selected by the clock selection circuit 30 and the output clock 7 of the voltage controlled oscillation circuit 50 by n in a frequency dividing circuit 60. This is a phase comparator circuit that detects the phase difference with 8.

位相比較回路40はその検出位相差に基づいた直流電圧
(周波数制御信号)6を電圧制御発振回路50へ与え、
この供与される周波数制御信号6に基づき出力クロック
7が選択外部入力クロック5に同期するものとなってい
る。そして、この出力クロック7が外部同期クロックと
して後段へ供与されるものとなっている。一方、電圧制
御発振回路50の出力クロック7は、位相差吸収回路2
0−1〜20−nにおける基準クロックとしても用いら
れるものとなっている。
The phase comparison circuit 40 provides a DC voltage (frequency control signal) 6 based on the detected phase difference to the voltage controlled oscillation circuit 50,
The output clock 7 is synchronized with the selected external input clock 5 based on the supplied frequency control signal 6. This output clock 7 is then supplied to the subsequent stage as an external synchronization clock. On the other hand, the output clock 7 of the voltage controlled oscillation circuit 50 is
It is also used as a reference clock for 0-1 to 20-n.

次に位相差吸収回路20−1〜20−nの構成を位相差
吸収回路20−1を代表して説明する。すなわち、位相
差吸収回路20−2〜20−nの構成は位相差吸収回路
20−1と同一であるので、位相差吸収回路20−1の
構成のみを示すことによってその説明を略す。位相差吸
収回路20−1は、外部入力クロソク1−1をそのデー
タ入力としてサンプリングするフリップフロップ21と
、このフリップフロップ21によりサンプリングされた
外部入力クロック(位相吸収クロック)2をデータ入力
としその位相を調整するエラステックメモリ23と、位
相吸収クロック2の位相に基づいてエラステックメモリ
23への書込みアドレスリセ・ノドパルス3を発生する
書込アドレスリセットパルス発生回路22と、エラステ
ックメモリ23への読出しアドレスリセットパルス9を
発生する読出アドレスリセットパルス発生回路24とに
より構成されている。そして、フリップフロップ21の
クロック入力端子、書込アドレスリセットパルス発生回
路22の書込アドレスリセットパルス入力端子、エラス
テックメモリ23の書込り[]ツク入力端子および読出
クロック入力端子、読出アドレスリセットパルス発’J
E回124の読出アドレスリセットパルス入力端子の各
々に、出力クロック7が与えられるものとなっている。
Next, the configurations of the phase difference absorption circuits 20-1 to 20-n will be explained using the phase difference absorption circuit 20-1 as a representative. That is, since the configurations of the phase difference absorption circuits 20-2 to 20-n are the same as the phase difference absorption circuit 20-1, the explanation thereof will be omitted by showing only the configuration of the phase difference absorption circuit 20-1. The phase difference absorption circuit 20-1 includes a flip-flop 21 that samples the external input clock 1-1 as its data input, and an external input clock (phase absorption clock) 2 sampled by the flip-flop 21 as its data input and its phase. a write address reset pulse generation circuit 22 that generates a write address reset pulse 3 for the elastic memory 23 based on the phase of the phase absorption clock 2; The read address reset pulse generation circuit 24 generates the address reset pulse 9. The clock input terminal of the flip-flop 21, the write address reset pulse input terminal of the write address reset pulse generation circuit 22, the write [ ] input terminal and the read clock input terminal of the elastic memory 23, the read address reset pulse Departure'J
The output clock 7 is applied to each of the read address reset pulse input terminals of the E times 124.

なお、読出しアドレスリセットパルス9は、読出アドレ
スリセットパルス発生回路24に与えられる出力クロッ
ク7に基づき、選択中の外部入力クロックの周波数をf
としたとき、周Ml/rで発生するものとなっている。
Note that the read address reset pulse 9 sets the frequency of the external input clock being selected based on the output clock 7 given to the read address reset pulse generation circuit 24.
When , it occurs at a circumference of Ml/r.

また、選択中の外部入力クロックの周波数をrとしたと
き、その周波数のn倍の周波数nf(nは整数)で出力
クロック7が得られ、エラステックメモリ23の読出ク
ロック入力端子に供与される出力クロック7および読出
アドレスリセットパルス発生回路24からの読出しアド
レスリセットパルス9のタイミングに合わせて、エラス
テックメモリ23よりそのデータ出力として位相調整の
施された位相同期クロック4−1が得られるものとなっ
ている。
Furthermore, when the frequency of the external input clock being selected is r, the output clock 7 is obtained at a frequency nf (n is an integer) that is n times that frequency, and is supplied to the read clock input terminal of the elastic memory 23. In accordance with the timing of the output clock 7 and the read address reset pulse 9 from the read address reset pulse generation circuit 24, a phase-adjusted phase synchronized clock 4-1 is obtained from the elastic memory 23 as its data output. It has become.

第2図はこの外部同期クロック発生回路の動作を示す各
部のクロック波形であり、同図(alはフリップフロッ
プ21への外部入力クロソク1−1、同図(blは出力
クロック7、同図(C)はフリップフロップ21のデー
タ出力として得られる位相吸収クロック2、(d)は書
込みアドレスリセット回路22の発生するエラステック
メモリ23への書込みアドレスリセットパルス3、(e
lは読出アドレスリセットパルス発生回路24の発生す
るエラステックメモリ23への読出しアドレスリセット
パルス9、(flはエラステックメモリ23のデータ出
力とじて得られる位相調整の施された位相同期クロック
41である。
FIG. 2 shows the clock waveforms of each part showing the operation of this external synchronous clock generation circuit. C) is the phase absorption clock 2 obtained as the data output of the flip-flop 21, (d) is the write address reset pulse 3 to the elastic memory 23 generated by the write address reset circuit 22, (e
l is the read address reset pulse 9 to the elastic memory 23 generated by the read address reset pulse generation circuit 24, (fl is the phase-adjusted phase synchronized clock 41 obtained as the data output of the elastic memory 23). .

すなわち、外部入力クロノク1−1〜1−nの各々に対
応して設けられた位相差吸収回路20−1〜20−〇は
、周波数nfの出力クロック7を共通の基準クロックと
し、クロック選択回路30への位相同期クロック4−1
〜4.0の全ての位相を同期させるので、外部入力クロ
ソク1−1〜l−nに位相の異なる外部入力クロックが
存在したとしても、出力クロック7に周波数ジャンプを
生じさせないものとして、選択外部入力クロック5の切
り換えを行うことができるようになる。すなわち、位相
の異なる外部入力クロックが存在したとしても、位相差
吸収回路20−1〜20−nによって位相同期クロック
4−1〜4−nの全ての位相同期がとられるので、選択
外部入力クロック5を切り換えたとしても、切り換え前
の選択外部入力クロック5と切り換え後の選択外部入力
クロック5とに位相差が生じることがない。このため、
位相比較回路40において検出される位相差に変動が生
じず、出力クロック7に周波数ジャンプが生じないもの
となり、システムへ及ぼす符号誤り等の影ツを防止する
ことができる。
That is, the phase difference absorbing circuits 20-1 to 20-0 provided corresponding to each of the external input clocks 1-1 to 1-n use the output clock 7 of frequency nf as a common reference clock, and the clock selection circuit Phase synchronized clock 4-1 to 30
Since all phases of ~4.0 are synchronized, even if there are external input clocks with different phases in external input clocks 1-1 to l-n, the selected external clock will not cause a frequency jump in output clock 7. The input clock 5 can now be switched. In other words, even if there are external input clocks with different phases, all of the phase synchronized clocks 4-1 to 4-n are phase-synchronized by the phase difference absorption circuits 20-1 to 20-n. 5, no phase difference occurs between the selected external input clock 5 before switching and the selected external input clock 5 after switching. For this reason,
There is no fluctuation in the phase difference detected by the phase comparator circuit 40, no frequency jump occurs in the output clock 7, and the effects of code errors and the like on the system can be prevented.

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

以上説明したように本発明による外部同期クロック発生
回路によると、第1〜第Nの外部入力クロックの各々に
対応して設けられ、その外部入力クロックをサンプリン
グするフリップフロップとこのフリップフロップによっ
てサンプリングされた外部入力クロックの位相を調整す
るエラステックメモリと、このエラステックメモリへの
書込みアドレスリセットパルスおよび読出しアドレスリ
セットパルスを発生する書込アドレスリセットパルス発
生回路および読出アドレスリセットパルス発生回路とを
備え、第1〜第Nの外部入力クロックの位相同期をとる
第1〜第Nの位相差吸収回路を設けたので、選択外部入
力クロックを切り換えたとしても、切り換え前の選択外
部入力クロックと切り換え後の選択外部入力クロックと
に位相差が生じることがなく、このため位相比較回路に
おいて検出される位相差に変動が生しなものとなり、電
圧制御発振回路の出力クロックに周波数ジャンプを生じ
させないものとして、システムへ及ばず符号誤り等の影
響を防止することができるようになる。
As explained above, according to the external synchronous clock generation circuit according to the present invention, a flip-flop is provided corresponding to each of the first to Nth external input clocks and samples the external input clock; an elastic memory that adjusts the phase of an external input clock, and a write address reset pulse generation circuit and a read address reset pulse generation circuit that generate a write address reset pulse and a read address reset pulse to the elastic memory, Since the first to Nth phase difference absorption circuits that synchronize the phases of the first to Nth external input clocks are provided, even if the selected external input clock is switched, the selected external input clock before switching will be different from the selected external input clock after switching. Assuming that there is no phase difference with the selected external input clock, and therefore no fluctuation occurs in the phase difference detected by the phase comparator circuit, and no frequency jump occurs in the output clock of the voltage controlled oscillation circuit, This makes it possible to prevent the effects of code errors and the like from affecting the system.

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

第1図は本発明に係る外部同期クロック発生回路の一実
施例を示すブロック回路構成図、第2図はこの回路の動
作を示す各部のり11ツク波形図である。 20−1〜20−n・・・位相差吸収回路、21・・・
フリップフロップ、22・・・書込アドレスリセントパ
ルス発生回路、23・・・エラステンクメモリ、24・
・・読出アドレスリセントパルス発生回路、30・・・
クロック選択回路、40・・・位相比較回路、50・・
・電圧制御発振回路、60・・・分周回路。
FIG. 1 is a block circuit configuration diagram showing one embodiment of an external synchronous clock generation circuit according to the present invention, and FIG. 2 is a waveform diagram of each part showing the operation of this circuit. 20-1 to 20-n...phase difference absorption circuit, 21...
Flip-flop, 22...Write address recent pulse generation circuit, 23...Erastenk memory, 24.
...Read address recent pulse generation circuit, 30...
Clock selection circuit, 40... Phase comparison circuit, 50...
- Voltage controlled oscillation circuit, 60... frequency divider circuit.

Claims (1)

【特許請求の範囲】 第1〜第Nの外部入力クロックの各々に対応して設けら
れ、その外部入力クロックをサンプリングするフリップ
フロップと、このフリップフロップによってサンプリン
グされた外部入力クロックの位相を調整するエラステッ
クメモリと、このエラステックメモリへの書込みアドレ
スリセットパルスおよび読出しアドレスリセットパルス
を発生する書込アドレスリセットパルス発生回路および
読出アドレスリセットパルス発生回路とを備え、前記第
1〜第Nの外部入力クロックの位相同期をとる第1〜第
Nの位相差吸収回路と、 この第1〜第Nの位相差吸収回路によって位相同期のと
られた第1〜第Nの外部入力クロックの内の一つを選択
するクロック選択回路と、このクロック選択回路によっ
て選択された選択外部入力クロックと電圧制御発振回路
の出力クロックを分周して得られる分周出力クロックと
の位相差を検出する位相比較回路とを備え、 この位相比較回路の検出々力を前記電圧制御発振回路へ
供与することによりこの電圧制御発振回路の出力クロッ
クを前記選択外部入力クロックに同期させる外部同期ク
ロック発生回路。
[Claims] A flip-flop is provided corresponding to each of the first to Nth external input clocks and samples the external input clock, and the phase of the external input clock sampled by the flip-flop is adjusted. an elastic memory; a write address reset pulse generation circuit and a read address reset pulse generation circuit that generate a write address reset pulse and a read address reset pulse to the elastic memory; First to Nth phase difference absorption circuits that synchronize the phases of the clocks, and one of the first to Nth external input clocks whose phases are synchronized by the first to Nth phase difference absorption circuits. a clock selection circuit that selects a clock, and a phase comparison circuit that detects a phase difference between the selected external input clock selected by the clock selection circuit and a divided output clock obtained by dividing the output clock of the voltage controlled oscillation circuit. An external synchronization clock generation circuit that synchronizes the output clock of the voltage controlled oscillation circuit with the selected external input clock by providing the detection power of the phase comparison circuit to the voltage controlled oscillation circuit.
JP63328761A 1988-12-26 1988-12-26 External synchronizing clock generating circuit Pending JPH02174329A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63328761A JPH02174329A (en) 1988-12-26 1988-12-26 External synchronizing clock generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63328761A JPH02174329A (en) 1988-12-26 1988-12-26 External synchronizing clock generating circuit

Publications (1)

Publication Number Publication Date
JPH02174329A true JPH02174329A (en) 1990-07-05

Family

ID=18213854

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63328761A Pending JPH02174329A (en) 1988-12-26 1988-12-26 External synchronizing clock generating circuit

Country Status (1)

Country Link
JP (1) JPH02174329A (en)

Similar Documents

Publication Publication Date Title
EP0522551B1 (en) Variable clock dividing circuit
US5122677A (en) Instantaneous breakless clock switching apparatus
RU2020572C1 (en) Computer system
JPH0659769A (en) Clock generating circuit of digital computer and method therefor
US6472913B2 (en) Method and apparatus for data sampling
JP2595887B2 (en) Bit synchronization circuit
EP1379937B1 (en) Reset circuit and method therefor
JPH02174329A (en) External synchronizing clock generating circuit
JPS63232615A (en) Clock switching circuit
KR100460763B1 (en) Clock switching circuit
JPS6253539A (en) Frame synchronizing system
JPH0282812A (en) Clock switching system
JPS6123412A (en) Timing generator
JP2000163155A (en) Data processing circuit
JP2575221B2 (en) PLL circuit
JPS61171246A (en) Detection circuit for out of synchronism
JPH0512461A (en) Clock supply circuit
JP2745775B2 (en) Synchronous operation compatible measuring device
JPH0293716A (en) Clock pulse generator with function for outputting clock synchronous reset signal
JPS61243527A (en) Bit buffer circuit
JPH0468726A (en) Phase synchronizing system
JP2679471B2 (en) Clock switching circuit
JP2538074B2 (en) Logic integrated circuit
JPH11341108A (en) Switching method and device of active system and standby system
JPS6228823A (en) Signal switching circuit