JPH01304360A - Method for detecting speed of motor - Google Patents
Method for detecting speed of motorInfo
- Publication number
- JPH01304360A JPH01304360A JP13436488A JP13436488A JPH01304360A JP H01304360 A JPH01304360 A JP H01304360A JP 13436488 A JP13436488 A JP 13436488A JP 13436488 A JP13436488 A JP 13436488A JP H01304360 A JPH01304360 A JP H01304360A
- Authority
- JP
- Japan
- Prior art keywords
- pulses
- motor
- timer
- counter
- pulse
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Control Of Electric Motors In General (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は電動機速度検出方法に関し、特にパルスジェネ
レータを用いてディジタルで速度検出する電動機速度検
出方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for detecting the speed of an electric motor, and particularly to a method for detecting the speed of an electric motor that digitally detects the speed using a pulse generator.
[従来の技術及び発明が解決しようとする課題]従来の
電動機速度検出方法には、M法及びT法か用いられてい
る。[Prior Art and Problems to be Solved by the Invention] Conventional motor speed detection methods employ either the M method or the T method.
M法とは、第4図(a)に示すように、ある−定のザン
プリンタ時間1゛内に、パルスジェネレータ(以下PG
と呼ぶ。)のパルス数を計測する一定時間内パルス数カ
ウンl〜法てあり、低速になるほど計測誤差が大きくな
る欠点がある。The M method is, as shown in Fig. 4(a), in which a pulse generator (hereinafter referred to as PG
It is called. ) is used to measure the number of pulses within a certain period of time, and the disadvantage is that the slower the speed, the greater the measurement error becomes.
1゛法とは、第4図(b)に示すように、パルス間の時
間をd1測するパルス内カウン1へ法であり、高速にな
るほどj1測誤差が大きくなる欠点かある。As shown in FIG. 4(b), the 1' method is an intra-pulse counter 1 method that measures the time between pulses d1, and has the disadvantage that the j1 measurement error increases as the speed increases.
そこで、本発明の技術的課題は士、記欠点に鑑み、電動
機の速度を、低速時及び高速時に拘らず、−定の精度で
検出することが可能な電動機速度検出方法を提供するこ
とである。Therefore, the technical problem of the present invention is to provide a motor speed detection method capable of detecting the speed of an electric motor with constant accuracy regardless of whether the speed is low or high. .
1課題を解決するための手段]
本発明によれば、電動機に設りられたパルスジェネレー
タから出力されたPGパルスを受け、基準クロックパル
スを分周して生成された所定のタイマ1周期内におりる
PGパルスの数が、予め定められた値よりも大きい場合
には、タイマ1周期内のI) Gパルス数と、タイマ1
周期内の最初のPGパルスから当該タイマ1周期の終わ
りまでの基準クロックパルス数と、当該タイマ1周期内
の最後のPGパルスから当該タイマ1周期の終わりまて
の基準クロックパルス数とを夫々カウントし、予め定め
られた値よりも小さい場合には、PGパルスの1周期内
の基準り1コツクパルス数をカラン1−し、該カウント
した値に基づいて、前記電動機の回転速度を算出する電
動機速度検出方法が得られる。Means for Solving 1 Problem] According to the present invention, a PG pulse outputted from a pulse generator installed in an electric motor is received, and within one cycle of a predetermined timer generated by frequency-dividing a reference clock pulse. If the number of falling PG pulses is larger than a predetermined value, the number of I)G pulses within one timer cycle and timer 1
Count the number of reference clock pulses from the first PG pulse in a period to the end of one period of the timer, and the number of reference clock pulses from the last PG pulse in one period of the timer to the end of one period of the timer. However, if it is smaller than a predetermined value, the number of pulses per reference within one period of the PG pulse is counted, and the rotational speed of the motor is calculated based on the counted value. A detection method is obtained.
[実施例] 次に、本発明の実施例を図面を参照にして説明する。[Example] Next, embodiments of the present invention will be described with reference to the drawings.
本実施例の電動機速度検出方法を用いた装置は、第1図
に示すとおり、基準クロック周期’T’、(秒)を発生
ずるり1コック発生回路1と、基準タロツク周期′丁゛
、を分周して一定のタイマ周期ゴ゛2 (秒)を生成す
るタイマ2と、基準りlT7ツタ周期T、をカラン1〜
する第1及び第2カウンタ4,5と、パルスジェネレー
タ(図示せず。)からのPGパルス数をカラン1〜する
第3カウンタ6と、これら第1−第3カウンタ4〜6を
制御する制御信号(クリア、ランチ、ゲート)を発生ず
る制御信号発生回路3と、第1〜第3カウンタ4〜6か
らのカウンl〜値に基づいて、速度を計算するCPU7
とから構成されている。As shown in FIG. 1, a device using the motor speed detection method of this embodiment includes a clock generating circuit 1 that generates a reference clock period 'T' (seconds) and a reference clock period 'T' (seconds). Timer 2, which divides the frequency to generate a constant timer period (seconds), and a reference period T7,
a third counter 6 that counts the number of PG pulses from a pulse generator (not shown), and a control that controls these first to third counters 4 to 6; A control signal generation circuit 3 that generates signals (clear, launch, gate) and a CPU 7 that calculates speed based on the counter values from the first to third counters 4 to 6.
It is composed of.
以下、第2図及び第3図に示したタイミングチャー1・
をも参照して、本電動機速度検出装置の動作を説明する
。Below, the timing chart 1 shown in FIGS. 2 and 3 will be explained.
The operation of the present electric motor speed detection device will be explained with reference also to .
制御信号発生回路3は、PGパルスとタイマ1周1υ1
′F、とを受け、タイマ1周期′■゛2内のPGパルス
数に基づいて、第1〜第3カウンタ4〜6を制御する。The control signal generation circuit 3 generates a PG pulse and a timer one cycle 1υ1.
'F, and controls the first to third counters 4 to 6 based on the number of PG pulses within one timer cycle '2'.
PGパルス数が2以上の場合は、電動機は高速回転時と
して、第3カウンタ6によりタイマ1周期T 2内のP
Gパルス数mをカウントさせ、第1カウンタ4によりタ
イマ1周期T、内の最初のPGパルスからタイマ1周期
T2の終わりまでの基準クロックパルス数(nl)をカ
ラン)−させ、第2のカウンタ5によりタイマ1周期ゴ
2内の最後のPGパルスからタイマ1周期T2の終わり
までの基準クロックパルス数(02)をカウントさせる
。CF) U 7は、第1−第3カウンタ4〜6により
得られたカウント数に基づいて、第1式。When the number of PG pulses is 2 or more, the motor is considered to be rotating at high speed, and the third counter 6 indicates that the motor is rotating at high speed.
The number m of G pulses is counted, the first counter 4 counts the number of reference clock pulses (nl) from the first PG pulse in one timer period T to the end of one timer period T2, and the second counter 5 counts the number of reference clock pulses (02) from the last PG pulse in the timer 1 cycle Go2 to the end of the timer 1 cycle T2. CF) U 7 is the first formula based on the counts obtained by the first to third counters 4 to 6.
m/ ((n+ −n2)T+ l (1−rz)
により、P Gパルス周波数を算出する。m/ ((n+ -n2)T+ l (1-rz)
The PG pulse frequency is calculated by:
一方、パルス数が2未満の場合は、電動機は低速回転時
として、第1カウンタ4によりPGパルスの1周期を基
準クロックパルス数(nl)でカウントさせ−る。CP
U 7は、第13カウンタ4により得られたカウント
数に基づいて、第2式、1/ n + T+ (7(
z )により、PGパルス周波数を算出する。On the other hand, if the number of pulses is less than 2, the motor is considered to be rotating at a low speed, and the first counter 4 counts one cycle of the PG pulses by the number of reference clock pulses (nl). C.P.
U7 is calculated based on the count obtained by the thirteenth counter 4 using the second formula, 1/ n + T+ (7(
z) to calculate the PG pulse frequency.
[発明の効果]
以上の説明のとおり、本発明によれば、電動機の回転速
度に応じて、2通りに速度検出方法を選択することがで
きるから、電動機速度の低速時及び高速時に拘らず、一
定の精度で検出することか可能な電動機速度検出方法を
提供することかできる。[Effects of the Invention] As explained above, according to the present invention, the speed detection method can be selected from two methods depending on the rotational speed of the electric motor, so regardless of whether the motor speed is low or high, It is possible to provide a method for detecting motor speed that can be detected with certain accuracy.
第1図は本発明の実施例に係わるブロック図、第2図は
第1図に於ける電動機の高速回転時のタイミングチャー
1〜、第3図は第1図に於ける電動低速回転時のタイミ
ングチャー1−1第4図は従来の検出方法におけるタイ
ミングチャー1−である。Fig. 1 is a block diagram related to an embodiment of the present invention, Fig. 2 is a timing chart 1 to 1 during high-speed rotation of the electric motor in Fig. 1, and Fig. 3 is a timing chart during low-speed rotation of the electric motor in Fig. Timing Chart 1-1 FIG. 4 shows timing chart 1- in the conventional detection method.
Claims (1)
れたPGパルスを受け、基準クロックパルスを分周して
生成された所定のタイマ1周期内におけるPGパルスの
数が、 予め定められた値よりも大きい場合には、タイマ1周期
内のPGパルス数と、タイマ1周期内の最初のPGパル
スから当該タイマ1周期の終わりまでの基準クロックパ
ルス数と、当該タイマ1周期内の最後のPGパルスから
当該タイマ1周期の終わりまでの基準クロックパルス数
とを夫々カウントし、 予め定められた値よりも小さい場合には、PGパルスの
1周期内の基準クロックパルス数をカウントし、 該カウントした値に基づいて、前記電動機の回転速度を
算出する電動機速度検出方法。[Claims] 1. The number of PG pulses within one cycle of a predetermined timer, which is generated by receiving PG pulses output from a pulse generator provided in the motor and dividing the reference clock pulse, is predetermined. If the value is larger than the specified value, the number of PG pulses within one timer cycle, the number of reference clock pulses from the first PG pulse within one timer cycle to the end of the relevant timer one cycle, and the number of reference clock pulses within the relevant timer one cycle. Count the number of reference clock pulses from the last PG pulse to the end of one cycle of the timer, and if it is smaller than a predetermined value, count the number of reference clock pulses within one cycle of the PG pulse, A motor speed detection method that calculates the rotational speed of the motor based on the counted value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13436488A JPH01304360A (en) | 1988-06-02 | 1988-06-02 | Method for detecting speed of motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13436488A JPH01304360A (en) | 1988-06-02 | 1988-06-02 | Method for detecting speed of motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01304360A true JPH01304360A (en) | 1989-12-07 |
Family
ID=15126647
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13436488A Pending JPH01304360A (en) | 1988-06-02 | 1988-06-02 | Method for detecting speed of motor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01304360A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013145146A (en) * | 2012-01-13 | 2013-07-25 | Hioki Ee Corp | Frequency measuring instrument and frequency measuring method |
-
1988
- 1988-06-02 JP JP13436488A patent/JPH01304360A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013145146A (en) * | 2012-01-13 | 2013-07-25 | Hioki Ee Corp | Frequency measuring instrument and frequency measuring method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS5926899B2 (en) | A circuit device that digitally measures the period of alternating voltage. | |
US4800508A (en) | Frequency detector | |
JPS5913957A (en) | Speed detecting circuit | |
US5233292A (en) | Speed detector device for elevator | |
JPH01304360A (en) | Method for detecting speed of motor | |
JP2661048B2 (en) | Speed detector | |
JPH04233467A (en) | Method and apparatus for measuring speed of motor | |
JP2712045B2 (en) | Rotational speed measuring device | |
KR940004394B1 (en) | Motor speed measuring method and device | |
JP2568121Y2 (en) | Average value period measurement device | |
JPS6319831B2 (en) | ||
JPS5938659A (en) | Method for deciding detection inferiority of rotational frequency detecting apparatus | |
JPH0460468A (en) | Pulse position measuring type instrument drive circuit | |
JP2645197B2 (en) | Flow measurement device | |
JPS62239060A (en) | Rotating speed measuring instrument | |
JPH0340847B2 (en) | ||
SU763797A1 (en) | Digital measuring instrument for determining relative velocity difference | |
JP2000055958A (en) | Duty ratio deciding circuit and method for deciding duty rato | |
JPH10252549A (en) | Rotational speed detecting device and control device for rotary machine | |
JPS58120168A (en) | Detection of speed | |
JPH01321372A (en) | Detection of acceleration | |
KR0164046B1 (en) | Rotary speed tracking apparatus and method of motor by speed adaptive t method | |
JP2001221807A (en) | Apparatus for detecting rotational speed | |
JPS5995466A (en) | Measuring system of digital tachometer | |
JPH063385A (en) | Detection of pulse frequency |