JP3876010B2 - Servo motor acceleration / deceleration control device - Google Patents

Servo motor acceleration / deceleration control device Download PDF

Info

Publication number
JP3876010B2
JP3876010B2 JP18223895A JP18223895A JP3876010B2 JP 3876010 B2 JP3876010 B2 JP 3876010B2 JP 18223895 A JP18223895 A JP 18223895A JP 18223895 A JP18223895 A JP 18223895A JP 3876010 B2 JP3876010 B2 JP 3876010B2
Authority
JP
Japan
Prior art keywords
acceleration
command
deceleration
time constant
filter
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.)
Expired - Fee Related
Application number
JP18223895A
Other languages
Japanese (ja)
Other versions
JPH0916265A (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 JP18223895A priority Critical patent/JP3876010B2/en
Priority to PCT/JP1996/001785 priority patent/WO1997001805A1/en
Publication of JPH0916265A publication Critical patent/JPH0916265A/en
Application granted granted Critical
Publication of JP3876010B2 publication Critical patent/JP3876010B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/416Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration

Description

【0001】
【産業上の利用分野】
本発明は、工作機械の送り軸やロボットのアーム等の制御に使用されるサーボモータの加減速制御装置に関する。
【0002】
【従来の技術】
サーボモータの加減速を制御して、例えば指数関数形加減速制御や直線形加減速制御が知られている。この指数関数形加減速制御は、ステップ入力に対して指数関数的応答が得られる加減速制御であり、高周波成分の影響で立ち上がり時の加速度が大きいことから、サーボ制御やその負荷系にショックを与え、振動を起こしやすいという欠点や、減速停止までに時間を要する等の欠点がある。この点は、X,Y軸のサーボモータを使用して円弧状に工作機械のテーブル等を移動させる場合には、指令値よりも内側の軌跡をたどる原因となる。
【0003】
また、直線形加減速制御では、加速度が急速に変化するために、サーボ制御系やその負荷系にショックを与え、振動を起こしやすいという欠点がある。さらに、サーボ制御系や負荷系が持つ固有振動数に近い周波数成分を持つ指令で振動すると、サーボ制御系や負荷系自体の振動が発生するという問題点がある。
そこで、NC工作機械やロボット等において、なめらかな起動,停止を行なわせ、かつ機械に振動が生じないようにするため、補間後の各軸にサーボモータへの移動指令(速度)を加減速フィルタに通し、該加減速フィルタの出力をサーボ制御部に入力して加減速制御を行なう制御や、補間前の指令速度を加減速フィルタに通し、該加減速フィルタの出力に対して補間を行なってサーボ制御部に入力する加減速制御等も知られている。
【0004】
なお、このような加減速制御では、例えば、ベル型の加減速制御等で知られるような加減速フィルタを2段とすることによって、加速度に生じる不連続性を減少させることが行なわれている。
【0005】
また、工作機械で高速切削を行なう場合、サーボ系の通常遅れによる形状誤差を減少させるために、位置ループにフィードフォワードをかける場合がある。この位置ループにおけるフィードフォワードは、位置ループのゲインを増大させて、サーボ遅れを補償して、形状誤差を減少させる。
【0006】
【発明が解決しようとする課題】
しかしながら、従来のサーボモータの加減速制御では、フィルタに含まれる指令時定数により生じる指令遅れによって、形状誤差が発生するという問題点がある。
【0007】
例えば、直線形加減速制御に用いるフィルタのリニアな時定数をTcとし、このフィルタへの入力をAsinωt,出力をYとすると、出力Yは以下の式によって表すことができる。
【0008】
【数1】

Figure 0003876010
したがって、リニアの時定数を1回いれる場合には、その振幅は{1−(ω・Tc) 2 /24}倍となり、X,Y軸のサーボモータを使用して円弧状に工作機械のテーブル等を移動させる場合には、指令値よりも内側の軌跡をたどり、形状誤差が発生することになる。
【0009】
また、前記リニアの時定数を2回入れるベル型のフィルタを用いる場合には、その振幅は{1−(ω・Tc) 2 /12}倍となり、ベル型時定数T(=2Tc)に対して、{1−(ω・T) 2 /48}倍の振幅となり、同様に、円弧状の加工を行なう場合には、指令値よりも内側の軌跡をたどって形状誤差が発生することになる。
【0010】
通常、この指令時定数による指令自体の誤差による形状誤差は、サーボ系(一次遅れ系)が発生する遅れによる形状誤差と比較して数分の一のオーダーである。しかしながら、高速高精度加工を実現するために、サーボループにフィードフォワードを100%近くかけることによって、サーボ系の遅れによる形状誤差を低減させると、この指令時定数による指令自体の誤差による形状誤差分が相対的に増大し、高速加工時における指令時定数による形状誤差が問題となる。
【0011】
そこで、本発明は前記した従来の問題点を解決して、加減速フィルタの指令時定数により生じる指令遅れによる形状誤差を低減することができるサーボモータの加減速制御装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
本発明は、補間後の移動指令を加減速フィルタに入力して得られる位置指令を用いてサーボモータの加減速を制御する加減速制御装置において、位置指令を微分し、微分した位置指令を加減速フィルタの指令時定数に応じて定められる時間遅れだけ遅らせ、時間遅れさせたフィードフォワードデータを位置のフィードフォワード制御量とし、このフィードフォワード制御量と位置ループ制御で得られた制御量とを加算したものを速度指令とするフィードフォワード制御を行なうことによって、サーボモータの加減速制御を行って、前記目的を達成する。
【0013】
本発明における加減速フィルタは、加減速に伴うショックを減少させる等のために、補間によって軸毎に分配される移動指令を入力し、この移動指令に所定の時定数を掛けて出力するものである。
【0014】
本発明のサーボモータの加減速制御装置は、サーボ系の遅れによる形状誤差と、加減速フィルタの指令時定数による指令自体の誤差による形状誤差とを減少させることができ、サーボ系の遅れによる形状誤差はフィードフォワード系によるフィードフォワード制御によって補償し、加減速フィルタの指令時定数による形状誤差はフィードフォワード中の時間遅れの項によって補償する。
【0015】
フィードフォワードにおける時間遅れの量は、加減速フィルタの指令時定数による形状誤差分を補償するように、加減速フィルタの指令時定数に応じて定められるものであり、例えば、加減速フィルタのゲインとフィードフォワードのループのゲインの積が定数となるよう定めることができる。
【0016】
また、位置ループゲインをKp,補間後の加減速フィルタの指令時定数をTsとすると、フィードフォワードにおける時間遅れτは、kを定数としてτ=k・Kp・Ts 2 により定めることができる。
【0017】
また、加減速フィルタを1段のリニアフィルタ適用する場合には、フィードフォワードデータの時間遅れτを定める定数kは(1/24)とすることができ、また、加減速フィルタを2段のリニアフィルタ適用する場合には、定数kは(1/48)とすることができる。
【0018】
図1は、本発明のサーボモータの加減速制御装置を説明するブロック図である。図1において、加減速フィルタ1は、補間後の指令Mに指令時定数をかけて位置指令を形成するための項であり、伝達関数2は位置指令を微分する位置のフィードフォワード項であり、αは位置のフィードフォワード係数である。また、伝達関数3は時間遅れの項であり、τは時定数である。また、伝達関数4のKpは位置ループにおけるポジションゲインであり、伝達関数5は実位置を求める積分項である。
【0019】
そして、時間遅れの項3によって時間遅れさせてたフィードフォワードデータを位置のフィードフォワード制御量として、位置指令にポジションゲインKpを乗じて得れた位置ループ制御による制御量とを加算して速度指令とし、この速度指令に基づく実位置を位置フィードバックとして位置指令に帰還させている。
【0020】
加減速フィルタの指令時定数による形状誤差分の補償は、例えば、加減速フィルタ1のゲインG2 とフィードフォワードのループのゲインG1 の積が定数となるよう調整して、加減速フィルタの指令時定数に応じて定めることによって行うことができる。
【0021】
【作用】
補間後の移動指令を加減速フィルタに通すことによって、移動指令を加減速フィルタの指令時定数に応じて定められる時間遅れだけ遅らせて位置指令を形成し、これによって、加減速に伴うショックを減少させる。この加減速フィルタの指令時定数による時間遅れは、指令自体に遅れを生じさせ、形状誤差の原因となる。また、サーボモータによる駆動機構では、サーボ系自体の遅れによって生じる形状誤差も備えている。
【0022】
加減速フィルタによって形成した位置指令は微分した後、この微分した位置指令を加減速フィルタの指令時定数に応じて定められる時間遅れだけ遅らせ、時間遅れさせたフィードフォワードデータを形成する。そして、この時間遅れさせたフィードフォワードデータを位置のフィードフォワード制御量とし、このフィードフォワード制御量と位置ループ制御で得られた制御量とを加算したものを速度指令として、フィードフォワード制御を行う。
【0023】
このフィードフォワード系によるフィードフォワード制御によって、サーボ系の遅れによる形状誤差の補償を行い、また、フィードフォワード中の時間遅れの項において、時定数分を補償するように時間遅れの量を加減速フィルタの指令時定数に応じて定め、これによって、加減速フィルタの指令時定数による形状誤差を減少させる。
【0024】
図1において、加減速フィルタ1は補間後の指令に対して時定数をかけるための項であり、これによって、時定数をかけた後の位置指令のゲイン特性G2 (jω)の絶対値は1以下となり、形状誤差の原因となる。
【0025】
これに対して、図1中のフィードフォワード系による位置ループのゲイン特性
G1 (jω)は、図1のブロックにおいて、
Kp・(M−P)+αs・exp(−τs)・M=sP
とおくことができ、G1 はPとMと比をとることによって、
G1 =P/M={αs・exp(−τs)+Kp}/(s+Kp)
を得る。このG1 において、s=jωとして解くと、
G1 (jω)
={Kp+α・ω・sin(ω・τ)+jα・ω・cos(ω・τ)}
/(Kp+jω) …(2)
となる。このG1 (jω)の絶対値は、
|G 1 (jω)| 2
={Kp 2 +2・Kp・α・ω・sin(ω・τ)+α 2 ・ω 2 }/(Kp 2 +ω 2
…(3)
となる。
【0026】
ここで、α=1の場合には、
|G 1 (jω)| 2
=1+{2・Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 …(4)
となり、
x≪1とすると√(1+x)=1+x/2−x 2 /6+…と近似展開ができ、ω≪1であることから、この近似展開の2項までで近似すると、
|G1 (jω)|
≒1+{Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 …(5)
≒1+(ω・ω/Kp)・τ …(6)
と近似することができる。
ここで、ωは指令角周波数(1/sec)、Kpはポジションゲイン(1/sec)、τはフィードフォワードデータの遅れ(sec)であり、ωはKpより充分小さいものする。
【0027】
上記式(6)において、フィードフォワードデータの遅れτが0である場合には、理論上の位置ループのゲイン特性G1 (jω)の絶対値は1となるが、フィードフォワードデータの遅れτの項を加えることによって、位置ループのゲイン特性G1 (jω)の絶対値を1以上とすることができる。
【0028】
そこで、本発明の装置では、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインをできるだけ1に近づけるために、ゲイン特性G1 (jω)とゲイン特性G2 (jω)とを用いて、
|G1 (jω)|・|G2 (jω)|=1 …(7)
の関係が得られるように、フィードフォワードデータの遅れτを調節する。
【0029】
したがって、式(7)を満足するようなフィードフォワードデータの遅れτを用いることによって、加減速フィルタ1の指令時定数による形状誤差を減少することができる。
【0030】
図2は、本発明のサーボモータの加減速制御装置による形状誤差の補償を説明する図である。図2において、10の実線は指令Mによる加工形状を示している。この加工形状に対して、矢印Aで示す加減速フィルタ1の指令時定数による形状誤差分によって、破線11で示した指令時定数をかけた後の位置指令による加工形状となる。さらに、矢印Bで示すサーボ系の遅れによる形状誤差分によって、一点鎖線12で示した加工形状となる。
【0031】
この形状誤差に対して、矢印bで示すようにフィードフォワード系によって形状誤分Bを補償し、矢印aで示すようにフィードフォワード中のフィードフォワードデータの遅れτによって形状誤分Aを補償する。
【0032】
【実施例】
以下、本発明の実施例を図を参照しながら詳細に説明する。
【0033】
図1に示した本発明の加減速制御装置を説明するブロック図において、加減速フィルタ1をリニアの時定数Tcを持つ1段のリニアフィルタを用いる場合には、この加減速フィルタによる指令時定数を掛けた後の指令のゲインG2 は、前記式(1)によって求めることができる。
【0034】
したがって、1段のリニアフィルタのゲインG2 による振幅は{1−(ω・Tc) 2 /24}となる。
【0035】
一方、図1中のフィードフォワードによるゲインG1 は、前記式(5)で示されるように、|G 1 (jω)|≒1+{Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 である。
【0036】
そこで、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインをできるだけ1に近づけるために、ゲイン特性G1 (jω)とゲイン特性G2 (jω)とを用いて、前記式(7)に示されるように、|G1 (jω)|・|G2 (jω)|=1の関係が得られるように、フィードフォワードデータの遅れτを調節する。
【0037】
ここで、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインGは、
G=|G1 (jω)|・|G2 (jω)|
={1−(ω・Tc) 2 /24}
・〔1+{Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 〕 …(8)
により表すことができる。この式(8)において、ゲインGが1となるためには
(ω・Tc) 2 /24={Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 が成り立てばよい。ゲインG=1と近似できる。ここで、ωがKpより充分小さく、Kp≫ωが成り立つとすると、
{Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2
ω・sin(ω・τ)/Kp
≒ω 2 ・τ/Kp …(9)
が成り立つ。
【0038】
したがって、フィードフォワードデータの遅れτは、
τ=(1/24)・Kp・Tc 2 …(10)
となり、このフィードフォワードデータの遅れτを用いることによって、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインGを1とし、加減速フィルタ1の指令時定数による形状誤差を減少させる。
【0039】
次に、図1に示した本発明の加減速制御装置を説明するブロック図において、加減速フィルタ1をリニアの時定数Tcを持つ1段のリニアフィルタを2つ用いて2段のリニアフィルタによってベル型のフィルタを用いる場合には、その振幅は{1−(ω・Tc) 2 /12}倍となり、ベル型時定数T(=2Tc)に対して、{1−(ω・T) 2 /48}倍の振幅となる。
【0040】
前記と同様にして、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインをできるだけ1に近づけるために、ゲイン特性G1 (jω)とゲイン特性G2 (jω)とを用いて、|G1 (jω)|・|G2 (jω)|=1の関係が得られるように、フィードフォワードデータの遅れτを調節する。
【0041】
ここで、加減速フィルタ1による指令時定数をかける前の指令から実位置までのゲインGは、
G=|G1 (jω)|・|G2 (jω)|
={1−(ω・T) 2 /48}
・〔1+{Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2 〕 …(11)
により表すことができる。この式(11)において、ゲインGが1となるためには
(ω・T) 2 /48={Kp・ω・sin(ω・τ)}/(Kp 2 +ω 2
が成り立てばよく、また、前記式(9)の条件から、
フィードフォワードデータの遅れτは、
τ=(1/48)・Kp・ 2 …(12)
となる。
【0042】
このベル型フィルタの場合において、例えば、ポジションゲインKpを30とすると、時定数Tが48msecの場合のフィードフォワードデータの遅れτは、1.44msecとなり、時定数Tが24msecの場合のフィードフォワードデータの遅れτは、0.36msecとなる。
【0043】
したがって、時定数Tが48msecの場合にフィードフォワードデータの遅れτを1.44msecに設定し、時定数Tが24msecの場合にフィードフォワードの遅れτを0.36msecに設定することによって、形状誤差を減少させることができる。
【0044】
また、図3から図5は、ベル型フィルタの場合において、ポジションゲインKpを40(1/sec)とした場合の比較例を示している。図3は、加減速フィルタの時定数Tに対応したフィードフォワードデータの遅れτを設定した場合の形状誤差を示しており、図4は、図3のフィードフォワードの遅れτのままで加減速フィルタの時定数を変化させた場合の形状誤差を示しており、図5は、変化した加減速フィルタの時定数に対応したフィルタデータの遅れτを設定した場合の形状誤差を示している。
【0045】
図3において、ポジションゲインKpが40(1/sec)で、加減速フィルタの時定数Tが24msecの場合に対応するフィードフォワードデータの遅れτは0.48msecである。このτを設定したフィードフォワードによってサーボモータを加減速制御し、半径Rが10cmの円弧を加工した場合には、半径の減少を減少させることができる。
【0046】
また、加減速フィルタの時定数Tを34msecとした場合に、適応するフィードフォワードデータの遅れτは0.963msecである。図4は、この遅れτの代わりに、図3における遅れτ(=0.48msec)に設定したフィードフォワードによってサーボモータを加減速制御し、半径Rが10cmの円弧を加工した場合の形状を示している。この場合には、約7μmの半径減少が生じる。
【0047】
これに対して、図5は、加減速フィルタの時定数Tを34msecとし、フィードフォワードデータの遅れτを(0.48msec+0.5msec)として、適応する値(0.963msec)にほぼ近い値に設定したフィードフォワードによってサーボモータを加減速制御し、半径Rが10cmの円弧を加工した場合の形状を示している。この場合には、半径の減少を減少させることができる。
【0048】
【発明の効果】
以上説明したように、本発明によれば、指令時定数により生じる指令遅れによる形状誤差を低減することができるサーボモータの加減速制御装置を提供することができる。
【図面の簡単な説明】
【図1】 本発明のサーボモータの加減速制御装置を説明するブロック図である。
【図2】 本発明のサーボモータの加減速制御装置による形状誤差の補償を説明する図である。
【図3】 ベル型フィルタの場合において、フィルタの時定数が24msec,フィードフォワードデータの遅れτが0.48msecの場合の形状誤差を示す図である。
【図4】 ベル型フィルタの場合において、フィルタの時定数が34msec,フィードフォワードデータの遅れτが0.48msecの場合の形状誤差を示す図である。
【図5】 ベル型フィルタの場合において、フィルタの時定数が34msec,フィードフォワードデータの遅れτが0.48msec+0.5msecの場合の形状誤差を示す図である。
【符号の説明】
1 加減速フィルタ
2 位置のフィードフォワード項
3 時間遅れの項
4 ポジションゲイン
5 積分項
10 指令による加工形状
11 時定数をかけた後の位置指令
12 補償しない場合の加工形状
A 指令時定数による形状誤差
B サーボ系の遅れによる形状誤差[0001]
[Industrial application fields]
The present invention relates to an acceleration / deceleration control device for a servomotor used for controlling a feed axis of a machine tool, a robot arm, and the like.
[0002]
[Prior art]
For example, exponential acceleration / deceleration control and linear acceleration / deceleration control are known by controlling the acceleration / deceleration of the servo motor. This exponential acceleration / deceleration control is an acceleration / deceleration control that provides an exponential response to the step input. Since the acceleration at startup is large due to the influence of high-frequency components, shock is applied to the servo control and its load system. However, there are drawbacks such as being prone to vibration and taking time to decelerate and stop. This point becomes a cause of tracing a trajectory inside the command value when the table of the machine tool or the like is moved in an arc shape using the X and Y axis servo motors.
[0003]
Further, the linear acceleration / deceleration control has a drawback that since the acceleration changes rapidly, the servo control system and its load system are shocked to easily vibrate. Furthermore, there is a problem that when the vibration is caused by a command having a frequency component close to the natural frequency of the servo control system or the load system, the servo control system or the load system itself is vibrated.
Therefore, in order to make NC machine tools, robots, etc. start and stop smoothly and prevent vibrations in the machine, a movement command (speed) to the servo motor is sent to each axis after interpolation. The control of acceleration / deceleration control is performed by inputting the output of the acceleration / deceleration filter to the servo control unit, or the command speed before interpolation is passed through the acceleration / deceleration filter, and the output of the acceleration / deceleration filter is interpolated. Acceleration / deceleration control input to a servo control unit is also known.
[0004]
In such acceleration / deceleration control, for example, the discontinuity generated in the acceleration is reduced by using two acceleration / deceleration filters as known in the bell-type acceleration / deceleration control. .
[0005]
Further, when high speed cutting is performed with a machine tool, feed forward may be applied to the position loop in order to reduce the shape error due to the normal delay of the servo system. This feed forward in the position loop increases the gain of the position loop to compensate for servo delay and reduce shape error.
[0006]
[Problems to be solved by the invention]
However, in the conventional acceleration / deceleration control of the servo motor, there is a problem that a shape error occurs due to a command delay caused by a command time constant included in the filter.
[0007]
For example, if the linear time constant of a filter used for linear acceleration / deceleration control is Tc, the input to this filter is Asinωt, and the output is Y, the output Y can be expressed by the following equation.
[0008]
[Expression 1]
Figure 0003876010
Therefore, when have once the time constant of the linear, the amplitude {1- (ω · Tc) 2 /24} becomes doubled, X, of the machine tool in a circular arc shape using a servo motor of the Y-axis table When moving etc., the locus | trajectory inside a command value is followed and a shape error will generate | occur | produce.
[0009]
In the case of using the constants a bell Add two filter when the linear, the amplitude becomes {1- (ω · Tc) 2 /12} times, relative to the bell-shaped time constant T (= 2Tc) Te, becomes {1- (ω · T) 2 /48} times the amplitude, as well, when performing arcuate machining, the shape error will occur following the inner track than the command value .
[0010]
Normally, the shape error due to the error of the command itself due to this command time constant is a fraction of the order of the shape error due to the delay generated by the servo system (first-order lag system). However, if the shape error due to the delay of the servo system is reduced by applying nearly 100% feedforward to the servo loop in order to realize high-speed and high-precision machining, the shape error due to the error of the command itself due to this command time constant is reduced. Relatively increases, and a shape error due to a command time constant during high-speed machining becomes a problem.
[0011]
Accordingly, an object of the present invention is to provide an acceleration / deceleration control device for a servo motor that solves the above-described conventional problems and can reduce a shape error due to a command delay caused by a command time constant of an acceleration / deceleration filter. To do.
[0012]
[Means for Solving the Problems]
The present invention provides an acceleration / deceleration control device that controls acceleration / deceleration of a servo motor using a position command obtained by inputting an interpolated movement command to an acceleration / deceleration filter , and differentiates the position command and adds the differentiated position command. The feedforward data is delayed by the time delay determined according to the command time constant of the deceleration filter, the feedforward data delayed in time is used as the position feedforward control amount, and this feedforward control amount and the control amount obtained by the position loop control are added. By performing the feedforward control using the speed command as a speed command, the acceleration / deceleration control of the servo motor is performed to achieve the object.
[0013]
The acceleration / deceleration filter according to the present invention inputs a movement command distributed for each axis by interpolation in order to reduce shock caused by acceleration / deceleration, and outputs the movement command multiplied by a predetermined time constant. is there.
[0014]
The servo motor acceleration / deceleration control device of the present invention can reduce the shape error due to the delay of the servo system and the shape error due to the error of the command itself due to the command time constant of the acceleration / deceleration filter. The error is compensated by feedforward control by the feedforward system, and the shape error due to the command time constant of the acceleration / deceleration filter is compensated by the term of time delay during feedforward.
[0015]
The amount of time delay in the feedforward is determined according to the command time constant of the acceleration / deceleration filter so as to compensate for the shape error due to the command time constant of the acceleration / deceleration filter. It can be determined that the product of the gain of the feedforward loop is a constant.
[0016]
Further, if the position loop gain is Kp and the command time constant of the acceleration / deceleration filter after interpolation is Ts, the time delay τ in the feedforward can be determined by τ = k · Kp · Ts 2 where k is a constant.
[0017]
In addition, when the acceleration / deceleration filter is applied with a single-stage linear filter , the constant k that determines the time delay τ of the feedforward data can be set to (1/24), and the acceleration / deceleration filter has two stages. when applying a linear filter constant k can be a (1/48).
[0018]
FIG. 1 is a block diagram illustrating an acceleration / deceleration control apparatus for a servo motor according to the present invention. In FIG. 1, the acceleration / deceleration filter 1 is a term for forming a position command by multiplying the command M after interpolation by a command time constant, and the transfer function 2 is a feedforward term of a position that differentiates the position command. α is a position feedforward coefficient. Transfer function 3 is a term of time delay, and τ is a time constant. Further, Kp of the transfer function 4 is a position gain in the position loop, and the transfer function 5 is an integral term for obtaining an actual position.
[0019]
Then, the feedforward data delayed by the time delay term 3 is used as the feedforward control amount of the position, and the control command by the position loop control obtained by multiplying the position command by the position gain Kp is added to the speed command. The actual position based on this speed command is fed back to the position command as a position feedback.
[0020]
Compensation for the shape error due to the command time constant of the acceleration / deceleration filter is performed, for example, by adjusting the product of the gain G2 of the acceleration / deceleration filter 1 and the gain G1 of the feedforward loop to be a constant. It can be done by setting according to.
[0021]
[Action]
By passing the interpolated movement command through the acceleration / deceleration filter, the movement command is delayed by a time delay determined according to the command time constant of the acceleration / deceleration filter to form a position command, thereby reducing the shock associated with acceleration / deceleration Let The time delay due to the command time constant of the acceleration / deceleration filter causes a delay in the command itself and causes a shape error. In addition, the drive mechanism by the servo motor also has a shape error caused by the delay of the servo system itself.
[0022]
After the position command formed by the acceleration / deceleration filter is differentiated, the differentiated position command is delayed by a time delay determined according to the command time constant of the acceleration / deceleration filter, thereby forming time-delayed feed forward data. Then, feedforward control is performed using the feedforward data delayed for this time as the feedforward control amount for the position, and using the sum of the feedforward control amount and the control amount obtained by the position loop control as the speed command.
[0023]
The feedforward control by this feedforward system compensates for the shape error due to the delay of the servo system, and the acceleration / deceleration filter reduces the amount of time delay so that the time constant is compensated for in the time delay term during feedforward. The shape error due to the command time constant of the acceleration / deceleration filter is thereby reduced.
[0024]
In FIG. 1, an acceleration / deceleration filter 1 is a term for applying a time constant to the command after interpolation. With this, the absolute value of the gain characteristic G2 (jω) of the position command after applying the time constant is 1. This causes a shape error.
[0025]
On the other hand, the gain characteristic G1 (jω) of the position loop by the feedforward system in FIG.
Kp · (M−P) + αs · exp (−τs) · M = sP
G1 takes the ratio of P and M,
G1 = P / M = {αs · exp (−τs) + Kp} / (s + Kp)
Get. In G1, when s = jω,
G1 (jω)
= {Kp + α · ω · sin (ω · τ) + jα · ω · cos (ω · τ)}
/ (Kp + jω) (2)
It becomes. The absolute value of G1 (jω) is
| G 1 (jω) | 2
= {Kp 2 + 2 · Kp · α · ω · sin (ω · τ) + α 2 · ω 2 } / (Kp 2 + ω 2 )
... (3)
It becomes.
[0026]
Here, when α = 1,
| G 1 (jω) | 2
= 1 + {2 · Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 ) (4)
And
√ and the x«1 (1 + x) = 1 + x / 2-x 2/6 + ... and can approximate deployed, because it is Omega«1, when approximated by up to two terms of this approximation deployment,
| G1 (jω) |
≈ 1+ {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 ) (5)
≒ 1 + (ω ・ ω / Kp) ・ τ (6)
And can be approximated.
Here, omega is commanded angular frequency (1 / sec), Kp is a position gain (1 / sec), τ is delayed (sec) feedforward data, omega is assumed sufficiently smaller than Kp.
[0027]
In the above equation (6), when the delay τ of the feedforward data is 0, the absolute value of the theoretical position loop gain characteristic G1 (jω) is 1, but the term of the feedforward data delay τ Is added, the absolute value of the gain characteristic G1 (jω) of the position loop can be made 1 or more.
[0028]
Therefore, in the apparatus of the present invention, the gain characteristic G1 (jω) and the gain characteristic G2 (jω) are set so as to make the gain from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position as close to 1 as possible. make use of,
| G1 (jω) | · | G2 (jω) | = 1 (7)
The delay τ of the feedforward data is adjusted so that the following relationship can be obtained.
[0029]
Therefore, the shape error due to the command time constant of the acceleration / deceleration filter 1 can be reduced by using the delay τ of the feedforward data that satisfies the expression (7).
[0030]
FIG. 2 is a diagram for explaining the compensation of the shape error by the servo motor acceleration / deceleration control apparatus of the present invention. In FIG. 2, a solid line 10 indicates a machining shape according to the command M. With respect to this machining shape, the machining shape by the position command after being multiplied by the command time constant indicated by the broken line 11 is obtained by the shape error due to the command time constant of the acceleration / deceleration filter 1 indicated by the arrow A. Further, the machining shape indicated by the alternate long and short dash line 12 is obtained by the shape error due to the delay of the servo system indicated by the arrow B.
[0031]
The shape error B is compensated for this shape error by a feedforward system as indicated by an arrow b, and the shape error A is compensated for by a delay τ of feedforward data during feedforward as indicated by an arrow a.
[0032]
【Example】
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0033]
In the block diagram for explaining the acceleration / deceleration control device of the present invention shown in FIG. 1, when a one-stage linear filter having a linear time constant Tc is used as the acceleration / deceleration filter 1, a command time constant by the acceleration / deceleration filter is used. The gain G2 of the command after multiplying by can be obtained by the equation (1).
[0034]
Therefore, the amplitude by the gain G2 of the 1-stage linear filter becomes {1- (ω · Tc) 2 /24}.
[0035]
On the other hand, the gain G1 due to feedforward in FIG. 1 is represented by the following equation (5): | G 1 (jω) | ≈1 + {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 ) .
[0036]
Therefore, in order to make the gain from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position as close to 1 as possible, the above-described equation (1) is used by using the gain characteristic G1 (jω) and the gain characteristic G2 (jω). 7), the delay τ of the feedforward data is adjusted so that the relationship of | G1 (jω) | · | G2 (jω) | = 1 is obtained.
[0037]
Here, the gain G from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position is
G = | G1 (jω) | ・ | G2 (jω) |
= {1- (ω · Tc) 2/24}
・ [1+ {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 ) ] (8)
Can be represented by In the formula (8), in order to gain G becomes 1 may be Naritate is (ω · Tc) 2/24 = {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2). It can be approximated with a gain G = 1. Here, if ω is sufficiently smaller than Kp and Kp >> ω holds,
{Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 )
ω ・ sin (ω ・ τ) / Kp
≒ ω 2 ・ τ / Kp (9)
Holds.
[0038]
Therefore, the delay τ of the feedforward data is
τ = (1/24) · Kp · Tc 2 (10)
By using the delay τ of this feedforward data, the gain G from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position is set to 1, and the shape error due to the command time constant of the acceleration / deceleration filter 1 is reduced. Decrease.
[0039]
Next, in the block diagram for explaining the acceleration / deceleration control device of the present invention shown in FIG. 1, the acceleration / deceleration filter 1 is composed of two one-stage linear filters having a linear time constant Tc and two-stage linear filters. in the case of using a bell-shaped filter, its amplitude becomes {1- (ω · Tc) 2 /12} times, relative to the bell-shaped time constant T (= 2Tc), {1- (ω · T) 2 / 48} times the amplitude.
[0040]
Similarly to the above, in order to make the gain from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position as close to 1 as possible, the gain characteristic G1 (jω) and the gain characteristic G2 (jω) are used. , | G1 (jω) | · | G2 (jω) | = 1, the delay τ of the feedforward data is adjusted.
[0041]
Here, the gain G from the command before applying the command time constant by the acceleration / deceleration filter 1 to the actual position is
G = | G1 (jω) | ・ | G2 (jω) |
= {1- (ω · T) 2/48}
[1+ {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2 ) ] (11)
Can be represented by In this equation (11), in order for the gain G to be 1,
(Ω · T) 2/48 = {Kp · ω · sin (ω · τ)} / (Kp 2 + ω 2)
And from the condition of the equation (9),
The feedforward data delay τ is
τ = (1/48) · Kp · T 2 (12)
It becomes.
[0042]
In the case of this bell type filter, for example, if the position gain Kp is 30, the feedforward data delay τ when the time constant T is 48 msec is 1.44 msec, and the feedforward data when the time constant T is 24 msec. The delay τ is 0.36 msec.
[0043]
Therefore, by setting the feedforward data delay τ to 1.44 msec when the time constant T is 48 msec, and setting the feedforward delay τ to 0.36 msec when the time constant T is 24 msec, the shape error is reduced. Can be reduced.
[0044]
3 to 5 show comparative examples when the position gain Kp is 40 (1 / sec) in the case of a bell-type filter. FIG. 3 shows the shape error when the feedforward data delay τ corresponding to the time constant T of the acceleration / deceleration filter is set. FIG. 4 shows the acceleration / deceleration filter with the feedforward delay τ shown in FIG. FIG. 5 shows the shape error when the delay τ of the filter data corresponding to the changed time constant of the acceleration / deceleration filter is set.
[0045]
In FIG. 3, the delay τ of the feedforward data corresponding to the case where the position gain Kp is 40 (1 / sec) and the time constant T of the acceleration / deceleration filter is 24 msec is 0.48 msec. When the servomotor is controlled to accelerate and decelerate by feedforward in which τ is set and a circular arc having a radius R of 10 cm is machined, the decrease in radius can be reduced.
[0046]
Further, when the time constant T of the acceleration / deceleration filter is set to 34 msec, the delay τ of the feedforward data to be applied is 0.963 msec. FIG. 4 shows the shape when the servomotor is subjected to acceleration / deceleration control by feedforward set to the delay τ (= 0.48 msec) in FIG. 3 and a circular arc having a radius R of 10 cm is processed instead of the delay τ. ing. In this case, a radius reduction of about 7 μm occurs.
[0047]
On the other hand, in FIG. 5, the time constant T of the acceleration / deceleration filter is set to 34 msec, and the delay τ of the feedforward data is set to (0.48 msec + 0.5 msec), which is set to a value almost close to the applicable value (0.963 msec). The shape is shown when the servomotor is subjected to acceleration / deceleration control by the feedforward, and an arc having a radius R of 10 cm is machined. In this case, the decrease in radius can be reduced.
[0048]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a servo motor acceleration / deceleration control device capable of reducing a shape error due to a command delay caused by a command time constant.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an acceleration / deceleration control apparatus for a servo motor according to the present invention.
FIG. 2 is a diagram for explaining compensation of a shape error by the acceleration / deceleration control apparatus for a servo motor according to the present invention.
FIG. 3 is a diagram showing a shape error when the time constant of the filter is 24 msec and the delay τ of the feedforward data is 0.48 msec in the case of the bell type filter.
FIG. 4 is a diagram showing a shape error in the case of a bell-type filter when the filter time constant is 34 msec and the feed-forward data delay τ is 0.48 msec.
FIG. 5 is a diagram showing a shape error in the case of a bell-type filter when the filter time constant is 34 msec and the feedforward data delay τ is 0.48 msec + 0.5 msec.
[Explanation of symbols]
1 Acceleration / deceleration filter 2 Position feedforward term 3 Time delay term 4 Position gain 5 Integral term 10 Machining shape by command 11 Position command after applying time constant 12 Machining shape without compensation A Shape error by command time constant B Shape error due to servo system delay

Claims (3)

補間後の移動指令を加減速フィルタに入力して得られる位置指令を用いて位置ループ制御を行うと共に、前記位置指令を微分し、微分された値を所定時間だけ時間遅れさせた値を位置のフィードフォワード制御量とし、位置ループ制御で得られた制御量に前記フィードフォワード制御量を加算したものを速度指令とするフィードフォワード制御を行なうサーボモータの加減速制御装置において、
前記フィードフォワードにおける前記所定時間の時間遅れτを、位置ループゲインKpと補間後の加減速フィルタの指令時定数Tsに対して、τ=k・Kp・Ts 2 (kは定数)とすることを特徴とするサーボモータの加減速制御装置。
Position loop control is performed using the position command obtained by inputting the movement command after interpolation to the acceleration / deceleration filter , and the position command is differentiated, and the value obtained by delaying the differentiated value by a predetermined time is set as the position command. In an acceleration / deceleration control device for a servomotor that performs feedforward control using a feedforward control amount and a speed command obtained by adding the feedforward control amount to a control amount obtained by position loop control,
The time delay τ of the predetermined time in the feedforward is set to τ = k · Kp · Ts 2 (k is a constant) with respect to the position loop gain Kp and the command time constant Ts of the acceleration / deceleration filter after interpolation. A servo motor acceleration / deceleration control device.
前記加減速フィルタの指令時定数は1段のリニアの指令時定数であり、前記定数kは(1/24)であることを特徴とする請求項記載のサーボモータの加減速制御装置。The instruction time constant of acceleration and deceleration filter is a linear command time constant of one stage, the constant k is deceleration control apparatus for a servomotor according to claim 1, characterized in that the (1/24). 前記加減速フィルタの指令時定数は2段のリニアの時定数であり、前記定数kは(1/48)であることを特徴とする請求項記載のサーボモータの加減速制御装置。The instruction time constant of acceleration and deceleration filter is a time constant of the two-stage linear, the constant k is deceleration control apparatus for a servomotor according to claim 1, characterized in that the (1/48).
JP18223895A 1995-06-27 1995-06-27 Servo motor acceleration / deceleration control device Expired - Fee Related JP3876010B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP18223895A JP3876010B2 (en) 1995-06-27 1995-06-27 Servo motor acceleration / deceleration control device
PCT/JP1996/001785 WO1997001805A1 (en) 1995-06-27 1996-06-27 Acceleration/deceleration control method for servomotor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18223895A JP3876010B2 (en) 1995-06-27 1995-06-27 Servo motor acceleration / deceleration control device

Publications (2)

Publication Number Publication Date
JPH0916265A JPH0916265A (en) 1997-01-17
JP3876010B2 true JP3876010B2 (en) 2007-01-31

Family

ID=16114766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18223895A Expired - Fee Related JP3876010B2 (en) 1995-06-27 1995-06-27 Servo motor acceleration / deceleration control device

Country Status (2)

Country Link
JP (1) JP3876010B2 (en)
WO (1) WO1997001805A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3834815B2 (en) * 2001-12-10 2006-10-18 株式会社安川電機 Optimal command generator
JP4362762B2 (en) * 2003-10-29 2009-11-11 株式会社安川電機 Servo control device and adjustment method thereof
WO2016051542A1 (en) * 2014-09-30 2016-04-07 株式会社牧野フライス製作所 Feed shaft control method and numerically controlled machine tool

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01108607A (en) * 1987-10-21 1989-04-25 Kobe Steel Ltd Feedforward controller for industrial robot
JP2762364B2 (en) * 1989-03-20 1998-06-04 ファナック株式会社 Feedforward control method for servo motor
JPH04109305A (en) * 1990-08-30 1992-04-10 Fanuc Ltd Servo motor control system
JPH04271412A (en) * 1991-02-26 1992-09-28 Toyoda Mach Works Ltd Digital servo controller
JPH04289904A (en) * 1991-03-19 1992-10-14 Nec Corp Control system of motor position
JPH07123762A (en) * 1993-10-26 1995-05-12 Matsushita Electric Ind Co Ltd Motor drive device

Also Published As

Publication number Publication date
JPH0916265A (en) 1997-01-17
WO1997001805A1 (en) 1997-01-16

Similar Documents

Publication Publication Date Title
US4980625A (en) Apparatus and method for servo control system
JP3739749B2 (en) Control device
JPH0816246A (en) Method for tandem controlling by digital servo
US7902785B2 (en) Method and device for guiding the movement of a moveable machine element of a machine
JP4944806B2 (en) Position control device
JPH10254550A (en) Position controller
JP2000339032A (en) Device and method for controlling synchronizing position
CN105932930B (en) Control device of electric motor
JP2009303432A (en) Position controller using motor
JP2897333B2 (en) Servo control device
JPH0969013A (en) Control mode switching method of servo system using servomotor
JP2000322105A (en) Servo controller and method for stabilizing and adjusting servo controller
JP2861277B2 (en) Positioning control device and positioning control method
JPH10329063A (en) Robot control device
JPH04255007A (en) Damping control system
JP3876010B2 (en) Servo motor acceleration / deceleration control device
JP3943061B2 (en) Servo control device
US5220262A (en) Method and apparatus for reducing cross-coupled movement through the structural dynamics of a computer numerically controlled machine
JP3599849B2 (en) Distribution method of movement command in servo control
JP3970091B2 (en) Control device
JP2003084804A (en) Optimum command forming unit
JP7308458B2 (en) damping device
JPH03107384A (en) Motor drive controller
JP3246559B2 (en) Servo control method
JPH0792702B2 (en) Control device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060922

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061030

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees