JPH04235415A - Phase synchronizing loop circuit - Google Patents

Phase synchronizing loop circuit

Info

Publication number
JPH04235415A
JPH04235415A JP3012910A JP1291091A JPH04235415A JP H04235415 A JPH04235415 A JP H04235415A JP 3012910 A JP3012910 A JP 3012910A JP 1291091 A JP1291091 A JP 1291091A JP H04235415 A JPH04235415 A JP H04235415A
Authority
JP
Japan
Prior art keywords
phase difference
phase
circuit
value
address
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.)
Granted
Application number
JP3012910A
Other languages
Japanese (ja)
Other versions
JP2665055B2 (en
Inventor
Shinji Itano
板野 真治
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP3012910A priority Critical patent/JP2665055B2/en
Publication of JPH04235415A publication Critical patent/JPH04235415A/en
Application granted granted Critical
Publication of JP2665055B2 publication Critical patent/JP2665055B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain the phase synchronizing loop circuit that the synchronous establishment time is short by determining the phase difference in input signals. CONSTITUTION:An address counter C1 allocates the count value in the inside reference signal to the digital input signal as an address value. A phase difference detection circuit C2 detects this address value at the edge position for this digital input signal. The average value of the phase difference measured each time the phase difference measurement necessary for one decided phase jump is performed is determined. When this value exceeds the preliminarily set allowable jitter amount, the average value of the phase difference calculated in an arithmetic circuit C4 is outputted as correction phase difference. The address counter C1 is reset by comparing the counted address value with the value of this correction phase difference. Thus, the synchronization between the phase of the digital signal and the phase of the inside reference signal is promptly confirmed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、半導体集積回路化に適
合したディジタルPLL回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital PLL circuit suitable for semiconductor integrated circuits.

【0002】0002

【従来の技術】従来この種のディジタルPLL回路は、
図4に示すように、内部基準信号を発生するループカウ
ンタC11と、入力信号2とループカウンタC11から
出力される基準信号4とを比較する位相比較回路C12
と、位相比較回路C12の出力である遅れ信号5、進み
信号6または同期信号7を入力し、遅れまたは進みの各
状況を数としてカウントし、アップ信号8またはダウン
信号9を出力するフィルタ回路C13とを有している。 位相比較回路C12でループカウンタC11による基準
信号4の位相と入力信号2の位相とを比較し、基準信号
4に対し入力信号2が遅れている場合は遅れ信号5を、
進んでいる場合は進み信号6を、同じ場合は同期信号を
フィルタ回路C13へ出力する。フィルタ回路C13で
は、遅れ信号5または進み信号6がカウント数設定信号
群10で設定された任意の数だけ連続してくるか否かを
チェックし、遅れ信号5が任意の数だけ連続した場合に
アップ信号8を出力し、進み信号6が任意の数だけ連続
した場合にダウン信号9を出力する。以上の動作をくり
返し、入力信号2に対してループカウンタC11の出力
する基準信号4を同期させている。
[Prior Art] Conventionally, this type of digital PLL circuit is
As shown in FIG. 4, a loop counter C11 generates an internal reference signal, and a phase comparison circuit C12 compares the input signal 2 with the reference signal 4 output from the loop counter C11.
and a filter circuit C13 which inputs the delay signal 5, lead signal 6 or synchronization signal 7 which is the output of the phase comparator circuit C12, counts each state of delay or lead as a number, and outputs an up signal 8 or a down signal 9. It has The phase comparator circuit C12 compares the phase of the reference signal 4 obtained by the loop counter C11 with the phase of the input signal 2, and if the input signal 2 is delayed with respect to the reference signal 4, the delayed signal 5 is
If they are ahead, a lead signal 6 is output to the filter circuit C13, and if they are the same, a synchronization signal is output to the filter circuit C13. The filter circuit C13 checks whether or not the delayed signal 5 or the advanced signal 6 continues by an arbitrary number set in the count number setting signal group 10, and if the delayed signal 5 continues by the arbitrary number. An up signal 8 is output, and when an arbitrary number of advance signals 6 are consecutive, a down signal 9 is output. By repeating the above operations, the reference signal 4 output from the loop counter C11 is synchronized with the input signal 2.

【0003】0003

【発明が解決しようとする課題】このような従来のディ
ジタルPLL回路では、一度の位相ジャンプで動作クロ
ック1クロック分しか位相ジャンプができないので、位
相のずれが大きいほど同期確立に時間が多くかかる欠点
がある。また、同期補正の分解能を上げるために動作ク
ロックの周期を1/n倍にした場合に時間的には位相差
は変わらないので、ループカウンタのカウント数がn倍
になり、位相引き込み時間がn倍になる。したがって分
解能を上げるためには、位相引き込み時間を考慮する必
要が生ずる欠点がある。また遅れ、進みまたは同期の状
態で判定しているだけなので、許容ジッタ量以内まで位
相を引き込んだ後でも必要以上に引き込みが続き、PL
L回路で発生されるクロックが常に変動する欠点がある
[Problem to be Solved by the Invention] In such a conventional digital PLL circuit, a phase jump can only be made by one operating clock in one phase jump, so the disadvantage is that the larger the phase shift, the longer it takes to establish synchronization. There is. In addition, when the period of the operating clock is increased by 1/n to increase the resolution of synchronization correction, the phase difference does not change in terms of time, so the count number of the loop counter increases by n times, and the phase pull-in time increases by n. Double. Therefore, in order to increase the resolution, there is a drawback that it is necessary to consider the phase acquisition time. In addition, since the judgment is only made based on the state of delay, lead, or synchronization, even after the phase has been pulled within the allowable jitter amount, the phase continues to be pulled in more than necessary, and the PL
There is a drawback that the clock generated by the L circuit always fluctuates.

【0004】本発明は、このような欠点を除去するもの
で、同期確立時間の短い位相同期ループ回路を提供する
ことを目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and provides a phase-locked loop circuit with short synchronization establishment time.

【0005】[0005]

【課題を解決するための手段】本発明は、ディジタル入
力信号の位相と内部基準信号の位相とを比較して同期を
確認する位相同期ループ回路において、内部基準信号の
計数値をディジタル入力信号に対してアドレス値として
割りふるアドレスカウンタと、このディジタル入力信号
のエッジ位置での上記アドレスカウンタのアドレス値を
検出する位相差検出回路と、1回の位相ジャンプに必要
な位相差計測の回数を決定する第一のフィルタ回路と、
この計測フィルタ回路で決定された位相差計測の回数ご
とに位相差検出回路で計測された位相差の平均値を求め
る演算回路と、この演算回路で求めた平均位相差があら
かじめ設定された許容ジッタ量を超える値であるときに
演算回路で演算された位相差の平均値を補正位相差とし
て出力する第二のフィルタ回路と、上記アドレスカウン
タで計数されたアドレス値とこの第二のフィルタ回路の
補正位相差の値を比較し、上記アドレスカウンタをリセ
ットする補正回路とを備える。
[Means for Solving the Problems] The present invention provides a phase-locked loop circuit that compares the phase of a digital input signal with the phase of an internal reference signal to confirm synchronization. An address counter that allocates the address value to the digital input signal, a phase difference detection circuit that detects the address value of the address counter at the edge position of this digital input signal, and determines the number of phase difference measurements required for one phase jump. a first filter circuit that
An arithmetic circuit that calculates the average value of the phase difference measured by the phase difference detection circuit for each number of phase difference measurements determined by this measurement filter circuit, and a permissible jitter whose average phase difference obtained by this arithmetic circuit is set in advance. a second filter circuit that outputs the average value of the phase difference calculated by the arithmetic circuit as a corrected phase difference when the value exceeds the value of the address value counted by the address counter; and a correction circuit that compares the values of the corrected phase differences and resets the address counter.

【0006】ここで、上記第一のフィルタ回路、上記演
算回路および上記第二のフィルタ回路がCPUのプログ
ラムで実現される構成であっても良い。
[0006] Here, the first filter circuit, the arithmetic circuit, and the second filter circuit may be realized by a program of a CPU.

【0007】[0007]

【作用】内部基準信号の計数値をディジタル入力信号に
対してアドレス値として割りふる。このディジタル入力
信号のエッジ位置でこのアドレス値を検出する。決定さ
れた1回の位相ジャンプに必要な位相差計測の回数ごと
に計測された位相差の平均値を求め、この値があらかじ
め設定された許容ジッタ量を超える値であるときに演算
回路で演算された位相差の平均値を補正位相差として出
力する。計数されたアドレス値とこの補正位相差の値を
比較し、アドレスカウンタをリセットする。これにより
、ディジタル入力信号の位相と内部基準信号の位相との
間の同期を速やかに確認することができる。
[Operation] The count value of the internal reference signal is assigned to the digital input signal as an address value. This address value is detected at the edge position of this digital input signal. The average value of the phase difference measured for each number of phase difference measurements required for one determined phase jump is calculated, and when this value exceeds the preset allowable jitter amount, the calculation is performed by the calculation circuit. The average value of the calculated phase differences is output as a corrected phase difference. The counted address value and this corrected phase difference value are compared, and the address counter is reset. Thereby, synchronization between the phase of the digital input signal and the phase of the internal reference signal can be quickly confirmed.

【0008】[0008]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。図1は本発明の第一実施例のファンクシ
ョンブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram of a first embodiment of the present invention.

【0009】アドレスカウンタC1は、入力信号の1周
期をあらかじめ設定された値で分周するカウンタであり
、入力信号のエッジ位置を認識するもので、補正回路C
6からのロック信号に応じて進みまたは遅れ状態が同期
状態になるようにカウント状態を変更して位相引込みを
行う。このアドレスカウンタC1は動作クロック3およ
びロック信号14を入力し、アドレス4を位相差検出回
路C2および補正回路C6に出力する。位相差検出回路
C2はアドレス4、入力信号2、クリア信号8を入力し
、位相差5を演算回路C4に出力する。計測フィルタ回
路C3は動作クロック3、入力信号2および位相差計測
回数設定信号群6を入力し、平均信号7を演算回路C4
に出力し、クリア信号8を位相差検出回路C2および演
算回路C4に出力し、補正範囲信号9をジッタフィルタ
回路C5および補正回路C6に出力する。演算回路C4
は位相差5、平均信号7およびクリア信号8を入力し、
平均位相差10をジッタフィルタ回路C5に出力する。 ジッタフィルタ回路C5は平均位相差10、許容ジッタ
量設定信号群11および補正範囲信号9を入力し、補正
信号12および補正位相差13を補正回路C6に出力す
る。 補正回路C6はジッタフィルタ回路C5から入力される
補正位相差13が補正範囲信号9で示される範囲を越え
たときに補正位相差13とアドレス4とによりロック信
号を出力し、アドレスカウンタC1に位相引込みを行わ
せる回路であり、アドレス4、補正範囲信号9、補正信
号12および補正位相差13を入力し、ロック信号14
をアドレスカウンタC1に出力する。リセット1は全ブ
ロックC1〜C6に入力されている。
The address counter C1 is a counter that divides one period of the input signal by a preset value, and recognizes the edge position of the input signal.
In response to the lock signal from 6, the count state is changed so that the lead or lag state becomes the synchronous state, and phase pull-in is performed. This address counter C1 inputs an operation clock 3 and a lock signal 14, and outputs an address 4 to a phase difference detection circuit C2 and a correction circuit C6. The phase difference detection circuit C2 inputs the address 4, the input signal 2, and the clear signal 8, and outputs the phase difference 5 to the arithmetic circuit C4. The measurement filter circuit C3 inputs the operation clock 3, the input signal 2, and the phase difference measurement number setting signal group 6, and sends the average signal 7 to the calculation circuit C4.
The clear signal 8 is output to the phase difference detection circuit C2 and the arithmetic circuit C4, and the correction range signal 9 is output to the jitter filter circuit C5 and the correction circuit C6. Arithmetic circuit C4
inputs phase difference 5, average signal 7 and clear signal 8,
The average phase difference of 10 is output to the jitter filter circuit C5. The jitter filter circuit C5 inputs the average phase difference 10, the allowable jitter amount setting signal group 11, and the correction range signal 9, and outputs the correction signal 12 and the correction phase difference 13 to the correction circuit C6. When the corrected phase difference 13 inputted from the jitter filter circuit C5 exceeds the range indicated by the correction range signal 9, the correction circuit C6 outputs a lock signal based on the corrected phase difference 13 and the address 4, and outputs a lock signal to the address counter C1. This is a circuit that performs pull-in, and inputs an address 4, a correction range signal 9, a correction signal 12, and a correction phase difference 13, and outputs a lock signal 14.
is output to address counter C1. Reset 1 is input to all blocks C1 to C6.

【0010】すなわち、この実施例は、図1に示すよう
に、内部基準信号の計数値をディジタル入力信号に対し
てアドレス値として割りふるアドレスカウンタC1と、
このディジタル入力信号のエッジ位置での上記アドレス
カウンタC1のアドレス値を検出する位相差検出回路C
2と、1回の位相ジャンプに必要な位相差計測の回数を
決定する第一のフィルタ回路である計測フィルタ回路C
3と、この計測フィルタ回路C3で決定された位相差計
測の回数ごとに位相差検出回路C2で計測された位相差
の平均値を求める演算回路C4と、この演算回路C4で
求めた平均位相差があらかじめ設定された許容ジッタ量
を超える値であるときに演算回路C4で演算された位相
差の平均値を補正位相差として出力する第二のフィルタ
回路であるジッタフィルタ回路C5と、上記アドレスカ
ウンタC1で計数されたアドレス値とこの第二のフィル
タ回路の補正位相差の値を比較し、上記アドレスカウン
タC1をリセットする補正回路C6とを備える。ここで
、上記第一のフィルタ回路、上記演算回路および上記第
二のフィルタ回路がCPUのプログラムで実現される構
成であっても良い。
That is, as shown in FIG. 1, this embodiment includes an address counter C1 which divides the count value of an internal reference signal as an address value for a digital input signal;
A phase difference detection circuit C that detects the address value of the address counter C1 at the edge position of this digital input signal.
2, and a measurement filter circuit C, which is a first filter circuit that determines the number of phase difference measurements required for one phase jump.
3, an arithmetic circuit C4 that calculates the average value of the phase differences measured by the phase difference detection circuit C2 for each number of phase difference measurements determined by the measurement filter circuit C3, and an average phase difference obtained by the arithmetic circuit C4. a jitter filter circuit C5, which is a second filter circuit that outputs the average value of the phase difference calculated by the calculation circuit C4 as a corrected phase difference when the value exceeds a preset allowable amount of jitter, and the address counter. A correction circuit C6 is provided which compares the address value counted by C1 with the corrected phase difference value of the second filter circuit and resets the address counter C1. Here, the first filter circuit, the arithmetic circuit, and the second filter circuit may be realized by a program of a CPU.

【0011】図2のタイムチャートによりこの第一実施
例の動作を説明する。
The operation of this first embodiment will be explained with reference to the time chart shown in FIG.

【0012】位相差計測回数設定信号群6により計測フ
ィルタ回路C3の位相差計測回数が「3」に設定されて
いるものとし、また、許容ジッタ量設定信号群11によ
り設定されるジッタフィルタ回路C5の許容ジッタ量を
遅れおよび進み双方へアドレス値2個分とする。また、
アドレスカウンタC1によるアドレス値は「0」ないし
「99」の100 個とし、同期の基準アドレス値は「
0」とする。したがって許容ジッタ量は±2%(2/1
00)である。
It is assumed that the number of phase difference measurements of the measurement filter circuit C3 is set to "3" by the phase difference measurement number setting signal group 6, and the jitter filter circuit C5 is set by the allowable jitter amount setting signal group 11. Let the allowable amount of jitter be two address values for both the delay and lead. Also,
The address value by address counter C1 is 100 from "0" to "99", and the reference address value for synchronization is "
0". Therefore, the allowable jitter amount is ±2% (2/1
00).

【0013】まずパワーオンリセット後にアドレスカウ
ンタC1は自走を始める。入力信号2の1回目のエッジ
位置(例えば立ち上り)で、アドレスカウンタC1の出
力するアドレス4のアドレス値「3」を位相差検出回路
C2が保持し、演算回路C4へ加算される。同様に2回
目のエッジでアドレス値「5」を、3回目のエッジでア
ドレス値「5」を加算する。3回目のアドレス値加算後
に平均信号7に応じて平均値を求め、平均位相差10よ
り位相差「4」(小数点以下切りすて)を出力する。補
正範囲信号9の立ち上りでジッタフィルタ回路C5が平
均位相差10の値「4」を保持し、許容ジッタ量±2以
外なので補正信号12に「1」を出力する。補正信号1
2と補正範囲信号9とが「1」であることを確認し、補
正回路C6でアドレス4からのアドレス値と補正位相差
13からの「4」とを比較し、一致した時点でロック信
号14に「0」を出力し、アドレスカウンタC1をリセ
ット(アドレス値0)する。入力信号2の4回目のエッ
ジで得られるアドレス値は「1」になる。入力信号2の
5周期目以降安定しアドレス値が許容ジッタ量±2以内
であるかぎり周期状態になる。
First, after a power-on reset, the address counter C1 starts running on its own. At the first edge position (for example, rising edge) of the input signal 2, the phase difference detection circuit C2 holds the address value "3" of the address 4 output from the address counter C1, and is added to the arithmetic circuit C4. Similarly, the address value "5" is added at the second edge, and the address value "5" is added at the third edge. After the third address value addition, an average value is determined according to the average signal 7, and a phase difference of "4" (rounded off after the decimal point) is output from the average phase difference 10. At the rising edge of the correction range signal 9, the jitter filter circuit C5 holds the value "4" of the average phase difference 10, and outputs "1" to the correction signal 12 since the jitter amount is outside the allowable jitter amount ±2. Correction signal 1
2 and the correction range signal 9 are "1", the correction circuit C6 compares the address value from the address 4 and "4" from the correction phase difference 13, and when they match, the lock signal 14 is output. outputs "0" to the address counter C1 (address value 0). The address value obtained at the fourth edge of input signal 2 becomes "1". After the fifth period of the input signal 2, it becomes stable and becomes a periodic state as long as the address value is within the allowable jitter amount ±2.

【0014】位相差の変動が大きいために平均位相差と
位相ジャンプ直前の位相差のずれが大きくなり一度の位
相ジャンプで同期できなかった場合に、一度目の補正後
のアドレス値で次の補正位相差を求め、位相ジャンプす
る。以上をくり返し同期確立を行う。
[0014] If the deviation between the average phase difference and the phase difference immediately before a phase jump becomes large due to large fluctuations in the phase difference, and synchronization cannot be achieved with one phase jump, the next correction is made using the address value after the first correction. Find the phase difference and perform a phase jump. Repeat the above steps to establish synchronization.

【0015】従来のディジタルPLL回路でこの実施例
と同様の条件で許容ジッタ量の±2%まで引き込むのに
3{フィルタ設定値}×(5{位相差中のカウント数}
−2{許容ジッタ量})×T{入力信号の1周期}=9
Tの時間が必要であったが、この実施例では、(3{計
測フィルタ設定値}+1)×T=4Tの時間で引き込め
る。また、計算式より変数は計測フィルタの設定値だけ
になるので時間を短縮できる。
In a conventional digital PLL circuit, it takes 3 {filter setting value} x (5 {number of counts during phase difference}) to pull down to ±2% of the allowable jitter amount under the same conditions as in this embodiment.
-2 {allowable jitter amount}) x T {1 cycle of input signal} = 9
Although T time was required, in this embodiment, it can be retracted in a time of (3 {measurement filter setting value}+1)×T=4T. Furthermore, since the calculation formula requires only the set value of the measurement filter, time can be reduced.

【0016】また、従来のディジタルPLL回路では遅
れ、進みまたは同期の状態で判定しているので、許容ジ
ッタ量以内まで位相を引き込んだ後でも必要以上に引き
込みを続け、PLL回路で発生されるクロックが常に変
動していたが、この実施例回路では位相差で判定してい
るので、ジッタフィルタ回路により許容ジッタ量をもた
せてPLL回路で発生されるクロックの安定度を向上で
きる。
Furthermore, since conventional digital PLL circuits make judgments based on the delayed, advanced, or synchronous state, even after the phase has been pulled within the allowable jitter amount, the phase continues to be pulled in more than necessary, causing the clock generated by the PLL circuit to However, in this embodiment circuit, the determination is made based on the phase difference, so the jitter filter circuit can provide an allowable amount of jitter and improve the stability of the clock generated by the PLL circuit.

【0017】また、従来のディジタルPLL回路では、
同期補正の分解能を上げるために動作クロックの周期を
1/n倍にした場合に、時間的には位相差は変わらない
ので動作クロックの数がn倍となり、位相引き込み時間
がn倍になる。したがって、分解能を上げるためには位
相引き込み時間を考慮しなければならなかったが、この
実施例回路では計算上位相差中のカウント数は関係ない
ので、位相引き込み時間に関係なく同期補正の分解能を
向上できる。
[0017] Furthermore, in the conventional digital PLL circuit,
When the period of the operating clock is increased by 1/n times in order to increase the resolution of synchronization correction, the phase difference does not change in terms of time, so the number of operating clocks increases by n times, and the phase pull-in time increases by n times. Therefore, in order to increase the resolution, it was necessary to consider the phase pull-in time, but in this example circuit, the number of counts in the phase difference is not relevant in calculations, so the resolution of synchronization correction can be improved regardless of the phase pull-in time. can.

【0018】図3は本発明の第二実施例のファンクショ
ンブロック図である。
FIG. 3 is a functional block diagram of a second embodiment of the present invention.

【0019】アドレスカウンタC1は動作クロック3お
よびロック信号14を入力し、アドレス4を位相差検出
回路C2および補正回路C6に出力する。位相差検出回
路C2はアドレス4、入力信号2およびクリア信号8を
入力し、位相差5をCPUインタフェースC7に出力す
る。補正回路C6はアドレス4、補正範囲信号9、補正
信号12および補正位相差13を入力し、ロック信号1
4をアドレスカウンタC1に出力する。CPUインタフ
ェースC7は入力信号2、動作クロック3および位相差
5を入力し、クリア信号8を位相差検出回路C2に出力
し、補正範囲信号9、補正信号12および補正位相差1
3を補正回路C6に出力する。また、CPUと任意の信
号を入出力する。リセット1は全ブロックC1、C2、
C6およびC7に入力されている。
Address counter C1 inputs operation clock 3 and lock signal 14, and outputs address 4 to phase difference detection circuit C2 and correction circuit C6. The phase difference detection circuit C2 inputs the address 4, the input signal 2, and the clear signal 8, and outputs the phase difference 5 to the CPU interface C7. The correction circuit C6 inputs the address 4, the correction range signal 9, the correction signal 12, and the correction phase difference 13, and outputs the lock signal 1.
4 is output to address counter C1. The CPU interface C7 inputs the input signal 2, the operating clock 3, and the phase difference 5, outputs the clear signal 8 to the phase difference detection circuit C2, and outputs the correction range signal 9, the correction signal 12, and the correction phase difference 1.
3 is output to the correction circuit C6. It also inputs and outputs arbitrary signals to and from the CPU. Reset 1 resets all blocks C1, C2,
It is input to C6 and C7.

【0020】次に、この第二実施例の動作を説明する。Next, the operation of this second embodiment will be explained.

【0021】アドレスカウンタC1、位相差検出回路C
2および補正回路C6は第一実施例と同じ動作である。 また、CPUインタフェースC7は、第一実施例の計測
フィルタ回路C3、演算回路C4およびジッタフィルタ
回路C5の3回路の動作を全てCPUのプログラムでコ
ントロールできるように構成されたブロックである。
Address counter C1, phase difference detection circuit C
2 and the correction circuit C6 operate in the same manner as in the first embodiment. Further, the CPU interface C7 is a block configured so that the operations of the three circuits of the first embodiment, the measurement filter circuit C3, the arithmetic circuit C4, and the jitter filter circuit C5, can all be controlled by a CPU program.

【0022】プログラムの内容とCPUインタフェース
C7の信号送受を説明する。CPUインタフェースC7
では、位相検出回路C2が入力信号2のエッジ位置(例
えば立ち上り)により保持している位相差5をCPUへ
常に任意の間隔で出力し続ける。プログラムでは入力し
た位相差を計測回数の間毎に平均し、その都度許容ジッ
タ量以内であるか否かを判定し、範囲内のときは平均位
相差を「0」とし、範囲外のときはその平均位相差をC
PUインタフェースC7へ出力する。CPUインタフェ
ースC7ではCPUから入力した平均位相差を補正位相
差13より出力し、平均位相差が「0」以外のときだけ
補正信号12を出力して補正させ、同期確立を行う。
The contents of the program and the signal transmission and reception of the CPU interface C7 will be explained. CPU interface C7
Then, the phase detection circuit C2 continues to output the phase difference 5 held by the edge position (for example, rising edge) of the input signal 2 to the CPU at arbitrary intervals. In the program, the input phase difference is averaged for each number of measurements, and each time it is determined whether it is within the allowable jitter amount. If it is within the range, the average phase difference is set to "0", and if it is outside the range, it is set to "0". The average phase difference is C
Output to PU interface C7. The CPU interface C7 outputs the average phase difference input from the CPU from the correction phase difference 13, and only when the average phase difference is other than "0", outputs the correction signal 12 to correct it and establish synchronization.

【0023】CPUを通しプログラムでコントロールで
きるので、平均位相差による補正だけでなく複雑なアル
ゴリズムによる補正が可能である。
Since it can be controlled by a program through the CPU, it is possible to perform not only correction based on the average phase difference but also correction based on a complex algorithm.

【0024】また、計測回数および許容ジッタ量も同期
状態に応じて変えることにより特性向上の効果が得られ
る。たとえば、入力信号の周波数変動が大きい初期状態
で計測回数および許容ジッタ量が多いとPLL回路の発
生するクロックの安定度は高くなるが、計測回数および
許容ジッタ量が少ないとPLL回路の発生するクロック
の安定度はさがる。また同期時には計測回数および許容
ジッタ量を少なくすれば急変の対応も早くなるが、計測
回数および許容ジッタ量が多いと急変の対応がおそい。
Furthermore, by changing the number of measurements and the allowable amount of jitter depending on the synchronization state, the effect of improving the characteristics can be obtained. For example, in the initial state where the frequency fluctuation of the input signal is large, if the number of measurements and the amount of allowable jitter are large, the stability of the clock generated by the PLL circuit will be high, but if the number of measurements and the amount of allowable jitter are small, the clock generated by the PLL circuit will be stability decreases. Furthermore, during synchronization, if the number of measurements and the amount of allowable jitter are reduced, the response to sudden changes will be faster, but if the number of measurements and the amount of allowable jitter are large, the response to sudden changes will be slow.

【0025】[0025]

【発明の効果】本発明は、以上説明したように、入力信
号の位相差を求めることにより同期確立が短縮できる効
果がある。
As described above, the present invention has the effect of shortening the time required to establish synchronization by determining the phase difference between input signals.

【0026】また、位相差分を一度に位相ジャンプして
いるので、同期確立の所要時間にかかわりなく分解能を
上げられる効果がある。
Furthermore, since the phase difference is phase-jumped at once, the resolution can be improved regardless of the time required to establish synchronization.

【0027】また、ジッタフィルタ回路により許容ジッ
タ量内では同期と判定しているので、必要以上の位相引
き込みを無くし、PLL回路の発生するクロックの安定
度が高いCPUインタフェースを使用してプログラム対
応をとることにより、補正位相差を求めるために複雑な
アルゴリズムの使用を可能にする効果がある。
Furthermore, since the jitter filter circuit determines that the synchronization is within the allowable amount of jitter, it is possible to eliminate unnecessary phase pull-in and use a CPU interface with high stability of the clock generated by the PLL circuit to support programming. This has the effect of allowing the use of complex algorithms to determine the corrected phase difference.

【0028】また、位相計測回数および許容ジッタ量を
プログラムで同期状態に応じて変えられるので、特性の
向上を期待できる効果がある。
Furthermore, since the number of phase measurements and the allowable amount of jitter can be changed by a program according to the synchronization state, it is possible to expect an improvement in characteristics.

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

【図1】  本発明の第一実施例の構成を示すブロック
図。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention.

【図2】  本発明実施例の動作を示すタイムチャート
FIG. 2 is a time chart showing the operation of the embodiment of the present invention.

【図3】  本発明の第二実施例の構成を示すブロック
図。
FIG. 3 is a block diagram showing the configuration of a second embodiment of the present invention.

【図4】  従来例の構成を示すブロック図。FIG. 4 is a block diagram showing the configuration of a conventional example.

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

C1  アドレスカウンタ C2  位相差検出回路 C3  計測フィルタ回路 C4  演算回路 C5  ジッタフィルタ回路 C6  補正回路 C7  CPUインタフェース C11  ループカウンタ C12  位相比較回路 C13  フィルタ回路 C1 Address counter C2 Phase difference detection circuit C3 Measurement filter circuit C4 Arithmetic circuit C5 Jitter filter circuit C6 Correction circuit C7 CPU interface C11 Loop counter C12 Phase comparison circuit C13 Filter circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  ディジタル入力信号の位相と内部基準
信号の位相とを比較して同期を確認する位相同期ループ
回路において、内部基準信号の計数値をディジタル入力
信号に対してアドレス値として割りふるアドレスカウン
タと、このディジタル入力信号のエッジ位置での上記ア
ドレスカウンタのアドレス値を検出する位相差検出回路
と、1回の位相ジャンプに必要な位相差計測の回数を決
定する第一のフィルタ回路と、この計測フィルタ回路で
決定された位相差計測の回数ごとに位相差検出回路で計
測された位相差の平均値を求める演算回路と、この演算
回路で求めた平均位相差があらかじめ設定された許容ジ
ッタ量を超える値であるときに演算回路で演算された位
相差の平均値を補正位相差として出力する第二のフィル
タ回路と、上記アドレスカウンタで計数されたアドレス
値とこの第二のフィルタ回路の補正位相差の値を比較し
、上記アドレスカウンタをリセットする補正回路とを備
えたことを特徴とする位相同期ループ回路。
Claim 1: In a phase-locked loop circuit that compares the phase of a digital input signal and the phase of an internal reference signal to confirm synchronization, an address that allocates the count value of the internal reference signal as an address value to the digital input signal. a counter, a phase difference detection circuit that detects the address value of the address counter at the edge position of the digital input signal, and a first filter circuit that determines the number of phase difference measurements required for one phase jump; An arithmetic circuit that calculates the average value of the phase difference measured by the phase difference detection circuit for each number of phase difference measurements determined by this measurement filter circuit, and a permissible jitter whose average phase difference obtained by this arithmetic circuit is set in advance. a second filter circuit that outputs the average value of the phase difference calculated by the arithmetic circuit as a corrected phase difference when the value exceeds the value of the address value counted by the address counter; A phase-locked loop circuit comprising: a correction circuit that compares values of corrected phase differences and resets the address counter.
【請求項2】  上記第一のフィルタ回路、上記演算回
路および上記第二のフィルタ回路がCPUのプログラム
で実現される構成である請求項1記載の位相同期ループ
回路。
2. The phase-locked loop circuit according to claim 1, wherein the first filter circuit, the arithmetic operation circuit, and the second filter circuit are implemented by a CPU program.
JP3012910A 1991-01-09 1991-01-09 Phase locked loop circuit Expired - Lifetime JP2665055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3012910A JP2665055B2 (en) 1991-01-09 1991-01-09 Phase locked loop circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3012910A JP2665055B2 (en) 1991-01-09 1991-01-09 Phase locked loop circuit

Publications (2)

Publication Number Publication Date
JPH04235415A true JPH04235415A (en) 1992-08-24
JP2665055B2 JP2665055B2 (en) 1997-10-22

Family

ID=11818508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3012910A Expired - Lifetime JP2665055B2 (en) 1991-01-09 1991-01-09 Phase locked loop circuit

Country Status (1)

Country Link
JP (1) JP2665055B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209060A (en) * 2016-06-27 2016-12-07 东南大学 A kind of timing error monitoring system based on current monitoring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106209060A (en) * 2016-06-27 2016-12-07 东南大学 A kind of timing error monitoring system based on current monitoring

Also Published As

Publication number Publication date
JP2665055B2 (en) 1997-10-22

Similar Documents

Publication Publication Date Title
US4791386A (en) Digital phase-locked loop with random walk filter
JPH06244717A (en) Oscillator clock signal generating circuit
JPH0795072A (en) Phase locked loop oscillation circuit
US6819153B2 (en) Semiconductor device for clock signals synchronization accuracy
US6967536B2 (en) Phase-locked loop circuit reducing steady state phase error
JPH04235415A (en) Phase synchronizing loop circuit
JPS5957530A (en) Phase locked loop
US6801093B2 (en) Frequency synchronous apparatus and frequency synchronous control method
JP2806675B2 (en) Digital PLL device with switching convergence mode
JPH0349319A (en) Synchronization detection system
US7259599B2 (en) Semiconductor device
KR100498411B1 (en) Method for controlling frequency lock and pll therefor
JP2000323982A (en) Pll circuit
JPH11112336A (en) Digital pll circuit
JPH0276415A (en) Phase synchronizing circuit
JPS585614B2 (en) phase synchronized oscillator
JPH0432330A (en) System clock protection system
JP2000031819A (en) Clock synchronizing circuit
JPH0983354A (en) Dpll circuit
JPS6397016A (en) Phase locked oscillation circuit
JPH03101311A (en) Phase locked loop oscillation circuit
JPH069351B2 (en) Digital signal synchronization circuit
JPH08172353A (en) Digital pll circuit
JPH02189027A (en) Phase synchronizing circuit
JPS60216647A (en) Jitter elimination synchronizing equipment