JPS62209370A - Cycle measuring apparatus - Google Patents

Cycle measuring apparatus

Info

Publication number
JPS62209370A
JPS62209370A JP5288986A JP5288986A JPS62209370A JP S62209370 A JPS62209370 A JP S62209370A JP 5288986 A JP5288986 A JP 5288986A JP 5288986 A JP5288986 A JP 5288986A JP S62209370 A JPS62209370 A JP S62209370A
Authority
JP
Japan
Prior art keywords
pulse
output
counter
frequency
input
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
JP5288986A
Other languages
Japanese (ja)
Inventor
Hiroshi Oosugi
大杉 博
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.)
KOKO RES KK
Original Assignee
KOKO RES KK
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 KOKO RES KK filed Critical KOKO RES KK
Priority to JP5288986A priority Critical patent/JPS62209370A/en
Publication of JPS62209370A publication Critical patent/JPS62209370A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

PURPOSE:To measure a cycle from low frequency to high frequency with good accuracy by a counter having a reduced number of bits, by changing over the input clock frequency of the counter corresponding to the length of an input pulse cycle. CONSTITUTION:The pulse PI having a short cycle corresponding to a rotational speed is converted to a synchronous pulse PS by a converter 12 and further delayed by a delay circuit 13 to bring a counter CT15 to a load state and FF16 is reset. CT15 counts an input clock CLK and the count output thereof is sent out through a latch 20 and a D/A converter 21. The carry pulse of CT15 sets FF16 and the output SQ thereof is applied to a latch 25 and CT15 is reset to change over the input clock to CT15 to 1/256 frequency dividing output. Therefore, the pulse PI having a long cycle is counted by CT15. At this time, by the comparison of the outputs of the latches 20, 25 with the outputs of CR15 and FF16 by a comparator 42, a switch 41 is connected to the side of a contact D.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は入力信号の周期を広い範囲にわたって検出す
る周期検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a period detection device that detects the period of an input signal over a wide range.

〔従来の技術〕[Conventional technology]

入力信号の周期をクロックのカウント値として計測し、
このカウント値を例えばD/A変換して電圧に変換した
出力を得るようにする周期計測装置が知られている。
Measure the period of the input signal as a clock count value,
A period measuring device is known that converts this count value, for example, from D/A to obtain an output converted to voltage.

入力信号の周期計測を行なう方法としては、従来入力信
号周波数を電圧に変換し、これの割算出力として周期、
検出出力を得る方法や、入力信号の周期をクロックパル
スのカウント値として計測し、そのカウント値をD/A
変換して電圧にした出力を得る方法がある。
Conventionally, the method of measuring the period of an input signal is to convert the input signal frequency to voltage, and calculate the period as the divided output.
How to obtain the detection output, measure the period of the input signal as a clock pulse count value, and use the count value as a D/A
There is a way to convert it and get the output as a voltage.

この場合に、入力信号として高周波から低周波まで広範
囲にわたって精密に周期計測を行なう場合、周波数電圧
変換回路を用いる方法では1個の周波数電圧変換回路で
はなかなかうまくゆかず、2個の変換回路を使用する。
In this case, if you want to accurately measure the period over a wide range of input signals from high to low frequencies, the method using a frequency-to-voltage conversion circuit will not work well with one frequency-to-voltage conversion circuit, so it is necessary to use two conversion circuits. do.

すなわち、第5図はその一例のブロック図で、(1)は
例えば10Hz ” 1kHzを分担する高速用周波数
電圧変換回路、(2)は10Hz以下を分担する低速用
周波数電圧変換回路で、入力端子(3)よりの周波数信
号が両変換回路(1)及び(2)に供給される。
That is, FIG. 5 is a block diagram of an example of this, in which (1) is a high-speed frequency-voltage conversion circuit that shares, for example, 10Hz to 1kHz, and (2) is a low-speed frequency-voltage conversion circuit that shares 10Hz or less. The frequency signal from (3) is supplied to both conversion circuits (1) and (2).

変換回路(1)は第6図の特性図の実線(8)で示すよ
うに1kHzでIOV、 10Hzで0.IVとなるリ
ニアな特性を有し、出力端〔6)にはこの実線(8)の
特性直線に沿って入力周波数が電圧に変換された出力が
スイッチ(5)を通じて得られる。
The conversion circuit (1) has IOV at 1kHz and 0.0V at 10Hz, as shown by the solid line (8) in the characteristic diagram of FIG. It has a linear characteristic of IV, and an output in which the input frequency is converted into a voltage is obtained at the output end [6] along the characteristic straight line of this solid line (8) through the switch (5).

そして、入力周波数が10Hz以下になると、変換回路
(1)の出力電圧は0.1v以下となり、これが比較回
路(4)で検出され、この比較回路(4)の出力により
スイッチ(5)が図の状態から逆の状態に切り換えられ
る。
When the input frequency becomes 10Hz or less, the output voltage of the conversion circuit (1) becomes 0.1V or less, which is detected by the comparison circuit (4), and the output of this comparison circuit (4) causes the switch (5) to switch to the The state can be switched from the state to the opposite state.

低速用変換回路(2)は第6図の特性図の破線(9)で
示すように101(zでIOVとなるような周波数に比
例するリニアな特性を有する。この低速用変換回路(2
)の出力は分圧用可変抵抗器(7)により 1/ 10
0にされ、10H2のときO,IVとなるようにされる
As shown by the broken line (9) in the characteristic diagram of FIG.
) output is 1/10 by the voltage dividing variable resistor (7).
0, and when it is 10H2, it becomes O, IV.

こうして、2台の周波数電圧変換回路を用いて低周波数
部分でも、高周波部分でも精密な計測ができる。
In this way, precise measurements can be made using two frequency-voltage conversion circuits in both low-frequency and high-frequency parts.

しかし、この方法は、周波数電圧変換回路が2個必要で
あるため、構成が複雑であるとともにコスト高となる欠
点がある。
However, since this method requires two frequency-voltage conversion circuits, it has the disadvantage of a complicated configuration and high cost.

一方、周期をカウンタのカウント値として計測する方法
の場合には高周波計測の場合を考えると、クロック周波
数を高くする必要があり、一方、低周波を考えると長い
周期を計測するため、この高周波のクロックを長くカウ
ントしなければならないので、カウンタとしてビット数
の多いものを使用する必要があった。
On the other hand, in the case of the method of measuring the period as a count value of a counter, considering the case of high frequency measurement, it is necessary to increase the clock frequency; Since the clock must be counted for a long time, it was necessary to use a counter with a large number of bits.

〔問題点を解決するための手段〕[Means for solving problems]

この発明は周期計測をクロックをカウンタで計測するこ
とによりなすものにおいて、特にビット数の少ないカウ
ンタで広範囲にわたって精密な計測ができるようにした
もので、この発明においてはクロックをカウントして入
力信号の周期をカウント値として計測するカウント手段
と、この計測した周期のカウント値を記憶する第1の記
憶手段と、上記カウント手段のキャリー出力を記憶する
第2の記憶手段と、この第2の記憶手段の出力により上
記クロックの周波数を切り換える手段とを設ける。
In this invention, period measurement is performed by measuring a clock with a counter, and in particular, it is possible to perform accurate measurement over a wide range with a counter with a small number of bits. A counting means for measuring the period as a count value, a first storage means for storing the count value of the measured period, a second storage means for storing the carry output of the counting means, and the second storage means. means for switching the frequency of the clock according to the output of the clock.

〔作用〕[Effect]

周期がカウント手段のビット数を越えるような長いもの
になると、このカウント手段よりのキャリーパルスが第
2の記憶手段にラッチされ、その記憶出力によりクロッ
ク周波数が低い周波数に変えられる。したがって、長い
周期の測定がこのカウント手段のビット数の範囲で可能
になる。
When the period becomes longer than the number of bits of the counting means, the carry pulse from the counting means is latched into the second storage means, and the clock frequency is changed to a lower frequency by the storage output thereof. Therefore, long period measurement is possible within the range of the number of bits of this counting means.

こうして、高速から低速まで広い範囲にわたっての周期
計測が可能になるものである。
In this way, period measurement over a wide range from high speed to low speed becomes possible.

〔実施例〕〔Example〕

第1図はこの発明装置の一実施例を示すものである。 FIG. 1 shows an embodiment of the device according to the invention.

同図において、(11)は入力端子で、例えば回転体の
回転速さに応じた周期のパルスPIがこの1入力端子(
11)を通じて単安定マルチバイブレーク(12)に供
給され、これより入力パルスPIに同期したパルスPS
(第2図A)が得られる。このパルスPSは単委定マル
チバイブレーク(13)に供給されてこれよりパルスP
Sが僅かにat=されたパルスPR(同図B)が得られ
る。
In the same figure, (11) is an input terminal, and for example, a pulse PI with a period corresponding to the rotational speed of the rotating body is input to this input terminal (11).
11) to the monostable multi-by-break (12), from which the pulse PS synchronized with the input pulse PI
(Fig. 2A) is obtained. This pulse PS is supplied to the single-committee multi-by-break (13), from which the pulse P
A pulse PR (FIG. B) in which S is slightly at= is obtained.

このパルスPRはオアゲート(14)を介してカウンタ
(15)のロード端子に供給されるとともにRSフリッ
プフロップ(16)のリセット端子に供給される。
This pulse PR is supplied to the load terminal of the counter (15) via the OR gate (14) and also to the reset terminal of the RS flip-flop (16).

カウンタ(15)はこの例では12ビツトのものが用い
られ、RSフリップフロップ(16)の出力SQはこの
カウンタ(15)の12ビツトのプリセット入力の9ビ
ツト目の入力(2’)として供給される。この場合、プ
リセント入力の他のビットはすべてO”に設定されてい
る。
In this example, a 12-bit counter (15) is used, and the output SQ of the RS flip-flop (16) is supplied as the 9th bit input (2') of the 12-bit preset input of this counter (15). Ru. In this case, all other bits of the precent input are set to O''.

(17)はこのカウンタ(15)に対するクロック発生
器で、これよりのクロックパルスCLKはスイッチ(1
8)の端子A側を通じてそのままカウンタ(15)のク
ロック入力端子に供給されるとともに分周器(19)に
供給されて1/ 256に分周された後、スイッチ(1
8)の端子B側を通じてカウンタ(15)のクロック入
力端子に供給される。
(17) is a clock generator for this counter (15), and the clock pulse CLK from this is the switch (1
The signal is supplied as it is to the clock input terminal of the counter (15) through the terminal A side of the switch (8), and is also supplied to the frequency divider (19) where the frequency is divided to 1/256.
8) is supplied to the clock input terminal of the counter (15) through the terminal B side of the counter (15).

スイッチ(18)はRSフリップフロップ(16)の出
力SQにより、この出力SQがo″のときは端子A側に
、“1”のときは端子B側に切換えられる。
The switch (18) is switched to the terminal A side by the output SQ of the RS flip-flop (16) when the output SQ is o'', and to the terminal B side when it is "1".

したがって、大力パルスPIが到来すると前述のように
パルスPRが発生し、RSフリップフロップ(16)は
リセットされてその出力SQは“0”になるからカウン
タ(15)はこのパルスPRによってリセットされ、一
方スイッチ(18)は端子A側に切り換えられるからカ
ウンタ(15)はクロックCLKを「0」からカウント
し始める。
Therefore, when the large-power pulse PI arrives, the pulse PR is generated as described above, and the RS flip-flop (16) is reset and its output SQ becomes "0", so the counter (15) is reset by this pulse PR. On the other hand, since the switch (18) is switched to the terminal A side, the counter (15) starts counting the clock CLK from "0".

このカウンタ(15)のカウント値出力(第2図C)は
ラッチ回路(20)に供給される。一方、パルスPRよ
りも進んだパルスPSがこのラッチ回路(20)のスト
ローブ端子に供給され、このパルスPSによりパルスP
Rによりカウンタ(15)がリセットされる前のカウン
ト値、つまり、入力パルスPIの周期の計測カウント値
がこのラッチ回路(20)にラッチされる。
The count value output (FIG. 2C) of this counter (15) is supplied to the latch circuit (20). On the other hand, a pulse PS that is more advanced than the pulse PR is supplied to the strobe terminal of this latch circuit (20), and this pulse PS causes the pulse P to
The count value before the counter (15) is reset by R, that is, the measured count value of the period of the input pulse PI is latched in the latch circuit (20).

ラッチされた周期計測カウント値は乗算型D/Aコンバ
ータを用いたD/Aコンバータ(21)に供給され、こ
れよりは周期の逆数つまり周波数に応じたアナログ電圧
(第2図D)が得られ、これがアンプ(22)を介して
出力端子(23)に導出される。
The latched period measurement count value is supplied to a D/A converter (21) using a multiplication type D/A converter, and from this, an analog voltage (D in Figure 2) corresponding to the reciprocal of the period, that is, the frequency is obtained. , which is led out to the output terminal (23) via the amplifier (22).

大力パルスPIの周期が12ビツトカウンタ(15)で
、フルスケールとならない程度の短い周期のときは、以
上の動作がくり返される(第2図C参照)。
If the period of the high-power pulse PI is a 12-bit counter (15) and is too short to reach the full scale, the above operation is repeated (see FIG. 2C).

しかし、この発明では入力パルスPIの周期がカウンタ
(15)がフルスケールとなって桁上げのキャリーパル
スCAを発生するような長いものとなった場合でもこの
カンウタ(15)のみを用いてその長い周期を計測でき
るようにしている。
However, in this invention, even if the period of the input pulse PI is so long that the counter (15) reaches full scale and generates a carry pulse CA for a carry, only this counter (15) is used to It is possible to measure the cycle.

すな、わち、大力パルスPIの周期が長くなり、カウン
タ(15)よりキャリーパルスCAが発生すると、これ
によりRSフリップフロップ(16)はセットされ、こ
のRSフリップフロップ(16)の出力SQが“1”に
なる。すると、単安定マルチパイプレーク(24)がト
リガされてパルスPCが得られ、このパルスPCがオア
ゲー)(14)を介してカウンタ(15)のロード端子
に供給される。
That is, when the period of the high-power pulse PI becomes longer and a carry pulse CA is generated from the counter (15), the RS flip-flop (16) is set, and the output SQ of this RS flip-flop (16) becomes It becomes “1”. Then, the monostable multipipe rake (24) is triggered to obtain a pulse PC, which is supplied to the load terminal of the counter (15) via the or game (14).

このとき、出力SQが“l”であるので、このパルスP
Cによってカウンタ(15)はr256Jにプリセット
される。
At this time, since the output SQ is "L", this pulse P
The counter (15) is preset to r256J by C.

一方、スイッチ(18)は端子B側に接続されるので、
クロックパルスCLKが1/ 256に分周された分周
器(19)よりのパルスCLK’がカウンタ(15)で
カウント値r256Jからカウントアンプされてゆくこ
とになる。
On the other hand, since the switch (18) is connected to the terminal B side,
The pulse CLK' from the frequency divider (19), which is the clock pulse CLK divided by 1/256, is counted and amplified by the counter (15) from the count value r256J.

このとき、クロック周波数及びカウンタ(15)のビッ
ト数の関係からカウンタ(15)のカウント値の上昇の
傾きは第2図Cに示すようにそまれでのクロックCLK
のときと比べて1/16になる。
At this time, due to the relationship between the clock frequency and the number of bits of the counter (15), the slope of the increase in the count value of the counter (15) is as shown in FIG.
It will be 1/16 compared to when.

プリセット値r256Jはカウンタ(15)でクロック
CLK’を「0」からカウントし始めたとしたときに、
同じ時点からクロックCLKをカウンタ(15)で「0
」から始めてキャリーパルスCAを発生するまで、つま
りフルスケールになるまでこのクロックCLK’をカウ
ントしたときの値である。したがって、カウンタ(15
)では、それまでの入力パルスPIの16倍の長さの周
期までがカウント値として計測できることになる。
The preset value r256J is when the counter (15) starts counting the clock CLK' from "0".
From the same point, the clock CLK is set to “0” by the counter (15).
'' until the carry pulse CA is generated, that is, the clock CLK' is counted until it reaches full scale. Therefore, the counter (15
), a period up to 16 times the length of the previous input pulse PI can be measured as a count value.

そして、出力端子(23)に得られる周期の割り算アナ
ログ電圧は、カウンタ(15)のカウント値の上昇直線
の傾きに合わせて1/16にゲインが下げられて出力さ
れる。
Then, the period-divided analog voltage obtained at the output terminal (23) is outputted with the gain lowered to 1/16 in accordance with the slope of the rising straight line of the count value of the counter (15).

すなわち、RSフリップフロップ(16)の出力SQは
ラッチ回路(25)に供給される。
That is, the output SQ of the RS flip-flop (16) is supplied to the latch circuit (25).

そして、単安定マルチバイブレーク(12)よりのパル
スPSがこのラッチ回路(25)のストローブ端子に供
給される。このラッチ回路(25)では今回の周期計測
に先立ち、前回のカウント時カウンタ(15)がフルス
ケールとなりキャリーパルスCAを発生したかどうかを
検知することになり、キャリーパルスCAが発生したと
きはRSフリップフロップ(16)の出力SQは1”に
なっているから、このラッチ回路(25)でその“1″
がラッチされる。他のときはこのラッチ回路(25)の
出力CQは常に“0”である。このラッチ回路(25)
の出力CQはゲイン切換用のスイッチ(26)にその切
換信号として供給される。
Then, the pulse PS from the monostable multi-bibreak (12) is supplied to the strobe terminal of this latch circuit (25). Prior to the current cycle measurement, this latch circuit (25) detects whether the counter (15) reached full scale during the previous count and generated a carry pulse CA, and when the carry pulse CA occurs, the RS Since the output SQ of the flip-flop (16) is 1, this latch circuit (25)
is latched. At other times, the output CQ of this latch circuit (25) is always "0". This latch circuit (25)
The output CQ is supplied to a gain switching switch (26) as a switching signal.

オペアンプ(22)のゲインは抵抗(27)とオペアン
プ(22)のフィードバックループ中に接続された抵抗
との比で定まるが、この場合、スイッチ(26)により
フィードバックループ中の抵抗が抵抗(28)と(29
)とに切換えられ、入力パルスPIの周期が短いとき(
抵抗(2日)を選択)に対し入力パルスPIの周期が長
くキャリーパルスCAが発生したとき(抵抗(29)を
選択)にはゲインがl/16になるようにされるもので
ある。
The gain of the operational amplifier (22) is determined by the ratio of the resistor (27) to the resistor connected in the feedback loop of the operational amplifier (22), but in this case, the switch (26) changes the resistor in the feedback loop to the resistor (28). and (29
) and when the period of the input pulse PI is short (
When the period of the input pulse PI is long and the carry pulse CA is generated (resistance (29) is selected), the gain is set to 1/16 (resistance (29) is selected).

したがって前回のカウント時にキャリーパルスCAが発
生したときには、次に到来する入力パルスP、Sにより
ラッチ回路(20)にはクロックCLK’をカウントし
たカウント値がラッチされるとともにラッチ回路(25
)にキャリーパルスCAが発生したことを示す“1”な
る信号がラッチされ、出力のゲインが1/16にされ、
長い周期に対応したアナログ電圧が出力端子(23)に
得られる。
Therefore, when the carry pulse CA is generated during the previous count, the count value obtained by counting the clock CLK' is latched in the latch circuit (20) by the input pulses P and S that arrive next, and the latch circuit (25)
) is latched, indicating that the carry pulse CA has occurred, and the output gain is reduced to 1/16.
An analog voltage corresponding to a long period is obtained at the output terminal (23).

なお、D/Aコンバータ(21)は例えば第3図に示す
ように乗算型D/AコンバータIC(31)をオペアン
プ(32)のフィードバックループの中に接続すること
により基準電圧発生器(33)の出力に応じたアナログ
入力電圧VINをデジタル入力(カウント値)で割算し
た出力が得られるようにしたものを用いることができる
。この場合のゲインの切換は、スイッチ(34)により
抵抗(35)と(36)を切り換えるように構成し、ス
イッチ(34)をランチ回路(25)の出力CQで切り
換えるようにすればよい。
Note that the D/A converter (21) can be configured as a reference voltage generator (33) by connecting a multiplier type D/A converter IC (31) into the feedback loop of an operational amplifier (32) as shown in FIG. It is possible to use an output that can be obtained by dividing an analog input voltage VIN corresponding to the output of , by a digital input (count value). In this case, the gain may be switched by configuring the resistors (35) and (36) to be switched by a switch (34), and by switching the switch (34) by the output CQ of the launch circuit (25).

第1図の例の場合、入力パルスPIの周期が短くなるよ
うに変化するときは、その変化に即座に対応して出力端
子(23)の出力電圧は変化するが、周期が長くなる方
向に変化するときは、次の入力パルスPIが到来するま
で出力電圧は前の周期計測出力値を保持したものとなっ
ており、応答が悪い。
In the example shown in Figure 1, when the period of the input pulse PI changes to become shorter, the output voltage at the output terminal (23) changes immediately in response to the change, but as the period becomes longer. When changing, the output voltage holds the previous period measurement output value until the next input pulse PI arrives, resulting in poor response.

第4図の例はこの点を改良した例で、単安定マルチバイ
ブレーク(12)の出力パルスPSはスイッチ(41)
の一方の端子C側を通じてラッチ回路(20)及び(2
5)のストローブ端子に供給される。
The example in Fig. 4 is an example in which this point has been improved, and the output pulse PS of the monostable multi-bi break (12) is connected to the switch (41).
latch circuits (20) and (2) through one terminal C side of
5) is supplied to the strobe terminal.

このスイッチ(41)の他方の端子は接地される。The other terminal of this switch (41) is grounded.

したがって、スイッチ(41)が端子Cに接続されてい
るときは、パルスPSによってラッチ回路(20)はカ
ウンタ(15)のカウント値出力をラッチし、ラッチ回
路(25)はRSフリップフロップ(16)の出力SQ
をラッチする。一方、スイッチ(41)が端子りに接続
されるときはラッチ回路(20)及び(25)はその入
力をそのまま出力する。
Therefore, when the switch (41) is connected to the terminal C, the latch circuit (20) latches the count value output of the counter (15) by the pulse PS, and the latch circuit (25) latches the count value output of the counter (15). output SQ of
Latch. On the other hand, when the switch (41) is connected to the terminal, the latch circuits (20) and (25) output their inputs as they are.

そして、カウンタ(15)よりの今回のカウント値出力
及びRSフリップフロップ(16)よりの桁上げのビッ
ト出力と、ラッチ回路(20)よりの前回のカウント値
出力及びラッチ回路(25)よりの桁上げのビット出力
とが比較回路(42)に供給されて比較され、今回のカ
ウント値出力が前回のカウント値出力を越えたところで
この比較回路(42)より“1”に立ち上がる出力が得
られ、この立ち上がりによりRSフリップフロップ(4
3)がセットされる。一方、このRSフリップフロップ
(43)はパルスPSによってリセットされる。したが
って、このRSフリップフロップ(43)の出力TQは
第2図Eに示すように、前回のカウント値出力を今回の
カウント値出力が越えた時点から“1″になり、到来す
るパルス280時点で“0″になる。
Then, the current count value output from the counter (15), the carry bit output from the RS flip-flop (16), the previous count value output from the latch circuit (20), and the digit value from the latch circuit (25). The higher bit output is supplied to the comparator circuit (42) and compared, and when the current count value output exceeds the previous count value output, an output rising to "1" is obtained from the comparator circuit (42). This rise causes the RS flip-flop (4
3) is set. On the other hand, this RS flip-flop (43) is reset by the pulse PS. Therefore, as shown in FIG. 2E, the output TQ of this RS flip-flop (43) becomes "1" from the time when the current count value output exceeds the previous count value output, and at the time of the arriving pulse 280. becomes “0”.

スイッチ(41)はこのRSフリップフロップ(43)
の出力TQが“1”のとき端子り側にO”のとき端子C
側に、切り換えられる。
The switch (41) is this RS flip-flop (43)
When the output TQ of the terminal is “1”, the terminal C is O”
Switched to the side.

したがって、入力パルスPIの周期が長(なる方向に変
化したとき、今回のカウント値出力が前回のカウント値
出力を越えたところから、スイッチ(41)は端子り側
に接続され、カウンタ(15)のカウント値出力がその
ままD/Aコンバータ(21)に供給されてアナログ電
圧に変換されるので、出力端子(23)の出力電圧は第
2図Fに示すようにカウント値上昇に従って双曲線的に
下がるようになる。
Therefore, when the period of the input pulse PI changes to a longer period, the switch (41) is connected to the terminal side from the point where the current count value output exceeds the previous count value output, and the counter (15) Since the count value output is directly supplied to the D/A converter (21) and converted into an analog voltage, the output voltage of the output terminal (23) decreases hyperbolically as the count value increases, as shown in Figure 2 F. It becomes like this.

したがって、入力パルスPIの周期が長くなるように変
化したときに、これに応答性よく変化する出力電圧とな
る。
Therefore, when the period of the input pulse PI changes to become longer, the output voltage changes with good responsiveness.

なお、以上はディスクリートの回路構成としてこの発明
装置を実現した場合であるが、D/Aコンバータ(21
)の入力部分まではマイクロコンビュータのソフトウェ
アにより殆ど置き換えて実現することができるものであ
る。
Note that the above is a case where this invention device is realized as a discrete circuit configuration, but a D/A converter (21
) can be realized by replacing most of the input parts with microcomputer software.

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

この発明によれば、カウント手段よりキャリーパルスが
発生してしまうような長い周期の入力か、それより短い
周期の入力かによりカウント手段の入力クロック周波数
を切り換えるようにしたことにより、少ないビット数の
カウンタで低周波から高周波まで精度よ(周期計測がで
きるものである。
According to this invention, the input clock frequency of the counting means is switched depending on whether the input has a long cycle that causes a carry pulse to be generated by the counting means or the input has a shorter cycle. The counter is accurate from low to high frequencies (it can measure periods).

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

第1図はこの発明装置の一例のブロック図、第2図はそ
の説明のための波形図、第3図はその一部回路の構成の
一例を示す図、第4図はこの発明装置の他の例のブロッ
ク図、第5図は従来の計測装置の一例のブロック図、第
6図はその説明のための図である。 (15)はカウンタ、(16)はそのキャリーパルスの
発生を検知するためのフリップフロップ、(18)はク
ロック周波数を切換るためのスイッチ、(21)はD/
Aコンバータ、(26)はアナログ出力のゲインを切換
えるためのスイッチである。
FIG. 1 is a block diagram of an example of the device of this invention, FIG. 2 is a waveform diagram for explaining the same, FIG. 3 is a diagram showing an example of the configuration of a part of the circuit, and FIG. 4 is a diagram of another example of the device of this invention. FIG. 5 is a block diagram of an example of a conventional measuring device, and FIG. 6 is a diagram for explaining the same. (15) is a counter, (16) is a flip-flop for detecting the occurrence of the carry pulse, (18) is a switch for switching the clock frequency, and (21) is a D/
A converter (26) is a switch for changing the gain of analog output.

Claims (1)

【特許請求の範囲】 (a)クロックをカウントして入力信号の周期をカウン
ト値として計測するカウント手段と、 (b)この計測した周期のカウント値を記憶する第1の
記憶手段と、 (c)上記カウント手段のキャリー出力を記憶する第2
の記憶手段と、 (d)この第2の記憶手段の出力により上記クロックの
周波数を切り換える手段とからなる周期計測装置。
[Claims] (a) Counting means for counting the clock and measuring the period of the input signal as a count value; (b) First storage means for storing the count value of the measured period; (c ) a second memory for storing the carry output of the counting means;
(d) means for switching the frequency of the clock according to the output of the second storage means.
JP5288986A 1986-03-11 1986-03-11 Cycle measuring apparatus Pending JPS62209370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5288986A JPS62209370A (en) 1986-03-11 1986-03-11 Cycle measuring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5288986A JPS62209370A (en) 1986-03-11 1986-03-11 Cycle measuring apparatus

Publications (1)

Publication Number Publication Date
JPS62209370A true JPS62209370A (en) 1987-09-14

Family

ID=12927433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5288986A Pending JPS62209370A (en) 1986-03-11 1986-03-11 Cycle measuring apparatus

Country Status (1)

Country Link
JP (1) JPS62209370A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012112873A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Frequency measurement circuit
JP2013044721A (en) * 2011-08-26 2013-03-04 Denso Corp Clock frequency detection device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4930475A (en) * 1972-07-10 1974-03-18
JPS5074462A (en) * 1973-10-23 1975-06-19
JPS52152767A (en) * 1976-06-15 1977-12-19 Oki Electric Ind Co Ltd Automatic time width measuring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4930475A (en) * 1972-07-10 1974-03-18
JPS5074462A (en) * 1973-10-23 1975-06-19
JPS52152767A (en) * 1976-06-15 1977-12-19 Oki Electric Ind Co Ltd Automatic time width measuring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012112873A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Frequency measurement circuit
JP2013044721A (en) * 2011-08-26 2013-03-04 Denso Corp Clock frequency detection device

Similar Documents

Publication Publication Date Title
US4243974A (en) Wide dynamic range analog to digital converter
EP0177557B1 (en) Counting apparatus and method for frequency sampling
US3601707A (en) Frequency to direct current converter
JPH07120948B2 (en) Circuit for converting input voltage to output frequency
US4030339A (en) Impact impulse measuring device
JPS62209370A (en) Cycle measuring apparatus
CN108037358B (en) Single-chip microcomputer frequency testing system and method
CN207636133U (en) A kind of analog-digital converter for ultrasonic gas flowmeter
CA1288165C (en) Clock-controlled voltage-to-frequency converter
JPS5910511B2 (en) Signal arrival time detection device
US3843925A (en) Method for measuring parameters of complex electric circuit components and device for effecting same
US5745062A (en) Pulse width modulation analog to digital converter
RU2229138C1 (en) Meter measuring parameters of harmonic processes
JPS6348456B2 (en)
SU1247680A1 (en) Time-to-pulse converter or device for measuring temperature
JPS642905B2 (en)
JPS6022679Y2 (en) D/A converter
SU1580283A1 (en) Digital ohmmeter
SU1121644A1 (en) Time interval meter
SU661381A2 (en) Frequrncy sensor
SU674212A1 (en) Digital meter of monopulse signals
SU1698826A1 (en) Resistance deviation-to-digit converter
SU1368792A1 (en) Device for determining parameters of complex signal
Ilango et al. Triggering Angle and Frequency Measuring Instrument
SU1228021A1 (en) Meter of complex impedance parameters