JPH01170386A - Controller for motor - Google Patents
Controller for motorInfo
- Publication number
- JPH01170386A JPH01170386A JP62323781A JP32378187A JPH01170386A JP H01170386 A JPH01170386 A JP H01170386A JP 62323781 A JP62323781 A JP 62323781A JP 32378187 A JP32378187 A JP 32378187A JP H01170386 A JPH01170386 A JP H01170386A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- motor
- speed
- control
- pwm 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.)
- Pending
Links
- 238000010586 diagram Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Control Of Direct Current Motors (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ロボット、NC工作機械、VTR。[Detailed description of the invention] [Industrial application field] The present invention is applicable to robots, NC machine tools, and VTRs.
CD等の事務処理機器などのように高精度な速度制御あ
るいは位置制御が要求される機械全般に用いられるモー
タの制御装置に関する。The present invention relates to a motor control device used in general machines that require highly accurate speed control or position control, such as office processing equipment such as CDs.
高精度の制御が要求されるモータの制御装置としては種
々のものが知られ、その−例を第2図に基づいて説明す
る。Various types of motor control devices that require highly accurate control are known, and examples thereof will be described with reference to FIG.
第2図において、モータ1はDCサーボモータとなり、
その回転数はエンコーダ2によりパルス数として検出さ
れてカウンタ3でパルス数をカウントしてモータ速度信
号R1としてプロセッサ4に入力されると共に、このプ
ロセッサ4には速度指令信号R2が入力されている。In FIG. 2, motor 1 is a DC servo motor,
The rotational speed is detected as a pulse number by an encoder 2, the pulse number is counted by a counter 3, and the result is inputted to a processor 4 as a motor speed signal R1, and a speed command signal R2 is also inputted to this processor 4.
前記プロセッサ4はROM5よりの演算指令に基づいて
速度指令信号R2とモータ速度信号R1の差を演算し、
その差をゼロとすべき制御信号R3を演算してPWM信
号発生器6に出力する。The processor 4 calculates the difference between the speed command signal R2 and the motor speed signal R1 based on the calculation command from the ROM 5,
A control signal R3 that should make the difference zero is calculated and output to the PWM signal generator 6.
他方、前記モータ1は第1〜第4パワーMOSFET7
1,72.73.74を介して電源8に接続され、第1
〜第4パ’7−M08FET71〜74はPWM信号発
生器6によりのPwM信号で適当なタイミングで駆動さ
れ、それによりモータ1の回転数を制御するようにしで
ある。9はコンデンサである。On the other hand, the motor 1 is connected to the first to fourth power MOSFETs 7
1,72.73.74 to the power supply 8, the first
~Fourth P'7-M08 FETs 71 to 74 are driven at appropriate timing by a PwM signal from a PWM signal generator 6, thereby controlling the rotation speed of the motor 1. 9 is a capacitor.
このようであるから、プロセッサ4よりの制御信号R3
がPWM信号発生器6に入力されると、第1〜第4パワ
ーMO8FET7.〜74をPWM信号で適当なタイミ
ングで駆動してモータ1の回転数を、速度指令信号R2
とモータ速度信号R1の差がゼロとなるように制御する
。Since this is the case, the control signal R3 from the processor 4
is input to the PWM signal generator 6, the first to fourth power MO8FETs 7. ~74 at an appropriate timing with a PWM signal to control the rotation speed of motor 1 using speed command signal R2.
The control is performed so that the difference between the motor speed signal R1 and the motor speed signal R1 becomes zero.
かかる制御装置であると、電源8の電圧が何らかの原因
で変動することがある。例えば、電源8が電池である場
合には時間の経過とともに電圧が減少する。With such a control device, the voltage of the power source 8 may fluctuate for some reason. For example, if the power source 8 is a battery, the voltage decreases over time.
他方、モータ1に流れる電流IMはそのモータ1の内部
抵抗を無視して考えるとIM郊Vt/Lとなる。但しV
は両端電圧(電源の電圧)、Lはインダクタンス、tは
スイッチング時間である。On the other hand, when considering the current IM flowing through the motor 1, ignoring the internal resistance of the motor 1, the current IM becomes Vt/L. However, V
is the voltage across both ends (voltage of the power supply), L is the inductance, and t is the switching time.
したがって、前述のようにモータ速度信号R1と速度指
令信号R2との差分をゼロとすべくPWM信号を出力す
るようにした従来のモータの制御装置においては、電源
電圧が変化するとモータ1への電流が変化してしまい、
望んだ速度ではモータは回転せず、制御がなされるまで
時間がかかる。Therefore, in the conventional motor control device that outputs a PWM signal in order to make the difference between the motor speed signal R1 and the speed command signal R2 zero, as described above, when the power supply voltage changes, the current to the motor 1 changes. has changed,
The motor will not rotate at the desired speed and it will take time for control to take effect.
そこで本発明は、電源電圧が変動してもモータ回転数を
いっそう正確に制御できるようにしたモータの制御装置
を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a motor control device that can more accurately control the motor rotation speed even when the power supply voltage fluctuates.
〔問題点を解決するための手段及び作用〕電源8に、P
WM信号で駆動される駆動回路を介して接続したモータ
1と、そのモータ1の回転数を検出してモータ速度信号
R1を出力する手段と、このモータ速度信号R1と指令
速度信号R2との差分をゼロとする制御信号R3を演算
する手段と、前記電源電圧を検出する手段と、この電源
電圧に基づいて前記制御信号R3を補正する手段と、こ
の制御信号R/3に基づいて前記駆動回路にPWM信号
を出力する手段とより構成して、電源電圧が基準電圧よ
り変動してモータ1への電流が変化してもそれに基じて
駆動回路へのPWM信号のデユーティ比を変化させ基準
電圧時と同値の電流を流し、それによってモータ1を正
確に制御できるようにしたものである。[Means and actions for solving the problem] P is connected to the power source 8.
A motor 1 connected via a drive circuit driven by a WM signal, a means for detecting the rotation speed of the motor 1 and outputting a motor speed signal R1, and a difference between this motor speed signal R1 and a command speed signal R2. means for calculating a control signal R3 that sets the value to zero; means for detecting the power supply voltage; means for correcting the control signal R3 based on the power supply voltage; and means for calculating the control signal R3 based on the control signal R/3. and a means for outputting a PWM signal to the reference voltage. This allows the motor 1 to be accurately controlled by passing a current of the same value as the current.
以下本発明の実施例を第1図を参照して説明する。なお
、従来と同一部材は符号を同一とする。Embodiments of the present invention will be described below with reference to FIG. Note that members that are the same as those in the prior art have the same reference numerals.
電源8の両端を第1、第2抵抗10.11を介して接続
することで電源8の電圧を検出し、その検出した電圧を
A−Dコンバータ12でデジタル信号化してプロセッサ
4に入力する。The voltage of the power source 8 is detected by connecting both ends of the power source 8 through the first and second resistors 10.11, and the detected voltage is converted into a digital signal by the A-D converter 12 and input to the processor 4.
プロセッサ4は従来と同様にモータ速度信号R1と速度
指令信号R2を比較演算して差分を算出し、かつその差
分をゼロとすべきP W M 信号を得る制御信号R3
を演算した後に、その時に入力された電源電圧によって
制御信号R3を補正して補正制御信号R′3をPWM信
号発生器6に出力する。As in the past, the processor 4 compares and calculates the difference between the motor speed signal R1 and the speed command signal R2, and generates a control signal R3 to obtain a P W M signal to set the difference to zero.
After calculating, the control signal R3 is corrected based on the power supply voltage input at that time, and a corrected control signal R'3 is output to the PWM signal generator 6.
前記制御信号R3を補正するとは電源電圧の変動により
PWM信号のデユーティ比を変化させることである。Correcting the control signal R3 means changing the duty ratio of the PWM signal due to fluctuations in the power supply voltage.
すなわち、前述のIM夕vt/Lの式より、電源電圧V
が基準値voの9710倍の場合、スイッチング時間t
の基準時間をtoとしたとき、1079倍するように補
正することである。That is, from the above-mentioned equation of IM vt/L, the power supply voltage V
is 9710 times the reference value vo, the switching time t
When the reference time of is set to to, the correction is made so that it is multiplied by 1079 times.
なお、以上の実施例ではDCサーボモータをパワーMO
SFETを4つ用いたHブリッジで駆動する場合につい
て述べたが、どのようなモータでもPWM方式で制御す
る制御方式ならば応用することができると共に、指定位
置信号を入力する手段を設けて前述と同様にして位置制
御するようにしても良い。In addition, in the above embodiment, the DC servo motor is
Although we have described the case where the motor is driven by an H-bridge using four SFETs, it can be applied to any type of motor as long as it is controlled by the PWM method. Position control may also be performed in a similar manner.
電源電圧が変動してもそれに応じて駆動回路へのPWM
信号が変化し、正確な制御電流を供するので、モータ1
を正確に制御できる。Even if the power supply voltage fluctuates, PWM is applied to the drive circuit accordingly.
Since the signal changes and provides accurate control current, motor 1
can be controlled precisely.
第1図は本発明の実施例を示す線図的構成説明図、第2
図は従来例の説明図である。
1はモータ、2はパルスエンコーダ、4はプロセッサ、
6はPWM信号発生器、8は電源。
出願人 株式会社 小 松 製 作 所代理人 弁
理士 米 原 正 章FIG. 1 is a diagrammatic configuration explanatory diagram showing an embodiment of the present invention, and FIG.
The figure is an explanatory diagram of a conventional example. 1 is a motor, 2 is a pulse encoder, 4 is a processor,
6 is a PWM signal generator, 8 is a power supply. Applicant Komatsu Manufacturing Co., Ltd. Representative Patent Attorney Masaaki Yonehara
Claims (1)
て接続したモータ1と、そのモータ1の回転数を検出し
てモータ速度信号R_1を出力する手段と、このモータ
速度信号R_1と指令速度信号R_2との差分をゼロと
するようにモータを駆動するための制御信号R_3を演
算する手段と、前記電源電圧を検出する手段と、この電
源電圧に基づいて前記制御信号R_3を補正する手段と
、この補正制御信号R′_3に基づいて前記駆動回路に
PWM信号を出力する手段とより構成したことをモータ
の制御装置。 2、電源電圧の変動によりPWM信号のデコーテイ比を
変化することで制御信号R_3を補正するようにしたこ
とを特徴とする特許請求の範囲第1項記載のモータの制
御装置。[Claims] 1. A motor 1 connected to a power source 8 via a drive circuit driven by a PWM signal, a means for detecting the rotation speed of the motor 1 and outputting a motor speed signal R_1, and means for calculating a control signal R_3 for driving the motor so that the difference between the motor speed signal R_1 and the command speed signal R_2 is zero; a means for detecting the power supply voltage; and a means for detecting the power supply voltage; A motor control device comprising means for correcting the signal R_3 and means for outputting a PWM signal to the drive circuit based on the corrected control signal R'_3. 2. The motor control device according to claim 1, wherein the control signal R_3 is corrected by changing the decoupling ratio of the PWM signal due to fluctuations in the power supply voltage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62323781A JPH01170386A (en) | 1987-12-23 | 1987-12-23 | Controller for motor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62323781A JPH01170386A (en) | 1987-12-23 | 1987-12-23 | Controller for motor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01170386A true JPH01170386A (en) | 1989-07-05 |
Family
ID=18158548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62323781A Pending JPH01170386A (en) | 1987-12-23 | 1987-12-23 | Controller for motor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01170386A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0398486A (en) * | 1989-09-11 | 1991-04-24 | Fujitsu Ltd | Dc motor control circuit |
JPH05308792A (en) * | 1992-04-30 | 1993-11-19 | Sanyo Electric Co Ltd | Motor servo equipment |
EP0872011A4 (en) * | 1995-08-28 | 1998-12-02 | ||
WO2009020737A2 (en) * | 2007-08-08 | 2009-02-12 | Allegro Microsystems, Inc. | A motor controller |
US7590334B2 (en) | 2007-08-08 | 2009-09-15 | Allegro Microsystems, Inc. | Motor controller |
US7747146B2 (en) | 2007-08-08 | 2010-06-29 | Allegro Microsystems, Inc. | Motor controller having a multifunction port |
US8093844B2 (en) | 2009-03-12 | 2012-01-10 | Allegro Microsystems, Inc. | Braking function for brushless DC motor control |
-
1987
- 1987-12-23 JP JP62323781A patent/JPH01170386A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0398486A (en) * | 1989-09-11 | 1991-04-24 | Fujitsu Ltd | Dc motor control circuit |
JPH05308792A (en) * | 1992-04-30 | 1993-11-19 | Sanyo Electric Co Ltd | Motor servo equipment |
EP0872011A4 (en) * | 1995-08-28 | 1998-12-02 | ||
WO2009020737A2 (en) * | 2007-08-08 | 2009-02-12 | Allegro Microsystems, Inc. | A motor controller |
WO2009020737A3 (en) * | 2007-08-08 | 2009-05-14 | Allegro Microsystems Inc | A motor controller |
US7590334B2 (en) | 2007-08-08 | 2009-09-15 | Allegro Microsystems, Inc. | Motor controller |
US7747146B2 (en) | 2007-08-08 | 2010-06-29 | Allegro Microsystems, Inc. | Motor controller having a multifunction port |
US8093844B2 (en) | 2009-03-12 | 2012-01-10 | Allegro Microsystems, Inc. | Braking function for brushless DC motor control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2709969B2 (en) | Servo motor control method | |
JPH063994B2 (en) | Control method for multiple digital servos | |
Rambabu | Modeling and control of a brushless DC motor | |
JPH01170386A (en) | Controller for motor | |
JPH04105583A (en) | Permanent magnet type ac servo motor controller | |
JPH01103184A (en) | Control system for servo motor | |
JPH0232799A (en) | Electric stepping motor having load angle regulator and its operation | |
JPH02131382A (en) | Servomotor controller | |
KR100223885B1 (en) | Motor speed control system of using chaos circuit | |
JPH0984385A (en) | Motor controller | |
JPS61157288A (en) | Servo motor controller | |
JP2604748B2 (en) | Torque command circuit of AC servo system | |
EP0909016B1 (en) | Servo-motor driving method | |
DE19809764C2 (en) | Method and device for controlling an electronically commutated direct current motor | |
JP2750453B2 (en) | Brushless motor circuit for automatic door | |
JPS61147785A (en) | Servo motor drive device | |
JPH0530773A (en) | Servomotor controller | |
JPS6132120A (en) | Positioning control system | |
JP2663416B2 (en) | Material testing machine | |
JPS6295983A (en) | Controller for motor | |
JPH11136991A (en) | Servo motor driving method | |
JPH059197U (en) | Motor drive | |
JPS61150690A (en) | Method of controlling servo motor | |
JPH03235697A (en) | Motor driver | |
KR920006163B1 (en) | Displacement control method |