JPH02119591A - Motor speed controller - Google Patents

Motor speed controller

Info

Publication number
JPH02119591A
JPH02119591A JP63270700A JP27070088A JPH02119591A JP H02119591 A JPH02119591 A JP H02119591A JP 63270700 A JP63270700 A JP 63270700A JP 27070088 A JP27070088 A JP 27070088A JP H02119591 A JPH02119591 A JP H02119591A
Authority
JP
Japan
Prior art keywords
period
signal
encoder
speed
motor speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63270700A
Other languages
Japanese (ja)
Inventor
Takeshi Aida
健 相田
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.)
Juki Corp
Original Assignee
Juki 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 Juki Corp filed Critical Juki Corp
Priority to JP63270700A priority Critical patent/JPH02119591A/en
Publication of JPH02119591A publication Critical patent/JPH02119591A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To improve the speed detecting accuracy of a motor by obtaining the integral part and the decimal part of an encoder pulse number in a predetermined period and asynchronous sampling period, correcting the encoder pulse number and calculating the speed of the motor. CONSTITUTION:Clock generating means for generating a period measuring clock signal A of an encoder signal B, means 26 for measuring the period of the signal B by counting the signal A, means 28 for integrating the period for a predetermined period, and means 30 for detecting the pulse number of the signal B in a predetermined period and an asynchronous sampling period are provided. The integral part and the decimal part of the encoder pulse number in the sampling period are obtained, the pulse number is corrected, and the speed of the motor is calculated. Thus, the speed can be accurately calculated at a high speed, and the speed can be effectively controlled.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、モータ速度制御装置、更に詳細にはモータ速
度指令信号とエンコーダを介して検出されるモータ速度
信号の偏差に従ってモータの速度を制御するモータ速度
制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a motor speed control device, more specifically, to control the speed of a motor according to the deviation between a motor speed command signal and a motor speed signal detected via an encoder. The present invention relates to a motor speed control device.

[従来の技術] このようなモータ速度制御装置では、モータと同軸に取
り付けられたエンコーダから得られるモータ速度信号と
モータの速度指令信号で表される目標値との1m差に従
ってモータの速度が制御されるので、制御精度を上げる
ためには、正確にモータの速度を検出しなければならな
い。従来速度の検出方法には一定時間内に得られるエン
コーダパルスの数をカウントする周波数測定法と、エン
コーダパルスの周期を測定する周期測定法が知られてい
る。
[Prior Art] In such a motor speed control device, the speed of the motor is controlled according to the 1 m difference between the motor speed signal obtained from the encoder installed coaxially with the motor and the target value expressed by the motor speed command signal. Therefore, in order to improve control accuracy, it is necessary to accurately detect the motor speed. Conventional speed detection methods include a frequency measurement method that counts the number of encoder pulses obtained within a certain period of time, and a period measurement method that measures the period of the encoder pulses.

[発明が解決しようとする課題] 周波数測定法は、一定時間内にエンコーダパルスがいく
つ来るかを計数するので、エンコーダの分割数が少ない
と一定時間内のカウント数も少なくなり速度検出精度が
悪くなるという欠点があり、又一定時間内にパルスが検
出されないと速度検出が不可能になるという問題がある
[Problems to be solved by the invention] In the frequency measurement method, the number of encoder pulses that arrive within a certain period of time is counted, so if the number of encoder divisions is small, the number of counts within a certain period of time will also be small, resulting in poor speed detection accuracy. There is also the problem that speed detection becomes impossible unless a pulse is detected within a certain period of time.

又周期測定法では、エンコーダの分割数が多く、速度が
早くなるとエンコーダパルスa号の周期が短くなり、検
出精度が悪くなるという欠点が有る。
Furthermore, the period measurement method has the disadvantage that the number of encoder divisions is large, and as the speed increases, the period of encoder pulse a becomes shorter, resulting in poor detection accuracy.

又こわらの両測定法のそれぞれの特徴を活し、両測定法
を併用する考え方もあるが、どの速度において、他の測
定法に切り換えるかの判断を常に必要とし、また、速度
精度が一定でないという欠点が有る。
There is also the idea of using both stiffness measurement methods in combination, taking advantage of their respective characteristics, but it requires constant judgment at which speed to switch to the other measurement method, and the speed accuracy is constant. There is a drawback that it is not.

従って本発明は、これらの問題点を解決するためになさ
れたもので、高速にしかも正確に速度を演算でき、確実
な速度制御が可能なモータ速度制御装置を提供すること
を課題とする。
Therefore, the present invention was made to solve these problems, and an object of the present invention is to provide a motor speed control device that can calculate speed at high speed and accurately, and can perform reliable speed control.

[課題を解決するための手段] 本発明は、上記課題を解決するために、モータ速度指令
信号とエンコーダを介し検出されるそ−タ速度信号の偏
差に従フてモータの速度を制御するモータ速度制御装置
において、エンコーダ信号の周期測定用クロック信号を
発生するクロック発生手段と、エンコーダ信号の周期を
前記クロック信号を計数することにより測定する手段と
、前記周期を所定の期間に渡って積算する手段と、前記
所定の期間と非同期のサンプリング期間内のエンコーダ
信号のパルス数を検出する手段とを設け、前記サンプリ
ング期間内のエンコーダパルス数の整数部および小数部
を求め、エンコーダパルス数の補正を行ってモータ速度
の演算を行う構成、並びにモータ速度指令信号とエンコ
ーダを介し検出されるモータ速度信号の偏差に従ってモ
ータの速度を制御するモータ速度制御装置において、エ
ンコーダ信号の周期測定用クロック信号を発生するクロ
ック発生手段と、エンコーダ信号の周期を前記クロック
信号を計数することにより測定する手段と、前記周期を
所定の期間にわたって積算する手段とを設け、前記積算
された周期によりエンコーダ信号周期の平均値を求め、
平均化されたエンコーダ信号周期を用いてモータ速度の
演算を行う構成を採用した。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a motor that controls the speed of the motor according to the deviation between a motor speed command signal and a motor speed signal detected via an encoder. In the speed control device, a clock generating means for generating a clock signal for measuring the period of the encoder signal, a means for measuring the period of the encoder signal by counting the clock signal, and a means for integrating the period over a predetermined period. and means for detecting the number of pulses of the encoder signal within a sampling period asynchronous to the predetermined period, and calculating an integer part and a decimal part of the number of encoder pulses within the sampling period, and correcting the number of encoder pulses. A clock signal for measuring the period of the encoder signal is generated in a motor speed control device that controls the speed of the motor according to the deviation between the motor speed command signal and the motor speed signal detected via the encoder. means for measuring the cycle of the encoder signal by counting the clock signal; and means for integrating the cycle over a predetermined period; seek,
A configuration was adopted in which the motor speed is calculated using the averaged encoder signal period.

[作 用] このような構成では、モータの速度を演算する場合、エ
ンコーダパルス周波数を用いる場合には、エンコーダパ
ルス周期を積算する所定期間内のエンコーダパルス数を
求め、前記所定期間と非同期のサンプリング期間内のエ
ンコーダパルス数の整数部および小数部を求め、エンコ
ーダパルス数の補正を行ってモータ速度の演算を求めて
おり、また、モータ速度の演算にエンコーダパルス周期
を用いる場合には、積算された周期によりエンコーダパ
ルス周期の平均値を求め、平均化されたエンコーダ信号
周期を用いてモータ速度の演算を求めている。
[Function] In such a configuration, when calculating the speed of the motor and using the encoder pulse frequency, the number of encoder pulses within a predetermined period for integrating the encoder pulse period is calculated, and sampling is performed asynchronously with the predetermined period. The motor speed is calculated by calculating the integer and decimal parts of the number of encoder pulses within the period and correcting the number of encoder pulses. Also, when using the encoder pulse period to calculate the motor speed, the integrated The average value of the encoder pulse period is determined based on the period, and the motor speed is calculated using the averaged encoder signal period.

従フて、いずれの方法を用いてモータ速度を演算しても
、エンコーダ信号周波数と周期のデータを用いており、
モータ速度の検出精度を向上させ、しかも検出精度を広
範囲の速度にわたってほぼ一定にすることができる。
Therefore, no matter which method is used to calculate the motor speed, encoder signal frequency and period data are used.
The detection accuracy of the motor speed can be improved and the detection accuracy can be made substantially constant over a wide range of speeds.

[実施例] 次に添付図面を参照して本発明の実施例を詳細に説明す
る。
[Embodiments] Next, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図には本発明実施例による速度制御装置の基本構成
がブロック図として図示されており、同図において符号
1で示すものは制御対象であるモータである。このモー
タ1の速度が千−夕と同軸に取り付けられたエンコーダ
2により測定される。エンコーダ2からの信号は速度検
出部20に入力され、CPUl0は速度目標値である速
度指令信号と速度検出部20により測定された速度検出
データを比較する。
FIG. 1 shows a basic configuration of a speed control device according to an embodiment of the present invention as a block diagram, and in the figure, reference numeral 1 indicates a motor to be controlled. The speed of this motor 1 is measured by an encoder 2 attached coaxially with Chiyo. The signal from the encoder 2 is input to the speed detection section 20, and the CPU10 compares the speed command signal, which is the speed target value, with the speed detection data measured by the speed detection section 20.

CPUl0は第2図に図示したように指令速度演算部1
1、モータ速度演算部12、速度偏差演算部13、偏差
補償演算部14を有し、速度偏差演算部13は、それぞ
れ演算部11.12により演算された速度指令及び検出
データの偏差を演算する。偏差補償演算部14は通常P
ID制御特性を有し、上記速度偏差に応じて、その偏差
を補償する電流指令データを発生する。このデータはデ
ジタル量なので、D/Aコンバータ3によりアナログ量
に変換されパワーアンプ4を介してモータ1の速度を指
令速度に対応した値に制御する。
As shown in FIG.
1. It has a motor speed calculation section 12, a speed deviation calculation section 13, and a deviation compensation calculation section 14, and the speed deviation calculation section 13 calculates the deviation of the speed command and detection data calculated by the calculation sections 11 and 12, respectively. . The deviation compensation calculation unit 14 normally has P
It has ID control characteristics, and generates current command data that compensates for the deviation according to the speed deviation. Since this data is a digital quantity, it is converted into an analog quantity by the D/A converter 3, and the speed of the motor 1 is controlled via the power amplifier 4 to a value corresponding to the command speed.

速度検出部20は、第3図に図示したようにタイミング
発生部24、周期検出部26、周期積算部28、周波数
検出部30から構成されている。
The speed detecting section 20 includes a timing generating section 24, a period detecting section 26, a period integrating section 28, and a frequency detecting section 30, as shown in FIG.

タイミング発生部24は、第4図に詳細に図示されてい
るように、デイレイ回路24a、24b並びに他の論理
回路から構成され、エンコーダ信号Bを受けて、エンコ
ーダ信号と同期したラッチ信号C並びにデイレイ回路2
4a、24bにより所定量遅延されたクリア信号りを発
生する。これらのラッチ信号並びにクリア信号は、後述
するようにエンコーダ信号の周期を測定するのに用いら
れる。
As shown in detail in FIG. 4, the timing generator 24 is composed of delay circuits 24a, 24b and other logic circuits, and receives an encoder signal B and generates a latch signal C and a delay signal synchronized with the encoder signal. circuit 2
4a and 24b generate a clear signal delayed by a predetermined amount. These latch signals and clear signals are used to measure the period of the encoder signal as described later.

周期測定部26は、周期カウンタ26aを有し、そのク
ロック端子CKに入力される基準クロック信号Aを計数
し、そのカウント値は、タイミング発生部24からのラ
ッチ信号がラッチ回路28bに入力されたとき、そこに
格納される。このラッチ回路26bにラッチされた周期
データは、サンプリング信号Eでクロックされるラッチ
回路26cを介してCPUに送られる。
The period measurement section 26 has a period counter 26a, and counts the reference clock signal A input to its clock terminal CK, and the count value is determined when the latch signal from the timing generation section 24 is input to the latch circuit 28b. When it is stored there. The periodic data latched by the latch circuit 26b is sent to the CPU via the latch circuit 26c clocked by the sampling signal E.

又第4図に図示したように加算器28a、ラッチ回路2
8b、28cから成る周期積算部28が設けられており
、サンプリング信号Eの間に入ってきたエンコーダ信号
Bのパルスの周期を加算器28a1ラッチ回路28bを
介して積算し、サンプリング信号Eに同期してラッチ回
路28cを介しCPUに周期積算データを送る。
Further, as shown in FIG. 4, the adder 28a and the latch circuit 2
A period integration section 28 consisting of 8b and 28c is provided, and integrates the period of the pulse of the encoder signal B that has entered between the sampling signal E via an adder 28a1 and a latch circuit 28b, and synchronizes with the sampling signal E. The cycle integration data is sent to the CPU via the latch circuit 28c.

又エンコーダ信号Bの周波数を検出する周波数検出部3
0が設けられており、この周波数検出部30はサンプリ
ング信号Eの間に入ってきたエンコーダ信号Bのパルス
数をカウントするカウンタ30a並びにサンプリング信
号Eに同期してその値をラッチするラッチ回路30bか
ら構成されている。
Furthermore, a frequency detection section 3 detects the frequency of the encoder signal B.
0 is provided, and this frequency detection unit 30 receives signals from a counter 30a that counts the number of pulses of the encoder signal B that has entered between the sampling signals E and a latch circuit 30b that latches the value in synchronization with the sampling signal E. It is configured.

次にこのように構成されたモータ速度制御装置の動作を
説明する。
Next, the operation of the motor speed control device configured as described above will be explained.

まず第5図のステップS1で図示したように速度指令値
を演算する。通常速度の目標値はデジタル値で与えられ
るので、速度指令値はカウンタを用いて演算される。続
いて、後述するようにステップS2でエンコーダを介し
モータの速度が算出されるが、これはステップS3、S
4で示したように速度検出データ値を入力し、それを速
度に変換することによって行なわれる。続いてステップ
S5で速度の目標値と実際値の偏差が計算され、ステッ
プS6においてこの偏差を補償する補正量が演算される
。ステップs7において上記補正量に基づぎ電流指令デ
ータを出力し、モータ速度を速度指令値に対応した速度
に制御する。
First, a speed command value is calculated as shown in step S1 of FIG. Since the target value of normal speed is given as a digital value, the speed command value is calculated using a counter. Subsequently, as will be described later, the speed of the motor is calculated via the encoder in step S2, which is calculated in steps S3 and S.
This is done by inputting the speed detection data value as shown in 4 and converting it into speed. Subsequently, in step S5, the deviation between the target speed value and the actual value is calculated, and in step S6, a correction amount to compensate for this deviation is calculated. In step s7, current command data is output based on the correction amount, and the motor speed is controlled to a speed corresponding to the speed command value.

ステップ33、S4で行なわれるモータ速度の演算に使
われる速度データの検出方法が第6図にタイミングチャ
ートの形で図示されている。
A method for detecting speed data used in calculating the motor speed in steps 33 and S4 is illustrated in the form of a timing chart in FIG.

第6図の第2段目に示したようにエンコーダ信号Bが入
りてくると、タイミング発生部24によりラッチ信号C
、クリア信号りが形成される0周期カウンタ26aは、
クリア信号りによりクリアされてからの基準クロックA
のクロック数をカウントし、そのカウント値はラッチ信
号Cが発生した時ラッチ回路26bにラッチされる。従
ってラッチ回路26bにラッチされているデータはエン
コーダ信号Bの周期データtに対応した値となっている
As shown in the second stage of FIG. 6, when the encoder signal B comes in, the timing generator 24 generates the latch signal C.
, the 0-cycle counter 26a in which the clear signal is formed is as follows:
Reference clock A after being cleared by clear signal
The count value is latched by the latch circuit 26b when the latch signal C is generated. Therefore, the data latched in the latch circuit 26b has a value corresponding to the cycle data t of the encoder signal B.

一方クリア信号りを周期積算部のラッチ回路28bに人
力し、上記周期データを加算器28aに積算し、その値
をラッチ回路28bにラッチし、周期積算データを求め
る。これは、クリア信号りが発生するごとに(tl、t
l)、ラッチ回路28bの内容を加算することにより求
められる。
On the other hand, a clear signal is inputted to the latch circuit 28b of the cycle integration section, the cycle data is integrated in the adder 28a, and the value is latched in the latch circuit 28b to obtain cycle integration data. This is done every time a clear signal occurs (tl, t
l) is obtained by adding the contents of the latch circuit 28b.

従って、クリア信号は、それぞれ積算タイミングi、(
j+1)を形成している。
Therefore, the clear signal has the integration timing i, (
j+1).

又エンコーダ信号Bを周波数検出部30のカウンタ30
aでカウントし、周波数データを求める。ラッチ回路2
6c、28c、30bに格納されたそれぞれ周期データ
、周期積算データ、周波数データはそれぞれサンプリン
グ信号Eに同期してCPUに取り込まれ、又そのサンプ
リング信号により所定の遅延時間経過した後に周波数カ
ウタ30aがクリアされると同時に、ラッチ回路28b
がクリアされ、周期の積算を再び開始する。
Also, the encoder signal B is sent to the counter 30 of the frequency detection section 30.
Count at a and obtain frequency data. Latch circuit 2
The period data, period integration data, and frequency data stored in 6c, 28c, and 30b are each taken into the CPU in synchronization with the sampling signal E, and the frequency counter 30a is cleared after a predetermined delay time has elapsed due to the sampling signal. At the same time, the latch circuit 28b
is cleared and starts accumulating periods again.

このような状態が第7図のフローチャートのステップT
1〜T3に図示されており、これらのデータに基づいて
ステップT4でモータの速度が演算される。
This state is shown in step T of the flowchart in FIG.
1 to T3, and the speed of the motor is calculated in step T4 based on these data.

この速度の演算は、上記のようにして求められたデータ
から以下のようにして求められる。まず、速度をエンコ
ーダ信号周波数fに基づき求める場合には、第8図に図
示したようにサンプリング期間T(サンプリング信号E
の周期に対応)内のエンコーダパルス数nを求めればよ
いが、同図から明らかなようにサンプリング期間T内の
パルス数は正確にはnではなく、nより小さいので、そ
の整数部および小数部を求めるべくエンコーダ信号周期
に対応するクロックカウント数をt、T期間中のエンコ
ーダパルスn個の時間をtnとして、 f” (1/T)  ・ (n−1+  (T−tn)
/l)の式に従って周波数を求める。
This speed is calculated as follows from the data obtained as described above. First, when finding the speed based on the encoder signal frequency f, as shown in FIG.
It is sufficient to find the number n of encoder pulses within the sampling period T (corresponding to the period of To find the number of clock counts corresponding to the encoder signal period, t, and the time of n encoder pulses during period T, tn, f'' (1/T) ・ (n-1+ (T-tn)
/l) to find the frequency.

従って、モータ速度Vは、変換定数をAとして、 v  =  A  ・(1/  T)  ・(n  −
1+  (T−tn)  /  t)となる。
Therefore, the motor speed V is expressed as v = A ・(1/T) ・(n −
1+ (T-tn)/t).

なお、第8図において(tl+t2)/lは、サンプリ
ング期間T内のエンコーダパルス数の小数部に相当し、
検出精度は、tの測定精度に関係する。例えば、tの時
間に基準クロックを10パルスカウントできれば小数部
を1/1oで検出できることになり、検出精度は10倍
向上したことになる。
In addition, in FIG. 8, (tl+t2)/l corresponds to the decimal part of the number of encoder pulses within the sampling period T,
The detection accuracy is related to the measurement accuracy of t. For example, if 10 pulses of the reference clock can be counted at time t, the decimal part can be detected at 1/1o, which means that the detection accuracy has been improved by 10 times.

また、モータ速度をエンコーダパルスの周期を用いて演
算する場合には、tn/(n−1)を求め、パルス周期
の平均値を求める。
Furthermore, when calculating the motor speed using the cycle of encoder pulses, tn/(n-1) is determined and the average value of the pulse cycles is determined.

従って、この場合、モータ速度Vは、変換定数をAo 
として、 v−A ’  ・(n −1) / t nとなる。
Therefore, in this case, the motor speed V is the conversion constant Ao
As, v-A'・(n-1)/tn.

第9図は、本発明での検出精度αを従来の周波数測定法
並びに周期測定法と比較したもので、従来の周波数測定
法では、 (z oc l / f cc l / yまた、周期
測定法では、 (z oc l / toc f cc yになるのに
対し、 本発明では、 acc (1/f) ・<1/l)   (1/f) 
・f 4− C(一定)となり、周期並びに周波数の両
データを用いているので、検出精度を広い速度範囲に渡
って、はぼ一定にすることができる。
Fig. 9 compares the detection accuracy α of the present invention with the conventional frequency measurement method and period measurement method. Then, (z oc l / toc f cc y), whereas in the present invention, acc (1/f) ・<1/l) (1/f)
- Since f4-C (constant) is used, and both period and frequency data are used, detection accuracy can be kept almost constant over a wide speed range.

以上説明した例では、エンコーダ2はロータリエンコー
ダであるが勿論ロータリ型に限定されるものではなく、
棒状のエンコーダ等所定の分割数のスリットを有し、フ
ォトインタラプタを介して穆動体の速度を検出できるす
べてのエンコーダに適用されるものである。
In the example explained above, the encoder 2 is a rotary encoder, but of course it is not limited to the rotary type.
This is applicable to all encoders, such as rod-shaped encoders, that have a predetermined number of slits and can detect the speed of a moving body via a photointerrupter.

[発明の効果コ 以上説明したように、本発明では、エンコーダ信号の周
期を計数し、またエンコーダ信号の周期を所定の期間に
わたって積算するようにしているので、モータの速度を
演算する場合、エンコーダパルス周波数を用いる場合に
は、エンコーダパルス周期を積算する所定期間内のエン
コーダパルス数を求め、前記所定期間と非同期のサンプ
リング期間内のエンコーダパルス数の整数部および小数
部を求め、エンコーダパルス数の補正を行ってモータ速
度の演算を求めることができ、また、そ−夕速度の演算
にエンコーダパルス周期を用いる場合には、積算された
周期によりエンコーダパルス周期の平均値を求め、平均
化されたエンコーダ信号周期を用いてモータ速度の演算
を求めることが可能であり、いずれの方法を用いてそ一
夕速度を演算しても、エンコーダ信号周波数と周期のデ
ータを用いており、モータ速度の検出精度を向上させ、
しかも検出精度を広範囲の速度にわたってほぼ一定にす
ることができる。
[Effects of the Invention] As explained above, in the present invention, the period of the encoder signal is counted and the period of the encoder signal is integrated over a predetermined period. When using a pulse frequency, find the number of encoder pulses within a predetermined period for integrating the encoder pulse period, find the integer part and decimal part of the number of encoder pulses within a sampling period asynchronous to the predetermined period, and calculate the number of encoder pulses. The motor speed can be calculated by performing correction, and when using the encoder pulse period to calculate the speed, the average value of the encoder pulse period can be calculated from the integrated period, and the average value of the encoder pulse period can be calculated using the integrated period. It is possible to calculate the motor speed using the encoder signal period, and no matter which method is used to calculate the speed, the encoder signal frequency and period data are used, and the motor speed cannot be detected. Improve accuracy,
Moreover, the detection accuracy can be made almost constant over a wide range of speeds.

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

第1図は、本発明の原理構成を示した構成図、第2図は
CPUの機能をブロックとして説明したブロック図、第
3図は速度検出部の構成を示したブロック図、第4図は
第3図の更に詳細な構造を示したブロック図、345図
は速度制御の流れを示すフローチャート図、第6図は第
4図回路の動作を示す信号波形図、第7図は速度演算の
工程を示す流れ図、第8図は、速度演算の過程を示す信
号波形図、第9図は、検出精度を比較した表置である。 1・・・モータ     2・・・エンコーダ24・・
・タイミング発生部 26・・・周期測定部 28・・・周期積算部 30・・・周波数検出部 違庵旧1七者pt=ブO−、’7e 第3図 I11’l雇p妃乳m示17〇−今ν−F瓜凸第5図
Fig. 1 is a block diagram showing the principle structure of the present invention, Fig. 2 is a block diagram explaining the functions of the CPU as blocks, Fig. 3 is a block diagram showing the structure of the speed detection section, and Fig. 4 is a block diagram showing the structure of the speed detection section. Fig. 3 is a block diagram showing a more detailed structure, Fig. 345 is a flowchart showing the speed control flow, Fig. 6 is a signal waveform diagram showing the operation of the circuit shown in Fig. 4, and Fig. 7 is the speed calculation process. FIG. 8 is a signal waveform diagram showing the speed calculation process, and FIG. 9 is a table showing a comparison of detection accuracy. 1...Motor 2...Encoder 24...
・Timing generation section 26...Period measurement section 28...Period integration section 30...Frequency detection section Showing 170-now ν-F melon convex figure 5

Claims (1)

【特許請求の範囲】 1)モータ速度指令信号とエンコーダを介し検出される
モータ速度信号の偏差に従ってモータの速度を制御する
モータ速度制御装置において、エンコーダ信号の周期測
定用クロック信号を発生するクロック発生手段と、 エンコーダ信号の周期を前記クロック信号を計数するこ
とにより測定する手段と、 前記周期を所定の期間にわたって積算する手段と、 前記所定の期間と非同期のサンプリング期間内のエンコ
ーダ信号のパルス数を検出する手段とを設け、 前記サンプリング期間内のエンコーダパルス数の整数部
および小数部を求め、エンコーダパルス数の補正を行っ
てモータ速度の演算を行うようにしたことを特徴とする
モータ速度制御装置。 2)モータ速度指令信号とエンコーダを介し検出される
モータ速度信号の偏差に従ってモータの速度を制御する
モータ速度制御装置において、エンコーダ信号の周期測
定用クロック信号を発生するクロック発生手段と、 エンコーダ信号の周期を前記クロック信号を計数するこ
とにより測定する手段と、 前記周期を所定の期間にわたって積算する手段とを設け
、 前記積算された周期によりエンコーダ信号周期の平均値
を求め、平均化されたエンコーダ信号周期を用いてモー
タ速度の演算を行うようにしたことを特徴とするモータ
速度制御装置。
[Claims] 1) A clock generator that generates a clock signal for measuring the period of an encoder signal in a motor speed control device that controls the speed of a motor according to the deviation between a motor speed command signal and a motor speed signal detected via an encoder. means for measuring the period of the encoder signal by counting the clock signal; means for integrating the period over a predetermined period; and means for measuring the number of pulses of the encoder signal within a sampling period asynchronous to the predetermined period. A motor speed control device comprising: a means for detecting, and calculating an integer part and a decimal part of the number of encoder pulses within the sampling period, correcting the number of encoder pulses, and calculating the motor speed. . 2) In a motor speed control device that controls the speed of a motor according to a deviation between a motor speed command signal and a motor speed signal detected via an encoder, a clock generating means for generating a clock signal for measuring the period of the encoder signal; means for measuring the period by counting the clock signal, and means for integrating the period over a predetermined period, and calculating an average value of the encoder signal period from the integrated period, and calculating the average value of the encoder signal period. A motor speed control device characterized in that a motor speed is calculated using a period.
JP63270700A 1988-10-28 1988-10-28 Motor speed controller Pending JPH02119591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63270700A JPH02119591A (en) 1988-10-28 1988-10-28 Motor speed controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63270700A JPH02119591A (en) 1988-10-28 1988-10-28 Motor speed controller

Publications (1)

Publication Number Publication Date
JPH02119591A true JPH02119591A (en) 1990-05-07

Family

ID=17489743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63270700A Pending JPH02119591A (en) 1988-10-28 1988-10-28 Motor speed controller

Country Status (1)

Country Link
JP (1) JPH02119591A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0515184A (en) * 1991-07-03 1993-01-22 Matsushita Electric Ind Co Ltd Speed detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0515184A (en) * 1991-07-03 1993-01-22 Matsushita Electric Ind Co Ltd Speed detector

Similar Documents

Publication Publication Date Title
JPH01502933A (en) Frequency counting device and method
JPS58129321A (en) Digital type straight moving-quantity or turning-quantity measuring device
JPH0682573A (en) Time interval detecting circuit
WO1992012501A1 (en) Apparatus and method for improving the resolution with which a test signal is counted
JPH02119591A (en) Motor speed controller
RU2260830C1 (en) Time interval meter
JP2002116058A (en) Encoder data conversion circuit
JP3271323B2 (en) Time measurement circuit
KR950000418B1 (en) Pulse width measurement with quantisation error compensation
KR20130004993A (en) Self temperature compensated precision event timer using standard time reference frequency
JPH01124773A (en) Frequency measuring instrument
JPH0340848B2 (en)
JP2687349B2 (en) Digital PLL circuit
EP1983650A1 (en) Corrected DE translation: Differenzzeit-Digital-Wandler Corrected FR translation: Convertisseur temps différentiel-numérique
JPH02119592A (en) Motor speed controller
JP2004012279A (en) Pulse interval measurement circuit
JP4227352B2 (en) Coincidence detection apparatus and method
KR100567601B1 (en) An Apparatus For Compensating Quantization Error for Synchronous A/F converter
JPS61157282A (en) Motor controller
JP2742831B2 (en) Displacement detector
JPH07154990A (en) Motor speed controller
JP2912680B2 (en) Digital phase synchronizer
JPH02193585A (en) Digital servo device
JPH0727880A (en) High resolution time measuring device
JPH05304473A (en) Pwm system a/d converter