JPH11154940A - Clock generating circuit - Google Patents

Clock generating circuit

Info

Publication number
JPH11154940A
JPH11154940A JP9334952A JP33495297A JPH11154940A JP H11154940 A JPH11154940 A JP H11154940A JP 9334952 A JP9334952 A JP 9334952A JP 33495297 A JP33495297 A JP 33495297A JP H11154940 A JPH11154940 A JP H11154940A
Authority
JP
Japan
Prior art keywords
clock
circuit
switching
pll circuit
reference 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
Application number
JP9334952A
Other languages
Japanese (ja)
Inventor
Uichi Ogasawara
右一 小笠原
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP9334952A priority Critical patent/JPH11154940A/en
Publication of JPH11154940A publication Critical patent/JPH11154940A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To change over a clock supply path without causing a phase deviation on occurrence of a fault in a clock supply path incoming from a host device. SOLUTION: The synchronization is tracked by using a frame clock E8KCLK supplied from a host device as a reference clock in the case of synchronization switching. After the synchronization tracking, a bit clock E8MCLK supplied similarly from the host device is used for another reference clock to cope with external disturbance in a steady-state. A switching timing detection circuit 1, that switchovers the two reference clocks in a proper timing, produces a selection signal SEL to control changeover circuits A, B.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子交換機等の内
部における伝送信号の同期制御を行う、クロック発生回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock generation circuit for controlling the synchronization of transmission signals inside an electronic exchange or the like.

【0002】[0002]

【従来の技術】電子交換機等において、各機能ブロック
間で、信号の送受信を正しく行うためには、送信側と受
信側のクロック周波数及び位相が、完全に同期していな
ければならない。この目的を達成するために、電子交換
機は、内部に基準クロック発生部を備える。この基準ク
ロック発生部(以後上位装置と記す)が発生した基準ク
ロックを各機能ブロックに配分する。
2. Description of the Related Art In an electronic exchange or the like, clock signals and phases on a transmitting side and a receiving side must be completely synchronized in order to correctly transmit and receive signals between functional blocks. In order to achieve this object, the electronic exchange has a reference clock generator therein. The reference clock generated by the reference clock generator (hereinafter referred to as a higher-level device) is distributed to each functional block.

【0003】電子交換機内部を伝送する信号は、例えば
周波数8MHzのビット信号を周波数8KHz周期のフ
レーム信号で区切って構成される。このような構成の信
号を制御するために、各機能ブロックは、この上位装置
から配分された基準クロックに、PLL(Phase Locked
Loop)回路を同期させて、自己が必要とする特定周波
数の内部クロックを生成している。
A signal transmitted inside the electronic exchange is constituted by, for example, dividing a bit signal having a frequency of 8 MHz by a frame signal having a frequency of 8 kHz. In order to control a signal having such a configuration, each functional block applies a PLL (Phase Locked) to a reference clock distributed from this higher-level device.
Loop) synchronizes the circuit to generate an internal clock of a specific frequency required by itself.

【0004】[0004]

【発明が解決しようとする課題】ところで、上記のよう
な従来のクロック発生回路には以下に記すような、解決
すべき課題が残されていた。ある機能ブロックのクロッ
ク発生回路(以後PLL回路と記す)が、上位装置から
供給される、ビットクロックに相当する8MHzのクロ
ックに同期して内部クロックを生成していたとする。こ
のビットクロックの供給経路に異状が発生したと仮定す
る。この時、クロック発生回路は、PLL回路を、別系
統を通って供給されるビットクロックに、同期させ直す
必要がある。PLL回路の同期確立には、一定の時間を
必要とする。ところが、このビットクロックは、周波数
が8MHzと高周波のため、PLL回路の同期確立に要
する時間に比して、クロック周期が短い。そのため、切
り換え時の過度応答や、ノイズ等によって、位相比較す
る基準クロックと、PLL回路が生成する内部クロック
との間に脱落や、重複が発生しやすい。
However, the conventional clock generation circuit as described above has the following problems to be solved. It is assumed that a clock generation circuit (hereinafter referred to as a PLL circuit) of a certain functional block generates an internal clock in synchronization with a clock of 8 MHz corresponding to a bit clock supplied from a host device. It is assumed that an abnormality has occurred in the bit clock supply path. At this time, the clock generation circuit needs to resynchronize the PLL circuit with the bit clock supplied through another system. It takes a certain time to establish the synchronization of the PLL circuit. However, since this bit clock has a high frequency of 8 MHz, the clock cycle is shorter than the time required to establish synchronization of the PLL circuit. Therefore, the reference clock for phase comparison and the internal clock generated by the PLL circuit are likely to drop or overlap due to excessive response at the time of switching, noise, or the like.

【0005】この問題を解決するために、PLL回路
を、同期確立に要する時間に比してクロック周期が長
い、フレームクロックに同期させておくことが考えられ
る。この場合、クロック周期が長いので、クロック切り
換え時には、上記のような問題は発生しない。しかし、
同期した後に、何らかの外乱によってクロックの周波数
が変動した時、クロック周期が長いため、PLL回路の
追従が遅れ、フレーム内部のビット間に、一時的に位相
ずれを起こし、正常にデータ送受信できなくなる。
In order to solve this problem, it is conceivable that the PLL circuit is synchronized with a frame clock whose clock cycle is longer than the time required for establishing synchronization. In this case, since the clock cycle is long, the above-described problem does not occur at the time of clock switching. But,
After the synchronization, when the clock frequency fluctuates due to some disturbance, the clock cycle is long, so that the following of the PLL circuit is delayed, and a phase shift occurs temporarily between bits in the frame, so that data cannot be transmitted and received normally.

【0006】[0006]

【発明を解決するための手段】本発明は、以上の点を解
決するために、次の構成を採用する。 〈構成1〉フレーム構成された伝送信号を受け入れる位
相ロックループ回路(以後PLL回路と記す)と、上記
伝送信号のフレーム同期の基準になるフレームクロック
と、フレーム内部のビット同期の基準になるビットクロ
ックとを受け入れて、そのいずれか一方を上記PLL回
路に供給する切り換え回路と、始めに上記切り換え回路
が上記フレームクロックを上記PLL回路に入力して、
PLL回路がそのフレームクロックに同期した内部クロ
ックを生成したことを検出すると、上記切り換え回路が
上記ビットクロックを上記PLL回路に入力するよう
に、PLL回路への入力信号の切り換えを制御する切り
換えタイミング検出回路を備えたことを特徴とするクロ
ック発生回路。
The present invention adopts the following constitution in order to solve the above points. <Structure 1> A phase locked loop circuit (hereinafter, referred to as a PLL circuit) that accepts a frame-structured transmission signal, a frame clock serving as a reference for frame synchronization of the transmission signal, and a bit clock serving as a reference for bit synchronization inside the frame And a switching circuit for supplying one of them to the PLL circuit, and the switching circuit first inputs the frame clock to the PLL circuit,
Upon detecting that the PLL circuit has generated an internal clock synchronized with the frame clock, switching timing detection for controlling switching of an input signal to the PLL circuit so that the switching circuit inputs the bit clock to the PLL circuit. A clock generation circuit comprising a circuit.

【0007】〈構成2〉構成2に記載のクロック発生回
路において、切り換え回路がビットクロックをPLL回
路に入力して、PLL回路がそのビットクロックに同期
した内部クロックを生成するように動作しているとき、
PLL回路が生成する内部クロックを監視して、その内
部クロックと上記ビットクロックとの位相差が所定値を
越えたとき、上記切り換え回路がフレームクロックを上
記PLL回路に入力するように、PLL回路への入力信
号の切り換えを制御する、切り換えタイミング検出回路
を備えたことを特徴とするクロック発生回路。
<Structure 2> In the clock generation circuit according to structure 2, the switching circuit operates so that the bit clock is input to the PLL circuit, and the PLL circuit generates an internal clock synchronized with the bit clock. When
The internal clock generated by the PLL circuit is monitored, and when the phase difference between the internal clock and the bit clock exceeds a predetermined value, the switching circuit inputs the frame clock to the PLL circuit so that the frame clock is input to the PLL circuit. A clock generation circuit, comprising: a switching timing detection circuit for controlling switching of the input signal.

【0008】〈構成3〉基準クロックを受け入れて、そ
の基準クロックに同期した周波数の内部クロックを生成
するPLL回路と、それぞれ繰り返し周波数の異なる複
数の基準クロックを受け入れて、そのうちのいずれかの
基準クロックを選択して上記PLL回路に供給する切り
換え回路と、始めに、上記切り換え回路が最も繰り返し
周波数の低い基準クロックを上記PLL回路に供給し
て、PLL回路がその基準クロックに同期した内部クロ
ックを生成したことを検出すると、上記切り換え回路が
その基準クロックよりも繰り返し周波数の高い基準クロ
ックを上記PLL回路に供給するように、PLL回路へ
の入力信号の切り換えを制御し、切り換え回路が任意の
基準クロックをPLL回路に供給して、PLL回路がそ
の基準クロックに同期した内部クロックを生成するよう
に動作しているとき、PLL回路が生成する内部クロッ
クを監視して、その内部クロックと上記基準クロックと
の位相差が所定値を越えたとき、上記切り換え回路がよ
り繰り返し周波数の低い基準クロックを上記PLL回路
に供給するように、PLL回路へ供給する信号の切り換
えを制御する、切り換えタイミング検出回路を備えたこ
とを特徴とするクロック発生回路。
<Structure 3> A PLL circuit that receives a reference clock and generates an internal clock having a frequency synchronized with the reference clock, and receives a plurality of reference clocks each having a different repetition frequency, and any one of the reference clocks And a switching circuit that supplies the reference circuit with the lowest repetition frequency to the PLL circuit, and the PLL circuit generates an internal clock synchronized with the reference clock. When the switching circuit detects that the switching signal has been supplied, the switching circuit controls switching of an input signal to the PLL circuit so that the switching circuit supplies a reference clock having a higher repetition frequency than the reference clock to the PLL circuit. Is supplied to the PLL circuit, and the PLL circuit synchronizes with the reference clock. The internal clock generated by the PLL circuit is monitored when the internal clock is generated to generate the internal clock, and when the phase difference between the internal clock and the reference clock exceeds a predetermined value, the switching circuit is activated. A clock generation circuit comprising: a switching timing detection circuit that controls switching of a signal supplied to a PLL circuit so that a reference clock having a low repetition frequency is supplied to the PLL circuit.

【0009】[0009]

【発明の実施の形態】本発明によるクロック発生回路
は、同期切り換え時、まず最初に、上位装置から供給さ
れる、フレームクロックを基準クロックにしてPLL回
路を同期追随させる。同期追随後は、同様に上位装置か
ら供給される、ビットクロックに、基準クロックに切り
換えさせて、定常時の外乱に対処する。以下、本発明を
図示の実施の形態について詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION A clock generation circuit according to the present invention first causes a PLL circuit to synchronously follow a frame clock supplied from a higher-level device as a reference clock at the time of synchronization switching. After the synchronization follow-up, a bit clock, which is also supplied from a higher-level device, is switched to a reference clock to deal with a disturbance in a steady state. Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments.

【0010】〈具体例の構成〉図1は、具体例のブロッ
ク図である。図より、具体例によるPLL回路は、切り
換えタイミング検出回路1と、切り換え回路Aと、切り
換え回路Bと、位相比較回路2と、ローパスフィルタ
(以後LPFと記す)3と、電圧制御発振器(以後VC
Oと記す)4と、カウンタ5を備える。
<Structure of Specific Example> FIG. 1 is a block diagram of a specific example. As shown in the drawing, a PLL circuit according to a specific example includes a switching timing detection circuit 1, a switching circuit A, a switching circuit B, a phase comparison circuit 2, a low-pass filter (hereinafter referred to as LPF) 3, a voltage-controlled oscillator (hereinafter VC).
O) 4 and a counter 5.

【0011】切り換えタイミング検出回路1は、カウン
タ5が、VCO4の出力に基づいて生成した周波数8M
Hzの内部クロックI8MCLKと、8KHzの内部ク
ロックI8KCLKから、クロック切り換えのタイミン
グを制御する選択信号(以後SEL信号と記す)を生成
する部分である。更に、この切り換えタイミング検出回
路1は、このSEL信号を切り換え回路Aと、切り換え
回路Bに転送する部分である。切り換え回路Aは、切り
換えタイミング検出回路1から転送されてくるSEL信
号によって、周波数8MHzの基準クロックE8MCL
Kと、8KHzの基準クロックE8KCLKから、どち
らか一方を選択して位相比較回路2に供給する部分であ
る。
The switching timing detecting circuit 1 includes a counter 5 for generating a frequency 8M generated based on the output of the VCO 4.
This section generates a selection signal (hereinafter, referred to as a SEL signal) for controlling clock switching timing from the internal clock I8MCLK of 8 Hz and the internal clock I8KCLK of 8 KHz. Further, the switching timing detection circuit 1 is a part for transferring the SEL signal to the switching circuit A and the switching circuit B. The switching circuit A uses the SEL signal transferred from the switching timing detection circuit 1 to generate a reference clock E8MCL having a frequency of 8 MHz.
This is a part that selects one of K and the reference clock E8KCLK of 8 KHz and supplies it to the phase comparison circuit 2.

【0012】切り換え回路Bは、切り換えタイミング検
出回路1から転送されてくるSEL信号によって、周波
数8MHzの内部クロックI8MCLKと、8KHzの
内部クロックI8KCLKから、どちらか一方を選択し
て位相比較回路2に供給する部分である。位相比較回路
2は、それぞれ、切り換え回路Aと、切り換え回路Bか
ら供給される、基準クロックE8MCLKと、内部クロ
ックI8MCLK、または、基準クロックE8KCLK
と、内部クロックI8KCLK、の位相を比較してその
差分をUPパルス又はDOWNパルスとしてLPF3に
供給する部分である。
The switching circuit B selects one of an internal clock I8MCLK having a frequency of 8 MHz and an internal clock I8KCLK having a frequency of 8 KHz based on the SEL signal transferred from the switching timing detection circuit 1 and supplies it to the phase comparison circuit 2. This is the part to do. The phase comparison circuit 2 receives the reference clock E8MCLK, the internal clock I8MCLK, or the reference clock E8KCLK supplied from the switching circuits A and B, respectively.
And a phase which compares the phase of the internal clock I8KCLK and supplies the difference to the LPF 3 as an UP pulse or a DOWN pulse.

【0013】LPF3は、位相比較回路2から供給され
るUPパルス、又はDOWNパルスを平滑化し、制御電
圧に変換してVCO4に供給する部分である。VCO4
は、LPF3の出力する制御電圧によって特定周波数
(ここでは説明の都合上、例えば16MHzに固定す
る)近傍の出力VCOCLKを発振出力する電圧制御発
振器である。その出力をカウンタ8に供給する部分でも
ある。カウンタ5は、出力VCOCLKを分周または、
逓倍して内部クロックI8MCLKと内部クロックI8
KCLKを生成する部分である。
The LPF 3 is a part for smoothing an UP pulse or a DOWN pulse supplied from the phase comparison circuit 2, converting the UP pulse or the DOWN pulse into a control voltage, and supplying the control voltage to the VCO 4. VCO4
Is a voltage controlled oscillator that oscillates and outputs an output VCOCLK near a specific frequency (here, for example, fixed to 16 MHz for convenience of explanation) by the control voltage output from the LPF 3. It is also a part for supplying the output to the counter 8. The counter 5 divides the output VCOCLK or
Multiplied by the internal clock I8MCLK and the internal clock I8
This is a part for generating KCLK.

【0014】〈具体例の動作〉図2は、動作説明図(そ
の1)である。基準クロックが内部クロックよりも進ん
でいる状態から同期確立に至る経過を説明する図であ
る。(a)は、内部クロックと選択基準信号(SELD
信号)の波形図である。上段は、8MHzの内部クロッ
クI8MCLK、中段は、8KHzの内部クロックI8
KCLK、下段は、選択基準信号(SELD信号)をそ
れぞれ表している。8MHzの内部クロックI8MCL
K、及び8KHzの内部クロックI8KCLKは、VC
O4(図1)の出力をカウンタ5が分周することによっ
て得られた信号である。
<Operation of Specific Example> FIG. 2 is an explanatory diagram (part 1) of the operation. FIG. 9 is a diagram for explaining a process from a state where a reference clock is ahead of an internal clock to a time when synchronization is established. (A) shows an internal clock and a selection reference signal (SELD).
FIG. 3 is a waveform diagram of a signal). The upper part is an 8 MHz internal clock I8MCLK, and the middle part is an 8 KHz internal clock I8MCLK.
The lower part of KCLK represents a selection reference signal (SELD signal). 8MHz internal clock I8MCL
K and the 8 KHz internal clock I8KCLK are VC
This is a signal obtained by dividing the output of O4 (FIG. 1) by the counter 5.

【0015】8KHzの内部クロックI8KCLKは、
8MHzの内部クロックI8MCLKの立上がりA1で
Lレベルになり、次の立上がりA2でHレベルになるパ
ルス信号である。SELD信号は、切り換えタイミング
検出回路1(図1)が、基準クロックと内部クロックの
位相差が一定範囲内に入ったことを検知するために、使
われるパルス信号である。8KHzの内部クロックI8
KCLKの立上がりエッジE2を中心にして±30nS
ecの間Hレベルになるパルス信号である。8KHzの
基準クロックE8KCLKの立上がりエッジC2が、
(c)のように、このSELD信号がHレベル、±30
nSecの間に位置している時は、切り換え回路Aは、
8MHzの基準クロックE8MCLKを選択する。同様
に、切り換え回路Bは、8MHzの内部クロックI8M
CLKを選択する。
The 8 KHz internal clock I8KCLK is
This is a pulse signal that goes low at the rising A1 of the internal clock I8MCLK of 8 MHz and goes high at the next rising A2. The SELD signal is a pulse signal used by the switching timing detection circuit 1 (FIG. 1) to detect that the phase difference between the reference clock and the internal clock falls within a certain range. 8KHz internal clock I8
± 30 ns around the rising edge E2 of KCLK
This is a pulse signal that goes high during ec. The rising edge C2 of the 8 KHz reference clock E8KCLK is
As shown in (c), this SELD signal is at H level, ± 30
When located between nSec, the switching circuit A
An 8 MHz reference clock E8MCLK is selected. Similarly, the switching circuit B has an internal clock I8M of 8 MHz.
Select CLK.

【0016】逆に、8KHzの基準クロックの立上がり
エッジC2が、(b)のように、このSELD信号がH
レベル、±30nSecの間に位置していない時は、切
り換え回路Aは、8KHzの基準クロックE8KCLK
を選択する。同様に、切り換え回路Bは、8KHzの内
部クロックI8KCLKを選択する。ここでは説明の都
合上SELD信号のHレベルを±30nSECに固定す
るが、この値はあくまで、電子交換機に求められる特性
仕様によって決定される値である。
Conversely, when the rising edge C2 of the 8 KHz reference clock is at the H level as shown in FIG.
When it is not located between the levels, ± 30 nSec, the switching circuit A outputs the 8 KHz reference clock E8KCLK.
Select Similarly, the switching circuit B selects the internal clock I8KCLK of 8 kHz. Here, the H level of the SELD signal is fixed to ± 30 nSEC for convenience of description, but this value is a value determined by the characteristic specifications required for the electronic exchange.

【0017】(b)は、基準クロックが進んでいる時の
波形図である。上段は、8MHzの基準クロック、中段
は、8KHzの基準クロック、をそれぞれ表している。
(a)と同様、8KHzの基準クロックは、8MHzの
基準クロックの立上がりA1でLレベルになり、次の立
上がりA2でHレベルになるパルス信号である。下段
は、位相比較回路2が検出するUPパルスの波形を表し
ている。
FIG. 3B is a waveform diagram when the reference clock is advanced. The upper part shows the reference clock of 8 MHz, and the middle part shows the reference clock of 8 KHz.
As in (a), the 8 KHz reference clock is a pulse signal that goes low at the rising A1 of the 8 MHz reference clock and goes high at the next rising A2. The lower part shows the waveform of the UP pulse detected by the phase comparison circuit 2.

【0018】(c)は、基準クロックと内部クロックが
近くなった時の波形図である。(a)と同様、8KHz
の基準クロックE8KCLKは、8MHzの基準クロッ
クE8MCLKの立上がりA1でLレベルになり、次の
立上がりA2でHレベルになるパルス信号である。下段
は、位相比較回路2が検出するUPパルスの波形を表し
ている。
FIG. 3C is a waveform diagram when the reference clock and the internal clock are close to each other. 8KHz as in (a)
Is a pulse signal that goes low at the rising edge A1 of the 8 MHz reference clock E8MCLK and goes high at the next rising edge A2. The lower part shows the waveform of the UP pulse detected by the phase comparison circuit 2.

【0019】(d)は、基準クロックと内部クロックが
同期に至る波形図である。1段目は、SEL信号、2段
目段は、内部比較クロック、3段目段は、基準比較クロ
ックをそれぞれ表している。位相比較回路2(図1)内
部での基準クロックと内部クロックが同期確立に至る様
子を表している。最下段は、位相比較回路2が検出する
UPパルスの波形を表している。以上、(a)〜(d)
は、縦軸にレベルの大きさ、横軸に時間を表している。
以下に同期切り換えの動作を図1と図2(a)〜(d)
を用いて、動作段階に別けて説明する。
FIG. 3D is a waveform diagram showing the synchronization between the reference clock and the internal clock. The first stage represents the SEL signal, the second stage represents the internal comparison clock, and the third stage represents the reference comparison clock. It shows how the reference clock and the internal clock in the phase comparison circuit 2 (FIG. 1) reach the establishment of synchronization. The bottom row shows the waveform of the UP pulse detected by the phase comparison circuit 2. As described above, (a) to (d)
Represents the level magnitude on the vertical axis and the time on the horizontal axis.
1 and 2 (a) to 2 (d) show the operation of synchronous switching.
The operation steps will be described separately using FIG.

【0020】いま仮に、具体例によるPLL回路(図
1)が、(a)なる内部クロックを生成していると時
に、基準クロック供給系統に何らかの外乱が発生したと
仮定する。クロック切り換えスイッチA(図1)を切り
換えて、別系統を通ってきた基準クロックE8MCLK
とE8KCLKをPLL回路(図1)に入力する。この
時点で、基準クロックE8KCLKの位相が、内部クロ
ックI8KCLKの位相に対して、(b)に示すように
t1Sec進んでいたと仮定する。この時の基準クロッ
クE8KCLKの立上がりエッジC2は、SELD信号
がHレベル、±30nSecの間に位置していないの
で、切り換え回路A、B(図1)は、それぞれ、基準ク
ロックE8KCLK、及び内部クロックI8KCLKを
選択している。
It is now assumed that some disturbance occurs in the reference clock supply system when the PLL circuit (FIG. 1) according to the specific example is generating the internal clock (a). By switching the clock changeover switch A (FIG. 1), the reference clock E8MCLK that has passed through another system
And E8KCLK are input to the PLL circuit (FIG. 1). At this time, it is assumed that the phase of the reference clock E8KCLK has advanced by t1Sec with respect to the phase of the internal clock I8KCLK as shown in FIG. At this time, since the rising edge C2 of the reference clock E8KCLK is not positioned between the SELD signal of H level and ± 30 nSec, the switching circuits A and B (FIG. 1) respectively operate the reference clock E8KCLK and the internal clock I8KCLK. Is selected.

【0021】S−1.位相比較回路2(図1)は、
(a)下段の内部クロックI8KCLKと(b)中段の
基準クロックE8KCLKを比較する。その時間差t1
の間(b)下段のUPパルスをLPF3(図1)に出力
する。LPF3(図1)は、UPパルス、を平滑化し、
制御電圧に変換してVCO4(図1)に供給する。S−
2.制御電圧を印加されたVCO4(図1)は、その制
御電圧に応じて発振周波数を上げる。VCO4(図1)
の出力は、カウンタ5(図1)、切り換え回路B(図
1)を通って位相比較回路2(図1)に帰還される。そ
の結果(a)と(b)のタイミング相関は矢印R1の方
向に変化して((b)全体が矢印R1の方向に移動す
る)、ついには(a)と(c)の相関関係になる。
(a)下段の内部クロックI8KCLKと(c)中段の
基準クロックE8KCLKの時間差t1は、どんどん狭
まる。ついには、(c)に示すt2Secになる。
(c)下段のUPパルスも小さくなり、平滑化した制御
電圧も小さくなる。その結果(b)全体が矢印R1の方
向に移動する速度も小さくなる。
S-1. The phase comparison circuit 2 (FIG. 1)
(A) The lower stage internal clock I8KCLK is compared with (b) the middle stage reference clock E8KCLK. The time difference t1
During the period (b), the lower-stage UP pulse is output to the LPF 3 (FIG. 1). LPF3 (FIG. 1) smoothes the UP pulse,
The voltage is converted into a control voltage and supplied to the VCO 4 (FIG. 1). S-
2. The VCO 4 (FIG. 1) to which the control voltage is applied increases the oscillation frequency according to the control voltage. VCO4 (Fig. 1)
Is fed back to the phase comparison circuit 2 (FIG. 1) through the counter 5 (FIG. 1) and the switching circuit B (FIG. 1). As a result, the timing correlation between (a) and (b) changes in the direction of arrow R1 ((b) moves as a whole in the direction of arrow R1), and finally becomes the correlation between (a) and (c). .
The time difference t1 between the internal clock I8KCLK in the lower stage (a) and the reference clock E8KCLK in the middle stage (c) gradually narrows. Eventually, t2Sec shown in (c) is reached.
(C) The UP pulse in the lower stage also becomes smaller, and the smoothed control voltage also becomes smaller. As a result, the speed at which the whole (b) moves in the direction of arrow R1 also decreases.

【0022】S−3.時間差t2の時、基準クロックE
8KCLKの立上がりエッジC2が、(c)のように、
SELD信号のHレベル、±30nSecの間に入った
とする。この時、切り換えタイミング検出回路1(図
1)が、SEL信号をHレベルに切り換える(d)。そ
の結果切り換え回路A、B(図1)は、それぞれE8M
CLK、及びI8MCLKを選択して位相比較回路2
(図1)に供給する。(d)に位相比較回路2が位相比
較する波形を表している。タイミングTCまでは、内部
クロックI8KCLKと基準クロックE8KCLKを比
較しているが、タイミングTC以降は、内部クロックI
8MCLKと基準クロックE8MCLKを比較する。
(d)は、その様子を表している。
S-3. At time difference t2, reference clock E
The rising edge C2 of 8KCLK is, as shown in FIG.
It is assumed that the signal has entered between the H level of the SELD signal and ± 30 nSec. At this time, the switching timing detection circuit 1 (FIG. 1) switches the SEL signal to the H level (d). As a result, the switching circuits A and B (FIG. 1)
CLK and I8MCLK to select the phase comparison circuit 2
(FIG. 1). (D) shows a waveform that the phase comparison circuit 2 compares the phases. Until timing TC, the internal clock I8KCLK is compared with the reference clock E8KCLK.
8MCLK and the reference clock E8MCLK are compared.
(D) shows the situation.

【0023】S−4.タイミングTC以降、位相比較回
路2は、内部クロックI8MCLKと基準クロックE8
MCLKを比較する。タイミングTCでは、基準クロッ
クE8MCLKが内部クロックI8MCLKよりもま
だ、t3Sec進んでいる。その時間差t3の間UPパ
ルスをLPF3(図1)に出力する。LPF3(図1)
は、UPパルス、を平滑化し、制御電圧に変換してVC
O4(図1)に供給する。
S-4. After the timing TC, the phase comparison circuit 2 sets the internal clock I8MCLK and the reference clock E8
Compare MCLK. At the timing TC, the reference clock E8MCLK is ahead of the internal clock I8MCLK by t3Sec. During the time difference t3, an UP pulse is output to LPF3 (FIG. 1). LPF3 (Fig. 1)
Smoothes the UP pulse, converts it into a control voltage, and
O4 (FIG. 1).

【0024】S−5.UPパルス、を平滑化し、制御電
圧を印加されたVCO4(図1)は、その制御電圧に応
じて発振周波数をあげる。VCO4(図1)の出力は、
カウンタ5(図1)、切り換え回路B(図1)を通って
位相比較回路2(図1)に帰還される。その結果(d)
上段の内部クロックI8MCLKと、下段の基準クロッ
クE8MCLKのタイミング相関関係は矢印R2の方向
に変化して((d)の3段目の波形全体が矢印R2の方
向に移動する)、時間差t3Secは、どんどん狭ま
り、ついには、タイミングTNで一致する。
S-5. The VCO 4 (FIG. 1) to which the UP pulse is smoothed and to which the control voltage is applied increases the oscillation frequency in accordance with the control voltage. The output of VCO4 (FIG. 1)
The signal is fed back to the phase comparison circuit 2 (FIG. 1) through the counter 5 (FIG. 1) and the switching circuit B (FIG. 1). Result (d)
The timing correlation between the internal clock I8MCLK in the upper stage and the reference clock E8MCLK in the lower stage changes in the direction of arrow R2 (the entire waveform of the third stage in (d) moves in the direction of arrow R2), and the time difference t3Sec is: The width gradually narrows and finally coincides at the timing TN.

【0025】次に、入力スイッチ(図1)を切り換えた
時に、基準クロックE8KCLKの位相が内部クロック
I8KCLKの位相が、t1Sec遅れていた場合につ
いて説明する。図3は、動作説明図(その2)である。
基準クロックが内部クロックよりも遅れている状態から
同期確立に至る経過を説明する図である。
Next, a case where the phase of the reference clock E8KCLK is delayed by t1Sec from the phase of the internal clock I8KCLK when the input switch (FIG. 1) is switched will be described. FIG. 3 is an operation explanatory view (2).
FIG. 7 is a diagram for explaining a process from a state where a reference clock is delayed from an internal clock to a time when synchronization is established.

【0026】(a)は、内部クロックと選択基準信号
(SELD信号)の波形図である。上段は、8MHzの
内部クロックI8MCLK、中段は、8KHzの内部ク
ロックI8KCLK、下段は、選択基準信号(SELD
信号)をそれぞれ表している。8MHzの内部クロック
I8MCLK、及び8KHzの内部クロックI8KCL
Kは、VCO4(図1)の出力をカウンタ5が分周する
ことによって得られた信号である。
FIG. 3A is a waveform diagram of an internal clock and a selection reference signal (SELD signal). The upper part is an internal clock I8MCLK of 8 MHz, the middle part is an internal clock I8KCLK of 8 kHz, and the lower part is a selection reference signal (SELD).
Signal). 8 MHz internal clock I8MCLK and 8 KHz internal clock I8KCL
K is a signal obtained by dividing the output of the VCO 4 (FIG. 1) by the counter 5.

【0027】8KHzの内部クロックI8KCLKは、
8MHzの内部クロックI8MCLKの立上がりA1で
Lレベルになり、次の立上がりA2でHレベルになるパ
ルス信号である。SELD信号は、切り換えタイミング
検出回路1(図1)が、基準クロックと内部クロックの
位相差が一定範囲内に入ったことを検知するために、使
われるパルス信号である。8KHzの内部クロックI8
KCLKの立上がりエッジE2を中心にして±30nS
ecの間Hレベルになるパルス信号である。8KHzの
基準クロックE8KCLKの立上がりエッジC2が、
(c)のように、このSELD信号がHレベル、±30
nSecの間に位置している時は、切り換え回路Aは、
8MHzの基準クロックE8MCLKを選択する。同様
に、切り換え回路Bは、8MHzの内部クロックI8M
CLKを選択する。
The 8 KHz internal clock I8KCLK is
This is a pulse signal that goes low at the rising A1 of the internal clock I8MCLK of 8 MHz and goes high at the next rising A2. The SELD signal is a pulse signal used by the switching timing detection circuit 1 (FIG. 1) to detect that the phase difference between the reference clock and the internal clock falls within a certain range. 8KHz internal clock I8
± 30 ns around the rising edge E2 of KCLK
This is a pulse signal that goes high during ec. The rising edge C2 of the 8 KHz reference clock E8KCLK is
As shown in (c), this SELD signal is at H level, ± 30
When located between nSec, the switching circuit A
An 8 MHz reference clock E8MCLK is selected. Similarly, the switching circuit B has an internal clock I8M of 8 MHz.
Select CLK.

【0028】逆に、8KHzの基準クロックの立上がり
エッジC2が、(b)のように、このSELD信号がH
レベル、±30nSecの間に位置していない時は、切
り換え回路Aは、8KHzの基準クロックE8KCLK
を選択する。同様に、切り換え回路Bは、8KHzの内
部クロックI8KCLKを選択する。ここでは説明の都
合上SELD信号のHレベルを±30nSECに固定す
るが、この値はあくまで、電子交換機に求められる特性
仕様によって決定される値である。
Conversely, when the rising edge C2 of the 8 KHz reference clock is at the H level as shown in FIG.
When it is not located between the levels, ± 30 nSec, the switching circuit A outputs the 8 KHz reference clock E8KCLK.
Select Similarly, the switching circuit B selects the internal clock I8KCLK of 8 kHz. Here, the H level of the SELD signal is fixed to ± 30 nSEC for convenience of description, but this value is a value determined by the characteristic specifications required for the electronic exchange.

【0029】(b)は、基準クロックが遅れている時の
波形図である。上段は、8MHzの基準クロック、中段
は、8KHzの基準クロック、をそれぞれ表している。
(a)と同様、8KHzの基準クロックは、8MHzの
基準クロックの立上がりA1でLレベルになり、次の立
上がりA2でHレベルになるパルス信号である。下段
は、位相比較回路2が検出するDOWNパルスの波形を
表している。
FIG. 3B is a waveform diagram when the reference clock is delayed. The upper part shows the reference clock of 8 MHz, and the middle part shows the reference clock of 8 KHz.
As in (a), the 8 KHz reference clock is a pulse signal that goes low at the rising A1 of the 8 MHz reference clock and goes high at the next rising A2. The lower part shows the waveform of the DOWN pulse detected by the phase comparison circuit 2.

【0030】(c)は、基準クロックと内部クロックが
近くなった時の波形図である。(a)と同様、8KHz
の基準クロックE8KCLKは、8MHzの基準クロッ
クE8MCLKの立上がりA1でLレベルになり、次の
立上がりA2でHレベルになるパルス信号である。下段
は、位相比較回路2が検出するDOWNパルスの波形を
表している。
FIG. 3C is a waveform diagram when the reference clock and the internal clock are close to each other. 8KHz as in (a)
Is a pulse signal that goes low at the rising edge A1 of the 8 MHz reference clock E8MCLK and goes high at the next rising edge A2. The lower part shows the waveform of the DOWN pulse detected by the phase comparison circuit 2.

【0031】(d)は、基準クロックと内部クロックが
同期に至る波形図である。1段目は、SEL信号、2段
目は、内部比較クロック、3段目は、基準比較クロック
をそれぞれ表している。位相比較回路2(図1)内部で
の基準クロックと内部クロックが同期確立に至る様子を
表している。最下段は、位相比較回路2が検出するUP
パルスの波形を表している。以上、(a)〜(d)は、
縦軸にレベルの大きさ、横軸に時間を表している。以下
に同期切り換えの動作を図1と図2(a)〜(d)を用
いて、動作段階に別けて説明する。
FIG. 3D is a waveform diagram showing the synchronization between the reference clock and the internal clock. The first row shows the SEL signal, the second row shows the internal comparison clock, and the third row shows the reference comparison clock. It shows how the reference clock and the internal clock in the phase comparison circuit 2 (FIG. 1) reach the establishment of synchronization. The bottom row shows the UP detected by the phase comparison circuit 2.
This shows a pulse waveform. As described above, (a) to (d)
The vertical axis represents the magnitude of the level, and the horizontal axis represents the time. The operation of the synchronous switching will be described below with reference to FIG. 1 and FIGS.

【0032】いま仮に、具体例によるPLL回路(図
1)が、(a)なる内部クロックを生成していると時
に、基準クロック供給系統に何らかの外乱が発生したと
仮定する。クロック切り換えスイッチA(図1)を切り
換えて、別系統を通ってきた基準クロックE8MCLK
とE8KCLKをPLL回路(図1)に入力する。この
時点で、基準クロックE8KCLKの位相が、内部クロ
ックI8KCLKの位相に対して、(b)に示すように
t1Sec遅れていたと仮定する。この時の基準クロッ
クE8KCLKの立上がりエッジC2は、SELD信号
がHレベル、±30nSecの間に位置していないの
で、切り換え回路A、B(図1)は、それぞれ、基準ク
ロックE8KCLK、及び内部クロックI8KCLKを
選択している。
It is now assumed that some disturbance occurs in the reference clock supply system when the PLL circuit (FIG. 1) according to the specific example is generating the internal clock (a). By switching the clock changeover switch A (FIG. 1), the reference clock E8MCLK that has passed through another system
And E8KCLK are input to the PLL circuit (FIG. 1). At this point, it is assumed that the phase of the reference clock E8KCLK lags behind the phase of the internal clock I8KCLK by t1Sec as shown in FIG. At this time, since the rising edge C2 of the reference clock E8KCLK is not positioned between the SELD signal of H level and ± 30 nSec, the switching circuits A and B (FIG. 1) respectively operate the reference clock E8KCLK and the internal clock I8KCLK. Is selected.

【0033】s−1.位相比較回路2(図1)は、
(a)下段の内部クロックI8KCLKと(b)中段の
基準クロックE8KCLKを比較する。その時間差t1
の間(b)下段のDOWNパルスをLPF3(図1)に
出力する。LPF3(図1)は、DOWNパルス、を平
滑化し、制御電圧に変換してVCO4(図1)に供給す
る。
S-1. The phase comparison circuit 2 (FIG. 1)
(A) The lower stage internal clock I8KCLK is compared with (b) the middle stage reference clock E8KCLK. The time difference t1
During the period (b), the DOWN pulse at the lower stage is output to the LPF 3 (FIG. 1). The LPF 3 (FIG. 1) smoothes the DOWN pulse, converts it into a control voltage, and supplies it to the VCO 4 (FIG. 1).

【0034】s−2.制御電圧を印加されたVCO4
(図1)は、その制御電圧に応じて発振周波数を下げ
る。VCO4(図1)の出力は、カウンタ5(図1)、
切り換え回路B(図1)を通って位相比較回路2(図
1)に帰還される。その結果(a)と(b)のタイミン
グ相関は矢印L1の方向に変化して((b)全体が矢印
L1の方向に移動する)、ついには(a)と(c)の相
関関係になる。(a)下段の内部クロックI8KCLK
と(c)中段の基準クロックE8KCLKの時間差t1
は、どんどん狭まる。ついには、(c)に示すt2Se
cになる。(c)下段のDOWNパルスも小さくなり、
平滑化した制御電圧も小さくなる。その結果(b)全体
が矢印L1の方向に移動する速度も小さくなる。
S-2. VCO4 with control voltage applied
(FIG. 1) lowers the oscillation frequency according to the control voltage. The output of VCO 4 (FIG. 1) is a counter 5 (FIG. 1),
The signal is fed back to the phase comparison circuit 2 (FIG. 1) through the switching circuit B (FIG. 1). As a result, the timing correlation between (a) and (b) changes in the direction of arrow L1 ((b) moves in the direction of arrow L1), and finally becomes the correlation between (a) and (c). . (A) Lower internal clock I8KCLK
And (c) the time difference t1 between the middle stage reference clock E8KCLK.
Narrows steadily. Finally, t2Se shown in (c)
c. (C) The DOWN pulse in the lower stage also becomes smaller,
The smoothed control voltage also decreases. As a result, the speed at which the whole (b) moves in the direction of arrow L1 also decreases.

【0035】s−3.時間差t2の時、基準クロックE
8KCLKの立上がりエッジC2が、(c)のように、
SELD信号のHレベル、±30nSecの間に入った
とする。この時、切り換えタイミング検出回路1(図
1)が、SEL信号をHレベルに切り換える(d)。そ
の結果切り換え回路A、B(図1)は、それぞれE8M
CLK、及びI8MCLKを選択して位相比較回路2
(図1)に供給する。(d)に位相比較回路2が位相比
較する波形を表している。タイミングTCまでは、内部
クロックI8KCLKと基準クロックE8KCLKを比
較しているが、タイミングTC以降は、内部クロックI
8MCLKと基準クロックE8MCLKを比較する。
(d)は、その様子を表している。
S-3. At time difference t2, reference clock E
The rising edge C2 of 8KCLK is, as shown in FIG.
It is assumed that the signal has entered between the H level of the SELD signal and ± 30 nSec. At this time, the switching timing detection circuit 1 (FIG. 1) switches the SEL signal to the H level (d). As a result, the switching circuits A and B (FIG. 1)
CLK and I8MCLK to select the phase comparison circuit 2
(FIG. 1). (D) shows a waveform that the phase comparison circuit 2 compares the phases. Until timing TC, the internal clock I8KCLK is compared with the reference clock E8KCLK.
8MCLK and the reference clock E8MCLK are compared.
(D) shows the situation.

【0036】s−4.タイミングTC以降、位相比較回
路2は、内部クロックI8MCLKと基準クロックE8
MCLKを比較する。タイミングTCでは、基準クロッ
クE8MCLKが内部クロックI8MCLKよりもま
だ、t3Sec遅れている。その時間差t3の間DOW
NパルスをLPF3(図1)に出力する。LPF3(図
1)は、DOWNパルス、を平滑化し、制御電圧に変換
してVCO4(図1)に供給する。
S-4. After the timing TC, the phase comparison circuit 2 sets the internal clock I8MCLK and the reference clock E8
Compare MCLK. At the timing TC, the reference clock E8MCLK is still behind the internal clock I8MCLK by t3Sec. DOW for the time difference t3
An N pulse is output to LPF3 (FIG. 1). The LPF 3 (FIG. 1) smoothes the DOWN pulse, converts it into a control voltage, and supplies it to the VCO 4 (FIG. 1).

【0037】s−5.制御電圧を印加されたVCO4
(図1)は、その制御電圧に応じて発振周波数を下げ
る。VCO4(図1)の出力は、カウンタ5(図1)、
切り換え回路B(図1)を通って位相比較回路2(図
1)に帰還される。その結果(d)上段の内部クロック
I8MCLKと、下段の基準クロックE8MCLKのタ
イミング相関関係は矢印L2の方向に変化して((d)
の3段目の波形全体が矢印L2の方向に移動する)、時
間差t3Secは、どんどん狭まり、ついには、タイミ
ングTNで一致する。
S-5. VCO4 with control voltage applied
(FIG. 1) lowers the oscillation frequency according to the control voltage. The output of VCO 4 (FIG. 1) is a counter 5 (FIG. 1),
The signal is fed back to the phase comparison circuit 2 (FIG. 1) through the switching circuit B (FIG. 1). As a result, the timing correlation between the internal clock I8MCLK in the upper stage and the reference clock E8MCLK in the lower stage changes in the direction of the arrow L2 ((d)).
The entire third-stage waveform moves in the direction of the arrow L2), and the time difference t3Sec gradually narrows and finally coincides with the timing TN.

【0038】以上、基準クロック供給系統に何らかの外
乱が発生した時に、クロック切り換えスイッチS(図
1)を切り換えて、別系統を通ってきた基準クロックに
同期させるまでの動作に限って説明した。しかし、この
動作は、別系統を通ってきた基準クロックに同期切り換
えする時のみの動作に限るものではない。同一系統内
で、何らかの状況変化によって、一時的に、クロック欠
落等が発生した場合にも適用可能である。仮にクロック
欠落が発生したと仮定する。この時、基準クロックE8
KCLKの立上がりエッジC2が、SELD信号がHレ
ベル、±30nSecの間から外れることになる。
The above description has been limited to the operation up to synchronizing with the reference clock that has passed through another system by switching the clock changeover switch S (FIG. 1) when any disturbance occurs in the reference clock supply system. However, this operation is not limited to the operation only when switching synchronously to the reference clock that has passed through another system. The present invention can also be applied to a case where a clock loss or the like occurs temporarily due to some situation change in the same system. Assume that a clock drop has occurred. At this time, the reference clock E8
The rising edge C2 of KCLK deviates from the time when the SELD signal is at the H level and ± 30 nSec.

【0039】従って、切り換え回路A、B(図1)は、
再度、それぞれ、基準クロックE8KCLK、及び内部
クロックI8KCLKを選択する。以下、S−1〜S−
5、又は、s−1〜s−5の経過をたどって、別系統へ
の同期切り換えをすることなく同期確立に至る。
Therefore, the switching circuits A and B (FIG. 1)
Again, the reference clock E8KCLK and the internal clock I8KCLK are selected respectively. Hereinafter, S-1 to S-
5 or s-1 to s-5, the synchronization is established without switching the synchronization to another system.

【0040】また、同期確立に至る動作を内部クロック
I8KCLKの位相が、図2(b)に示すように基準ク
ロックE8KCLKの位相よりも遅れている場合と、そ
の逆に、図3(b)に示すように進んでいる場合を別々
に説明した。この2つの動作を別々にではなく、同期確
立に至る1回の動作の中で交互に適応させることによっ
て、より正確な同期確立を得ることができる。
The operation leading to the establishment of the synchronization is performed when the phase of the internal clock I8KCLK lags behind the phase of the reference clock E8KCLK as shown in FIG. 2B, and conversely, in FIG. The case where it is proceeding as shown is described separately. By applying these two operations not separately but alternately in one operation leading to synchronization establishment, more accurate synchronization establishment can be obtained.

【0041】また、説明の都合上、電子交換機用に限っ
て説明したが、これに限る必要はない。例えばフレーム
とそのフレームを構成しているビット等、2重の同期が
必要とされる装置(例えば電子交換機)には、好適であ
る。
Further, for convenience of explanation, the explanation has been made only for the electronic exchange, but the invention is not limited to this. For example, the present invention is suitable for an apparatus (for example, an electronic exchange) that requires double synchronization, such as a frame and bits constituting the frame.

【0042】更に、説明の都合上2重の同期に限って説
明したが、2重の同期に限る必要はない。周波数の異な
る複数の基準クロックと、複数の選択基準信号を構成す
ることにより、2重に限らず多重同期用PLL回路をえ
ることも可能である。例えば、1フレームが複数のブロ
ックにより構成され、そのブロックがそれぞれ数ビット
のデータにより構成されているような場合に、まず、フ
レームクロックに同期させ、次にブロッククロックに同
期させ、さらにビットクロックに同期させるといった制
御を行うこともできる。具体例を2重の同期制御とすれ
ば、この例は3重の同期制御である。こうした3重以上
の制御にも、本発明を適用することができる。
Furthermore, for the sake of explanation, the description has been made only for double synchronization, but it is not necessary to limit to double synchronization. By configuring a plurality of reference clocks having different frequencies and a plurality of selection reference signals, it is possible to obtain a PLL circuit for multiplex synchronization, not limited to double. For example, when one frame is composed of a plurality of blocks, each of which is composed of several bits of data, first synchronize with a frame clock, then synchronize with a block clock, and further synchronize with a bit clock. Control such as synchronization can also be performed. If a specific example is double synchronous control, this example is triple synchronous control. The present invention can be applied to such a triple or more control.

【0043】[0043]

【発明の効果】周波数の異なる複数の基準クロックと、
そのクロック切り換えのタイミングを制御する、複数の
選択基準信号を構成するならば、以下の効果を得ること
ができる。 1.上位装置からのクロック供給経路に、異状が発生し
た場合、フレーム位相の、位相ずれを起こさずに、クロ
ック供給経路を切り換えることが可能になる。 2.上位装置から供給されるクロックに、一時的にクロ
ック欠落等が発生した場合、クロック供給経路を変更す
ることなく、かつフレーム位相の位相ずれなしに、再び
同期確立することが可能になる。
A plurality of reference clocks having different frequencies,
If a plurality of selection reference signals for controlling the clock switching timing are formed, the following effects can be obtained. 1. When an abnormality occurs in the clock supply path from the host device, the clock supply path can be switched without causing a phase shift of the frame phase. 2. In the case where the clock supplied from the higher-level device temporarily loses clock or the like, it is possible to re-establish synchronization without changing the clock supply path and without shifting the frame phase.

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

【図1】具体例のブロック図である。FIG. 1 is a block diagram of a specific example.

【図2】動作説明図(その1)である。FIG. 2 is an operation explanatory diagram (1).

【図3】動作説明図(その2)である。FIG. 3 is an operation explanatory view (2).

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

1 切り換えタイミング検出回路 2 位相比較回路 3 ローパスフィルタ 4 電圧制御発振器 5 カウンタ A,B 切り換え回路 S クロック切り換えスイッチ 1 switching timing detection circuit 2 phase comparison circuit 3 low pass filter 4 voltage controlled oscillator 5 counter A, B switching circuit S clock switching switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 フレーム構成された伝送信号を受け入れ
る位相ロックループ回路(以後PLL回路と記す)と、 前記伝送信号のフレーム同期の基準になるフレームクロ
ックと、フレーム内部のビット同期の基準になるビット
クロックとを受け入れて、そのいずれか一方を前記PL
L回路に供給する切り換え回路と、 始めに前記切り換え回路が前記フレームクロックを前記
PLL回路に入力して、PLL回路がそのフレームクロ
ックに同期した内部クロックを生成したことを検出する
と、前記切り換え回路が前記ビットクロックを前記PL
L回路に入力するように、PLL回路への入力信号の切
り換えを制御する切り換えタイミング検出回路を備えた
ことを特徴とするクロック発生回路。
1. A phase locked loop circuit (hereinafter, referred to as a PLL circuit) for receiving a transmission signal having a frame structure, a frame clock serving as a reference for frame synchronization of the transmission signal, and a bit serving as a reference for bit synchronization in a frame. Clock, and either one of them is
A switching circuit for supplying to the L circuit; first, when the switching circuit inputs the frame clock to the PLL circuit and detects that the PLL circuit has generated an internal clock synchronized with the frame clock, the switching circuit The bit clock to the PL
A clock generation circuit comprising: a switching timing detection circuit that controls switching of an input signal to a PLL circuit so as to input to an L circuit.
【請求項2】 請求項2に記載のクロック発生回路にお
いて、 切り換え回路がビットクロックをPLL回路に入力し
て、PLL回路がそのビットクロックに同期した内部ク
ロックを生成するように動作しているとき、PLL回路
が生成する内部クロックを監視して、その内部クロック
と前記ビットクロックとの位相差が所定値を越えたと
き、前記切り換え回路がフレームクロックを前記PLL
回路に入力するように、PLL回路への入力信号の切り
換えを制御する、切り換えタイミング検出回路を備えた
ことを特徴とするクロック発生回路。
2. The clock generation circuit according to claim 2, wherein the switching circuit inputs a bit clock to the PLL circuit, and the PLL circuit operates to generate an internal clock synchronized with the bit clock. , The internal clock generated by the PLL circuit is monitored, and when the phase difference between the internal clock and the bit clock exceeds a predetermined value, the switching circuit switches the frame clock to the PLL.
A clock generation circuit, comprising: a switching timing detection circuit that controls switching of an input signal to a PLL circuit so as to input to a circuit.
【請求項3】 基準クロックを受け入れて、その基準ク
ロックに同期した周波数の内部クロックを生成するPL
L回路と、 それぞれ繰り返し周波数の異なる複数の基準クロックを
受け入れて、そのうちのいずれかの基準クロックを選択
して前記PLL回路に供給する切り換え回路と、 始めに、前記切り換え回路が最も繰り返し周波数の低い
基準クロックを前記PLL回路に供給して、PLL回路
がその基準クロックに同期した内部クロックを生成した
ことを検出すると、前記切り換え回路がその基準クロッ
クよりも繰り返し周波数の高い基準クロックを前記PL
L回路に供給するように、PLL回路への入力信号の切
り換えを制御し、 切り換え回路が任意の基準クロックをPLL回路に供給
して、PLL回路がその基準クロックに同期した内部ク
ロックを生成するように動作しているとき、PLL回路
が生成する内部クロックを監視して、その内部クロック
と前記基準クロックとの位相差が所定値を越えたとき、
前記切り換え回路がより繰り返し周波数の低い基準クロ
ックを前記PLL回路に供給するように、PLL回路へ
供給する信号の切り換えを制御する、切り換えタイミン
グ検出回路を備えたことを特徴とするクロック発生回
路。
3. A PL that receives a reference clock and generates an internal clock having a frequency synchronized with the reference clock.
An L circuit, a switching circuit that receives a plurality of reference clocks each having a different repetition frequency, selects one of the reference clocks, and supplies the selected reference clock to the PLL circuit. When the reference circuit supplies a reference clock to the PLL circuit and detects that the PLL circuit has generated an internal clock synchronized with the reference clock, the switching circuit outputs the reference clock having a higher repetition frequency than the reference clock to the PLL circuit.
The switching circuit controls the switching of the input signal to the PLL circuit so as to supply the L circuit, and the switching circuit supplies an arbitrary reference clock to the PLL circuit so that the PLL circuit generates an internal clock synchronized with the reference clock. When the internal clock generated by the PLL circuit is monitored and the phase difference between the internal clock and the reference clock exceeds a predetermined value,
A clock generation circuit, comprising: a switching timing detection circuit that controls switching of a signal supplied to a PLL circuit so that the switching circuit supplies a reference clock having a lower repetition frequency to the PLL circuit.
JP9334952A 1997-11-19 1997-11-19 Clock generating circuit Pending JPH11154940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9334952A JPH11154940A (en) 1997-11-19 1997-11-19 Clock generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9334952A JPH11154940A (en) 1997-11-19 1997-11-19 Clock generating circuit

Publications (1)

Publication Number Publication Date
JPH11154940A true JPH11154940A (en) 1999-06-08

Family

ID=18283079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9334952A Pending JPH11154940A (en) 1997-11-19 1997-11-19 Clock generating circuit

Country Status (1)

Country Link
JP (1) JPH11154940A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010054202A (en) * 1999-12-03 2001-07-02 박종섭 Device and method for selecting reference clock for network synchronizing reference clock generation in mobile switching center
JP2007049345A (en) * 2005-08-09 2007-02-22 Ricoh Co Ltd Clock generation circuit
CN116193044A (en) * 2023-04-28 2023-05-30 深圳市微智体技术有限公司 Method, device, equipment and medium for synchronously displaying multiple image frames

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010054202A (en) * 1999-12-03 2001-07-02 박종섭 Device and method for selecting reference clock for network synchronizing reference clock generation in mobile switching center
JP2007049345A (en) * 2005-08-09 2007-02-22 Ricoh Co Ltd Clock generation circuit
JP4520380B2 (en) * 2005-08-09 2010-08-04 株式会社リコー Clock generation circuit
CN116193044A (en) * 2023-04-28 2023-05-30 深圳市微智体技术有限公司 Method, device, equipment and medium for synchronously displaying multiple image frames
CN116193044B (en) * 2023-04-28 2023-08-15 深圳市微智体技术有限公司 Method, device, equipment and medium for synchronously displaying multiple image frames

Similar Documents

Publication Publication Date Title
US5373254A (en) Method and apparatus for controlling phase of a system clock signal for switching the system clock signal
JP2924773B2 (en) Phase synchronization system
JPH11154940A (en) Clock generating circuit
JPH09307432A (en) Pll circuit
JP3011139B2 (en) System switching method
JP3253514B2 (en) Clock generation circuit in PLL circuit
JP2776334B2 (en) Phase locked loop
JP2979811B2 (en) Clock output circuit
KR100560434B1 (en) Apparatus for providing system clock synchronized to network universally
JPS59202736A (en) Phase locked loop circuit
JPH05300008A (en) Pll circuit
JPH0832567A (en) Synchronization changeover method for plural signal systems using pll
KR101408919B1 (en) Apparatus and method for frame synchronization tracking in communication system
JPH07273648A (en) Pll circuit
JPH08335932A (en) Inter-station clock synchronization circuit
JPH1188312A (en) Clock signal generation circuit and communication system
JPH0983360A (en) Pll circuit
JPH114362A (en) Clock recovery circuit
JP2001077690A (en) Device and method for supplying clock
JP2003198430A (en) Clock generator
JPH10271102A (en) Clock switching circuit
JP2001044979A (en) Clock distribution circuit
JP2006222879A (en) Multiple phase clock generation circuit
JPH07162403A (en) Phase locked loop circuit
JP2003051745A (en) Pll circuit