Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0625790B2 - Phase meter that corrects count error - Google Patents
[go: Go Back, main page]

JPH0625790B2 - Phase meter that corrects count error - Google Patents

Phase meter that corrects count error

Info

Publication number
JPH0625790B2
JPH0625790B2 JP4081986A JP4081986A JPH0625790B2 JP H0625790 B2 JPH0625790 B2 JP H0625790B2 JP 4081986 A JP4081986 A JP 4081986A JP 4081986 A JP4081986 A JP 4081986A JP H0625790 B2 JPH0625790 B2 JP H0625790B2
Authority
JP
Japan
Prior art keywords
output
clock
phase
square wave
detection circuit
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 - Lifetime
Application number
JP4081986A
Other languages
Japanese (ja)
Other versions
JPS62198771A (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.)
Ando Electric Co Ltd
Original Assignee
Ando Electric 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 Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP4081986A priority Critical patent/JPH0625790B2/en
Publication of JPS62198771A publication Critical patent/JPS62198771A/en
Publication of JPH0625790B2 publication Critical patent/JPH0625790B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)
  • Measuring Phase Differences (AREA)

Description

【発明の詳細な説明】 (a)発明の技術分野 この発明は、2信号間の位相差を測定する位相計に関す
るものであり、さらに詳しくいえばカウント方式の位相
計においてカウント誤差を補正するようにした位相計に
関するものである。
Description: (a) Technical Field of the Invention The present invention relates to a phase meter for measuring a phase difference between two signals, and more specifically, for correcting a count error in a count type phase meter. It is related to the phase meter.

(b)従来技術と問題点 最初に、従来技術による位相計の構成図を第2図に示
す。
(b) Prior art and problems First, FIG. 2 shows a block diagram of a phase meter according to the prior art.

第2図の1は位相検出器、2はゲート、3はカウンタ、
4〜6は入力端子、7は出力端子である。
In FIG. 2, 1 is a phase detector, 2 is a gate, 3 is a counter,
4 to 6 are input terminals, and 7 is an output terminal.

次に、第2図の作用を第3図の波形図を参照して説明す
る。
Next, the operation of FIG. 2 will be described with reference to the waveform chart of FIG.

第3図アは入力端子4に加えられる入力信号の波形図で
あり、第3図イは入力端子5に加えられる入力信号の波
形図である。
FIG. 3A is a waveform diagram of an input signal applied to the input terminal 4, and FIG. 3A is a waveform diagram of an input signal applied to the input terminal 5.

第2図の位相計は、第3図アと第3図イの位相差を測定
する。
The phase meter of FIG. 2 measures the phase difference between FIGS. 3A and 3A.

位相検出器1は、例えばフリップフロップなどで構成さ
れており、第3図アの立上りで「1」になり、第3図イ
の立上りで「0」になる。
The phase detector 1 is composed of, for example, a flip-flop, and becomes “1” at the rising edge of FIG. 3A and becomes “0” at the rising edge of FIG.

第3図ウは、位相検出器1の出力波形図であり、方形図
になっている。
FIG. 3C is an output waveform diagram of the phase detector 1, which is a square diagram.

第3図エは入力端子6に加えられるクロックであり、第
3図ウの方形波と第3図エのクロックがゲート2に入
り、ゲート2から第3図オのクロックが出てくる。
FIG. 3D shows a clock applied to the input terminal 6. The square wave of FIG. 3C and the clock of FIG. 3D enter the gate 2, and the clock of FIG.

第3図オのクロックはカウンタ3で計数され、カウンタ
3の計数値から第3図アの信号と第3図イの信号の位相
差が測定される。
The clock of FIG. 3e is counted by the counter 3, and the phase difference between the signal of FIG. 3a and the signal of FIG. 3a is measured from the count value of the counter 3.

しかし、カウンタ3の計数値はパルスカウント方式のた
め、第3図ウの方形波に対し±1クロック分の誤差を生
じることがある。
However, since the count value of the counter 3 is a pulse counting method, an error of ± 1 clock may occur with respect to the square wave of FIG.

このような誤差を少なくするためには、第3図エのクロ
ックの繰返し周波数を高くすればよい。
In order to reduce such an error, the clock repetition frequency in FIG. 3D may be increased.

例えば、500KHzの信号を±0.1°の精度で測定す
るためには、500KHz×3600=1800MHz
の繰返し周波数をもったクロックが必要になるが、この
ようにするためには高周波のデバイスが必要になるとい
う問題がある。
For example, in order to measure a signal of 500 KHz with an accuracy of ± 0.1 °, 500 KHz × 3600 = 1800 MHz
Although a clock having a repetition frequency of is required, there is a problem in that a high frequency device is required to do so.

(c)発明の目的 この発明は、クロック計数方式の位相計で、第3図ウの
方形波の立上りと立下りに対し第3図オのクロックとの
差分を遅延回路と検出回路で取り出すようにし、繰返し
周波数の高いクロックを使用しなくてもカウント方式の
カウント誤差を補正することができるようにした位相計
の提供を目的とする。
(c) Objects of the Invention The present invention is a phase counter of clock counting system, and a delay circuit and a detection circuit are provided for extracting the difference between the rising and falling edges of the square wave of FIG. 3C and the clock of FIG. It is an object of the present invention to provide a phase meter capable of correcting the count error of the counting method without using a clock having a high repetition frequency.

(d)発明の実施例 まず、この発明による実施例の構成図を第1図に示す。(d) Embodiment of the Invention First, FIG. 1 shows a block diagram of an embodiment according to the present invention.

第1図の11はインバータ、12はフリップフロップ、
13は遅延回路、14と15は検出回路、16はインバ
ータである。
In FIG. 1, 11 is an inverter, 12 is a flip-flop,
Reference numeral 13 is a delay circuit, 14 and 15 are detection circuits, and 16 is an inverter.

第1図の1〜7は第2図と同じものであり、第1図は第
2図に11〜16を加えたものである。
1 to 7 of FIG. 1 are the same as those of FIG. 2, and FIG. 1 is obtained by adding 11 to 16 to FIG.

次に、第1図の作用を第4図の波形図を参照して説明す
る。
Next, the operation of FIG. 1 will be described with reference to the waveform chart of FIG.

第4図カと第4図キはそれぞれ第3図アと第3図イに対
応した波形であり、入力端子4と入力端子5に加えられ
る信号の波形である。
FIGS. 4C and 4C show waveforms corresponding to FIGS. 3A and 3A, respectively, which are waveforms of signals applied to the input terminal 4 and the input terminal 5.

第4図クは第3図ウに対応するもので、第4図カと第4
図キの位相差を検出した位相検出器1の出力波形であ
る。
Fig. 4 (c) corresponds to Fig. 3 (c).
It is an output waveform of the phase detector 1 which detected the phase difference of FIG.

第4図ケは、以下の説明を分かりやすくするため、第4
図クの前縁部分から後縁部分までを拡大して表示したも
のである。
FIG. 4 (c) shows the fourth part in order to make the following explanation easier to understand.
This is an enlarged view from the front edge portion to the rear edge portion of the drawing.

第4図の実施例では、前縁が立上りになっており、後縁
が立下りになっている。
In the embodiment of FIG. 4, the leading edge is the rising edge and the trailing edge is the falling edge.

第4図コは第3図エに対応するもので、入力端子6に加
えられるクロックを拡大して表示したものである。
FIG. 4C corresponds to FIG. 3D and is an enlarged view of the clock applied to the input terminal 6.

第4図コの波形はインバータ11で反転され、フリップ
フロップ12のエッジ入力となる。
The waveform of FIG. 4C is inverted by the inverter 11 and becomes the edge input of the flip-flop 12.

フリップフロップ12はD型フリップフロップであり、
第4図コの反転波形の立下りで第4図ケの方形波の状態
を出力するので、両方が「1」になったとき「1」の出
力を出し、両方が「0」になったとき「0」の出力を出
す。
The flip-flop 12 is a D-type flip-flop,
Since the state of the square wave shown in Fig. 4 is output at the falling edge of the inverted waveform in Fig. 4, the output of "1" is output when both are "1" and both are "0". At this time, an output of "0" is output.

第4図サはフリップフロップ12の出力波形である。FIG. 4 shows the output waveform of the flip-flop 12.

第4図サの立上り部分をみると、第4図ケの方形波に対
しΘ1だけ遅れている。また、第4図サの立下り部分を
みると、第4図ケの方形波に対しΘ2だけ遅れている。
Looking at the rising portion of Fig. 4, it is delayed by Θ1 with respect to the square wave of Fig. 4. Further, when the trailing edge of FIG. 4 is seen, it is delayed by Θ2 with respect to the square wave of FIG.

第4図スは第4図クの立上り部分を拡大した波形図であ
り、第4図セは第4図サの立上り部分を拡大した波形図
である。
FIG. 4 is an enlarged waveform diagram of the rising portion of FIG. 4, and FIG. 4C is an enlarged waveform diagram of the rising portion of FIG.

第4図スと第4図セの差がΘ1になる。The difference between Fig. 4 and Fig. 4 becomes Θ1.

第1図のゲート2は第4図サの方形波で開閉し、第4図
コのクロック信号を通過させるので、ゲート2の出力は
第4図シのクロックになる。
Since the gate 2 of FIG. 1 is opened and closed by the square wave of FIG. 4 and passes the clock signal of FIG. 4C, the output of the gate 2 becomes the clock of FIG.

第4図ケの方形波によれば、第4図コのクロックの約3.
5個分がゲート2を通過することになるが、第4図サの
方形波によれば、第4図コのクロックの4個分がゲート
2を通過することになる。
According to the square wave shown in Fig. 4, about 3.
Five of them will pass through the gate 2, but according to the square wave of FIG. 4C, four of the clocks of FIG. 4C will pass through the gate 2.

第1図のカウンタ3は第4図シのクロックを計数するの
で、出力端子7には計数値「4」が出てくるようにな
る。
Since the counter 3 in FIG. 1 counts the clocks in FIG. 4, the count value “4” comes out to the output terminal 7.

次に、遅延回路13、検出回路14および検出回路15
の実施例の構成図を第5図に示す。
Next, the delay circuit 13, the detection circuit 14, and the detection circuit 15
FIG. 5 shows a configuration diagram of the embodiment.

遅延回路13は、第4図コのクロックの1周期をTとす
れば遅延回路13へ加えられる第4図コのクロックに対
して第4図コのクロックをT/mずつ遅延させる、直列
に接続されたm/2個の遅延回路から構成される。第5
図はm=10の場合の実施例であり、遅延回路13が1
3A〜13Eの5個、検出回路14と検出回路15が遅
延回路13に対応してそれぞれ14A〜14E、15A
〜15Eの5個ずつである。
The delay circuit 13 delays the clock of FIG. 4C by T / m with respect to the clock of FIG. 4C applied to the delay circuit 13 if one cycle of the clock of FIG. It is composed of connected m / 2 delay circuits. Fifth
The figure shows an embodiment in the case of m = 10, and the delay circuit 13 is 1
3A to 13E, the detection circuit 14 and the detection circuit 15 correspond to the delay circuit 13 and 14A to 14E and 15A, respectively.
5E each of 15E.

検出回路14には遅延回路13の出力と位相検出器1の
出力が入り、検出回路15には遅延回路13の出力と位
相検出器1の反転出力が入る。
The detection circuit 14 receives the output of the delay circuit 13 and the output of the phase detector 1, and the detection circuit 15 receives the output of the delay circuit 13 and the inverted output of the phase detector 1.

遅延回路13と検出回路14で第4図ケの方形波の立上
り部分と第4図サの方形波の立上り部分との差Θ1を検
出し、遅延回路13と検出回路15で第4図ケの方形波
の立下りと第4図サの立下り部分との差Θ2を検出す
る。
The delay circuit 13 and the detection circuit 14 detect the difference Θ1 between the rising portion of the square wave of FIG. 4 and the rising portion of the square wave of FIG. 4, and the delay circuit 13 and the detection circuit 15 of FIG. The difference .THETA.2 between the falling edge of the square wave and the falling edge of FIG.

次に、遅延回路13、検出回路14および検出回路15
の作用を第4図ソ〜トを参照して説明する。
Next, the delay circuit 13, the detection circuit 14, and the detection circuit 15
The operation will be described with reference to FIG.

第4図ソは第4図コのクロックの1周期を拡大して示し
た波形図である。
FIG. 4 is a waveform diagram showing an enlarged one cycle of the clock shown in FIG.

第4図タは遅延回路13の13Eの出力であり、第4図
チ〜トは遅延回路13の13A〜13Dまでの遅延出力
を順に示したものである。
4A shows the output of 13E of the delay circuit 13, and FIGS. 4C to 4C show the delayed outputs of 13A to 13D of the delay circuit 13 in order.

第4図の波形レベルを「1」、「0」で示し、第4図タ
〜トの縦方向の「9」の列をみると、「01111」に
なっており、「8」の列をみると、「00111」にな
っている。
The waveform levels shown in FIG. 4 are indicated by “1” and “0”, and the vertical column “9” in FIGS. 4 to 4 shows “01111” and the column “8”. Looking at it, it is "00111".

これらの関係をまとめたものが第6図である。FIG. 6 summarizes these relationships.

第6図のディジタル値を検出回路14内のデコーダで読
み出し、デコーダ値と第4図のΘ1の値を対応させてお
けば、第4図のΘ1を遅延回路13の遅延時間の精度で
読み出すことができる。
The digital value of FIG. 6 is read by the decoder in the detection circuit 14, and if the decoder value and the value of Θ1 of FIG. 4 are made to correspond to each other, Θ1 of FIG. 4 can be read with the accuracy of the delay time of the delay circuit 13. You can

第4図スの立上りでは、第4図タ〜トから縦の列が「1
1100」になっており、第6図からΘ1=0.2とな
る。
At the start of Fig. 4, the vertical column from Fig.
1100 ", and according to FIG. 6, Θ1 = 0.2.

同じように、第4図ケの立下り部分が第6図のディジタ
ル値のどの部分と対応するかを検出する。
Similarly, it is detected which part of the digital value in FIG. 6 the falling part in FIG. 4 corresponds to.

このディジタル値を検出回路15内のデコーダで読み出
し、デコーダ値と第4図のΘ2の値を対応させておけ
ば、第4図のΘ2を遅延回路13の遅延時間の精度で読
み出すことができる。
This digital value is read by the decoder in the detection circuit 15, and if the decoder value and the value of Θ2 in FIG. 4 are made to correspond to each other, Θ2 in FIG. 4 can be read with the accuracy of the delay time of the delay circuit 13.

カウンタ3の出力で位相差を1の精度で読み取れるとす
る。そして、遅延回路13で第4図コのクロックの1周
期Tに対し、T/mずつ遅延させるようにm/2個の遅
延回路を使用すれば、第4図のΘ1、Θ2を(T〜m)
°の精度で測定することができる。
It is assumed that the phase difference can be read with an accuracy of 1 from the output of the counter 3. If m / 2 delay circuits are used in the delay circuit 13 so as to delay each cycle T of the clock shown in FIG. 4 by T / m, then Θ1 and Θ2 in FIG. m)
It can be measured with an accuracy of °.

一般には10進法が使用されているので、クロックの1
周期Tを10等分するような遅延回路を採用すれば、1
0分の1°の精度でΘ1、Θ2の値を求めることができ
る。
Since the decimal system is generally used, the clock 1
If a delay circuit that divides the period T into 10 equal parts is adopted,
The values of Θ1 and Θ2 can be obtained with an accuracy of 1/0 °.

第1図の検出回路14で求めたΘ1の値と、検出回路1
5で求めたΘ2の値をカウンタ3の出力に加算してやれ
ば、カウンタ3の1カウント以下で補正できなかった値
を遅延回路13の精度で測定することができる。
The value of Θ1 obtained by the detection circuit 14 in FIG.
If the value of Θ2 obtained in step 5 is added to the output of the counter 3, the value that could not be corrected within 1 count of the counter 3 can be measured with the accuracy of the delay circuit 13.

すなわち、出力端子7の出力をN1、検出回路14の出
力端子8の出力をN2、検出回路15の出力端子9の出
力をN3とすれば、第1図の位相計の測定値は、N1+
(N2−N3)で求められる。
That is, if the output of the output terminal 7 is N1, the output of the output terminal 8 of the detection circuit 14 is N2, and the output of the output terminal 9 of the detection circuit 15 is N3, the measured value of the phase meter in FIG. 1 is N1 +
It is calculated by (N2-N3).

例えば、N1=4、N2=0.7、N3=-0.2とすれば、
位相差は4+0.7−0.2=4.5°になる。
For example, if N1 = 4, N2 = 0.7, N3 = -0.2,
The phase difference is 4 + 0.7-0.2 = 4.5 °.

(e)発明の効果 この発明によれば2信号間の位相差を方形波に置換し、
この方形波の間だけクロックを計数するようにした位相
計において、クロックの1周期Tをm等分し、(T/
m)ずつ方形波を遅延させるm/2個の遅延回路と、こ
の遅延回路出力と方形波からカウンタの1クロック以下
の誤差を補正する検出回路とを採用しているので、クロ
ックの繰返し周波数を高くしなくても位相差を精度よく
測定することができる。
(e) Effect of the Invention According to the present invention, the phase difference between two signals is replaced with a square wave,
In a phase meter that counts clocks only during this square wave, one cycle T of the clock is divided into m equal parts, and (T /
Since m / 2 delay circuits that delay the square wave by m) and a detection circuit that corrects the error of less than 1 clock of the counter from the delay circuit output and the square wave are adopted, the clock repetition frequency is The phase difference can be accurately measured without increasing it.

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

第1図はこの発明による実施例の構成図、 第2図は従来技術による位相計の構成図、 第3図は第2図各部の波形図、 第4図は第1図各部の波形図、 第5図は遅延回路13、検出回路14および検出回路1
5の実施例の構成図、 第6図は遅延回路13の出力とΘ1、Θ2の関係を示す
ディジタル値。 1……位相検出器、2……ゲート、3……カウンタ、4
〜6……入力端子、7〜9……出力端子、 11……インバータ、12……フリップフロップ、13
……遅延回路、 14・15……検出回路、 16……インバータ。
1 is a block diagram of an embodiment according to the present invention, FIG. 2 is a block diagram of a phase meter according to the prior art, FIG. 3 is a waveform diagram of each part of FIG. 2, FIG. 4 is a waveform diagram of each part of FIG. FIG. 5 shows a delay circuit 13, a detection circuit 14 and a detection circuit 1.
6 is a digital diagram showing the relationship between the output of the delay circuit 13 and .THETA.1 and .THETA.2. 1 ... Phase detector, 2 ... Gate, 3 ... Counter, 4
~ 6 ... input terminal, 7 ~ 9 ... output terminal, 11 ... inverter, 12 ... flip-flop, 13
...... Delay circuit, 14 ・ 15 …… Detection circuit, 16 …… Inverter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】第1の信号と第2の信号の位相差を位相検
出器で方形波に置換し、前記方形波でゲートを開閉し、
前記方形波より繰返し周期の短いクロックを前記ゲート
に加え、前記ゲートを通過した前記クロックをカウンタ
で計数し、前記カウンタの出力N1から第1の信号と第
2の信号の位相差を測定する位相計において、 前記クロックの1周期Tをm等分し、T/mずつ前記ク
ロックを遅延させる直列に接続されたm/2個の遅延回
路と、 前記方形波の立上りと前記クロックで動作し、出力が前
記ゲートを開閉するフリップフロップと、 前記フリップフロップ出力の前縁と、前記位相検出器の
出力の前縁との差Θ1を、前記遅延回路出力から検出す
る第1の検出回路と、 前記フリップフロップ出力の後縁と、前記位相検出器の
出力の後縁との差Θ2を、前記遅延回路出力から検出す
る第2の検出回路とを備え、 第1の検出回路の出力N2、第2の検出回路の出力N3
のとき、位相差をN1+(N2−N3)とし、前記カウ
ンタの1カウント誤差を補正する位相計。
1. A phase detector replaces a phase difference between a first signal and a second signal with a square wave, and the square wave opens and closes a gate.
A phase in which a clock having a repetition period shorter than that of the square wave is applied to the gate, the clock passing through the gate is counted by a counter, and the phase difference between the first signal and the second signal is measured from the output N1 of the counter. In the total, one cycle T of the clock is divided into m equal parts, and m / 2 delay circuits connected in series for delaying the clock by T / m, operating with the rising edge of the square wave and the clock, A flip-flop whose output opens and closes the gate; a first detection circuit which detects a difference Θ1 between a leading edge of the flip-flop output and a leading edge of the output of the phase detector from the delay circuit output; A second detection circuit for detecting a difference .THETA.2 between the trailing edge of the flip-flop output and the trailing edge of the output of the phase detector from the output of the delay circuit; of The output of the detection circuit N3
At the time, the phase difference is set to N1 + (N2-N3), and the one-phase error of the counter is corrected.
JP4081986A 1986-02-26 1986-02-26 Phase meter that corrects count error Expired - Lifetime JPH0625790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4081986A JPH0625790B2 (en) 1986-02-26 1986-02-26 Phase meter that corrects count error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4081986A JPH0625790B2 (en) 1986-02-26 1986-02-26 Phase meter that corrects count error

Publications (2)

Publication Number Publication Date
JPS62198771A JPS62198771A (en) 1987-09-02
JPH0625790B2 true JPH0625790B2 (en) 1994-04-06

Family

ID=12591265

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4081986A Expired - Lifetime JPH0625790B2 (en) 1986-02-26 1986-02-26 Phase meter that corrects count error

Country Status (1)

Country Link
JP (1) JPH0625790B2 (en)

Also Published As

Publication number Publication date
JPS62198771A (en) 1987-09-02

Similar Documents

Publication Publication Date Title
US5598116A (en) Apparatus for measuring a pulse duration
JPH0625790B2 (en) Phase meter that corrects count error
JPH02165055A (en) Speed detector
US4669098A (en) Increased resolution counting circuit
JP3125556B2 (en) Multi-phase clock time measurement circuit
JPS58147231A (en) Pulse width modulation signal generator
JP4195520B2 (en) Phase measuring device
JP2553680B2 (en) Digital signal processing circuit
JPH0658386B2 (en) Counter device
JPH0534472A (en) Time measurement circuit
JP2605895B2 (en) Trigger signal generator
JP2791906B2 (en) Counter device
JPH0210915A (en) Polarity unification circuit for pulse signal
JPS5948658A (en) Aliasing error detection circuit
JPS62131637A (en) Timing jitter measuring system
KR930004087B1 (en) Digital Signal Transition Detection Circuit
JPH0455274B2 (en)
JPH05297035A (en) Frequency detector
JPS594225A (en) Phase discrimination circuit
JPH04344476A (en) Frequency ratio measuring circuit
JP2605894B2 (en) Trigger signal generator
JP3110028B2 (en) Clock oscillation abnormality detection circuit
JPH04307372A (en) Edge detection circuit device
JPH0340537B2 (en)
JPS62261986A (en) Pulse measuring circuit with noise removing ability