JPH09178785A - Pulse counting circuit and fv conversion circuit - Google Patents

Pulse counting circuit and fv conversion circuit

Info

Publication number
JPH09178785A
JPH09178785A JP7341829A JP34182995A JPH09178785A JP H09178785 A JPH09178785 A JP H09178785A JP 7341829 A JP7341829 A JP 7341829A JP 34182995 A JP34182995 A JP 34182995A JP H09178785 A JPH09178785 A JP H09178785A
Authority
JP
Japan
Prior art keywords
value
signal
pulse
counter
timer
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.)
Granted
Application number
JP7341829A
Other languages
Japanese (ja)
Other versions
JP3290061B2 (en
Inventor
Taiji Tani
泰司 谷
Kazuaki Murota
和明 室田
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP34182995A priority Critical patent/JP3290061B2/en
Publication of JPH09178785A publication Critical patent/JPH09178785A/en
Application granted granted Critical
Publication of JP3290061B2 publication Critical patent/JP3290061B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the responsivity of a pulse counting circuit. SOLUTION: A pulse counting circuit 11 counts input signals by an input signal counter 16, latches the signals with a latch 17 for each counting period which is set by a timer signal (B) from a timer circuit 15 for setting count period gives the storage value of the latch 17 to a D/A conversion circuit 12, and performs FV conversion to a voltage value from frequency. A comparator 19 compares the count value of the input signal counter 16 with the stored value of the latch 17 and selects a value which is not smaller by a selector 20 and feeds it to the D/A conversion circuit 12. When the frequency of an input signal rapidly increases, the count value of the input signal counter 16 is derived as a direct pulse count value, thus improving the response when the input signal rapidly increases.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、所定時間当たりに
入力される各種パルス信号の数を計数するパルス計数回
路、およびパルス計数回路を用いて各種入力信号の周波
数を電圧に変換するFV変換回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse counting circuit for counting the number of various pulse signals input per predetermined time, and an FV conversion circuit for converting the frequency of various input signals into a voltage using the pulse counting circuit. Regarding

【0002】[0002]

【従来の技術】従来からのパルス計数回路およびFV変
換回路の典型的な構成を図20に示す。入力信号は、パ
ルス計数回路1で所定時間当たりのパルス数として計数
されてデジタル値に変換され、D/A変換回路2によっ
てデジタル値からアナログ値を表す信号に変換される。
パルス計数回路1およびD/A変換回路2を含むFV変
換回路3は、入力信号の周波数を単位時間内のパルス数
として検出し、検出したパルス数に対応する電圧レベル
を有するアナログ出力を導出する。
2. Description of the Related Art A typical configuration of a conventional pulse counting circuit and FV converting circuit is shown in FIG. The input signal is counted by the pulse counting circuit 1 as the number of pulses per predetermined time and converted into a digital value, and the D / A conversion circuit 2 converts the digital value into a signal representing an analog value.
The FV conversion circuit 3 including the pulse counting circuit 1 and the D / A conversion circuit 2 detects the frequency of the input signal as the number of pulses within a unit time and derives an analog output having a voltage level corresponding to the detected number of pulses. .

【0003】パルス計数回路1内には、各種入力信号を
波形整形してパルス波に変換する波形整形回路4と、パ
ルス波を計数する所定時間であるカウント期間Tを決定
するタイマ信号を出力するカウント期間設定用タイマ5
と、カウント期間Tの間に入る波形整形回路4からの出
力パルスの数をNビットのデジタル値で計数する入力信
号カウンタ6と、タイマ信号によってカウント期間終了
時の入力信号カウンタ6の出力値を保持するラッチ7
と、カウント期間設定用タイマ5からのタイマ信号を一
定時間遅らせて入力信号カウンタ6をクリアする遅延回
路8とを含む。D/A変換回路2は、ラッチ7からのデ
ジタル出力をアナログ出力に変換する。
In the pulse counting circuit 1, a waveform shaping circuit 4 for shaping the waveform of various input signals and converting it into a pulse wave, and a timer signal for determining a counting period T which is a predetermined time for counting the pulse wave are output. Counting period setting timer 5
And an input signal counter 6 that counts the number of output pulses from the waveform shaping circuit 4 that enters during the count period T with an N-bit digital value, and an output value of the input signal counter 6 at the end of the count period by a timer signal. Latch 7 to hold
And a delay circuit 8 that delays the timer signal from the count period setting timer 5 for a fixed time to clear the input signal counter 6. The D / A conversion circuit 2 converts the digital output from the latch 7 into an analog output.

【0004】図21は、図20のパルス計数回路1の主
要部分の信号波形を示す。カウント期間設定用タイマ5
から出力されるタイマ信号は(b)で示すラッチ信号と
してラッチ7のクロック入力CKおよび遅延回路8の入
力に与えられる。遅延回路8は、タイマ信号を時間Δt
だけ遅らせて、(c)で示すクリア信号を入力信号カウ
ンタ6のクリア入力CLに与える。カウント期間設定用
タイマ5は、(a)で示すリセット入力が解除される
と、カウント周期Tでタイマ出力をラッチ信号(b)と
して導出する。時刻t1でラッチ信号(b)が立上がる
時点で、ラッチ7にはその直前の入力信号カウンタ6の
計数値mが取込まれて保持される。入力信号カウンタ6
は、(c)のクリア信号によって計数値が零にクリアさ
れ、波形整形回路4から出力され、(d)で示す入力パ
ルス信号を改めて計数する。時刻t2までのカウント期
間Tの間に入力パルス信号(d)の立上がりがn回あれ
ば、時刻t2以降、ラッチ7からの(f)で示すラッチ
出力はmからnに変わる。
FIG. 21 shows a signal waveform of a main part of the pulse counting circuit 1 of FIG. Counting period setting timer 5
The timer signal output from is supplied to the clock input CK of the latch 7 and the input of the delay circuit 8 as a latch signal shown in (b). The delay circuit 8 outputs the timer signal to the time Δt.
After that, the clear signal shown in (c) is applied to the clear input CL of the input signal counter 6. When the reset input shown in (a) is released, the count period setting timer 5 derives the timer output as the latch signal (b) at the count cycle T. At the time when the latch signal (b) rises at time t1, the count value m of the input signal counter 6 immediately before that is taken in and held in the latch 7. Input signal counter 6
The counter value is cleared to zero by the clear signal in (c), and the input pulse signal shown in (d) is output from the waveform shaping circuit 4 and is counted again. If the input pulse signal (d) rises n times during the counting period T up to the time t2, the latch output indicated by (f) from the latch 7 changes from m to n after the time t2.

【0005】[0005]

【発明が解決しようとする課題】図20および図21で
説明したパルス計数回路1では、カウント期間Tが一定
であり、またラッチのデジタル出力やD/A変換回路2
からのアナログ出力は、カウント期間T毎のラッチ信号
(b)が入らないと出力値が変化しないため、変換の応
答性もカウント期間Tで決定される。このため、広い周
波数領域の信号をFV変換する場合には、カウント期間
Tを低周波側に合わせて長くしておかなければならな
ず、応答性が悪くなり、高周波領域での周波数の変化に
追従することができなくなってしまう。
In the pulse counting circuit 1 described with reference to FIGS. 20 and 21, the count period T is constant, and the digital output of the latch and the D / A conversion circuit 2 are provided.
The output value of the analog output from does not change unless the latch signal (b) for each count period T is input, and therefore the conversion response is also determined in the count period T. Therefore, in the case of FV converting a signal in a wide frequency range, the count period T must be made long in accordance with the low frequency side, the responsiveness deteriorates, and the frequency changes in the high frequency range. You will not be able to follow.

【0006】図20に示すパルス計数回路1やFV変換
回路3は、種々の分野に使用される。たとえば自動車の
エンジン回転数を検出し、回転数に応じて各種制御を円
滑に行うためには、正確な回転数を常に応答性良く計測
可能な必要がある。
The pulse counting circuit 1 and the FV conversion circuit 3 shown in FIG. 20 are used in various fields. For example, in order to detect the engine speed of an automobile and smoothly perform various controls according to the speed, it is necessary to be able to measure an accurate speed at all times with good responsiveness.

【0007】本発明の目的は、パルス発生周期の広範囲
な変化に追従することができる応答性の良いパルス計数
回路、および入力信号の周波数の広範囲な変化に追従す
ることができる応答性の良いFV変換回路を提供するこ
とである。
An object of the present invention is to provide a pulse counter circuit having a good responsiveness capable of following a wide range change of a pulse generation period, and an FV having a good responsiveness capable of following a wide range change of a frequency of an input signal. It is to provide a conversion circuit.

【0008】[0008]

【課題を解決するための手段】本発明は、入力されるパ
ルス信号の数を計数し、パルス計数値を表す信号を導出
するパルス計数回路であって、計数期間が設定され、計
数期間毎にクロック信号を導出するタイマと、タイマか
らのクロック信号によってクリアされ、入力されるパル
ス信号を計数し、計数値を表す信号を導出するカウンタ
と、タイマからのクロック信号によってクリアされる直
前のカウンタの計数値を記憶し、記憶値を表す信号を導
出するラッチと、カウンタおよびラッチからの信号に応
答し、計数値および記憶値を比較し、小さくない方の値
をパルス計数値として表す信号を導出する比較手段とを
含むことを特徴とするパルス計数回路である。本発明に
従えば、タイマからのクロック信号によって設定される
計数期間内に入力されるパルス信号をカウンタが計数
し、先行する計数期間の計数値はラッチに記憶される。
比較手段は、カウンタの計数値とラッチの記憶値を比較
し、小さくない方の値をパルス計数値として表す信号を
導出する。入力されるパルス信号の周期が短縮され、計
数期間内にカウンタの計数値の方がラッチの記憶値より
も大きくなれば、残余の計数期間ではカウンタの計数値
が直接パルス計数値として導出される。したがって入力
されるパルス信号の発生周期が短縮され、パルス数が増
大するような入力信号の周波数上昇時における追従性を
改善し、応答性を向上させることができる。
SUMMARY OF THE INVENTION The present invention is a pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, wherein a counting period is set and a counting period is set for each counting period. A timer that derives a clock signal, a counter that is cleared by the clock signal from the timer, counts the pulse signals that are input, derives a signal that represents the count value, and a counter that is immediately before being cleared by the clock signal from the timer. In response to the signal from the counter and the latch that stores the count value and derives the signal that represents the stored value, compare the count value and the stored value, and derive the signal that represents the value that is not smaller as the pulse count value. And a comparison means for performing the pulse counting circuit. According to the present invention, the counter counts the pulse signal input within the counting period set by the clock signal from the timer, and the count value of the preceding counting period is stored in the latch.
The comparing means compares the count value of the counter with the stored value of the latch, and derives a signal representing the value which is not smaller as the pulse count value. If the cycle of the input pulse signal is shortened and the count value of the counter becomes larger than the stored value of the latch within the count period, the count value of the counter is directly derived as the pulse count value in the remaining count period. . Therefore, the generation period of the input pulse signal can be shortened, the followability when the frequency of the input signal increases such that the number of pulses increases, and the response can be improved.

【0009】さらに本発明は、入力されるパルス信号の
数を計数し、パルス計数値を表す信号を導出するパルス
計数回路であって、計数期間が設定され、計数期間毎に
クロック信号を導出するタイマと、タイマからのクロッ
ク信号に応答し、クロック信号の周期に対応する計数期
間を予め定める複数個の整数から選択される1つの選択
値で除算した値の選択期間毎にセレクト信号を導出する
セレクタと、セレクタからのセレクト信号によってクリ
アされ、入力されるパルス信号を計数し、計数値を表す
信号を導出するカウンタと、カウンタからの信号に応答
し、カウンタの計数値と前記選択値とを乗算し、乗算値
を表す信号を導出する乗算手段と、セレクタからのセレ
クト信号によってカウンタがクリアされる直前の乗算手
段からの信号に応答し、乗算手段の乗算値を記憶し、記
憶値をパルス計数値として表す信号を導出するラッチ
と、ラッチからの信号に応答し、パルス計数値を予め設
定される複数個の基準値と比較し、その結果に応じてセ
レクタを制御する比較手段とを含むことを特徴とするパ
ルス計数回路である。本発明に従えば、セレクタによっ
て予め定める複数個の整数から選択される1つの選択値
で計数期間を除算した選択期間毎にカウンタは入力され
るパルス信号を計数する。カウンタの計数値には選択値
を乗算するので、選択期間内で計数期間とほぼ同等のパ
ルス計数を行うことができる。カウンタの計数値を選択
値で除算し、再び同じ選択値を乗算したときは、元の計
数値と同一になるとは限らないけれども、元の計数値が
比較的大きければ、除算して乗算した結果の誤差は小さ
くなる。比較手段はカウンタの計数値が1つの基準値以
上であるときには、さらに除算し乗算する選択値として
より大きな値の整数を選択し、選択期間を短くして、高
周波時など入力されるパルス信号の数が増大するときの
追従性を改善することができる。入力信号のパルス数が
減少するときには、係数値が1つの基準値以下であれば
除算し乗算する選択値としてより小さな値の整数を選択
するので、選択期間を長くして誤差の増大を防ぐことが
できる。
Furthermore, the present invention is a pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, wherein a counting period is set and a clock signal is derived for each counting period. In response to the timer and the clock signal from the timer, the select signal is derived for each selection period of a value obtained by dividing the counting period corresponding to the cycle of the clock signal by one selected value selected from a plurality of predetermined integers. A selector, a counter that is cleared by a select signal from the selector, counts the pulse signals that are input, and derives a signal that represents the count value, and responds to the signal from the counter by counting the count value of the counter and the selected value. Multiplying means for deriving a signal representing a multiplication value and a signal from the multiplying means immediately before the counter is cleared by the select signal from the selector. And stores the multiplication value of the multiplication means and derives a signal representing the stored value as a pulse count value, and compares the pulse count value with a plurality of preset reference values in response to the signal from the latch. , And a comparing means for controlling the selector according to the result thereof. According to the present invention, the counter counts the input pulse signal for each selection period obtained by dividing the counting period by one selection value selected from a plurality of integers predetermined by the selector. Since the count value of the counter is multiplied by the selection value, it is possible to perform pulse counting in the selection period, which is almost equivalent to the counting period. If the count value of the counter is divided by the selected value and multiplied by the same selected value again, it may not be the same as the original count value, but if the original count value is relatively large, the result of division and multiplication The error of is small. When the count value of the counter is equal to or larger than one reference value, the comparing means selects an integer of a larger value as a selection value for further division and multiplication, shortens the selection period, and outputs the pulse signal input at high frequency. The trackability when the number increases can be improved. When the number of pulses of the input signal decreases, if the coefficient value is less than or equal to one reference value, an integer with a smaller value is selected as a selection value for division and multiplication. Therefore, the selection period is lengthened to prevent an increase in error. You can

【0010】また本発明で前記比較手段は、ラッチから
のパルス計数値を表すデジタル信号を、アナログ信号に
変換し、前記第1および第2の基準値に対応する基準レ
ベルと比較し、比較結果に従って前記選択値の選択を行
うようにセレクタを制御することを特徴とする。本発明
に従えば、比較手段はパルス計数値を変換したアナログ
信号と第1および第2の基準値に対応する基準レベルと
比較し、除算し乗算する整数値の選択を行うので、FV
変換回路などアナログ信号が容易に得られる場合に、特
に高周波時の応答性の向上を図ることができる。
In the present invention, the comparison means converts the digital signal representing the pulse count value from the latch into an analog signal, compares the analog signal with a reference level corresponding to the first and second reference values, and compares the result. The selector is controlled so as to select the selection value according to the above. According to the invention, the comparing means compares the analog signal obtained by converting the pulse count value with the reference levels corresponding to the first and second reference values, and selects an integer value for division and multiplication.
When an analog signal such as a conversion circuit is easily obtained, the response can be improved especially at high frequencies.

【0011】また本発明は、入力されるパルス信号の有
無を検出する入力検出手段を備え、前記比較手段は、入
力検出手段からの出力に応答し、セレクタからのセレク
ト信号によってカウンタがクリアされるまでにパルス信
号が入力されないとき、カウンタをクリアしないで前記
選択値としてその時点で選択されている値より小さな値
を選択するようにセレクタを制御することを特徴とす
る。本発明に従えば、入力されるパルス信号が急激に減
少するような場合に、選択期間を長く切換えて、誤差の
増大を防ぐことができる。
The present invention further comprises an input detecting means for detecting the presence / absence of an input pulse signal, and the comparing means responds to the output from the input detecting means, and the counter is cleared by the select signal from the selector. When the pulse signal is not input up to, the selector is controlled so as to select a value smaller than the value selected at that time as the selection value without clearing the counter. According to the present invention, when the input pulse signal sharply decreases, the selection period can be switched to a long time to prevent an increase in error.

【0012】また本発明で前記比較手段は、カウンタか
らの信号に応答し、セレクタからのセレクト信号によっ
てカウンタがクリアされるまでの計数値が予め定める基
準値以下であるとき、カウンタをクリアしないで前記選
択値としてその時点で選択されている値より小さな値を
選択するようにセレクタを制御することを特徴とする。
本発明に従えば、カウンタが計数する入力信号のパルス
数が小さいときには、計数期間を除算する選択値が小さ
くなるように選択し、カウンタの計数値をそのまま利用
してパルスの計数を続けるので、改めて計数を開始する
場合に比較して、入力信号のパルス数が減少する方向に
変化するときの応答性を改善することができる。
In the present invention, the comparison means does not clear the counter when the count value until the counter is cleared by the select signal from the selector in response to the signal from the counter is less than a predetermined reference value. The selector is controlled so as to select a value smaller than the value selected at that time as the selected value.
According to the present invention, when the number of pulses of the input signal counted by the counter is small, the selection value for dividing the counting period is selected to be small, and the count value of the counter is used as it is to continue counting pulses. It is possible to improve the responsiveness when the number of pulses of the input signal changes in the decreasing direction, as compared with the case of starting counting again.

【0013】また本発明で前記セレクタは、初期状態で
最大の整数を選択することを特徴とする。本発明に従え
ば、初期状態ではセレクタによって最大の整数が選択さ
れるので、計数開始時に高周波の入力信号が入力されて
も充分に追従することができ、応答性を改善することが
できる。
Further, according to the present invention, the selector selects the maximum integer in the initial state. According to the present invention, since the maximum integer is selected by the selector in the initial state, it is possible to sufficiently follow up even if a high frequency input signal is input at the start of counting, and it is possible to improve responsiveness.

【0014】また本発明で前記比較手段は、カウンタか
らの信号に応答し、セレクタからのセレクト信号によっ
てカウンタがクリアされるまでの計数値が予め定める基
準値以上であるとき、前記選択値としてその時点で選択
されている値より大きな値を選択するようにセレクタを
制御することを特徴とする。本発明に従えば、入力信号
の周波数が急激に上昇するような、パルス数が急増する
場合に、カウンタがクリアされるまでの計数値は予め定
める基準値以上となるので、比較手段はセレクタを制御
し、その時点で選択されている値より大きな整数値を選
択させる。これによって、周波数の急上昇時などの追従
性を改善し、応答性を向上させることができる。
Further, in the present invention, the comparison means responds to a signal from the counter, and when the count value until the counter is cleared by the select signal from the selector is equal to or more than a predetermined reference value, the comparison value is set as the selected value. The selector is controlled so as to select a value larger than the value selected at the time point. According to the present invention, when the number of pulses sharply increases such that the frequency of the input signal sharply increases, the count value until the counter is cleared becomes equal to or greater than a predetermined reference value. Control and select an integer value greater than the value currently selected. As a result, it is possible to improve the follow-up property when the frequency suddenly rises and improve the responsiveness.

【0015】また本発明で前記セレクタは、初期状態で
最小の整数値を選択することを特徴とする。本発明に従
えば、初期状態ではセレクタによって選択される選択値
は最小の整数であるので、パルス信号の周期が長い周波
数の低い入力信号に対して充分な選択期間を設定し、正
確な計数を行うことができる。入力パルス数が大きいと
きには、セレクタで選択される選択値が大きくなるの
で、高周波側への追従性を向上させることができる。
In the present invention, the selector selects the smallest integer value in the initial state. According to the present invention, since the selection value selected by the selector is the smallest integer in the initial state, a sufficient selection period is set for an input signal having a long frequency of a pulse signal and a low frequency, and accurate counting is performed. It can be carried out. When the number of input pulses is large, the selection value selected by the selector becomes large, so that it is possible to improve the followability to the high frequency side.

【0016】さらに本発明は、入力されるパルス信号の
数を計数し、パルス計数値を表す信号を導出するパルス
計数回路であって、計数期間が設定され、計数期間毎に
クロック信号を導出する複数個のタイマであって、各タ
イマはその個数で計数期間を除算した値に対応する分割
周期ずつずれた時点毎にクロック信号を導出するタイマ
と、各タイマ毎に設けられ、各タイマからのクロック信
号によってクリアされ、入力されるパルス信号を計数
し、計数値を表す信号を導出し、前記複数個設けられる
カウンタと、各タイマおよび各カウンタからの信号に応
答し、前記分割周期毎にその時点で計数値がクリアされ
るカウンタからの計数値を記憶し、記憶値をパルス計数
値として表す信号を導出するラッチ手段とを含むことを
特徴とするパルス計数回路である。本発明に従えば、タ
イマおよびカウンタをそれぞれ1つずつ含む複数組によ
って、同一の長さで異なるタイミングの計数期間で入力
信号を計数し、ラッチ手段が順次ラッチする。入力信号
の計数およびラッチのタイミングが各組で異なるので、
ラッチ手段は、分割期間毎に異なるカウンタからの計数
値を計数に要する時間よりも短い時間間隔で得ることが
できる。
Further, the present invention is a pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, wherein a counting period is set and a clock signal is derived for each counting period. Of the plurality of timers, each timer derives a clock signal at each time point divided by a division cycle corresponding to a value obtained by dividing the counting period by the number of timers, and each timer is provided with each timer. A pulse signal that is cleared by a clock signal and is input is counted, a signal that represents the count value is derived, and in response to the plurality of counters, the timers, and the signals from the counters, the pulse counts are calculated for each division cycle. And a latch means for storing a count value from a counter whose count value is cleared at a time point and deriving a signal representing the stored value as a pulse count value. It is a circuit. According to the present invention, the plurality of sets each including one timer and one counter count the input signals in the counting periods of the same length and different timings, and the latch means sequentially latches the signals. Since the counting of input signals and the timing of latching are different for each set,
The latch means can obtain the count value from the different counter for each divided period at a time interval shorter than the time required for counting.

【0017】さらに本発明は、入力されるパルス信号の
数を計数し、パルス計数値を表す信号を導出するパルス
計数回路であって、計数期間が設定され、計数期間毎に
クロック信号を導出する複数個のタイマであって、各タ
イマはその個数で計数期間を除算した値に対応する分割
周期ずつずれた時点毎にクロック信号を導出するタイマ
と、各タイマ毎に設けられ、各タイマからのクロック信
号によってクリアされ、入力されるパルス信号を計数
し、計数値を表す信号を導出し、前記複数個設けられる
カウンタと、各タイマ毎に設けられ、各タイマからのク
ロック信号によってクリアされる直前のカウンタの計数
値を記憶し、記憶値を表す信号を導出するラッチと、各
ラッチおよび各タイマからの信号に応答し、前記分割周
期毎に組合わせを切換えながら、予め定める数のラッチ
からの計数値を平均し、平均値をパルス計数値として表
す信号を導出する平均演算手段とを含むことを特徴とす
るパルス計数回路である。本発明に従えば、タイマ、カ
ウンタおよびラッチをそれぞれ1つずつ含む複数の組合
わせを用い、各タイマから同一の計数周期で組合わせの
数である整数分の1の分割周期ずつずれたクロック信号
を導出し、各カウンタおよびラッチによるパルスの計数
を行う。平均演算手段は、分割周期毎に組合わせを切換
えながら予め定めるラッチからの計数値を平均し、平均
値をパルス計数値として表す信号を導出するので、入力
されるパルス信号にノイズやパルス抜けなどがあってカ
ウンタの計数値が大きく変動しても、最終的な平均演算
手段からのパルス計数値に対する誤差を減少させ、真の
入力信号に対する応答性を改善することができる。
Further, the present invention is a pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, wherein a counting period is set and a clock signal is derived for each counting period. Of the plurality of timers, each timer derives a clock signal at each time point divided by a division cycle corresponding to a value obtained by dividing the counting period by the number of timers, and each timer is provided with each timer. Immediately before being cleared by the clock signal from each timer, which is cleared by the clock signal, counts the input pulse signal, derives the signal indicating the count value, is provided for each of the plurality of counters and each timer The counter for storing the count value of the counter and deriving a signal representing the stored value, and in response to the signals from each latch and each timer, the combination is switched at each division cycle. For example, while a pulse counting circuit, which comprises an average calculating means for averaging the counts from the number of latches predetermined derives a signal representative of the average value as the pulse count. According to the present invention, a plurality of combinations each including one timer, one counter, and one latch are used, and clock signals deviated from each timer by a division cycle of an integer fraction, which is the number of combinations, in the same counting cycle. Is derived, and pulses are counted by each counter and latch. The averaging means averages the count values from a predetermined latch while switching the combination for each division cycle and derives a signal representing the average value as a pulse count value. Therefore, even if the count value of the counter fluctuates greatly, the error with respect to the pulse count value from the final averaging means can be reduced and the responsiveness to the true input signal can be improved.

【0018】さらにまた本発明は、以上の特徴を有する
パルス計数回路と、パルス計数回路からの信号に応答
し、パルス計数値をアナログ値に変換するD/A変換手
段とを含むことを特徴とするFV変換回路である。入力
信号の周波数をアナログ値に変換するFV変換回路に、
周波数の変化したときの応答性が改善されるパルス計数
回路からの計数値を変換したアナログ値を用いるので、
応答性の良好なFV変換回路を得ることができる。
Furthermore, the present invention is characterized by including a pulse counting circuit having the above characteristics, and D / A conversion means for responding to a signal from the pulse counting circuit and converting the pulse count value into an analog value. It is an FV conversion circuit. In the FV conversion circuit that converts the frequency of the input signal into an analog value,
Since the analog value obtained by converting the count value from the pulse counting circuit that improves the response when the frequency changes is used,
It is possible to obtain an FV conversion circuit having excellent responsiveness.

【0019】[0019]

【発明の実施の形態】図1は、本発明の実施の第1形態
の概略的な電気的構成を示す。パルス計数回路11は、
入力信号の周波数に対応するパルス数を計数し、パルス
計数値を表す信号をD/A変換回路12に与える。D/
A変換回路12は、入力されたパルス計数値を表すデジ
タル信号をアナログ信号に変換する。パルス計数回路1
1およびD/A変換回路12を含むFV変換回路13
は、入力信号の周波数を対応するアナログ信号、たとえ
ば周波数に比例する電圧レベルに変換する。入力信号は
波形整形回路14によって波形整形され、一定の振幅の
パルス波に変換される。計数期間はカウント期間設定用
タイマ15から導出されるクロック信号の周期によって
設定される。この計数期間内で、入力信号カウンタ16
が入力信号のパルス数をNビットのデジタル値として計
数し、計数値をラッチ17によって記憶して保持し、ラ
ッチ17が計数値を記録するタイミングと入力信号カウ
ンタ16をクリアするタイミングとを調整するために遅
延回路18が用いられる。コンパレータ19は、入力信
号カウンタ16の計数値とラッチ17の記憶値とを比較
し、小さくない方の値をパルス計数値として導出する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a schematic electrical configuration of a first embodiment of the present invention. The pulse counting circuit 11 is
The number of pulses corresponding to the frequency of the input signal is counted, and a signal representing the pulse count value is given to the D / A conversion circuit 12. D /
The A conversion circuit 12 converts the input digital signal representing the pulse count value into an analog signal. Pulse counting circuit 1
1 and FV conversion circuit 13 including D / A conversion circuit 12
Converts the frequency of the input signal into a corresponding analog signal, eg a voltage level proportional to the frequency. The input signal is waveform-shaped by the waveform shaping circuit 14 and converted into a pulse wave having a constant amplitude. The counting period is set by the cycle of the clock signal derived from the counting period setting timer 15. Within this counting period, the input signal counter 16
Counts the pulse number of the input signal as an N-bit digital value, stores and holds the counted value by the latch 17, and adjusts the timing at which the latch 17 records the counted value and the timing at which the input signal counter 16 is cleared. Therefore, the delay circuit 18 is used. The comparator 19 compares the count value of the input signal counter 16 with the stored value of the latch 17, and derives the value which is not smaller as the pulse count value.

【0020】図2は、図1のパルス計数回路11の動作
を示す。ステップa1から制御を開始し、ステップa2
では入力信号カウンタ16のカウント、すなわち計数動
作を開始する。ステップa3では、入力信号カウンタ1
6の計数値E1とラッチ17の記憶値E2との値を比較
する。E1の方がE2よりも大きければ、ステップa4
でセレクタ20が入力信号カウンタ16の計数値E1を
選択する。ステップa3でE1よりもE2の方が大きい
ときには、ステップa5でセレクタ20はラッチ17の
記憶値E2を選択する。次にステップa6では、カウン
ト期間が終了しているか否かが判断される。カウント期
間の終了はクロック信号の立上がりであるラッチタイミ
ングか否かで判断する。終了でないと判断されるときに
はステップa3に戻り、終了のときはステップa7に移
る。ステップa7では、入力信号カウンタ16の計数値
E1をラッチ17にラッチして記憶保持し、ラッチ17
の記憶値E2に対してそれまでの入力信号カウンタ16
の計数値E1を代入する。その後、ステップa8では入
力信号カウンタ16がクリアされ、ステップa2に戻
る。
FIG. 2 shows the operation of the pulse counting circuit 11 of FIG. Control is started from step a1 and then step a2
Then, the count of the input signal counter 16, that is, the counting operation is started. At step a3, the input signal counter 1
The count value E1 of 6 and the stored value E2 of the latch 17 are compared. If E1 is larger than E2, step a4
Then, the selector 20 selects the count value E1 of the input signal counter 16. When E2 is larger than E1 in step a3, the selector 20 selects the stored value E2 of the latch 17 in step a5. Next, in step a6, it is determined whether or not the counting period has ended. The end of the counting period is determined by whether or not the latch timing is the rising edge of the clock signal. When it is determined that the process is not completed, the process returns to step a3, and when it is completed, the process proceeds to step a7. At step a7, the count value E1 of the input signal counter 16 is latched in the latch 17 and stored and retained in the latch 17
Input signal counter 16 until the stored value E2 of
The count value E1 of is substituted. Then, in step a8, the input signal counter 16 is cleared, and the process returns to step a2.

【0021】図3は、図1のパルス計数回路の動作タイ
ミングを示す。カウント期間設定用タイマ回路15から
のクロック信号(B)は、計数期間T毎に導出される。
時刻t10からt11までの計数期間に、波形整形回路
14から入力信号カウンタ16のクロック入力CKに、
(D)に示すように4つのパルス信号が入力されると、
入力信号カウンタ16の計数値E1は増加し、ラッチ1
7の記憶値E2は初期値であるたとえば零のままであ
る。コンパレータ19の出力は、入力パルスが最初に与
えられる時刻t10a以降は、E1の方がE2よりも大
きいことを表すハイレベルとなる。次の計数期間が開始
される時刻t11では、入力信号カウンタ16はクリア
入力CLに遅延回路18からクリア信号が与えられるの
で計数値は零となる。一方ラッチ17には、クロック入
力CKにクロック信号が与えられて入力信号カウンタ1
6の計数値「4」を記憶するので、時刻t11からの計
数期間では「4」を計数値として保持する。時刻t11
からの計数期間では、入力信号カウンタ16の計数値は
時刻t11b以降ラッチ17の記憶値「4」よりも大き
くなる。このためコンパレータ19の出力(G)も時刻
t11b以降はハイレベルとなり、セレクタ20は入力
信号カウンタ16からの出力(E1)をパルス計数値と
して導出する。時刻t12以降の計数期間では、ラッチ
17には記憶値「7」が保持され、入力信号カウンタ1
6の計数値が7を超えるまではラッチ17の記憶値(E
2)がセレクタ20によって選択される。したがってセ
レクタ20によって選択され、D/A変換回路12に入
力されるパルス計数値(F)は、太線で示すような信号
となる。
FIG. 3 shows the operation timing of the pulse counting circuit of FIG. The clock signal (B) from the counting period setting timer circuit 15 is derived for each counting period T.
From the waveform shaping circuit 14 to the clock input CK of the input signal counter 16 during the counting period from time t10 to t11,
When four pulse signals are input as shown in (D),
The count value E1 of the input signal counter 16 increases and the latch 1
The stored value E2 of 7 remains the initial value, for example, zero. The output of the comparator 19 becomes a high level indicating that E1 is larger than E2 after time t10a when the input pulse is first applied. At time t11 when the next counting period starts, the input signal counter 16 receives the clear signal from the delay circuit 18 at the clear input CL, and the count value becomes zero. On the other hand, the latch 17 receives the clock signal at the clock input CK and receives the input signal counter 1
Since the count value "4" of 6 is stored, "4" is held as the count value in the counting period from time t11. Time t11
In the counting period from, the count value of the input signal counter 16 becomes larger than the stored value “4” of the latch 17 after the time t11b. Therefore, the output (G) of the comparator 19 also becomes high level after the time t11b, and the selector 20 derives the output (E1) from the input signal counter 16 as a pulse count value. In the counting period after time t12, the storage value “7” is held in the latch 17, and the input signal counter 1
Until the count value of 6 exceeds 7, the value stored in the latch 17 (E
2) is selected by the selector 20. Therefore, the pulse count value (F) selected by the selector 20 and input to the D / A conversion circuit 12 becomes a signal as indicated by a thick line.

【0022】図4は、本発明の実施の第2形態の概略的
な電気的構成を示す。本実施形態で第1実施形態に対応
する部分には同一の参照符を付し、説明を省略する。パ
ルス計数回路21とD/A変換回路12と比較手段22
は、FV変換回路23を構成する。パルス計数回路21
内には、セレクタ24、カウント期間設定回路25およ
び乗算回路26が含まれる。比較手段22内には、2つ
のコンパレータ27,28が含まれる。セレクタ24
は、カウント期間設定回路25から導出される計数期間
T、その1/2の分周期間T/2、およびそのさらに1
/2の分周期間T/4をそれぞれ表すクロック信号から
1つを選択し、(B)で示すセレクト信号としてラッチ
17および遅延回路18に与える。乗算回路26は、入
力信号カウンタ16の計数値nをα倍した乗算値P=n
×αを出力(E)として導出する。選択値である乗算値
αの値は、セレクタ24が選択するセレクト信号の表す
期間がT/αとなるように選択される。コンパレータ2
7,28は、ラッチ17の保持するデジタル記憶値P
を、第1の規定値R1および第2の規定値R2とそれぞ
れ比較し、比較結果を表す信号G1,G2をそれぞれセ
レクタ24および乗算回路26に与え、αの値の選択を
制御する。
FIG. 4 shows a schematic electrical configuration of the second embodiment of the present invention. In this embodiment, parts corresponding to those in the first embodiment are designated by the same reference numerals, and description thereof will be omitted. Pulse counting circuit 21, D / A conversion circuit 12, and comparison means 22
Constitute the FV conversion circuit 23. Pulse counting circuit 21
A selector 24, a count period setting circuit 25 and a multiplication circuit 26 are included in the inside. The comparator 22 includes two comparators 27 and 28. Selector 24
Is the counting period T derived from the counting period setting circuit 25, its half period T / 2, and further 1
One is selected from the clock signals respectively representing T / 4 during the divided period of / 2 and is given to the latch 17 and the delay circuit 18 as a select signal shown in (B). The multiplication circuit 26 has a multiplication value P = n obtained by multiplying the count value n of the input signal counter 16 by α.
Derive xα as the output (E). The value of the multiplication value α that is the selection value is selected so that the period represented by the selection signal selected by the selector 24 is T / α. Comparator 2
7, 28 are digital memory values P held by the latch 17.
Are respectively compared with the first prescribed value R1 and the second prescribed value R2, and signals G1 and G2 representing the comparison results are given to the selector 24 and the multiplication circuit 26, respectively, to control the selection of the value of α.

【0023】図5は、図4のパルス計数回路21および
比較手段22の動作を示す。ステップb1から動作を開
始し、ステップb2ではD/A変換回路12への入力値
Pと規定値R1,R2とを比較する。PがR1およびR
2よりも小さいときにはステップb3でカウント期間と
してt=Tが選択され、ステップb4で倍数αに1が設
定される。NがR1以上でR2よりも小さいときには、
ステップb5でカウント期間としてt=T/2が選択さ
れ、ステップb6で倍数αが2に設定される。NがR1
およびR2以上であるときには、ステップb7でカウン
ト期間としてt=T/4が選択され、ステップb8で倍
数α=4が設定される。次にステップb9で入力信号カ
ウンタ16のカウント値nが得られると、ステップb1
0で乗算回路26によってP=n×αの演算が行われ、
ステップb11でラッチ17にPの値が記憶される。ス
テップb12では入力信号カウンタ16がクリアされ、
ステップb2に戻る。
FIG. 5 shows the operation of the pulse counting circuit 21 and the comparing means 22 of FIG. The operation is started from step b1, and in step b2, the input value P to the D / A conversion circuit 12 is compared with the specified values R1 and R2. P is R1 and R
When it is smaller than 2, t = T is selected as the count period in step b3, and 1 is set to the multiple α in step b4. When N is greater than or equal to R1 and less than R2,
In step b5, t = T / 2 is selected as the count period, and in step b6, the multiple α is set to 2. N is R1
And R2 or more, t = T / 4 is selected as the count period in step b7, and the multiple α = 4 is set in step b8. Next, when the count value n of the input signal counter 16 is obtained in step b9, step b1
At 0, the multiplication circuit 26 calculates P = n × α,
At step b11, the value of P is stored in the latch 17. At step b12, the input signal counter 16 is cleared,
Return to step b2.

【0024】図6は、図4のパルス計数回路21の動作
タイミングを示す。(A)のリセット入力が立上がる
と、カウント期間設定回路25からは、3種類のクロッ
ク信号がT、T/2およびT/4の周期でそれぞれ導出
される。セレクタ24は、(B)に示すようにクロック
信号を選択し、(D)で示すような入力信号を入力信号
カウンタ16によって計数させる。最初の計数期間では
ラッチ17の出力(F)は零であり、コンパレータ2
7,28の出力(G1),(G2)も零であるので、ク
ロック信号Tおよび倍数α=1がそれぞれ選択される。
基準値R1=8、基準値R2=16であれば、次のクロ
ック信号はT/2が選択され,倍数α=2となる。さら
に次のクロック信号はT/4が選択され、倍数α=4と
なる。その期間では入力信号(D)のパルス数が少なく
なるので、次の計数期間ではクロック信号T/2に戻
り、倍数α=2が設定される。
FIG. 6 shows the operation timing of the pulse counting circuit 21 of FIG. When the reset input of (A) rises, three clock signals of three types are derived from the count period setting circuit 25 in the cycles of T, T / 2, and T / 4, respectively. The selector 24 selects the clock signal as shown in (B) and causes the input signal counter 16 to count the input signal as shown in (D). In the first counting period, the output (F) of the latch 17 is zero, and the comparator 2
Since the outputs (G1) and (G2) of 7, 28 are also zero, the clock signal T and the multiple α = 1 are selected, respectively.
If the reference value R1 = 8 and the reference value R2 = 16, T / 2 is selected as the next clock signal, and the multiple α = 2. Further, T / 4 is selected as the next clock signal, and the multiple α = 4. Since the number of pulses of the input signal (D) decreases in that period, it returns to the clock signal T / 2 in the next counting period, and the multiple α = 2 is set.

【0025】図7は、本発明の実施の第3形態の電気的
構成を示す。本実施形態で、第1および第2実施形態に
対応する部分には同一の参照符を付し、説明を省略す
る。パルス計数回路21内のセレクタ24および乗算回
路26における選択は、比較手段30内のアナログのコ
ンパレータ31,32からの出力(G1),(G2)に
よって行われる。コンパレータ31,32に入力される
信号は、D/A変換回路12からのアナログ信号であ
る。コンパレータ31,32は、第1および第2の基準
値に対応する基準電圧V1,V2とD/A変換回路12
のアナログ出力とを比較し、比較結果に従って第2実施
形態と同様の切換えを行う。この第3実施形態の動作
は、第2実施形態の動作と同様である。
FIG. 7 shows the electrical construction of the third embodiment of the present invention. In the present embodiment, parts corresponding to those in the first and second embodiments are designated by the same reference numerals, and description thereof will be omitted. The selection in the selector 24 and the multiplication circuit 26 in the pulse counting circuit 21 is performed by the outputs (G1) and (G2) from the analog comparators 31 and 32 in the comparison means 30. The signals input to the comparators 31 and 32 are analog signals from the D / A conversion circuit 12. The comparators 31 and 32 include reference voltages V1 and V2 corresponding to the first and second reference values and the D / A conversion circuit 12 respectively.
The analog output of the second embodiment is compared, and the same switching as in the second embodiment is performed according to the comparison result. The operation of the third embodiment is similar to the operation of the second embodiment.

【0026】図8は、本発明の実施の第4形態の概略的
な電気的構成を示す。本実施形態で第1〜第3実施形態
に対応する部分には同一の参照符号を付し説明を省略す
る。本実施形態では、比較手段40、パルス計数回路4
1、入力信号検知回路42およびD/A変換回路12を
含んでFV変換回路43が構成される。パルス計数回路
41内には、セレクタ24および入力信号検知回路42
からの出力に応答するANDゲート44が含まれる。比
較手段40内には、セレクタ24および入力信号検知回
路42からの出力に応答する演算用信号生成回路45、
およびコンパレータ27,28からの出力に応答する演
算回路46が含まれる。
FIG. 8 shows a schematic electrical configuration of a fourth embodiment of the present invention. In the present embodiment, parts corresponding to those in the first to third embodiments are designated by the same reference numerals, and description thereof will be omitted. In the present embodiment, the comparison means 40 and the pulse counting circuit 4
1, the FV conversion circuit 43 is configured to include the input signal detection circuit 42 and the D / A conversion circuit 12. The pulse counting circuit 41 includes a selector 24 and an input signal detecting circuit 42.
An AND gate 44 responsive to the output from is included. In the comparison means 40, a calculation signal generation circuit 45 responsive to the outputs from the selector 24 and the input signal detection circuit 42,
And an arithmetic circuit 46 responsive to the outputs from the comparators 27, 28.

【0027】入力信号検出回路42内には、カウンタ4
7およびコンパレータ48が含まれる。コンパレータ4
8は、カウンタ47の計数値niと予め設定される設定
値mとを比較し、比較結果を表す信号を導出する。
A counter 4 is provided in the input signal detection circuit 42.
7 and comparator 48 are included. Comparator 4
Reference numeral 8 compares the count value ni of the counter 47 with a preset setting value m, and derives a signal representing the comparison result.

【0028】図9は、図8の比較手段40、パルス計数
回路41および入力信号検知回路42の動作を示す。ス
テップc1から動作を開始し、ステップc2からステッ
プc8までは図5のステップb2からステップb8まで
の各ステップの動作とそれぞれ同様である。ステップc
9では、入力信号検知回路42内のカウンタ47のカウ
ント値niを検出する。ステップc10では、入力信号
検知回路42内のコンパレータ48が、カウント値ni
と設定値mとを比較する。niがmより大きいときに
は、ステップc11からステップc13で、図5のステ
ップb10からステップb12までの各ステップとそれ
ぞれ同様の動作を行う。ステップc10でカウント値n
iが設定値m以下であると判断されるときには、ステッ
プc14でカウント期間tがTに等しいか否かを判断す
る。等しいときには、それ以上カウント期間を長くする
ことができないのでステップc11に移る。ステップc
14でカウント期間tがTに等しくないときには、ステ
ップc15でカウント期間tを2倍し、ステップc16
で倍数αの値を1/2にし、ステップc9に戻る。入力
信号検知回路42内のカウンタ47は、設定値mが零で
あるときには入力信号の有無を判断するだけでよく、フ
リップフロップなどに置き換えて回路構成を簡略化する
ことができる。またカウンタ47の代わりに入力信号カ
ウンタ16からの計数値を比較するようにすることもで
きる。
FIG. 9 shows the operations of the comparing means 40, the pulse counting circuit 41 and the input signal detecting circuit 42 shown in FIG. The operation starts from step c1 and steps c2 to c8 are the same as the operations of the steps b2 to b8 in FIG. 5, respectively. Step c
At 9, the count value ni of the counter 47 in the input signal detection circuit 42 is detected. At step c10, the comparator 48 in the input signal detection circuit 42 makes the count value ni
And the set value m are compared. When ni is larger than m, operations similar to those in steps b10 to b12 in FIG. 5 are performed in steps c11 to c13. Count value n in step c10
When i is determined to be equal to or smaller than the set value m, it is determined in step c14 whether the count period t is equal to T or not. If they are equal, the counting period cannot be lengthened any further, and therefore the process proceeds to step c11. Step c
When the count period t is not equal to T in 14, the count period t is doubled in Step c15, and Step c16
The value of the multiple α is halved, and the process returns to step c9. The counter 47 in the input signal detection circuit 42 only needs to determine the presence or absence of an input signal when the set value m is zero, and can be replaced with a flip-flop or the like to simplify the circuit configuration. Further, instead of the counter 47, the count value from the input signal counter 16 may be compared.

【0029】図10は、図8の比較手段40およびパル
ス計数回路41の動作タイミングを示す。カウント期間
設定回路25からは、(A)のリセット信号が立上がっ
た後、T、T/2およびT/4の3種類のクロック信号
が導出される。セレクタ24によって(B)に示すよう
なクロック信号が選択され、セレクト信号としてAND
ゲート44を介してラッチ17および遅延回路18に与
えられる。(D)の入力信号が途切れる期間には入力信
号検知回路42からの出力はローレベルのままであり、
クロック信号がラッチ17および遅延回路18に与えら
れない一方、演算用信号生成回路45からは2ビットの
出力(G3)が導出される。コンパレータ27,28か
らの出力(g1),(g2)は図4のコンパレータ2
7,28からの(G1),(G2)と同様に導出される
けれども、演算回路42からセレクタ24および乗算回
路26に与えられる出力(G1),(G2)は演算用信
号生成回路45からの出力(G3)が導出された後、α
の値を大きくし、カウント期間tの時間が長くなるよう
に変化させる。
FIG. 10 shows operation timings of the comparing means 40 and the pulse counting circuit 41 of FIG. From the count period setting circuit 25, three types of clock signals T, T / 2 and T / 4 are derived after the reset signal (A) rises. A clock signal as shown in (B) is selected by the selector 24, and is ANDed as a select signal.
It is applied to the latch 17 and the delay circuit 18 via the gate 44. During the period when the input signal of (D) is interrupted, the output from the input signal detection circuit 42 remains at the low level,
While the clock signal is not given to the latch 17 and the delay circuit 18, a 2-bit output (G3) is derived from the arithmetic signal generation circuit 45. The outputs (g1) and (g2) from the comparators 27 and 28 are the comparator 2 of FIG.
Outputs (G1) and (G2) given from the arithmetic circuit 42 to the selector 24 and the multiplication circuit 26 are derived from the arithmetic signal generation circuit 45, though they are derived in the same manner as (G1) and (G2) from 7 and 28. After the output (G3) is derived, α
Is increased and the count period t is changed to be longer.

【0030】図11は、本発明の実施の第5形態の部分
的構成を示す。本実施形態の他の部分は、図8に示す実
施形態と同一である。初期状態設定回路50の出力をO
Rゲート(ANDゲートでも可。ただし、そのときは
(g1),(g2)の論理は逆)51,52に与え、コ
ンパレータ27,28の出力(g1),(g2)を、初
期状態には強制的に一定の値に変換し、演算回路46に
与える。
FIG. 11 shows a partial structure of a fifth embodiment of the present invention. The other parts of this embodiment are the same as those of the embodiment shown in FIG. The output of the initial state setting circuit 50 is set to O
An R gate (AND gate is also possible, but in that case, the logics of (g1) and (g2) are reversed) 51 and 52, and the outputs (g1) and (g2) of the comparators 27 and 28 are set to the initial state. It is forcibly converted to a constant value and given to the arithmetic circuit 46.

【0031】図12は、本発明の実施の第6形態の部分
的な構成を示す。他の部分の構成は図4と同様である。
コンパレータ55は、入力信号カウンタ16の計数値を
予め設定される設定値bと比較し、図9のステップc7
から動作を開始させる。出力(g1),(g2)とし
て、図7に示すようなアナログのコンパレータ31,3
2からの出力を用いることもできる。
FIG. 12 shows a partial structure of the sixth embodiment of the present invention. The configuration of other parts is similar to that of FIG.
The comparator 55 compares the count value of the input signal counter 16 with a preset value b set in advance, and executes step c7 of FIG.
To start the operation. As outputs (g1) and (g2), analog comparators 31 and 3 as shown in FIG.
The output from 2 can also be used.

【0032】また本発明の実施の第7形態として、図1
2の構成を用い、図13に示すような動作を行わせるこ
ともできる。図13のステップd1からステップd9ま
では、図5のステップb1からステップb9までの各ス
テップとそれぞれ同様である。ステップd10では、入
力信号カウンタ16のカウント値nが設定値bより小さ
いか否かを判断する。小さくないと判断されるときに
は、ステップd11でカウント期間tを1/2にし、ス
テップd2で倍数αを2倍にし、ステップd9に戻る。
ステップd10でnがbよりも小さいと判断されるとき
には、ステップd13からステップd15まで、図5の
ステップb10からステップb12までの各ステップと
それぞれ同様の動作を行う。
As a seventh embodiment of the present invention, FIG.
It is also possible to perform the operation as shown in FIG. 13 by using the configuration of No. 2. Steps d1 to d9 in FIG. 13 are the same as the steps b1 to b9 in FIG. 5, respectively. In step d10, it is determined whether the count value n of the input signal counter 16 is smaller than the set value b. When it is determined that it is not smaller, the count period t is halved in step d11, the multiple α is doubled in step d2, and the process returns to step d9.
When it is determined in step d10 that n is smaller than b, the same operations as steps d13 to d15 and steps b10 to b12 in FIG. 5 are performed.

【0033】図14は、本発明の実施の第8形態の電気
的構成を示す。パルス計数回路100にはシフトレジス
タ101およびセレクタ102が含まれ、D/A変換回
路12とともにFV変換回路103を構成する。パルス
計数回路100内には、さらに最初のエッジ検出回路1
04,114,124、カウント期間タイマカウンタ1
05,115,125,135、入力信号カウンタ10
6,116,126,136、ラッチ107,117,
127,137、遅延回路108,118,128,1
38、ANDゲート113,123,133が含まれ
る。
FIG. 14 shows the electrical construction of the eighth embodiment of the present invention. The pulse counting circuit 100 includes a shift register 101 and a selector 102, and constitutes an FV conversion circuit 103 together with the D / A conversion circuit 12. In the pulse counting circuit 100, the first edge detection circuit 1
04, 114, 124, counting period timer counter 1
05, 115, 125, 135, input signal counter 10
6, 116, 126, 136, latches 107, 117,
127, 137, delay circuits 108, 118, 128, 1
38, and AND gates 113, 123, 133.

【0034】図15は、図14の構成の動作を示す。ス
テップe1から制御を開始し、ステップe2ではで示
すカウント期間タイマカウンタ105によるカウントを
開始する。ステップe3ではT/kの時間が経過したか
否かを判断する。本実施形態では、組合わせの数k=4
の場合を想定して説明する。T/kの時間が経過した後
は、ステップe4でのカウント期間タイマカウンタ1
15のカウントを開始する。ステップe5では、2T/
kの時間が経過したか否かを判断する。以下同様に繰返
し、ステップe6でk番目、すなわち4番目のカウント
期間タイマカウンタ135のカウント開始を行い、ステ
ップe7でkT/k時間、すなわちT時間経過したか否
かを判断する。T時間が経過すると、ステップe8で、
の入力信号カウンタ106のカウント値をラッチ10
7に記憶させる。ステップe9では(k+1)T/k時
間が経過したか否かを判断する。その時間が経過すると
ステップe10でセレクタ102からの出力(F)を
の入力信号カウンタ116からの計数値をラッチしたラ
ッチ117からの出力に変更する。以下ステップe11
までにk回の切換えを行い、再びのラッチ107から
の出力を導出するように変更し、ステップe8に戻る。
FIG. 15 shows the operation of the configuration of FIG. Control is started from step e1, and in step e2, the count period timer counter 105 starts counting. In step e3, it is determined whether the time T / k has elapsed. In this embodiment, the number of combinations k = 4
The description will be made assuming the case. After the time T / k has elapsed, the count period timer counter 1 at step e4
Start counting fifteen. At step e5, 2T /
It is determined whether or not the time of k has elapsed. The same procedure is repeated thereafter, and the counting of the k-th, that is, the fourth counting period timer counter 135 is started in step e6, and it is determined in step e7 whether kT / k time, that is, T time has elapsed. When T time has elapsed, in step e8,
Latches the count value of the input signal counter 106 of
Store in 7. In step e9, it is determined whether (k + 1) T / k time has elapsed. When that time elapses, the output (F) from the selector 102 is changed to the output from the latch 117 which latches the count value from the input signal counter 116 in step e10. Step e11 below
Up to k times, the output from the latch 107 is again derived, and the process returns to step e8.

【0035】図16は、図14の回路の動作波形を示
す。各カウント期間タイマカウンタ105,115,1
25,135からの出力(B1),(B2),(B
3),(B4)は、分割された期間毎にずれてTずつの
カウント期間を表すタイマ信号を導出する。各タイマ信
号の最初のエッジを最初のエッジ検出回路104,11
4,124で検出し、ANDゲート113,123,1
33を介してカウント期間タイマカウンタ115,12
5,135をそれぞれリセットし、カウント期間をずら
した計数を行う。各カウント期間タイマカウンタ10
5,115,125,135からの出力をシフトレジス
タ101を介してセレクタ102に与え、カウント期間
をずらした計数値Y1,Y2,Y3,Y4をセレクタ1
02で切換えることによって、その出力(F)は入力信
号(D)の変化に対応し、計数期間Tよりも短い期間で
応答することができる。
FIG. 16 shows operation waveforms of the circuit of FIG. Each counting period timer counter 105, 115, 1
25, 135 outputs (B1), (B2), (B
3) and (B4) derive the timer signal that represents the count period of T by shifting for each divided period. The first edge of each timer signal is set to the first edge detection circuit 104, 11
AND gate 113, 123, 1
Counting period timer counters 115, 12
5, 135 are respectively reset, and counting is performed with the counting period shifted. Each count period timer counter 10
The outputs from 5, 115, 125, and 135 are given to the selector 102 via the shift register 101, and the count values Y1, Y2, Y3, and Y4 obtained by shifting the count period are selected by the selector 1
By switching at 02, the output (F) corresponds to the change of the input signal (D) and can respond in a period shorter than the counting period T.

【0036】図17は、本発明の実施の第9形態の部分
的な構成を示す。本実施形態の残余の部分の構成は図1
4と同様である。平均演算手段200内には、加算回路
201,211,221,231および除算回路20
2,212,222,232がそれぞれ設けられる。シ
フトレジスタ101からの出力に応答するリセット解除
後5T/4経過検知回路240もセレクタ102との間
に付加される。
FIG. 17 shows a partial structure of the ninth embodiment of the present invention. The configuration of the remaining part of this embodiment is shown in FIG.
Same as 4. In the averaging means 200, the adder circuits 201, 211, 221, 231 and the divider circuit 20 are included.
2, 212, 222, and 232 are provided, respectively. The 5T / 4 progress detection circuit 240 after reset release in response to the output from the shift register 101 is also added between the selector 102 and the circuit.

【0037】図18は本実施形態の動作を示す。ステッ
プf1から動作を開始し、ステップf2ではのカウン
ト期間タイマカウンタ105のカウントを開始する。ス
テップf3でT/k時間経過すると判断されるときに
は、ステップf4でのカウント期間タイマカウンタ1
15のカウントを開始する。ステップf5では2T/k
経過したか否かを判断し、次のカウント期間タイマカウ
ンタのカウントを開始させる。以下同様に順次T/k時
間毎に次のカウント期間タイマカウンタのカウントを開
始させ、ステップf6で最後のk番目のカウント期間タ
イマカウンタ135のカウントを開始させる。ステップ
f7では、(k+1)T/kの時間が経過したか否かを
判断する。経過するとステップf8に移り、の入力信
号カウンタ106の出力をラッチ107に記憶させる。
ステップf9では、リセット解除後5T/4経過検知回
路240を作動させ、ステップf10でセレクタ102
を切換え、ラッチ117からの出力Y2を導出させる。
ステップf11では(k+2)T/k経過したか否かを
判断する。経過したと判断されるときにはステップf1
2でセレクタ102からラッチ127からの出力Y3を
導出させる。以下T/k時間毎にセレクタ102の切換
えを行い、ステップf13でステップf7〜ステップf
11までのパラメータkにk+kを代入した後、ステッ
プf7に戻る。
FIG. 18 shows the operation of this embodiment. The operation starts from step f1 and the count period timer counter 105 starts counting in step f2. When it is determined in step f3 that T / k time has elapsed, the counting period timer counter 1 in step f4
Start counting fifteen. 2T / k at step f5
It is determined whether or not the time has elapsed, and the count of the next count period timer counter is started. Similarly, the count of the next count period timer counter is sequentially started every T / k time, and the count of the last k-th count period timer counter 135 is started in step f6. In step f7, it is determined whether or not the time of (k + 1) T / k has elapsed. When the time has passed, the process proceeds to step f8, and the output of the input signal counter 106 is stored in the latch 107.
In step f9, the 5T / 4 progress detection circuit 240 is activated after reset release, and in step f10, the selector 102 is activated.
To output the output Y2 from the latch 117.
In step f11, it is determined whether (k + 2) T / k has elapsed. When it is determined that the time has passed, step f1
At 2, the selector 102 outputs the output Y3 from the latch 127. Thereafter, the selector 102 is switched at every T / k time, and at step f13, steps f7 to f
After substituting k + k for the parameters k up to 11, the process returns to step f7.

【0038】図19は、図17の実施形態の動作を示
す。リセット後5T/4時間経過後からセレクタ102
の出力(F)が導出され、加算回路と除算回路で平均化
された出力が得られる。各加算回路201,211,2
21,231は2つのラッチ137,107;107,
117;117,127;127,137からの出力を
加算し、後続する除算回路202,212,222,2
32で2分の1の平均値を算出しているけれども、より
多くの数を平均することもできる。
FIG. 19 shows the operation of the embodiment of FIG. Selector 102 from 5T / 4 hours after reset
(F) is derived, and an averaged output is obtained by the adder circuit and the divider circuit. Each addition circuit 201,211,2
21, 231 are two latches 137, 107; 107,
117; 117, 127; 127, 137 outputs are added, and subsequent division circuits 202, 212, 222, 2 are added.
Although the average value of 1/2 is calculated in 32, it is possible to average a larger number.

【0039】以上の各実施形態で、コンパレータの数お
よびカウント期間と倍数の設定値や組合わせの数および
kの数については代表的な例について説明してあるけれ
ども、他の値にすることも可能である。
In each of the above-described embodiments, a representative example has been described for the number of comparators, the count period and the set values of multiples, the number of combinations, and the number of k, but other values may be used. It is possible.

【0040】[0040]

【発明の効果】以上のように本発明によれば、カウンタ
の計数値とラッチの記憶値とを比較して小さくない方の
値をパルス計数値として導出するので、入力信号の急増
するときの追従性を改善し、応答性を向上させることが
できる。
As described above, according to the present invention, since the count value of the counter and the stored value of the latch are compared and the value which is not smaller is derived as the pulse count value, when the input signal suddenly increases. The followability can be improved and the responsiveness can be improved.

【0041】さらに本発明によれば、入力信号のパルス
数が急増するときにはカウンタで計数する期間を短縮す
ることができるので、応答性を向上させることができ
る。
Further, according to the present invention, since the period for counting by the counter can be shortened when the number of pulses of the input signal rapidly increases, the responsiveness can be improved.

【0042】また本発明によれば、入力信号のパルス数
の増大を出力されるパルス計数値を表す信号を変換した
アナログ信号のレベルで比較し、パルス数の増大時に応
答性を改善することができる。これによってFV変換回
路などで入力信号の周波数が急増するときの応答性を改
善することがでできる。
According to the present invention, the increase in the pulse number of the input signal is compared with the level of the converted analog signal of the signal representing the output pulse count value, and the response can be improved when the pulse number is increased. it can. This can improve the response when the frequency of the input signal sharply increases in the FV conversion circuit or the like.

【0043】また本発明によれば、入力されるパルス信
号が少なくなるときには、短い期間では入力信号が検出
されず、それまでの計数結果は次の計数にそのまま継続
し、計数期間を増大させて低周波側の応答性を改善する
ことができる。
Further, according to the present invention, when the input pulse signal becomes small, the input signal is not detected in a short period, the counting result up to that point is continued to the next counting as it is, and the counting period is increased. The response on the low frequency side can be improved.

【0044】また本発明によれば、短い計数期間ではカ
ウンタが予め定める基準値以下の計数値までしか計数し
ないような場合であっても、計数期間を増大させ周波数
の低くなる方への応答性を向上させることができる。
Further, according to the present invention, even in the case where the counter counts only up to the count value less than the predetermined reference value in the short count period, the responsiveness to the one in which the count period is increased and the frequency is lowered is obtained. Can be improved.

【0045】また本発明によれば、初期状態では計数期
間を分割する選択値が最大となるので、急に多くのパル
スが入力されても短時間でパルス計数値を導出し、応答
性を向上させることができる。
Further, according to the present invention, since the selection value for dividing the counting period is maximum in the initial state, the pulse count value is derived in a short time even if a large number of pulses are suddenly input, and the response is improved. Can be made.

【0046】本発明によれば、パルスの計数中に計数値
が予め定める基準値以上となるときには、セレクタによ
って選択される選択値をその時点で選択されている選択
値よりも大きくし、入力信号のパルス数が増大するとき
の応答性を向上させることができる。
According to the present invention, when the count value becomes equal to or larger than the predetermined reference value during counting of pulses, the selection value selected by the selector is made larger than the selection value selected at that time, and the input signal It is possible to improve the responsiveness when the number of pulses is increased.

【0047】また本発明によれば、セレクタは初期状態
では最小の整数を選択するので、始めに周波数の低い少
ない個数のパルス信号が入力されても充分な精度で計数
することができる。
Further, according to the present invention, since the selector selects the smallest integer in the initial state, it is possible to count with sufficient accuracy even if a small number of pulse signals having a low frequency are input at the beginning.

【0048】さらに本発明によれば、発生状態が変動し
ているようなパルス信号を、短期間にかつ精度よく計数
することができるので、応答性を向上させることができ
る。
Further, according to the present invention, since pulse signals whose generation state is fluctuating can be accurately counted in a short period of time, the responsiveness can be improved.

【0049】さらに本発明によれば、入力信号にノイズ
やパルス抜けなどがあっても平均演算手段からは異常の
少ないパルス計数値を表す信号を導出し、真の入力信号
に対する応答性を向上させることができる。
Further, according to the present invention, even if the input signal has noise or missing pulse, a signal representing a pulse count value with few abnormalities is derived from the averaging means to improve the responsiveness to the true input signal. be able to.

【0050】さらにまた本発明によれば、入力信号に対
する応答性を改善したFV変換回路を簡単な構成で得る
ことができる。
Furthermore, according to the present invention, it is possible to obtain an FV conversion circuit having an improved response to an input signal with a simple structure.

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

【図1】本発明の実施の第1形態の概略的な電気的構成
を示すブロック図である。
FIG. 1 is a block diagram showing a schematic electrical configuration of a first embodiment of the present invention.

【図2】図1の実施形態の動作を示すフローチャートで
ある。
FIG. 2 is a flowchart showing the operation of the embodiment of FIG.

【図3】図1の実施形態の動作を示すタイムチャートで
ある。
FIG. 3 is a time chart illustrating an operation of the embodiment of FIG. 1;

【図4】本発明の実施の第2形態の概略的な電気的構成
を示すブロック図である。
FIG. 4 is a block diagram showing a schematic electrical configuration of a second embodiment of the present invention.

【図5】図4の実施形態の動作を示すフローチャートで
ある。
FIG. 5 is a flowchart showing the operation of the embodiment of FIG. 4;

【図6】図4の実施形態の動作を示すタイムチャートで
ある。
FIG. 6 is a time chart showing the operation of the embodiment of FIG.

【図7】本発明の実施の第3形態の概略的な電気的構成
を示すブロック図である。
FIG. 7 is a block diagram showing a schematic electrical configuration of a third embodiment of the present invention.

【図8】本発明の実施の第4形態の概略的な電気的構成
を示すブロック図である。
FIG. 8 is a block diagram showing a schematic electrical configuration of a fourth embodiment of the present invention.

【図9】図8の実施形態の動作を示すフローチャートで
ある。
9 is a flowchart showing the operation of the embodiment of FIG.

【図10】図8の実施形態の動作を示すタイムチャート
である。
FIG. 10 is a time chart illustrating the operation of the embodiment in FIG. 8;

【図11】本発明の実施の第5形態の部分的な電気的構
成を示すブロック図である。
FIG. 11 is a block diagram showing a partial electrical configuration of a fifth embodiment of the present invention.

【図12】本発明の実施の第6形態の部分的な電気的構
成を示すブロック図である。
FIG. 12 is a block diagram showing a partial electrical configuration of a sixth embodiment of the present invention.

【図13】図12の実施形態の動作を示すフローチャー
トである。
13 is a flowchart showing the operation of the embodiment of FIG.

【図14】本発明の実施の第8形態の電気的構成を示す
ブロック図である。
FIG. 14 is a block diagram showing an electrical configuration of an eighth embodiment of the present invention.

【図15】図14の実施形態の動作を示すフローチャー
トである。
FIG. 15 is a flowchart showing the operation of the embodiment of FIG.

【図16】図4の実施形態の動作を示すタイムチャート
である。
16 is a time chart showing the operation of the embodiment of FIG.

【図17】本発明の実施の第9形態の部分的な電気的構
成を示すブロック図である。
FIG. 17 is a block diagram showing a partial electrical configuration of a ninth embodiment of the present invention.

【図18】図17の実施形態の動作を示すフローチャー
トである。
FIG. 18 is a flowchart showing the operation of the embodiment of FIG.

【図19】図17の実施形態の動作を示すタイムチャー
トである。
FIG. 19 is a time chart showing the operation of the embodiment of FIG.

【図20】先行技術の電気的構成を示すブロック図であ
る。
FIG. 20 is a block diagram showing an electrical configuration of a prior art.

【図21】図20の先行技術の動作を示すタイムチャー
トである。
FIG. 21 is a time chart showing the operation of the prior art of FIG. 20.

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

22,30,40 比較手段 11,21,41,100 パルス計数回路 12 D/A変換回路 13,23,33,43,103 FV変換回路 14 波形整形回路 15 カウント期間設定用タイマ 16,106,116,126,136 入力信号カウ
ンタ 17,107,117,127,137 ラッチ 19,27,28,31,32,48,55 コンパレ
ータ 24,102 セレクタ 25 カウント期間設定回路 42 入力信号検知回路 45 演算用信号生成回路 46 演算回路 50 初期状態設定回路 101 シフトレジスタ 104,114,124 最初のエッジ検出回路 105,115,125,135 カウント期間タイマ
カウンタ 200 平均演算手段 201,211,221,231 加算回路 202,212,222,232 除算回路
22, 30, 40 Comparison means 11, 21, 41, 100 Pulse counting circuit 12 D / A conversion circuit 13, 23, 33, 43, 103 FV conversion circuit 14 Waveform shaping circuit 15 Count period setting timer 16, 106, 116 , 126, 136 Input signal counter 17, 107, 117, 127, 137 Latch 19, 27, 28, 31, 32, 48, 55 Comparator 24, 102 Selector 25 Count period setting circuit 42 Input signal detection circuit 45 Calculation signal generation Circuit 46 Calculation circuit 50 Initial state setting circuit 101 Shift register 104, 114, 124 First edge detection circuit 105, 115, 125, 135 Count period timer counter 200 Average calculation means 201, 211, 221, 231 Adder circuit 202, 212, 222,232 division A road

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 入力されるパルス信号の数を計数し、パ
ルス計数値を表す信号を導出するパルス計数回路であっ
て、 計数期間が設定され、計数期間毎にクロック信号を導出
するタイマと、 タイマからのクロック信号によってクリアされ、入力さ
れるパルス信号を計数し、計数値を表す信号を導出する
カウンタと、 タイマからのクロック信号によってクリアされる直前の
カウンタの計数値を記憶し、記憶値を表す信号を導出す
るラッチと、 カウンタおよびラッチからの信号に応答し、計数値およ
び記憶値を比較し、小さくない方の値をパルス計数値と
して表す信号を導出する比較手段とを含むことを特徴と
するパルス計数回路。
1. A pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, the timer having a counting period set and deriving a clock signal for each counting period, The counter value that is cleared by the clock signal from the timer, counts the input pulse signal, and derives the signal that represents the count value, and the counter value immediately before being cleared by the clock signal from the timer are stored. And a comparator that is responsive to the signal from the counter and the latch to compare the count value and the stored value and to derive the signal that represents the lesser value as the pulse count value. Characteristic pulse counting circuit.
【請求項2】 入力されるパルス信号の数を計数し、パ
ルス計数値を表す信号を導出するパルス計数回路であっ
て、 計数期間が設定され、計数期間毎にクロック信号を導出
するタイマと、 タイマからのクロック信号に応答し、クロック信号の周
期に対応する計数期間を予め定める複数個の整数から選
択される1つの選択値で除算した値の選択期間毎にセレ
クト信号を導出するセレクタと、 セレクタからのセレクト信号によってクリアされ、入力
されるパルス信号を計数し、計数値を表す信号を導出す
るカウンタと、 カウンタからの信号に応答し、カウンタの計数値と前記
選択値とを乗算し、乗算値を表す信号を導出する乗算手
段と、 セレクタからのセレクト信号によってカウンタがクリア
される直前の乗算手段からの信号に応答し、乗算手段の
乗算値を記憶し、記憶値をパルス計数値として表す信号
を導出するラッチと、 ラッチからの信号に応答し、パルス計数値を予め設定さ
れる複数個の基準値と比較し、その結果に応じてセレク
タを制御する比較手段とを含むことを特徴とするパルス
計数回路。
2. A pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, comprising a timer having a counting period set and deriving a clock signal for each counting period, A selector that responds to the clock signal from the timer and derives a select signal for each selection period of a value obtained by dividing a counting period corresponding to the cycle of the clock signal by one selected value selected from a plurality of predetermined integers; A counter that is cleared by the select signal from the selector, counts the pulse signals that are input, and derives a signal representing the count value; and, in response to the signal from the counter, multiplies the count value of the counter by the selection value, In response to the signal from the multiplication means for deriving a signal representing the multiplication value and the multiplication means immediately before the counter is cleared by the select signal from the selector, The latch that stores the multiplication value of, and derives the signal that represents the stored value as the pulse count value, and the pulse count value that is responsive to the signal from the latch, compares the pulse count value with a plurality of preset reference values. A pulse counting circuit, comprising: a comparator that controls the selector according to the pulse counting circuit.
【請求項3】 前記比較手段は、ラッチからのパルス計
数値を表すデジタル信号を、アナログ信号に変換し、複
数個の基準値に対応する基準レベルと比較し、比較結果
に従って前記選択値の選択を行うようにセレクタを制御
することを特徴とする請求項2記載のパルス計数回路。
3. The comparing means converts a digital signal representing the pulse count value from the latch into an analog signal, compares it with a reference level corresponding to a plurality of reference values, and selects the selection value according to the comparison result. 3. The pulse counting circuit according to claim 2, wherein the selector is controlled so as to carry out.
【請求項4】 入力されるパルス信号の有無を検出する
入力検出手段を備え、前記比較手段は、入力検出手段か
らの出力に応答し、セレクタからのセレクト信号によっ
てカウンタがクリアされるまでにパルス信号が入力され
ないとき、カウンタをクリアしないで前記選択値として
その時点で選択されている値より小さな値を選択するよ
うにセレクタを制御することを特徴とする請求項2また
は3記載のパルス計数回路。
4. An input detection means for detecting the presence or absence of an input pulse signal is provided, and the comparison means responds to an output from the input detection means and outputs a pulse until the counter is cleared by a select signal from a selector. 4. The pulse counting circuit according to claim 2, wherein when the signal is not input, the selector is controlled so as to select a value smaller than the value currently selected as the selected value without clearing the counter. .
【請求項5】 前記比較手段は、カウンタからの信号に
応答し、セレクタからのセレクト信号によってカウンタ
がクリアされるまでの計数値が予め定める基準値以下で
あるとき、 カウンタをクリアしないで前記選択値としてその時点で
選択されている値より小さな値を選択するようにセレク
タを制御することを特徴とする請求項2または3記載の
パルス計数回路。
5. The comparing means responds to a signal from a counter, and when a count value until the counter is cleared by a select signal from a selector is equal to or less than a predetermined reference value, the selection is performed without clearing the counter. 4. The pulse counting circuit according to claim 2, wherein the selector is controlled so as to select a value smaller than a value selected at that time.
【請求項6】 前記セレクタは、初期状態で最大の整数
を選択することを特徴とする請求項2または3記載のパ
ルス計数回路。
6. The pulse counting circuit according to claim 2, wherein the selector selects the largest integer in the initial state.
【請求項7】 前記比較手段は、カウンタからの信号に
応答し、セレクタからのセレクト信号によってカウンタ
がクリアされるまでの計数値が予め定める基準値以上で
あるとき、前記選択値としてその時点で選択されている
値より大きな値を選択するようにセレクタを制御するこ
とを特徴とする請求項2または3記載のパルス計数回
路。
7. The comparing means is responsive to a signal from a counter, and when a count value until the counter is cleared by a select signal from a selector is equal to or greater than a predetermined reference value, the comparison value is set as the selection value at that time. 4. The pulse counting circuit according to claim 2, wherein the selector is controlled so as to select a value larger than the selected value.
【請求項8】 前記セレクタは、初期状態で最小の整数
値を選択することを特徴とする請求項7記載のパルス計
数回路。
8. The pulse counting circuit according to claim 7, wherein the selector selects a minimum integer value in an initial state.
【請求項9】 入力されるパルス信号の数を計数し、パ
ルス計数値を表す信号を導出するパルス計数回路であっ
て、 計数期間が設定され、計数期間毎にクロック信号を導出
する複数個のタイマであって、各タイマはその個数で計
数期間を除算した値に対応する分割周期ずつずれた時点
毎にクロック信号を導出するタイマと、 各タイマ毎に設けられ、各タイマからのクロック信号に
よってクリアされ、入力されるパルス信号を計数し、計
数値を表す信号を導出し、前記複数個設けられるカウン
タと、 各タイマおよび各カウンタからの信号に応答し、前記分
割周期毎にその時点で計数値がクリアされるカウンタか
らの計数値を記憶し、記憶値をパルス計数値として表す
信号を導出するラッチ手段とを含むことを特徴とするパ
ルス計数回路。
9. A pulse counting circuit for counting the number of input pulse signals and deriving a signal representing a pulse count value, wherein the pulse counting circuit has a plurality of counting periods and a clock signal is derived for each counting period. Each timer is a timer that derives a clock signal at each time point divided by a division cycle corresponding to a value obtained by dividing the counting period by the number of timers, and a timer that is provided for each timer and that uses the clock signal from each timer. The number of pulse signals that are cleared and input is counted, a signal that represents the count value is derived, and in response to the counters provided by the plurality of timers and the signals from the timers and the counters, the counting is performed at each point of time in each of the division cycles. A pulse counting circuit, comprising: latching means for storing a count value from a counter whose numerical value is cleared and deriving a signal representing the stored value as a pulse count value.
【請求項10】 入力されるパルス信号の数を計数し、
パルス計数値を表す信号を導出するパルス計数回路であ
って、 計数期間が設定され、計数期間毎にクロック信号を導出
する複数個のタイマであって、各タイマはその個数で計
数期間を除算した値に対応する分割周期ずつずれた時点
毎にクロック信号を導出するタイマと、 各タイマ毎に設けられ、各タイマからのクロック信号に
よってクリアされ、入力されるパルス信号を計数し、計
数値を表す信号を導出し、前記複数個設けられるカウン
タと、 各タイマ毎に設けられ、各タイマからのクロック信号に
よってクリアされる直前のカウンタの計数値を記憶し、
記憶値を表す信号を導出するラッチと、 各ラッチおよび各タイマからの信号に応答し、前記分割
周期毎に組合わせを切換えながら、予め定める数のラッ
チからの計数値を平均し、平均値をパルス計数値として
表す信号を導出する平均演算手段とを含むことを特徴と
するパルス計数回路。
10. The number of input pulse signals is counted,
A pulse counting circuit for deriving a signal representing a pulse count value, comprising a plurality of timers each having a counting period set and deriving a clock signal for each counting period, each timer dividing the counting period by its number. A timer that derives a clock signal at each time point that is shifted by a division cycle corresponding to the value, and a timer that is provided for each timer and that is cleared by the clock signal from each timer and that is input, is counted and the count value is displayed. A signal is derived, and the count value of the counter, which is provided for each of the plurality of timers and each timer, and immediately before being cleared by the clock signal from each timer, is stored,
Responsive to the signals from each latch and each timer that derives the signal representing the stored value, while switching the combination for each division cycle, average the count values from the predetermined number of latches, and calculate the average value. A pulse counting circuit comprising: an averaging means for deriving a signal represented as a pulse count value.
【請求項11】 請求項1〜10のいずれかに記載のパ
ルス計数回路と、 パルス計数回路からの信号に応答し、パルス計数値をア
ナログ値に変換するD/A変換手段とを含むことを特徴
とするFV変換回路。
11. A pulse counting circuit according to any one of claims 1 to 10, and D / A converting means for responding to a signal from the pulse counting circuit and converting the pulse counting value into an analog value. Characteristic FV conversion circuit.
JP34182995A 1995-12-27 1995-12-27 Pulse counting circuit and FV conversion circuit Expired - Lifetime JP3290061B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34182995A JP3290061B2 (en) 1995-12-27 1995-12-27 Pulse counting circuit and FV conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34182995A JP3290061B2 (en) 1995-12-27 1995-12-27 Pulse counting circuit and FV conversion circuit

Publications (2)

Publication Number Publication Date
JPH09178785A true JPH09178785A (en) 1997-07-11
JP3290061B2 JP3290061B2 (en) 2002-06-10

Family

ID=18349076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34182995A Expired - Lifetime JP3290061B2 (en) 1995-12-27 1995-12-27 Pulse counting circuit and FV conversion circuit

Country Status (1)

Country Link
JP (1) JP3290061B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102128981A (en) * 2010-12-29 2011-07-20 上海大学 Method for measuring pulse signal period
JP2012141313A (en) * 2008-04-07 2012-07-26 Seiko Epson Corp Frequency measurement device and measurement method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4871878A (en) * 1971-12-28 1973-09-28
JPS4940975A (en) * 1972-08-23 1974-04-17
JPS5039986A (en) * 1973-08-15 1975-04-12
JPS57211070A (en) * 1981-06-20 1982-12-24 Nippon Seiki Co Ltd Pulse counting device
JPS62155371U (en) * 1986-03-25 1987-10-02

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4871878A (en) * 1971-12-28 1973-09-28
JPS4940975A (en) * 1972-08-23 1974-04-17
JPS5039986A (en) * 1973-08-15 1975-04-12
JPS57211070A (en) * 1981-06-20 1982-12-24 Nippon Seiki Co Ltd Pulse counting device
JPS62155371U (en) * 1986-03-25 1987-10-02

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012141313A (en) * 2008-04-07 2012-07-26 Seiko Epson Corp Frequency measurement device and measurement method
CN102128981A (en) * 2010-12-29 2011-07-20 上海大学 Method for measuring pulse signal period

Also Published As

Publication number Publication date
JP3290061B2 (en) 2002-06-10

Similar Documents

Publication Publication Date Title
JPH06347569A (en) Frequency multiplier circuit and pulse time interval measuring device
JPH09178785A (en) Pulse counting circuit and fv conversion circuit
US6289072B1 (en) Near-zero speed estimation method for a pulse counting speed calculation
JP2637204B2 (en) Random pulse counter
US5742198A (en) Waveform shaping apparatus
CN110346625B (en) Trigger signal generation method of adjustable frequency divider
JPS6213016Y2 (en)
JPWO2011040592A1 (en) Frequency determination device, voltage comparison circuit, and frequency measurement device
JP3271323B2 (en) Time measurement circuit
JP3223884B2 (en) Duty ratio determination circuit and duty ratio determination method
KR100339009B1 (en) An apparatus &the method of signal analysis for microcomputer
SU957140A1 (en) Device for measuring soft magnetic material magnetic properties
JPH05180872A (en) Indicating instrument
SU959093A1 (en) Device for calculating mean value current evaluation
JPH05264316A (en) Flow detector
JP4048470B2 (en) Physical quantity measurement display method and measurement display apparatus
JPH06174769A (en) Device detecting pulse duty ratio of signal
JP2569071Y2 (en) Frequency voltage converter
RU1795379C (en) Method of determination of difference of phases on high frequency
JPH0642994A (en) Appliance discrimination
JPH08114632A (en) Noise filter
JP3102830B2 (en) Measurement data output method and measurement data output circuit
JPS648766B2 (en)
SU1483466A1 (en) Piecewise linear interpolator
SU1667171A1 (en) Device for determination of parameters of transient process

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011023

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020305

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130322

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130322

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140322

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140322

Year of fee payment: 12

EXPY Cancellation because of completion of term