JPS6089763A - Period measuring device - Google Patents

Period measuring device

Info

Publication number
JPS6089763A
JPS6089763A JP19737883A JP19737883A JPS6089763A JP S6089763 A JPS6089763 A JP S6089763A JP 19737883 A JP19737883 A JP 19737883A JP 19737883 A JP19737883 A JP 19737883A JP S6089763 A JPS6089763 A JP S6089763A
Authority
JP
Japan
Prior art keywords
memory
period
counter
input
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.)
Pending
Application number
JP19737883A
Other languages
Japanese (ja)
Inventor
Hisashi Yamamoto
久 山本
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP19737883A priority Critical patent/JPS6089763A/en
Publication of JPS6089763A publication Critical patent/JPS6089763A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

PURPOSE:To measure the period of an input pulse continuously by operating counters of two systems alternately by switching, and storing measurement results in a memory. CONSTITUTION:An input X is inputted to an FF1, whose output Q is made into two frequency divided signals. Those two signals are gate signals for input clocks CLK to the counters 4 and 5. Pulses obtained by delay circuits 6 and 7 are inputted as a write signal to the memory 11 through an OR gate 8 and a switch 9. A data selector 12 selects the output of the counter 4 or 5 and inputs it to the data line of the memory 11. A control circuit 15 operates switches 9, 10, and 14 and controls the output of the data selector 12 according to a write and a read mode to generate a read signal RD and an address updata pulse INCR.

Description

【発明の詳細な説明】 〔発明の属する分野〕 本発明は、パルス入力の周期を連続して測定することの
できる周期測定装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a period measuring device that can continuously measure the period of pulse input.

〔従来技術〕[Prior art]

パルス入力に対し、その周期を1周期毎にリアルタイム
で連続的に測定したい場合がある。従来からそのような
目的に適した周期測定装置は見当らなかった。リアルタ
イムの測定ではないが1周期毎にパ、ルス周期を測定す
るものとしては、例えば波形記憶装置を利用した周期測
定装置があった。
There are cases where it is desired to continuously measure the period of a pulse input in real time, one period at a time. Until now, no period measuring device suitable for such a purpose has been found. For example, there is a period measuring device that uses a waveform storage device to measure the pulse period for each period, although it is not a real-time measurement.

この装置においては、入力パルス波形をある期間中測定
して記憶しておき、その後記憶データから周期をめると
いう方式がとられる。
This device uses a method of measuring and storing the input pulse waveform during a certain period of time, and then calculating the period from the stored data.

しかしながら、このような装置では、高価なものとなり
、また記憶後のデータ処理に時間がかかるなどの問題が
あった。
However, such devices have problems such as being expensive and requiring time to process data after storage.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような点に鑑み、入力パルスの周
期をリアルタイムで連続測定することのできる安価な構
成の周期測定装置を提供することにある。
In view of these points, it is an object of the present invention to provide an inexpensive period measuring device that can continuously measure the period of input pulses in real time.

〔発明の概要〕[Summary of the invention]

このような目的を達成するだめの本発明は、周期測定カ
ウンタをA、B2系統もち、入力パルスの周期をA、 
B、 A、 B・・・・・・と交互に切シ換えて測定し
、一方のカウンタ測定中に他方のカウンタのカウント結
果をメモリに蓄えることによシ入カパルスの周期連続測
定を可能にしたことを特徴とする。
To achieve such an object, the present invention has two systems of period measurement counters, A and B, and the period of the input pulse is set to A and B.
By alternately switching between B, A, B, etc., and storing the count results of the other counter in the memory while one counter is measuring, it is possible to continuously measure the period of the input pulse. It is characterized by what it did.

〔実施例〕〔Example〕

以下図面を用いて本発明の詳細な説明する。第1図は本
発明に係る周期測定装置の一実施例を示す要部構成図で
ある。1はエツジトリガ型のフリップフロップで、被測
定パルス入力信号を2分周して相補的な出力Q、Qを出
力する。4は第1のカウンタ、5は第2のカウンタで、
それぞれゲート2とゲート3を通過した周期測定用基準
クロックCLK (被測定パルス信号に比べて十分に短
い周期)を計数する。ゲート2の出力はフリップフロッ
プ1のQ出力とクロックCLKの論理積、ゲート3の出
力はフリップフロップ1の6出力とクロックCLKとの
論理積である。
The present invention will be described in detail below using the drawings. FIG. 1 is a configuration diagram of main parts showing an embodiment of a period measuring device according to the present invention. Reference numeral 1 denotes an edge trigger type flip-flop which divides the frequency of the pulse input signal to be measured by two and outputs complementary outputs Q and Q. 4 is the first counter, 5 is the second counter,
The period measurement reference clock CLK (period sufficiently short compared to the pulse signal to be measured) that has passed through gate 2 and gate 3 is counted. The output of gate 2 is the AND of the Q output of flip-flop 1 and clock CLK, and the output of gate 3 is the AND of 6 outputs of flip-flop 1 and clock CLK.

6と7は第1及び第2のディレー回路で、フリップフロ
ップ1のQ、る出力の立下シ時にそれぞれ遅延をもたせ
たものである。ディレー回路6,7で得られる2つの遅
延パルスはオアゲート8に入力され、このオアゲート8
の出力はスイッチ9を介してメモリ11にライト信号と
して入力される。
Reference numerals 6 and 7 denote first and second delay circuits, each of which delays the falling edge of the Q output of the flip-flop 1. The two delayed pulses obtained by the delay circuits 6 and 7 are input to the OR gate 8.
The output is inputted to the memory 11 via the switch 9 as a write signal.

また、ディレー回路6,7の遅延パルス後の信号はカウ
ンタ4,5のそれぞれのクリア信号となっている。
Furthermore, the signals after the delay pulses from the delay circuits 6 and 7 serve as clear signals for the counters 4 and 5, respectively.

12社データセレクタで、カウンタ4と5の出力を選択
しメモリ11のデータラインの入力へ接続されている。
A 12 company data selector selects the outputs of counters 4 and 5 and is connected to the input of the data line of memory 11.

データセレクタ12の入力切換信号にはフリップ70ツ
ブ1の6出力化号が用いられる。
For the input switching signal of the data selector 12, the 6 output signal of the flip 70 tube 1 is used.

メモリ11のアドレスラインにはメモリアドレスカウン
タ13の出力が接続されておシ、このカウンタ13の入
力にはスイッチ14を介して被測定入力信号Xが接続さ
れ、書込みモードにおいては入カッくルスXが到来する
ごとに計数値が更新されるようになっている。
The output of a memory address counter 13 is connected to the address line of the memory 11, and the input signal to be measured X is connected to the input of this counter 13 via a switch 14. The count value is updated each time the arrival occurs.

15は制御回路で、書込みモードと読出しモードとに応
じて、スイッチfl、 10. :L4の切換およびデ
ータセレクタ12の出力を制御するとともに、読出し信
号RD、アドレス更新パルスINCRを発生するように
なっている。
15 is a control circuit, which switches fl and 10 depending on the write mode and read mode; :Controls switching of L4 and output of data selector 12, and generates read signal RD and address update pulse INCR.

このような構成における動作を第2図のタイムチャート
を参照して次に説明′する。
The operation in such a configuration will be explained next with reference to the time chart of FIG.

(1)書込みモード 入力X(第2図(イ))はフリップフロップ1に入力さ
れ、その出力Qは第2図(ロ)、d出力は同図(へ)の
ように2分周信号となる。この2つの信号はそれぞれカ
ウンタ4と5の入力クロックCLKのゲー゛ トになる
。これにより第1のカウンタ4ではT1゜T、T、・・
・の区間、第2のカウンタ5ではT2 、T4 ’ 5 T6.・・・の区間においてその周期を計数する。ディ
レー回路6はQ出力の立下りを遅延させた信号(第2図
のに)と(ホ)の信号)を作る。他方のディレー回路7
はd出力について同様に立下シを遅延させた信号(第2
図の(イ)と(す)の信号)を作る。ここで、に)と(
ト)はゲート8でオアされ、メモリ11の書込み信号W
Rとなる。書込みモードではスイッチ9がON、スイッ
チ10がOFF 、またスイッチ14は入力Xを選択し
ている。
(1) Write mode input Become. These two signals serve as the gates for the input clock CLK of counters 4 and 5, respectively. As a result, the first counter 4 receives T1°T, T,...
.T2, T4' 5 T6. Count the period in the interval... The delay circuit 6 generates signals (signals C and E in FIG. 2) in which the fall of the Q output is delayed. The other delay circuit 7
is a signal (second
Create signals (a) and (s) in the figure. Here, to) and (
) is ORed at the gate 8, and the write signal W of the memory 11 is output.
It becomes R. In the write mode, switch 9 is ON, switch 10 is OFF, and switch 14 selects input X.

(へ)と(I刀の信号はカウンタ4,5の各々のクリア
信号として入力される。
The signals from (to) and (I) are input as clear signals to each of the counters 4 and 5.

T1区間でカウンタ4がクロックCLKを計数する。Counter 4 counts clock CLK in interval T1.

このときカウンタ5はクリア状態でクロックの計数は行
われない。T□区間の終了でゲート2が閉じ、クロック
入力が禁止される。一方、データセレクタ12はフリッ
プフロ、プ1のd出力によシカウンタ4の出力を選択し
メモリ11に導く。ここで、■信号(第2図のに))に
よりカウンタ4の計数値がメモリ11に書込まれる。こ
のときのメモリのアドレスは入力Xを計数したカウンタ
13の計数値である。書込みが終了するとその後に与え
られるディレー回路6からのクリア信号0・)によシカ
ウンタ4はクリアされ、そのクリア状態はT3区間に入
るまで持続する。
At this time, the counter 5 is in a clear state and no clock counting is performed. At the end of the T□ section, gate 2 closes and clock input is prohibited. On the other hand, the data selector 12 selects the output of the counter 4 based on the d output of the flip-flop P1 and guides it to the memory 11. Here, the counted value of the counter 4 is written into the memory 11 by the signal (2) (indicated in FIG. 2). The address of the memory at this time is the count value of the counter 13 that counted the input X. When the writing is completed, the counter 4 is cleared by a clear signal 0.) applied thereafter from the delay circuit 6, and the cleared state continues until the T3 period is entered.

一方カウンタ5はT2区間の開始と同時にゲート3よシ
入力されるクロックCLKの計数を開始す不。
On the other hand, the counter 5 starts counting the clock CLK input from the gate 3 at the same time as the start of the T2 period.

T区間が終了すると7リツプフロツプ1のQ出力は第2
図の(へ)の如く「0」となるため、クロック入力が禁
止され、計数は停止する。このときデータセレクタ12
はカウンタ5の出力を選択しメモリー1のデータ入力端
に送る。メモリー1は第2図(イ)のWR倍信号より入
力された計数値を記憶する。この場合の書込みアドレス
は前記T□区間のときのアドレス+1となっている。書
込みが終了するとカウンタ5は第2図(す)のクリア信
号によJ+’r、区間の開始までクリア状態に推持され
る。
When the T period ends, the Q output of 7 lip-flop 1 becomes the second
Since the value becomes "0" as shown in (f) of the figure, clock input is prohibited and counting is stopped. At this time, the data selector 12
selects the output of counter 5 and sends it to the data input terminal of memory 1. The memory 1 stores the count value inputted from the WR multiplication signal shown in FIG. 2(a). In this case, the write address is the address in the T□ interval +1. When the writing is completed, the counter 5 is maintained in the clear state by the clear signal shown in FIG. 2(S) until the start of the J+'r period.

以降同様の計数動作の繰り返しによシ、毎周期の計測値
が更新されるアドレスに胴入格納される。
Thereafter, by repeating the same counting operation, the measured value of each cycle is stored in the updated address.

(2) 読出しモード 測定終了後は、制御回路15の制御に従い、スイ、チ9
がOFF Nスイッチ10がON、またスイッチ14は
制御回路側に切シ換えられる。同時に制御回路15はデ
ータセレクタ12に出力禁止の信号INHIBITを発
し、データセレクタ出力端をオープン状態にする。
(2) After completing the read mode measurement, switch and switch 9 under the control of the control circuit 15.
is OFF, the N switch 10 is ON, and the switch 14 is switched to the control circuit side. At the same time, the control circuit 15 issues an output prohibition signal INHIBIT to the data selector 12 to open the data selector output terminal.

この状態で、制御回路15からカウンタ13ヘバルスI
NCRを与え、メモリのアドレスを更新しつつスイッチ
10を介して読出し信号RDを与え、メモリ11よシ測
定した計数値(周期に対応する値)を読出す。読出しデ
ータはデータラインにワイヤードオア結合されたデータ
バス1Gを介して所定の装置に送出される。
In this state, from the control circuit 15 to the counter 13
NCR is applied, a read signal RD is applied through the switch 10 while updating the address of the memory, and the measured count value (value corresponding to the period) is read out from the memory 11. Read data is sent to a predetermined device via a data bus 1G wired-OR coupled to a data line.

〔発明の効果〕〔Effect of the invention〕

の2系列のカウンタを交互に動作させて測定結果をメモ
リに格納することによシ、入力パルスの周期を連続して
測定することができる。
By alternately operating the two series of counters and storing the measurement results in memory, the period of the input pulse can be continuously measured.

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

第1図は本発明の周期測定−装置の一実施例を示す構成
図、第2図は各部の動作波形図である。 1・・・フリップフロップ、4・・・第1のカウンタ、
5・・・第2のカウンタ、6・・・第1のディレー回路
、7・・・第2のディレー回路、2.3.8・・・ゲー
ト、9,10゜14・・・スイッチ、11・・・メモリ
、12・・・データセレクタ、13・・・アドレスカウ
ンタ、15・・・制御回路。
FIG. 1 is a block diagram showing an embodiment of the period measuring device of the present invention, and FIG. 2 is an operational waveform diagram of each part. 1...Flip-flop, 4...First counter,
5... Second counter, 6... First delay circuit, 7... Second delay circuit, 2.3.8... Gate, 9,10° 14... Switch, 11 . . . memory, 12 . . . data selector, 13 . . . address counter, 15 . . . control circuit.

Claims (1)

【特許請求の範囲】[Claims] 入力パルス信号の1周期ごとに交互に基準クロックを通
過させる第1及び第2のゲート手段と、このゲート手段
からのクロックをそれぞれ計数する第1及び第2のカウ
ンタと、この2つのカウンタの出力を交互に−一えて出
′力するデータセレクタと、このデータセレクタの出力
データを記憶しかつ記憶されたデータの読出しが可能な
メモリと、前記入力パルス又は制御回路からのノ(ルス
を計数し前記メモリのアドレス値をめるアドレスカウン
タを具備し、前記2つのカウンタの中の一方がクロック
の計数を開始したとき他方のカウンタの計数値をデータ
セレクタを介してメモリに書き込み、この書き込み後に
は計数値を出力した方のカウンタがクリアされるように
するとともに、記憶された計数値の読出し時にはデータ
セレクタの出力を禁止しかつアドレスカウンタに読出し
専用のパルスを計数させてメモリのアドレスを得、前記
メモリに記憶した各周期ごとの計数値を読出すようにし
て、入力パルスの周期を連続して測定するようにしたこ
とを特徴とする周期測定装置。
First and second gate means for passing a reference clock alternately every cycle of an input pulse signal, first and second counters for respectively counting the clocks from the gate means, and outputs of these two counters. a data selector that outputs the output data alternately and at once; a memory that stores the output data of the data selector and is capable of reading the stored data; and a memory that counts the input pulses or pulses from the control circuit. An address counter is provided for counting the address value of the memory, and when one of the two counters starts counting clocks, the count value of the other counter is written to the memory via a data selector, and after this writing, The counter that outputs the counted value is cleared, and when reading the stored counted value, the output of the data selector is prohibited, and the address counter is made to count read-only pulses to obtain the memory address. A period measuring device, characterized in that the period of the input pulse is continuously measured by reading out the count value for each period stored in the memory.
JP19737883A 1983-10-21 1983-10-21 Period measuring device Pending JPS6089763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19737883A JPS6089763A (en) 1983-10-21 1983-10-21 Period measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19737883A JPS6089763A (en) 1983-10-21 1983-10-21 Period measuring device

Publications (1)

Publication Number Publication Date
JPS6089763A true JPS6089763A (en) 1985-05-20

Family

ID=16373509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19737883A Pending JPS6089763A (en) 1983-10-21 1983-10-21 Period measuring device

Country Status (1)

Country Link
JP (1) JPS6089763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157121A (en) * 2004-11-25 2006-06-15 Fujitsu Ltd High frequency counter circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56145363A (en) * 1980-04-14 1981-11-12 Nec Home Electronics Ltd Frequency-voltage converter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56145363A (en) * 1980-04-14 1981-11-12 Nec Home Electronics Ltd Frequency-voltage converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157121A (en) * 2004-11-25 2006-06-15 Fujitsu Ltd High frequency counter circuit

Similar Documents

Publication Publication Date Title
JPS6089763A (en) Period measuring device
US3688200A (en) Automatic clock pulse frequency switching system
KR100186315B1 (en) Programmable counter
SU902237A1 (en) Pulse delay device
SU890357A2 (en) Device for measuring time interval between periodic radio pulses
SU1129723A1 (en) Device for forming pulse sequences
SU1086407A1 (en) Device for tolerance checking of parameters
SU917172A1 (en) Digital meter of time intervals
SU1587501A1 (en) Nonstationary random pulse process generator
SU1057943A1 (en) Device for squaring pulse signals
RU1793534C (en) Random pulse sequence oscillator
JPH0727804A (en) Pulse width measurement circuit
SU1049819A1 (en) Device for measuring average pulse frequency in nonsteady random unit
SU1695320A1 (en) Device for simulating failures of systems
SU1027694A1 (en) Counter of time intervals in pulse trains
SU1003321A1 (en) Device for delaying square-wave pulses
SU1345305A1 (en) Pulse repetition rate multiplier
SU610297A1 (en) Time interval extrapolating arrangement
SU1034145A1 (en) Controlled pulse repetition frequency multiplier
JPH0645894A (en) Delay pulse generating circuit
SU943747A1 (en) Device for checking digital integrated circuits
SU907553A1 (en) Device for simulating process of control of reserves
SU1100721A1 (en) Device for delaying rectangular pulses
SU1256182A1 (en) Pulse repetition frequency multiplier
SU1483466A1 (en) Piecewise linear interpolator