[go: up one dir, main page]

JPH05136661A - Clock synchronizer circuit - Google Patents

Clock synchronizer circuit

Info

Publication number
JPH05136661A
JPH05136661A JP3216633A JP21663391A JPH05136661A JP H05136661 A JPH05136661 A JP H05136661A JP 3216633 A JP3216633 A JP 3216633A JP 21663391 A JP21663391 A JP 21663391A JP H05136661 A JPH05136661 A JP H05136661A
Authority
JP
Japan
Prior art keywords
counter
controlled oscillator
fifo
clock
significant bit
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
JP3216633A
Other languages
Japanese (ja)
Inventor
Shinji Koike
新治 小池
Fujio Cho
冨士夫 長
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP3216633A priority Critical patent/JPH05136661A/en
Publication of JPH05136661A publication Critical patent/JPH05136661A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To control a voltage controlled oscillator by detecting a half flag representing whether a memory occupancy rate written in a FIFO is more or less than half the memory capacity. CONSTITUTION:As soon as a counter 8 is reset when a half flag (h) outputted from the FIFO 11, the counter 8 is counted and a most significant bit (i) of the count result is outputted to the control circuit 9. The control circuit 9 outputs a voltage depending on a level as to whether or not the most significant bit (i) is outputted, thereby varying the oscillating frequency of a voltage controlled oscillator 10.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は受信したクロックに同期
したクロックを発生させるクロック同期回路に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock synchronizing circuit for generating a clock synchronized with a received clock.

【0002】[0002]

【従来の技術】図1は従来のクロック同期回路を示す。
入力端子1に受信された伝送路クロックaはカウンタ2
に入力され、カウンタ2では伝送路クロックaを1/M
に分周した分周クロックbを作成する。電圧制御発振器
4の発振クロックcはカウンタ5へ入力し、ここで発振
クロックcを1/Nに分周した分周クロックdを作成す
る。分周クロックbおよび分周クロックdは位相比較器
3へ入力される。位相比較器3からは位相比較判定結果
により電圧制御発振器4を制御するための制御信号eを
作成し、LPF(ローパスフィルタ)6へ出力する。L
PF6では制御信号eの高周波成分を除去して制御電圧
fを作成し、この制御電圧fを電圧制御発振器4へ出力
する。電圧制御発振器4では制御電圧fにより発振周波
数が制御され伝送クロックaに同期した発振クロックc
を作成し、この発振クロックcをカウンタ5と出力端子
7へ出力する。
2. Description of the Related Art FIG. 1 shows a conventional clock synchronizing circuit.
The transmission line clock a received by the input terminal 1 is the counter 2
Is input to the counter 2 and the transmission path clock a is 1 / M in the counter 2.
The frequency-divided clock b is divided into. The oscillation clock c of the voltage controlled oscillator 4 is input to the counter 5, where the divided clock d is generated by dividing the oscillation clock c by 1 / N. The divided clock b and the divided clock d are input to the phase comparator 3. The phase comparator 3 creates a control signal e for controlling the voltage controlled oscillator 4 based on the phase comparison determination result, and outputs it to the LPF (low pass filter) 6. L
The PF 6 removes a high frequency component of the control signal e to create a control voltage f, and outputs the control voltage f to the voltage controlled oscillator 4. In the voltage controlled oscillator 4, the oscillation frequency c is controlled by the control voltage f and the oscillation clock c synchronized with the transmission clock a.
And outputs the oscillation clock c to the counter 5 and the output terminal 7.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこのよう
な従来の回路では、回路構成が複雑な位相比較器を用い
る必要があり、さらにこれに加えて、伝送路クロックと
電圧制御発振器の発振器出力を分周し最大公約数に相当
する周波数を得るために分周比の大きいカウンタが必要
であり、全体の回路構成が非常に複雑になるという欠点
があった。
However, in such a conventional circuit, it is necessary to use a phase comparator having a complicated circuit configuration, and in addition to this, the transmission line clock and the oscillator output of the voltage controlled oscillator are separated. In order to obtain a frequency corresponding to the greatest common divisor by dividing, a counter with a large frequency division ratio is required, and there is a drawback that the entire circuit configuration becomes very complicated.

【0004】[0004]

【課題を解決するための手段】本発明のクロック同期回
路は、書き込まれたデータのメモリ占有量がメモリ容量
の半分より上か下かを示すハーフフラグ(h)を出力する
FIFO(11)と、 ハーフフラグによりFIFOに書き
込まれたデータのメモリ占有量がメモリ容量の半分より
上であることを検出したとき、リセットされた後あらか
じめ定められた値をカウントしカウント結果の最上位ビ
ット(i)を出力するカウンタ(8)と、最上位ビットが出力
されたか否かにより異なる制御電圧(j)を出力する制御
回路(9)と、制御回路の制御電圧の変化によって発振周
波数が変化する電圧制御発振器(10)とから構成される。
The clock synchronization circuit of the present invention includes a FIFO (11) for outputting a half flag (h) indicating whether the memory occupation amount of written data is above or below half the memory capacity. , When the half flag detects that the memory occupancy of the data written in the FIFO is more than half of the memory capacity, the preset value is counted after reset and the most significant bit (i) of the count result (8), a control circuit (9) that outputs a different control voltage (j) depending on whether the most significant bit is output, and a voltage control that changes the oscillation frequency according to the change in the control voltage of the control circuit. It consists of an oscillator (10).

【0005】[0005]

【作用】伝送路クロック等をFIFOの書き込み端子に
入力し、電圧制御発振器の出力信号をFIFOの読み出
し端子に入力した場合、書き込んだFIFOのデータが
メモリ占有量が半分を越えないときは、電圧制御発振器
はある周波数で発振している。読み出し量より書き込み
量が多くて蓄積データ量が増え、FIFOのメモリ占有
量が半分を越えると、カウンタがリセットされた後にカ
ウントを開始する。カウンタのリセットにより最上位ビ
ットの出力がなくなり、電圧制御発振器は現在より高い
周波数で発振する。すると、FIFOは読み出し量が増
えるのでメモリ占有量が減少して行く。カウンタが一定
数をカウントすると最上位ビットが出力され、電圧制御
発振器は低い発振周波数に戻る。
When the transmission line clock and the like are input to the write terminal of the FIFO and the output signal of the voltage controlled oscillator is input to the read terminal of the FIFO, if the written data of the FIFO does not exceed half the memory occupation, The controlled oscillator oscillates at a certain frequency. When the writing amount is larger than the reading amount and the accumulated data amount increases, and the memory occupation amount of the FIFO exceeds half, counting is started after the counter is reset. By resetting the counter, the output of the most significant bit is lost, and the voltage controlled oscillator oscillates at a higher frequency than it is now. Then, since the read amount of the FIFO increases, the memory occupation amount decreases. When the counter counts a fixed number, the most significant bit is output and the voltage controlled oscillator returns to a low oscillation frequency.

【0006】[0006]

【実施例】次に、本発明を実施例により図面を用いて詳
細に説明する。図1に本発明の一実施例のブロック図を
示す。入力端子12から入力される伝送路クロックk
は、FIFO(ファーストイン・ファーストアウト回
路)11の書き込みクロック入力端子に入力される。一
方、電圧制御発振器(VCO)10の出力する発振器出
力gは、FIFO11の読みだしクロック入力端子に入
力される。FIFO11は、読み書きされているデータ
のメモリ占有量がメモリ容量の半分(50%)以下の時
はハイレベル、半分以上の時はローレベルとなるハーフ
フラグhをカウンタ8へ出力する。カウンタ8は、ハー
フフラグhの立ち下がりでリセットされ、しかる後に発
振器出力gをカウントし定められた一定のカウント数を
カウントした後、次のハーフフラグの立ち下がりがくる
まで停止している。一定数のカウントによりカウンタ8
の最上位ビットiは桁上げされてハイレベルの出力信号
になり、制御回路9へ出力される。この最上位ビットi
のハイレベルはそまま保持され、次のハーフフラグの立
ち下がりでリセットされるまで続く。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 shows a block diagram of an embodiment of the present invention. Transmission line clock k input from the input terminal 12
Are input to a write clock input terminal of a FIFO (first-in first-out circuit) 11. On the other hand, the oscillator output g output from the voltage controlled oscillator (VCO) 10 is input to the read clock input terminal of the FIFO 11. The FIFO 11 outputs to the counter 8 a half flag h which becomes high level when the memory occupancy of the data being read or written is half (50%) or less of the memory capacity, and becomes low level when it is more than half. The counter 8 is reset at the trailing edge of the half flag h, and after that, after counting the oscillator output g and counting a predetermined fixed number, it is stopped until the next trailing edge of the half flag. Counter 8 by counting a fixed number
The most significant bit i of is carried to a high level output signal and output to the control circuit 9. This most significant bit i
The high level of is maintained as it is and continues until it is reset at the next falling edge of the half flag.

【0007】図2には制御回路9の詳細を示す。制御回
路9はROM91およびディジタル・アナログコンバー
タ92より構成される。ROM91にはカウンタ8から
の最上位ビットiが入力される。ROM91では最上位
ビットiが1か0かによってディジタル・アナログコン
バータ92へ出力する値を変化させる。ディジタル・ア
ナログコンバータ92ではROM91からの信号をディ
ジタル・アナログ変換し、電圧制御発振器10への制御
電圧jとして出力する。
FIG. 2 shows details of the control circuit 9. The control circuit 9 includes a ROM 91 and a digital / analog converter 92. The most significant bit i from the counter 8 is input to the ROM 91. In the ROM 91, the value output to the digital / analog converter 92 is changed depending on whether the most significant bit i is 1 or 0. The digital-analog converter 92 digital-analog converts the signal from the ROM 91 and outputs it as the control voltage j to the voltage controlled oscillator 10.

【0008】次に、図3に図1の実施例の動作波形図を
示す。電圧制御発振器10の発振周波数が変化し、FI
FO11に書き込まれたデータのメモリ占有量が50%
を超すとハーフフラグhがハイレベルからローレベルに
変化する。ハーフフラグhの立ち下がりによってカウン
タ8はリセットされる。カウンタ8の出力の最上位ビッ
トiがハイレベルからローレベルに変化すると、制御回
路8によって電圧制御発振器10の制御電圧jは電圧制
御発振器10の発振周波数を伝送路クロックkの周波数
より高くするように変化する。電圧制御発振器10の発
振周波数が高くなると、次第にFIFOに書き込まれた
データの占有量が減少していく。カウンタ8は一定のカ
ウント数をカウントした後停止するので、このカウント
により最上位ビットiはローレベルからハイレベルに変
化する。
Next, FIG. 3 shows an operation waveform diagram of the embodiment shown in FIG. When the oscillation frequency of the voltage controlled oscillator 10 changes, the FI
Memory occupancy of data written in FO11 is 50%
When it exceeds, the half flag h changes from the high level to the low level. The counter 8 is reset by the fall of the half flag h. When the most significant bit i of the output of the counter 8 changes from high level to low level, the control circuit 8 causes the control voltage j of the voltage controlled oscillator 10 to make the oscillation frequency of the voltage controlled oscillator 10 higher than the frequency of the transmission path clock k. Changes to. As the oscillation frequency of the voltage controlled oscillator 10 increases, the amount of data written in the FIFO gradually decreases. Since the counter 8 stops after counting a certain number of counts, the count changes the most significant bit i from low level to high level.

【0009】カウンタ8出力の最上位ビットiがハイレ
ベルになると制御回路8は電圧制御発振器10の発振周
波数を伝送路クロックkの周波数より低くするように制
御電圧jを電圧制御発振器10へ出力する。以上の動作
を繰り返すことにより、電圧制御発振器10の発振周波
数は伝送路クロックkの周波数の上下に変化して常にほ
ぼ一定に保たれ、伝送クロックに同期して出力端子13
から出力される。
When the most significant bit i of the output of the counter 8 becomes high level, the control circuit 8 outputs the control voltage j to the voltage controlled oscillator 10 so that the oscillation frequency of the voltage controlled oscillator 10 becomes lower than the frequency of the transmission line clock k. .. By repeating the above operation, the oscillation frequency of the voltage-controlled oscillator 10 changes above and below the frequency of the transmission line clock k and is kept almost constant at all times, and the output terminal 13 is synchronized with the transmission clock.
Is output from.

【0010】[0010]

【発明の効果】以上説明したように本発明では、従来の
回路構成が複雑な位相比較器や、伝送路クロックと電圧
制御発振器の発振器出力を分周し最大公約数に相当する
周波数を得るための分周比の大きいカウンタ等が不要に
なり、全体の回路構成が簡単になるという効果がある。
As described above, according to the present invention, in order to obtain a frequency corresponding to the greatest common divisor by dividing the phase comparator having a complicated circuit structure and the transmission line clock and the oscillator output of the voltage controlled oscillator. This eliminates the need for a counter having a large frequency division ratio, and simplifies the overall circuit configuration.

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

【図1】本発明の一実施例の構成ブロック図である。FIG. 1 is a configuration block diagram of an embodiment of the present invention.

【図2】図1における制御回路の内容を示す構成ブロッ
ク図である。
FIG. 2 is a configuration block diagram showing the contents of a control circuit in FIG.

【図3】図1の各部の動作波形図である。FIG. 3 is an operation waveform diagram of each part of FIG.

【図4】従来のクロック同期回路の構成ブロック図であ
る。
FIG. 4 is a configuration block diagram of a conventional clock synchronization circuit.

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

8 カウンタ 9 制御回路 10 電圧制御発振器(VCO) 11 FIFO 12 入力端子 13 出力端子 g 読み出しクロック h ハーフフラグ i 最上位ビット j 制御電圧 k 伝送路クロック 8 counter 9 control circuit 10 voltage controlled oscillator (VCO) 11 FIFO 12 input terminal 13 output terminal g read clock h half flag i most significant bit j control voltage k transmission line clock

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 書き込まれたデータのメモリ占有量がメ
モリ容量の半分より上か下かを示すハーフフラグ出力す
るFIFOと、前記ハーフフラグによりFIFOに書き
込まれたデータのメモリ占有量がメモリ容量の半分より
上であることを検出したとき、リセットされた後にあら
かじめ定められた値をカウントしカウント結果の最上位
ビットを出力するカウンタと、前記最上位ビットが出力
されたか否かにより異なる制御電圧を出力する制御回路
と、この制御回路の制御電圧の変化によって発振周波数
が変化する電圧制御発振器とから構成されることを特徴
とするクロック同期回路。
1. A FIFO that outputs a half flag indicating whether the memory occupation amount of written data is above or below half the memory capacity, and the memory occupation amount of data written in the FIFO by the half flag is the memory capacity. When it is detected to be higher than half, a counter that counts a predetermined value after reset and outputs the most significant bit of the count result, and a control voltage that differs depending on whether the most significant bit is output or not. A clock synchronization circuit comprising a control circuit for outputting and a voltage controlled oscillator whose oscillation frequency changes according to a change in control voltage of the control circuit.
JP3216633A 1991-08-02 1991-08-02 Clock synchronizer circuit Pending JPH05136661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3216633A JPH05136661A (en) 1991-08-02 1991-08-02 Clock synchronizer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3216633A JPH05136661A (en) 1991-08-02 1991-08-02 Clock synchronizer circuit

Publications (1)

Publication Number Publication Date
JPH05136661A true JPH05136661A (en) 1993-06-01

Family

ID=16691495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3216633A Pending JPH05136661A (en) 1991-08-02 1991-08-02 Clock synchronizer circuit

Country Status (1)

Country Link
JP (1) JPH05136661A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2746230A1 (en) * 1996-03-18 1997-09-19 Telediffusion Fse Smoothing system for asynchronous transfer mode clock signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2746230A1 (en) * 1996-03-18 1997-09-19 Telediffusion Fse Smoothing system for asynchronous transfer mode clock signals

Similar Documents

Publication Publication Date Title
US6057789A (en) Re-synchronization of independently-clocked audio streams by dynamically switching among 3 ratios for sampling-rate-conversion
US7394884B2 (en) Synchronizing method
US4596026A (en) Asynchronous data clock generator
US5502750A (en) Digital jitter attenuator using selection of multi-phase clocks and auto-centering elastic buffer for a token ring network
US4896337A (en) Adjustable frequency signal generator system with incremental control
US6075392A (en) Circuit for the glitch-free changeover of digital signals
US5703537A (en) Phase-locked loop clock circuit for generation of audio sampling clock signals from video reference signals
JP2937529B2 (en) Clock recovery circuit
US5592515A (en) Fully digital data separator and frequency multiplier
JPH07245562A (en) Phase-locked oscillator
KR19980019638A (en) Data separation circuit
JPH05136661A (en) Clock synchronizer circuit
EP1149482B1 (en) Synchronizing method
US5339338A (en) Apparatus and method for data desynchronization
JPH0758731A (en) Jitter suppressing circuit
US5937021A (en) Digital phase-locked loop for clock recovery
JP3859531B2 (en) Burst data receiver
US7496728B2 (en) Asynchronous jitter reduction technique
AU750763B2 (en) Frequency synthesiser
US6084442A (en) Digital oscillator for generating two fixed pulse signals from one clock
JP4453753B2 (en) Fractional NPLL synthesizer and method for limiting oscillation frequency band of fractional NPLL synthesizer
KR920000166B1 (en) Digital Self-Regulating Clock Regeneration Circuit and Method
JPH08237320A (en) FSK demodulation circuit
JP2655634B2 (en) Digital PLL circuit
JPS589455A (en) Jitter suppressing phase control circuit