JP2007299122A - Servo controller and method for adjusting the same - Google Patents

Servo controller and method for adjusting the same Download PDF

Info

Publication number
JP2007299122A
JP2007299122A JP2006125165A JP2006125165A JP2007299122A JP 2007299122 A JP2007299122 A JP 2007299122A JP 2006125165 A JP2006125165 A JP 2006125165A JP 2006125165 A JP2006125165 A JP 2006125165A JP 2007299122 A JP2007299122 A JP 2007299122A
Authority
JP
Japan
Prior art keywords
response error
controller
command
speed
model
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.)
Granted
Application number
JP2006125165A
Other languages
Japanese (ja)
Other versions
JP4636271B2 (en
Inventor
Yasuyuki Takei
康行 竹井
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2006125165A priority Critical patent/JP4636271B2/en
Publication of JP2007299122A publication Critical patent/JP2007299122A/en
Application granted granted Critical
Publication of JP4636271B2 publication Critical patent/JP4636271B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)
  • Feedback Control In General (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a servo controller and a method for manufacturing this servo controller for automatically carrying out response error adjustment by a motor controller simplex. <P>SOLUTION: This servo controller having a position controller, a speed controller having integration control; a movement quantity measurement unit (204) for measuring movement quantity from the inversion of a moving direction; and a response erorr compensator for increasing the integration gain of integration control until the movement quantity reaches a predetermined value. This servo controller is provided with a position control model part (201) for calculating an ideal position based on a model; a response error estimator (205) for estimating a response error from a deviation between a model position and an actual position; and an integration gain correcting part (207) for executing a test program, and for reducing the response error. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、工作機械などを駆動するサーボ制御装置に関わり、特にサーボモータの移動方向反転時に生じる応答誤差の調整方法に関する。   The present invention relates to a servo control device that drives a machine tool and the like, and more particularly, to a method for adjusting a response error that occurs when a moving direction of a servo motor is reversed.

サーボモータの移動方向反転時に生じる応答誤差を自動的に調整する装置として特許文献1がある。特許文献1の調整装置は、工作機械などを駆動するサーボモータに対し、指定した円弧半径および送り速度にて円弧補間を行い、位置指令とサーボモータまたは、機械の位置から応答誤差を算出し、応答誤差と予め設定された閾値とを比較し、応答誤差が閾値以上であった場合は、移動方向反転時に前記サーボモータへの指令トルクに応答誤差が減じるように補正トルクを付加する。   Patent Document 1 discloses an apparatus that automatically adjusts a response error that occurs when a moving direction of a servo motor is reversed. The adjusting device of Patent Document 1 performs circular interpolation at a specified arc radius and feed speed for a servo motor that drives a machine tool and the like, calculates a response error from a position command and the position of the servo motor or machine, The response error is compared with a preset threshold value. If the response error is equal to or greater than the threshold value, a correction torque is added so that the response error is reduced to the command torque to the servo motor when the moving direction is reversed.

図4は、特許文献1の従来技術を示すサーボ調整装置と工作機械の送り軸を制御するサーボ制御装置のブロック図である。図4において、401は、加工プログラムを解析し、円弧半径や送り速度などを分配部に指令する解析部、402は、円弧補間を行なう制御軸に対し、前記解析部から入力された円弧半径や送り速度に従って位置指令を分配する分配部、403および409は、分配部から位置指令を入力し、位置指令にモータ位置を追従するようにサーボモータを制御するX軸およびY軸のモータ制御部、404および410は、移動方向反転時に生じる応答誤差を低減するために付加する補正トルクを算出するX軸およびY軸のトルク補正部、405および411は、工作機械のX軸およびY軸を駆動するX軸およびY軸サーボモータ、406および412は、前記X軸およびY軸モータの位置を検出するX軸およびY軸位置検出器、407は、X軸およびY軸によって駆動されるテーブル、408および413は、X軸およびY軸モータによって駆動されるボールネジ、414はX軸およびY軸による移動軌跡を求める2軸信号合成器、415は、2軸信号合成器によって算出された移動軌跡を表示する軌跡表示装置である。   FIG. 4 is a block diagram of a servo adjustment device and a servo control device for controlling a feed axis of a machine tool showing the prior art of Patent Document 1. In FIG. 4, 401 is an analysis unit that analyzes a machining program and instructs a distribution unit on an arc radius, a feed rate, and the like, and 402 is an arc radius input from the analysis unit with respect to a control axis that performs circular interpolation. Distributing units 403 and 409 that distribute the position command according to the feed speed are input with the position command from the distributing unit, and the X-axis and Y-axis motor control units that control the servo motor so that the motor position follows the position command. 404 and 410 are X-axis and Y-axis torque correction units for calculating a correction torque to be added in order to reduce a response error that occurs when the moving direction is reversed, and 405 and 411 drive the X-axis and Y-axis of the machine tool. X-axis and Y-axis servo motors, 406 and 412 are X-axis and Y-axis position detectors for detecting the positions of the X-axis and Y-axis motors, and 407 is an X-axis and Y-axis position detector. Table driven by Y-axis, 408 and 413 are ball screws driven by X-axis and Y-axis motors, 414 is a two-axis signal synthesizer that obtains movement trajectory by X-axis and Y-axis, 415 is two-axis signal synthesis It is the locus | trajectory display apparatus which displays the movement locus | trajectory calculated by the vessel.

図5は、特許文献1のフローチャートである。まず、プログラムを解析し、指令された円弧半径および送り速度に応じてX軸およびY軸モータを駆動する(ステップS11)。次に、位置検出器によってX軸およびY軸モータの位置を検出するとともに、X軸およびY軸による移動軌跡を作成する(ステップS12)。次に、指令位置と実際のモータ位置から応答誤差および補正トルクの更新を判別する閾値(ε0)を演算する(ステップS13)。次に、応答誤差と閾値(ε0)を比較し、応答誤差が閾値より大きいか否かを判別する(ステップS14)。ここで応答誤差がマイナス値、すなわち食い込みの場合を考慮し、−ε0≦応答誤差≦ε0として判定される。−ε0≦応答誤差≦ε0と判定された場合は、処理を終了し、判別条件が不満足の場合は、ステップS15に移行する。−ε0≦応答誤差≦ε0と判定されなかった場合、応答誤差を減じるように補正トルクを演算し、モータの移動方向反転時に行なうトルク補正値を更新する(ステップS15)。そして再びテスプログラムを実行する。その再、モータの移動方向反転時にステップS15にて更新した補正トルクを各軸のモータ制御部にて指令トルクを補正する。以降、ステップS11〜ステップS15までを繰り返し実行し、−ε0≦応答誤差≦ε0となるまで補正トルクの更新が行なわれる。   FIG. 5 is a flowchart of Patent Document 1. First, the program is analyzed, and the X-axis and Y-axis motors are driven according to the commanded arc radius and feed rate (step S11). Next, the positions of the X-axis and Y-axis motors are detected by the position detector, and the movement trajectory by the X-axis and Y-axis is created (step S12). Next, a threshold value (ε0) for determining response error and correction torque update is calculated from the command position and the actual motor position (step S13). Next, the response error is compared with a threshold value (ε0) to determine whether or not the response error is larger than the threshold value (step S14). Here, considering that the response error is a negative value, that is, a bite, it is determined that −ε0 ≦ response error ≦ ε0. If it is determined that −ε0 ≦ response error ≦ ε0, the process is terminated. If the determination condition is not satisfied, the process proceeds to step S15. If it is not determined that −ε0 ≦ response error ≦ ε0, the correction torque is calculated so as to reduce the response error, and the torque correction value performed when the motor moving direction is reversed is updated (step S15). The test program is executed again. Again, the command torque is corrected by the motor control unit of each axis with the correction torque updated in step S15 when the moving direction of the motor is reversed. Thereafter, steps S11 to S15 are repeatedly executed, and the correction torque is updated until −ε0 ≦ response error ≦ ε0.

また、モータの理想的な位置と実際の位置との偏差から応答誤差を推定し、応答誤差低減に利用するサーボ制御方法として特許文献2がある。特許文献2のサーボ制御方法では、理想的なサーボ系モデルに基づいて理想的な位置を演算し、この演算した理想位置と実際の位置との差分に、理想位置の方向反転時から所定の間のみ、所定のゲインを乗じ、これを上記速度指令に補正量として加える。図6は特許文献2のサーボ制御装置のブロック図である。図6において、101は位置指令生成部、102は位置制御部、103は速度制御部、104は電流制御部、105は電力増幅回路、106は機械系116を駆動するサーボモータ、107はサーボモータ106の回転位置を検出するエンコーダ、108はエンコーダ107の出力する位置検出信号110を微分して速度を算出する微分手段である。なお、エンコーダ107及び微分手段108によりモータ速度の検出手段が構成される。109は位置指令生成部101から出力される位置指令、110はエンコーダ7から出力される位置検出信号である位置フィードバック、111は位置制御部2から出力される速度指令、112は微分手段108から出力される速度検出信号である速度フィードバック、113は速度指令111と速度フィードバック112との差分である速度偏差信号、114は速度制御部103から出力される電流指令、115はサーボモータ106に流れる電流を示す電流フィードバック信号、116はサーボモータ106により駆動されるCNC工作機械等の機械系、117は機械系116からサーボモータ106に加わる反力や、摩擦による負荷トルク、118は速度制御部103における速度比例制御部、119は速度制御部103における速度積分制御部、120は速度比例制御部118の出力する比例項分指令、121は速度積分制御部119の出力する積分項分指令で、比例項分指令120に加算されることにより電流指令114となる。124は位置指令生成部101から出力される位置指令109を入力する、位置ループ系の理想モデル、133は位置ループ系の理想モデル124の出力速度信号、125は弾性変化が大きい機械系の遅れを考慮した理想モデル、141は理想モデルの位置126と実際の位置110との差分127を出力する減算部、128はゲインである。なおこのゲイン128は、大きく設定すればするほど補正効果は望めるが、実際に補正効果を上げるためには機械系を含めた速度ループ制御系の応答性が必要であり、この応答性が悪いとサーボ系として不安定となるため、実際の機械に適用した場合にはその速度ループ制御系次第で決定される。また、142は理想モデルの位置126と実際の位置フィードバック110との間の差分127にゲイン128を乗じ、速度指令補正信号(速度指令補正値)129を出力する乗算部、143は乗算部136より出力される速度指令補正信号(速度指令補正値)129を速度指令111に加算する加算部である。理想モデルの方向変化時を補正のタイミングとし、この方向変化時よりトルク指令が静摩擦を超える値となるまでの所定の時間(この所定時間は予めパラメータ設定しておく)のみ、あるいは方向反転後の理想モデルの移動量に機械系のばね定数などを掛けた値が静摩擦を超える値(この値も予めパラメータ設定しておく)以上となるまでの間のみ、乗算部142にて、理想モデルの位置126と実際の位置フィードバック110との間の差分127にゲイン128を乗じることにより速度指令補正値129を生成し、この補正値129を、加算部143にて、位置制御による出力である速度指令111に加算するように動作する。
特許第3478946号公報(図1) 国際公開番号WO2002/039574公報(図1)
Further, Patent Document 2 discloses a servo control method that estimates a response error from a deviation between an ideal position of a motor and an actual position, and uses it for reducing the response error. In the servo control method disclosed in Patent Document 2, an ideal position is calculated based on an ideal servo system model, and the difference between the calculated ideal position and the actual position is calculated for a predetermined period from the time when the direction of the ideal position is reversed. Only, a predetermined gain is multiplied and added to the speed command as a correction amount. FIG. 6 is a block diagram of the servo control device of Patent Document 2. In FIG. In FIG. 6, 101 is a position command generation unit, 102 is a position control unit, 103 is a speed control unit, 104 is a current control unit, 105 is a power amplification circuit, 106 is a servo motor that drives the mechanical system 116, and 107 is a servo motor. An encoder 106 detects the rotational position of 106, and 108 is a differentiating means for differentiating the position detection signal 110 output from the encoder 107 to calculate the speed. The encoder 107 and the differentiation means 108 constitute a motor speed detection means. 109 is a position command output from the position command generator 101, 110 is a position feedback signal as a position detection signal output from the encoder 7, 111 is a speed command output from the position controller 2, and 112 is output from the differentiating means 108. , 113 is a speed deviation signal that is a difference between the speed command 111 and the speed feedback 112, 114 is a current command output from the speed control unit 103, and 115 is a current flowing through the servo motor 106. A current feedback signal 116, a mechanical system such as a CNC machine tool driven by the servo motor 106, 117 a reaction force applied to the servo motor 106 from the mechanical system 116, a load torque due to friction, and 118 a speed in the speed control unit 103 Proportional control unit 119 is speed in speed control unit 103 The minute control unit 120 is a proportional term command output from the speed proportional control unit 118, and 121 is an integral term command output from the speed integral control unit 119, and is added to the proportional term command 120 to be added to the current command 114. Become. 124 is a position loop system ideal model for inputting the position command 109 output from the position command generation unit 101, 133 is an output speed signal of the position loop system ideal model 124, and 125 is a delay of a mechanical system having a large elastic change. The ideal model considered, 141 is a subtraction unit that outputs a difference 127 between the position 126 of the ideal model and the actual position 110, and 128 is a gain. As the gain 128 is set larger, the correction effect can be expected. However, in order to actually increase the correction effect, the response of the speed loop control system including the mechanical system is necessary. Since it becomes unstable as a servo system, it is determined depending on the speed loop control system when applied to an actual machine. Further, 142 is a multiplication unit that multiplies the difference 127 between the ideal model position 126 and the actual position feedback 110 by a gain 128 and outputs a speed command correction signal (speed command correction value) 129, and 143 is from the multiplication unit 136. This is an adder that adds the output speed command correction signal (speed command correction value) 129 to the speed command 111. The time when the direction of the ideal model changes is used as the correction timing, and only after a predetermined time from when this direction changes until the torque command exceeds the static friction (this predetermined time is set in advance by parameters), or after the direction is reversed. Only when the value obtained by multiplying the amount of movement of the ideal model by the spring constant of the mechanical system exceeds the value exceeding the static friction (this value is also set in advance as a parameter), the multiplier 142 determines the position of the ideal model. A speed command correction value 129 is generated by multiplying a difference 127 between the actual position feedback 110 and the actual position feedback 110 by a gain 128, and this correction value 129 is output by the adder 143 to a speed command 111 that is an output by position control. Works to add to
Japanese Patent No. 3478946 (FIG. 1) International Publication Number WO2002 / 039574 (FIG. 1)

特許文献1の応答誤差の調整装置では、円弧動作する2軸(例えばX軸およびY軸)の位置検出器によって検出されたモータの位置を基にX軸およびY軸による移動軌跡を作成し、円弧指令位置と移動軌跡から応答誤差を演算するステップが必要である。2軸の移動軌跡の作成処理は、各軸のサーボモータを制御するモータ制御装置単体では行なうことが出来ないため、上位コントローラや別途サーボ調整ツールなどで行なうことになる。従って応答誤差算出のために特別な演算を行なわない上位コントローラでは、応答誤差調整が実行できないという問題があった。
特許文献2の応答誤差補正方法では、理想モデルと実際の位置を用いて補正量を作成するが、補正時間や補正ゲインは繰り返しテストプログラムを実行し、応答誤差を確認しながら手動調整するため、調整には時間と労力を費やす。
本発明はこのような問題点に鑑みてなされたものであり、モータ制御装置単体で移動方向反転時の応答誤差補正の調整ができ、かつ、適切な応答誤差補正調整を自動的に行うことができるサーボ制御装置とその調整方法を提供することを目的とする。
In the response error adjusting device of Patent Document 1, a movement trajectory by the X axis and the Y axis is created based on the position of the motor detected by the position detector of two axes (for example, the X axis and the Y axis) that move in a circular arc, A step of calculating a response error from the arc command position and the movement locus is necessary. Since the two-axis movement locus creation process cannot be performed by a single motor control device that controls the servo motors of the respective axes, it is performed by a host controller or a separate servo adjustment tool. Accordingly, there is a problem that the response error adjustment cannot be executed in the host controller that does not perform a special calculation for calculating the response error.
In the response error correction method of Patent Document 2, a correction amount is created using an ideal model and an actual position, but the correction time and the correction gain are manually adjusted while executing a test program repeatedly while checking the response error. Adjustment takes time and effort.
The present invention has been made in view of such problems, and it is possible to perform adjustment of response error correction at the time of reversing the moving direction by a single motor control device, and automatically perform appropriate response error correction adjustment. An object of the present invention is to provide a servo control device and an adjustment method thereof.

上記問題を解決するため、本発明は、次のように構成したのである。
請求項1に記載の発明は、位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御しモータを駆動する電流制御器と、移動方向反転からの移動量を計測する移動量測定器と、前記移動量が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置において、前記応答誤差補償器は、モデルに基づいて理想位置を演算する位置制御モデル部と、前記モデル位置と実際位置との偏差から応答誤差を推定する応答誤差推定器と、テストプログラムを実行した前記応答誤差を低減する前記積分ゲイン補正部と、を備えることを特徴とするものである。
請求項2に記載の発明は、位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御しモータを駆動する電流制御器と、移動方向反転からの移動時間を計測する移動時間測定器と、前記移動時間が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置において、前記応答誤差補償器は、モデルに基づいて理想位置を演算する位置制御モデル部と、前記モデル位置と実際位置との偏差から応答誤差を推定する応答誤差推定器と、テストプログラムを実行した前記応答誤差を低減する前記積分ゲイン補正部と、を備えることを特徴とするものである。
請求項3に記載の発明は、位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御しモータを駆動する電流制御器と、移動方向反転からの移動量を計測する移動量測定器と、前記移動量が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置の調整方法において、目標応答誤差の条件設定を行なうステップと、プログラムを解析し、指令された円弧半径および送り速度に応じてモータを駆動するステップと、モデルに基づいて理想位置を演算するステップと、前記モデル位置と実際位置との偏差から応答誤差を推定するするステップと、前記応答誤差が閾値範囲内か否かを判別するステップと、閾値範囲内ではないと判別された場合、応答誤差を減じるように前記積分ゲイを補正するステップと、を備えることを特徴とするものである。
In order to solve the above problem, the present invention is configured as follows.
The invention according to claim 1 is a position controller that generates a speed command from a position command and a position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and the torque command A current controller for controlling the current and driving the motor based on the above, a moving amount measuring device for measuring the moving amount after reversing the moving direction, and a response for increasing the integral gain of the integral control until the moving amount reaches a predetermined value. In the servo control apparatus having an error compensator, the response error compensator includes a position control model unit that calculates an ideal position based on a model, and a response error estimation that estimates a response error from a deviation between the model position and an actual position. And an integral gain correction unit that reduces the response error when the test program is executed.
The invention according to claim 2 is a position controller that generates a speed command from a position command and a position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and the torque command A current controller for controlling the current and driving the motor based on the above, a travel time measuring device for measuring the travel time from reversing the travel direction, and a response for increasing the integral gain of the integral control until the travel time reaches a predetermined value. In the servo control apparatus having an error compensator, the response error compensator includes a position control model unit that calculates an ideal position based on a model, and a response error estimation that estimates a response error from a deviation between the model position and an actual position. And an integral gain correction unit that reduces the response error when the test program is executed.
The invention according to claim 3 is a position controller that generates a speed command from a position command and a position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and the torque command A current controller for controlling the current and driving the motor based on the above, a moving amount measuring device for measuring the moving amount after reversing the moving direction, and a response for increasing the integral gain of the integral control until the moving amount reaches a predetermined value. In a method for adjusting a servo control device having an error compensator, a step of setting a condition for a target response error, a step of analyzing a program and driving a motor according to a commanded arc radius and feed rate, and a model-based method Calculating an ideal position, estimating a response error from a deviation between the model position and the actual position, and whether the response error is within a threshold range. A step to another, if it is determined not to be within the threshold range and is characterized in that it comprises a step of correcting the integration Gay to reduce response error, the.

本発明によると、モータの理想的な位置と実際の位置との偏差から応答誤差を推定するため、モータ制御装置単体で移動方向反転時の応答誤差補正の調整を行なうことができる。また、繰り返しテストプログラムを実行し、応答誤差が低減されるように前記積分ゲインを調整することによって、適切な応答誤差補正調整を自動的に行なうことができる。   According to the present invention, since the response error is estimated from the deviation between the ideal position of the motor and the actual position, the response error correction at the time of reversing the moving direction can be adjusted by the motor control unit alone. Further, by executing the test program repeatedly and adjusting the integral gain so that the response error is reduced, appropriate response error correction adjustment can be automatically performed.

以下、本発明の方法の具体的実施例について、図1に基づいて説明する。   Hereinafter, a specific embodiment of the method of the present invention will be described with reference to FIG.

図1において、1は位置指令とサーボモータに取り付けられた検出器からの位置フィードバック信号を用いて速度指令を作成する位置制御器、2は速度指令に対しサーボモータに取り付けられた検出器を基に作成した速度フィードバック信号を用いてトルク指令を作成する速度制御器、3は速度指令と速度フィードバックの偏差を積算する積分器、4は前記積分器3の出力に乗算する速度ループ積分ゲイン、5は前記積分器3に積分ゲイン4を乗算した結果と速度フィードバックの偏差に対し乗算する速度ループ比例ゲイン、6はトルク指令に対し実際にモータを駆動する電流を制御する電流制御部、7は、サーボ制御装置によって制御されるサーボモータ、8はサーボモータ7または機械に取り付けられた位置検出器、9は前記モータによって駆動されるテーブル等のメカ機構、10は、応答誤差補正を行なう応答誤差補償器である。   In FIG. 1, 1 is a position controller that creates a speed command using a position command and a position feedback signal from a detector attached to the servo motor, and 2 is based on a detector attached to the servo motor for the speed command. A speed controller that creates a torque command using the speed feedback signal created in step 3, 3 is an integrator that integrates the deviation between the speed command and speed feedback, 4 is a speed loop integral gain that multiplies the output of the integrator 3, 5 Is a speed loop proportional gain that multiplies the result of multiplying the integrator 3 by the integral gain 4 and the deviation of the speed feedback, 6 is a current control unit that controls the current that actually drives the motor in response to the torque command, and 7 A servo motor controlled by the servo control device, 8 is a position detector attached to the servo motor 7 or the machine, and 9 is the motor. Mechanical mechanism such as a table driven Te, 10 is a response error compensator that performs response error correction.

図2は応答誤差補償器のブロック図である。201は位置制御の応答特性をモデル化した位置制御モデル部であり、位置ループゲインKpの逆数を時定数フィルタとして与えられるフィードバックモデル部202とフィードフォワード部203で構成される。204は位置制御モデル部の出力である理想位置の移動方向が正方向またはゼロから負方向、あるいは負方向またはゼロから正方向に反転したことを判別した後の理想位置増分値を求める移動量測定器、205は位置制御モデルの出力である理想位置と実際の位置フィードバックの差分を求め、応答誤差を推定する応答誤差推定部、206は位置制御モデル部201の出力である理想位置と予め設定された補償終了位置とを比較し、応答誤差補正のための積分ゲイン補正のON/OFFを制御する補正判別器、207は実際に使用する速度ループの積分ゲインの補正を実行する積分ゲイン補正実行部である。補正判定器206では、位置制御モデル部201の出力である理想位置の移動方向が正方向またはゼロから負方向、あるいは負方向またはゼロから正方向に反転したことを判別したら積分ゲイン補正を開始し、移動量測定器204で測定した移動方向反転後の移動量が所定値以上になった場合に積分ゲイン補正を終了する。   FIG. 2 is a block diagram of the response error compensator. Reference numeral 201 denotes a position control model unit that models the response characteristics of the position control, and includes a feedback model unit 202 and a feedforward unit 203 that give the reciprocal of the position loop gain Kp as a time constant filter. 204 is a movement amount measurement for obtaining an ideal position increment value after determining that the moving direction of the ideal position, which is the output of the position control model unit, is reversed from the positive direction or zero to the negative direction, or from the negative direction or from zero to the positive direction. , 205 is a response error estimation unit that obtains a difference between an ideal position that is an output of the position control model and an actual position feedback, and estimates a response error, and 206 is preset with an ideal position that is the output of the position control model unit 201. A correction discriminator for comparing ON / OFF of the integral gain correction for correcting the response error, and 207 an integral gain correction execution unit for correcting the integral gain of the speed loop actually used It is. When the correction determination unit 206 determines that the moving direction of the ideal position, which is the output of the position control model unit 201, is reversed from the positive direction or zero to the negative direction, or from the negative direction or zero to the positive direction, the integral gain correction is started. When the movement amount after reversing the movement direction measured by the movement amount measuring device 204 becomes a predetermined value or more, the integral gain correction is terminated.

図3は本発明のサーボ調整のフローチャートである。調整は図3(a)のように調整設定ステップと積分ゲイン調整ステップからなる。図3(b)は調整設定ステップのフローチャートである。まず調整設定ステップではステップ1は目標応答誤差(ε0min、ε0max)を設定する。ステップ2は積分ゲイン補正を実施しない状態で、テストプログラムを実行し、位置制御モデルと実位置との偏差より応答誤差を算出して、ε0min≦応答誤差≦ε0maxとなる移動量を記録する。以降、記録した移動量を積分ゲイン補正終了する所定値として以下のステップでサーボ調整を行なう。図3(c)は積分ゲイン調整ステップのフローチャートである。ステップ3は積分ゲイン調整ステップで再度、テストプログラムを実行し、位置制御モデルと実位置との偏差より応答誤差を算出する。ステップ4はε0min≦応答誤差≦ε0maxを判定する。ε0min≦応答誤差≦ε0maxと判定された場合は調整を終了する。ε0min≦応答誤差≦ε0maxと判定されなかった場合はステップ5に移行する。次に応答誤差を減じるように積分ゲイン補正を実行する。ステップ5で積分ゲインは図3(d)に示すように応答誤差>ε0maxの場合は、積分ゲインを上昇し、ε0min>応答誤差の場合は、積分ゲインを低減するように調整される。再びステップ2のテストプログラムを実行する。以降、ステップ3〜ステップ5までを繰り返し実行し、ε0min≦応答誤差≦ε0maxとなるまで積分ゲイン補正のパラメータ調整が行なわれる。   FIG. 3 is a flowchart of servo adjustment according to the present invention. Adjustment includes an adjustment setting step and an integral gain adjustment step as shown in FIG. FIG. 3B is a flowchart of the adjustment setting step. First, in the adjustment setting step, step 1 sets target response errors (ε0 min, ε0 max). In step 2, a test program is executed without performing integral gain correction, a response error is calculated from the deviation between the position control model and the actual position, and a movement amount satisfying ε0min ≦ response error ≦ ε0max is recorded. Thereafter, servo adjustment is performed in the following steps using the recorded movement amount as a predetermined value for completing the integral gain correction. FIG. 3C is a flowchart of the integral gain adjustment step. Step 3 is an integral gain adjustment step, in which the test program is executed again, and a response error is calculated from the deviation between the position control model and the actual position. In step 4, ε0min ≦ response error ≦ ε0max is determined. If it is determined that ε0min ≦ response error ≦ ε0max, the adjustment ends. If it is not determined that ε0min ≦ response error ≦ ε0max, the process proceeds to step 5. Next, integral gain correction is executed so as to reduce the response error. In step 5, as shown in FIG. 3D, the integral gain is adjusted to increase when the response error> ε0max, and to decrease the integral gain when ε0min> response error. The test program in step 2 is executed again. Thereafter, the steps 3 to 5 are repeatedly executed, and the integral gain correction parameter adjustment is performed until ε0min ≦ response error ≦ ε0max.

本発明の方法を適用するサーボ調整装置の構成を示すブロック図The block diagram which shows the structure of the servo adjustment apparatus which applies the method of this invention 本発明の方法を適用するサーボ調整装置の積分ゲイン補正部の構成を示すブロック図The block diagram which shows the structure of the integral gain correction | amendment part of the servo adjustment apparatus to which the method of this invention is applied. 本発明の方法の処理手順を示すフローチャートThe flowchart which shows the process sequence of the method of this invention. 従来の方法(特許文献1)を適用したサーボ調整装置の構成を示すブロック図The block diagram which shows the structure of the servo adjustment apparatus to which the conventional method (patent document 1) is applied. 従来の方法の処理手順を示すフローチャートThe flowchart which shows the process sequence of the conventional method 従来の方法(特許文献2)を適用したサーボ調整装置の構成を示すブロック図The block diagram which shows the structure of the servo adjustment apparatus to which the conventional method (patent document 2) is applied.

符号の説明Explanation of symbols

1 位置制御器
2 速度制御器
3 積分器
4 速度ループ積分ゲイン、
5 速度ループ比例ゲイン
6 電流制御部
7 サーボモータ
8 位置検出器
9 テーブル
10 応答誤差補償器
201 位置制御モデル
202 フィードバックモデル部
203 フィードフォワード部
204 移動量測定器
205 応答誤差算出部
206 補正判別器
207 積分ゲイン補正部
1 Position controller 2 Speed controller 3 Integrator 4 Speed loop integral gain,
5 Speed loop proportional gain 6 Current control unit 7 Servo motor 8 Position detector 9 Table 10 Response error compensator 201 Position control model 202 Feedback model unit 203 Feed forward unit 204 Movement amount measuring unit 205 Response error calculating unit 206 Correction discriminator 207 Integral gain correction unit

Claims (3)

位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御モータを駆動する電流制御器と、移動方向反転からの移動量を計測する移動量測定器と、前記移動量が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置において、
前記応答誤差補償器は、
モデルに基づいて理想位置を演算する位置制御モデル部と、
前記モデル位置と実際位置との偏差から応答誤差を推定する応答誤差推定器と、
テストプログラムを実行し前記応答誤差を低減する積分ゲイン補正部と、
を備えることを特徴とするサーボ制御装置。
A position controller that generates a speed command from the position command and the position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and drives a motor that controls current based on the torque command In a servo controller having a current controller, a movement amount measuring device for measuring a movement amount from reversing the movement direction, and a response error compensator for increasing an integral gain of the integration control until the movement amount reaches a predetermined value,
The response error compensator is:
A position control model unit that calculates an ideal position based on the model;
A response error estimator that estimates a response error from a deviation between the model position and the actual position;
An integral gain correction unit that executes a test program and reduces the response error;
A servo control device comprising:
位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御しモータを駆動する電流制御器と、移動方向反転からの移動時間を計測する移動時間測定器と、前記移動時間が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置において、
前記応答誤差補償器は、
モデルに基づいて理想位置を演算する位置制御モデル部と、
前記モデル位置と実際位置との偏差から応答誤差を推定する応答誤差推定器と、
テストプログラムを実行した前記応答誤差を低減する積分ゲイン補正部と、
を備えることを特徴とするサーボ制御装置。
A position controller that generates a speed command from the position command and the position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and drives a motor by controlling current based on the torque command In a servo control device having a current controller for measuring, a moving time measuring device for measuring a moving time from reversing the moving direction, and a response error compensator for increasing an integral gain of the integral control until the moving time reaches a predetermined value ,
The response error compensator is:
A position control model unit that calculates an ideal position based on the model;
A response error estimator that estimates a response error from a deviation between the model position and the actual position;
An integral gain correction unit that reduces the response error by executing the test program;
A servo control device comprising:
位置指令と位置信号から速度指令を生成する位置制御器と、積分制御を有し前記速度指令と速度信号からトルク指令を生成する速度制御器と、前記トルク指令に基づき電流を制御しモータを駆動する電流制御器と、移動方向反転からの移動量を計測する移動量測定器と、前記移動量が所定値に達するまで前記積分制御の積分ゲインを増加させる応答誤差補償器を有するサーボ制御装置の調整方法において、
目標応答誤差の条件設定を行なうステップと、
プログラムを解析し、指令された円弧半径および送り速度に応じてモータを駆動するステップと、
モデルに基づいて理想位置を演算するステップと、
前記モデル位置と実際位置との偏差から応答誤差を推定するするステップと、
前記応答誤差が閾値範囲内か否かを判別するステップと、
閾値範囲内ではないと判別された場合、応答誤差を減じるように前記積分ゲイを補正するステップと、
を備えることを特徴とするサーボ制御装置の調整方法。
A position controller that generates a speed command from the position command and the position signal, a speed controller that has integral control and generates a torque command from the speed command and the speed signal, and drives a motor by controlling current based on the torque command A servo controller having a current controller for measuring, a moving amount measuring device for measuring a moving amount from reversing the moving direction, and a response error compensator for increasing an integral gain of the integral control until the moving amount reaches a predetermined value. In the adjustment method,
Setting target response error conditions;
Analyzing the program and driving the motor according to the commanded arc radius and feed rate;
Calculating an ideal position based on the model;
Estimating a response error from a deviation between the model position and the actual position;
Determining whether the response error is within a threshold range; and
If it is determined that it is not within the threshold range, correcting the integral gay to reduce response error; and
The adjustment method of the servo control apparatus characterized by the above-mentioned.
JP2006125165A 2006-04-28 2006-04-28 Servo control device and adjustment method thereof Expired - Fee Related JP4636271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006125165A JP4636271B2 (en) 2006-04-28 2006-04-28 Servo control device and adjustment method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006125165A JP4636271B2 (en) 2006-04-28 2006-04-28 Servo control device and adjustment method thereof

Publications (2)

Publication Number Publication Date
JP2007299122A true JP2007299122A (en) 2007-11-15
JP4636271B2 JP4636271B2 (en) 2011-02-23

Family

ID=38768572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006125165A Expired - Fee Related JP4636271B2 (en) 2006-04-28 2006-04-28 Servo control device and adjustment method thereof

Country Status (1)

Country Link
JP (1) JP4636271B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129251A (en) * 2010-01-12 2011-07-20 株式会社安川电机 Synchronous control apparatus
WO2012057235A1 (en) 2010-10-27 2012-05-03 株式会社牧野フライス製作所 Numerical control method
CN113189956A (en) * 2021-04-09 2021-07-30 长春通视光电技术有限公司 Servo system online debugging method of two-axis two-frame photoelectric image stabilization platform
RU2807258C1 (en) * 2021-12-02 2023-11-13 Федеральное государственное бюджетное образовательное учреждение высшего образования "Волгоградский государственный технический университет" (ВолгГТУ) Method for determining optimal cutting conditions for cnc machines

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039574A1 (en) * 2000-11-01 2002-05-16 Mitsubishi Denki Kabushiki Kaisha Servo controller and method
JP3478946B2 (en) * 1997-07-02 2003-12-15 東芝機械株式会社 Servo adjustment method and device
JP2005304155A (en) * 2004-04-09 2005-10-27 Yaskawa Electric Corp Motor controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3478946B2 (en) * 1997-07-02 2003-12-15 東芝機械株式会社 Servo adjustment method and device
WO2002039574A1 (en) * 2000-11-01 2002-05-16 Mitsubishi Denki Kabushiki Kaisha Servo controller and method
JP2005304155A (en) * 2004-04-09 2005-10-27 Yaskawa Electric Corp Motor controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129251A (en) * 2010-01-12 2011-07-20 株式会社安川电机 Synchronous control apparatus
JP2011165163A (en) * 2010-01-12 2011-08-25 Yaskawa Electric Corp Synchronous control apparatus
CN103123478A (en) * 2010-01-12 2013-05-29 株式会社安川电机 Synchronous control apparatus
CN103123478B (en) * 2010-01-12 2015-04-22 株式会社安川电机 Synchronous control apparatus
WO2012057235A1 (en) 2010-10-27 2012-05-03 株式会社牧野フライス製作所 Numerical control method
US9360849B2 (en) 2010-10-27 2016-06-07 Makino Milling Machine Co., Ltd. Numerical control method
CN113189956A (en) * 2021-04-09 2021-07-30 长春通视光电技术有限公司 Servo system online debugging method of two-axis two-frame photoelectric image stabilization platform
CN113189956B (en) * 2021-04-09 2022-04-01 长春通视光电技术有限公司 Servo system online debugging method of two-axis two-frame photoelectric image stabilization platform
RU2807258C1 (en) * 2021-12-02 2023-11-13 Федеральное государственное бюджетное образовательное учреждение высшего образования "Волгоградский государственный технический университет" (ВолгГТУ) Method for determining optimal cutting conditions for cnc machines

Also Published As

Publication number Publication date
JP4636271B2 (en) 2011-02-23

Similar Documents

Publication Publication Date Title
US8731886B2 (en) Simulator for estimating life of robot speed reducer
KR20150119065A (en) Servo control device
US10627807B2 (en) Motor controller
US7560890B2 (en) Position controller and controlling method therefor
JP2008210273A (en) Method of compensating friction, friction compensator, and motor control device
JP4235210B2 (en) Servo motor control device
JP2006158026A (en) Controller
JP6290619B2 (en) Motor control device
US11175647B2 (en) Motor controller
JP4453526B2 (en) Servo control device
JP2008269349A (en) Control device having excessive-error detection function
JP3552988B2 (en) Servo control method
JP4636271B2 (en) Servo control device and adjustment method thereof
JP2006215626A (en) Position controller
JP7135483B2 (en) electric motor controller
JP5660482B2 (en) Control method and control device for feed drive system of machine tool
JP2002091570A (en) Servo control method
JP2003169488A (en) Controller of servo motor and control method
JP2014002474A (en) Servo controller
JP6316905B1 (en) Servo motor control device
JP4078396B2 (en) Positioning control device
JP4671171B2 (en) Motor control device
JP2006018431A (en) Servo control device
JP2003274684A (en) Servo controlling apparatus
JP2009175946A (en) Position controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100317

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100319

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100517

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: 20101027

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: 20101109

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

Free format text: PAYMENT UNTIL: 20131203

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141203

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees