JPH08255152A - Moving mean circuit and frequency division ratio equalizing circuit - Google Patents

Moving mean circuit and frequency division ratio equalizing circuit

Info

Publication number
JPH08255152A
JPH08255152A JP7058889A JP5888995A JPH08255152A JP H08255152 A JPH08255152 A JP H08255152A JP 7058889 A JP7058889 A JP 7058889A JP 5888995 A JP5888995 A JP 5888995A JP H08255152 A JPH08255152 A JP H08255152A
Authority
JP
Japan
Prior art keywords
circuit
frequency
output
input
frequency division
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
JP7058889A
Other languages
Japanese (ja)
Inventor
Masashi Tanaka
雅志 田中
Yukio Yamazaki
幸男 山崎
Mitsuki Taniguchi
充己 谷口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7058889A priority Critical patent/JPH08255152A/en
Publication of JPH08255152A publication Critical patent/JPH08255152A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Complex Calculations (AREA)

Abstract

PURPOSE: To provide a moving mean circuit which may consist of a small number of adders and can naturally recover without the continuation of the effect of a disturbance and also to provide a frequency division ratio equalizing circuit which generates a control signal for equally controlling a dual modulus frequency dividing circuit from a given control value. CONSTITUTION: In the moving mean circuit, a selector 88 selects input data at the time of update of latch circuits 80, 82, 84, and 86 and the output of the latch circuit 86 at the time of cumulation. At the time of the cumulation, an adder 90 and a latch circuit 92 cumulates values outputted sequentially from the latch circuit 86. In the frequency division ratio equalizing circuit, on the other hand, a calculating circuit calculates quotients a0 , a1 ,...am when a control value is expressed as 1/(a0 +1/(a1 +...+1/am ) and a reference clock has its frequency divided through the cascade connection of programmable frequency dividers where the calculated values are set as frequency division ratios to generate the control signal.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、連続して入力される数
値の移動平均を算出する移動平均回路及び2つの分周比
の中から選択された分周比で動作するデュアルモジュラ
ス型の分周器を均一に制御するための分周比均一化回
路、特に、高性能で小型の位相同期発振器を提供するに
適した移動平均回路及び分周比均一化回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving average circuit for calculating a moving average of consecutively input numerical values and a dual modulus type divider operating at a dividing ratio selected from two dividing ratios. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a frequency division ratio equalizing circuit for uniformly controlling a frequency divider, and more particularly to a moving average circuit and a frequency division ratio equalizing circuit suitable for providing a high performance and small phase locked oscillator.

【0002】[0002]

【従来の技術】SDH(同期ディジタルハイアラー
キ)、SONET(Synchronous Opti
cal NETwork)等の同期多重伝送システムに
おいては、網同期の基準となる高安定クロックが主局か
ら従属局、そこからさらに次の従属局へと伝送される。
各従属局は、主局あるいは主局側にある他の従属局より
クロック信号を受信して、それに位相同期したクロック
信号を生成し次の従属局へと伝搬する。
2. Description of the Related Art SDH (Synchronous Digital Hierarchy), SONET (Synchronous Opti)
In a synchronous multiplex transmission system such as cal NETwork), a highly stable clock that serves as a reference for network synchronization is transmitted from a master station to a slave station, and from there to a next slave station.
Each subordinate station receives a clock signal from the main station or another subordinate station on the side of the main station, generates a clock signal in phase with the clock signal, and propagates the clock signal to the next subordinate station.

【0003】ここで、各従属局の位相同期発振器が有し
なければならない位相同期特性は、伝送路から入力され
たクロックが持つジッタ、ワンダを抑圧し次の従属局に
対して十分安定したクロックを供給するものでなければ
ならない。なお、一般には、位相変動のうちその周波数
が10Hz以上のものをワンダ、10Hz以下のものをジッ
タと定義される。
Here, the phase-locking characteristic that the phase-locked oscillator of each subordinate station must have is a clock stable enough for the next subordinate station by suppressing the jitter and wander of the clock input from the transmission line. Must be supplied. Generally, phase fluctuations whose frequency is 10 Hz or higher are defined as wander and those whose frequency is 10 Hz or lower are defined as jitter.

【0004】一例としてNTTの同期網の場合、長高精
度な網同期装置を用いて狭い周波数範囲の信号に同期す
ればよいようにネットワークが構成されているため、マ
イクロプロセッサ等を用いたループ帯域幅の狭い位相同
期発振器を用いている。一方、北米等では、必ずしも高
精度なクロック供給源からクロックが供給されるわけで
はないため、引き込み周波数範囲を広くとりながら、し
かも規格上高安定な出力クロックを供給する必要があ
り、なおかつ、特別なクロック供給装置をもたないた
め、伝送装置内に実装できる小型な位相同期発振器が要
求されている。
As an example, in the case of the NTT synchronous network, since the network is configured so that it can be synchronized with a signal in a narrow frequency range by using a long and highly accurate network synchronizer, a loop band using a microprocessor or the like is used. A narrow phase-locked oscillator is used. On the other hand, in North America etc., the clock is not always supplied from a highly accurate clock supply source, so it is necessary to supply a stable output clock according to the standard while ensuring a wide pull-in frequency range. Since there is no clock supply device, there is a demand for a small phase-locked oscillator that can be mounted in a transmission device.

【0005】本願発明者が目標としている位相同期発振
器は後者に適用可能な位相同期発振器である。具体的に
は、周波数引き込み範囲が±20ppm であり、短期安定
度が5×10-9、すなわち入力クロックのワンダ振幅に
対する出力クロックのワンダ振幅の比が5×10-9以下
であること、ジッタ耐力が1.5UI,10〜150Hz、
すなわち周波数が10〜150Hzの範囲で振幅がクロッ
ク周期の1.5倍のジッタが入力したとき出力クロック
の位相変動が所要値以下であること、及び小型であるこ
と、である。
The phase-locked oscillator targeted by the inventor of the present application is a phase-locked oscillator applicable to the latter. Specifically, the frequency pull-in range is ± 20 ppm, the short-term stability is 5 × 10 -9 , that is, the ratio of the wander amplitude of the output clock to the wander amplitude of the input clock is 5 × 10 -9 or less, and the jitter Proof strength 1.5UI, 10-150Hz,
That is, the phase variation of the output clock is less than or equal to a required value when a jitter whose amplitude is 1.5 times the clock cycle is input in the frequency range of 10 to 150 Hz, and the size is small.

【0006】本願発明者の1人は既に特願平6−343
24号において、上記の要求を満足しうる位相同期発振
器を提案した。提案された位相同期発振器では、出力ク
ロック信号を制御する制御値を得るために、入力クロッ
クの周波数の移動平均値と、入力クロックと出力クロッ
クの位相差の移動平均値が算出されるので、2つの移動
平均回路が必要である。また制御値は、2つの分周比の
1つを選択できるデュアルモジュラス型の分周回路につ
いて、所定の制御回数において一方の分周比を選択すべ
き回数として、すなわち、、定数を分母とする分数の形
で与えられるので、これに基いてデュアルモジュラス分
周回路からジッタ/ワンダのないクロック信号を出力さ
せるため、分周比の時間軸上の分布が均一になるように
制御するための分周比均一化回路が必要である。
One of the inventors of the present application has already filed Japanese Patent Application No. 6-343.
In No. 24, a phase-locked oscillator that can satisfy the above requirements was proposed. In the proposed phase locked oscillator, the moving average value of the frequency of the input clock and the moving average value of the phase difference between the input clock and the output clock are calculated in order to obtain the control value for controlling the output clock signal. Two moving average circuits are needed. Further, the control value is the number of times that one of the frequency division ratios should be selected in a predetermined number of times of control in a dual-modulus type frequency division circuit that can select one of the two frequency division ratios, that is, a constant is the denominator. Since it is given in the form of a fraction, a clock signal without jitter / wander is output from the dual modulus frequency divider circuit based on this, so that the division ratio is controlled to be uniform on the time axis. A ratio equalizing circuit is required.

【0007】移動平均回路としては、ラッチ回路を所要
個数だけ直列に接続し、各ラッチ回路にラッチされた値
を加算器で加算する構成がまず考えられる(なお、所要
個数を2n にすれば除算器の必要はない。)。しかしな
がらこの構成では、ラッチ回路の段数が多くなると必要
な加算回路の数も多くなる。例えば、ラッチ回路がn段
でビット数を20ビットとすると、20ビットの並列加
算器が(n−1)回路必要となる。
As a moving average circuit, a configuration in which a required number of latch circuits are connected in series and the values latched by the respective latch circuits are added by an adder can be considered first (if the required number is 2 n , There is no need for a divider.) However, in this configuration, as the number of stages of the latch circuit increases, the number of addition circuits required also increases. For example, if the latch circuit has n stages and the number of bits is 20 bits, (n-1) circuits of 20-bit parallel adders are required.

【0008】特公昭57−169874号公報には、入
力した値をエンドレスに累算し、シフトレジスタで所定
サンプル数だけ遅延された入力値を累算値から差し引く
ことにより、加算器1個と減算器1個で所定個数の加算
を達成する構成が提案されている。
Japanese Patent Publication No. 57-169874 discloses that an input value is accumulated endlessly, and an input value delayed by a predetermined number of samples by a shift register is subtracted from the accumulated value to subtract one adder from another. A configuration has been proposed in which one unit achieves a predetermined number of additions.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、この構
成によれば、ノイズ等の何らかの影響で累算値が書き替
えられると、その影響が持続するという問題がある。し
たがって本発明の第1の目的は、少ない数の加算器で済
み、かつ、外乱の影響が持続しないで自然復旧すること
のできる移動平均回路を提供することにある。
However, according to this configuration, if the accumulated value is rewritten due to some influence of noise or the like, the influence remains. Therefore, it is a first object of the present invention to provide a moving average circuit that requires a small number of adders and can be naturally restored without the influence of disturbance continuing.

【0010】本発明の第2の目的は、与えられた制御値
からデュアルモジュラス分周回路を均一に制御するため
の制御信号を生成する分周比均一化回路を提供すること
にある。
A second object of the present invention is to provide a frequency division ratio equalizing circuit for generating a control signal for uniformly controlling the dual modulus frequency dividing circuit from a given control value.

【0011】[0011]

【課題を解決するための手段並びに作用】本発明によれ
ば、連続する所定個数の数値を記憶し、新たな1つの数
値が入力されてその記憶が更新される毎に記憶されてい
る数値のすべてを順次出力する記憶回路と、該記憶回路
における記憶の更新に関連してクリアされ、該記憶回路
から順次出力される数値を累算する累算回路とを具備す
る移動平均回路が提供される。
According to the present invention, a predetermined number of continuous numerical values are stored, and a new numerical value is stored every time a new numerical value is input and the storage is updated. Provided is a moving average circuit including a memory circuit that sequentially outputs everything and an accumulator circuit that accumulates values that are sequentially output from the memory circuit and that are cleared in association with update of a memory in the memory circuit. .

【0012】本発明によれば制御信号に従って2つの分
周比の1つを選択して動作するデュアルモジュラス分周
器を、与えられた制御値に応じて分周比の時間軸上の分
布が均一になるように制御するための制御信号を生成す
る分周比均一化回路であって、入力された制御値から該
制御値を1/(a0 +1/(a1 +1/(a2 ……+1
/am ))……)で表わしたときの商a0 ,a1 ,a2
……am を連続的に算出して出力する計算回路と、該計
算回路が出力する該複数の商a0 ,a1 ,a2……am
がそれぞれ分周比として設定される複数のプログラマブ
ル分周器のカスケード接続を含み、基準信号を該複数の
プログラマブル分周器のカスケード接続により分周して
得られる分周出力を前記制御信号として出力する制御信
号生成回路とを具備する分周比均一化回路もまた提供さ
れる。
According to the present invention, the dual modulus frequency divider which operates by selecting one of the two frequency division ratios according to the control signal has a distribution of the frequency division ratios on the time axis according to a given control value. A frequency division ratio equalizing circuit for generating a control signal for controlling the control value to be uniform, wherein the control value is 1 / (a 0 + 1 / (a 1 + 1 / (a 2 ... … + 1
/ A m )) ……) quotient a 0 , a 1 , a 2
A calculation circuit for continuously calculating and outputting a m , and the plurality of quotients a 0 , a 1 , a 2 ... a m output by the calculation circuit
Includes a cascade connection of a plurality of programmable frequency dividers each set as a frequency division ratio, and outputs a frequency division output obtained by dividing a reference signal by the cascade connection of the plurality of programmable frequency dividers as the control signal. There is also provided a frequency division ratio equalizing circuit including a control signal generating circuit for performing the same.

【0013】[0013]

【実施例】図1に本発明の移動平均回路及び分周比均一
化回路が使用される位相同期発振器の一例の概略を示
す。基準発振器(図示せず)からの基準クロック(例え
ば51.84MHz )は制御信号に従って分周比がN又は
N+1(Nは整数、例えば33)に設定されるデュアル
モジュラス分周器10により分周される。分周器10の
出力は位相比較器12において入力クロック(例えば
1.544MHz )と位相比較され、位相が遅れていると
きは分周器10の分周比はNに(進み制御)、進んでい
るときはN+1に設定される(遅れ制御)。一方、カウ
ント回路14において、一定時間(例えば0.5秒)に
おける進み制御の回数(又は遅れ制御の回数)がカウン
トされる。位相比較器12の動作クロック(例えば分周
器10の出力が使用される)を時間の基準にとれば、一
定時間内の進み制御の回数と遅れ制御の回数の合計は一
定であるから、一方のみ(ここでは進み制御数)をカウ
ントすれば良い。カウント回路14においてカウントさ
れた進み制御数は移動平均回路16において移動平均さ
れる。ここで、進み制御数は入力クロックの周波数に対
応するので、進み制御数の移動平均は入力クロックの平
均周波数に対応する。移動平均回路16が出力する進み
制御数の移動平均値から、中心制御値演算部18におい
て進み制御数の中心制御値が計算される。中心制御値の
演算については特願平6−34324号に詳細が記載さ
れており、本願の対象とは直接関係がないので省略す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 schematically shows an example of a phase locked oscillator in which the moving average circuit and the division ratio equalizing circuit of the present invention are used. A reference clock (eg 51.84 MHz) from a reference oscillator (not shown) is divided by a dual modulus divider 10 whose division ratio is set to N or N + 1 (N is an integer, eg 33) according to a control signal. It The output of the frequency divider 10 is phase-compared with the input clock (for example, 1.544 MHz) in the phase comparator 12, and when the phase is delayed, the frequency division ratio of the frequency divider 10 is advanced to N (advance control). If it is, N + 1 is set (delay control). On the other hand, the count circuit 14 counts the number of times of advance control (or the number of delay control) in a fixed time (for example, 0.5 seconds). If the operation clock of the phase comparator 12 (for example, the output of the frequency divider 10 is used) is used as a time reference, the total number of times of advance control and delay control within a fixed time is constant. Only (here, the number of advanced controls) should be counted. The number of advance controls counted in the counting circuit 14 is moving averaged in the moving average circuit 16. Here, since the advance control number corresponds to the frequency of the input clock, the moving average of the advance control number corresponds to the average frequency of the input clock. From the moving average value of the advanced control number output from the moving average circuit 16, the central control value calculation unit 18 calculates the central control value of the advanced control number. Details of the calculation of the central control value are described in Japanese Patent Application No. 6-34324, and since they are not directly related to the subject of the present application, they are omitted.

【0014】一方、分周器10と同一の構成を有する分
周器20においても同じ基準クロックが分周され、その
出力と入力クロックの位相が位相比較器22において比
較される。位相差測定回路24において、位相比較器2
2が出力する進み期間及び遅れ期間を表わすパルスをゲ
ート信号としてマスタクロックをカウントすることによ
り位相差を示すディジタル値が得られる。位相差測定回
路24が出力する位相差の値は移動平均回路26におい
て移動平均され、乗算器28において "位相ゲイン" が
乗算され、加算器30において中心制御値演算部18が
出力する中心制御値に加算されて最終的な進み制御数の
制御値が得られる。制御を滑らかにするため、最終制御
値に定数Δ(例えば3)を加えたものと定数Δを差し引
いたものそれぞれについて分周比均一化回路32,34
においてそれぞれ制御信号が生成される。そしてセレク
タ36において平均位相差が正であれば−Δ側が負であ
れば+Δ側が選択されて分周器20に与えられる。
On the other hand, also in the frequency divider 20 having the same structure as the frequency divider 10, the same reference clock is frequency-divided, and the phase of the output and the input clock is compared in the phase comparator 22. In the phase difference measuring circuit 24, the phase comparator 2
A digital value indicating the phase difference can be obtained by counting the master clock using the pulses representing the lead period and the lag period output by 2 as the gate signal. The value of the phase difference output from the phase difference measuring circuit 24 is moving averaged in the moving average circuit 26, multiplied by "phase gain" in the multiplier 28, and the center control value output from the center control value calculator 18 in the adder 30. To obtain the final control value of the advance control number. In order to smooth the control, the frequency division ratio equalizing circuits 32 and 34 are respectively added to the final control value to which a constant Δ (for example, 3) is added and the constant Δ is subtracted.
At respectively, a control signal is generated. If the average phase difference is positive in the selector 36 and the −Δ side is negative, the + Δ side is selected and given to the frequency divider 20.

【0015】図2は本発明に係る移動平均回路16又は
26の詳細な構成を示す。説明を簡単にするため、連続
する4つのサンプルについて移動平均を演算する回路が
示されている。4つのnビットラッチ回路80,82,
84及び86が直列に接続されており、初段80の入力
はセレクタ88の出力に、最終段86の出力はセレクタ
88の一方の入力(A入力)に接続される。セレクタ8
8の他方の入力(B入力)には入力データを供給するラ
インに接続される。また、最終段86の出力は加算器9
0の一方の入力にも接続される。加算器90の出力はn
ビットラッチ回路92の入力に接続され、その出力は加
算器90の他方の入力に接続される。加算器90の出力
はもう1つのnビットラッチ回路94の入力に接続さ
れ、その出力は除算回路96の入力に接続される。セレ
クタ88のセレクト入力にはループイネーブル信号ライ
ンが接続される。ORゲート98の入力にはループイネ
ーブル信号ライン及びメモリ更新信号ラインが接続さ
れ、その出力はnビットラッチ回路80,82,84及
び86のイネーブル入力に接続される。nビットラッチ
回路92のリセット入力及びイネーブル入力にはそれぞ
れリセット信号ライン及びシフトイネーブル信号ライン
が接続される。nビットラッチ回路94のイネーブル入
力にはラッチ信号ラインが接続される。nビットラッチ
回路80,82,84,86,92及び94のクロック
入力にはクロック信号ラインが接続される。
FIG. 2 shows the detailed structure of the moving average circuit 16 or 26 according to the present invention. For simplicity of explanation, a circuit is shown which computes a moving average over four consecutive samples. Four n-bit latch circuits 80, 82,
84 and 86 are connected in series, the input of the first stage 80 is connected to the output of the selector 88, and the output of the final stage 86 is connected to one input (A input) of the selector 88. Selector 8
The other input (B input) of 8 is connected to a line that supplies input data. The output of the final stage 86 is the adder 9
It is also connected to one input of 0. The output of the adder 90 is n
It is connected to the input of the bit latch circuit 92, and its output is connected to the other input of the adder 90. The output of the adder 90 is connected to the input of another n-bit latch circuit 94, and its output is connected to the input of the division circuit 96. A loop enable signal line is connected to the select input of the selector 88. The loop enable signal line and the memory update signal line are connected to the input of the OR gate 98, and the outputs thereof are connected to the enable inputs of the n-bit latch circuits 80, 82, 84 and 86. A reset signal line and a shift enable signal line are connected to the reset input and the enable input of the n-bit latch circuit 92, respectively. A latch signal line is connected to the enable input of the n-bit latch circuit 94. A clock signal line is connected to the clock inputs of the n-bit latch circuits 80, 82, 84, 86, 92 and 94.

【0016】図3は図2の移動平均回路の動作を説明す
るためのタイミングチャートであり、図2中で参照記号
(i)〜 (xiv)で示した個所の信号の状態をそれぞれ
(i)〜 (xiv)に示す。図2及び図3を参照しつつ本発
明の移動平均回路の動作を説明する。最初に、nビット
ラッチ回路80,82,84にはそれぞれデータ "C",
"B", "A" が保持されており、入力データは "D" で
あるとする。また、nビットラッチ回路92はリセット
されてデータ "0" を保持しているものとする。図3に
おいて、クロック信号(i)が最初に立ち上がるとき、
ループイネーブル信号 (iii)はLレベルであるので、セ
レクタ88はB入力から入力される入力データを選択し
ている。メモリ更新信号(ii)はHレベルであるのでO
Rゲート98の出力(v)もHレベルになり、nビット
ラッチ回路80,82,84,86はイネーブル状態で
ある。従って、クロック信号(i)の立ち上がりに同期
して初段のnビットラッチ回路80には入力データ
"D" が保持され、データ "C","B", "A" はそれぞれ
nビットラッチ回路82,84,86へ移動する。メモ
リ更新信号(ii)はクロックの立ち上がりに同期してそ
の直後にLレベルになる。nビットラッチ回路92には
"0" が保持されているので (xii)加算回路90の出力
は "A" になる(xiii)。ここまでがメモリ更新動作で
ある。
FIG. 3 is a timing chart for explaining the operation of the moving average circuit of FIG. 2, in which the signal states at the portions indicated by reference symbols (i) to (xiv) in FIG. 2 are (i). Shown in ~ (xiv). The operation of the moving average circuit of the present invention will be described with reference to FIGS. First, the n-bit latch circuits 80, 82, and 84 have data "C",
It is assumed that "B" and "A" are held and the input data is "D". The n-bit latch circuit 92 is reset and holds the data "0". In FIG. 3, when the clock signal (i) first rises,
Since the loop enable signal (iii) is at L level, the selector 88 selects the input data input from the B input. Since the memory update signal (ii) is at H level, O
The output (v) of the R gate 98 also becomes H level, and the n-bit latch circuits 80, 82, 84, 86 are enabled. Therefore, in synchronization with the rising edge of the clock signal (i), the input data is input to the first-stage n-bit latch circuit 80.
"D" is held, and data "C", "B", "A" are moved to the n-bit latch circuits 82, 84, 86, respectively. The memory update signal (ii) becomes L level immediately after that in synchronization with the rising edge of the clock. The n-bit latch circuit 92
Since "0" is held (xii), the output of the adder circuit 90 becomes "A" (xiii). The operation up to this point is the memory update operation.

【0017】次のクロックの立ち上がりからループ動作
が初まり、その直後にループイネーブル信号 (iii)及び
シフトイネーブル信号(iv)がHレベルになり、ORゲ
ート98の出力(v)も再びHレベルに戻る。セレクタ
88はA入力から入力される最終段のnビットラッチ回
路86の出力を選択する。nビットラッチ回路92もイ
ネーブル状態になる。従って、次のクロックの立ち上が
りとともにラッチ回路80,82,84,86の内容は
セレクタ88を介して回転し、最終段のnビットラッチ
回路86からはデータ "B" が出力される。一方、nビ
ットラッチ回路92には加算回路90の以前の出力
"A" が保持される (xii)。従って加算回路90の出力
(xiii)は "A+B" になる。この状態でクロック
(i)があと2回立ち上がると、ラッチ回路80,8
2,84,86の内容がセレクタ88を介してさらに回
転して最終段のnビットラッチ回路92からデータ
"C", "D" が順次出力され、加算回路90の出力(xii
i)は "A+B+C+D" になる。これとほぼ同時にシ
フトイネーブル信号(iv)はLレベルに戻るのでnビッ
トラッチ回路92はディセーブル状態になり、一方では
ラッチ信号(vi)がHレベルになるのでnビットラッチ
回路94はイネーブル状態になる。また、リセット信号
(vii)はLレベル(有効)になる。従って、次のクロッ
クの立ち上がりにより、加算回路90の出力 "A+B+
C+D" はnビットラッチ回路94に移り (xiv)、nビ
ットラッチ回路92は "0" にリセットされる (xii)。
その後メモリ更新信号(ii)がHレベルになると次のク
ロックの立ち上がりで新しい入力データ "E"が初段の
nビットラッチ回路80に取り込まれる。その後、前述
したようなループ動作を実行することによりnビットラ
ッチ回路94からは "B+C+D+E"が出力される。
nビットラッチ回路94の出力を除算回路96において
4で割ることにより、連続する4サンプルの移動平均値
が得られる。なお、前述したように、サンプル数が2n
であるときは除算回路96は不要である。
The loop operation starts from the next rising of the clock, and immediately thereafter, the loop enable signal (iii) and the shift enable signal (iv) become H level, and the output (v) of the OR gate 98 also becomes H level again. Return. The selector 88 selects the output of the n-bit latch circuit 86 at the final stage input from the A input. The n-bit latch circuit 92 is also enabled. Therefore, the contents of the latch circuits 80, 82, 84 and 86 rotate through the selector 88 with the rise of the next clock, and the data "B" is output from the n-bit latch circuit 86 at the final stage. On the other hand, the n-bit latch circuit 92 outputs the previous output of the adder circuit 90.
"A" is retained (xii). Therefore, the output (xiii) of the adder circuit 90 becomes "A + B". When the clock (i) rises twice in this state, the latch circuits 80, 8
The contents of 2, 84, and 86 are further rotated through the selector 88, and data is output from the n-bit latch circuit 92 at the final stage.
"C" and "D" are sequentially output, and the output of the adder circuit 90 (xii
i) becomes "A + B + C + D". Almost at the same time, the shift enable signal (iv) returns to the L level, so that the n-bit latch circuit 92 is disabled, while the latch signal (vi) becomes the H level, the n-bit latch circuit 94 is enabled. Become. Also, reset signal
(vii) becomes L level (valid). Therefore, the output of the adder circuit 90 "A + B +
C + D "is transferred to the n-bit latch circuit 94 (xiv), and the n-bit latch circuit 92 is reset to" 0 "(xii).
After that, when the memory update signal (ii) becomes H level, new input data "E" is taken into the first stage n-bit latch circuit 80 at the next rising edge of the clock. After that, by executing the loop operation as described above, "B + C + D + E" is output from the n-bit latch circuit 94.
By dividing the output of the n-bit latch circuit 94 by 4 in the division circuit 96, a moving average value of four consecutive samples can be obtained. As described above, the number of samples is 2 n
, The division circuit 96 is unnecessary.

【0018】図4は図1の分周比均一化回路32又は3
4の構成を示す。計算回路100は入力された進み制御
回数について、 (進み制御回数)/(総制御回数(固定)) =1/(a0 +1/(a1 +1/(a2 +……+1/am ))……) と表わすときの商a0 ,a1 ,a2 …am を計算して出
力する。制御信号生成回路102は入力された商a0
1 ,a2 …am をカスケード接続されたプログラマブ
ル分周器に設定し、それから出力される分周出力を分周
比制御信号として出力する。
FIG. 4 shows the division ratio equalizing circuit 32 or 3 of FIG.
4 shows the configuration of No. 4. Calculation circuit 100 advances the control number entered, (the control advances count) / (total number of controls (fixed)) = 1 / (a 0 + 1 / (a 1 + 1 / (a 2 + ...... + 1 / a m) ) ...), the quotients a 0 , a 1 , a 2 ... Am are calculated and output. The control signal generation circuit 102 receives the quotient a 0 ,
a 1, a 2 ... a a m is set to cascaded programmable frequency divider, then outputs the divided output is outputted as a frequency division ratio control signal.

【0019】図5は計算回路100の構成を表わす図で
ある。除算回路104の被除数入力はラッチ回路106
の出力に接続され、除数入力はラッチ回路108の出力
に接続される。ラッチ回路106の入力はセレクタ11
0の出力に接続され、ラッチ回路108の入力はセレク
タ112の出力に接続される。セレクタ110は総制御
回数(固定)及びラッチ回路108の出力のいずれか1
方を選択して出力する。セレクタ112は入力された進
み制御回数の制御値及び除算回路104の余り出力のい
ずれか一方を選択する。除算回路104の商出力はラッ
チ回路114,116,118の入力に接続される。
FIG. 5 is a diagram showing the configuration of the calculation circuit 100. The dividend input of the division circuit 104 is the latch circuit 106.
, And the divisor input is connected to the output of the latch circuit 108. The input of the latch circuit 106 is the selector 11
0, and the input of the latch circuit 108 is connected to the output of the selector 112. The selector 110 selects one of the total control count (fixed) and the output of the latch circuit 108.
Select one to output. The selector 112 selects one of the input control value of the advance control count and the remainder output of the division circuit 104. The quotient output of the divider circuit 104 is connected to the inputs of the latch circuits 114, 116 and 118.

【0020】図5の計算回路の動作を説明する。最初
に、セレクタ110及び112はいずれもA入力を選択
しており、ラッチ回路106及び108にはそれぞれ総
制御回数及び進み制御回数制御値がラッチされる。除算
回路104はラッチ回路106から入力される総制御回
数を被除数、ラッチ回路108から入力される進み制御
回数を除数として除算を実行し、商a0 と余りを出力す
る。商a0 はラッチ回路114にラッチされる。次に、
セレクタ110及び112はいずれもB入力を選択し、
選択された前回の割り算における除数及び余りがそれぞ
れラッチ回路106及び108に被除数及び除数として
ラッチされる。除算回路104は入力された被除数及び
除数について除算を実行し、その商a1 及び余りを出力
する。商a 1 はラッチ回路116にラッチされる。この
処理を除算回路104から出力される余りが0になるま
で繰り返すことによって商a0 ,a1 ,a2 …am がラ
ッチされて出力される。なお除算回路104は、入力さ
れた被除数から除数を結果が負の数になって減算できな
くなるまで繰り返し減算し、減算できた回数を商、減算
の残りを余りとして出力するように構成することができ
る。
The operation of the calculation circuit of FIG. 5 will be described. the first
In addition, the selectors 110 and 112 both select the A input
Therefore, the latch circuits 106 and 108 each have a total
The control count and the advance control count control value are latched. division
The circuit 104 is a total control circuit input from the latch circuit 106.
The number is the dividend and the advance control input from the latch circuit 108
The division is performed with the number of times as the divisor, and the quotient a0And output the remainder
It Quotient a0Are latched by the latch circuit 114. next,
Selectors 110 and 112 both select the B input,
The divisor and remainder in the previous division selected are respectively
The latch circuits 106 and 108 as dividends and divisors.
Latched. The division circuit 104 inputs the dividend and
The division is performed on the divisor and the quotient a1And output remainder
I do. Quotient a 1Are latched by the latch circuit 116. this
The processing is performed until the remainder output from the division circuit 104 becomes zero.
Quotient a by repeating with0, A1, A2... amIs la
Output. The division circuit 104 is
Divisor cannot be subtracted from the resulting dividend because the result is negative.
Iteratively subtracts until
Can be configured to output the rest of
It

【0021】図6は図4の制御信号生成回路102の構
成を示す。プログラマブル分周器D 0 ,D1 ,D2 …D
n には計算回路100からの商a0 ,a1 ,a2 …am
がそれぞれ分周比として設定される。なお、総制御回数
が与えられればmの最大値を決定することができるの
で、プログラマブル分周器を必要な数だけ用意すること
ができる。
FIG. 6 shows the structure of the control signal generation circuit 102 of FIG.
Indicates success. Programmable frequency divider D 0, D1, D2... D
nIs the quotient a from the calculation circuit 100.0, A1, A2... am
Are respectively set as frequency division ratios. The total control count
The maximum value of m can be determined if is given
To prepare the required number of programmable frequency dividers.
Can be.

【0022】商a0 が設定される分周器D0 には基準信
号が入力され、その分周出力d0 が分周比制御信号とし
て出力される。分周出力d0 は商a1 が分周比として設
定される分周器D1 にも入力され、その分周出力d1
より分周器D0 の分周比が周期的にa0 からa0 +1に
変更される。より詳細には、分周器D1 が分周数a
1(又はa1 +1)をカウントし終ってキャリーが出力
されている間は分周器D0の分周比をa0 +1に変更す
る。また、分周出力d1 は分周器D2 にも被分周入力と
して与えられる。同様に、分周器Di (2≦i≦m−
1)には分周器Di-1の分周出力di-1 が入力され、そ
の分周出力di によって分周器Di-1 の分周比を周期的
にai-1 からai-1 +1に変更する。分周出力di は分
周器Di+1 にも被分周入力として与えられる。分周器D
m についても同様に分周器Dm-1 からの分周出力di-1
が入力されるが、その分周比am はam の値が更新され
るまで変更されない。
The reference signal is input to the frequency divider D 0 for which the quotient a 0 is set, and the frequency division output d 0 is output as the frequency division ratio control signal. Divided output d 0 is also input to the divider D 1 of the quotient a 1 is set as the division ratio, the division ratio periodically a 0 frequency divider D 0 by the divided output d 1 It is changed to a 0 +1. More specifically, the frequency divider D 1 has a frequency division number a.
While 1 (or a 1 +1) has been counted and the carry is output, the frequency division ratio of the frequency divider D 0 is changed to a 0 +1. Further, the frequency division output d 1 is also given to the frequency divider D 2 as a frequency division input. Similarly, the frequency divider D i (2 ≦ i ≦ m−
The frequency division output d i-1 of the frequency divider D i-1 is input to 1), and the frequency division ratio of the frequency divider D i-1 is periodically changed from a i-1 by the frequency division output d i . Change to a i-1 +1. The frequency division output d i is also given to the frequency divider D i + 1 as a frequency-divided input. Divider D
Similarly for m , the frequency division output d i-1 from the frequency divider D m -1
Although is inputted, the dividing ratio a m is not changed until the value of a m is updated.

【0023】説明を簡単にするために総制御回数が16
で進み制御回数の制御値が7の場合について本発明の分
周比均一化回路の動作を説明する。 7/16=1/(+1/(+1/)) であるので計算回路100においてa0 =2,a1
3,a2 =2と決定される。この場合の制御信号生成回
路の動作を図7に示す。図7は分周器D0 及びD1の分
周比がそれぞれa0 +1(=3)及びa1 +1(=4)
に変更された直後からの各分周器D0 ,D1 ,D2 の内
部のカウント値の推移を示す。下向きの矢印はキャリー
が出たことにより1段下位の分周器のカウントが増加す
ることを示し、上向きの矢印はキャリーが出たことによ
り進み制御が行なわれること(分周器D0 )又は一段上
位の分周器の分周数を1増加させることを示す。図には
16クロック分のみが示されているが、このパターンが
繰り返される。図に明らかなように、16回の制御回数
の中に進み制御が均一に分布していることが分かる。
In order to simplify the explanation, the total number of control times is 16
The operation of the frequency division ratio equalizing circuit of the present invention will be described for the case where the control value of the advance control count is 7. 7/16 = 1 / (2 + 1 / (3 + 1/2)) in the calculation circuit 100 are the a 0 = 2, a 1 =
3, a 2 = 2 is determined. The operation of the control signal generation circuit in this case is shown in FIG. In FIG. 7, the frequency division ratios of the frequency dividers D 0 and D 1 are a 0 +1 (= 3) and a 1 +1 (= 4), respectively.
The transition of the count value inside each of the frequency dividers D 0 , D 1 , and D 2 immediately after being changed to is shown. The downward arrow indicates that the count of the divider one step lower is increased due to the carry, and the upward arrow indicates that the advance control is performed due to the occurrence of the carry (divider D 0 ), or It shows that the frequency division number of the one-step higher frequency divider is increased by one. Although only 16 clocks are shown in the figure, this pattern is repeated. As is clear from the figure, it can be seen that the control is advanced evenly among the 16 times of control.

【0024】[0024]

【発明の効果】以上述べてきたように本発明によれば、
1つの加算回路を用いて移動平均回路を構成することが
でき、しかも、そのための累算値はその都度クリアされ
るので外乱により累算値が変更されてもその影響は持続
しない。また、デュアルモジュラス分周回路の制御を均
一に行なうことができる。
As described above, according to the present invention,
The moving average circuit can be configured by using one adder circuit, and the accumulated value for that purpose is cleared each time, so that even if the accumulated value is changed by a disturbance, the effect does not continue. Further, the dual modulus frequency dividing circuit can be uniformly controlled.

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

【図1】本発明の移動平均回路及び分周比均一化回路が
使用される位相同期発振器の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of a phase-locked oscillator in which a moving average circuit and a division ratio equalizing circuit of the present invention are used.

【図2】本発明の移動平均回路の構成を示す回路図であ
る。
FIG. 2 is a circuit diagram showing a configuration of a moving average circuit of the present invention.

【図3】図2の回路の動作を示すタイミングチャートで
ある。
FIG. 3 is a timing chart showing the operation of the circuit of FIG.

【図4】本発明の分周比均一化回路の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a frequency division ratio equalizing circuit of the present invention.

【図5】図4の計算回路の構成を示す回路ブロック図で
ある。
5 is a circuit block diagram showing a configuration of a calculation circuit of FIG.

【図6】図4の制御信号生成回路の構成を示す回路ブロ
ック図である。
6 is a circuit block diagram showing a configuration of a control signal generation circuit of FIG.

【図7】本発明の分周比均一化回路の動作を説明するタ
ンミングチャートである。
FIG. 7 is a timing chart for explaining the operation of the frequency division ratio equalizing circuit of the present invention.

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

10,20…デュアルモジュラス分周回路 12,22…位相比較器 16,26…移動平均回路 32,34…分周比均一化回路 10, 20 ... Dual modulus frequency dividing circuit 12, 22 ... Phase comparator 16, 26 ... Moving average circuit 32, 34 ... Frequency division ratio equalizing circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 連続する所定個数の数値を記憶し、新た
な1つの数値が入力されてその記憶が更新される毎に記
憶されている数値のすべてを順次出力する記憶回路と、 該記憶回路における記憶の更新に関連してクリアされ、
該記憶回路から順次出力される数値を累算する累算回路
とを具備する移動平均回路。
1. A storage circuit for storing a predetermined number of consecutive numerical values and sequentially outputting all the stored numerical values each time a new numerical value is input and the storage is updated, and the storage circuit. Cleared in connection with memory updates in
A moving average circuit comprising: an accumulator circuit that accumulates numerical values sequentially output from the storage circuit.
【請求項2】 前記記憶回路は、入力された数値をラッ
チして出力するデータラッチ回路の前記所定個数の直列
接続を有するデータ保持回路と、 該記憶回路の記憶が更新されるときは新たな数値を選択
して該データ保持回路の入力へ与え、該記憶回路に記憶
されている数値を順次出力するときは該データ保持回路
の出力を選択して該データ保持回路の入力へ与える選択
回路とを含む請求項1記載の移動平均回路。
2. The data storage circuit comprises a data holding circuit having a predetermined number of serially connected data latch circuits for latching and outputting an input numerical value, and a new data storage circuit when the memory of the memory circuit is updated. A selection circuit for selecting a numerical value and giving it to the input of the data holding circuit and, when sequentially outputting numerical values stored in the storage circuit, selecting the output of the data holding circuit and giving it to the input of the data holding circuit; 2. The moving average circuit according to claim 1, including:
【請求項3】 前記累算回路は、前記記憶回路における
記憶の更新に関連してクリアされ、入力される数値をラ
ッチして出力するデータラッチ回路と、 前記記憶回路から出力される数値と該データラッチ回路
が出力する数値とを加算して該データラッチ回路の入力
に与える加算回路とを含む請求項1記載の移動平均回
路。
3. The data latch circuit, wherein the accumulator circuit is cleared in association with the update of the memory in the memory circuit and latches and outputs the input numerical value, and the numerical value output from the memory circuit and the numerical value. 2. The moving average circuit according to claim 1, further comprising an adder circuit for adding the numerical value output from the data latch circuit and giving the sum to the input of the data latch circuit.
【請求項4】 制御信号に従って2つの分周比の1つを
選択して動作するデュアルモジュラス分周器を、与えら
れた制御値に応じて分周比の時間軸上の分布が均一にな
るように制御するための制御信号を生成する分周比均一
化回路であって、 入力された制御値から該制御値を1/(a0 +1/(a
1 +1/(a2 +……+1/am ))……)で表わした
ときの商a0 ,a1 ,a2 ……am を連続的に算出して
出力する計算回路と、 該計算回路が出力する該複数の商a0 ,a1 ,a2 ……
m がそれぞれ分周比として設定される複数のプログラ
マブル分周器のカスケード接続を含み、基準信号を該複
数のプログラマブル分周器のカスケード接続により分周
して得られる分周出力を前記制御信号として出力する制
御信号生成回路とを具備する分周比均一化回路。
4. A dual-modulus frequency divider that operates by selecting one of two frequency division ratios according to a control signal has a uniform distribution of frequency division ratios on the time axis according to a given control value. A frequency division ratio equalizing circuit for generating a control signal for controlling the control value from the input control value to 1 / (a 0 + 1 / (a
1 + 1 / (a 2 + ...... + 1 / a m)) and the quotient a 0, a 1, a 2 ...... a m a calculating circuit for continuously calculated and output when expressed in ...), the The plurality of quotients a 0 , a 1 , a 2 ...
a m includes a cascade connection of a plurality of programmable frequency dividers, each of which is set as a frequency division ratio, and a frequency division output obtained by dividing a reference signal by the cascade connection of the plurality of programmable frequency dividers is the control signal. And a control signal generating circuit for outputting as a frequency division ratio equalizing circuit.
【請求項5】 前記計算回路は、前記制御値に対応する
分数の分母を分子で除算したときの商a0 、及び余りが
0になるまで前回の除数を前回の余りで除算することを
繰り返すことによって順次得られる商a1 ,a2 …am
を計算する請求項4記載の分周比均一化回路。
5. The calculation circuit repeats dividing a quotient a 0 when a denominator of a fraction corresponding to the control value is divided by a numerator and a previous divisor until the remainder becomes 0. sequentially obtained quotient a 1, a 2 ... a m by
The division ratio equalizing circuit according to claim 4, wherein
【請求項6】 前記制御信号生成回路は、前記計算回路
が出力する商a0 ,a1 …am がそれぞれ分周比として
設定される複数のプログラマブル分周器D0,D1 …D
m を含み、分周器D0 にあっては基準信号を分周して得
られる分周出力d0 を前記制御信号として出力し、iを
1からm−1までのいずれかとするときの分周器Di
あっては分周器Di-1 の分周出力di-1 を分周しその分
周出力di を分周器Di+1 へ入力するとともに該分周出
力di により分周器Di-1 の分周比を周期的にai-1
1に変更し、そして、分周器Dm にあっては分周器Dm-
1 の分周出力dm-1 を分周しその分周出力dm により分
周器Dm-1 の分周比を周期的にam-1 +1に変更する請
求項4記載の分周比均一化制御回路。
Wherein said control signal generating circuit, the calculated quotient a 0 which circuit outputs, a 1 ... a m is more programmable frequency divider D 0 which are set as respective division ratios, D 1 ... D
In the frequency divider D 0 , a frequency-divided output d 0 obtained by frequency-dividing a reference signal is output as the control signal, and the frequency is a value when i is any of 1 to m−1. In the frequency divider D i , the frequency-divided output d i-1 of the frequency divider D i-1 is frequency-divided, the frequency-divided output d i is input to the frequency divider D i + 1, and the frequency-divided output d i is also input. The frequency division ratio of the frequency divider D i-1 is periodically a i-1 + by i
1 and, in the case of the frequency divider D m , the frequency divider D m-
Dividing according to claim 4, wherein changing the first frequency division output d m-1 the frequency division ratio the divided output by d m of the frequency divider D m-1 of the dividing perilla periodically to a m-1 +1 Ratio equalization control circuit.
【請求項7】 前記計算回路は、被除数を除数で除算し
て商と余りを出力する除算回路と、 入力された数値をラッチして該除算回路へ被除数として
出力する第1のラッチ回路と、 入力された数値をラッチして該除算回路へ除数として出
力する第2のラッチ回路と、 前記分母の値及び該第2のラッチ回路の出力のいずれか
一方を選択して該第1のラッチ回路へ入力する第1の選
択回路と、 前記分子の値及び該除算回路の余り出力のいずれか一方
を選択して該第2のラッチ回路へ入力する第2の選択回
路とを含む請求項5記載の分周比均一化制御回路。
7. The division circuit divides a dividend by a divisor and outputs a quotient and a remainder, and a first latch circuit which latches an input numerical value and outputs it to the division circuit as a dividend. A second latch circuit that latches the input numerical value and outputs it to the division circuit as a divisor, and the first latch circuit that selects one of the value of the denominator and the output of the second latch circuit. 6. A first selection circuit for inputting to the second latch circuit, and a second selection circuit for selecting one of the value of the numerator and the remainder output of the division circuit and inputting it to the second latch circuit. Frequency division ratio equalization control circuit.
JP7058889A 1995-03-17 1995-03-17 Moving mean circuit and frequency division ratio equalizing circuit Pending JPH08255152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7058889A JPH08255152A (en) 1995-03-17 1995-03-17 Moving mean circuit and frequency division ratio equalizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7058889A JPH08255152A (en) 1995-03-17 1995-03-17 Moving mean circuit and frequency division ratio equalizing circuit

Publications (1)

Publication Number Publication Date
JPH08255152A true JPH08255152A (en) 1996-10-01

Family

ID=13097361

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7058889A Pending JPH08255152A (en) 1995-03-17 1995-03-17 Moving mean circuit and frequency division ratio equalizing circuit

Country Status (1)

Country Link
JP (1) JPH08255152A (en)

Similar Documents

Publication Publication Date Title
US6480047B2 (en) Reduced jitter phase lock loop using a technique multi-stage digital delay line
JP4566560B2 (en) Cascade delay lock loop circuit
JP3388527B2 (en) Fractional-N frequency divider and fractional-N frequency synthesizer using the same
US7782988B2 (en) Digital frequency synthesizer
US4339722A (en) Digital frequency multiplier
EP0727877B1 (en) Fast frequency switching synthesizer
US5729179A (en) Variable Frequency Divider
CN100566161C (en) Synthesizer and method for generating an output signal having a desired period
KR100865662B1 (en) Noise-shaped digital frequency synthesis
JP2002217715A (en) Multiple input phase locked loop with hitless reference switching
JPH10327071A (en) Fractional phase locked loop coherent frequency synthesizer
US5867544A (en) Phase-locked loop oscillator, and moving-average circuit, and division-ratio equalization circuit suitable for use in the same
US5668504A (en) Frequency synthesizer
KR100414864B1 (en) Digital Counter and Digital PLL Circuit
EP0929940B1 (en) Frequency synthesizer having phase error feedback for waveform selection
JPH0514185A (en) Clock signal generator using frequency fraction division
EP1307960B1 (en) Frequency synthesizer
JP5044719B2 (en) Clock generation using a fractional phase detector
JP2996205B2 (en) PDH low-speed signal switching DPLL
JPH08255152A (en) Moving mean circuit and frequency division ratio equalizing circuit
JP4434277B2 (en) Clock generation circuit and method of using the same
JP2002100985A (en) High-resolution frequency adjustment method and device for multi-stage frequency synthesizer
US6160433A (en) Method for generating clock and clock generating circuit
JP3218149B2 (en) Frequency synthesizer
US20010005408A1 (en) Electronic device with a frequency synthesis circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060110