JPH1028110A - Phase difference measuring circuit - Google Patents

Phase difference measuring circuit

Info

Publication number
JPH1028110A
JPH1028110A JP8199857A JP19985796A JPH1028110A JP H1028110 A JPH1028110 A JP H1028110A JP 8199857 A JP8199857 A JP 8199857A JP 19985796 A JP19985796 A JP 19985796A JP H1028110 A JPH1028110 A JP H1028110A
Authority
JP
Japan
Prior art keywords
phase difference
pulse
signal
reference clock
peak value
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
JP8199857A
Other languages
Japanese (ja)
Inventor
Masayoshi Kasahara
正義 笠原
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP8199857A priority Critical patent/JPH1028110A/en
Publication of JPH1028110A publication Critical patent/JPH1028110A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To measure phase difference with high precision by executing correction based on the proportion of respective pulse values held in a pulse value holding part with respect to the pulse value of a reference clock signal after the time for the position of one cycle elapses in a triangular wave output part. SOLUTION: When first and second input signals are inputted to a phase comparator 2, its phase difference signal is inputted to one of AND gates 3 and a reference clock signal is to the other so that the pulse rise is counted by a counter 4. In the respective outputs of integration equipments 6a and 7a, the pulse value is increased with fixed inclination for the portion of one cycle with the pulse rise timing of the reference clock signal as reference. Therefore, the output values of the integration equipments 6a and 7a in the pulse rise and fall timings of the phase difference signal are obtained. Then, a preceding stage correcting circuit 6 recognizes the time before the pulse rise of the phase signal and the time after the pulse fall of the phase signal so that the timings are correctly calculated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、2つの入力信号間
の位相を比較することにより位相差を測定する位相差測
定回路の分野に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of a phase difference measuring circuit for measuring a phase difference by comparing phases between two input signals.

【0002】[0002]

【従来の技術】近年、例えば、ディジタル通信装置で用
いられる網同期装置においては、受信データを正しく復
調するために、伝送路及び装置内のクロック信号の位相
は一致している必要がある。そして、網同期装置にDP
−PLL(Digital Processing- Phase Locked Loop )
方式を使用するのが一般的となってきた近時において
は、高い同期精度が要求されるとともに、伝送路と装置
内のクロックの位相差を高精度に監視する必要がある。
2. Description of the Related Art In recent years, for example, in a network synchronization device used in a digital communication device, the phase of a transmission line and a clock signal in the device need to match in order to correctly demodulate received data. Then, the DP is sent to the network synchronization device.
-PLL (Digital Processing- Phase Locked Loop)
In recent years, the use of the method has become common, and high synchronization accuracy is required, and it is necessary to monitor the phase difference between the transmission line and the clock in the device with high accuracy.

【0003】従来、このような目的から、位相差を測定
するための位相差測定回路としては、図3に示すような
ディジタル位相差測定回路10がある。図3は、従来の
ディジタル位相差測定回路の要部構成を示すブロック図
であり、図4は、図3における各ノードでの出力波形を
示す波形図である。
Conventionally, for such a purpose, there is a digital phase difference measuring circuit 10 as shown in FIG. 3 as a phase difference measuring circuit for measuring a phase difference. FIG. 3 is a block diagram showing a configuration of a main part of a conventional digital phase difference measuring circuit, and FIG. 4 is a waveform diagram showing an output waveform at each node in FIG.

【0004】ディジタル位相差測定回路10は、高周波
発振器11と、位相比較器12と、アンドゲート13
と、計数器14と、演算処理回路15とを備え、回路を
ディジタル化することで高精度な位相差測定を行うよう
に構成されたものである。さらに、計数器14は、カウ
ンタ16及びデコーダ17から構成されている。
The digital phase difference measuring circuit 10 comprises a high-frequency oscillator 11, a phase comparator 12, and an AND gate 13.
, A counter 14, and an arithmetic processing circuit 15, which are configured to perform highly accurate phase difference measurement by digitizing the circuit. Further, the counter 14 includes a counter 16 and a decoder 17.

【0005】高周波発振器11は、基準となるクロック
信号を生成するものであり、位相比較器12は、2つの
入力信号間の排他的論理和を求めることにより位相の比
較を行い、位相差を示す位相差信号を出力するものであ
る。アンドゲート13は、高周波発振器11からの出力
と位相差比較器12からの出力との論理積を計数器14
に出力するものであり、計数器14では、アンドゲート
13からの出力をカウンタ16によってカウントし、カ
ウント結果をデコーダ17によってデコードして演算処
理回路15に出力する。演算処理回路15は、デコーダ
17からの出力値に基づいて各種演算処理を行う。
The high-frequency oscillator 11 generates a reference clock signal, and the phase comparator 12 compares the phases by obtaining an exclusive OR between two input signals to indicate a phase difference. It outputs a phase difference signal. The AND gate 13 counts the logical product of the output from the high-frequency oscillator 11 and the output from the phase difference comparator 12 by a counter 14
The counter 14 counts the output from the AND gate 13 by the counter 16, decodes the count result by the decoder 17, and outputs the result to the arithmetic processing circuit 15. The arithmetic processing circuit 15 performs various arithmetic processes based on the output value from the decoder 17.

【0006】以上の構成において、位相比較器12に2
種類の入力信号が入力されると、これら各入力信号の位
相差を示す位相差信号がアンドゲート13の一方入力端
に入力される。これによって、位相差信号が“H”とな
る間のクロック信号が位相データとして計数器14に入
力され、この間のクロックパルス数が計数器14によっ
てカウントされる。
In the above configuration, the phase comparator 12
When input signals of various types are input, a phase difference signal indicating a phase difference between these input signals is input to one input terminal of the AND gate 13. Thus, the clock signal during which the phase difference signal is “H” is input to the counter 14 as phase data, and the number of clock pulses during this period is counted by the counter 14.

【0007】すなわち、計数器14でカウントされるカ
ウント値の大小によって、位相比較器12に入力される
各入力信号の位相差を知ることができ、カウント値がゼ
ロであるとき、位相比較器12に入力される2種類の入
力信号には位相差がないものと判断することができる。
That is, the phase difference between the respective input signals input to the phase comparator 12 can be known from the magnitude of the count value counted by the counter 14, and when the count value is zero, the phase comparator 12 It can be determined that there is no phase difference between the two types of input signals input to.

【0008】[0008]

【発明が解決しようとする課題】ところで、近時におけ
る半導体技術の進歩により、上述した位相差測定回路に
よって測定すべき入力信号間の位相差は小さなものとな
っており、位相差測定回路には高精度な測定能力が要求
されている。しかしながら、このような従来のディジタ
ル位相差測定回路にあっては、その構成上、測定精度を
高めるためには高周波発振器11の発振周波数を高める
しかなかった。
However, due to recent advances in semiconductor technology, the phase difference between input signals to be measured by the above-described phase difference measuring circuit has become small. High precision measurement capability is required. However, in such a conventional digital phase difference measuring circuit, due to its configuration, the only way to increase the measurement accuracy is to increase the oscillation frequency of the high-frequency oscillator 11.

【0009】すなわち、前述したように、ディジタル位
相差測定回路10では、位相差信号が“H”となる期間
のクロックパルス数をカウントすることによって位相差
を測定する。このため、位相差がクロック信号の周期よ
りも短い場合には、位相差を測定することができない。
このため、基準となるクロック信号に、より周期の短い
クロック信号、つまり、高い発振周波数を用いる必要が
ある。
That is, as described above, the digital phase difference measuring circuit 10 measures the phase difference by counting the number of clock pulses during the period when the phase difference signal is "H". Therefore, when the phase difference is shorter than the period of the clock signal, the phase difference cannot be measured.
Therefore, it is necessary to use a clock signal having a shorter cycle, that is, a high oscillation frequency, as a reference clock signal.

【0010】しかし、位相比較器12,アンドゲート1
3,計数器14等において使用可能なクロック周波数に
は上限があり、上限を越えると動作保証がなされない。
また、計数器14内のカウンタ16は、カウント数に対
応する多数のフリップフロップを有しており、発振周波
数が高くなることに伴ってフリップフロップの数が増大
し、回路規模が大きくなってしまうという問題点があっ
た。
However, the phase comparator 12 and the AND gate 1
3. There is an upper limit to the clock frequency that can be used in the counter 14 and the like. If the clock frequency exceeds the upper limit, the operation is not guaranteed.
Further, the counter 16 in the counter 14 has a large number of flip-flops corresponding to the count number, and the number of flip-flops increases as the oscillating frequency increases, resulting in an increase in circuit scale. There was a problem.

【0011】本発明の課題は、上記問題点を解決するた
めになされたものであり、基準となるクロック信号の発
振周波数を高めることなく、位相差を高精度に測定する
位相差測定回路を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, and to provide a phase difference measuring circuit for measuring a phase difference with high accuracy without increasing the oscillation frequency of a reference clock signal. Is to do.

【0012】[0012]

【課題を解決するための手段】本発明の位相差測定回路
は、2つの入力信号を比較し、これら2つの入力信号の
排他的論理和を位相差信号として出力する位相比較器
と、前記位相比較器から出力される位相差信号のパルス
立ち上がり/パルス立ち下がりタイミングからパルス立
ち下がり/立ち上がりタイミングまで、基準クロック信
号のパルス数をカウントする計数器と、前記計数器の計
数値に基づいて前記位相比較器に入力される各入力信号
の位相差を測定する位相差測定部と、を有する位相差測
定回路において、基準クロック信号のパルス立ち上がり
タイミングから時間と共に一定量ずつ波高値が増加また
は減少する三角波信号を出力する第1三角波出力部と、
前記位相比較器から出力される位相差信号のパルス立ち
上がりタイミングにおいて前記第1三角波出力部から出
力される三角波信号の波高値を保持する第1波高値保持
部と、基準クロック信号のパルス立ち下がりタイミング
から時間と共に一定量ずつ波高値が増加または減少する
三角波信号を出力する第2三角波出力部と、前記位相比
較器から出力される位相差信号のパルス立ち下がりタイ
ミングにおいて前記第2三角波出力部から出力される三
角波信号の波高値を保持する第2波高値保持部と、前記
三角波出力部における基準クロック信号の1周期分の時
間経過後の波高値に対する、前記第1波高値保持部及び
前記第2波高値保持部に保持された各波高値の割合に基
づいて前記位相差測定部による測定結果を補正する補正
部と、を備えるように構成している。このとき、前記三
角波出力部は、基準クロック信号の2周期分以上の時間
間隔で最大値となる積分周期を有する積分器によって構
成することが有効である。
A phase difference measuring circuit according to the present invention compares two input signals and outputs an exclusive OR of these two input signals as a phase difference signal; A counter that counts the number of pulses of the reference clock signal from the pulse rising / falling timing to the pulse falling / rising timing of the phase difference signal output from the comparator; and the phase based on the count value of the counter. A phase difference measuring circuit having a phase difference measuring unit for measuring a phase difference between input signals input to the comparator, wherein a triangular wave whose peak value increases or decreases by a fixed amount with time from a pulse rising timing of a reference clock signal. A first triangular wave output unit for outputting a signal,
A first peak value holding unit that holds a peak value of the triangular wave signal output from the first triangular wave output unit at a pulse rising timing of the phase difference signal output from the phase comparator, and a pulse falling timing of a reference clock signal A second triangular wave output unit that outputs a triangular wave signal whose peak value increases or decreases by a fixed amount with time, and an output from the second triangular wave output unit at a pulse falling timing of a phase difference signal output from the phase comparator. A second peak value holding unit for holding the peak value of the triangular wave signal to be processed, and the first peak value holding unit and the second peak value holding unit for the peak value of the triangular wave output unit after a lapse of one cycle of the reference clock signal. A correction unit that corrects a measurement result by the phase difference measurement unit based on a ratio of each peak value held in the peak value holding unit. It is configured to. At this time, it is effective that the triangular wave output unit is constituted by an integrator having an integration cycle having a maximum value at a time interval of two cycles or more of the reference clock signal.

【0013】[0013]

【発明の実施の形態】以下、図示した一実施形態に基づ
いて本発明を詳細に説明する。図1は、本実施形態の位
相差測定回路の要部構成を示すブロック図である。本実
施形態の位相差測定回路1は、図3に示す従来のディジ
タル位相差測定回路10と同様に、位相比較器2、アン
ドゲート3、計数器4、位相差測定部となる演算処理回
路5を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail based on one illustrated embodiment. FIG. 1 is a block diagram illustrating a main configuration of a phase difference measurement circuit according to the present embodiment. The phase difference measuring circuit 1 of the present embodiment includes a phase comparator 2, an AND gate 3, a counter 4, and an arithmetic processing circuit 5 serving as a phase difference measuring unit, similarly to the conventional digital phase difference measuring circuit 10 shown in FIG. It has.

【0014】さらに、本実施形態の位相差測定回路1
は、図1に示すように、アナログ回路によって構成され
る前段補正回路6及び後段補正回路7を追加して設けた
ものである。位相比較器2は、2つの入力信号を比較
し、これら2つの入力信号の排他的論理和を位相差信号
として出力するものであり、アンドゲート3は、基準ク
ロック信号と位相差信号との論理積を計数器4に出力す
る。
Further, the phase difference measuring circuit 1 of the present embodiment
As shown in FIG. 1, a first-stage correction circuit 6 and a second-stage correction circuit 7 each formed by an analog circuit are additionally provided. The phase comparator 2 compares two input signals and outputs an exclusive OR of these two input signals as a phase difference signal. The AND gate 3 outputs a logic value between the reference clock signal and the phase difference signal. The product is output to the counter 4.

【0015】計数器4は、位相比較器2から出力される
位相差信号のパルス立ち上がりタイミングからパルス立
ち下がりタイミングまでの間に入力される基準クロック
信号のパルス数をカウントするものである。演算処理回
路5は、計数器4と、後述する前段補正回路6及び後段
補正回路7とからの入力情報に基づいて、位相比較器2
に入力される各入力信号の位相差を測定するものであ
る。
The counter 4 counts the number of pulses of the reference clock signal input from the pulse rising timing to the pulse falling timing of the phase difference signal output from the phase comparator 2. The arithmetic processing circuit 5 is provided with a phase comparator 2 based on input information from a counter 4 and a pre-stage correction circuit 6 and a post-stage correction circuit 7 which will be described later.
Is to measure the phase difference of each input signal input to.

【0016】前段補正回路6は、三角波出力部となる積
分器6aと、波高値保持部となるサンプルホールド器6
bと、A/Dコンバータ6cと、補正部となる補正値演
算部6dとから構成され、同様に、後段補正回路7は、
三角波出力部となる積分器7aと、波高値保持部となる
サンプルホールド器7bと、A/Dコンバータ7cと、
補正部となる補正値演算部7dとから構成されている。
The pre-stage correction circuit 6 includes an integrator 6a serving as a triangular wave output unit and a sample hold unit 6 serving as a peak value holding unit.
b, an A / D converter 6c, and a correction value calculation unit 6d serving as a correction unit. Similarly, the post-stage correction circuit 7
An integrator 7a serving as a triangular wave output unit, a sample hold unit 7b serving as a peak value holding unit, an A / D converter 7c,
It comprises a correction value calculation unit 7d serving as a correction unit.

【0017】積分器6a,7aは、基準クロック信号の
パルス立ち上がりタイミングから時間と共に一定量ずつ
波高値が増加する出力信号を出力するものであり、その
積分周期は、基準クロック信号の2周期分に設定してい
る。これは、各積分器6a,7aの出力信号は、図2に
示すように時間と共に所定レベルの波高値に漸近してい
くことに対する対策であり、これによって、基準クロッ
ク信号の1周期分の時間間隔では、その出力信号の特性
が線形となるようにしている。
The integrators 6a and 7a output an output signal whose peak value increases by a certain amount with time from the rising timing of the pulse of the reference clock signal, and its integration cycle is two cycles of the reference clock signal. You have set. This is a measure to prevent the output signals of the integrators 6a and 7a from gradually approaching a peak value of a predetermined level with time as shown in FIG. 2, thereby providing a time corresponding to one cycle of the reference clock signal. In the interval, the characteristic of the output signal is made linear.

【0018】サンプルホールド器6bは、位相比較器2
から出力される位相差信号のパルス立ち上がりタイミン
グにおいて積分器6aから出力される三角波信号の波高
値を保持するものであり、サンプルホールド器7bは、
位相比較器2から出力される位相差信号のパルス立ち下
がりタイミングにおいて積分器7aから出力される三角
波信号の波高値を保持するものである。A/Dコンバー
タ6c,7cは、サンプルホールド器6b,7bに保持
されたアナログ信号である波高値情報をディジタル信号
に変換するものである。
The sample-and-hold unit 6b includes the phase comparator 2
The sample hold unit 7b holds the peak value of the triangular wave signal output from the integrator 6a at the pulse rising timing of the phase difference signal output from the
It holds the peak value of the triangular wave signal output from the integrator 7a at the falling timing of the pulse of the phase difference signal output from the phase comparator 2. The A / D converters 6c and 7c convert peak value information, which is an analog signal held in the sample and hold units 6b and 7b, into a digital signal.

【0019】補正値演算部6d,7dは、A/Dコンバ
ータ6c,7cから出力される波高値情報(ディジタル
信号)に基づいて演算処理回路5における補正情報を出
力するものである。具体的には、各補正値演算部6d,
7dでは、予め積分器6a,7aにおける基準クロック
信号の1周期分の時間経過後の波高値がわかっており、
この波高値に対するA/Dコンバータ6c,7cから出
力される波高値情報の割合を求めることにより、計数器
4によって計数されるクロック数で表される位相差に対
し、基準クロック信号の1周期未満の時間的ズレを補正
するものである。
The correction value calculators 6d and 7d output correction information in the arithmetic processing circuit 5 based on the peak value information (digital signal) output from the A / D converters 6c and 7c. Specifically, each correction value calculation unit 6d,
In 7d, the peak value after a lapse of one cycle of the reference clock signal in the integrators 6a and 7a is known in advance,
By calculating the ratio of the peak value information output from the A / D converters 6c and 7c to the peak value, the phase difference represented by the number of clocks counted by the counter 4 is less than one cycle of the reference clock signal. Is corrected.

【0020】次に上述実施形態の作用について、図2を
参照して説明する。図2は、図1における各ノードでの
出力波形を示す波形図である。なお、図2において、位
相比較器2には、2つの入力信号として、測定すべき第
1入力信号と、基準となる第2入力信号とが入力される
ものとする。
Next, the operation of the above embodiment will be described with reference to FIG. FIG. 2 is a waveform diagram showing output waveforms at each node in FIG. In FIG. 2, it is assumed that a first input signal to be measured and a reference second input signal are input to the phase comparator 2 as two input signals.

【0021】まず、位相比較器2に第1入力信号と第2
入力信号とが入力されると、その位相差信号がアンドゲ
ート3の一方入力端に入力される。アンドゲート3の他
方入力端には基準クロック信号が入力されているため、
アンドゲート3の出力は、図2中、Aに示すような波形
となり、この波形のパルス立ち上がりを計数器4によっ
て計数する。
First, the first input signal and the second input signal are supplied to the phase comparator 2.
When the input signal is input, the phase difference signal is input to one input terminal of the AND gate 3. Since the reference clock signal is input to the other input terminal of the AND gate 3,
The output of the AND gate 3 has a waveform as shown by A in FIG. 2, and the pulse rise of this waveform is counted by the counter 4.

【0022】ここで、実際の位相差信号と波形Aとで
は、図2中、P及びEで示す斜線領域が測定誤差とな
る。この測定誤差は、基準クロック信号の周期が短いほ
ど少なくなるが、前述したように、基準クロック信号の
短周期化には限界がある。そこで、本実施形態では、前
段補正回路6によって、図2中、斜線領域Pの部分の補
正を行うとともに、後段補正回路7によって、図2中、
斜線領域Eの部分の補正を行っている。
Here, in the actual phase difference signal and the waveform A, the hatched areas indicated by P and E in FIG. This measurement error decreases as the period of the reference clock signal becomes shorter. However, as described above, there is a limit to shortening the period of the reference clock signal. Therefore, in the present embodiment, the pre-stage correction circuit 6 corrects the shaded area P in FIG. 2 and the post-stage correction circuit 7
The correction is performed for the shaded area E.

【0023】すなわち、積分器6a,7aの各出力は、
図2中、B及びCに示すような波形となり、基準クロッ
ク信号のパルス立ち上がりタイミングを基準として、1
周期分まで一定の傾きをもって波高値が増加している。
このため、位相差信号のパルス立ち上がりタイミング及
びパルス立ち下がりタイミングにおける積分器6a及び
積分器7aの出力値を求めると、前段補正回路6は、位
相差信号のパルス立ち上がり前(斜線領域P)までの時
間を、また、後段補正回路7は、位相差信号のパルス立
ち下がり後(斜線領域E)までの時間を知ることがで
き、位相差信号のパルス立ち上がりタイミング及びパル
ス立ち下がりタイミングを正確に算出することができ
る。
That is, the outputs of the integrators 6a and 7a are:
In FIG. 2, the waveforms are as shown by B and C, and are set to 1 based on the pulse rising timing of the reference clock signal.
The peak value increases with a constant slope up to the period.
For this reason, when the output values of the integrator 6a and the integrator 7a at the pulse rising timing and the pulse falling timing of the phase difference signal are obtained, the pre-stage correction circuit 6 determines that before the pulse rising of the phase difference signal (shaded area P). The post-stage correction circuit 7 can know the time until the pulse after the pulse of the phase difference signal falls (shaded area E), and accurately calculates the pulse rising timing and the pulse falling timing of the phase difference signal. be able to.

【0024】これによって、波形Aの部分しか測定でき
なかった従来例に対して、本実施形態における位相測定
回路1は、斜線領域Pに示す部分の時間を追加補正する
とともに、斜線領域Eに示す部分の時間を削除補正する
ことができる。したがって、基準クロック信号の発振周
波数を高くしなくても位相差を高精度に測定することが
可能となり、高精度化が要求される今後の半導体装置の
測定において有効な位相測定回路を得ることができる。
As a result, the phase measuring circuit 1 according to the present embodiment additionally corrects the time of the portion indicated by the hatched area P, and also adds the time indicated by the hatched area E to the conventional example in which only the waveform A can be measured. The time of the part can be deleted and corrected. Therefore, it is possible to measure the phase difference with high accuracy without increasing the oscillation frequency of the reference clock signal, and it is possible to obtain a phase measurement circuit that is effective in the measurement of future semiconductor devices that require high accuracy. it can.

【0025】なお、前述の実施形態では、パルス立ち上
がりタイミングを動作基準点とした場合について説明し
ているが、システム設計において、パルス立ち下がりタ
イミングを動作基準点とした場合には、各回路の動作基
準点を変更するだけで対応することができる。また、前
述の実施形態では、三角波出力部の一例として積分器を
用いた場合を例に採り説明しているが、これに限らず、
時間に比例して出力レベルが増減するものであれば、代
替可能であることはいうまでもない。
In the above-described embodiment, the case where the pulse rising timing is used as the operation reference point is described. However, when the pulse falling timing is used as the operation reference point in the system design, the operation of each circuit is considered. Only by changing the reference point, it is possible to respond. Further, in the above-described embodiment, the case where an integrator is used as an example of the triangular wave output unit is described as an example. However, the present invention is not limited to this.
It goes without saying that the output level can be changed as long as the output level increases or decreases in proportion to time.

【0026】[0026]

【発明の効果】以上の説明から明らかなように、本発明
によれば、基準クロック信号における1周期未満の任意
位置での切り替えタイミングをも測定することができる
ので、基準クロック信号の発振周波数を高めずとも、位
相差を高精度に測定することができる。
As is clear from the above description, according to the present invention, the switching timing at any position of less than one cycle in the reference clock signal can be measured, so that the oscillation frequency of the reference clock signal can be reduced. The phase difference can be measured with high accuracy without increasing the phase difference.

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

【図1】本実施形態の位相差測定回路の要部構成を示す
ブロック図。
FIG. 1 is a block diagram showing a main configuration of a phase difference measurement circuit according to an embodiment.

【図2】図1における各ノードでの出力波形を示す波形
図。
FIG. 2 is a waveform chart showing output waveforms at each node in FIG.

【図3】従来のディジタル位相差測定回路の要部構成を
示すブロック図。
FIG. 3 is a block diagram showing a configuration of a main part of a conventional digital phase difference measuring circuit.

【図4】図3における各ノードでの出力波形を示す波形
図。
FIG. 4 is a waveform chart showing output waveforms at each node in FIG. 3;

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

1 位相差測定回路 2 位相比較器 3 アンドゲート 4 計数器 5 演算処理回路(位相差測定部) 6 前段補正回路 6a 積分器(三角波出力部) 6b サンプルホールド器(波高値保持部) 6c A/Dコンバータ 6d 補正値演算部(補正部) 7 後段補正回路 7a 積分器(三角波出力部) 7b サンプルホールド器(波高値保持部) 7c A/Dコンバータ 7d 補正値演算部(補正部) 10 ディジタル位相差測定回路 11 高周波発振器 12 位相比較器 13 アンドゲート 14 計数器 15 演算処理回路 16 カウンタ 17 デコーダ Reference Signs List 1 phase difference measurement circuit 2 phase comparator 3 AND gate 4 counter 5 arithmetic processing circuit (phase difference measurement unit) 6 pre-stage correction circuit 6a integrator (triangular wave output unit) 6b sample hold unit (peak value holding unit) 6c A / D converter 6d Correction value calculation unit (correction unit) 7 Post-stage correction circuit 7a Integrator (triangular wave output unit) 7b Sample hold unit (peak value holding unit) 7c A / D converter 7d Correction value calculation unit (correction unit) 10 Digital position Phase difference measuring circuit 11 High frequency oscillator 12 Phase comparator 13 AND gate 14 Counter 15 Arithmetic processing circuit 16 Counter 17 Decoder

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】2つの入力信号を比較し、これら2つの入
力信号の排他的論理和を位相差信号として出力する位相
比較器と、前記位相比較器から出力される位相差信号の
パルス立ち上がりタイミングからパルス立ち下がりタイ
ミングまで、あるいは、パルス立ち下がりタイミングか
らパルス立ち上がりタイミングまで、基準クロック信号
のパルス数を計数する計数器と、前記計数器の計数値に
基づいて前記位相比較器に入力される各入力信号の位相
差を測定する位相差測定部と、を有する位相差測定回路
において、 基準クロック信号のパルス立ち上がりタイミングまたは
パルス立ち下がりタイミングから時間と共に一定量ずつ
波高値が増加または減少する三角波信号を出力する三角
波出力部と、 前記位相比較器から出力される位相差信号のパルス立ち
上がりタイミング及びパルス立ち下がりタイミングにお
いて前記三角波出力部から出力される三角波信号の波高
値を保持する波高値保持部と、 前記三角波出力部における基準クロック信号の1周期分
の時間経過後の波高値に対する、前記波高値保持部に保
持された各波高値の割合に基づいて前記位相差測定部に
よる測定結果を補正する補正部と、 を備えることを特徴とする位相差測定回路。
1. A phase comparator for comparing two input signals and outputting an exclusive OR of these two input signals as a phase difference signal, and a pulse rising timing of the phase difference signal output from the phase comparator From the pulse falling timing to the pulse falling timing, or from the pulse falling timing to the pulse rising timing, a counter that counts the number of pulses of the reference clock signal, and each input to the phase comparator based on the count value of the counter. A phase difference measuring circuit for measuring a phase difference of the input signal, wherein a triangular wave signal whose peak value increases or decreases by a certain amount with time from the pulse rising timing or the pulse falling timing of the reference clock signal is obtained. A triangular wave output unit for outputting the phase difference signal output from the phase comparator. A peak value holding unit for holding a peak value of a triangular wave signal output from the triangular wave output unit at a rising edge timing and a pulse falling timing; a peak value after a lapse of one cycle of a reference clock signal in the triangular wave output unit A phase difference measurement circuit, comprising: a correction unit configured to correct a measurement result obtained by the phase difference measurement unit based on a ratio of each peak value held in the peak value holding unit.
【請求項2】前記三角波出力部は、基準クロック信号の
パルス立ち上がりタイミングから時間と共に一定量ずつ
波高値が増加する出力信号を出力する積分器であること
を特徴とする請求項1記載の位相差測定回路。
2. The phase difference according to claim 1, wherein the triangular wave output section is an integrator that outputs an output signal whose peak value increases by a certain amount with time from the pulse rising timing of the reference clock signal. Measurement circuit.
【請求項3】前記積分器は、基準クロック信号の2周期
分以上の時間間隔で最大値となる積分周期に設定してな
ることを特徴とする請求項2記載の位相差測定回路。
3. The phase difference measuring circuit according to claim 2, wherein said integrator is set to an integration cycle having a maximum value at a time interval of two cycles or more of a reference clock signal.
JP8199857A 1996-07-10 1996-07-10 Phase difference measuring circuit Pending JPH1028110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8199857A JPH1028110A (en) 1996-07-10 1996-07-10 Phase difference measuring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8199857A JPH1028110A (en) 1996-07-10 1996-07-10 Phase difference measuring circuit

Publications (1)

Publication Number Publication Date
JPH1028110A true JPH1028110A (en) 1998-01-27

Family

ID=16414813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8199857A Pending JPH1028110A (en) 1996-07-10 1996-07-10 Phase difference measuring circuit

Country Status (1)

Country Link
JP (1) JPH1028110A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6940931B2 (en) 2000-09-05 2005-09-06 Yamaha Corporation Clock-synchronism evaluating apparatus and method
CN103134985A (en) * 2011-11-24 2013-06-05 上海华建电力设备股份有限公司 Engineering implementation method of power synchronous trap
CN103376357A (en) * 2012-04-27 2013-10-30 瑞昱半导体股份有限公司 Method and device for estimating clock pulse phase difference
JP2017090209A (en) * 2015-11-09 2017-05-25 セイコーエプソン株式会社 Physical quantity detection circuit, electronic apparatus, and mobile body

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6940931B2 (en) 2000-09-05 2005-09-06 Yamaha Corporation Clock-synchronism evaluating apparatus and method
CN103134985A (en) * 2011-11-24 2013-06-05 上海华建电力设备股份有限公司 Engineering implementation method of power synchronous trap
CN103376357A (en) * 2012-04-27 2013-10-30 瑞昱半导体股份有限公司 Method and device for estimating clock pulse phase difference
CN103376357B (en) * 2012-04-27 2015-10-14 瑞昱半导体股份有限公司 The estimation unit of clock pulse phase difference and method
JP2017090209A (en) * 2015-11-09 2017-05-25 セイコーエプソン株式会社 Physical quantity detection circuit, electronic apparatus, and mobile body

Similar Documents

Publication Publication Date Title
CN110573970B (en) Wide-measuring-range high-sensitivity time-to-digital converter
US20070296396A1 (en) Phase Difference Measurement Circuit
JP3220029B2 (en) Input signal reading circuit
US6548997B1 (en) Mechanism for measurement of time duration between asynchronous events
JP3108809B2 (en) Data signal phase jitter measurement method
JP2005156495A (en) Time interval measurement apparatus and correction amount decision method
US10972116B2 (en) Time to digital converter and A/D conversion circuit
JPH1028110A (en) Phase difference measuring circuit
US6950375B2 (en) Multi-phase clock time stamping
JP2000221248A (en) Semiconductor testing device
RU2210785C2 (en) Digital frequency meter
CZ20032393A3 (en) Apparatus for measuring time intervals
US20030154043A1 (en) Resolution in measuring the pulse width of digital signals
RU2260830C1 (en) Time interval meter
CN112332834B (en) Correction method and device for avoiding metastable state of time-to-digital converter of laser radar
JPH0794965A (en) Pulse width modulator
EP1322969B1 (en) Rf power measurement
JPH11177427A (en) Signal phase difference detection circuit and method for detecting signal phase difference
JPH05211442A (en) Test method for a/d converter
JP3341544B2 (en) Signal period measurement device
KR100567601B1 (en) An Apparatus For Compensating Quantization Error for Synchronous A/F converter
JPH1183915A (en) Signal input detecting equipment
SU1129528A1 (en) Analog-digital converter
JP2776325B2 (en) Duty measurement circuit
JP2003194860A (en) Method and apparatus for measuring frequency stability of oscillator and method of manufacturing oscillator using it