JPS588775B2 - Pulse interval detection method - Google Patents

Pulse interval detection method

Info

Publication number
JPS588775B2
JPS588775B2 JP10186677A JP10186677A JPS588775B2 JP S588775 B2 JPS588775 B2 JP S588775B2 JP 10186677 A JP10186677 A JP 10186677A JP 10186677 A JP10186677 A JP 10186677A JP S588775 B2 JPS588775 B2 JP S588775B2
Authority
JP
Japan
Prior art keywords
pulse
terminal
input
detection method
pulse interval
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
Application number
JP10186677A
Other languages
Japanese (ja)
Other versions
JPS5435668A (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.)
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 JP10186677A priority Critical patent/JPS588775B2/en
Publication of JPS5435668A publication Critical patent/JPS5435668A/en
Publication of JPS588775B2 publication Critical patent/JPS588775B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Dc Digital Transmission (AREA)

Description

【発明の詳細な説明】 本発明は入カパルス間隔を標準時間と比較することによ
って、標準時間に対する入力パルス間隔の長短を判別す
るためのパルス間隔検出方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pulse interval detection method for determining the length of an input pulse interval with respect to a standard time by comparing the input pulse interval with a standard time.

従来、パルスの間隔を測定ずるには、被測定パルスによ
って開閉するゲートとカウンクとを用いて相隣る被測定
パルスの間に含まれる基準パルス発生器のパルス数をカ
ウントする方法か、基準可変周期パルス発生器を用いて
被測定パルス七重ね合わせて比較することによってパル
ス間隔の長短を知る方法等が用いられていた。
Conventionally, to measure the interval between pulses, the number of pulses of a reference pulse generator included between adjacent pulses to be measured is counted using a counter and a gate that opens and closes depending on the pulse to be measured, or the number of pulses from a reference pulse generator included between adjacent pulses to be measured is measured. A method of determining the length of the pulse interval by superimposing seven measured pulses using a periodic pulse generator and comparing them was used.

しかしながらこれらの方法はいずれも測定のため、比較
的大規模な回路を必要とするという欠点があった。
However, all of these methods have the disadvantage of requiring relatively large-scale circuits for measurement.

本発明はこのような従来技術による方法のごとき欠点を
有せず、極めて簡単な回路構成でパルス間隔を精度よく
測定することができるものである。
The present invention does not have the drawbacks of the prior art methods and can accurately measure pulse intervals with an extremely simple circuit configuration.

以下図面に基いて本発明を詳細に説明する。The present invention will be explained in detail below based on the drawings.

第1図は本発明の,パルス間隔検出方式の一実施例の構
成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the pulse interval detection method of the present invention.

同図において、11はパルス発振器、2はプログラマブ
ルカウンタ、3はカウント制御部、4は被測定パルス人
力端子、5,7はインバータ、6は遅延回路、8,11
はセットリセットフリツプフロップ(以下F.F.と略
す)、9,10はNANDゲート、12は外部出力端子
である。
In the figure, 11 is a pulse oscillator, 2 is a programmable counter, 3 is a count control section, 4 is a human input terminal for the pulse to be measured, 5 and 7 are inverters, 6 is a delay circuit, 8 and 11
1 is a set/reset flip-flop (hereinafter abbreviated as F.F.), 9 and 10 are NAND gates, and 12 is an external output terminal.

また第2図は人カパルスを示したものであって、図中t
1(s)はパルス幅、T(S)はパルス間隔を示す。
In addition, Figure 2 shows a human capsule, and in the figure t
1(s) indicates the pulse width, and T(S) indicates the pulse interval.

なおパルス幅t1は本実施例におけるデイジタル装置が
動作できる限度でなるべく短いものとする。
It is assumed that the pulse width t1 is as short as possible to the extent that the digital device in this embodiment can operate.

たとえばパルス幅t1=100ns程度とする。For example, the pulse width t1 is about 100 ns.

今、パルス入力端子4に第2図に示すごとき人カパルス
が人力されると、入カパルスはインバータ5で反転され
たのち遅延回路6を経てF,FBの入力端子Aに加えら
れる。
Now, when a human pulse as shown in FIG. 2 is input to the pulse input terminal 4, the input pulse is inverted by the inverter 5 and then applied to the input terminals A of F and FB via the delay circuit 6.

すなわち端子Aには常時“1”が加えられ、入力パルス
力切口えられた時のみ“0”となる。
That is, "1" is always applied to the terminal A, and it becomes "0" only when the input pulse force is cut off.

遅延回路6の出力パルスは同時にプログラマブルカウン
タ2のクリア端子CLに加えられその“0”でカウンタ
2をクリアする。
The output pulse of the delay circuit 6 is simultaneously applied to the clear terminal CL of the programmable counter 2, and the counter 2 is cleared with its "0".

従ってカウンタ2はその時の状態のいかんに拘らずクリ
アされて出力端子CAは“0”となり、従ってインバー
タ7の出力は“1”となって、これがF.F8の入力端
子Bに加えられる。
Therefore, the counter 2 is cleared regardless of the state at that time, and the output terminal CA becomes "0", so the output of the inverter 7 becomes "1", and this becomes the F. It is applied to input terminal B of F8.

F,F8およびF,F11は一方の入力端子が“1”で
他方の人力端子が“0”のとき “0”となった入力端
子に対応する出力端一子が“1″、他方の出力端子が“
0”となり、両入力端子が“1”になった状態で前の出
力状態を保持する。
For F, F8 and F, F11, when one input terminal is "1" and the other manual terminal is "0", the output terminal corresponding to the input terminal that is "0" is "1", and the output of the other terminal is "1". The terminal is “
0", and the previous output state is maintained with both input terminals set to "1".

従ってF,F8はこの状態で出力端子Cに“1”を、出
力端子Dに“0”を保持する。
Therefore, F and F8 maintain "1" at the output terminal C and "0" at the output terminal D in this state.

すなわちF.F8は入力パルスが到來するごとにこの状
態にセットされてこれを記憶することになる。
That is, F. F8 is set to this state every time an input pulse arrives and stores this state.

プログラマブルカウンタ2は前述のように入力パルスに
よってクリアされた状態から再びパルス発振器1からの
基準パルスをカウントしはじめる,カウンタ2にカウン
ト制御部3から設定されたカウント数をNとすると、カ
ウンタ2はNカウントし終ったとき出力端子CAにキャ
リイアウト“1”を出力する。
The programmable counter 2 starts counting the reference pulses from the pulse oscillator 1 again from the state cleared by the input pulse as described above.If the count number set to the counter 2 from the count control section 3 is N, the counter 2 When N counts are completed, a carryout "1" is output to the output terminal CA.

従ってパルス発振器の発振周波数をf(HZ)としたと
きカウンタ2はクリアされてからN/f(S)後に出力
端子CAに“1”を出力する。
Therefore, when the oscillation frequency of the pulse oscillator is f (HZ), the counter 2 outputs "1" to the output terminal CA N/f (S) after being cleared.

しかしながら時間N/f(S)が入カパルスの周期T(
s)より長いと、カウンタ2はNカウント終了する以前
に次の入カパルスによってクリアされるのでカウンタ2
は出力端一子CAに“1”を出力することはない。
However, the time N/f(S) is the period T(
If it is longer than s), counter 2 will be cleared by the next input pulse before N counts are completed, so counter 2
never outputs "1" to the output terminal CA.

カウント時間N/f(s)がパルス周期T(s)より短
かいとき、カウント終了時端子CAに“1”を生じるこ
とによってインバーターの出力は“0”となり、前述の
ようにF,F8は入力端子Bに“0”を加えられること
によって対応する出力端子Dに“1”を、出力端子Cに
“0”を生じこれを保持する。
When the count time N/f(s) is shorter than the pulse period T(s), the output of the inverter becomes "0" by generating "1" at the terminal CA at the end of counting, and as mentioned above, F and F8 are When "0" is added to input terminal B, "1" is generated at the corresponding output terminal D and "0" is generated at the output terminal C, and these are held.

すなわちF.FBはリセットされる。That is, F. FB is reset.

F.F8の出力端子CはNANDケート9の一方の入力
端子に、出力端子DはNANDゲート10の一方の入力
端子に接続され、それぞれのNANDゲートの他方の入
力端モはパルス入力端子4に共通に接続されている。
F. The output terminal C of F8 is connected to one input terminal of the NAND gate 9, the output terminal D is connected to one input terminal of the NAND gate 10, and the other input terminal M of each NAND gate is connected to the pulse input terminal 4. It is connected.

従って端子4から入カパルスがない状態ではNANDゲ
ート9およびNANDゲート10の出力はいずれも“1
”となっている。
Therefore, when there is no input pulse from terminal 4, the outputs of NAND gate 9 and NAND gate 10 are both "1".
”.

入力パルスが到来したとき、F.FBの両出力端子のう
ち、“1”を生じている側に接続されたNANDゲート
の出力は“0”となり、”0”を生じている側に接続さ
れたNANDゲートの出力は“1”となる。
When the input pulse arrives, F. Of both output terminals of the FB, the output of the NAND gate connected to the side producing "1" becomes "0", and the output of the NAND gate connected to the side producing "0" becomes "1". becomes.

従って前述のごとくカウンタ2のCA端子に“1”を生
じている状態で次の入力パルスの到来したとき、NAN
Dゲート10の出力に“0″を生じ、これによってF.
Fliは対応する出力端端子Hに“1”を出し入カパル
スの去った後、これを保持する。
Therefore, as mentioned above, when the next input pulse arrives while the CA terminal of counter 2 is generating "1", the NAN
produces a "0" at the output of the D gate 10, thereby causing the F.
Fli outputs "1" to the corresponding output terminal H and holds it after the input/output pulse has passed.

F.FBは次の遅延回路6の出力パルスによって再び状
態を反転し出力端子Cに“1”を、出力端子Dに“0”
を生じているか、端子4からの人カパルスが“0”であ
るからF.F10は両入力端が“1”であって状態を変
じない。
F. FB inverts its state again by the next output pulse of the delay circuit 6, and outputs "1" to output terminal C and "0" to output terminal D.
This may be because the input voltage from terminal 4 is "0". Both input terminals of F10 are "1" and the state does not change.

カウント時間N/f(s)がパルス間隔T(5)より長
いときは前述のようにカウンタ2はカウント終了前にク
リアされるので、CA端子に“1”を生じることがない
When the count time N/f(s) is longer than the pulse interval T(5), the counter 2 is cleared before the end of counting as described above, so that "1" is not generated at the CA terminal.

従ってF.F8の入力端子Bは常に“1”であり、F.
FBは遅延回路6の出力パルスが“0”になったとき出
力端子Cに“1”を、出力端子Dに“0”を生じる。
Therefore F. Input terminal B of F8 is always "1", and F.
FB produces "1" at output terminal C and "0" at output terminal D when the output pulse of delay circuit 6 becomes "0".

従って端子4からの入力パルスの到来によってNAND
ゲート9の出力に“0”を生じ、F.F11は出力端子
Gに“1”を発生しこれを保持する。
Therefore, due to the arrival of the input pulse from terminal 4, NAND
The output of gate 9 becomes "0", and F. F11 generates "1" at the output terminal G and holds it.

以上の説明から、カウント時間N/f(s)とパルス間
隔T(s)との長短によって、N/f<Tのときは、F
.F11の出力端子Hに“1”を生じ、N/f>fのと
きは出力端子G“1”を生じることになる。
From the above explanation, depending on the length of the count time N/f(s) and the pulse interval T(s), when N/f<T, F
.. "1" is produced at the output terminal H of F11, and when N/f>f, "1" is produced at the output terminal G.

出力端子Hを列部出力端子12に接続することによって
端子12の出力状態の“1”か“0”かによってカウン
ト時間N/f(S)かパルス間隔T(s)より短いか又
は長いかを知ることができる。
By connecting the output terminal H to the column output terminal 12, it is possible to determine whether the count time N/f(S) is shorter or longer than the pulse interval T(s) depending on whether the output state of the terminal 12 is "1" or "0". can be known.

第3図は第1図の各部の動作を示すタイムチャートであ
る。
FIG. 3 is a time chart showing the operation of each part in FIG. 1.

同図においてaはパルス入力端子4における入力パルス
s1,bはパルス発振器1からの基準パルスS2、cは
遅延回路6の出力信号S3、dはプログラマブルカウン
タ2の出力信号S4、eはF.F8の端子Cの出力信号
S5、fはF.F8の端子Dの出力信号S6、gはNA
NDゲート9の出力信号S7、hはNANDゲート10
の出力信号S8、iはF.F11の端子Gの出力信号S
9、jはF.F11の端子Hの出力信号すなわち外部出
力端子12の出力信号S10をそれぞれあらわしている
In the figure, a is the input pulse s1 at the pulse input terminal 4, b is the reference pulse S2 from the pulse oscillator 1, c is the output signal S3 of the delay circuit 6, d is the output signal S4 of the programmable counter 2, and e is the F. The output signal S5, f at terminal C of F8 is F. Output signal S6 of terminal D of F8, g is NA
The output signal S7, h of the ND gate 9 is the output signal S7, h of the NAND gate 10.
The output signal S8,i of F. Output signal S of terminal G of F11
9.j is F. They each represent the output signal of the terminal H of F11, that is, the output signal S10 of the external output terminal 12.

なお第3図のタイムチャ一ト(こおいて入力パルスp゛
1 とp2の間隔T1,p2とp3の間隔T2はそれぞ
れT1>N/fT2〈N/fの場合をあらわしている。
Note that the time chart in FIG. 3 (here, the interval T1 between input pulses p1 and p2, and the interval T2 between input pulses p2 and p3 represent the case where T1>N/fT2<N/f, respectively.

また入力パルスp1とp1の1個前のパルスとの間隔を
T0とするとT。
Also, if the interval between the input pulse p1 and the pulse one before p1 is T0, then T.

>N/fと仮定した時の例を示したものである。An example is shown assuming that >N/f.

プログラマブルカウンタ2は入力パルスp1でクリアし
た後再びパルス発振器からの基準パルスS2のカウント
を開始し、Nカウント後キャリイアウトPCAを出力す
る。
After being cleared by the input pulse p1, the programmable counter 2 starts counting the reference pulse S2 from the pulse oscillator again, and outputs a carry-out PCA after N counts.

F.F8はキャリイアウトPcAを記憶して端子Dに“
1”を出力するノテ、次の入カパルスp2はNANDゲ
ート10を通過してF.F11の入力端子Fに“01”
を入力する。
F. F8 stores carryout PcA and sends it to terminal D “
Note that the next input pulse p2 passes through the NAND gate 10 and outputs "01" to the input terminal F of F.F11.
Enter.

これによりF.F11の出力端子Gが“0”、出力端子
Hが“1”となって前の状態を保持する。
As a result, F. The output terminal G of F11 becomes "0" and the output terminal H becomes "1" to maintain the previous state.

入カパルスp2は遅延回路6の遅延回路tdだけ遅延さ
れた後プログラマブルカウンタ2をクリアするとともに
F .FBをリセットする。
After the input pulse p2 is delayed by the delay circuit td of the delay circuit 6, the programmable counter 2 is cleared and the F. Reset FB.

プログラマブルカウンタ2は再び基準パルスのカウント
を始めるがNカウントに達する前に次の入力パルスp3
によりリセットされるのでキャリイアウトPCAは発生
しない。
The programmable counter 2 starts counting the reference pulses again, but before reaching the N count, the next input pulse p3 starts counting.
Carry-out PCA does not occur because it is reset by .

従ってパルスp3はNANDゲート9を通過してF.F
11の入力端子Eに“0”与えるのでF.F11は反転
し出力端子Hにおける出力信号は“1”から“0”に変
化し検出動作が行われたことになる。
Therefore, pulse p3 passes through NAND gate 9 and F. F
Since "0" is given to the input terminal E of F.11. F11 is inverted and the output signal at the output terminal H changes from "1" to "0", indicating that a detection operation has been performed.

なお上記の説明から明らかなごとく、遅延回路6の出力
パルスは端子4の入カパルスよりパルス幅t1以上遅れ
ていることが必要である。
As is clear from the above description, it is necessary that the output pulse of the delay circuit 6 lags the input pulse of the terminal 4 by a pulse width t1 or more.

前述の例のごとくパルス幅t1 −t 0 0nsとし
たときは遅延回路6の遅延時間は150ns 程度が適
当である。
When the pulse width is set to t1-t00ns as in the above example, the appropriate delay time of the delay circuit 6 is about 150ns.

これによってF.FBに記憶されている情報をNAND
ゲート9又はNANDゲート10に取り出した後にプロ
グラマブルカウンタ2およびF.F8をクリアすること
ができる。
As a result, F. NAND the information stored in FB
After being taken out to gate 9 or NAND gate 10, programmable counter 2 and F. You can clear F8.

プログラマブルカウンタ2はその設定数Nをカウント制
御部3から外部的に任意に設定することができる。
The set number N of the programmable counter 2 can be arbitrarily set externally by the count control section 3.

従ってパルス発振器1の一定発振周波数N/f(Hz)
にこよって任意のカウント時間N/f(s)に対してパ
ルス間隔T(5)の長短を比較することができる。
Therefore, the constant oscillation frequency N/f (Hz) of pulse oscillator 1
This makes it possible to compare the length of the pulse interval T(5) with respect to an arbitrary count time N/f(s).

この場合の検出誤差はプログラマブルカウンター 2の±1カウント以内であるから±1/f以内である。In this case, the detection error is determined by the programmable counter Since it is within ±1 count of 2, it is within ±1/f.

従って誤差をパルス周期の1%以内にするためには入カ
パルスの最も短い周期に対し1(T−になるようにパル
ス発振器1の発振周波数を選べばよい。
Therefore, in order to keep the error within 1% of the pulse period, the oscillation frequency of the pulse oscillator 1 should be selected so as to be 1 (T-) for the shortest period of the input pulse.

また入力パルス間隔がこれより長い場合はプログラマブ
ルカウンタ2の設定数Nを大きくするフことによって常
に1%より高い精度で入力パルス間隔を検定することが
できる。
Furthermore, if the input pulse interval is longer than this, by increasing the set number N of the programmable counter 2, the input pulse interval can always be verified with an accuracy higher than 1%.

以上説明したように本発明のパルス間隔検出方式によれ
ば非常に簡単な構成でパルス間隔の検定を精度よく行う
ことができる。
As explained above, according to the pulse interval detection method of the present invention, pulse intervals can be verified with high accuracy with a very simple configuration.

本発明のパルス間隔検出方式は類似した2周波数の大小
を比較する周波数比較器の判別回路において有用なもの
であるが、それ以椙に一般に周波数測定、周期測定に利
用することができる。
The pulse interval detection method of the present invention is useful in a discrimination circuit of a frequency comparator that compares the magnitude of two similar frequencies, but it can also be used for general frequency measurement and period measurement.

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

第1図は本発明のパルス間隔検出方式の一実施例の構成
を示すブロック図、第2図は入カパルスを示す説明図、
第3図は第1図の実施例における各部の動作タイムチャ
ートである。 1……パルス発振器、2……プログラマブルカウンタ、
3……カウント制御部、4……被測定パルス入力端子、
5,7……インバータ、6……遅延回路、8,11……
セットリセットフリツプフロツプ、9.10……NAN
Dゲート、12……外部出力端子。
FIG. 1 is a block diagram showing the configuration of an embodiment of the pulse interval detection method of the present invention, FIG. 2 is an explanatory diagram showing input pulses,
FIG. 3 is an operation time chart of each part in the embodiment of FIG. 1. 1...Pulse oscillator, 2...Programmable counter,
3... Count control section, 4... Pulse input terminal to be measured,
5, 7... Inverter, 6... Delay circuit, 8, 11...
Set reset flip-flop, 9.10...NAN
D gate, 12...External output terminal.

Claims (1)

【特許請求の範囲】[Claims] 1 被測定パルスごとにクリアされ基準パルスを計数し
て外部的に設定されるフルカウント値に達したときキャ
リイアウト信号を出力することによって標準時間を設定
するプログラマブルカウンタと、被測定パルスごとに一
定の状態にセットされ前記プログラマブルカウンタのキ
ャリイアウト信号を与えられたときその状態を反転して
保持する第1の記憶回路と、被測定パルスごとに前記第
1の記憶回路の状態を読み出して記憶する第2の記憶回
路とを具え、任意の標準時間}こ対する被測定パルス間
隔の長短を判別して判別結束を出力することを特徴とす
るパルス間隔検出方式。
1. A programmable counter that sets the standard time by counting the reference pulse that is cleared for each pulse to be measured and outputting a carry-out signal when the externally set full count value is reached; a first memory circuit that inverts and holds the state when it is set to a state and receives a carry-out signal of the programmable counter; and a first memory circuit that reads and stores the state of the first memory circuit for each pulse to be measured. 2. A pulse interval detection method, characterized in that the pulse interval detection method is characterized in that the pulse interval detection method is characterized in that the pulse interval detection method is characterized in that the pulse interval detection method is characterized in that the pulse interval detection method is characterized in that the pulse interval detection method is characterized in that the pulse interval to be measured is long or short with respect to an arbitrary standard time.
JP10186677A 1977-08-25 1977-08-25 Pulse interval detection method Expired JPS588775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10186677A JPS588775B2 (en) 1977-08-25 1977-08-25 Pulse interval detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10186677A JPS588775B2 (en) 1977-08-25 1977-08-25 Pulse interval detection method

Publications (2)

Publication Number Publication Date
JPS5435668A JPS5435668A (en) 1979-03-15
JPS588775B2 true JPS588775B2 (en) 1983-02-17

Family

ID=14311907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10186677A Expired JPS588775B2 (en) 1977-08-25 1977-08-25 Pulse interval detection method

Country Status (1)

Country Link
JP (1) JPS588775B2 (en)

Also Published As

Publication number Publication date
JPS5435668A (en) 1979-03-15

Similar Documents

Publication Publication Date Title
JPWO2006038468A1 (en) Phase difference measurement circuit
JPH0467811B2 (en)
JPS588775B2 (en) Pulse interval detection method
JPH07280857A (en) Pulse width measuring circuit
JPH0761004B2 (en) Clock generator
JPS62280656A (en) Pulse generator
JPH0340847B2 (en)
KR940009290B1 (en) Electrical signal&#39;s rising-time and falling-time measuring apparatus
JP3047261B2 (en) Time measuring device
JPS5850396B2 (en) signal selection circuit
JPS6089937A (en) Integrated circuit device
JPH0510992A (en) Phase difference measurement device
JPS61177812A (en) Pulse generating circuit
JP2605895B2 (en) Trigger signal generator
JP2536020B2 (en) Average gate delay self-verification circuit
SU479048A1 (en) Digital frequency meter
SU928294A2 (en) Digital averaging time interval meter
US2882495A (en) Precision interval timer
JPH01212368A (en) Pulse width measuring circuit
JPS63168574A (en) Frequency detector
SU819968A1 (en) Repetition rate scaler with fractional devision coefficient
SU917172A1 (en) Digital meter of time intervals
RU1785073C (en) Time-to-code converter
JP2517376B2 (en) Time measuring device
JPS6233394Y2 (en)