JP2009088953A - Pulse input device - Google Patents

Pulse input device Download PDF

Info

Publication number
JP2009088953A
JP2009088953A JP2007255469A JP2007255469A JP2009088953A JP 2009088953 A JP2009088953 A JP 2009088953A JP 2007255469 A JP2007255469 A JP 2007255469A JP 2007255469 A JP2007255469 A JP 2007255469A JP 2009088953 A JP2009088953 A JP 2009088953A
Authority
JP
Japan
Prior art keywords
edge
pulse
timing
interval
signal
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
JP2007255469A
Other languages
Japanese (ja)
Other versions
JP5077815B2 (en
Inventor
Yukio Maniwa
幸雄 馬庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2007255469A priority Critical patent/JP5077815B2/en
Publication of JP2009088953A publication Critical patent/JP2009088953A/en
Application granted granted Critical
Publication of JP5077815B2 publication Critical patent/JP5077815B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To attain a pulse input device by which the optimal accuracy and the optimal response time can be obtained according to a frequency of an input signal. <P>SOLUTION: The pulse input device detects the input signal as a pulse signal and notifies a host system of the frequency of the pulse signal. The pulse input device is provided with: an edge count means for counting the number of pulses of the pulse signal for prescribed time in edge timing of a rising edge or a falling edge of the pulse signal to hold the number of pulses as an edge count value; an edge interval measurement means for measuring interval time with the previous edge timing in the edge timing, integrating the interval time for the prescribed time to hold the interval time as an edge interval value; and a frequency calculation means for dividing the edge count value by the edge interval value to calculate the frequency of the pulse signal. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、パルス入力装置に関し、特に高精度に入力信号の周波数を測定することができるパルス入力装置に関するものである。   The present invention relates to a pulse input device, and more particularly to a pulse input device capable of measuring the frequency of an input signal with high accuracy.

パルス入力装置は入力信号をパルス信号として検出し、パルス信号の周波数を演算処理装置等の上位システムに対して通知し、上位システムにおいてプロセスの制御や監視等の処理を行う。入力信号としては、正弦波、のこぎり波、方形波、パルス波等がある。   The pulse input device detects an input signal as a pulse signal, notifies the host system of the frequency of the pulse signal, and performs processing such as process control and monitoring in the host system. Examples of the input signal include a sine wave, a sawtooth wave, a square wave, and a pulse wave.

入力信号の周波数(F)は、一定時間(T)の間に検出されたパルス信号のパルス数(N)から、F=N/Tの演算を行うことにより導き出している。
この場合、入力信号の周波数(F)がサンプリング時間(T)に対して低い場合は、量子化誤差となってしまうため、あらかじめ入力信号に合わせてサンプリング時間(T)を調整しておく必要がある。
The frequency (F) of the input signal is derived by calculating F = N / T from the number of pulses (N) of the pulse signal detected during a certain time (T).
In this case, if the frequency (F) of the input signal is lower than the sampling time (T), a quantization error occurs. Therefore, it is necessary to adjust the sampling time (T) in advance according to the input signal. is there.

特開2006−140676号公報JP 2006-140676 A

高精度に入力信号の周波数を測定するにはサンプリング時間を長くすればよいが、精度をよくする分応答性が悪くなってしまう。
また、サンプリング時間より低い周波数の入力信号の場合、量子化誤差により正確な測定ができなくなってしまうため、測定可能な周波数レンジが制限されるという問題点があった。
In order to measure the frequency of the input signal with high accuracy, it is only necessary to lengthen the sampling time, but the responsiveness deteriorates as the accuracy is improved.
In addition, in the case of an input signal having a frequency lower than the sampling time, accurate measurement cannot be performed due to a quantization error, so that the measurable frequency range is limited.

本発明は上述した問題点を解決するためになされたものであり、入力信号の周波数に応じて最適な精度と応答時間を得ることができるパルス入力装置を実現することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to realize a pulse input device capable of obtaining optimum accuracy and response time according to the frequency of an input signal.

このような課題を達成するために、本発明は次のとおりの構成になっている。
(1)入力信号をパルス信号として検出し、該パルス信号の周波数を上位システムへ通知するパルス入力装置において、
前記パルス信号の立ち上がりエッジ又は立ち下がりエッジのエッジタイミングで前記パルス信号のパルス数を所定時間の間カウントし、エッジカウント値として保持するエッジカウント手段と、
前記エッジタイミングで、前回のエッジタイミングとの間隔時間を測定するとともに、前記所定時間の間の前記間隔時間を積算し、エッジ間隔値として保持するエッジ間隔測定手段と、
前記エッジカウント値を前記エッジ間隔値で除して前記パルス信号の周波数を算出する周波数算出手段と、
を有することを特徴とするパルス入力装置。
In order to achieve such a subject, the present invention is configured as follows.
(1) In a pulse input device that detects an input signal as a pulse signal and notifies the host system of the frequency of the pulse signal;
Edge count means for counting the number of pulses of the pulse signal for a predetermined time at the edge timing of the rising edge or falling edge of the pulse signal, and holding as an edge count value;
An edge interval measuring unit that measures an interval time with the previous edge timing at the edge timing, integrates the interval time between the predetermined times, and holds the interval time as an edge interval value;
Frequency calculating means for calculating the frequency of the pulse signal by dividing the edge count value by the edge interval value;
A pulse input device comprising:

(2)前記エッジカウント手段は、前記パルス信号の立ち上がりエッジ又は立ち下がりエッジのタイミングでエッジクロック信号を発生し、該エッジクロック信号のタイミングでエッジカウンタを順次カウントアップすることを特徴とする(1)記載のパルス入力装置。 (2) The edge counting means generates an edge clock signal at a timing of a rising edge or a falling edge of the pulse signal, and sequentially counts up an edge counter at the timing of the edge clock signal (1) ) The pulse input device described.

(3)前記エッジ間隔測定手段は、タイマークロック信号でカウント動作を行うタイマーのタイマー値を前記エッジクロック信号のタイミングで順次加算してインターバルレジスタに保持するとともに、前記エッジクロック信号のタイミングで前記タイマーのタイマー値をクリアすることを特徴とする(2)記載のパルス入力装置。 (3) The edge interval measuring means sequentially adds the timer values of the timer that performs the counting operation with the timer clock signal at the timing of the edge clock signal and holds them in the interval register, and at the timing of the edge clock signal, The pulse input device according to (2), wherein the timer value is cleared.

(4)前記周波数算出手段は、前記所定時間でタイミングパルスを発生するタイミング発生器を有し、該タイミングパルスで前記エッジカウト値及び前記エッジ間隔値を読み出して周波数演算を実行することを特徴とする(1)乃至(3)のいずれかに記載のパルス入力装置。 (4) The frequency calculation means includes a timing generator that generates a timing pulse at the predetermined time, and reads the edge count value and the edge interval value by the timing pulse to execute frequency calculation. The pulse input device according to any one of (1) to (3).

(5)前記周波数算出手段は、前記エッジカウント値が1以上であればパルス入力が確定したと判断して周波数演算を実行し、前記エッジカウント値が0であれば次回のタイミングパルスまで周波数演算を保留することを特徴とする(4)記載のパルス入力装置。 (5) If the edge count value is 1 or more, the frequency calculation means determines that the pulse input is confirmed and executes frequency calculation. If the edge count value is 0, the frequency calculation means calculates the frequency until the next timing pulse. (4) The pulse input device according to (4), wherein

(6)前記周波数算出手段は、周波数演算を実行時、前記タイミングパルスのタイミングで前記エッジカウンタ及び前記インターバルレジスタをリセットすることを特徴とする(4)又は(5)記載のパルス入力装置。 (6) The pulse input device according to (4) or (5), wherein the frequency calculation means resets the edge counter and the interval register at the timing of the timing pulse when performing frequency calculation.

本発明によれば次のような効果がある。
パルス信号のエッジでパルス数をカウントすると同時に、エッジ間の時間を計測し、これらから入力信号の周波数を算出するようにしたので、高精度な測定をすることができる。
また、入力信号の周波数が低い場合はサンプリング時間を自動的に調整することができ、入力信号に応じた最適な応答時間を確保することができる。
The present invention has the following effects.
Since the number of pulses is counted at the edge of the pulse signal and at the same time the time between the edges is measured and the frequency of the input signal is calculated from these, it is possible to measure with high accuracy.
Further, when the frequency of the input signal is low, the sampling time can be automatically adjusted, and an optimum response time according to the input signal can be ensured.

以下、図面を用いて本発明を詳細に説明する。
図1は本発明の一実施例を示す構成図である。
パルス入力装置は、正弦波、のこぎり波、方形波、パルス波等の入力信号をパルス信号として検出し、パルス信号の周波数を演算処理装置等の上位システムに対して通知し、上位システムにおいてプロセスの制御や監視等の処理を行う。
Hereinafter, the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing an embodiment of the present invention.
The pulse input device detects an input signal such as a sine wave, a sawtooth wave, a square wave, or a pulse wave as a pulse signal, notifies the host system of the frequency of the pulse signal, and processes the process in the host system Processes such as control and monitoring.

エッジカウント手段10は、サンプリング時間ごとのパルス信号のパルス数を測定する手段である。
パルス信号は、エッジカウント手段10に入力され、エッジ検出回路11でパルス信号の立ち上がりエッジ又は立ち下がりエッジのタイミングでエッジクロック信号が生成される。この例では、立ち上がりエッジを検出して動作するパルス入力装置について示している。
The edge count means 10 is means for measuring the number of pulses of the pulse signal for each sampling time.
The pulse signal is input to the edge counting means 10, and the edge detection circuit 11 generates an edge clock signal at the timing of the rising edge or falling edge of the pulse signal. In this example, a pulse input device that operates by detecting a rising edge is shown.

エッジ検出回路11で生成されたエッジクロック信号はエッジカウンタ12に入力される。エッジカウンタ12は、カウントアップカウンタであり、エッジクロック信号のタイミングで順次カウントアップすることで、パルス信号のパルス数を計測している。エッジカウンタ12は、カウンタ値(エッジカウント値)を保持する。また、リセット信号が入るとエッジカウント値を0にクリアする。   The edge clock signal generated by the edge detection circuit 11 is input to the edge counter 12. The edge counter 12 is a count-up counter, and measures the number of pulses of the pulse signal by sequentially counting up at the timing of the edge clock signal. The edge counter 12 holds a counter value (edge count value). When the reset signal is input, the edge count value is cleared to zero.

エッジ間隔測定手段20は、サンプリング時間ごとのパルス信号の立ち上がりエッジから立ち上がりエッジの間隔の和を測定する手段である。
タイマー21は、タイマークロック信号でカウント動作を行うフリーランニングタイマーであり、タイマー21のカウント値(タイマー値)とタイマークロック信号の周波数との関係から時間を求めることができる。タイマー21にはエッジ検出回路11で生成されたエッジクロック信号が入力されており、エッジクロック信号のタイミングでタイマー値が読み出されると同時に、タイマー値がクリアされる。これによりタイマー21は、エッジクロック信号から次のエッジクロック信号までの間の間隔時間を測定することができる。
The edge interval measuring means 20 is a means for measuring the sum of the intervals between the rising edges of the pulse signal for each sampling time.
The timer 21 is a free-running timer that performs a counting operation with a timer clock signal, and the time can be obtained from the relationship between the count value (timer value) of the timer 21 and the frequency of the timer clock signal. The edge clock signal generated by the edge detection circuit 11 is input to the timer 21, and the timer value is cleared at the same time as the timer value is read at the timing of the edge clock signal. Thereby, the timer 21 can measure the interval time from the edge clock signal to the next edge clock signal.

また、エッジクロック信号のタイミングでタイマー値をクリアせずに、エッジクロック信号のタイミングでタイマー21の前回値と今回値の差分を算出することにより、エッジクロック信号から次のエッジクロック信号までの間の間隔時間を測定するようにしてもよい。   Further, by calculating the difference between the previous value and the current value of the timer 21 at the timing of the edge clock signal without clearing the timer value at the timing of the edge clock signal, the interval between the edge clock signal and the next edge clock signal is calculated. The interval time may be measured.

インターバルレジスタ22は、パルス信号の立ち上がりエッジと立ち上がりエッジの間の間隔時間を順次積算したデータ(エッジ間隔値)を保持するレジスタである。インターバルレジスタ22にはエッジ検出回路11で生成されたエッジクロック信号が入力されており、エッジクロック信号のタイミングでレジスタ内に保持されているデータを読み出す。その際、同じエッジクロック信号のタイミングでタイマー12から読み出されたタイマー値を加算器23で加算し、その結果を再びインターバルレジスタ22に返し、レジスタのデータが更新される。また、リセット信号が入るとエッジ間隔値を0にクリアする。   The interval register 22 is a register that holds data (edge interval value) obtained by sequentially integrating the interval times between the rising edges of the pulse signal. The edge clock signal generated by the edge detection circuit 11 is input to the interval register 22, and data held in the register is read at the timing of the edge clock signal. At that time, the timer value read from the timer 12 at the same edge clock signal timing is added by the adder 23, the result is returned to the interval register 22 again, and the register data is updated. When the reset signal is input, the edge interval value is cleared to zero.

周波数算出手段30は、エッジカウト値とエッジ間隔値を読み出して周波数演算を実行する手段である。タイミング発生器31は任意にタイミングパルスの周期を設定することができ、この周期がパルス入力装置の更新周期(サンプリング時間)となる。サンプリング時間の値は、入力信号の周波数の更新スピード、入力応答性及び必要とされる精度との関係で決定される。   The frequency calculation unit 30 is a unit that reads out the edge count value and the edge interval value and executes frequency calculation. The timing generator 31 can arbitrarily set the timing pulse period, and this period becomes the update period (sampling time) of the pulse input device. The value of the sampling time is determined in relation to the update speed of the frequency of the input signal, the input response, and the required accuracy.

タイミング発生器31のタイミングパルスは信号抽出回路32,33のそれぞれの一方の入力端子に入力されている。信号抽出回路32の他方の入力端子にはインターバルレジスタ22に接続され、信号抽出回路33の他方の入力端子にはエッジカウンタ12に接続されている。これにより、タイミングパルスのタイミングごとに、インターバルレジスタ22からはエッジ間隔値(TIM)を読み出し、エッジカウンタ12からはエッジカウント値(CU)を読み出す。   The timing pulse of the timing generator 31 is input to one input terminal of each of the signal extraction circuits 32 and 33. The other input terminal of the signal extraction circuit 32 is connected to the interval register 22, and the other input terminal of the signal extraction circuit 33 is connected to the edge counter 12. As a result, the edge interval value (TIM) is read from the interval register 22 and the edge count value (CU) is read from the edge counter 12 at each timing pulse timing.

判定回路34は、読み出されたエッジカウント値(CU)により、周波数演算を実行するか否かを判断する。エッジカウント値(CU)が1以上であればパルス入力が確定したと判断してスイッチ32a,33aをONにする。一方、エッジカウント値(CU)が0であればサンプリング時間より低い周波数のパルス入力だと判断してスイッチ32a,33aはOFFのままとする。   The determination circuit 34 determines whether or not to perform frequency calculation based on the read edge count value (CU). If the edge count value (CU) is 1 or more, it is determined that the pulse input has been confirmed, and the switches 32a and 33a are turned on. On the other hand, if the edge count value (CU) is 0, it is determined that the pulse input has a frequency lower than the sampling time, and the switches 32a and 33a remain OFF.

エッジカウント値(CU)が1以上の場合に、演算器35はエッジ間隔値(TIM)とエッジカウント値(CU)からCU/TIMの演算が実行されるとともに、リセット回路36の出力によりエッジカウンタ12とインターバルレジスタ22にリセット信号が入り、エッジカウント値と、エッジ間隔値が0にクリアされ、次のサンプリングのデータ収集のための準備がされる。一方、エッジカウント値(CU)が0であれば次回のタイミングパルスまで周波数演算が保留され、この際、エッジカウンタ12とインターバルレジスタ22はリセットされず、次回のタイミングパルスで再度判定が行われる。   When the edge count value (CU) is 1 or more, the computing unit 35 performs CU / TIM computation from the edge interval value (TIM) and the edge count value (CU), and outputs the edge counter by the output of the reset circuit 36. 12 and the reset signal are input to the interval register 22, the edge count value and the edge interval value are cleared to 0, and preparation for data collection for the next sampling is made. On the other hand, if the edge count value (CU) is 0, the frequency calculation is suspended until the next timing pulse. At this time, the edge counter 12 and the interval register 22 are not reset, and the determination is performed again at the next timing pulse.

図2は周波数の演算処理を説明する図である。
エッジカウント値(CU)とエッジ間隔値(TIM)とサンプリング時間(T)の関係を示している。
パルス信号の立ち上がりエッジごとにエッジカウント値(CU)はカウントアップされる。タイマー21はフリーランニングタイマーであり、パルス信号の立ち上がりエッジ(エッジクロック信号)ごとにクリアされタイマーの値がカウントアップされていく。エッジ間隔値(TIM)は、CU=1のときTIM1、CU=2のときTIM1+TIM2、CU=3のときTIM1+TIM2+TIM3というように立ち上がりエッジから次の立ち上がりエッジまでの間隔時間が順次インターバルレジスタ22に加算されていく。
FIG. 2 is a diagram for explaining frequency calculation processing.
The relationship between the edge count value (CU), the edge interval value (TIM), and the sampling time (T) is shown.
The edge count value (CU) is counted up for each rising edge of the pulse signal. The timer 21 is a free running timer, which is cleared at every rising edge (edge clock signal) of the pulse signal, and the timer value is counted up. The edge interval value (TIM) is sequentially added to the interval register 22 from the rising edge to the next rising edge, such as TIM1 when CU = 1, TIM1 + TIM2 when CU = 2, and TIM1 + TIM2 + TIM3 when CU = 3. To go.

サンプリング時間(T)、タイマー21に入力されるタイマークロックの周期(tck)、パルス信号の周期(tin)から入力信号の周波数の精度(P)を求めると、P=tck/T×100%〜tck/(T−tin)×100%となり、入力信号をパルスのエッジ間隔で計測することで、高精度に入力信号の周波数を測定することができる。   When the accuracy (P) of the frequency of the input signal is obtained from the sampling time (T), the period (tck) of the timer clock input to the timer 21 and the period (tin) of the pulse signal, P = tck / T × 100% ˜ tck / (T-tin) × 100%, and the frequency of the input signal can be measured with high accuracy by measuring the input signal at the edge interval of the pulse.

本発明のパルス入力装置においては、処理時間(応答時間)は入力信号があらかじめ設定したサンプリング時間より高い周波数の場合、あらかじめ設定したサンプリング周期で決まるが、入力信号がサンプリング時間より低い周波数の場合、入力信号の周波数に応じて自動的にサンプリング時間が調整され、測定不能となることがなく、入力に応じた最適な応答時間を確保することができる。   In the pulse input device of the present invention, the processing time (response time) is determined by a preset sampling period when the input signal has a higher frequency than the preset sampling time, but when the input signal has a frequency lower than the sampling time, The sampling time is automatically adjusted according to the frequency of the input signal, and measurement is not disabled, so that an optimum response time according to the input can be ensured.

図3は本発明の他の実施例を示す図である。
エッジカウント手段10とエッジ間隔測定手段20はGAなどの回路で構成し、周波数算出手段30はマイクロプロセッサで構成した例を示している。
エッジカウント手段10からのエッジカウント値(CU)の読み出し、エッジ間隔測定手段20からのエッジ間隔値(TIM)の読み出し、及びエッジカウンタ12、インターバルレジスタ22へのリセット信号をメモリ空間上のレジスタとして割り付けることで簡易な構成で低コストに実現することができる。
FIG. 3 shows another embodiment of the present invention.
The edge count unit 10 and the edge interval measurement unit 20 are configured by a circuit such as a GA, and the frequency calculation unit 30 is configured by a microprocessor.
Reading the edge count value (CU) from the edge count means 10, reading the edge interval value (TIM) from the edge interval measuring means 20, and reset signals to the edge counter 12 and interval register 22 as registers in the memory space By allocating, it can be realized at a low cost with a simple configuration.

この例では、エッジカウント手段10とエッジ間隔測定手段20を複数設けた構成となっている。この場合、マイクロプロセッサからはレジスタとしてアクセスされるので、マイクロプロセッサとの間で複雑な手順は不要であり、簡易な構成で複数の入力チャネルを備えたパルス入力装置を実現することができる。   In this example, a plurality of edge count means 10 and edge interval measuring means 20 are provided. In this case, since the microprocessor accesses as a register, a complicated procedure with the microprocessor is unnecessary, and a pulse input device having a plurality of input channels can be realized with a simple configuration.

本発明の一実施例を示す構成図である。It is a block diagram which shows one Example of this invention. 周波数の演算処理を説明する図である。It is a figure explaining the calculation process of a frequency. 本発明の他の実施例を示す図である。It is a figure which shows the other Example of this invention.

符号の説明Explanation of symbols

10 エッジカウント手段
12 エッジカウンタ
20 エッジ間隔測定手段
21 タイマー
22 インターバルレジスタ
30 周波数演算手段
31 タイミング発生器
DESCRIPTION OF SYMBOLS 10 Edge count means 12 Edge counter 20 Edge interval measurement means 21 Timer 22 Interval register 30 Frequency calculation means 31 Timing generator

Claims (6)

入力信号をパルス信号として検出し、該パルス信号の周波数を上位システムへ通知するパルス入力装置において、
前記パルス信号の立ち上がりエッジ又は立ち下がりエッジのエッジタイミングで前記パルス信号のパルス数を所定時間の間カウントし、エッジカウント値として保持するエッジカウント手段と、
前記エッジタイミングで、前回のエッジタイミングとの間隔時間を測定するとともに、前記所定時間の間の前記間隔時間を積算し、エッジ間隔値として保持するエッジ間隔測定手段と、
前記エッジカウント値を前記エッジ間隔値で除して前記パルス信号の周波数を算出する周波数算出手段と、
を有することを特徴とするパルス入力装置。
In a pulse input device that detects an input signal as a pulse signal and notifies the frequency of the pulse signal to a host system,
Edge count means for counting the number of pulses of the pulse signal for a predetermined time at the edge timing of the rising edge or falling edge of the pulse signal, and holding as an edge count value;
An edge interval measuring unit that measures an interval time with the previous edge timing at the edge timing, integrates the interval time between the predetermined times, and holds the interval time as an edge interval value;
Frequency calculating means for calculating the frequency of the pulse signal by dividing the edge count value by the edge interval value;
A pulse input device comprising:
前記エッジカウント手段は、前記パルス信号の立ち上がりエッジ又は立ち下がりエッジのタイミングでエッジクロック信号を発生し、該エッジクロック信号のタイミングでエッジカウンタを順次カウントアップすることを特徴とする請求項1記載のパルス入力装置。   2. The edge count means generates an edge clock signal at a timing of a rising edge or a falling edge of the pulse signal, and sequentially counts up an edge counter at the timing of the edge clock signal. Pulse input device. 前記エッジ間隔測定手段は、タイマークロック信号でカウント動作を行うタイマーのタイマー値を前記エッジクロック信号のタイミングで順次加算してインターバルレジスタに保持するとともに、前記エッジクロック信号のタイミングで前記タイマーのタイマー値をクリアすることを特徴とする請求項2記載のパルス入力装置。   The edge interval measuring means sequentially adds the timer value of the timer that performs the counting operation with the timer clock signal at the timing of the edge clock signal and holds it in the interval register, and at the timing of the edge clock signal, the timer value of the timer The pulse input device according to claim 2, wherein: 前記周波数算出手段は、前記所定時間でタイミングパルスを発生するタイミング発生器を有し、該タイミングパルスで前記エッジカウト値及び前記エッジ間隔値を読み出して周波数演算を実行することを特徴とする請求項1乃至3のいずれかに記載のパルス入力装置。   2. The frequency calculation unit includes a timing generator that generates a timing pulse at the predetermined time, and reads the edge count value and the edge interval value by the timing pulse to execute frequency calculation. The pulse input device according to any one of 1 to 3. 前記周波数算出手段は、前記エッジカウント値が1以上であればパルス入力が確定したと判断して周波数演算を実行し、前記エッジカウント値が0であれば次回のタイミングパルスまで周波数演算を保留することを特徴とする請求項4記載のパルス入力装置。   The frequency calculation means determines that the pulse input is confirmed if the edge count value is 1 or more, and executes frequency calculation. If the edge count value is 0, the frequency calculation means suspends the frequency calculation until the next timing pulse. The pulse input device according to claim 4. 前記周波数算出手段は、周波数演算を実行時、前記タイミングパルスのタイミングで前記エッジカウンタ及び前記インターバルレジスタをリセットすることを特徴とする請求項4又は5記載のパルス入力装置。
6. The pulse input device according to claim 4, wherein the frequency calculation unit resets the edge counter and the interval register at the timing of the timing pulse when performing frequency calculation.
JP2007255469A 2007-09-28 2007-09-28 Pulse input device Active JP5077815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007255469A JP5077815B2 (en) 2007-09-28 2007-09-28 Pulse input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007255469A JP5077815B2 (en) 2007-09-28 2007-09-28 Pulse input device

Publications (2)

Publication Number Publication Date
JP2009088953A true JP2009088953A (en) 2009-04-23
JP5077815B2 JP5077815B2 (en) 2012-11-21

Family

ID=40661785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007255469A Active JP5077815B2 (en) 2007-09-28 2007-09-28 Pulse input device

Country Status (1)

Country Link
JP (1) JP5077815B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931975A (en) * 2012-11-26 2013-02-13 昆山北极光电子科技有限公司 Method for reducing count pulse error in vibration measurement
CN112213629A (en) * 2020-10-13 2021-01-12 许继集团有限公司 FPGA-based detection and early warning method and system for continuous variation and slow signal
CN113748826A (en) * 2020-06-01 2021-12-07 上海山科机器人有限公司 Autonomous working apparatus and autonomous working system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006295320A (en) * 2005-04-06 2006-10-26 Denso Corp Multiplied clock signal output circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006295320A (en) * 2005-04-06 2006-10-26 Denso Corp Multiplied clock signal output circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102931975A (en) * 2012-11-26 2013-02-13 昆山北极光电子科技有限公司 Method for reducing count pulse error in vibration measurement
CN113748826A (en) * 2020-06-01 2021-12-07 上海山科机器人有限公司 Autonomous working apparatus and autonomous working system
CN112213629A (en) * 2020-10-13 2021-01-12 许继集团有限公司 FPGA-based detection and early warning method and system for continuous variation and slow signal

Also Published As

Publication number Publication date
JP5077815B2 (en) 2012-11-21

Similar Documents

Publication Publication Date Title
JP4653008B2 (en) Clock abnormality detection circuit and clock abnormality detection method
CN106597096A (en) Clock frequency monitoring method
US7805277B2 (en) Step number measuring apparatus
US10451647B2 (en) Method and device for measuring speed of permanent magnet synchronous motor
JP5077815B2 (en) Pulse input device
KR101240798B1 (en) Apparatus for real time clock frequency offset detection and method thereof
JPH04344466A (en) Detecting device for velocity of elevator
CN102457268B (en) Implementation method for 32-bit capture register
JP5434333B2 (en) Inclination detection method and inclination detection apparatus
CN101470130A (en) Method of detecting free fall and apparatus to detect free fall using the method
CN103516288A (en) Self-adaptive encoder speed measuring device and method
EP2936172B1 (en) Method and apparatus for determining characteristics of an input signal
JPH11330931A (en) Device and method for monitoring clock operation of control system
JP2019080242A (en) Data acquisition method and data acquisition device
JP2002311040A (en) Speed detector
JP2000074962A (en) Cycle-measuring device and method therefor, and storage medium
JP6814660B2 (en) A system timer and a surveying instrument equipped with the same system timer
KR19990043005A (en) Motor speed detection device using incremental encoder
JP2009159426A (en) Pulse output device
CN108073806B (en) Method and device for detecting clock frequency
JPS60143709A (en) Apparatus for measuring flow rate of fluid
JPS62228962A (en) Counting rate meter
JP6374350B2 (en) Timer synchronization system
JP2000059206A (en) Pulse count system for pulse input circuit
KR20150071877A (en) Temperature sensor, and gas sensing system including the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120525

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120806

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

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

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5077815

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120819