JP5129362B2 - Spindle drive motor controller - Google Patents

Spindle drive motor controller Download PDF

Info

Publication number
JP5129362B2
JP5129362B2 JP2011079162A JP2011079162A JP5129362B2 JP 5129362 B2 JP5129362 B2 JP 5129362B2 JP 2011079162 A JP2011079162 A JP 2011079162A JP 2011079162 A JP2011079162 A JP 2011079162A JP 5129362 B2 JP5129362 B2 JP 5129362B2
Authority
JP
Japan
Prior art keywords
speed
motor
value
loop gain
command value
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.)
Active
Application number
JP2011079162A
Other languages
Japanese (ja)
Other versions
JP2012217231A (en
Inventor
肇 置田
正一 丹羽
隆洋 秋山
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.)
FANUC Corp
Original Assignee
FANUC 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 FANUC Corp filed Critical FANUC Corp
Priority to JP2011079162A priority Critical patent/JP5129362B2/en
Priority to CN201210091298.2A priority patent/CN102739132B/en
Publication of JP2012217231A publication Critical patent/JP2012217231A/en
Application granted granted Critical
Publication of JP5129362B2 publication Critical patent/JP5129362B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Of Ac Motors In General (AREA)

Description

本発明は、主軸駆動用モータの制御装置に関し、特に所定の変速比を有する速度調整機構を介して主軸を駆動するモータの速度を制御する制御装置に関する。   The present invention relates to a control device for a spindle driving motor, and more particularly to a control device that controls the speed of a motor that drives a spindle via a speed adjustment mechanism having a predetermined gear ratio.

工作機械の分野においては、工作機械の主軸を駆動するモータに速度センサを有していない、いわゆる速度センサレスの誘導モータ等のモータが用いられている。このモータの制御においては、モータに流れる電流(実電流)に基づいて、ソフトウエアを用いてモータの速度を計算することにより推定している。モータを制御する制御装置は、推定した速度に基づいて、モータの速度の制御を行っている(例えば、特許文献1)。一般的には、そのようなモータは、速度制御だけが必要とされる用途に利用されている。   In the field of machine tools, motors such as so-called speed sensorless induction motors that do not have a speed sensor are used for the motor that drives the spindle of the machine tool. In this motor control, estimation is performed by calculating the speed of the motor using software based on the current (actual current) flowing through the motor. A control device that controls the motor controls the speed of the motor based on the estimated speed (for example, Patent Document 1). In general, such motors are used in applications where only speed control is required.

上記のようにモータに流れる実電流から推定した速度に基づいてモータの制御を行う従来の制御装置の構成を図7に示す。従来の制御装置100は、第1加算器2と、速度制御部3と、電流制御部4と、パワー増幅器5と、電流検出部6と、速度推定部70とを備えており、工作機械20を制御する。   FIG. 7 shows the configuration of a conventional control device that controls the motor based on the speed estimated from the actual current flowing through the motor as described above. A conventional control device 100 includes a first adder 2, a speed control unit 3, a current control unit 4, a power amplifier 5, a current detection unit 6, and a speed estimation unit 70, and a machine tool 20. To control.

第1加算器2は、速度指令値と速度推定部70が出力した推定速度とを加算して出力し、この出力結果に基づいて速度制御部3は、電流指令値を出力する。電流制御部4は、電流指令値に基づいてパワー増幅器5を制御し、パワー増幅器5は、工作機械20のモータ21を駆動するための電流を供給する配線22に電流を出力する。パワー増幅器5が出力した電流は、電流検出部6によって検出され、電流制御部4にフィードバックされるとともに、速度推定部70に出力される。速度推定部70は、電流検出部6が検出した電流に基づいてモータの推定速度を算出し、第1加算器2に出力する。   The first adder 2 adds and outputs the speed command value and the estimated speed output by the speed estimation unit 70, and the speed control unit 3 outputs a current command value based on the output result. The current control unit 4 controls the power amplifier 5 based on the current command value, and the power amplifier 5 outputs a current to the wiring 22 that supplies a current for driving the motor 21 of the machine tool 20. The current output from the power amplifier 5 is detected by the current detection unit 6, fed back to the current control unit 4, and output to the speed estimation unit 70. The speed estimation unit 70 calculates the estimated speed of the motor based on the current detected by the current detection unit 6 and outputs it to the first adder 2.

工作機械20は、センサレス誘導モータ等のモータ21と、モータ回転軸23と、速度調整機構24と、主軸回転軸27と、主軸25とを備えている。モータ21は、制御部100のパワー増幅器5から配線22を介して供給される電流によりモータ回転軸23を回転させる。モータ回転軸23を回転させる動力は、ベルト等の速度調整機構24を介して主軸回転軸27に伝達され、主軸25が回転する。このように従来の制御装置は、モータの速度を供給する電流から推定しているので、モータに速度検出用のセンサを用いる必要がなく、センサ設置のためのコストを抑制している。しかしながら、上記構成により主軸の位置の制御を行う場合には、モータに流れる電流から推定した推定速度を積分して主軸の位置をフィードバック制御することが考えられるが、推定のタイミングが遅れる推定遅れや、速度推定値に推定誤差が含まれる場合があるため、高精度が要求される工作機械の主軸の位置制御等の用途には使用することができなかった。   The machine tool 20 includes a motor 21 such as a sensorless induction motor, a motor rotating shaft 23, a speed adjusting mechanism 24, a main shaft rotating shaft 27, and a main shaft 25. The motor 21 rotates the motor rotation shaft 23 by a current supplied from the power amplifier 5 of the control unit 100 via the wiring 22. The power for rotating the motor rotating shaft 23 is transmitted to the main shaft rotating shaft 27 via the speed adjusting mechanism 24 such as a belt, and the main shaft 25 rotates. Thus, since the conventional control apparatus estimates from the electric current which supplies the speed of a motor, it is not necessary to use the sensor for speed detection for a motor, and the cost for sensor installation is suppressed. However, when controlling the spindle position with the above configuration, it is conceivable to perform feedback control of the spindle position by integrating the estimated speed estimated from the current flowing through the motor. Since the estimation error may be included in the speed estimation value, it cannot be used for applications such as position control of the spindle of a machine tool that requires high accuracy.

上記のような速度センサレス誘導モータを、工作機械の旋盤の主軸のように、位置制御が必要とされる用途に適用する場合、主軸に付けられた回転位置を検出するためのセンサを利用して、その帰還パルスをモータの速度フィードバックに代用する場合がある。図8に、このような形態を備えた従来の制御装置の構成を示す。従来の制御装置100は、図7に示した従来の制御装置に加えて、第2加算器11と、位置制御部1とを備えている。位置制御部1は、位置指令値に従って、モータ21の速度を制御するための速度指令値を速度制御部3に出力する。   When the speed sensorless induction motor as described above is applied to an application where position control is required, such as a main spindle of a lathe of a machine tool, a sensor for detecting the rotational position attached to the main spindle is used. The feedback pulse may be substituted for motor speed feedback. FIG. 8 shows a configuration of a conventional control device having such a configuration. The conventional control device 100 includes a second adder 11 and a position control unit 1 in addition to the conventional control device shown in FIG. The position control unit 1 outputs a speed command value for controlling the speed of the motor 21 to the speed control unit 3 in accordance with the position command value.

工作機械20は、さらに、主軸回転軸27に設置された主軸回転体28を備えており、主軸回転体28は主軸回転軸27の回転に合わせて回転する。主軸回転体28の近傍にはセンサ29が設置されており、主軸回転体28の位置を検出し、制御装置100の第2加算器11に出力することにより、主軸の位置のフィードバック制御を行っている。また、このセンサ29のフィードバックデータをモータの推定速度に加味することにより、単にモータの電流値からモータの速度を推定する場合に比べて、モータの速度を制御するループを安定化させることができる。   The machine tool 20 further includes a main spindle rotating body 28 installed on the main spindle rotating shaft 27, and the main spindle rotating body 28 rotates in accordance with the rotation of the main spindle rotating shaft 27. A sensor 29 is installed in the vicinity of the main spindle rotator 28. The sensor 29 detects the position of the main spindle rotator 28 and outputs it to the second adder 11 of the control device 100 to perform feedback control of the main spindle position. Yes. Further, by adding the feedback data of the sensor 29 to the estimated speed of the motor, the loop for controlling the speed of the motor can be stabilized as compared with the case where the speed of the motor is simply estimated from the current value of the motor. .

また、上記のように、主軸回転体の近傍に設けられたセンサからの位置情報を利用する場合には、モータの速度(モータ速度)の制御を行う際のループゲイン(速度ループゲイン)を高く設定することが可能となり、さらには、主軸の位置(主軸位置)の制御を行う際のループゲイン(位置ループゲイン)も高く設定することが可能となる。ここで、ループゲインとは、フィードバック制御における感度であり、ループゲインを高くすると誤差を抑制することができ、ループゲインを低くすると動作を滑らかにすることができる。   In addition, as described above, when position information from a sensor provided in the vicinity of the main spindle rotating body is used, the loop gain (speed loop gain) for controlling the motor speed (motor speed) is increased. Further, it is possible to set the loop gain (position loop gain) when controlling the position of the spindle (spindle position). Here, the loop gain is a sensitivity in feedback control. When the loop gain is increased, an error can be suppressed, and when the loop gain is decreased, the operation can be smoothed.

特開2002−51594号公報JP 2002-51594 A

ここで、主軸回転体の近傍に設けられたセンサの検出結果を利用してモータを制御する場合、モータの動力を主軸に伝達するために設けられた速度調整機構においてスリップが発生する場合がある。主軸にかかる負荷が小さい場合は、ほとんどスリップは発生しないため、センサ29からの主軸速度検出結果を制御装置にフィードバックさせてモータ速度を制御することが可能である。しかしながら、主軸にかかる負荷が大きい場合は、モータと主軸との間にスリップが発生する場合があり、そのような場合に、主軸回転体の近傍に設置したセンサが検出した主軸速度検出結果をモータ速度のフィードバック制御に利用すると、モータ速度の制御が不安定になるという問題が生じていた。   Here, when the motor is controlled using the detection result of the sensor provided in the vicinity of the main spindle rotating body, slip may occur in the speed adjusting mechanism provided to transmit the motor power to the main spindle. . When the load applied to the main shaft is small, almost no slip occurs, so that the motor speed can be controlled by feeding back the detection result of the main shaft speed from the sensor 29 to the control device. However, when the load applied to the main shaft is large, slip may occur between the motor and the main shaft. In such a case, the main shaft speed detection result detected by the sensor installed in the vicinity of the main shaft rotating body is used as the motor. When used for speed feedback control, there has been a problem that motor speed control becomes unstable.

本発明の制御装置は、所定の変速比を有する速度調整機構を介して主軸を駆動するモータの速度を制御する制御装置であって、位置指令値に従ってモータ速度を制御するための電流指令値を出力する速度制御部と、電流指令値に従ってモータが駆動された場合にモータに流れる電流を検出する電流検出部と、電流に基づいてモータの第1速度を推定する第1速度推定部と、主軸の近傍に設けられたセンサにより検出される主軸位置に基づいて算出される主軸速度及び変速比に基づいてモータの第2速度を推定する第2速度推定部と、モータ負荷の値を算出する負荷演算部と、を有し、速度制御部は、モータ負荷の値が所定の値以上の場合は、第1速度を用いて電流指令値を算出し、モータ負荷の値が所定の値未満の場合は、第2速度を用いて電流指令値を算出する、ことを特徴とする。   A control device of the present invention is a control device that controls the speed of a motor that drives a spindle via a speed adjustment mechanism having a predetermined speed ratio, and that has a current command value for controlling the motor speed according to a position command value. An output speed control unit; a current detection unit that detects a current that flows through the motor when the motor is driven according to a current command value; a first speed estimation unit that estimates a first speed of the motor based on the current; A second speed estimator for estimating a second speed of the motor based on a spindle speed and a gear ratio calculated based on a spindle position detected by a sensor provided in the vicinity of the motor, and a load for calculating a motor load value The speed control unit calculates a current command value using the first speed when the motor load value is equal to or greater than a predetermined value, and the motor load value is less than the predetermined value. Using the second speed Calculating the flow command value, characterized in that.

本発明の他の実施態様による制御装置において、速度制御部は、モータ負荷の値が所定の値以上の場合は、第1速度ループゲインを用いて電流指令値を算出し、モータ負荷の値が所定の値未満の場合は、第1速度ループゲインより高い第2速度ループゲインを用いて電流指令値を算出するようにしてもよい。   In the control device according to another embodiment of the present invention, the speed control unit calculates a current command value using the first speed loop gain when the motor load value is equal to or greater than a predetermined value, and the motor load value is If it is less than the predetermined value, the current command value may be calculated using a second speed loop gain that is higher than the first speed loop gain.

本発明のさらに他の実施態様による制御装置において、位置指令値に従って主軸位置を制御するための速度指令値を速度制御部に出力する位置制御部をさらに設け、位置制御部は、モータ負荷の値が所定の値以上の場合は、第1位置ループゲインを用いて速度指令値を算出し、モータ負荷の値が所定の値未満の場合は、第1位置ループゲインより高い第2位置ループゲインを用いて速度指令値を算出するようにしてもよい。   In the control device according to still another embodiment of the present invention, a position control unit that outputs a speed command value for controlling the spindle position to the speed control unit according to the position command value is further provided, and the position control unit is a motor load value. Is greater than or equal to a predetermined value, the speed command value is calculated using the first position loop gain. If the motor load value is less than the predetermined value, a second position loop gain higher than the first position loop gain is calculated. It may be used to calculate a speed command value.

本発明の制御装置において、負荷演算部は、電流指令値に基づいてモータ負荷の値を決定することが好ましい。   In the control device of the present invention, it is preferable that the load calculation unit determines the value of the motor load based on the current command value.

本発明の制御装置によれば、主軸にかかる負荷の大きさに応じて、モータの電流から算出した速度推定値と、主軸の速度から算出した速度推定値とを切り換えて、モータ速度の制御を行うようにしているので、主軸にかかる負荷の大きさに係らず、モータ速度の制御を高精度に行うことができる。   According to the control device of the present invention, the motor speed is controlled by switching between the speed estimated value calculated from the motor current and the speed estimated value calculated from the speed of the main shaft according to the load applied to the main shaft. Therefore, the motor speed can be controlled with high accuracy regardless of the load applied to the main shaft.

さらに、本発明の他の実施態様による制御装置によれば、主軸にかかる負荷の大きさに応じて、速度制御のための速度ループゲインの大きさを変えるようにしているので、主軸にかかる負荷の大きさに係らず、モータ速度の制御を高精度に行うことができる。   Furthermore, according to the control device according to another embodiment of the present invention, since the magnitude of the speed loop gain for speed control is changed according to the magnitude of the load on the spindle, the load on the spindle is changed. Regardless of the size, the motor speed can be controlled with high accuracy.

また、本発明のさらに他の実施態様による制御装置によれば、主軸にかかる負荷の大きさに応じて、位置制御のための位置ループゲインの大きさを変えるようにしているので、主軸にかかる負荷の大きさに係らず、主軸位置の制御を高精度に行うことができる。   Further, according to the control device according to still another embodiment of the present invention, the magnitude of the position loop gain for position control is changed according to the magnitude of the load applied to the spindle, so that the spindle is applied. Regardless of the size of the load, the spindle position can be controlled with high accuracy.

本発明の実施例1に係る制御装置の構成図である。It is a block diagram of the control apparatus which concerns on Example 1 of this invention. 本発明の実施例1に係る制御装置によるモータ速度の制御方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the control method of the motor speed by the control apparatus which concerns on Example 1 of this invention. 本発明の実施例2に係る制御装置の構成図である。It is a block diagram of the control apparatus which concerns on Example 2 of this invention. 本発明の実施例2に係る制御装置によるモータ速度の制御方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the control method of the motor speed by the control apparatus which concerns on Example 2 of this invention. 本発明の実施例3に係る制御装置の構成図である。It is a block diagram of the control apparatus which concerns on Example 3 of this invention. 本発明の実施例3に係る制御装置によるモータ速度の制御方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the control method of the motor speed by the control apparatus which concerns on Example 3 of this invention. 従来のモータ速度の制御装置の構成図である。It is a block diagram of the conventional motor speed control apparatus. 従来のモータ速度の制御装置の構成図である。It is a block diagram of the conventional motor speed control apparatus.

以下、図面を参照して、本発明に係る制御装置について説明する。ただし、本発明の技術的範囲はそれらの実施の形態には限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。   Hereinafter, a control device according to the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to these embodiments, but extends to the invention described in the claims and equivalents thereof.

まず、本発明の実施例1に係る制御装置について説明する。図1に本発明の実施例1に係る制御装置の構成図を示す。制御装置101は、位置制御部1と、第1加算器2と、速度制御部3と、電流制御部4と、パワー増幅器5と、電流検出部6と、第1速度推定部7と、第2速度推定部8と、主軸速度演算部9と、第2加算器11と、負荷演算部12と、切替制御部13と、第1スイッチSW1とを有している。工作機械20の構成は図7に示した従来の構成と同様であるので、詳細な説明は省略する。 First, the control apparatus according to the first embodiment of the present invention will be described. FIG. 1 shows a configuration diagram of a control apparatus according to Embodiment 1 of the present invention. The control device 101 includes a position control unit 1, a first adder 2, a speed control unit 3, a current control unit 4, a power amplifier 5, a current detection unit 6, a first speed estimation unit 7, A two-speed estimation unit 8, a spindle speed calculation unit 9, a second adder 11, a load calculation unit 12, a switching control unit 13, and a first switch SW 1 are included. Since the configuration of the machine tool 20 is the same as that of the conventional configuration shown in FIG.

位置制御部1は、位置指令値に従って主軸位置を制御するための速度指令値を速度制御部3に出力する。速度制御部3は、位置制御部1が位置指令値に従って算出し、出力した速度指令値に従ってモータ速度を制御するための電流指令値を算出し、これを電流制御部4に出力する。   The position control unit 1 outputs a speed command value for controlling the spindle position in accordance with the position command value to the speed control unit 3. The speed control unit 3 calculates a current command value calculated by the position control unit 1 according to the position command value, controls the motor speed according to the output speed command value, and outputs this to the current control unit 4.

電流制御部4は、速度制御部3からの電流指令値に従ってパワー増幅器5を制御し、パワー増幅器5は、工作機械20のモータ21を駆動するための電流を供給する配線22に電流を出力する。電流検出部6は、電流指令値に従ってパワー増幅器5から供給された電流によりモータ21が駆動された場合にモータ21に流れる電流を検出する。電流検出部6により検出された電流は、電流制御部4にフィードバックされるとともに、第1速度推定部7に出力される。   The current control unit 4 controls the power amplifier 5 according to the current command value from the speed control unit 3, and the power amplifier 5 outputs a current to the wiring 22 that supplies a current for driving the motor 21 of the machine tool 20. . The current detection unit 6 detects the current flowing through the motor 21 when the motor 21 is driven by the current supplied from the power amplifier 5 according to the current command value. The current detected by the current detection unit 6 is fed back to the current control unit 4 and output to the first speed estimation unit 7.

第1速度推定部7は、電流検出部6が検出した電流に基づいてモータ21の第1速度を推定する。第2速度推定部8は、主軸25の近傍に設けられたセンサ29により検出される主軸位置に基づいて主軸速度演算部9により算出される主軸速度及びモータ21と主軸25との間に設けられた速度調整機構24の変速比に基づいてモータ21の第2速度を推定する。   The first speed estimation unit 7 estimates the first speed of the motor 21 based on the current detected by the current detection unit 6. The second speed estimator 8 is provided between the spindle speed calculated by the spindle speed calculator 9 based on the spindle position detected by the sensor 29 provided in the vicinity of the spindle 25 and between the motor 21 and the spindle 25. The second speed of the motor 21 is estimated based on the speed ratio of the speed adjusting mechanism 24.

負荷演算部12は、モータ負荷の値を算出する。モータ負荷の値は、速度制御部3が出力する電流指令値に基づいて決定されることが好ましい。   The load calculator 12 calculates a motor load value. The value of the motor load is preferably determined based on the current command value output from the speed control unit 3.

第1スイッチSW1は、切替制御部13からの選択信号に基づいて、第1速度推定部7と第2速度推定部8とを切り換えて、第1加算器2に出力される推定速度を切り換える。切替制御部13は、負荷演算部12が算出したモータ負荷の値に応じて第1スイッチSW1を切り換える選択信号を出力している。即ち、負荷演算部12が算出したモータ負荷の値が所定の値以上の場合は、速度制御部3が、第1速度を用いて電流指令値を算出するように、第1スイッチSW1において第1速度推定部7が選択されるように選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、速度制御部3が、第2速度を用いて電流指令値を算出するように、第1スイッチSW1において第2速度推定部8が選択されるように選択信号を出力する。 The first switch SW 1 is based on the selection signal from the switching control unit 13, by switching the first speed estimation section 7 and a second speed estimation section 8, switches the estimation speed is output to the first adder 2 . The switching control unit 13 outputs a selection signal for switching the first switch SW 1 according to the motor load value calculated by the load calculation unit 12. That is, when the motor load value calculated by the load calculation unit 12 is equal to or greater than a predetermined value, the first switch SW 1 sets the first switch SW 1 so that the speed control unit 3 calculates the current command value using the first speed. A selection signal is output so that the one-speed estimation unit 7 is selected. On the other hand, when the motor load value is less than the predetermined value, the second speed estimation unit 8 selects the first switch SW 1 so that the speed control unit 3 calculates the current command value using the second speed. The selection signal is output as described above.

次に、本発明の実施例1に係る制御装置を用いた制御方法について図2に示したフローチャートを用いて説明する。まず、ステップS101において、制御装置101に加工開始の命令を与える。次に、ステップS102において、加工が終了したか否かを判断する。加工が終了している場合は、ステップS106に進んで制御を終了する。   Next, a control method using the control apparatus according to the first embodiment of the present invention will be described using the flowchart shown in FIG. First, in step S101, a processing start command is given to the control device 101. Next, in step S102, it is determined whether or not the processing is finished. If the machining has been completed, the process proceeds to step S106 and the control is terminated.

加工が終了していない場合は、ステップS103において、モータ負荷の値が所定の値以上か否かを判断する。モータ負荷の大きさは、速度制御部3が電流制御部4に対して出力する電流指令値によって決定することができる。   If the machining has not been completed, it is determined in step S103 whether the motor load value is equal to or greater than a predetermined value. The magnitude of the motor load can be determined by a current command value output from the speed control unit 3 to the current control unit 4.

モータ負荷の値が所定の値以上の場合には、ステップS104において、速度制御部3が、第1速度を用いて電流指令値を算出するように、切替制御部13が第1スイッチSW1を第1速度推定部7側に切り換えるための選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、ステップS105において、速度制御部3が、第2速度を用いて電流指令値を算出するように、切替制御部13が第1スイッチSW1を第2速度推定部8側に切り換えるための選択信号を出力する。その後、ステップS102に戻って、以上のステップS102〜S105を繰り返す。 When the motor load value is equal to or greater than the predetermined value, in step S104, the switching control unit 13 sets the first switch SW 1 so that the speed control unit 3 calculates the current command value using the first speed. A selection signal for switching to the first speed estimation unit 7 side is output. On the other hand, if the motor load value is less than the predetermined value, in step S105, the switching control unit 13 uses the first switch SW 1 so that the speed control unit 3 calculates the current command value using the second speed. Is output to the second speed estimator 8 side. Then, it returns to step S102 and repeats the above steps S102-S105.

以上のように、本発明の実施例1に係る制御装置によれば、主軸にかかる負荷の大きさに応じて、モータの電流から算出した速度推定値(第1速度)と、主軸の速度から算出した速度推定値(第2速度)とを切り換えて、モータ速度の制御を行うようにしているので、主軸にかかる負荷の大きさに関わらず、モータ速度の制御を高精度に行うことができる。   As described above, according to the control device according to the first embodiment of the present invention, from the estimated speed value (first speed) calculated from the motor current and the speed of the main shaft according to the load applied to the main shaft. Since the motor speed is controlled by switching the calculated speed estimated value (second speed), the motor speed can be controlled with high accuracy regardless of the load applied to the spindle. .

次に、本発明の実施例2に係る制御装置について説明する。図3に本発明の実施例2に係る制御装置の構成図を示す。実施例2に係る制御装置102が、実施例1に係る制御装置101と異なっている点は、第1速度ループゲイン記憶部31と、第2速度ループゲイン記憶部32と、第2スイッチSW2とをさらに設けている点である。制御装置102の他の構成及び工作機械20の構成は、実施例1に係る制御装置101及び工作機械20と同様であるので、詳細な説明は省略する。 Next, a control device according to a second embodiment of the present invention will be described. FIG. 3 shows a configuration diagram of a control apparatus according to Embodiment 2 of the present invention. The control device 102 according to the second embodiment is different from the control device 101 according to the first embodiment in that a first speed loop gain storage unit 31, a second speed loop gain storage unit 32, and a second switch SW 2 are used. And is further provided. Since the other configuration of the control device 102 and the configuration of the machine tool 20 are the same as those of the control device 101 and the machine tool 20 according to the first embodiment, detailed description thereof is omitted.

第1速度ループゲイン記憶部31は、速度制御部3が電流指令値の算出のために用いる速度ループゲインとして、第1速度ループゲインの値を記憶している。一方、第2速度ループゲイン記憶部32は、速度制御部3が電流指令値の算出のために用いる速度ループゲインとして、第2速度ループゲインの値を記憶しており、第2速度ループゲインの大きさは、第1速度ループゲインより高い点を特徴としている。   The first speed loop gain storage unit 31 stores the value of the first speed loop gain as the speed loop gain used by the speed control unit 3 for calculating the current command value. On the other hand, the second speed loop gain storage unit 32 stores the value of the second speed loop gain as the speed loop gain used by the speed control unit 3 to calculate the current command value. The magnitude is characterized by being higher than the first speed loop gain.

第2スイッチSW2は、切替制御部13からの選択信号に基づいて、第1速度ループゲイン記憶部31と第2速度ループゲイン記憶部32とを切り換えて、速度制御部3に与えられる速度ループゲインを切り換える。切替制御部13は、負荷演算部12が算出したモータ負荷の値に応じて第2スイッチSW2を切り換える選択信号を出力している。即ち、負荷演算部12が算出したモータ負荷の値が所定の値以上の場合は、速度制御部3が、第1速度ループゲインを用いて電流指令値を算出するように、第2スイッチSW2において第1速度ループゲイン記憶部31が選択されるように選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、速度制御部3が、第2速度ループゲインを用いて電流指令値を算出するように、第2スイッチSW2において第2速度ループゲイン記憶部32が選択されるように選択信号を出力する。 The second switch SW 2, based on a selection signal from the switching control unit 13, by switching the first speed loop gain storing section 31 and a second velocity loop gain storing unit 32, the speed given to the speed control unit 3 loop Switch the gain. The switching control unit 13 outputs a selection signal for switching the second switch SW 2 in accordance with the motor load value calculated by the load calculation unit 12. That is, when the value of the motor load calculated by the load calculation unit 12 is equal to or greater than a predetermined value, the second switch SW 2 is used so that the speed control unit 3 calculates the current command value using the first speed loop gain. A selection signal is output so that the first speed loop gain storage unit 31 is selected. On the other hand, when the value of the motor load is less than the predetermined value, the second speed loop gain is stored in the second switch SW 2 so that the speed control unit 3 calculates the current command value using the second speed loop gain. A selection signal is output so that the unit 32 is selected.

次に、本発明の実施例2に係る制御装置を用いた制御方法について図4に示したフローチャートを用いて説明する。実施例2に係る制御装置を用いた制御方法が、実施例1に係る制御装置を用いた制御方法と異なる点は、モータ負荷の大きさに応じて、速度制御部に与えられる速度ループゲインの大きさを変えている点である。実施例1に係る制御装置の制御方法における図2に示したステップS101〜S106に対応するステップS201〜S204、S206、S208は、実施例1に係る制御装置の制御方法と同様であるので、詳細な説明は省略する。   Next, a control method using the control device according to the second embodiment of the present invention will be described with reference to the flowchart shown in FIG. The difference between the control method using the control device according to the second embodiment and the control method using the control device according to the first embodiment is that the speed loop gain given to the speed control unit depends on the magnitude of the motor load. The point is changing the size. Steps S201 to S204, S206, and S208 corresponding to steps S101 to S106 illustrated in FIG. 2 in the control method for the control device according to the first embodiment are the same as the control method for the control device according to the first embodiment, and thus detailed The detailed explanation is omitted.

ステップS203において、モータ負荷の値が所定の値以上の場合には、ステップS204において、実施例1と同様に第1速度を選択し、ステップS205において、速度制御部3が、第1速度ループゲインを用いて電流指令値を算出するように、切替制御部13が第2スイッチSW2を第1速度ループゲイン記憶部31側に切り換えるための選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、ステップS206において、実施例1と同様に第2速度を選択し、ステップS207において、速度制御部3が、第2速度ループゲインを用いて電流指令値を算出するように、切替制御部13が第2スイッチSW2を第2速度ループゲイン記憶部32側に切り換えるための選択信号を出力する。その後、ステップS202に戻って、ステップS202〜S207を繰り返す。 In step S203, if the value of the motor load is equal to or greater than a predetermined value, in step S204, the first speed is selected in the same manner as in the first embodiment. In step S205, the speed control unit 3 selects the first speed loop gain. The switching control unit 13 outputs a selection signal for switching the second switch SW 2 to the first speed loop gain storage unit 31 side so as to calculate the current command value using the. On the other hand, if the motor load value is less than the predetermined value, the second speed is selected in step S206 as in the first embodiment, and in step S207, the speed control unit 3 uses the second speed loop gain. The switching control unit 13 outputs a selection signal for switching the second switch SW 2 to the second speed loop gain storage unit 32 side so as to calculate the current command value. Then, it returns to step S202 and repeats steps S202-S207.

以上のように、本発明の実施例2に係る制御装置によれば、主軸にかかる負荷の大きさに応じて、速度制御のための速度ループゲインの大きさを変えるようにしているので、主軸にかかる負荷の大きさに係らず、モータ速度の制御を高精度に行うことができる。   As described above, according to the control device according to the second embodiment of the present invention, the magnitude of the speed loop gain for speed control is changed according to the magnitude of the load applied to the spindle. Regardless of the load applied to the motor, the motor speed can be controlled with high accuracy.

次に、本発明の実施例3に係る制御装置について説明する。図5に本発明の実施例3に係る制御装置の構成図を示す。実施例3に係る制御装置103が、実施例2に係る制御装置102と異なっている点は、第1位置ループゲイン記憶部41と、第2位置ループゲイン記憶部42と、第3スイッチSW3とをさらに設けている点である。制御装置の他の構成及び工作機械20の構成は、実施例2に係る制御装置及び工作機械と同様であるので、詳細な説明は省略する。 Next, a control device according to a third embodiment of the present invention will be described. FIG. 5 shows a configuration diagram of a control apparatus according to Embodiment 3 of the present invention. The control device 103 according to the third embodiment is different from the control device 102 according to the second embodiment in that a first position loop gain storage unit 41, a second position loop gain storage unit 42, and a third switch SW 3 are used. And is further provided. Since the other configuration of the control device and the configuration of the machine tool 20 are the same as those of the control device and the machine tool according to the second embodiment, detailed description thereof is omitted.

第1位置ループゲイン記憶部41は、位置制御部1が速度指令値の算出のために用いる位置ループゲインとして、第1位置ループゲインの値を記憶している。一方、第2位置ループゲイン記憶部42は、位置制御部1が速度指令値の算出のために用いる位置ループゲインとして、第2位置ループゲインの値を記憶しており、第2位置ループゲインの大きさは、第1位置ループゲインより高い点を特徴としている。   The first position loop gain storage unit 41 stores the value of the first position loop gain as the position loop gain used by the position control unit 1 for calculating the speed command value. On the other hand, the second position loop gain storage unit 42 stores the value of the second position loop gain as the position loop gain used by the position control unit 1 to calculate the speed command value. The magnitude is characterized by a point that is higher than the first position loop gain.

第3スイッチSW3は、切替制御部13からの選択信号に基づいて、第1位置ループゲイン記憶部41と第2位置ループゲイン記憶部42とを切り換えて、位置制御部1に与えられる位置ループゲインを切り換える。切替制御部13は、負荷演算部12が算出したモータ負荷の値に応じて第3スイッチSW3を切り換える選択信号を出力している。即ち、負荷演算部12が算出したモータ負荷の値が所定の値以上の場合は、位置制御部1が、第1位置ループゲインを用いて速度指令値を算出するように、第3スイッチSW3において第1位置ループゲイン部41が選択されるように選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、位置制御部1が、第2位置ループゲインを用いて速度指令値を算出するように、第3スイッチSW3において第2位置ループゲイン記憶部42が選択されるように選択信号を出力する。 The third switch SW 3 is based on a selection signal from the switching control unit 13 is switched to the first position loop gain storing section 41 and a second position loop gain storing unit 42, a position loop given to the position controller 1 Switch the gain. The switching control unit 13 outputs a selection signal for switching the third switch SW 3 in accordance with the motor load value calculated by the load calculation unit 12. That is, when the value of the motor load calculated by the load calculation unit 12 is equal to or greater than a predetermined value, the third switch SW 3 is set so that the position control unit 1 calculates the speed command value using the first position loop gain. A selection signal is output so that the first position loop gain unit 41 is selected. On the other hand, when the motor load value is less than the predetermined value, the second position loop gain is stored in the third switch SW 3 so that the position control unit 1 calculates the speed command value using the second position loop gain. A selection signal is output so that the unit 42 is selected.

次に、本発明の実施例3に係る制御装置を用いた制御方法について図6に示したフローチャートを用いて説明する。実施例3に係る制御装置を用いた制御方法が、実施例2に係る制御装置を用いた制御方法と異なる点は、モータ負荷の大きさに応じて、位置制御部に与えられる位置ループゲインの大きさを変えている点である。実施例2に係る制御装置の制御方法における図4に示したステップS201〜S208に対応するステップS301〜S305、S307、S308、S310は、実施例2に係る制御装置の制御方法と同様であるので、詳細な説明は省略する。   Next, a control method using the control device according to the third embodiment of the present invention will be described with reference to the flowchart shown in FIG. The control method using the control device according to the third embodiment is different from the control method using the control device according to the second embodiment in that the position loop gain given to the position control unit according to the magnitude of the motor load. The point is changing the size. Steps S301 to S305, S307, S308, and S310 corresponding to steps S201 to S208 shown in FIG. 4 in the control method of the control device according to the second embodiment are the same as the control method of the control device according to the second embodiment. Detailed description will be omitted.

ステップS303において、モータ負荷の値が所定の値以上の場合には、ステップS304において、実施例1と同様に第1速度を選択し、ステップS305において、実施例2と同様に第1速度ループゲインを選択する。次に、ステップS306において、位置制御部1が、第1位置ループゲインを用いて速度指令値を算出するように、切替制御部13が第3スイッチSW3を第1位置ループゲイン記憶部41側に切り換えるための選択信号を出力する。一方、モータ負荷の値が所定の値未満の場合は、ステップS307において、実施例1と同様に第2速度を選択し、ステップS308において、実施例2と同様に第2速度ループゲインを選択する。次に、ステップS309において、位置制御部1が、第2位置ループゲインを用いて電流指令値を算出するように、切替制御部13が第3スイッチSW3を第2位置ループゲイン記憶部42側に切り換えるための選択信号を出力する。その後、ステップS302に戻って、ステップS302〜S309を繰り返す。 In step S303, if the motor load value is equal to or greater than the predetermined value, the first speed is selected in step S304 as in the first embodiment, and in step S305, the first speed loop gain is determined as in the second embodiment. Select. Next, in step S306, the position control section 1, so as to calculate the speed command value by using the first position loop gain, the switching control unit 13 the third switch SW 3 first position loop gain storing section 41 side A selection signal for switching to is output. On the other hand, if the motor load value is less than the predetermined value, in step S307, the second speed is selected as in the first embodiment, and in step S308, the second speed loop gain is selected as in the second embodiment. . Next, in step S309, the position control section 1, to calculate a current command value by using the second position loop gain, the switching control unit 13 the third switch SW 3 second position loop gain storing section 42 side A selection signal for switching to is output. Then, it returns to step S302 and repeats steps S302-S309.

以上のように、本発明の実施例3に係る制御装置によれば、主軸にかかる負荷の大きさに応じて、位置制御のための位置ループゲインの大きさを変えるようにしているので、主軸にかかる負荷の大きさに係らず、主軸位置の制御を高精度に行うことができる。   As described above, according to the control device according to the third embodiment of the present invention, since the magnitude of the position loop gain for position control is changed according to the magnitude of the load applied to the spindle, the spindle The spindle position can be controlled with high accuracy regardless of the magnitude of the load applied to the main shaft.

1 位置制御部
2 第1加算器
3 速度制御部
4 電流制御部
5 パワー増幅器
6 電流検出部
7 第1速度推定部
8 第2速度推定部
9 主軸速度演算部
11 第2加算器
12 負荷演算部
13 切替制御部
101〜103 制御装置
DESCRIPTION OF SYMBOLS 1 Position control part 2 1st adder 3 Speed control part 4 Current control part 5 Power amplifier 6 Current detection part 7 1st speed estimation part 8 2nd speed estimation part 9 Spindle speed calculation part 11 2nd adder 12 Load calculation part 13 switching control part 101-103 control apparatus

Claims (3)

所定の変速比を有する速度調整機構を介して主軸を駆動するモータの速度を制御する制御装置であって、
位置指令値に従ってモータ速度を制御するための電流指令値を出力する速度制御部と、
前記電流指令値に従ってモータが駆動された場合にモータに流れる電流を検出する電流検出部と、
前記電流に基づいてモータの第1速度を推定する第1速度推定部と、
主軸の近傍に設けられたセンサにより検出される主軸位置に基づいて算出される主軸速度及び前記変速比に基づいてモータの第2速度を推定する第2速度推定部と、
モータ負荷の値を算出する負荷演算部と、を有し、
前記速度制御部は、前記モータ負荷の値がモータと主軸との間にスリップが発生する値以上の場合は、前記第1速度を用いて前記電流指令値を算出し、前記モータ負荷の値が前記モータと主軸との間にスリップが発生する値未満の場合は、前記第2速度を用いて前記電流指令値を算出
前記速度制御部が前記電流指令値の算出のために用いるループゲインとして、第1速度ループゲインと、前記第1速度ループゲインより高い第2速度ループゲインと、を記憶した記憶部をさらに有し、
前記速度制御部は、前記モータ負荷の値が前記モータと主軸との間にスリップが発生する値以上の場合は、前記第1速度ループゲインを用いて前記電流指令値を算出し、前記モータ負荷の値が前記モータと主軸との間にスリップが発生する値未満の場合は、前記第2速度ループゲインを用いて前記電流指令値を算出する、
ことを特徴とする制御装置。
A control device that controls the speed of a motor that drives a main shaft via a speed adjustment mechanism having a predetermined gear ratio,
A speed control unit that outputs a current command value for controlling the motor speed according to the position command value;
A current detector for detecting a current flowing in the motor when the motor is driven according to the current command value;
A first speed estimator for estimating a first speed of the motor based on the current;
A second speed estimator for estimating the second speed of the motor based on the main shaft speed calculated based on the main shaft position detected by a sensor provided in the vicinity of the main shaft and the gear ratio;
A load calculation unit for calculating a value of the motor load,
The speed control unit calculates the current command value using the first speed when the value of the motor load is equal to or greater than a value at which slip occurs between the motor and the spindle, and the value of the motor load is for less than a value slip occurs between the motor and the main shaft is to calculate the current command value by using the second speed,
The speed control unit further includes a storage unit that stores a first speed loop gain and a second speed loop gain higher than the first speed loop gain as a loop gain used for calculating the current command value. ,
The speed control unit calculates the current command value using the first speed loop gain when the value of the motor load is equal to or greater than a value at which slip occurs between the motor and the main shaft, and the motor load Is less than the value at which slip occurs between the motor and the spindle, the current command value is calculated using the second speed loop gain.
A control device characterized by that.
前記位置指令値に従って前記主軸位置を制御するための速度指令値を前記速度制御部に出力する位置制御部をさらに有し、
前記記憶部は、前記位置制御部が前記速度指令値の算出のために用いるループゲインとして、第1位置ループゲインと、前記第1位置ループゲインより高い第2位置ループゲインと、を記憶し、
前記位置制御部は、前記モータ負荷の値が前記モータと主軸との間にスリップが発生する値以上の場合は、前記第1位置ループゲインを用いて前記速度指令値を算出し、前記モータ負荷の値が前記モータと主軸との間にスリップが発生する値未満の場合は、前記第2位置ループゲインを用いて前記速度指令値を算出する、請求項1に記載の制御装置。
A position control unit that outputs a speed command value for controlling the spindle position according to the position command value to the speed control unit;
The storage unit stores a first position loop gain and a second position loop gain higher than the first position loop gain as loop gains used by the position control unit to calculate the speed command value,
The position control unit calculates the speed command value using the first position loop gain when the value of the motor load is equal to or greater than a value at which slip occurs between the motor and the spindle, and the motor load 2. The control device according to claim 1, wherein the speed command value is calculated using the second position loop gain when a value of is less than a value at which slip occurs between the motor and the spindle .
前記負荷演算部は、前記電流指令値に基づいて前記モータ負荷の値を決定する、請求項1または2に記載の制御装置。 The load calculation unit determines the value of the motor load based on the current command value, the control device according to claim 1 or 2.
JP2011079162A 2011-03-31 2011-03-31 Spindle drive motor controller Active JP5129362B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2011079162A JP5129362B2 (en) 2011-03-31 2011-03-31 Spindle drive motor controller
CN201210091298.2A CN102739132B (en) 2011-03-31 2012-03-30 The control device of main shaft drives motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011079162A JP5129362B2 (en) 2011-03-31 2011-03-31 Spindle drive motor controller

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012237701A Division JP5530500B2 (en) 2012-10-29 2012-10-29 Spindle drive motor controller

Publications (2)

Publication Number Publication Date
JP2012217231A JP2012217231A (en) 2012-11-08
JP5129362B2 true JP5129362B2 (en) 2013-01-30

Family

ID=46994060

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011079162A Active JP5129362B2 (en) 2011-03-31 2011-03-31 Spindle drive motor controller

Country Status (2)

Country Link
JP (1) JP5129362B2 (en)
CN (1) CN102739132B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6568039B2 (en) * 2016-10-13 2019-08-28 ファナック株式会社 Motor control device in machine tool having multiple axes

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6323586A (en) * 1986-07-14 1988-01-30 Mitsubishi Electric Corp Sepeed controller for induction motor
JP3053121B2 (en) * 1991-04-08 2000-06-19 株式会社安川電機 Control method of induction motor
JPH081566A (en) * 1994-06-22 1996-01-09 Toshiba Corp Robot control device
JP2000253700A (en) * 1999-02-26 2000-09-14 Toyo Electric Mfg Co Ltd Vector control inverter apparatus
JP3958920B2 (en) * 2000-07-31 2007-08-15 オークマ株式会社 Spindle controller
JP4133572B2 (en) * 2003-05-16 2008-08-13 株式会社リコー Load identification device, load identification method, and control system design support method
JP2005304175A (en) * 2004-04-12 2005-10-27 Yaskawa Electric Corp Speed controller of motor
JP2007108869A (en) * 2005-10-11 2007-04-26 Nakamura Tome Precision Ind Co Ltd Tension control method for main shaft driving belt and composite lathe
JP4602921B2 (en) * 2006-03-07 2010-12-22 株式会社日立産機システム Motor control device and motor control method
JP4297953B2 (en) * 2007-06-22 2009-07-15 三洋電機株式会社 Motor control device and compressor
JP5361507B2 (en) * 2009-04-14 2013-12-04 三菱電機株式会社 Motor control device with protection function
JP4870824B2 (en) * 2010-03-26 2012-02-08 ファナック株式会社 Spindle control device with encoder

Also Published As

Publication number Publication date
CN102739132A (en) 2012-10-17
JP2012217231A (en) 2012-11-08
CN102739132B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
JP4805329B2 (en) Control device for calculating power consumption of industrial machinery
US7863853B2 (en) Electric motor control device
JP5084973B1 (en) Motor control device
US9228509B2 (en) Motor control apparatus that generates preload torque value as function of motor acceleration
US20110234147A1 (en) Controller for spindle with encoder
JP5530500B2 (en) Spindle drive motor controller
CN111791087B (en) Control device for machine tool having spindle and feed shaft
JP2010041868A (en) Rotor rotation monitor for synchronous motor, and control system
JP5129362B2 (en) Spindle drive motor controller
JP2006025478A (en) Driver for a plurality of motors
JP6423904B2 (en) Numerical control device for machine tools
JP2008141824A (en) Synchronous motor controller
JP2009129395A (en) Numerical control apparatus, computer program and storage medium
JP7153879B2 (en) Electric tool
JP6051116B2 (en) Electric tool
US10232480B2 (en) Numerical controller of machine tool
JP2008225652A (en) Numerical control device
JP2005328635A (en) Controller of switched reluctance motor
JP6423907B2 (en) Numerical control device for machine tools
JP4756464B2 (en) AC motor drive inverter device and operation method thereof
JP4455960B2 (en) DC brushless motor control device
US11981016B2 (en) Electric tool
JP2009268218A (en) Multi-shaft motor control system
JP2010110080A (en) Motor control apparatus
JP3770614B2 (en) Speed sensorless control device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120906

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121009

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121101

R150 Certificate of patent or registration of utility model

Ref document number: 5129362

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3