JP3055225B2 - Phase difference measuring device - Google Patents

Phase difference measuring device

Info

Publication number
JP3055225B2
JP3055225B2 JP3166757A JP16675791A JP3055225B2 JP 3055225 B2 JP3055225 B2 JP 3055225B2 JP 3166757 A JP3166757 A JP 3166757A JP 16675791 A JP16675791 A JP 16675791A JP 3055225 B2 JP3055225 B2 JP 3055225B2
Authority
JP
Japan
Prior art keywords
phase difference
circuit
reference clock
clock pulse
output
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.)
Expired - Fee Related
Application number
JP3166757A
Other languages
Japanese (ja)
Other versions
JPH0510992A (en
Inventor
英樹 吉武
芳文 松岡
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP3166757A priority Critical patent/JP3055225B2/en
Publication of JPH0510992A publication Critical patent/JPH0510992A/en
Application granted granted Critical
Publication of JP3055225B2 publication Critical patent/JP3055225B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は位相差計測装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a phase difference measuring device.

【0002】[0002]

【従来の技術】従来の位相差計測装置の構成を図3に示
し、その測定原理を図3および図4に基づいて説明す
る。二つの被測定信号A1,A2をそれぞれ波形整形器
12,13に入力する。波形整形器12,13は入力信
号が正の時H(レベルがハイのこと、以下同様)を、負
の時L(レベルがロウのこと、以下同様)を出力するも
ので、被測定信号A1,A2はそれぞれV1,V2のよ
うに矩形波に変換される。排他的論理和回路14と論理
積回路15でV1,V2よりA1,A2の位相差に相当
する位相差パルスV3を生成する。基準クロックパルス
発生器19からの基準クロックパルスCKと位相差パル
スV3を論理積回路16に入力し、その出力をカウンタ
17に入力して位相差V3をデジタル値に変換する。カ
ウンタ17による位相差のカウントはV1の立ち下がり
で終了するので、信号処理部18ではV1の立ち下がり
後、カウンタ17のカウント値を取り込み、ある比例定
数を掛けて位相差を算出し位相計測値とする。その後次
のカウント開始前にカウンタ17をリセットする。位相
の進み遅れについてはV1よりV2が進んでいる時は
H、逆の時はLを出力する進み遅れ判別器20の出力信
号により信号処理部18で判断し、位相差に正負符号を
付加する。図4は図3における各部の入力電圧,出力電
圧の波形を示している。
2. Description of the Related Art The configuration of a conventional phase difference measuring device is shown in FIG. 3, and its measuring principle will be described with reference to FIGS. The two signals under test A1 and A2 are input to waveform shapers 12 and 13, respectively. The waveform shapers 12 and 13 output H (the level is high, the same applies hereinafter) when the input signal is positive, and output L (the level is low, the same applies hereinafter) when the input signal is negative. , A2 are converted into rectangular waves like V1 and V2, respectively. The exclusive OR circuit 14 and the AND circuit 15 generate a phase difference pulse V3 corresponding to the phase difference between A1 and A2 from V1 and V2. The reference clock pulse CK and the phase difference pulse V3 from the reference clock pulse generator 19 are input to the AND circuit 16, and the output is input to the counter 17 to convert the phase difference V3 into a digital value. Since the counting of the phase difference by the counter 17 ends at the fall of V1, the signal processing unit 18 captures the count value of the counter 17 after the fall of V1, calculates the phase difference by multiplying by a certain proportional constant, and calculates the phase measurement value. And Thereafter, the counter 17 is reset before the start of the next count. The phase advance / delay is determined by the signal processing unit 18 based on the output signal of the advance / delay discriminator 20 that outputs H when V2 is ahead of V1 and L when V2 is opposite, and adds a plus / minus sign to the phase difference. . FIG. 4 shows the waveforms of the input voltage and output voltage of each section in FIG.

【0003】[0003]

【発明が解決しようとする課題】従来の位相差計測装置
では、二つの被測定信号の位相差のずれの時間幅を基準
クロックパルスでカウントすることにより計測を行って
いたので、固定の周波数でしか計測できなかった。ま
た、被測定信号の周波数が変動する場合は計測誤差を生
じていた。
In the conventional phase difference measuring device, the measurement is performed by counting the time width of the phase difference difference between the two signals to be measured by using the reference clock pulse. I could only measure. Further, when the frequency of the signal under measurement fluctuates, a measurement error occurs.

【0004】本発明は計測周波数の制限をなくし、被測
定信号の周波数が変動しても誤差を生じることなく計測
可能な位相差計測装置を提供することを目的としてい
る。
[0004] It is an object of the present invention to provide a phase difference measuring apparatus capable of eliminating the limitation of the measurement frequency and measuring without causing an error even if the frequency of the signal to be measured fluctuates.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明の位相差計測装置は、第1および第2の交流
入力を矩形波V1およびV2に変換する第1および第2
の波形整型器と、このV1とV2を入力とする排他的論
理和回路と、この排他的論理和回路の出力とV1を入力
としてV1とV2の位相差V3を出力する第1の論理積
回路と、基準クロックパルス発生器と、基準クロックパ
ルスとV3を入力としてV3の期間に含まれる基準クロ
ックパルスを出力する第2の論理積回路と、この第2の
論理積回路から出力された基準クロックパルスをカウン
トする第1のカウンタと、基準クロックパルスとV1を
入力としてV1の期間に含まれる基準クロックパルスを
出力する第3の論理積回路と、この第3の論理積回路か
ら出力された基準クロックパルスをカウントする第2の
カウンタと、上記第1のカウンタのカウント値を第2の
カウンタのカウント値で割った値を出力する割り算器
と、上記第1および第2のカウンタを1周期ごとにリセ
ットする手段と、V1とV2を入力としその一方のエッ
ジのタイミングで他方のレベルを検出して進み遅れ判別
を行う進み遅れ判別器とを備え、上記割り算器の出力お
よび進み遅れ判別器の出力を第1および第2の交流入力
の位相差計測値として出力している。
To achieve the above object, a phase difference measuring apparatus according to the present invention comprises a first and a second AC converter for converting first and second AC inputs into rectangular waves V1 and V2.
, An exclusive-OR circuit having the V1 and V2 as inputs, and a first AND which outputs the output of the exclusive-OR circuit and V1 and outputs a phase difference V3 between V1 and V2 Circuit, a reference clock pulse generator, a second AND circuit that receives the reference clock pulse and V3 as inputs, and outputs a reference clock pulse included in the period of V3, and a reference output from the second AND circuit. A first counter that counts clock pulses, a third AND circuit that receives a reference clock pulse and V1 as inputs, and outputs a reference clock pulse included in a period of V1, and a third AND circuit that is output from the third AND circuit A second counter for counting a reference clock pulse; a divider for outputting a value obtained by dividing a count value of the first counter by a count value of the second counter; Means for resetting the second counter for each cycle, one of the edges as input V1 and V2
Detection of the other level at the timing of
And an output of the divider and an output of the advance / delay determiner are output as phase difference measurement values of the first and second AC inputs.

【0006】[0006]

【作用】本発明は上記した構成で、二つのカウント値の
割り算で位相差を求めるので、被測定周波数が変動して
も測定誤差を生じない。
According to the present invention, since the phase difference is obtained by dividing the two count values in the above configuration, no measurement error occurs even if the measured frequency fluctuates.

【0007】[0007]

【実施例】以下、本発明の実施例を図1,図2に沿って
詳細に説明する。二つの被測定信号A1,A2をそれぞ
れ第1および第2の波形整形器1,2に入力する。波形
整形器1,2は入力信号が正の時Hを、負の時Lを出力
するもので、被測定信号A1,A2はそれぞれV1,V
2のように矩形波に変換される。排他的論理和回路3と
第1の論理積回路4でV1,V2よりA1,A2の位相
差に相当する位相差パルスV3を生成する。基準クロッ
クパルス発生器10からの基準クロックパルスCKと位
相差パルスV3を第2の論理積回路5に入力しその出力
を第1のカウンタ7に入力して位相差V3をデジタル値
V7に変換する。一方波形整形器1の出力V1と基準ク
ロックパルスCKを第3の論理積回路6に入力しその出
力を第2のカウンタ8に入力してV1のパルス幅をデジ
タル値V8に変換する。割り算器21は第1のカウンタ
7のカウント値V7を第2のカウンタ8のカウント値V
8で割り位相差の半周期(180°)に対する比率を求
める。カウンタ7,8のカウントはV1の立ち下がり時
点で終了するので、信号処理部9ではV1の立ち下がり
後、割り算器21の出力値(V7/V8)を取り込み、
以下に示す演算によって位相差を算出し位相計測値とす
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to FIGS. The two signals under test A1 and A2 are input to the first and second waveform shapers 1 and 2, respectively. The waveform shapers 1 and 2 output H when the input signal is positive and output L when the input signal is negative, and the signals A1 and A2 to be measured are V1 and V, respectively.
As shown in FIG. The exclusive OR circuit 3 and the first AND circuit 4 generate a phase difference pulse V3 corresponding to the phase difference between A1 and A2 from V1 and V2. The reference clock pulse CK and the phase difference pulse V3 from the reference clock pulse generator 10 are input to the second AND circuit 5, and the output is input to the first counter 7 to convert the phase difference V3 into a digital value V7. . On the other hand, the output V1 of the waveform shaper 1 and the reference clock pulse CK are input to the third AND circuit 6, and the output thereof is input to the second counter 8 to convert the pulse width of V1 into a digital value V8. The divider 21 converts the count value V7 of the first counter 7 into the count value V
Divide by 8 to determine the ratio of the phase difference to the half cycle (180 °). Since the counts of the counters 7 and 8 end at the time of the fall of V1, the signal processing unit 9 captures the output value (V7 / V8) of the divider 21 after the fall of V1.
The phase difference is calculated by the following calculation and used as a phase measurement value.

【0008】位相差(°)=180°×V7/V8 その後次のカウント開始前にカウンタ7,8をリセット
する。位相の進み遅れについては、V1よりV2が進ん
でいる時はH、逆の時はLを出力する進み遅れ判別器1
1の出力信号により信号処理部9で判断し、位相差に正
負符号を付加する。また上記処理部9と割り算器21
構成の一例としてハードウェアをマイクロコンピュータ
にて構成し上記処理をソフトウェアによって行うように
してもよい。図2は図1における各部の入力電圧,出力
電圧の波形の時間的経過を示すものである。
Phase difference (°) = 180 ° × V7 / V8 Thereafter, the counters 7 and 8 are reset before the start of the next count. Regarding the advance / delay of the phase, the lead / lag discriminator 1 outputs H when V2 is ahead of V1, and outputs L when V2 is opposite.
The signal processing unit 9 makes a determination based on the output signal of No. 1 and adds a positive or negative sign to the phase difference. As an example of the configuration of the processing unit 9 and the divider 21 , hardware may be configured by a microcomputer, and the above processing may be performed by software. FIG. 2 shows the time course of the input voltage and output voltage waveforms of each section in FIG.

【0009】なお、被測定信号の位相差の変動や被測定
信号のノイズ等により測定値が安定しない場合は毎回の
位相差の平均値を求めて位相計測値としてもよい。
If the measured value is not stable due to the fluctuation of the phase difference of the signal to be measured or the noise of the signal to be measured, the average value of the phase difference at each time may be obtained and used as the phase measurement value.

【0010】[0010]

【発明の効果】以上のように本発明によれば、位相差を
被測定周波数に無関係に計測することができ、また被測
定周波数が変動しても測定誤差を生じない位相差計測装
置を提供することができる。
As described above, according to the present invention, there is provided a phase difference measuring apparatus capable of measuring a phase difference irrespective of a measured frequency and generating no measurement error even if the measured frequency fluctuates. can do.

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

【図1】本発明の位相差計測装置の構成を示すブロック
FIG. 1 is a block diagram showing a configuration of a phase difference measuring device according to the present invention.

【図2】本発明の位相差計測装置の動作を説明するタイ
ミングチャート
FIG. 2 is a timing chart for explaining the operation of the phase difference measuring device of the present invention.

【図3】従来の位相差計測装置の構成を示すブロック図FIG. 3 is a block diagram showing a configuration of a conventional phase difference measuring device.

【図4】従来の位相差計測装置の動作を説明するタイミ
ングチャート
FIG. 4 is a timing chart illustrating the operation of a conventional phase difference measuring device.

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

1 第1の波形整形器 2 第2の波形整形器 3 排他的論理和回路 4 第1の論理積回路 5 第2の論理積回路 6 第3の論理積回路 7 第1のカウンタ 8 第2のカウンタ 9 信号処理部(カウンタをリセットする手段) 10 基準クロックパルス発生器 11 進み遅れ判別器 21 割り算器 A1 第1の交流入力 A2 第2の交流入力 DESCRIPTION OF SYMBOLS 1 1st waveform shaper 2 2nd waveform shaper 3 Exclusive OR circuit 4 1st AND circuit 5 2nd AND circuit 6 3rd AND circuit 7 1st counter 8 2nd Counter 9 Signal processing unit (means for resetting the counter) 10 Reference clock pulse generator 11 Lead / lag discriminator 21 Divider A1 First AC input A2 Second AC input

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01R 25/08 H03K 5/26 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G01R 25/08 H03K 5/26

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1および第2の交流入力を矩形波V1
およびV2に変換する第1および第2の波形整型器と、
このV1とV2を入力とする排他的論理和回路と、この
排他的論理和回路の出力とV1を入力としてV1とV2
の位相差V3を出力する第1の論理積回路と、基準クロ
ックパルス発生器と、基準クロックパルスとV3を入力
としてV3の期間に含まれる基準クロックパルスを出力
する第2の論理積回路と、この第2の論理積回路から出
力された基準クロックパルスをカウントする第1のカウ
ンタと、基準クロックパルスとV1を入力としてV1の
期間に含まれる基準クロックパルスを出力する第3の論
理積回路と、この第3の論理積回路から出力された基準
クロックパルスをカウントする第2のカウンタと、上記
第1のカウンタのカウント値を第2のカウンタのカウン
ト値で割った値を出力する割り算器と、上記第1および
第2のカウンタを1周期ごとにリセットする手段と、V
1とV2を入力としその一方のエッジのタイミングで他
方のレベルを検出して進み遅れ判別を行う進み遅れ判別
器とを備え、上記割り算器の出力および進み遅れ判別器
の出力を第1および第2の交流入力の位相差計測値とし
て出力する位相差計測装置。
1. A method according to claim 1, wherein the first and second AC inputs are connected to a rectangular wave V1.
A first and a second wave shaper for converting to V2 and V2,
An exclusive OR circuit having the V1 and V2 as inputs, and V1 and V2 having the output of the exclusive OR circuit and V1 as inputs.
A first AND circuit that outputs a phase difference V3 of the reference clock pulse generator; a second AND circuit that receives the reference clock pulse and V3 as inputs and outputs a reference clock pulse included in a period of V3; A first counter that counts the reference clock pulse output from the second AND circuit; a third AND circuit that receives the reference clock pulse and V1 as inputs and outputs a reference clock pulse included in the period of V1; A second counter for counting the reference clock pulse output from the third AND circuit, and a divider for outputting a value obtained by dividing the count value of the first counter by the count value of the second counter. Means for resetting the first and second counters every cycle,
1 and V2 as inputs and the other at the timing of one edge
And a process proceeds to detect to lead-lag determine square level delay discriminator, position that outputs the output of the output and lead-lag discriminator of the divider as the first and the phase difference measurement value of the second AC input Phase difference measurement device.
JP3166757A 1991-07-08 1991-07-08 Phase difference measuring device Expired - Fee Related JP3055225B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3166757A JP3055225B2 (en) 1991-07-08 1991-07-08 Phase difference measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3166757A JP3055225B2 (en) 1991-07-08 1991-07-08 Phase difference measuring device

Publications (2)

Publication Number Publication Date
JPH0510992A JPH0510992A (en) 1993-01-19
JP3055225B2 true JP3055225B2 (en) 2000-06-26

Family

ID=15837163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3166757A Expired - Fee Related JP3055225B2 (en) 1991-07-08 1991-07-08 Phase difference measuring device

Country Status (1)

Country Link
JP (1) JP3055225B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5055016B2 (en) * 2007-05-14 2012-10-24 ラピスセミコンダクタ株式会社 Phase difference measurement circuit
JP2009282047A (en) * 2009-09-01 2009-12-03 Mitsubishi Electric Corp Phase difference detection circuit and inclination angle measurement device
JP4838339B2 (en) * 2009-09-16 2011-12-14 インターナショナル・ビジネス・マシーンズ・コーポレーション Method for detecting phase shift between I data clock and Q data clock to match phases in quadrature modulator or quadrature demodulator

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5149767A (en) * 1974-10-28 1976-04-30 Nissin Electric Co Ltd ISOKEI
JPS5163665A (en) * 1974-11-30 1976-06-02 Matsushita Electric Ind Co Ltd

Also Published As

Publication number Publication date
JPH0510992A (en) 1993-01-19

Similar Documents

Publication Publication Date Title
US4050747A (en) Digital wheel speed circuit arranged to compensate for dimensional irregularities of sensor rotor member
Prokin Double buffered wide-range frequency measurement method for digital tachometers
JPH08211165A (en) Pulse-duration measuring device
JP3055225B2 (en) Phase difference measuring device
GB1603956A (en) Measuring apparatus for determining the cycle duration of an ac waveform
US3808543A (en) Apparatus and method to accomplish turbine meter output pulse multiplication
US3924183A (en) Frequency measurement by coincidence detection with standard frequency
JP3052441B2 (en) Phase difference measuring device
KR100209726B1 (en) Pulse edge detection and duty ratio measurement circuit
JP2570422B2 (en) DC current measurement method
JP3271323B2 (en) Time measurement circuit
JP3516778B2 (en) Frequency measurement method for semiconductor test equipment
JP3284145B2 (en) PLL synchronous measuring device
JP6452210B1 (en) Speed detection device
SU849091A1 (en) Instantaneous value frequency meter
SU1150577A1 (en) Method of measuring time of switching
JPH0318950Y2 (en)
JPH06174764A (en) Voltage detector
SU464858A1 (en) Digital phase meter
RU2149436C1 (en) Recycle meter of pulse duration
JPH04320974A (en) Pulse width measurement device
SU615429A1 (en) Period duration digital meter
RU2210085C2 (en) Universal meter of spark duration
JPH0646199B2 (en) Power factor meter
SU1644049A1 (en) Pulse duration measurement method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees