JPS5980018A - Phase detecting circuit - Google Patents

Phase detecting circuit

Info

Publication number
JPS5980018A
JPS5980018A JP19041782A JP19041782A JPS5980018A JP S5980018 A JPS5980018 A JP S5980018A JP 19041782 A JP19041782 A JP 19041782A JP 19041782 A JP19041782 A JP 19041782A JP S5980018 A JPS5980018 A JP S5980018A
Authority
JP
Japan
Prior art keywords
counter
circuit
clock
phase difference
counters
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
JP19041782A
Other languages
Japanese (ja)
Inventor
Koji Nishizaki
西崎 浩二
Satoshi Inano
聡 稲野
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 JP19041782A priority Critical patent/JPS5980018A/en
Publication of JPS5980018A publication Critical patent/JPS5980018A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To always detect the maximum phase difference, by providing two counters which convert the phase difference between a clock to be measured and a reference clock into a pulse and then compare the pulse count values and switching these two counters by the value of comparison. CONSTITUTION:A reference clock applied to a terminal (a) and a clock to be measured which is applied to a terminal (b) are detected 1 and 2 respectively, and an FF3 is set and reset. Thus the FF3 opens an AND gate 4 for a period corresponding to the phase difference. While high frequency pulses sent from an oscillator 10 are counted by a counter 6 via the gate 4. In this case, the count value of a counter 7 is set at 0. Then the count values of counters 6 and 7 are compared with each other by a comparator 8. When the result of this comparison is positive, the next counting is switched to the counter 7 by a switch control circuit 9 with the counter 6 reset respectively. While if the result of comparison is negative, the circuit 6 controls the counter 6 to perform also the next counting and to reset the counter 6. Thus the counter 6 or 7 always stores the maximum phase difference of that time point.

Description

【発明の詳細な説明】 (a)1発明の技術分野 本発明はジッタを持つクロックの位相変動を検出する回
路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (a) 1 Technical Field of the Invention The present invention relates to a circuit for detecting phase fluctuations of a clock having jitter.

(b)、従来技術と問題点 第1図は従来の位相検出回路の一実施例を示すブロック
図で、図中1.2は共に立ち上がり検出回路、3はフリ
ップ・フロップ回路、4は低域濾波器、5はピーク値ホ
ールド回路であり、aは基準クロック入力端子、bは被
測定クロック入力端子、Cはピーク値出力端子である。
(b), Prior Art and Problems Figure 1 is a block diagram showing an example of a conventional phase detection circuit. In the figure, 1 and 2 are both rise detection circuits, 3 is a flip-flop circuit, and 4 is a low frequency 5 is a peak value hold circuit, a is a reference clock input terminal, b is a measured clock input terminal, and C is a peak value output terminal.

以下第1図により従来の位相検出回路の動作の説明をす
る。
The operation of the conventional phase detection circuit will be explained below with reference to FIG.

立ち上がり検出回路1及び2は微分特性を持ち、a端子
に印加された基準クロックの波形もb端子に印加された
被測定クロックの波形も共に立ち上がりが急峻化されて
、基準クロックの立ち上がりでフリップ・フロップ3は
セットされ、被測定クロックの立ち上がりでフリップ・
フロップ3はリセットされる。此の様にして得られたフ
リップ・フロップ3の出力波形を低域濾波器4に印加す
ると、低域濾波器4は高周波数成分を除去して位相差に
相当する直流を得ることが出来る。然し此の様なりロッ
クの位相差を検出する回路は、基準クロックとの位相差
を直流電圧等のアナログ値に変換して検出している為、
クロックの位相変動の平均値しか判らないので、位相差
が緩慢に変化する時は良いが、少し早くなると追従出来
ない。
The rising edge detection circuits 1 and 2 have differential characteristics, and both the waveform of the reference clock applied to the a terminal and the waveform of the clock to be measured applied to the b terminal are made to rise steeply, causing a flip at the rising edge of the reference clock. Flop 3 is set and flips at the rising edge of the clock under test.
Flop 3 is reset. When the output waveform of the flip-flop 3 obtained in this manner is applied to the low-pass filter 4, the low-pass filter 4 can remove high frequency components and obtain a direct current corresponding to the phase difference. However, the circuit that detects the phase difference between locks like this one converts the phase difference with the reference clock into an analog value such as a DC voltage.
Since only the average value of the clock phase fluctuation is known, it is fine when the phase difference changes slowly, but cannot be followed when it changes a little quickly.

然しデータ伝送をする時は位相変動の平均値よりは寧ろ
位相変動の最大値の方がより必要である。
However, when transmitting data, the maximum value of the phase fluctuation is more important than the average value of the phase fluctuation.

此の為クロックの位相変動をディジタル的に処理し位相
変動の最大値を検出して記↑、aする位相検出回路の開
発が求められていた。
For this reason, there has been a need to develop a phase detection circuit that digitally processes clock phase fluctuations, detects and records the maximum value of the phase fluctuations.

(C)8発明の目的 本発明の目的は従来のアナログ式位相検出回路の持つ上
記の欠点を除去し、クロックの位相変動の最大値を検出
して記憶するディジタル式位相検出回路を提供すること
である。
(C) 8 Purpose of the Invention The purpose of the present invention is to eliminate the above-mentioned drawbacks of conventional analog phase detection circuits and to provide a digital phase detection circuit that detects and stores the maximum value of clock phase fluctuation. It is.

(d)9発明の構成 上記の目的は本発明によれば、被測定クロ・ツクと基準
クロックとの位相差を検出する検出回路と、該検出回路
の出力をパルス化するサンプリング回路と、該ザンプリ
ンク回路に於いてサンプリングされたパルスを1数する
二個のカウンターと、前記二個のカウンターの剖数値の
大小を比較し、比較結果に対応して“′0゛又は“ビの
信号を出力する比較回路と、該比較回路の出力によりス
イ、ノチを切り換えると共に選択された前記二個のカウ
ンターをリセットする切り換え制御回路とを有すること
を特徴とする位相検出回路を提供することにより達成さ
れる。
(d) 9 Structure of the Invention According to the present invention, the above-mentioned object includes: a detection circuit that detects a phase difference between a clock under test and a reference clock; a sampling circuit that pulses the output of the detection circuit; In the sample link circuit, two counters that count the sampled pulse as 1 are compared with the magnitude of the autopsy values of the two counters, and a signal of "'0" or "bi" is generated depending on the comparison result. This is achieved by providing a phase detection circuit characterized in that it has a comparison circuit that outputs an output, and a switching control circuit that switches between switch and counter and resets the two selected counters based on the output of the comparison circuit. Ru.

(e)1発明の実施例 第2図は本発明の一実施例を示すブロック図で、図中1
.2は共に立ち上がり検出回路、3はフリップ・フロッ
プ回路、4はアント・ゲート、5ばスイッチ、6はカウ
ンタA、7はカウンタB、  8は比較回路、9は切替
制御回路、10は周波数fの発振器を表し、a端子に基
準クロックが印加し、b端子に被測定クロックが印加す
る。
(e) 1 Embodiment of the Invention Figure 2 is a block diagram showing an embodiment of the invention.
.. 2 is a rise detection circuit, 3 is a flip-flop circuit, 4 is an ant gate, 5 is a switch, 6 is a counter A, 7 is a counter B, 8 is a comparison circuit, 9 is a switching control circuit, 10 is a frequency f It represents an oscillator, a reference clock is applied to the a terminal, and a measured clock is applied to the b terminal.

第3図は第2図の動作説明用の図である。FIG. 3 is a diagram for explaining the operation of FIG. 2.

以下第2図に従って詳細に説明する。This will be explained in detail below with reference to FIG.

第2図のa端子に基準クロックが印加し、b 61:A
子に被測定クロックが印加する。第3図の(11)図、
fb1図は夫々基準クロック、被測定クロックを示す。
A reference clock is applied to the a terminal in Fig. 2, and b 61:A
The clock under test is applied to the child. Figure (11) in Figure 3,
Figure fb1 shows a reference clock and a clock to be measured, respectively.

夫々のクロ・7りは其の立ち上がり時点を立ち上がり検
出回路1.2により識別され、立ち上がり検出回路1は
基準クロックの立ち上がり時点でフリップ・フロップ3
をセットし、立ち上がり検出回路2は被測定クロックの
立ち上がり時点でフリップ・フロップ3をリセットする
。此の結果フリップ・フロップ3は第3図のfc1図に
示す様に動作し、此のパルス幅は位相差を表す。従って
フリップ・フロップ3は位相差に相当する時間だけアン
ド・ゲー1〜4を開き、其の間に発振器10の周波数r
の高周波パルスはアンド・ゲート4を経由してカウンタ
Aに入り計数される。此の時カウンタBの計数値は零と
する。次ぎにカウンタA及びBの計数値を比較回路8で
比較し、其の結果A−Bが正であれば、切替制御回路9
により次の計数はカウンタBでする様に(スイッチ5の
点線で示す)切替え、同時にカウンタBをリセットする
。一方A−Bが負であれば切替制御回路9により次の計
数もカウンタAでする様にし、同時にカウンタAをリセ
ットする。
The rise time of each clock is identified by a rise detection circuit 1.2, and the rise detection circuit 1 detects the flip-flop 3 at the rise time of the reference clock.
is set, and the rising edge detection circuit 2 resets the flip-flop 3 at the rising edge of the clock to be measured. As a result, the flip-flop 3 operates as shown in diagram fc1 of FIG. 3, and the pulse width represents the phase difference. Therefore, the flip-flop 3 opens the AND gates 1 to 4 for a time corresponding to the phase difference, and during that time the frequency r of the oscillator 10 increases.
The high frequency pulses enter the counter A via the AND gate 4 and are counted. At this time, the count value of counter B is set to zero. Next, the comparison circuit 8 compares the counts of counters A and B, and if the result A-B is positive, the switching control circuit 9
Therefore, the next counting is performed by counter B (as shown by the dotted line of switch 5), and at the same time, counter B is reset. On the other hand, if A-B is negative, the switching control circuit 9 causes the next count to be performed by the counter A, and at the same time, the counter A is reset.

以」二の説明により明らかな様にカウンタA又はBにば
常に其の時までの位相差の最大値が記憶されることにな
る。
As is clear from the following explanation, the maximum value of the phase difference up to that time is always stored in the counter A or B.

(f)0発明の効果 以上詳細に説明した様に本発明によれば、ジッタを有す
るクロックの位相変動を刻々に測定し且つ其の最大値を
正確に求めることが出来ると云う大きい効果がある。
(f) 0 Effects of the Invention As explained in detail above, the present invention has the great effect that it is possible to measure phase fluctuations of a clock having jitter every moment and to accurately determine its maximum value. .

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

第1図は従来の位相検出回路の一実施例を示すブロック
図で、図中1.2は共に立ち上がり検出回路、3はフリ
ップ・フロップ回路、4は低域濾波器、5はピーク値ホ
ールド回路であり、aば基準り1コツク入力端子、bは
被測定クロ・ツク入力端子、Cはピーク値出力端子であ
る。 第2面は本発明の一実施例を示すブロック図で、図中1
.2は共に立ち上がり検出回路、3ばフリ・ノブ・フロ
ップ回路、4はアンド・ゲー1〜.5はスイッチ、6は
カウンタA、7ばカウンタB、8は比較回路、9は切替
制f+ff11回路、10は周波数fの発振器を表し、
aは基準クロック入力端子、bは被測定クロック入力端
子、Cはピーク値出力端子である。第3図は第2図の動
作説明用の図である。
Figure 1 is a block diagram showing an embodiment of a conventional phase detection circuit, in which 1 and 2 are both rise detection circuits, 3 is a flip-flop circuit, 4 is a low-pass filter, and 5 is a peak value hold circuit. , a is a reference one input terminal, b is a clock input terminal to be measured, and C is a peak value output terminal. The second side is a block diagram showing one embodiment of the present invention, and 1
.. 2 is a rise detection circuit, 3 is a free knob flop circuit, and 4 is an AND game 1 to . 5 is a switch, 6 is a counter A, 7 is a counter B, 8 is a comparison circuit, 9 is a switching f+ff11 circuit, 10 is an oscillator with a frequency f,
a is a reference clock input terminal, b is a measured clock input terminal, and C is a peak value output terminal. FIG. 3 is a diagram for explaining the operation of FIG. 2.

Claims (1)

【特許請求の範囲】[Claims] 被測定クロックと基準クロックとの位相差を検出する検
出回路と、該検出回路の出力をパルス化するサンプリン
グ回路と、該サンプリング回路に於いてサンプリングさ
れたパルスを計数する二個のカウンターと、前記二個の
カウンターの計数値の大小を比較し、比較結果に対応し
て“0″又は“1′′の信号を出力する比較回路と、該
比較回路の出力によりスイッチを切り換えると共に選択
された前記二個のカウンターをリセットする切り換え制
御回路とを有することを特徴とする位相検出回路。
a detection circuit that detects the phase difference between the clock under test and the reference clock; a sampling circuit that converts the output of the detection circuit into pulses; and two counters that count the pulses sampled in the sampling circuit; A comparator circuit that compares the counts of two counters and outputs a signal of "0" or "1'' according to the comparison result, and a switch that is switched by the output of the comparator circuit and a selected A phase detection circuit comprising a switching control circuit for resetting two counters.
JP19041782A 1982-10-29 1982-10-29 Phase detecting circuit Pending JPS5980018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19041782A JPS5980018A (en) 1982-10-29 1982-10-29 Phase detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19041782A JPS5980018A (en) 1982-10-29 1982-10-29 Phase detecting circuit

Publications (1)

Publication Number Publication Date
JPS5980018A true JPS5980018A (en) 1984-05-09

Family

ID=16257786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19041782A Pending JPS5980018A (en) 1982-10-29 1982-10-29 Phase detecting circuit

Country Status (1)

Country Link
JP (1) JPS5980018A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10035967A1 (en) * 2000-07-24 2001-11-08 Siemens Ag Method and device for determining phase difference between output signals from an opto-mechanical transmitting device sets counter devices going through trigger events from first and second signals

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10035967A1 (en) * 2000-07-24 2001-11-08 Siemens Ag Method and device for determining phase difference between output signals from an opto-mechanical transmitting device sets counter devices going through trigger events from first and second signals

Similar Documents

Publication Publication Date Title
US4414638A (en) Sampling network analyzer with stored correction of gain errors
US3956710A (en) Phase locked loop lock detector and method
EP0668505B1 (en) Dual comparator trigger circuit for glitch capture
US4068169A (en) Method and apparatus for determining hematocrit
US3029386A (en) Half-wave voltage doubling phase detectors
US3553579A (en) Apparatus for measuring the difference in phase between two signals of the same frequency, one having noise associated therewith
CA1069592A (en) Digital phase comparator
US4414639A (en) Sampling network analyzer with sampling synchronization by means of phase-locked loop
US3934205A (en) Frequency lock loop employing a gated frequency difference detector having positive, zero and negative threshold detectors
US4358736A (en) Phase comparison circuit
JPH057135A (en) Waveform shaping circuit and digital signal analyzer
JPS5980018A (en) Phase detecting circuit
US3449677A (en) Pulse frequency discriminators
JPH0342033B2 (en)
US4669098A (en) Increased resolution counting circuit
US3995272A (en) Signal conditioning circuit
US3663955A (en) Apparatus for detecting error direction to establish the balanced state of a bridge circuit
JPH0210915A (en) Polarity unification circuit for pulse signal
JPH0827311B2 (en) Duty discriminating device
US4282482A (en) Method and apparatus for phase detection having a narrow dead band and a linear output
SU841104A1 (en) Detector of signal pass through zero value
KR940008154Y1 (en) Frequency detecting circuit
SU1356239A1 (en) Device for checking amplitude-frequency characteristics of four-terminal network
JP2783543B2 (en) Phase difference judgment circuit
SU1188849A1 (en) Digital time discriminator