JPH08280189A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH08280189A
JPH08280189A JP7082516A JP8251695A JPH08280189A JP H08280189 A JPH08280189 A JP H08280189A JP 7082516 A JP7082516 A JP 7082516A JP 8251695 A JP8251695 A JP 8251695A JP H08280189 A JPH08280189 A JP H08280189A
Authority
JP
Japan
Prior art keywords
frequency
motor
signal
error value
cycle
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
JP7082516A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Okumura
信義 奥村
Antai Hirozawa
安泰 廣澤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7082516A priority Critical patent/JPH08280189A/en
Publication of JPH08280189A publication Critical patent/JPH08280189A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Of Direct Current Motors (AREA)
  • Control Of Velocity Or Acceleration (AREA)

Abstract

PURPOSE: To prevent the extremely high rotating speed of a motor by driving the motor with an output equal to the sum of the period error value corresponding to the actual period and the target period of measured FG signals, the frequency of the FG signals found from the measured FG signals, and error value of the target frequency of the FG signals. CONSTITUTION: An FG section 2 generate FG signals of a frequency proportional to the rotating speed of a motor 1. The FG signals are inputted to the input capture 3 of a microcomputer 10 which counts and latches the FG signals. A period error value calculating section 4 finds the period of the FG signals from the count value of the capture 3 and outputs the period error value corresponding to the difference between the found period and a target period. A frequency error value calculating section 11 finds the frequency of the FG signals from the count value of the capture 3 and outputs the frequency error value corresponding to the difference between the found frequency and target frequency. The motor 1 is driven through an LPF 6 and motor drive circuit 7 by adding the period and frequency error values to each other by means of an adder 12. Therefore, the run out of control of the motor 1 can be prevented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、VTRのドラムモータ
やキャプスタンモータ等の速度制御に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to speed control of drum motors and capstan motors of VTRs.

【0002】[0002]

【従来の技術】VTRのドラムサーボ系あるいはキャプ
スタンサーボ系等における速度制御方法は、アナログサ
ーボ、ディジタルサーボ、ソフトウェアサーボの方式を
問わず、FG(Frequency Generator)信号の周期に応じ
た誤差信号を検出してモータの回転速度を制御するもの
である。ここでは、マイクロコンピュータを用いたソフ
トウェアサーボの場合を例にとって説明する。
2. Description of the Related Art A speed control method for a drum servo system or a capstan servo system of a VTR is such that an error signal corresponding to the cycle of an FG (Frequency Generator) signal is generated regardless of the analog servo, digital servo or software servo system. It detects and controls the rotation speed of a motor. Here, a case of software servo using a microcomputer will be described as an example.

【0003】図5は従来のモータ制御装置の概略を示す
ブロック図である。図において、1はモータ、2はモー
タ1の回転速度に比例した周波数のFG信号を発生する
FG部、3はクロックパルスをカウントし、FG信号入
力時のカウント値をラッチするインプットキャプチャ、
4はインプットキャプチャ3のカウント値からFG信号
の周期を求め、目標値との差に応じた周期誤差値を演算
する周期誤差値演算部、5は周期誤差値演算部4の出力
に応じたデューティのPWM(Pulse Width Modulatio
n)信号を出力するPWM変換器、6はPWM信号を平
滑化するLPF(Low Pass Filter)、7はLPF6の出
力に応じてモータを駆動するモータ駆動回路、10はマ
イクロコンピュータである。周期誤差値演算部4はCP
U(Central Processing Unit)(図示せず)において
ソフトウェアで構成される。
FIG. 5 is a block diagram showing an outline of a conventional motor control device. In the figure, 1 is a motor, 2 is an FG unit that generates an FG signal having a frequency proportional to the rotation speed of the motor 1, and 3 is an input capture that counts clock pulses and latches the count value when the FG signal is input.
Reference numeral 4 denotes a cycle error value calculator that calculates the cycle of the FG signal from the count value of the input capture 3 and calculates a cycle error value according to the difference from the target value. Reference numeral 5 denotes a duty cycle corresponding to the output of the cycle error value calculator 4. PWM (Pulse Width Modulatio
n) A PWM converter that outputs a signal, 6 is an LPF (Low Pass Filter) that smoothes the PWM signal, 7 is a motor drive circuit that drives a motor according to the output of the LPF 6, and 10 is a microcomputer. The cyclic error value calculation unit 4 uses CP
It is configured by software in a U (Central Processing Unit) (not shown).

【0004】なお、VTRのドラムサーボ系あるいはキ
ャプスタンサーボ系等においては上記の構成の速度制御
ループの他に位相制御ループが付加されているが、ここ
では説明の簡略化のため省略する。
In addition, in the drum servo system or the capstan servo system of the VTR, a phase control loop is added in addition to the speed control loop having the above-mentioned configuration, but it is omitted here for simplification of description.

【0005】次に、動作について説明する。モータ1が
回転すると、FG部2において回転速度に比例した周波
数のFG信号が1回転あたりn(nは正の整数)パルス
発生し、マイクロコンピュータ10に入力され、インプ
ットキャプチャ3において入力時のカウント値がラッチ
される。
Next, the operation will be described. When the motor 1 rotates, an FG signal having a frequency proportional to the rotation speed is generated in the FG unit 2 by n (n is a positive integer) pulses per rotation, and is input to the microcomputer 10 and is counted by the input capture 3 at the time of input. The value is latched.

【0006】インプットキャプチャ3においてFG信号
入力時のカウント値がラッチされると、まず周期誤差値
演算部4において以下の演算がなされる。PWM信号の
ビット数をM、その時点でラッチされたカウント値をT
n 、一回前の時点でラッチされたカウント値をTn-1
ゲインを調整するための係数をK1 とし、 TFG=Tn −Tn-11 =(TFG−T0 )×K1 を計算する。ただし、T0 はFG信号の周期が目標値の
ときのTFGの値である。
When the count value at the time of inputting the FG signal is latched in the input capture 3, the following calculation is first performed in the period error value calculation section 4. The number of bits of the PWM signal is M, and the count value latched at that time is T
n , the count value latched at the previous time point is T n-1 ,
Let K 1 be a coefficient for adjusting the gain, and calculate T FG = T n −T n−1 N 1 = (T FG −T 0 ) × K 1 . However, T 0 is the value of T FG when the cycle of the FG signal is the target value.

【0007】次に、N1 の範囲を比較し、 N1 ≧2M-1 ならば N1 =2M-1 −1 N1 <−2M-1 ならば N1 =−2M-1 −2M-1 ≦N1 <2M-1 ならば N1 はそのまま とする。Next, the ranges of N 1 are compared, and if N 1 ≧ 2 M-1 , N 1 = 2 M-1 -1 N 1 <-2 M-1 If N 1 = -2 M-1 If -2 M-1 ≤ N 1 <2 M-1 , leave N 1 unchanged.

【0008】モータ1の回転速度が目標値のとき、すな
わちFG信号の周期が目標値のときN1 =0となり、モ
ータ1の回転速度が目標値より遅いとき、すなわちFG
信号の周期が目標値より大きいとき、N1 は正の値とな
り、モータ1の回転速度が目標値より速いとき、すなわ
ちFG信号の周期が目標値より小さいとき、N1 は負の
値となる。
When the rotation speed of the motor 1 is the target value, that is, when the cycle of the FG signal is the target value, N 1 = 0, and when the rotation speed of the motor 1 is slower than the target value, that is, FG
When the cycle of the signal is larger than the target value, N 1 becomes a positive value, and when the rotation speed of the motor 1 is faster than the target value, that is, when the cycle of the FG signal is smaller than the target value, N 1 becomes a negative value. .

【0009】さらに、PWM変換するために、 N0 =N1 +2M-1 とする。また、次回の演算に備え、カウント値Tn をT
n-1 に代入する。
Further, for PWM conversion, N 0 = N 1 +2 M-1 . In addition, the count value T n is set to T in preparation for the next calculation.
Substitute in n-1 .

【0010】PWM変換器5においては、周期誤差値演
算部4の出力N0の値に応じてデューティN0 /2M ×
100%のPWM信号が出力される。
[0010] In PWM converter 5, the duty N 0/2 M × according to the value of the output N 0 of the periodic error value computing section 4
A 100% PWM signal is output.

【0011】モータ1の回転速度が目標値のとき、すな
わちFG信号の周期が目標値のときN1 =0であるから
0 =2M-1 となり、PWM信号のデューティは50%
となる。モータ1の回転速度が目標値より遅いとき、す
なわちFG信号の周期が目標値より大きいとき、N1
正の値となるからN0 >2M-1 となり、PWM信号のデ
ューティは50%より大きくなる。モータ1の回転速度
が目標値より速いとき、すなわちFG信号の周期が目標
値より小さいとき、N1 は負の値となるからN0 <2
M-1 となり、PWM信号のデューティは50%より小さ
くなる。
When the rotation speed of the motor 1 is the target value, that is, when the period of the FG signal is the target value, N 1 = 0, so N 0 = 2 M -1 , and the duty of the PWM signal is 50%.
Becomes When the rotation speed of the motor 1 is slower than the target value, that is, when the cycle of the FG signal is larger than the target value, N 1 becomes a positive value, so N 0 > 2 M−1 , and the duty of the PWM signal is 50% or more. growing. When the rotation speed of the motor 1 is faster than the target value, that is, when the cycle of the FG signal is smaller than the target value, N 1 becomes a negative value, so N 0 <2
It becomes M-1 , and the duty of the PWM signal becomes smaller than 50%.

【0012】このようにモータ1の回転速度に応じたデ
ューティのPWM信号がLPF6において平滑化され、
モータ駆動回路7に入力される。モータ駆動回路7は、
所定の負荷トルクに対しデューティ50%のPWM信号
で所定の回転速度になるように、リファレンス電圧が調
整されており、モータ1の回転速度が速ければ減速する
ように、遅ければ加速するようにモータ1が駆動され、
モータ1の回転速度が目標値に近づくように速度制御が
なされる。
In this way, the PWM signal having a duty corresponding to the rotation speed of the motor 1 is smoothed by the LPF 6,
It is input to the motor drive circuit 7. The motor drive circuit 7 is
The reference voltage is adjusted so that a predetermined rotation speed is obtained by a PWM signal having a duty of 50% with respect to a predetermined load torque. The motor 1 is decelerated when the rotation speed is high, and is accelerated when the rotation speed is low. 1 is driven,
Speed control is performed so that the rotation speed of the motor 1 approaches the target value.

【0013】このときのFG信号の周期とN0 の関係を
図6aおよび図6bに示す。係数K1 が十分大きい場合
は、図6aに示したようにN0 はFG信号の周期に応じ
0から(2M −1)の範囲の値をとる。しかし、係数K
1 を十分大きくできない場合は、仮に回転速度が無限大
に近づいてFG信号の周期が0になったとしても、 N1 =(0−T0 )×K1 >−2M-1 となり、N0 は(2M-1 −T0 ×K1 )から(2M
1)の範囲の値しかとらず、FG信号の周期が短いほう
へずれた場合の出力範囲が狭くなってしまう。
The relationship between the period of the FG signal and N 0 at this time is shown in FIGS. 6a and 6b. When the coefficient K 1 is sufficiently large, N 0 takes a value in the range of 0 to (2 M −1) according to the period of the FG signal as shown in FIG. 6a. However, the coefficient K
If 1 cannot be made sufficiently large, even if the rotation speed approaches infinity and the period of the FG signal becomes 0, N 1 = (0−T 0 ) × K 1 > −2 M−1 , and N 0 is (2 M-1 −T 0 × K 1 ) to (2 M
Only the value in the range of 1) is taken, and the output range becomes narrow when the cycle of the FG signal deviates to the shorter side.

【0014】[0014]

【発明が解決しようとする課題】従来のモータ制御装置
は以上のように構成されているので、係数K1 を十分大
きくできない場合、負荷トルクが所定の値より小さくな
ったり、あるいはモータ駆動回路のリファレンス電圧の
調整精度が不十分であったりして、モータの回転速度が
速いほうへずれると、回転速度が極端に速くなってしま
い、殆ど暴走状態になってしまうという問題点があっ
た。
Since the conventional motor control device is constructed as described above, when the coefficient K 1 cannot be made sufficiently large, the load torque becomes smaller than a predetermined value, or the motor drive circuit If the reference voltage adjustment accuracy is insufficient or the motor rotation speed deviates to a higher speed, the rotation speed becomes extremely high, resulting in a runaway condition.

【0015】本発明は上記のような問題点を解消するた
めになされたもので、係数K1 を十分大きくできない場
合でも、出力範囲を広くとることができ、負荷トルクが
所定の値より小さくなったり、あるいはモータ駆動回路
のリファレンス電圧の調整精度が不十分であったりして
も、回転速度が極端に速くなってしまうのを防ぐことの
できるモータ制御装置を得ることを目的とする。
The present invention has been made in order to solve the above problems, and even when the coefficient K 1 cannot be made sufficiently large, the output range can be widened and the load torque becomes smaller than a predetermined value. It is an object of the present invention to provide a motor control device that can prevent the rotation speed from becoming extremely high even if the adjustment accuracy of the reference voltage of the motor drive circuit is insufficient.

【0016】[0016]

【課題を解決するための手段】本発明の請求項1に係る
モータ制御装置は、FG信号の周期を計測する計測手段
と、計測されたFG信号の周期と目標とするFG信号の
周期の差に応じた周期誤差値を演算する演算手段と、計
測されたFG信号の周期からFG信号の周波数を演算
し、これと目標とするFG信号の周波数の差に応じた周
波数誤差値を演算する演算手段と、周期誤差値と周波数
誤差値を加算する加算手段と、加算手段の出力に応じて
モータを駆動するモータ駆動手段を備えたものである。
According to a first aspect of the present invention, there is provided a motor control device for measuring a cycle of an FG signal, and a difference between a cycle of the measured FG signal and a cycle of a target FG signal. And a calculation means for calculating a cycle error value according to the above, and a calculation for calculating the frequency of the FG signal from the measured cycle of the FG signal and calculating a frequency error value according to the difference between this and the frequency of the target FG signal. Means, an addition means for adding the cycle error value and the frequency error value, and a motor drive means for driving the motor according to the output of the addition means.

【0017】また、本発明の請求項2に係るモータ制御
装置は、FG信号の周期を計測する計測手段と、計測さ
れたFG信号の周期と目標とするFG信号の周期の差に
応じた周期誤差値を演算する演算手段と、計測されたF
G信号の周期からFG信号の周波数を演算し、これと目
標とするFG信号の周波数の差に応じた周波数誤差値を
演算する演算手段と、周期誤差値と周波数誤差値を切り
換える切り換え手段と、切り換え手段の出力に応じてモ
ータを駆動するモータ駆動手段を備えたものである。
Further, a motor control device according to a second aspect of the present invention has a measuring means for measuring the cycle of the FG signal, and a cycle corresponding to the difference between the cycle of the measured FG signal and the cycle of the target FG signal. A calculation means for calculating an error value and the measured F
Calculating means for calculating the frequency of the FG signal from the cycle of the G signal and calculating a frequency error value corresponding to the difference between the frequency of the FG signal and the frequency of the target FG signal; and switching means for switching the cycle error value and the frequency error value. The motor drive means is provided for driving the motor according to the output of the switching means.

【0018】また、本発明の請求項3に係るモータ制御
装置は、FG信号の周期を計測する計測手段と、計測さ
れたFG信号の周期と目標とするFG信号の周期の差に
応じた周期誤差値を演算する演算手段と、計測されたF
G信号の周期からFG信号の周波数を演算し、これと目
標とするFG信号の周波数の差に応じた周波数誤差値を
演算する演算手段を備えたものである。
According to a third aspect of the present invention, the motor control device measures the period of the FG signal, and a period corresponding to the difference between the period of the measured FG signal and the period of the target FG signal. A calculation means for calculating an error value and the measured F
The calculation means calculates the frequency of the FG signal from the cycle of the G signal and calculates the frequency error value according to the difference between the frequency of the FG signal and the frequency of the target FG signal.

【0019】[0019]

【作用】本発明の請求項1に係るモータ制御装置におい
ては、FG信号の周期が目標値より小さい領域における
出力範囲が周期誤差値より広い周波数誤差値が周期誤差
値と加算して出力されるので、FG信号の周期が短いほ
うへずれた場合すなわちモータ回転速度が速いほうへず
れた場合でも、広範囲の出力が得られる。
In the motor control device according to the first aspect of the present invention, the frequency error value in which the output range in the region where the cycle of the FG signal is smaller than the target value is wider than the cycle error value is added to the cycle error value and output. Therefore, even when the cycle of the FG signal deviates to the shorter side, that is, the motor rotation speed deviates to the faster side, a wide range of output can be obtained.

【0020】本発明の請求項2に係るモータ制御装置に
おいては、FG信号の周期が目標値より小さい場合に
は、FG信号の周期が目標値より小さい領域における出
力範囲が周期誤差値より広い周波数誤差値が周期誤差値
と切り換えて出力されるので、FG信号の周期が短いほ
うへずれた場合すなわちモータ回転速度が速いほうへず
れた場合でも、広範囲の出力が得られる。
In the motor control device according to the second aspect of the present invention, when the cycle of the FG signal is smaller than the target value, the output range in the region where the cycle of the FG signal is smaller than the target value is wider than the cycle error value. Since the error value is output by switching to the cyclic error value, a wide range of output can be obtained even when the cycle of the FG signal deviates to the shorter side, that is, when the motor rotation speed deviates to the faster side.

【0021】本発明の請求項3に係るモータ制御装置に
おいては、FG信号の周期を計測し、FG信号の周期に
応じた値で除算を行うことにより、FG信号の周波数に
応じた値が求められる。
In the motor control device according to the third aspect of the present invention, the period corresponding to the frequency of the FG signal is obtained by measuring the period of the FG signal and performing division by the value corresponding to the period of the FG signal. To be

【0022】[0022]

【実施例】【Example】

実施例1.図1は実施例1におけるモータ制御装置の概
略を示すブロック図である。図において、1はモータ、
2はモータ1の回転速度に比例した周波数のFG信号を
発生するFG部、3はクロックパルスをカウントし、F
G信号入力時のカウント値をラッチするインプットキャ
プチャ、4はインプットキャプチャ3のカウント値から
FG信号の周期を求め、目標値との差に応じた周期誤差
値を演算する周期誤差値演算部、11はインプットキャ
プチャ3のカウント値からFG信号の周波数を求め、目
標値との差に応じた周波数誤差値を演算する周波数誤差
値演算部、12は周期誤差値と周波数誤差値を加算する
加算部、5は加算部12の出力に応じたデューティのP
WM信号を出力するPWM変換器、6はPWM信号を平
滑化するLPF、7はLPF6の出力に応じてモータを
駆動するモータ駆動回路、10はマイクロコンピュータ
である。周期誤差値演算部4、周波数誤差値演算部1
1、加算部12はCPU(図示せず)においてソフトウ
ェアで構成される。
Example 1. FIG. 1 is a block diagram showing an outline of a motor control device according to the first embodiment. In the figure, 1 is a motor,
2 is an FG unit that generates an FG signal having a frequency proportional to the rotation speed of the motor 1, and 3 is a clock pulse,
An input capture 4 for latching a count value at the time of inputting a G signal, a cycle error value calculator 4 for calculating the cycle of the FG signal from the count value of the input capture 3 and calculating a cycle error value according to a difference from a target value, 11 Is a frequency error value calculation unit that calculates the frequency of the FG signal from the count value of the input capture 3 and calculates a frequency error value according to the difference from the target value; 12 is an addition unit that adds the cycle error value and the frequency error value; 5 is P of duty according to the output of the addition unit 12
A PWM converter that outputs a WM signal, 6 is an LPF that smoothes the PWM signal, 7 is a motor drive circuit that drives a motor according to the output of the LPF 6, and 10 is a microcomputer. Period error value calculator 4 and frequency error value calculator 1
1, the addition unit 12 is configured by software in a CPU (not shown).

【0023】なお、実際には上記の構成の速度制御ルー
プの他に位相制御ループが付加されることもあるが、こ
こでは説明の簡略化のため省略する。
In practice, a phase control loop may be added in addition to the speed control loop having the above configuration, but it is omitted here for simplification of description.

【0024】次に、この実施例の動作について説明す
る。モータ1が回転すると、FG部2において回転速度
に比例した周波数のFG信号が1回転あたりn(nは正
の整数)パルス発生し、マイクロコンピュータ10に入
力され、インプットキャプチャ3において入力時のカウ
ント値がラッチされる。
Next, the operation of this embodiment will be described. When the motor 1 rotates, an FG signal having a frequency proportional to the rotation speed is generated in the FG unit 2 by n (n is a positive integer) pulses per rotation, and is input to the microcomputer 10 and is counted by the input capture 3 at the time of input. The value is latched.

【0025】インプットキャプチャ3においてFG信号
入力時のカウント値がラッチされると、まず周期誤差値
演算部4において以下の演算がなされる。PWM信号の
ビット数をM、その時点でラッチされたカウント値をT
n 、一回前の時点でラッチされたカウント値をTn-1
ゲインを調整するための係数をK1 とし、 TFG=Tn −Tn-11 =(TFG−T0 )×K1 を計算する。ただし、T0はFG信号の周期が目標値の
ときのTFGの値である。
When the count value at the time of inputting the FG signal is latched in the input capture 3, the following calculation is first performed in the period error value calculation section 4. The number of bits of the PWM signal is M, and the count value latched at that time is T
n , the count value latched at the previous time point is T n-1 ,
Let K 1 be a coefficient for adjusting the gain, and calculate T FG = T n −T n−1 N 1 = (T FG −T 0 ) × K 1 . However, T 0 is the value of T FG when the cycle of the FG signal is the target value.

【0026】モータ1の回転速度が目標値のとき、すな
わちFG信号の周期が目標値のときN1 =0となり、モ
ータ1の回転速度が目標値より遅いとき、すなわちFG
信号の周期が目標値より大きいとき、N1 は正の値とな
り、モータ1の回転速度が目標値より速いとき、すなわ
ちFG信号の周期が目標値より小さいとき、N1 は負の
値となる。このときのFG信号の周期とN1 の関係を図
2aおよび図2bに示す。図2bは図2aのT0付近を
拡大表示したものである。
When the rotation speed of the motor 1 is the target value, that is, when the cycle of the FG signal is the target value, N 1 = 0, and when the rotation speed of the motor 1 is slower than the target value, that is, FG
When the cycle of the signal is larger than the target value, N 1 becomes a positive value, and when the rotation speed of the motor 1 is faster than the target value, that is, when the cycle of the FG signal is smaller than the target value, N 1 becomes a negative value. . The relationship between the cycle of the FG signal and N 1 at this time is shown in FIGS. 2a and 2b. FIG. 2b is an enlarged display of the vicinity of T 0 in FIG. 2a.

【0027】ここで、インプットキャプチャ3のクロッ
クパルスの周波数をfCK、FG信号の周波数をfFGとす
ると、N1 は、 N1 =(fCK/fFG−T0 )×K1 と表わせるので、FG信号の周波数に対するN1 のゲイ
ンG1 は、 G1 =−fCK/fFG 2 ×K となる。FG信号の周波数の目標値をfFG0 とする
と、目標値付近におけるゲインG1 は、 G1 =−fCK/fFG0 2×K1 となる。
When the frequency of the clock pulse of the input capture 3 is f CK and the frequency of the FG signal is f FG , N 1 can be expressed as N 1 = (f CK / f FG -T 0 ) × K 1. Therefore, the gain G 1 of N 1 with respect to the frequency of the FG signal is G 1 = −f CK / f FG 2 × K 1 . When the target value of the frequency of the FG signal is f FG0 , the gain G 1 near the target value is G 1 = −f CK / f FG0 2 × K 1 .

【0028】N1 は加算部12へのひとつの入力とな
り、TFGは周波数誤差値演算部11への入力となる。周
波数誤差値演算部11において以下の演算がなされる。
ゲインを調整するための係数をK2 とし、 N2 =−(K2/TFG−K3 ) を計算する。ただし、 K3 =K2 /T0 であり、K2 /TFGはFG信号の周波数に比例した値と
なる。
N 1 is one input to the adder 12, and T FG is an input to the frequency error value calculator 11. The frequency error value calculation unit 11 performs the following calculations.
Let K 2 be the coefficient for adjusting the gain, and calculate N 2 = − (K 2 / T FG −K 3 ). However, K 3 = K 2 / T 0 , and K 2 / T FG has a value proportional to the frequency of the FG signal.

【0029】モータ1の回転速度が目標値のとき、すな
わちFG信号の周波数が目標値のときN2 =0となり、
モータ1の回転速度が目標値より遅いとき、すなわちF
G信号の周波数が目標値より小さいとき、N2 は正の値
となり、モータ1の回転速度が目標値より速いとき、す
なわちFG信号の周波数が目標値より大きいとき、N2
は負の値となる。このときのFG信号の周期とN2 の関
係を図2aおよび図2bに示す。
When the rotation speed of the motor 1 is the target value, that is, when the frequency of the FG signal is the target value, N2 = 0,
When the rotation speed of the motor 1 is slower than the target value, that is, F
When the frequency of the G signal is lower than the target value, N2 becomes a positive value, and when the rotation speed of the motor 1 is faster than the target value, that is, when the frequency of the FG signal is higher than the target value, N2
Is a negative value. The relationship between the period of the FG signal and N2 at this time is shown in FIGS. 2a and 2b.

【0030】ここで、N2 は、N2 =−(K2 ×fFG
CK−K3 )と表わせるので、FG信号の周波数に対す
るN2 のゲインG2 は、 G2 =−K2 /fCK となる。FG信号の周波数の目標値付近でG1 =G2
なるようにK1 とK2 を設定すれば周期誤差値演算部4
と周波数誤差値演算部11のゲインは等しくなる。
Here, N 2 is N 2 =-(K 2 × f FG /
Since it can be expressed as f CK −K 3 ), the gain G 2 of N 2 with respect to the frequency of the FG signal is G 2 = −K 2 / f CK . If K 1 and K 2 are set so that G 1 = G 2 near the target value of the frequency of the FG signal, the cyclic error value calculation unit 4
And the gain of the frequency error value calculation unit 11 become equal.

【0031】次に、加算部12において以下の演算を行
う。 N3 =(N1 +N2 )/2 さらに、N3 の範囲を比較し、 N3 ≧2M-1 ならば N3 =2M-1 −1 N3 <−2M-1 ならば N3 =−2M-1 −2M-1 ≦N3 <2M-1 ならば N3 はそのまま とする。このときのFG信号の周期とN3の関係を図2
aおよび図2bに示す。
Next, the addition unit 12 performs the following calculation. N 3 = (N 1 + N 2 ) / 2 Further, the ranges of N 3 are compared, and if N 3 ≧ 2 M−1, then N 3 = 2 M−1 −1 N 3 <−2 M−1, then N 3 = -2 M-1 -2 M -1 ≦ N 3 <2 M-1 if N 3 is left as it is. The relationship between the cycle of the FG signal and N3 at this time is shown in FIG.
a and FIG. 2b.

【0032】次に、PWM変換するために、 N0 =N3 +2M-1 とする。また、カウント値Tn をTn-1 に代入し、次回
の演算に備える。
Next, N 0 = N 3 +2 M-1 is set for PWM conversion. Further, the count value T n is substituted for T n−1 to prepare for the next calculation.

【0033】PWM変換器5においては、加算部12の
出力N0 の値に応じて、デューティN0 /2M ×100
%のPWM信号が出力される。
[0033] In PWM converter 5, according to the value of the output N 0 of the adder 12, the duty N 0/2 M × 100
% PWM signal is output.

【0034】モータ1の回転速度が目標値のとき、すな
わちFG信号の周波数が目標値のときN1 =N2 =0で
あるからN0 =2M-1 となり、PWM信号のデューティ
は50%となる。モータ1の回転速度が目標値より遅い
とき、すなわちFG信号の周波数が目標値より小さいと
き、N1 、N2 は正の値となるからN0 >2M-1 とな
り、PWM信号のデューティは50%より大きくなる。
モータ1の回転速度が目標値より速いとき、すなわちF
G信号の周波数が目標値より大きいとき、N1 、N2
負の値となるからN0 <2M-1 となり、PWM信号のデ
ューティは50%より小さくなる。
When the rotation speed of the motor 1 is the target value, that is, when the frequency of the FG signal is the target value, N 1 = N 2 = 0, so N 0 = 2 M -1 , and the duty of the PWM signal is 50%. Becomes When the rotation speed of the motor 1 is slower than the target value, that is, when the frequency of the FG signal is smaller than the target value, N 1 and N 2 are positive values, so N 0 > 2 M−1 , and the duty of the PWM signal is Greater than 50%.
When the rotation speed of the motor 1 is faster than the target value, that is, F
When the frequency of the G signal is higher than the target value, N 1 and N 2 have negative values, so N 0 <2 M−1 , and the duty of the PWM signal becomes smaller than 50%.

【0035】このようにモータ1の回転速度に応じたデ
ューティのPWM信号がLPF6において平滑化され、
モータ駆動回路7に入力される。モータ駆動回路7は、
所定の負荷トルクに対しデューティ50%のPWM信号
で所定の回転速度になるように、リファレンス電圧が調
整されており、モータ1の回転速度が速ければ減速する
ように、遅ければ加速するようにモータ1が駆動され、
モータ1の回転速度が目標値に近づくように速度制御が
なされる。
In this way, the PWM signal having a duty corresponding to the rotation speed of the motor 1 is smoothed by the LPF 6,
It is input to the motor drive circuit 7. The motor drive circuit 7 is
The reference voltage is adjusted so that a predetermined rotation speed is obtained by a PWM signal having a duty of 50% with respect to a predetermined load torque. The motor 1 is decelerated when the rotation speed is high, and is accelerated when the rotation speed is low. 1 is driven,
Speed control is performed so that the rotation speed of the motor 1 approaches the target value.

【0036】もし、係数K1 を十分大きくできない場
合、負荷トルクが所定の値より小さくなったり、あるい
はモータ駆動回路のリファレンス電圧の調整精度が不十
分であったりして、モータの回転速度が速いほうへずれ
たとしても、図2aおよび図2bに示したように加算部
の出力N0は、周期誤差出力N1と比べ、FG信号の周期
が目標値より小さい側ではゲインが大きく、出力範囲も
広くなっているので、従来と比べモータの回転速度が速
くなってしまう度合は軽減される。
If the coefficient K 1 cannot be increased sufficiently, the load torque becomes smaller than a predetermined value, or the reference voltage adjustment accuracy of the motor drive circuit is insufficient, so that the motor rotation speed is high. even shifted to boric, the output N 0 of the adder as shown in FIGS. 2a and 2b, compared with the period error output N 1, the period of the FG signal is large the gain is the goal value is less than the side, the output range Since it is also wide, the degree to which the rotation speed of the motor becomes faster than in the past is reduced.

【0037】実施例2.なお、上記実施例では周期誤差
値演算部4の出力と周波数誤差値演算部11の出力を加
算して用いる方法について示したが、周期誤差値演算部
4の出力と周波数誤差値演算部11の出力を切り換えて
用いるようにしてもよい。図3は本発明の実施例2にお
けるモータ制御装置の概略を示すブロック図である。図
において、周期誤差値演算部4の出力と周波数誤差値演
算部11の出力が加算部12に入力されるかわりに、新
たに設けられた切り換え部13に入力され、切り換え部
13の出力がPWM変換器5に入力される点を除いて
は、図1に示した実施例1の場合と同じである。
Example 2. In the above embodiment, the method of adding and using the output of the period error value calculating unit 4 and the output of the frequency error value calculating unit 11 has been described, but the output of the period error value calculating unit 4 and the frequency error value calculating unit 11 are used. The output may be switched and used. FIG. 3 is a block diagram showing an outline of a motor control device according to the second embodiment of the present invention. In the figure, instead of the output of the period error value calculation unit 4 and the output of the frequency error value calculation unit 11 being input to the addition unit 12, they are input to a newly provided switching unit 13, and the output of the switching unit 13 is PWM. It is the same as the case of the first embodiment shown in FIG. 1 except that it is inputted to the converter 5.

【0038】次に、この実施例の動作について説明す
る。モータ1が回転すると、FG部2において回転速度
に比例した周波数のFG信号が1回転あたりn(nは正
の整数)パルス発生し、マイクロコンピュータ10に入
力され、インプットキャプチャ3において入力時のカウ
ント値がラッチされる。
Next, the operation of this embodiment will be described. When the motor 1 rotates, an FG signal having a frequency proportional to the rotation speed is generated in the FG unit 2 by n (n is a positive integer) pulses per rotation, and is input to the microcomputer 10 and is counted by the input capture 3 at the time of input. The value is latched.

【0039】インプットキャプチャ3においてFG信号
入力時のカウント値がラッチされると、まず周期誤差値
演算部4において周期誤差値N1 が演算され、次に周波
数誤差値演算部11において周波数誤差値N2 が演算さ
れる。演算方法は実施例1の場合と同様なので説明を省
略する。
When the count value at the time of inputting the FG signal is latched in the input capture 3, the period error value calculation unit 4 first calculates the period error value N 1 , and then the frequency error value calculation unit 11 calculates the frequency error value N 1. 2 is calculated. The calculation method is the same as in the case of the first embodiment, so the explanation is omitted.

【0040】次に、周期誤差値演算部4の演算結果に基
づき、切り換え部13において以下の処理がなされる。 N1 ≧0 ならば N3 =N11 <0 ならば N3 =N2 すなわち、FG信号の周波数が目標値以下であればN3
として周期誤差値N1 が選択され、FG信号の周波数が
目標値より大きければN3 として周波数誤差値N2 が選
択される。さらに、N3 の範囲を比較し、 N3 ≧2M-1 ならば N3 =2M-1 −1 N3 <−2M-1 ならば N3 =−2M-1 −2M-1 ≦N3 <2M-1 ならば N3 はそのまま とする。このときのFG信号の周期とN3 、N1 、N2
の関係を図4aおよび図4bに示す。図4bは図4aの
0 付近を拡大表示したものである。
Next, the following processing is performed in the switching section 13 based on the calculation result of the cyclic error value calculation section 4. If N 1 ≧ 0, then N 3 = N 1 If N 1 <0, then N 3 = N 2, that is, if the frequency of the FG signal is below the target value, then N 3
The cycle error value N 1 is selected as, and if the frequency of the FG signal is larger than the target value, the frequency error value N 2 is selected as N 3 . Furthermore, the ranges of N 3 are compared, and if N 3 ≧ 2 M−1, then N 3 = 2 M−1 −1 N 3 <−2 M−1 then N 3 = −2 M−1 −2 M− If 1 ≤ N 3 <2 M-1 , leave N 3 unchanged. The period of the FG signal at this time and N 3 , N 1 , and N 2
Are shown in FIGS. 4a and 4b. FIG. 4b is an enlarged view of the vicinity of T 0 in FIG. 4a.

【0041】次に、PWM変換するために N0 =N3 +2M-1 とする。また、次回の演算に備え、カウント値Tn をT
n-1に代入する。
Next, N 0 = N 3 +2 M-1 is set for PWM conversion. In addition, the count value T n is set to T in preparation for the next calculation.
Substitute in n-1 .

【0042】PWM変換器5においては、切り換え部1
3の出力N0 の値に応じて、デューティN0 /2M ×1
00%のPWM信号が出力される。
In the PWM converter 5, the switching unit 1
3 according to the value of the output N 0, Duty N 0/2 M × 1
A PWM signal of 00% is output.

【0043】モータ1の回転速度が目標値のとき、すな
わちFG信号の周波数が目標値のときN1 =0であるか
らN0 =2M-1 となり、PWM信号のデューティは50
%となる。モータ1の回転速度が目標値より遅いとき、
すなわちFG信号の周期が目標値より大きいとき、N1
は正の値となるからN0 としてN1 が選択されN0 >2
M-1 となり、PWM信号のデューティは50%より大き
くなる。モータ1の回転速度が目標値より速いとき、す
なわちFG信号の周期が目標値より小さいとき、N1
2 は負の値となるからN0 としてN2 が選択されN0
<2M-1 となり、PWM信号のデューティは50%より
小さくなる。
When the rotation speed of the motor 1 is the target value, that is, when the frequency of the FG signal is the target value, N 1 = 0, so N 0 = 2 M−1 , and the duty of the PWM signal is 50.
%. When the rotation speed of the motor 1 is slower than the target value,
That is, when the cycle of the FG signal is larger than the target value, N 1
N 1 as N 0 from a positive value is selected N 0> 2
It becomes M-1 , and the duty of the PWM signal becomes larger than 50%. When the rotation speed of the motor 1 is faster than the target value, that is, when the cycle of the FG signal is smaller than the target value, N 1 ,
N 2 is N 2 is selected as N 0 from a negative value N 0
<2 M-1 , and the duty of the PWM signal becomes smaller than 50%.

【0044】このようにモータ1の回転速度に応じたデ
ューティのPWM信号がLPF6において平滑化され、
モータ駆動回路7に入力される。モータ駆動回路7は、
所定の負荷トルクに対しデューティ50%のPWM信号
で所定の回転速度になるように、リファレンス電圧が調
整されており、モータ1の回転速度が速ければ減速する
ように、遅ければ加速するようにモータ1が駆動され、
モータ1の回転速度が目標値に近づくように速度制御が
なされる。
In this way, the PWM signal of the duty corresponding to the rotation speed of the motor 1 is smoothed by the LPF 6,
It is input to the motor drive circuit 7. The motor drive circuit 7 is
The reference voltage is adjusted so that the PWM signal having a duty of 50% with respect to a predetermined load torque provides a predetermined rotation speed. 1 is driven,
Speed control is performed so that the rotation speed of the motor 1 approaches the target value.

【0045】もし、係数K1 を十分大きくできない場
合、負荷トルクが所定の値より小さくなったり、あるい
はモータ駆動回路のリファレンス電圧の調整精度が不十
分であったりして、モータの回転速度が速いほうへずれ
たとしても、図4aおよび図4bに示したように切り換
え部の出力N0 は、周期誤差出力N1 と比べ、FG信号
の周期が目標値より小さい側ではゲインが大きく、出力
範囲も広くなっているので、従来と比べモータの回転速
度が速くなってしまう度合は軽減される。
If the coefficient K 1 cannot be increased sufficiently, the load torque becomes smaller than a predetermined value or the reference voltage adjustment accuracy of the motor drive circuit is insufficient, so that the motor rotation speed is high. 4a and 4b, the output N 0 of the switching unit has a larger gain on the side where the cycle of the FG signal is smaller than the target value and the output range is smaller than the cycle error output N 1 , as shown in FIGS. 4a and 4b. Since it is also wide, the degree to which the rotation speed of the motor becomes faster than in the past is reduced.

【0046】なお、実施例1においては、周期誤差値N
1 と周波数誤差値N2 のゲインを等しくしておき、N1
とN2 を加算して2で割って出力N0 を求めるようにし
た場合について示したが、N1 とN2 のゲインは等しく
なくてもよく、また、N1 とN2 の加算も任意の重み付
けで加算してもよい。
In the first embodiment, the cyclic error value N
1 and the gain of the frequency error value N 2 are equalized, and N 1
Although the case where the output N 0 is calculated by adding and N 2 and dividing by 2 is shown, the gains of N 1 and N 2 may not be equal, and addition of N 1 and N 2 is optional. You may add by weighting.

【0047】また、実施例2においては、周期誤差値N
1 と周波数誤差値N2 のゲインを等しくしておき、N1
が0以上か否かによってN1 とN2 を切り換えて出力N
0 とするようにした場合について示したが、N1 とN2
のゲインは等しくなくてもよく、また、N1 が0以外の
所定の値以上か否かによって切り換えてもよく、あるい
は、N1 の代わりにN2 が所定の値以上か否かによって
切り換えるようにしてもよい。
In the second embodiment, the cyclic error value N
1 and the gain of the frequency error value N 2 are equalized, and N 1
Output N by switching N 1 and N 2 depending on whether is 0 or more
Although the case where it is set to 0 is shown, N 1 and N 2
Gains may be unequal, and may be switched depending on whether N 1 is a predetermined value other than 0 or not, or may be switched depending on whether N 2 is a predetermined value or more instead of N 1. You may

【0048】また、実施例1および2においては、周波
数誤差値N2 を、 N2 =−(K2 /TFG−K3 ) として周波数のずれに比例した誤差値を用いる場合につ
いて示したが、 N2 =−(K2 /TFG−K3n ,(nは2以上の整
数) ただし、nが偶数の場合 K2 /TFG−K3 <0 な
らば N2 =−N2等として周波数のずれのn乗に比例
した誤差値を用いるようにしてもよい。
Further, in the first and second embodiments, the frequency error value N 2 is shown as N 2 =-(K 2 / T FG -K 3 ) and an error value proportional to the frequency shift is used. , N 2 = − (K 2 / T FG −K 3 ) n , (n is an integer of 2 or more) However, when n is an even number, if K 2 / T FG −K 3 <0, then N 2 = −N 2 For example, an error value proportional to the n-th power of the frequency shift may be used.

【0049】また、実施例1および2においては、FG
信号の周期が目標値のとき、周期誤差値N1 および周波
数誤差値N2 が0となるとともに、PWM信号のデュー
ティが50%となるようにした場合について示したが、
周期誤差値N1 および周波数誤差値N2 は0以外の値で
もよく、PWM信号のデューティも50%以外の値とな
るようにしてもよい。
Further, in Examples 1 and 2, FG
When the cycle of the signal is the target value, the cycle error value N 1 and the frequency error value N 2 are set to 0, and the duty of the PWM signal is set to 50%.
The cycle error value N 1 and the frequency error value N 2 may be values other than 0, and the duty of the PWM signal may be a value other than 50%.

【0050】また、実施例1および2においては、マイ
クロコンピュータを用い、周期誤差演算部や周波数誤差
演算部等をソフトウェアで処理する場合について示した
が、ディジタル回路等のハードウェアで構成してもよ
い。
Further, in the first and second embodiments, the case where the microcomputer is used and the period error calculating unit and the frequency error calculating unit are processed by software has been described, but the hardware such as a digital circuit may be used. Good.

【0051】また、実施例1および2においては、ディ
ジタル値をアナログ量に変換する手段としてPWM変換
器を用いた場合について示したが、D/Aコンバータ
等、他の変換手段でもよい。
Further, in the first and second embodiments, the case where the PWM converter is used as the means for converting the digital value into the analog amount is shown, but other conversion means such as a D / A converter may be used.

【0052】また、実施例1および2においては付加し
ていないが、制御ループの適当な位置に、(1+sτ)
/sτのような低周波数領域でゲインが大きくなるよう
な特性のフィルタ、あるいは同等の特性のディジタルフ
ィルタを付加すれば、モータの回転速度を目標値にさら
に近づけることができる。
Although not added in Examples 1 and 2, (1 + sτ) is set at an appropriate position in the control loop.
The rotation speed of the motor can be made closer to the target value by adding a filter having a characteristic such that the gain becomes large in a low frequency region such as / sτ or a digital filter having an equivalent characteristic.

【0053】[0053]

【発明の効果】本発明の請求項1記載のモータ制御装置
によれば、実施例1に示したように周期誤差値と周波数
誤差値が加算して出力されるので、FG信号の周期が短
いほうへずれた場合すなわちモータ回転速度が速いほう
へずれた場合でも、周期誤差値単独の場合と比べゲイン
が高く、広範囲の出力が得られる。従って、係数K1
十分大きくできない場合、負荷トルクが所定の値より小
さくなったり、あるいはモータ駆動回路のリファレンス
電圧の調整精度が不十分であったりして、モータの回転
速度が速いほうへずれたとしても、モータの回転速度が
極端に速くなってしまうのを防げる効果がある。
According to the motor control device of the first aspect of the present invention, since the period error value and the frequency error value are added and output as shown in the first embodiment, the period of the FG signal is short. Even when the motor rotation speed deviates to the higher direction, that is, when the motor rotation speed deviates to the higher direction, the gain is higher than that in the case of the cyclic error value alone, and a wide range output can be obtained. Therefore, when the coefficient K 1 cannot be increased sufficiently, the load torque becomes smaller than a predetermined value, or the reference voltage adjustment accuracy of the motor drive circuit is insufficient. Even if it does, it is effective in preventing the rotation speed of the motor from becoming extremely high.

【0054】本発明の請求項2記載のモータ制御装置に
よれば、実施例2に示したようにモータの回転速度が目
標値より速い場合は周期誤差値が、遅い場合は周波数誤
差値が切り換えて出力されるので、FG信号の周期が短
いほうへずれた場合すなわちモータ回転速度が速いほう
へずれた場合でも、周期誤差値単独の場合と比べゲイン
が高く、広範囲の出力が得られる。従って、係数K1
十分大きくできない場合、負荷トルクが所定の値より小
さくなったり、あるいはモータ駆動回路のリファレンス
電圧の調整精度が不十分であったりして、モータの回転
速度が速いほうへずれたとしても、モータの回転速度が
極端に速くなってしまうのを防げる効果がある。
According to the second aspect of the motor control device of the present invention, as shown in the second embodiment, the cycle error value is switched when the rotation speed of the motor is faster than the target value, and the frequency error value is switched when the rotation speed is slower than the target value. Therefore, even when the cycle of the FG signal deviates to the shorter side, that is, when the motor rotation speed deviates to the faster side, the gain is higher than that in the case of the cycle error value alone, and a wide range of output can be obtained. Therefore, when the coefficient K 1 cannot be increased sufficiently, the load torque becomes smaller than a predetermined value, or the reference voltage adjustment accuracy of the motor drive circuit is insufficient. Even if it does, it is effective in preventing the rotation speed of the motor from becoming extremely high.

【0055】本発明の請求項3記載のモータ制御装置に
よれば、実施例1および2に示したようにFG信号の周
期を計測し、FG信号の周期に応じた値で除算を行うこ
とにより、FG信号の周波数に応じた値が求められるの
で、FG信号の周期を計測する手段だけあれば、FG信
号の周波数を計測する手段を必要とせずに周波数誤差値
を得ることができる効果がある。
According to the motor control device of the third aspect of the present invention, the period of the FG signal is measured as shown in the first and second embodiments, and the division is performed by the value corresponding to the period of the FG signal. , A value corresponding to the frequency of the FG signal is obtained, so that there is an effect that the frequency error value can be obtained without the need for the means for measuring the frequency of the FG signal, only by the means for measuring the period of the FG signal. .

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

【図1】 本発明の実施例1におけるモータ制御装置の
概略を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a motor control device according to a first embodiment of the present invention.

【図2】 本発明の実施例1におけるモータ制御装置の
誤差値検出特性を示す特性図である。
FIG. 2 is a characteristic diagram showing an error value detection characteristic of the motor control device according to the first embodiment of the present invention.

【図3】 本発明の実施例2におけるモータ制御装置の
概略を示すブロック図である。
FIG. 3 is a block diagram showing an outline of a motor control device according to a second embodiment of the present invention.

【図4】 本発明の実施例2におけるモータ制御装置の
誤差値検出特性を示す特性図である。
FIG. 4 is a characteristic diagram showing an error value detection characteristic of the motor control device according to the second embodiment of the present invention.

【図5】 従来のモータ制御装置の概略を示すブロック
図である。
FIG. 5 is a block diagram showing an outline of a conventional motor control device.

【図6】 従来のモータ制御装置の誤差値検出特性を示
す特性図である。
FIG. 6 is a characteristic diagram showing an error value detection characteristic of a conventional motor control device.

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

1 モータ、2 FG部、3 インプットキャプチャ、
4 周期誤差値演算部、5 PWM変換器、6 LP
F、7 モータ駆動回路、10 マイクロコンピュー
タ、11 周波数誤差値演算部、12 加算部、13
切り換え部。
1 motor, 2 FG section, 3 input capture,
4 cycle error value calculator, 5 PWM converter, 6 LP
F, 7 Motor drive circuit, 10 Microcomputer, 11 Frequency error value calculator, 12 Adder, 13
Switching unit.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 モータと、モータを駆動するモータ駆動
手段と、モータの回転速度に比例した周波数の周波数信
号を発生する周波数信号発生手段と、前記周波数信号の
周期を計測する周期計測手段と、前記周期計測手段の出
力と目標値との差に応じた周期誤差値を演算する周期誤
差値演算手段と、前記周波数信号の周波数を計測する周
波数計測手段と、前記周波数計測手段の出力と目標値と
の差に応じた周波数誤差値を演算する周波数誤差値演算
手段と、前記周期誤差値演算手段の出力と前記周波数誤
差値演算手段の出力を加算する加算手段とを備え、前記
加算手段の出力に応じて前記モータの回転速度を制御す
ることを特徴とするモータ制御装置。
1. A motor, a motor driving means for driving the motor, a frequency signal generating means for generating a frequency signal having a frequency proportional to a rotation speed of the motor, and a cycle measuring means for measuring a cycle of the frequency signal. A cycle error value calculating means for calculating a cycle error value according to a difference between the output of the cycle measuring means and a target value, a frequency measuring means for measuring the frequency of the frequency signal, and an output of the frequency measuring means and a target value. And a frequency error value calculating means for calculating a frequency error value according to the difference between the output of the cycle error value calculating means and an output of the frequency error value calculating means. A motor control device for controlling the rotation speed of the motor according to the above.
【請求項2】 モータと、モータを駆動するモータ駆動
手段と、モータの回転速度に比例した周波数の周波数信
号を発生する周波数信号発生手段と、前記周波数信号の
周期を計測する周期計測手段と、前記周期計測手段の出
力と目標値との差に応じた周期誤差値を演算する周期誤
差値演算手段と、前記周波数信号の周波数を計測する周
波数計測手段と、前記周波数計測手段の出力と目標値と
の差に応じた周波数誤差値を演算する周波数誤差値演算
手段と、前記周期誤差値演算手段の出力と前記周波数誤
差値演算手段の出力を切り換える切り換え手段とを備
え、前記切り換え手段の出力に応じて前記モータの回転
速度を制御することを特徴とするモータ制御装置。
2. A motor, a motor driving means for driving the motor, a frequency signal generating means for generating a frequency signal having a frequency proportional to a rotation speed of the motor, and a cycle measuring means for measuring a cycle of the frequency signal. A cycle error value calculating means for calculating a cycle error value according to a difference between the output of the cycle measuring means and a target value, a frequency measuring means for measuring the frequency of the frequency signal, and an output of the frequency measuring means and a target value. A frequency error value calculating means for calculating a frequency error value according to the difference between the output of the periodic error value calculating means and a switching means for switching the output of the frequency error value calculating means. A motor control device that controls the rotation speed of the motor according to the above.
【請求項3】 前記周波数計測手段は前記周期計測手段
の出力から前記周波数信号の周波数を演算するものであ
ることを特徴とする請求項1または請求項2記載のモー
タ制御装置。
3. The motor control device according to claim 1, wherein the frequency measuring means calculates the frequency of the frequency signal from the output of the cycle measuring means.
JP7082516A 1995-04-07 1995-04-07 Motor controller Pending JPH08280189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7082516A JPH08280189A (en) 1995-04-07 1995-04-07 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7082516A JPH08280189A (en) 1995-04-07 1995-04-07 Motor controller

Publications (1)

Publication Number Publication Date
JPH08280189A true JPH08280189A (en) 1996-10-22

Family

ID=13776705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7082516A Pending JPH08280189A (en) 1995-04-07 1995-04-07 Motor controller

Country Status (1)

Country Link
JP (1) JPH08280189A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8887004B2 (en) 2011-10-28 2014-11-11 Kabushiki Kaisha Toshiba Periodic error detection method and periodic error detection circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8887004B2 (en) 2011-10-28 2014-11-11 Kabushiki Kaisha Toshiba Periodic error detection method and periodic error detection circuit

Similar Documents

Publication Publication Date Title
US5886491A (en) Position control unit for electric motor
US4851755A (en) Low power stepper motor drive system and method
US4680515A (en) Digital speed control of motors
US5309075A (en) Digital servo-control apparatus for preventing torque variations
JP3351596B2 (en) Servomotor
JPH08280199A (en) Sensor-less controller for permanent-magnet field synchronous motor
US5298841A (en) Apparatus for controlling the speed of a moving object
CN1051182C (en) Device for controlling speed of rotating motor
US20210132585A1 (en) Position or velocity control system and method
US4914361A (en) Method and apparatus for controlling the speed of moving body
JPH08280189A (en) Motor controller
JPH027276B2 (en)
CN111641359B (en) Rapid speed stabilizing method for three-phase brushless direct current motor
US5392378A (en) Speed controlling system and a predictor
EP0392023B1 (en) Tape transport
JP3263556B2 (en) Drive circuit
JP3236607B2 (en) Digital servo controller
JPH1141987A (en) Drive controller and control method for stepping motor using variable step angle and stepping motor system therefor
JPH04135217A (en) Digital servo controller
JP2607608B2 (en) Tape speed controller
JPH07337063A (en) Motor controller
JP2001352775A (en) Rotational speed detector for induction motor
CN112468040A (en) Flexible subdivision driving method for two-phase stepping motor
JP3259614B2 (en) Motor control device and control method thereof
JPH11299222A (en) Carrier generating circuit of pulse width modulation control power converter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040309

RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20040315

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040629