JP7585970B2 - Mechanical constant estimation device and motor control device - Google Patents
Mechanical constant estimation device and motor control device Download PDFInfo
- Publication number
- JP7585970B2 JP7585970B2 JP2021089125A JP2021089125A JP7585970B2 JP 7585970 B2 JP7585970 B2 JP 7585970B2 JP 2021089125 A JP2021089125 A JP 2021089125A JP 2021089125 A JP2021089125 A JP 2021089125A JP 7585970 B2 JP7585970 B2 JP 7585970B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- estimated
- weight
- inertia
- motor
- 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
Links
Images
Landscapes
- Control Of Electric Motors In General (AREA)
Description
本発明は、モータ及びその機械負荷の機械定数を推定する機械定数推定装置、並びに、この機械定数推定装置を備えたモータ制御装置に関する。 The present invention relates to a mechanical constant estimation device that estimates the mechanical constants of a motor and its mechanical load, and a motor control device equipped with this mechanical constant estimation device.
機械負荷を駆動するモータを良好に速度制御するためには、モータ及びその機械負荷の慣性や、粘性係数(粘性摩擦係数),クーロン摩擦等の負荷トルクを取得して速度制御条件に反映することが必要になる。
また、モータが同じ機械負荷を駆動し続ける場合でも負荷トルクが変化する時があり、このような場合には、運転条件によらず慣性等の機械定数を推定できると都合が良い。
In order to perform good speed control of a motor that drives a mechanical load, it is necessary to acquire the inertia of the motor and its mechanical load, the viscosity coefficient (viscous friction coefficient), Coulomb friction, and other load torques, and to reflect these in the speed control conditions.
Furthermore, even if a motor continues to drive the same mechanical load, the load torque may change. In such cases, it is convenient to be able to estimate mechanical constants such as inertia regardless of the operating conditions.
ここで、非特許文献1には、負荷トルクが、速度に依存しない符号関数型のクーロン摩擦と速度に比例する粘性係数との和によって表されることを前提として、クーロン摩擦、粘性係数と共に慣性を推定する方法が開示されている。
この文献では、正負対称な周期信号を速度指令として与え、図8(非特許文献1の図4)に示すように、トルク指令u及び角速度ωに基づく信号τe,q0,q0
’,q1を互いに掛け合わせて得た値を同文献記載の数式(Eqs.(37)~(44))により周期間隔で積分して行列Φの要素φ11,φ13,φ22,φ23,φ33 、及びベクトルVの要素v1,v2,v3を求め、その後に演算Φ-1Vを行うことで慣性を含む機械定数を同定している。
Here, Non-Patent
In this document, a positive-negative symmetrical periodic signal is given as the speed command, and as shown in FIG. 8 (FIG. 4 of Non-Patent Document 1), signals τ e , q 0 , q 0 ' , q 1 based on the torque command u and angular velocity ω are multiplied together to obtain a value, which is integrated at periodic intervals using equations (37) to (44) described in the same document to determine elements φ 11 , φ 13 , φ 22 , φ 23 , φ 33 of matrix Φ and elements v 1 , v 2 , v 3 of vector V, and then a calculation Φ -1 V is performed to identify the machine constants including inertia.
また、特許文献1には、トルク指令微分値、モータ加速度、モータ躍度等を同一特性のローパスフィルタを介し適応同定演算して慣性及び粘性係数を同定するモータ制御装置が記載されている。更に、特許文献2には、駆動機械の始動後の時間に応じて更新される重み信号を用いて重み付けした速度、加速度、トルクを最小二乗演算部に入力して、慣性及び粘性係数を推定する駆動機械の機械定数同定装置が記載されている。
非特許文献1に記載された機械定数の同定方法によると、例えば、慣性の所望の推定精度が得られにくい小さな加速度でモータを駆動した場合でも、推定精度に関係なく慣性推定値が更新される。或いは、粘性係数の所望の推定精度が得られにくい小さな最大速度でモータを駆動した場合でも、推定精度に関係なく慣性推定値が更新される。
つまり、より信頼性の高い推定結果が過去に得られていたとしても、推定値は信頼性の低い最新の推定結果に更新されてしまうことがある。更に、機械定数はできるだけ精度良く推定できることが望ましい一方で、短時間のうちに機械定数を推定したい場合もあるが、非特許文献1に記載された方法では、推定精度の向上と推定時間の短縮とを両立させるのが難しかった。
According to the method for identifying mechanical constants described in
In other words, even if a more reliable estimation result was obtained in the past, the estimated value may be updated to the latest less reliable estimation result. Furthermore, while it is desirable to estimate the machine constants as accurately as possible, there are also cases where it is desired to estimate the machine constants within a short period of time. However, with the method described in
また、特許文献1に係る従来技術では、モータの回転速度が低い場合でも高速かつ高精度に慣性及び粘性係数を同定し、特許文献2に係る従来技術では、駆動機械を始動してから所定時間が経過するまでの期間は重みを小さくすることでクーロン摩擦に起因する推定誤差を小さくしている。
しかしながら、これらの特許文献1,2には、クーロン摩擦を推定する手段については特に開示されていない。
In addition, in the conventional technology disclosed in
However,
そこで、本発明の解決課題は、機械定数の推定に当たってモータ速度や加速度が適切でない場合でも、推定値の悪化を招きにくい形で慣性、粘性係数、及びクーロン摩擦を高精度かつ短時間で推定可能とした機械定数推定装置と、この推定装置により推定した機械定数を用いてモータの速度制御等を行うモータ制御装置を提供することにある。 The problem to be solved by the present invention is to provide a mechanical constant estimation device that can estimate inertia, viscosity coefficient, and Coulomb friction with high accuracy and in a short time in a manner that is unlikely to lead to deterioration of the estimated values even when the motor speed or acceleration is inappropriate when estimating the mechanical constants, and a motor control device that uses the mechanical constants estimated by this estimation device to control the motor speed, etc.
上記課題を解決するため、請求項1に係る機械定数推定装置は、モータ及び当該モータにより駆動される機械負荷の慣性、粘性係数、及びクーロン摩擦からなる機械定数を推定する機械定数推定装置において、
前記モータの始動後にその速度絶対値が所定の推定開始速度を超えた時点で前記モータのトルク、加速度、速度、及び速度符号のうち何れか二つの積を被積分関数とする数値積分を開始し、かつ、前記モータが減速してその速度絶対値が前記推定開始速度以下になった時点で数値積分を終了する積分手段と、
前記積分手段による積分値に基づいて、前記モータの加減速期間における慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1を演算する推定値演算手段と、
前記慣性推定値J1、前記粘性係数推定値D1、及び前記クーロン摩擦推定値Tf1にそれぞれ対応する重みWJ1,WD1,WTf1を演算する手段と、
前記加減速期間における前記慣性推定値J1及び前記重みWJ1を用いて当該加減速期間以前に演算した慣性推定平均値J2及び積算重みWJ2を更新し、更新後の慣性推定平均値J2を慣性推定結果として出力する慣性推定値平均手段と、
前記加減速期間における前記粘性係数推定値D1及び前記重みWD1を用いて当該加減速期間以前に演算した粘性係数推定平均値D2及び積算重みWD2を更新し、更新後の粘性係数推定平均値D2を粘性係数推定結果として出力する粘性係数推定値平均手段と、
前記加減速期間における前記クーロン摩擦推定値Tf1及び前記重みWTf1を用いて当該加減速期間以前に演算したクーロン摩擦推定平均値Tf2及び積算重みWTf2を更新し、更新後のクーロン摩擦推定平均値Tf2をクーロン摩擦推定結果として出力するクーロン摩擦推定値平均手段と、
を備えたことを特徴とする。
In order to solve the above problem, a mechanical constant estimation device according to
an integrating means for starting a numerical integration using the product of any two of the torque, acceleration, speed, and speed sign of the motor as an integrand function when the absolute value of the speed of the motor exceeds a predetermined estimation start speed after the motor is started, and for ending the numerical integration when the absolute value of the speed of the motor becomes equal to or less than the estimation start speed as a result of the deceleration of the motor;
an estimated value calculation means for calculating an estimated inertia value J1 , an estimated viscosity coefficient value D1 , and an estimated Coulomb friction value Tf1 during an acceleration/deceleration period of the motor based on the integrated value by the integrating means;
a means for calculating weights W J1 , W D1 , and W Tf1 corresponding to the estimated inertia value J 1 , the estimated viscosity coefficient value D 1 , and the estimated Coulomb friction value T f1, respectively;
an inertia estimation value averaging means for updating an inertia estimation average value J2 and an integrated weight WJ2 calculated before the acceleration/deceleration period using the inertia estimation value J1 and the weight WJ1 during the acceleration/deceleration period, and outputting the updated inertia estimation average value J2 as an inertia estimation result;
a viscosity coefficient estimated value averaging means for updating a viscosity coefficient estimated average value D2 and an integrated weighting W2 calculated before the acceleration/deceleration period using the viscosity coefficient estimated value D1 and the weighting W D1 during the acceleration/deceleration period, and outputting the updated viscosity coefficient estimated average value D2 as a viscosity coefficient estimated result;
a Coulomb friction estimated value averaging means for updating a Coulomb friction estimated average value Tf2 and an integrated weight WTf2 calculated before the acceleration/deceleration period using the Coulomb friction estimated value Tf1 and the weight WTf1 during the acceleration/deceleration period, and outputting the updated Coulomb friction estimated average value Tf2 as a Coulomb friction estimation result;
The present invention is characterized by comprising:
請求項2に係る機械定数推定装置は、請求項1に記載した機械定数推定装置において、
前記推定値演算手段が、
前記モータの加減速期間tにおける加速度a(t)、速度v(t)、速度符号sign(v(t))、及びトルクT(t)をそれぞれx1(t),x2(t),x3(t),y(t)とした時に、前記x1(t),x2(t),x3(t),y(t)のうち何れか二つの積を被積分関数とするmij=∫{xi(t)xj(t)}dt及びqi=∫{xi(t)y(t)}dt(ただし、i,j=1~3)を用いて、特許請求の範囲に記載の数式1により慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1を演算することを特徴とする。
A mechanical constant estimation device according to
The estimation value calculation means
When the acceleration a(t), velocity v(t), velocity sign(v(t)), and torque T(t) during an acceleration/deceleration period t of the motor are denoted by x1 (t), x2 ( t ), x3 (t), and y(t), respectively, the inertia estimated value J1, viscosity coefficient estimated value D1, and Coulomb friction estimated value Tf1 are calculated according to
請求項3に係る機械定数推定装置は、請求項1または2に記載した機械定数推定装置において、前記被積分関数を求めるためのトルク、加速度、及び速度が、同じ時定数のローパスフィルタを演算した後の値であることを特徴とする。
The mechanical constant estimation device according to
請求項4に係る機械定数推定装置は、請求項1または2に記載した機械定数推定装置において、前記重みWJ1が、前記モータの加速度の絶対値に対して単調増加する値を数値積分した値であり、前記重みWD1が、前記モータの速度の絶対値に対して単調増加する値を数値積分した値であり、かつ、前記重みWTf1が、前記モータの速度にも加速度にも依存しない値を数値積分した値であることを特徴とする。
The mechanical constant estimation device of
請求項5に係る機械定数推定装置は、請求項3に記載した機械定数推定装置において、前記重みWJ1が、前記ローパスフィルタによる演算後の前記モータの加速度の絶対値に対して単調増加する値を数値積分した値であり、前記重みWD1が、前記ローパスフィルタによる演算後の前記モータの速度の絶対値に対して単調増加する値を数値積分した値であり、かつ、前記重みWTf1が、前記モータの速度にも加速度にも依存しない値を数値積分した値であることを特徴とする。
The mechanical constant estimation device of claim 5 is the mechanical constant estimation device described in
請求項6に係る機械定数推定装置は、請求項4または5に記載した機械定数推定装置において、前記慣性推定値平均手段は、前記慣性推定値J1及び前記重みWJ1が新たに得られるたびに、前記積算重みWJ2の前回値と前記重みWJ1の今回値との加算値を所定の上限値WJmaxにより制限した値を前記積算重みWJ2の今回値としたうえで、
慣性推定平均値J2の今回値=慣性推定平均値J2の前回値+(重みWJ1の今回値/積算重みWJ2の今回値)×(慣性推定値J1の今回値-慣性推定平均値J2の前回値)
を演算することを特徴とする。
According to a sixth aspect of the present invention, there is provided a mechanical constant estimation device according to the fourth or fifth aspect, wherein, each time the inertia estimated value J1 and the weight WJ1 are newly obtained, the inertia estimated value averaging means sets a current value of the integrated weight WJ2 to a sum of a previous value of the integrated weight WJ2 and a current value of the weight WJ1 limited by a predetermined upper limit value WJmax , and then:
Current value of inertia estimated average value J2 =Previous value of inertia estimated average value J2 +(current value of weight WJ1 /current value of integrated weight WJ2 )×(current value of inertia estimated value J1 −previous value of inertia estimated average value J2 )
The present invention is characterized in that it calculates the following:
請求項7に係る機械定数推定装置は、請求項4~6の何れか1項に記載した機械定数推定装置において、前記粘性係数推定値平均手段は、前記粘性係数推定値D1及び前記重みWD1が新たに得られるたびに、前記積算重みWD2の前回値と前記重みWD1の今回値との加算値を所定の上限値WDmaxにより制限した値を前記積算重みWD2の今回値としたうえで、
粘性係数推定平均値D2の今回値=粘性係数推定平均値D2の前回値+(重みWD1の今回値/積算重みWD2の今回値)×(粘性係数推定値D1の今回値-粘性係数推定平均値D2の前回値)
を演算することを特徴とする。
The mechanical constant estimation device according to claim 7 is the mechanical constant estimation device according to any one of
Current value of the estimated viscosity coefficient average value D2 = Previous value of the estimated viscosity coefficient average value D2 + (Current value of the weighting W D1 / Current value of the integrated weighting W D2 ) × (Current value of the estimated viscosity coefficient value D1 - Previous value of the estimated viscosity coefficient average value D2 )
The present invention is characterized in that it calculates the following:
請求項8に係る機械定数推定装置は、請求項4~7の何れか1項に記載した機械定数推定装置において、前記クーロン摩擦推定値平均手段は、前記クーロン摩擦推定値Tf1及び前記重みWTf1が新たに得られるたびに、前記積算重みWTf2の前回値と前記重みWTf1の今回値との加算値を所定の上限値WTfmaxにより制限した値を前記積算重みWTf2の今回値としたうえで、
クーロン摩擦推定平均値Tf2の今回値=クーロン摩擦推定平均値Tf2の前回値+(重みWTf1の今回値/積算重みWTf2の今回値)×(クーロン摩擦推定値Tf1の今回値-クーロン摩擦推定平均値Tf2の前回値)
を演算することを特徴とする。
The mechanical constant estimation device according to an eighth aspect of the present invention is the mechanical constant estimation device according to any one of the fourth to seventh aspects, wherein, each time the Coulomb friction estimated value Tf1 and the weight W Tf1 are newly obtained, the Coulomb friction estimated value averaging means sets a value obtained by limiting the sum of the previous value of the integrated weight W Tf2 and the current value of the weight W Tf1 by a predetermined upper limit value W Tfmax as the current value of the integrated weight W Tf2 , and then:
Current value of Coulomb friction estimated average value Tf2 =Previous value of Coulomb friction estimated average value Tf2 +(Current value of weight W Tf1 /Current value of integrated weight W Tf2 )×(Current value of Coulomb friction estimated value Tf1 −Previous value of Coulomb friction estimated average value Tf2 )
The present invention is characterized in that it calculates the following:
請求項9に係る機械定数推定装置は、請求項1~8の何れか1項に記載した機械定数推定装置において、前記慣性推定平均値J2、前記粘性係数推定平均値D2及び前記クーロン摩擦推定平均値Tf2、並びに、前記積算重みWJ2,WD2,WTf2を、不揮発性メモリに記憶すると共に外部から初期化可能としたことを特徴とする。
The mechanical constant estimation device of claim 9 is the mechanical constant estimation device according to any one of
請求項10に係るモータ制御装置は、請求項1~9の何れか1項に記載の機械定数推定装置により推定した前記機械定数を用いて、前記モータを制御することを特徴とする。
The motor control device according to claim 10 is characterized in that it controls the motor using the mechanical constants estimated by the mechanical constant estimation device according to any one of
本発明によれば、例えばモータ速度や加速度が小さいため機械定数を適切に推定することが難しい場合でも、推定値の悪化を招きにくい形で機械定数を高精度かつ短時間で推定することができる。 According to the present invention, even when it is difficult to properly estimate the mechanical constants, for example because the motor speed or acceleration is small, it is possible to estimate the mechanical constants with high accuracy and in a short time in a manner that is unlikely to lead to deterioration of the estimated value.
以下、図に沿って本発明の実施形態を説明する。
図1は、本実施形態に係る機械定数推定装置の概要を示すブロック図である。この機械定数推定装置は、機械負荷が接続されたモータ(両者をまとめてモータ・機械負荷200とする)の速度及びトルクに基づいて、モータ・機械負荷200の慣性、粘性係数及びクーロン摩擦を推定する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
1 is a block diagram showing an outline of a mechanical constant estimation device according to the present embodiment. This mechanical constant estimation device estimates the inertia, viscosity coefficient, and Coulomb friction of a motor/
図1において、速度制御部100は、モータ・機械負荷200から得たモータ速度が速度指令に一致するようにトルクを出力する。ここで、トルクとは、トルク指令でも良いし、モータへの通電電流を検出して得たトルク推定値でも良い。
モータ速度及びトルクは、機械定数推定部300に入力されている。機械定数推定部300では、後述する動作により慣性、粘性係数及びクーロン摩擦を推定すると共に重み付け処理を行ってこれらの平均値J2,D2,Tf2を演算する。
なお、速度制御部100及び機械定数推定部300は、例えばマイクロコンピュータ等の演算処理装置及びそのプログラムによって実現されるものである。
1, a
The motor speed and torque are input to a mechanical
The
図2は、機械定数推定部300の第1実施例(機械定数推定部300A)を示す構成図である。
図2において、前記モータ・機械負荷200から得たモータ速度が、機械定数推定部300A内の積分開始・終了判定手段320、微分手段301、及び符号判定手段302に与えられ、モータのトルクが乗算手段303に与えられている。また、外部からのリセット指令が、後述の慣性推定値平均手段340、粘性係数推定値平均手段360、及びクーロン摩擦推定値平均手段380に入力されている。
FIG. 2 is a configuration diagram showing a first embodiment of the mechanical constant estimating section 300 (mechanical constant estimating section 300A).
2, the motor speed obtained from the motor/
いま、モータ加速度をa(t)、モータ速度をv(t)、モータ速度の符号をsign(v(t))、トルクをT(t)とし、これらをそれぞれx1(t),x2(t),x3(t),y(t)とおくと、微分手段301の出力であるモータ加速度x1(t)、モータ速度x2(t)、符号判定手段302の出力である速度符号x3(t)、及びトルクy(t)が、乗算手段303に入力される。 Now, let the motor acceleration be a(t), the motor speed be v(t), the sign of the motor speed be sign(v(t)), and the torque be T(t), and let these be x1 (t), x2 (t), x3 (t), and y(t), respectively. The motor acceleration x1 (t), motor speed x2 (t), which are the outputs of the differentiation means 301, the speed sign x3 (t), which is the output of the sign determination means 302, and the torque y(t) are input to the multiplication means 303.
乗算手段303では、x1(t),x2(t),x3(t),y(t)のうち二つのパラメータを用いて、xi(t)xj(t)及びxi(t)y(t)(i,j=1~3)を演算する。なお、乗算手段303における演算には、x1(t)2,x2(t)2,x3(t)2の演算(すなわち、i=j=1,i=j=2,i=j=3)も含む。
乗算手段303による乗算結果は、次段の積分手段304にそれぞれ入力される。
The multiplication means 303 calculates x i (t) x j (t) and x i (t) y (t) (i, j = 1 to 3) using two parameters from among x 1 (t), x 2 (t), x 3 (t), and y (t). The calculations in the multiplication means 303 also include the calculations of x 1 (t) 2 , x 2 (t) 2 , and x 3 (t) 2 (i.e., i = j = 1, i = j = 2, i = j = 3).
The results of the multiplication by the multiplication means 303 are input to the integration means 304 at the next stage.
積分手段304では、一定期間にわたってmij=∫{xi(t)xj(t)}dt、及び、qi=∫{xi(t)y(t)}dtという数値積分を行い、これらの演算結果を推定値演算手段311に送る。
なお、実際の数値積分では、例えば、
mij=Σ{xi(n)xj(n)},qi=Σ{xi(n)y(n)}
という演算を行ってmij,qiを定義し、n点目のデータが得られた時点で、
mij←mij+xi(n)xj(n),
qi←qi+xi(n)y(n)
として、mij,qiをそれぞれ更新する。
The integration means 304 performs numerical integration of m ij = ∫{x i (t) x j (t)} dt and q i = ∫{x i (t) y(t)} dt over a certain period of time and sends these calculation results to the estimate calculation means 311 .
In actual numerical integration, for example,
m ij =Σ{x i (n)x j (n)}, q i =Σ{x i (n)y(n)}
The above calculation is performed to define m ij and q i , and when the n-th data point is obtained,
m ij ←m ij +x i (n)x j (n),
q i ←q i +x i (n)y(n)
Then, m ij and q i are updated as follows.
図3は、図2における積分開始・終了判定手段320の構成図である。
図3において、絶対値演算手段321はモータ速度の絶対値を演算して比較手段322に送り、比較手段322は、予め設定された推定開始速度と速度絶対値とを比較する。
そして、速度絶対値が推定開始速度を上回った時点で、比較手段322から指示生成手段323を介して図2の積分手段304に積分開始指示を送り、速度絶対値が前記推定開始速度以下になった時点で、比較手段322から指示生成手段324を介して積分手段304に積分終了指示を送る。上記の積分開始指示から積分終了指示までの期間が積分期間となる。また、指示生成手段324からは、図2の推定値演算手段311に対する慣性推定値J1、粘性係数推定値D1、クーロン摩擦推定値Tf1の更新指示、及び、慣性推定値平均手段340、粘性係数推定値平均手段360、クーロン摩擦推定値平均手段380に対する重みWJ1,WD1,WTf1の更新指示も出力されている。
FIG. 3 is a block diagram of the integration start/end determination means 320 in FIG.
In FIG. 3, absolute value calculation means 321 calculates the absolute value of the motor speed and sends it to comparison means 322, which compares the speed absolute value with a preset estimated start speed.
When the absolute velocity value exceeds the estimation start velocity, the comparison means 322 sends an integration start instruction to the integration means 304 in Fig. 2 via the instruction generation means 323, and when the absolute velocity value becomes equal to or less than the estimation start velocity, the comparison means 322 sends an integration end instruction to the integration means 304 via the instruction generation means 324. The period from the integration start instruction to the integration end instruction is the integration period. The instruction generation means 324 also outputs instructions to update the inertia estimated value J1 , viscosity coefficient estimated value D1 , and Coulomb friction estimated value Tf1 to the estimate value calculation means 311 in Fig. 2, and instructions to update the weights WJ1 , WD1 , and WTf1 to the inertia estimated value averaging means 340, viscosity coefficient estimated value averaging means 360, and Coulomb friction estimated value averaging means 380.
積分開始・終了判定手段320による積分開始指示・積分終了指示、及び、更新指示の各時点を上記のようにした理由は、以下の通りである。
モータが機械負荷を駆動する場合、ゼロ速度近傍ではヒステリシスを伴った負荷トルクを生じることが少なくない。推定値演算手段311が機械定数を正しく推定するためには、積分手段304が積分を行う期間から上記のヒステリシス領域を除外する必要がある。そこで、モータの始動後に速度絶対値が所定の推定開始速度を上回ってから積分を開始し、その後にモータが減速して速度絶対値が上記推定開始速度以下になった時点で積分を停止するように積分期間を設定すると共に各パラメータの更新指示を行うことにより、当該積分期間における慣性推定値J1、粘性係数推定値D1、クーロン摩擦推定値Tf1、及び、重みWJ1,WD1,WTf1を確定することとした。
この場合、積分終了指示時点及び積分開始指示時点のモータ速度絶対値を等しくする(すなわち同一の推定開始速度を用いる)ことにより、負荷トルクに非線形性があった場合の各推定値の誤差を低減することができる。
The reason why the integration start/end determination means 320 issues the integration start instruction, integration end instruction, and update instruction at the above-mentioned times is as follows.
When a motor drives a mechanical load, a load torque accompanied by hysteresis often occurs near zero speed. In order for the estimated value calculation means 311 to correctly estimate the mechanical constant, it is necessary to exclude the above-mentioned hysteresis region from the period during which the integrating means 304 performs integration. Therefore, the integration period is set so that integration is started when the absolute speed value exceeds a predetermined estimation start speed after the motor starts, and integration is stopped when the absolute speed value becomes equal to or lower than the estimation start speed as the motor decelerates, and an instruction to update each parameter is issued to determine the estimated inertia value J1 , estimated viscosity coefficient value D1 , estimated Coulomb friction value Tf1 , and weights WJ1 , WD1 , and WTf1 during the integration period.
In this case, by making the absolute motor speed values at the integration end instruction time point and the integration start instruction time point equal (i.e., using the same estimation start speed), it is possible to reduce errors in each estimated value when the load torque is nonlinear.
なお、モータ速度や通電電流の検出誤差等に起因して、速度信号、その微分値の加速度信号、トルク信号をそのまま用いて演算することが問題になる場合には、図4に示す第2実施例の機械定数推定部300Bのように、モータ速度及びトルクに対してローパスフィルタ312,313をそれぞれ演算した結果を用いると良い。この場合、ローパスフィルタ312,313の時定数は等しくすることが望ましい。
If there is a problem with using the speed signal, its differential acceleration signal, and torque signal as they are for calculation due to detection errors in the motor speed or current flow, it is better to use the results of calculations performed by low-
図2に戻って、推定値演算手段311は、積分手段304が演算したmij,qi(i,j=1~3)を用いて、モータの1回の加減速期間における慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1を数式1により演算する。
この数式1は、運動方程式がT(t)=J(dv/dt)+Dv+Tfsign(v)と表される系について、1回の加減速期間に関して最小二乗法によりパラメータJ1,D1,Tf1を求めることに相当する。
This
上記について、具体的に説明する。最小二乗法では、
積分値I=∫{T(t)-J(dv/dt)-Dv-Tfsign(v)}2dt
が最小となるJ,D,Tfを求める。そのために、積分値IをJ,D,Tfでそれぞれ偏微分した値をゼロとおいて整理すると、数式2が得られる。
Integral value I=∫{T(t)-J(dv/dt)-Dv-T f sign(v)} 2 dt
To this end, the integral value I is partially differentiated with respect to J, D, and Tf , respectively, and then rearranged to obtain
上記の数式2を、前述のx1(t),x2(t),x3(t),y(t)を用いて置き換えると、数式3が得られる。
更に、前述したmij=Σ{xi(n)xj(n)},qi=Σ{xi(n)y(n)}のn点目のデータxi(n),xj(n),y(n)を時刻tにおけるデータxi(t),xj(t),y(t)にそれぞれ置き換えると、mij=Σ{xi(t)xj(t)},qi=Σ{xi(t)y(t)}となるから、数式4は数式5のように表すことができる。
一方、図2に示すように、モータ加速度x1(t)は第1の被積分値生成手段305に入力されてx1(t)の絶対値に対し単調増加する被積分値f1が生成され、モータ速度x2(t)は第2の被積分値生成手段307に入力されてx2(t)の絶対値に対し単調増加する被積分値f2が生成される。また、第3の被積分値生成手段309からは、モータの加速度にも速度にも依存しない被積分値f3が生成される。ここで、例えば、f1をx1(t)の二乗、f2をx2(t)の二乗とし、f3は単に1としても良い。 2, the motor acceleration x1 (t) is input to a first integrand generating means 305, which generates an integrand f1 that increases monotonically with the absolute value of x1 (t), and the motor speed x2 (t) is input to a second integrand generating means 307, which generates an integrand f2 that increases monotonically with the absolute value of x2 (t). Also, a third integrand generating means 309 generates an integrand f3 that does not depend on the motor acceleration or speed. Here, for example, f1 may be the square of x1 (t), f2 may be the square of x2 (t), and f3 may simply be 1.
上記の被積分値f1,f2,f3は積分手段306,308,310によりそれぞれ積分され、その結果が重みWJ1,WD1,WTf1として慣性推定値平均手段340、粘性係数推定値平均手段360、クーロン摩擦推定値平均手段380にそれぞれ入力されている。
慣性推定値平均手段340、粘性係数推定値平均手段360、及びクーロン摩擦推定値平均手段380は、推定値演算手段311から送られた慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1に対し、下記のように重みWJ1,WD1,WTf1を用いた重み付け演算を行って各推定平均値J2,D2,Tf2を算出する。
The integrands f1 , f2 , and f3 are integrated by integrating
The inertia estimation value averaging means 340, the viscosity coefficient estimation value averaging means 360, and the Coulomb friction estimation value averaging means 380 perform weighting calculations using weights W J1 , W D1 , and W Tf1 as follows on the inertia estimation value J 1 , the viscosity coefficient estimation value D 1 , and the Coulomb friction estimation value T f1 sent from the estimation value calculation means 311 to calculate the respective estimated average values J 2 , D 2 , and T f2 .
以下、慣性推定値平均手段340、粘性係数推定値平均手段360、及びクーロン摩擦推定値平均手段380の構成及び動作について説明する。
例えば、慣性が小さく加速度も小さい場合、前述した推定値演算手段311による推定演算を行っても、1回の加減速運転だけでは十分な精度で慣性を推定できないことが考えられる。また、最大速度が小さい加減速運転を行った場合も、1回の加減速運転だけでは十分な精度で粘性係数を推定できないことが考えられ、更に、加減速運転期間がごく短い場合には、その1回の加減速運転だけでは十分な精度でクーロン摩擦を推定できないことが考えられる。
The configurations and operations of the inertia estimated value averaging means 340, the viscosity coefficient estimated value averaging means 360, and the Coulomb friction estimated value averaging means 380 will be described below.
For example, when the inertia is small and the acceleration is also small, it is considered that the inertia cannot be estimated with sufficient accuracy by only one acceleration/deceleration operation, even if the estimation calculation is performed by the above-mentioned estimated value calculation means 311. Also, when an acceleration/deceleration operation with a small maximum speed is performed, it is considered that the viscosity coefficient cannot be estimated with sufficient accuracy by only one acceleration/deceleration operation, and further, when the acceleration/deceleration operation period is very short, it is considered that the Coulomb friction cannot be estimated with sufficient accuracy by only that one acceleration/deceleration operation.
同じようなパターンの加減速運転を繰り返す場合には、加減速運転ごとに得られた各推定値に対して単純移動平均を施す等の方法により推定精度を上げることができる。しかし、繰り返し運転ではない状況で各機械定数の推定精度を向上させたい場合には、加減速運転ごとにそれぞれの推定の信頼性が異なってくる。
そこで、この実施形態では、慣性推定値平均手段340、粘性係数推定値平均手段360、及びクーロン摩擦推定値平均手段380による下記の動作により推定精度を向上させている。
When the same pattern of acceleration/deceleration operation is repeated, the estimation accuracy can be improved by a method such as applying a simple moving average to each estimated value obtained for each acceleration/deceleration operation. However, when it is desired to improve the estimation accuracy of each machine constant in a situation where the operation is not repeated, the reliability of each estimation differs for each acceleration/deceleration operation.
In this embodiment, therefore, the estimation accuracy is improved by the following operations performed by the inertia estimated value averaging means 340, the viscosity coefficient estimated value averaging means 360, and the Coulomb friction estimated value averaging means 380.
まず、慣性推定値平均手段340について、図5を参照しつつ説明する。
なお、リセット指令が入力されるまでは、切替手段344,348は図示する状態にあるものとする。この点は、後述する図6の切替手段364,368、図7の切替手段384,388についても同様である。
First, the inertia estimate averaging means 340 will be described with reference to FIG.
It is assumed that the switching means 344, 348 are in the state shown in the figure until a reset command is input. This also applies to switching means 364, 368 in Fig. 6 and switching means 384, 388 in Fig. 7, which will be described later.
図5において、慣性推定値平均手段340は、1回の加減速期間で慣性推定値J1及び重みWJ1が新たに得られるたびに、慣性推定平均値J2及び重みWJ2を更新するように動作する。なお、重みWJ2は、常に重みWJ1の今回値(最新値)と前回値とを加算した値として求められるので、以下では「積算重みWJ2」ということとする。
図5に示すように、前回値保持手段343により保持された積算重みWJ2の前回値と重みWJ1の今回値(最新値)とを加減算手段341により加算し、その結果を予め設定された上限値WJmaxにより制限して積算重みWJ2の今回値を得る。そして、除算手段342により重みWJ1の今回値を積算重みWJ2の今回値にて除算し、その結果を乗算手段346に入力する。
5, the inertia estimation value averaging means 340 operates to update the inertia estimation average value J2 and the weight WJ2 every time a new inertia estimation value J1 and weight WJ1 are obtained during one acceleration/deceleration period. Note that the weight WJ2 is always calculated as the sum of the current value (latest value) and the previous value of the weight WJ1 , and therefore will be referred to as the "accumulated weight WJ2 " below.
5, the previous value of the integrated weight WJ2 held by the previous value holding means 343 and the current value (latest value) of the weight WJ1 are added by the addition/subtraction means 341, and the result is limited by a preset upper limit value WJmax to obtain the current value of the integrated weight WJ2 . Then, the current value of the weight WJ1 is divided by the current value of the integrated weight WJ2 by the division means 342, and the result is input to the multiplication means 346.
また、前回値保持手段349により保持された慣性推定平均値J2の前回値と慣性推定値J1の今回値との偏差を加減算手段345により求め、その偏差を乗算手段346に入力して除算手段342の出力と乗算する。更に、乗算手段346の出力と慣性推定平均値J2の前回値とを加減算手段347により加算し、その結果を慣性推定平均値J2の今回値として出力する。 Also, the deviation between the previous value of the inertia estimated average value J2 held by the previous value holding means 349 and the current value of the inertia estimated average value J1 is found by the addition/subtraction means 345, and this deviation is input to the multiplication means 346 where it is multiplied by the output of the division means 342. Furthermore, the output of the multiplication means 346 and the previous value of the inertia estimated average value J2 are added by the addition/subtraction means 347, and the result is output as the current value of the inertia estimated average value J2 .
以上の動作を数式で表現すると、以下の通りである。
J2今回値
=J2前回値+(WJ1今回値/WJ2今回値)×(J1今回値-J2前回値)
なお、積算重みWJ2及び慣性推定平均値J2は、外部からのリセット指令により切替手段344,348を「0」側に切り替えることにより、実質的に前回値保持手段343,349等を含むループを除去することで初期化を可能にしている。具体的には、例えば機械負荷を付け替えた際に切替手段344,348を「0」側に切り替えてWJ2,J2を初期化し、その後は不揮発性メモリ等の記憶手段にWJ2,J2を記憶しながら更新する。また、システムを再起動した際には、再起動後の運転に先立って上記記憶手段からWJ2,J2の値を読み込むようにする。
The above operations can be expressed by the following equations.
J2 current value = J2 previous value + ( WJ1 current value / WJ2 current value) × ( J1 current value - J2 previous value)
Incidentally, the integrated weight WJ2 and the estimated inertia average value J2 can be initialized by switching the switching means 344, 348 to the "0" side in response to an external reset command, thereby essentially removing the loop including the previous value holding means 343, 349, etc. Specifically, for example, when the mechanical load is changed, the switching means 344, 348 is switched to the "0" side to initialize WJ2 , J2 , and thereafter WJ2 , J2 are updated while being stored in storage means such as a non-volatile memory. Also, when the system is restarted, the values of WJ2 , J2 are read from the storage means prior to operation after the restart.
慣性推定平均値J2の更新方法について、更に詳しく説明する。
まず、加減算手段341によりWJ2前回値とWJ1今回値とを加算した値が上限値WJmax以下にとどまった場合は、
J2今回値
=J2前回値+{WJ1今回値/(WJ2前回値+WJ1今回値)}×(J1今回値-J2前回値)
=(J2前回値×WJ2前回値+J1今回値×WJ1今回値)/(WJ2前回値+WJ1今回値)
となる。
これは、過去の加減速運転全てのデータを使って重み付け平均値を求めることに相当し、慣性推定精度が得られにくいパターンの加減速運転の場合(例えば、加速度が小さい運転の場合)ほど、図2におけるx1(t)が小さくなって重みWJ1が小さく抑えられるため、信頼性の高い慣性推定平均値J2を得ることができる。
The method of updating the estimated inertia average value J2 will now be described in more detail.
First, if the value obtained by adding the previous value of W_J2 and the current value of W_J1 by the addition/subtraction means 341 remains below the upper limit value W_Jmax ,
J2 current value = J2 previous value + {W J1 current value / (W J2 previous value + W J1 current value)} × ( J1 current value - J2 previous value)
= ( J2 previous value × WJ2 previous value + J1 current value × WJ1 current value) / ( WJ2 previous value + WJ1 current value)
It becomes.
This is equivalent to finding a weighted average value using data from all past acceleration/deceleration driving. In the case of an acceleration/deceleration driving pattern in which it is difficult to obtain high inertia estimation accuracy (for example, in the case of driving with low acceleration), x1 (t) in FIG. 2 becomes smaller and the weight WJ1 is suppressed to a small value, so that a highly reliable inertia estimation average value J2 can be obtained.
しかし、WJ2前回値とWJ1今回値とを加算した値に何ら制限を設けずに運転を続けていくと、WJ2はやがて無限大になって除算手段342の出力がゼロに近付いていくため、新たな加減速運転が行われても慣性推定平均値J2が更新されなくなる。
そこで、図5に示すように、WJ2前回値とWJ1今回値との加算結果を上限値WJmax以下に制限することで、加減速運転を継続していくに連れて最新の運転結果が慣性推定平均値J2に反映されるようにした。
However, if operation is continued without placing any limit on the value obtained by adding the previous value of WJ2 and the current value of WJ1 , WJ2 will eventually reach infinity and the output of the division means 342 will approach zero, so that the inertia estimated average value J2 will no longer be updated even if a new acceleration/deceleration operation is performed.
Therefore, as shown in FIG. 5, the sum of the previous value of WJ2 and the current value of WJ1 is limited to an upper limit value WJmax or less, so that the latest driving result is reflected in the inertia estimated average value J2 as the acceleration/deceleration driving continues.
ここで、重みを定義せずに、
J2今回値=J2前回値+定数×(J1今回値-J2前回値) (0<定数<1)
によりJ2今回値を求める場合について検討する。
このように演算する場合でも、加減速運転を重ねていけば慣性推定精度は上がっていく。しかし、この場合、加減速運転回数が(3/定数)程度に達するまでは、J2今回値は真値より小さい値になってしまう。また、慣性推定に適さないような低加速度または短時間の加減速運転が行われるような場合にも、その結果をもって他の運転パターンと同様に慣性推定値が更新されてしまう。
Here, without defining weights,
J2 current value = J2 previous value + constant x ( J1 current value - J2 previous value) (0 < constant < 1)
Let us consider the case where the J2 current value is calculated by the following equation.
Even when the calculation is performed in this way, the accuracy of the inertia estimation increases as the number of acceleration and deceleration operations increases. However, in this case, the J2 current value will be smaller than the true value until the number of acceleration and deceleration operations reaches about (3/constant). Also, when low acceleration or short-term acceleration and deceleration operation that is not suitable for inertia estimation is performed, the inertia estimation value will be updated with the result as with other driving patterns.
これに対して、本実施形態では、例えば機械負荷を付け替えた時点でリセット指令によりWJ2,J2の値を初期化することで、加減速運転回数が少なくても真値に近い慣性推定値が得られ、高精度な慣性推定平均値J2を短時間で得ることができる。
また、加速度x1(t)の絶対値に対して単調増加するf1を数値積分して重みWJ1を求め、この重みWJ1と積算重みWJ2とを用いて慣性推定値J1を更新しているため、慣性推定に適さない運転に対しても慣性推定平均値J2が乱れにくくなる。
In contrast, in this embodiment, for example, by initializing the values of WJ2 and J2 by a reset command when the mechanical load is changed, an inertia estimation value close to the true value can be obtained even if the number of acceleration/deceleration operations is small, and a highly accurate inertia estimation average value J2 can be obtained in a short time.
In addition, the weight WJ1 is calculated by numerically integrating f1, which increases monotonically with respect to the absolute value of the acceleration x1 (t), and the estimated inertia value J1 is updated using this weight WJ1 and an integrated weight WJ2 . Therefore, the estimated inertia average value J2 is less likely to be disturbed even when the vehicle is driven in a manner that is not suitable for inertia estimation.
次に、図6は粘性係数推定値平均手段360の構成を示している。
この粘性係数推定値平均手段360は、1回の加減速期間で粘性係数推定値D1及び重みWD1が新たに得られるたびに、粘性係数推定平均値D2及び積算重みWD2を更新するように動作する。
Next, FIG. 6 shows the configuration of the viscosity coefficient estimated value averaging means 360.
This viscosity coefficient estimated value averaging means 360 operates to update the viscosity coefficient estimated average value D2 and the integrated weight W D2 every time a new viscosity coefficient estimated value D1 and weight W D1 are obtained during one acceleration/deceleration period.
図6に示す粘性係数推定値平均手段360において、361,365,367は加減算手段、362は除算手段、363,369は前回値保持手段、364,368は切替手段、366は乗算手段、WDmaxはWD2前回値とWD1今回値との加算結果に設定された上限値である。この粘性係数推定値平均手段360の全体的な動作は、入出力信号を除けば慣性推定値平均手段340と同様である。
粘性係数の推定に当たっては、速度x2(t)の絶対値に対して単調増加するf2を数値積分して得た重みWD1と積算重みWD2とを用いて粘性係数推定値D1を更新することにより粘性係数推定平均値D2を求めているため、最大速度が小さい運転のように粘性係数の推定に適さないパターンの運転に対しても粘性係数推定平均値D2が乱れにくくなる。
6, the viscosity coefficient estimated value averaging means 360 includes addition/subtraction means 361, 365, and 367, division means 362, previous value holding means 363 and 369, switching means 364 and 368, multiplication means 366, and W Dmax , which is an upper limit set for the sum of the previous value W D2 and the current value W D1 . The overall operation of the viscosity coefficient estimated value averaging means 360 is similar to that of the inertia estimated value averaging means 340, except for the input and output signals.
In estimating the viscosity coefficient, the viscosity coefficient estimated value D1 is updated using the weight W D1 and the integrated weight W D2 obtained by numerically integrating f 2 , which monotonically increases with respect to the absolute value of the speed x 2 (t), to obtain the viscosity coefficient estimated average value D 2. Therefore, the viscosity coefficient estimated average value D 2 is less likely to be disturbed even for driving patterns that are not suitable for estimating the viscosity coefficient, such as driving with a small maximum speed.
また、図7はクーロン摩擦推定値平均手段380の構成を示している。
このクーロン摩擦推定値平均手段380は、1回の加減速期間でクーロン摩擦推定値Tf1及び重みWTf1が新たに得られるたびに、クーロン摩擦推定平均値Tf2及び積算重みWTf2を更新するように動作する。
FIG. 7 also shows the configuration of the Coulomb friction estimated value averaging means 380 .
The Coulomb friction estimated value averaging means 380 operates to update the Coulomb friction estimated average value T f2 and the integrated weight W Tf2 every time a new Coulomb friction estimated value T f1 and weight W Tf1 are obtained during one acceleration/deceleration period.
図7に示すクーロン摩擦推定値平均手段380において、381,385,387は加減算手段、382は除算手段、383,389は前回値保持手段、384,388は切替手段、386は乗算手段、WTfmaxはWTf2前回値とWTf1今回値との加算結果に設定された上限値である。このクーロン摩擦推定値平均手段380の全体的な動作は、入出力信号を除けば前述の慣性推定値平均手段340や粘性係数推定値平均手段360と同様である。
クーロン摩擦の推定に当たっては、加速度x1(t)にも速度x2(t)にも依存しない値f3を数値積分して得た重みWTf1と積算重みWTf2とを用いてクーロン摩擦推定値Tf1を更新し、これによってクーロン摩擦推定平均値Tf2を求めているため、クーロン摩擦の推定に適さないような運転が行われた場合でもクーロン摩擦推定平均値Tf2が乱れにくくなる。
7, Coulomb friction estimated value averaging means 380 includes addition/subtraction means 381, 385, and 387, division means 382, previous value holding means 383 and 389, switching means 384 and 388, multiplication means 386, and W Tfmax is an upper limit set for the addition result of the previous value W Tf2 and the current value W Tf1 . The overall operation of this Coulomb friction estimated value averaging means 380 is similar to the inertia estimated value averaging means 340 and viscosity coefficient estimated value averaging means 360 described above, except for input and output signals.
In estimating the Coulomb friction, the Coulomb friction estimated value Tf1 is updated using the weight W Tf1 and the integrated weight W Tf2 obtained by numerically integrating the value f3 that is independent of either the acceleration x 1 (t) or the speed x 2 ( t) , and the Coulomb friction estimated average value Tf2 is calculated in this way. Therefore, even if driving that is not suitable for estimating the Coulomb friction is performed, the Coulomb friction estimated average value Tf2 is less likely to be disturbed.
以上のように、本実施形態の機械定数推定装置によれば、モータ速度や加速度、加減速運転期間が機械定数の推定に不適切であるような運転パターンであったとしも、推定値の悪化を招きにくい形で機械定数を高精度かつ短時間で推定することができる。
更に、この機械定数推定装置をモータ制御装置に実装し、機械負荷に応じて加減速期間ごとに推定した機械定数をモータの速度制御やトルク制御に反映させることにより、機械駆動システムにおける追従誤差や振動を低減することが可能になる。
As described above, according to the mechanical constant estimation device of this embodiment, even if the operating pattern is such that the motor speed, acceleration, or acceleration/deceleration operating period is inappropriate for estimating the mechanical constants, the mechanical constants can be estimated with high accuracy and in a short time in a manner that is unlikely to lead to deterioration of the estimated values.
Furthermore, by implementing this mechanical constant estimation device in a motor control device and reflecting the mechanical constants estimated for each acceleration/deceleration period in accordance with the mechanical load in the speed control and torque control of the motor, it is possible to reduce tracking errors and vibrations in the mechanical drive system.
100:速度制御部
200:モータ・機械負荷
300,300A,300B:機械定数推定部
301:微分手段
302:符号判定手段
303:乗算手段
304,306,308,310:積分手段
305,307,309:被積分値生成手段
311:推定値演算手段
312,313:ローパスフィルタ
320:積分開始・終了判定手段
321:絶対値演算手段
322:比較手段
323,324:指示生成手段
340:慣性推定値平均手段
341,345,347:加減算手段
342:除算手段
343,349:前回値保持手段
346:乗算手段
344,348:切替手段
360:粘性係数推定値平均手段
361,365,367:加減算手段
362:除算手段
363,369:前回値保持手段
366:乗算手段
364,368:切替手段
380:クーロン摩擦推定値平均手段
381,385,387:加減算手段
382:除算手段
383,389:前回値保持手段
386:乗算手段
384,388:切替手段
100: Speed control section 200: Motor/
Claims (10)
前記モータの始動後にその速度絶対値が所定の推定開始速度を超えた時点で前記モータのトルク、加速度、速度、及び速度符号のうち何れか二つの積を被積分関数とする数値積分を開始し、かつ、前記モータが減速してその速度絶対値が前記推定開始速度以下になった時点で数値積分を終了する積分手段と、
前記積分手段による積分値に基づいて、前記モータの加減速期間における慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1を演算する推定値演算手段と、
前記慣性推定値J1、前記粘性係数推定値D1、及び前記クーロン摩擦推定値Tf1にそれぞれ対応する重みWJ1,WD1,WTf1を演算する手段と、
前記加減速期間における前記慣性推定値J1及び前記重みWJ1を用いて当該加減速期間以前に演算した慣性推定平均値J2及び積算重みWJ2を更新し、更新後の慣性推定平均値J2を慣性推定結果として出力する慣性推定値平均手段と、
前記加減速期間における前記粘性係数推定値D1及び前記重みWD1を用いて当該加減速期間以前に演算した粘性係数推定平均値D2及び積算重みWD2を更新し、更新後の粘性係数推定平均値D2を粘性係数推定結果として出力する粘性係数推定値平均手段と、
前記加減速期間における前記クーロン摩擦推定値Tf1及び前記重みWTf1を用いて当該加減速期間以前に演算したクーロン摩擦推定平均値Tf2及び積算重みWTf2を更新し、更新後のクーロン摩擦推定平均値Tf2をクーロン摩擦推定結果として出力するクーロン摩擦推定値平均手段と、
を備えたことを特徴とする機械定数推定装置。 A mechanical constant estimation device that estimates mechanical constants, which are composed of inertia, viscosity coefficient, and Coulomb friction, of a motor and a mechanical load driven by the motor, comprising:
an integrating means for starting a numerical integration using the product of any two of the torque, acceleration, speed, and speed sign of the motor as an integrand function when the absolute value of the speed of the motor exceeds a predetermined estimation start speed after the motor is started, and for ending the numerical integration when the absolute value of the speed of the motor becomes equal to or less than the estimation start speed as a result of the deceleration of the motor;
an estimated value calculation means for calculating an estimated inertia value J1 , an estimated viscosity coefficient value D1 , and an estimated Coulomb friction value Tf1 during an acceleration/deceleration period of the motor based on the integrated value by the integrating means;
a means for calculating weights W J1 , W D1 , and W Tf1 corresponding to the estimated inertia value J 1 , the estimated viscosity coefficient value D 1 , and the estimated Coulomb friction value T f1, respectively;
an inertia estimation value averaging means for updating an inertia estimation average value J2 and an integrated weight WJ2 calculated before the acceleration/deceleration period using the inertia estimation value J1 and the weight WJ1 during the acceleration/deceleration period, and outputting the updated inertia estimation average value J2 as an inertia estimation result;
a viscosity coefficient estimated value averaging means for updating a viscosity coefficient estimated average value D2 and an integrated weighting W2 calculated before the acceleration/deceleration period using the viscosity coefficient estimated value D1 and the weighting W D1 during the acceleration/deceleration period, and outputting the updated viscosity coefficient estimated average value D2 as a viscosity coefficient estimated result;
a Coulomb friction estimated value averaging means for updating a Coulomb friction estimated average value Tf2 and an integrated weight WTf2 calculated before the acceleration/deceleration period using the Coulomb friction estimated value Tf1 and the weight WTf1 during the acceleration/deceleration period, and outputting the updated Coulomb friction estimated average value Tf2 as a Coulomb friction estimation result;
A mechanical constant estimation device comprising:
前記推定値演算手段は、
前記モータの加減速期間tにおける加速度a(t)、速度v(t)、速度符号sign(v(t))、及びトルクT(t)をそれぞれx1(t),x2(t),x3(t),y(t)とした時に、前記x1(t),x2(t),x3(t),y(t)のうち何れか二つの積を被積分関数とするmij=∫{xi(t)xj(t)}dt及びqi=∫{xi(t)y(t)}dt(ただし、i,j=1~3)を用いて、下記の数式1により慣性推定値J1、粘性係数推定値D1、及びクーロン摩擦推定値Tf1を演算することを特徴とする機械定数推定装置。
The estimated value calculation means
A mechanical constant estimation device characterized in that, when the acceleration a(t), velocity v(t), velocity sign(v(t)), and torque T(t) during an acceleration/deceleration period t of the motor are denoted as x1 (t), x2 (t), x3 (t), and y(t), respectively, an inertia estimated value J1, a viscosity coefficient estimated value D1, and a Coulomb friction estimated value Tf1 are calculated by the following Formula 1 using m ij = ∫{x i (t) x j (t)} dt and q i = ∫{x i (t) y(t)} dt (where i, j = 1 to 3) where the product of any two of x 1 ( t), x 2 (t ), x 3 (t) , and y(t) is an integrand function:
前記被積分関数を求めるためのトルク、加速度、及び速度が、同じ時定数のローパスフィルタを演算した後の値であることを特徴とする機械定数推定装置。 3. The mechanical constant estimation device according to claim 1,
A mechanical constant estimation device, characterized in that the torque, acceleration, and speed used to find the integrand function are values obtained after being calculated through a low-pass filter having the same time constant.
前記重みWJ1が、前記モータの加速度の絶対値に対して単調増加する値を数値積分した値であり、前記重みWD1が、前記モータの速度の絶対値に対して単調増加する値を数値積分した値であり、かつ、前記重みWTf1が、前記モータの速度にも加速度にも依存しない値を数値積分した値であることを特徴とする機械定数推定装置。 3. The mechanical constant estimation device according to claim 1,
A mechanical constant estimation device characterized in that the weight WJ1 is a value obtained by numerically integrating a value that monotonically increases with respect to the absolute value of the acceleration of the motor, the weight WD1 is a value obtained by numerically integrating a value that monotonically increases with respect to the absolute value of the speed of the motor, and the weight WTf1 is a value obtained by numerically integrating a value that is independent of either the speed or the acceleration of the motor.
前記重みWJ1が、前記ローパスフィルタによる演算後の前記モータの加速度の絶対値に対して単調増加する値を数値積分した値であり、前記重みWD1が、前記ローパスフィルタによる演算後の前記モータの速度の絶対値に対して単調増加する値を数値積分した値であり、かつ、前記重みWTf1が、前記モータの速度にも加速度にも依存しない値を数値積分した値であることを特徴とする機械定数推定装置。 4. The mechanical constant estimation device according to claim 3,
a mechanical constant estimation device characterized in that the weight WJ1 is a value obtained by numerically integrating a value that monotonically increases with respect to the absolute value of the acceleration of the motor after calculation by the low-pass filter, the weight WD1 is a value obtained by numerically integrating a value that monotonically increases with respect to the absolute value of the speed of the motor after calculation by the low-pass filter, and the weight WTf1 is a value obtained by numerically integrating a value that is independent of either the speed or the acceleration of the motor.
前記慣性推定値平均手段は、
前記慣性推定値J1及び前記重みWJ1が新たに得られるたびに、前記積算重みWJ2の前回値と前記重みWJ1の今回値との加算値を所定の上限値WJmaxにより制限した値を前記積算重みWJ2の今回値としたうえで、
慣性推定平均値J2の今回値=慣性推定平均値J2の前回値+(重みWJ1の今回値/積算重みWJ2の今回値)×(慣性推定値J1の今回値-慣性推定平均値J2の前回値)
を演算することを特徴とする機械定数推定装置。 6. The mechanical constant estimation device according to claim 4,
The inertia estimate averaging means
Every time the inertia estimated value J1 and the weight WJ1 are newly obtained, the sum of the previous value of the integrated weight WJ2 and the current value of the weight WJ1 is limited by a predetermined upper limit value WJmax, and the sum is set as the current value of the integrated weight WJ2 .
Current value of inertia estimated average value J2 =Previous value of inertia estimated average value J2 +(Current value of weight WJ1 /Current value of integrated weight WJ2 )×(Current value of inertia estimated value J1 −Previous value of inertia estimated average value J2 )
A mechanical constant estimation device comprising:
前記粘性係数推定値平均手段は、
前記粘性係数推定値D1及び前記重みWD1が新たに得られるたびに、前記積算重みWD2の前回値と前記重みWD1の今回値との加算値を所定の上限値WDmaxにより制限した値を前記積算重みWD2の今回値としたうえで、
粘性係数推定平均値D2の今回値=粘性係数推定平均値D2の前回値+(重みWD1の今回値/積算重みWD2の今回値)×(粘性係数推定値D1の今回値-粘性係数推定平均値D2の前回値)
を演算することを特徴とする機械定数推定装置。 In the machine constant estimation device according to any one of claims 4 to 6,
The viscosity coefficient estimated value averaging means
Every time the viscosity coefficient estimated value D1 and the weight W D1 are newly obtained, the sum of the previous value of the integrated weight W D2 and the current value of the weight W D1 is limited by a predetermined upper limit value W Dmax , and the sum is set as the current value of the integrated weight W D2 .
Current value of the estimated viscosity coefficient average value D2 = Previous value of the estimated viscosity coefficient average value D2 + (Current value of the weighting W D1 / Current value of the integrated weighting W D2 ) × (Current value of the estimated viscosity coefficient value D1 - Previous value of the estimated viscosity coefficient average value D2 )
A mechanical constant estimation device comprising:
前記クーロン摩擦推定値平均手段は、
前記クーロン摩擦推定値Tf1及び前記重みWTf1が新たに得られるたびに、前記積算重みWTf2の前回値と前記重みWTf1の今回値との加算値を所定の上限値WTfmaxにより制限した値を前記積算重みWTf2の今回値としたうえで、
クーロン摩擦推定平均値Tf2の今回値=クーロン摩擦推定平均値Tf2の前回値+(重みWTf1の今回値/積算重みWTf2の今回値)×(クーロン摩擦推定値Tf1の今回値-クーロン摩擦推定平均値Tf2の前回値)
を演算することを特徴とする機械定数推定装置。 In the mechanical constant estimation device according to any one of claims 4 to 7,
The Coulomb friction estimate averaging means
Every time the Coulomb friction estimated value Tf1 and the weight W Tf1 are newly obtained, the sum of the previous value of the integrated weight W Tf2 and the current value of the weight W Tf1 is limited by a predetermined upper limit value W Tfmax , and the sum is set as the current value of the integrated weight W Tf2 .
Current value of Coulomb friction estimated average value Tf2 =Previous value of Coulomb friction estimated average value Tf2 +(Current value of weight W Tf1 /Current value of integrated weight W Tf2 )×(Current value of Coulomb friction estimated value Tf1 −Previous value of Coulomb friction estimated average value Tf2 )
A mechanical constant estimation device comprising:
前記慣性推定平均値J2、前記粘性係数推定平均値D2及び前記クーロン摩擦推定平均値Tf2、並びに、前記積算重みWJ2,WD2,WTf2を、不揮発性メモリに記憶すると共に外部から初期化可能としたことを特徴とする機械定数推定装置。 In the machine constant estimation device according to any one of claims 1 to 8,
A mechanical constant estimation device characterized in that the inertia estimation average value J2 , the viscosity coefficient estimation average value D2 , the Coulomb friction estimation average value Tf2 , and the integrated weights WJ2 , WD2 , and WTf2 are stored in a non-volatile memory and can be initialized externally.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021089125A JP7585970B2 (en) | 2021-05-27 | 2021-05-27 | Mechanical constant estimation device and motor control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021089125A JP7585970B2 (en) | 2021-05-27 | 2021-05-27 | Mechanical constant estimation device and motor control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022181905A JP2022181905A (en) | 2022-12-08 |
| JP7585970B2 true JP7585970B2 (en) | 2024-11-19 |
Family
ID=84328300
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021089125A Active JP7585970B2 (en) | 2021-05-27 | 2021-05-27 | Mechanical constant estimation device and motor control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7585970B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7180186B2 (en) * | 2018-08-03 | 2022-11-30 | 株式会社三洋物産 | game machine |
| JP7180183B2 (en) * | 2018-08-03 | 2022-11-30 | 株式会社三洋物産 | game machine |
| JP7180185B2 (en) * | 2018-08-03 | 2022-11-30 | 株式会社三洋物産 | game machine |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000346738A (en) | 1999-03-26 | 2000-12-15 | Mitsubishi Electric Corp | Machine constant estimation device for driving machine |
| WO2006051651A1 (en) | 2004-11-12 | 2006-05-18 | Kabushiki Kaisha Yaskawa Denki | Motion controller and system identifying method |
| JP2006217729A (en) | 2005-02-03 | 2006-08-17 | Yaskawa Electric Corp | Motor control device and control method thereof |
| JP2020194375A (en) | 2019-05-29 | 2020-12-03 | 富士電機株式会社 | Servo system parameter identification method |
-
2021
- 2021-05-27 JP JP2021089125A patent/JP7585970B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000346738A (en) | 1999-03-26 | 2000-12-15 | Mitsubishi Electric Corp | Machine constant estimation device for driving machine |
| WO2006051651A1 (en) | 2004-11-12 | 2006-05-18 | Kabushiki Kaisha Yaskawa Denki | Motion controller and system identifying method |
| JP2006217729A (en) | 2005-02-03 | 2006-08-17 | Yaskawa Electric Corp | Motor control device and control method thereof |
| JP2020194375A (en) | 2019-05-29 | 2020-12-03 | 富士電機株式会社 | Servo system parameter identification method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022181905A (en) | 2022-12-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7585970B2 (en) | Mechanical constant estimation device and motor control device | |
| KR101223669B1 (en) | Engine bench system control system | |
| CN1071065C (en) | Mechanical vibration detection device and vibration control device | |
| EP0827265A1 (en) | Apparatus for determination of control constant | |
| US6825631B1 (en) | Prediction controlling device | |
| JP7272112B2 (en) | Servo system parameter identification method | |
| CN112987812B (en) | Torque control method and device, terminal equipment and storage medium | |
| CN113954078B (en) | Force control joint control method and device, robot and readable storage medium | |
| EP1775451B1 (en) | A method for estimating engine friction torque | |
| WO2014091840A1 (en) | Servo control device | |
| CN108508784A (en) | Servo motor control unit, servomotor control method and recording medium | |
| JP6906711B1 (en) | Friction compensation device, collision detection device, torque feedforward arithmetic unit and robot control device, and friction compensation method | |
| KR19980083174A (en) | Vibration Suppression Control Method and Control Apparatus of Resonance System | |
| CN114260892B (en) | Elastic joint moment control method and device, readable storage medium and robot | |
| JP5208610B2 (en) | Characteristic identification method and motor control device for controlling inertial resonance system | |
| CN115890666B (en) | Robot and collision protection method and device thereof and storage medium | |
| JP4223911B2 (en) | Collision detection method and collision detection apparatus | |
| CN113580914B (en) | Oil state estimating device, vehicle control system, and data analyzing device | |
| CN113767565B (en) | Motor control system, motor control method and program | |
| JP7635515B2 (en) | Inertia estimation device and motor control device | |
| JPH06225565A (en) | Inertial load measurement method for motor drive system | |
| JP3246572B2 (en) | Load constant measurement method for motor drive system | |
| JP5569722B2 (en) | Motor control device | |
| JPH10323070A (en) | Motor control device | |
| JP2958978B2 (en) | Learning control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20220927 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20221006 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240415 |
|
| TRDD | Decision of grant or rejection written | ||
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240930 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241008 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241021 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7585970 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |