JPH10285969A - Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded - Google Patents

Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded

Info

Publication number
JPH10285969A
JPH10285969A JP10008803A JP880398A JPH10285969A JP H10285969 A JPH10285969 A JP H10285969A JP 10008803 A JP10008803 A JP 10008803A JP 880398 A JP880398 A JP 880398A JP H10285969 A JPH10285969 A JP H10285969A
Authority
JP
Japan
Prior art keywords
load inertia
value
estimation
load
calculation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10008803A
Other languages
Japanese (ja)
Inventor
Atsushi Hagiwara
萩原  淳
Yasuyuki Inoue
康之 井上
Mayumi Umetsu
真弓 梅津
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP10008803A priority Critical patent/JPH10285969A/en
Publication of JPH10285969A publication Critical patent/JPH10285969A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Feedback Control In General (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a load inertia estimation system accurately estimating the load inertia of a servomotor, a medium, on which a load inertia estimation program is recorded, and a medium, on which the operation program of a robot is recorded. SOLUTION: In the load inertia estimation system estimating the true value of the load inertia of a system controlling a device driving load 8 by using a servomotor 7, a proportional-plus-integral control section 1, an observer estimation calculating section 2 estimating disturbance working to load, a data storage section 3, in which a disturbance estimate and the quantity of the state of an actual machine are stored in a memory at a sampling period, a disturbance estimate analyzing section 4 analyzing the disturbance estimate by employing the quantity of the state of the actual machine, a correction-value calculating section 5 calculating a correction value for correcting a load inertia set value and a load inertia estimation calculating section 6 calculating the true value of load inertia from an output from the correction-value calculating section and the preset load inertia set value.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、工作機械の送り軸
やロボットのアーム等を駆動するサーボモータの負荷イ
ナーシャ推定システム、負荷イナーシャ推定プログラム
を記録した媒体及びロボットの動作プログラムを記録し
た媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load inertia estimating system for a servomotor for driving a feed shaft of a machine tool, a robot arm, and the like, a medium storing a load inertia estimating program, and a medium storing a robot operation program. .

【0002】[0002]

【従来の技術】サーボモータによって負荷を制御する場
合、制御部に実機モデルを有する制御を適用することに
よって振動や応答を改善する方法がよく用いられる。そ
れらの制御手法の効果をあげるためには制御部のモデル
の負荷イナーシャ値が実機と一致していることが望まし
い。そのためには、実機の負荷イナーシャを正確に同定
することが必要になる。ここで、もし、実機負荷イナー
シャとモデル負荷イナーシャが大きな誤差を含む場合、
その制御性能が劣化するだけでなく、逆に悪影響をおよ
ぼしたり、制御系が不安定になり、発振する可能性があ
る。
2. Description of the Related Art When a load is controlled by a servomotor, a method of improving vibration and response by applying control having a real machine model to a control unit is often used. In order to enhance the effects of these control methods, it is desirable that the load inertia value of the model of the control unit matches the actual machine. For that purpose, it is necessary to accurately identify the load inertia of the actual machine. Here, if the actual machine load inertia and the model load inertia include a large error,
Not only does the control performance deteriorate, but also adversely affects the control system, and the control system becomes unstable, which may cause oscillation.

【0003】このような問題に対し、従来では、モデル
部の負荷イナーシャには設計計算値を使用するか、実機
を実際に数回動作させることによって各種データをと
り、そのデータから負荷イナーシャの真値を計算すると
いう方法をとっていた。
In order to solve such a problem, conventionally, a design calculation value is used for the load inertia of the model portion, or various data is obtained by actually operating the actual machine several times, and the trueness of the load inertia is obtained from the data. The method of calculating the value was used.

【0004】図13は特開平8−140386号公報に
開示された従来の負荷イナーシャの推定方法を説明する
フローチャートである。以下に説明する。
FIG. 13 is a flowchart for explaining a conventional load inertia estimating method disclosed in Japanese Patent Application Laid-Open No. 8-140386. This will be described below.

【0005】図13において、はじめにサーボモータを
定速駆動する(ステップS1)。この定速駆動は以下の
ステップS2とステップS3において摩擦分をキャンセ
ルするためのトルクFと重力分をキャンセルするための
トルクGを求めるために行う。次に、負荷に重力がかか
らない状態で一定速度で運転し、そのトルクを測定し、
摩擦キャンセル分のトルクFを求める(ステップS
2)。次に、負荷に重力がかかる状態で一定速度で運転
し、そのトルクを測定し、摩擦分をキャンセルするため
のトルクFを差し引いて、重力分をキャンセルするため
のトルクGを求める(ステップS3)。
In FIG. 13, first, the servo motor is driven at a constant speed (step S1). This constant speed driving is performed in the following steps S2 and S3 in order to obtain a torque F for canceling the friction component and a torque G for canceling the gravity component. Next, drive at a constant speed with no gravity applied to the load, measure the torque,
Find the torque F for the friction cancellation (step S
2). Next, the load is driven at a constant speed in a state where gravity is applied, the torque is measured, and the torque F for canceling the friction is subtracted to obtain the torque G for canceling the gravity (step S3). .

【0006】次に、サーボモータを加速駆動する(ステ
ップS4)。ここで、この加速駆動は、例えば、サーボ
モータに速度零の状態において、ある設定した速度値の
速度指令を与え、速度が零から設定速度に達するまで駆
動するものである。
Next, the servomotor is accelerated (step S4). In this acceleration drive, for example, in a state where the speed is zero, a speed command of a certain set speed value is given to the servo motor, and the servo motor is driven until the speed reaches the set speed from zero.

【0007】この加速駆動において、サーボモータに印
加されるトルクコマンドTcを求めることによって加速
駆動に必要なトルクTの時間変化を求める(ステップS
5)。また、同様の加速駆動において、サーボモータの
フィードバック速度vを求めることによって加減速駆動
における速度の時間的変化を求めることができ、さらに
この測定結果から、加速駆動における加速度の時間変化
を求めることができる(ステップS6)。
In this acceleration driving, a time change of the torque T required for the acceleration driving is obtained by obtaining a torque command Tc applied to the servo motor (step S).
5). Further, in the same acceleration drive, it is possible to obtain a temporal change of the speed in the acceleration / deceleration drive by obtaining the feedback speed v of the servo motor. Yes (step S6).

【0008】次に、前記測定により得られる加速駆動に
必要なトルクTの時間変化と加速駆動における速度の時
間変化とから、加速駆動における速度vとトルクTとの
関係を求める。また、前記加速駆動における加速度の時
間変化から加速駆動における速度vと加速度Aとの関係
を求める。速度vとトルクTとの関係は、サーボモータ
のイナーシャを加速するために必要なトルクTJを求め
るためであり、また、速度vと加速度Aとの関係は、サ
ーボモータのイナーシャを求めるための加速度を定める
ためである(ステップS7)。
Next, the relationship between the speed v and the torque T in the acceleration drive is obtained from the time change of the torque T required for the acceleration drive and the time change of the speed in the acceleration drive obtained by the above measurement. Further, the relationship between the speed v and the acceleration A in the acceleration driving is obtained from the time change of the acceleration in the acceleration driving. The relationship between the speed v and the torque T is for obtaining the torque TJ required for accelerating the inertia of the servomotor, and the relationship between the speed v and the acceleration A is the acceleration for obtaining the inertia of the servomotor. (Step S7).

【0009】前記ステップS7において求めた加速駆動
に必要なトルクTはイナーシャを加速するために必要な
トルクTJと摩擦分をキャンセルするために必要なトル
クFと、重力分をキャンセルするために必要なトルクG
の和(T=TJ+F+G)であるため、イナーシャを加
速するために必要なトルクTJはTJ=T−F−Gで求
める(ステップS8)。
The torque T required for the acceleration drive obtained in step S7 is the torque TJ required for accelerating the inertia, the torque F required for canceling the friction, and the torque T required for canceling the gravity. Torque G
(T = TJ + F + G), the torque TJ required for accelerating the inertia is obtained by TJ = TFG (step S8).

【0010】サーボモータのモータ及び機械系のイナー
シャJは、イナーシャを加速するために必要なトルクT
Jと加速度Aとの比(J=TJ/A)によって求められ
る(ステップS9)。
The motor J of the servo motor and the inertia J of the mechanical system have a torque T required for accelerating the inertia.
It is obtained from the ratio of J and acceleration A (J = TJ / A) (step S9).

【0011】これによって、サーボモータのイナーシャ
を加速するために必要なトルクと、摩擦分および重力分
キャンセルするために必要なトルクからサーボモータや
機械系のイナーシャを推定することができる。
Thus, the inertia of the servomotor and the mechanical system can be estimated from the torque required to accelerate the inertia of the servomotor and the torque required to cancel the friction and gravity.

【0012】[0012]

【発明が解決しようとする課題】上述した従来の技術
は、以下の問題点があった。
The above-mentioned prior art has the following problems.

【0013】設計計算値を使用する従来の方法では計算
誤差や、オペレータの入力ミスによる制御効果の劣化と
いう問題があり、また、実機による数回の動作でのデー
タどりには多くの人手と時間が必要であるという問題が
あった。
The conventional method using design calculation values has problems such as calculation errors and deterioration of control effects due to operator input errors. In addition, it takes a lot of manpower and time to collect data in several operations by an actual machine. Was necessary.

【0014】また、実機による数回の動作でのデータど
りには多くの人手と時間が必要であるという問題があっ
た。
Further, there is a problem that a lot of manpower and time are required for data extraction in several operations by an actual machine.

【0015】また、両者に共通して、アーム先端につく
負荷が変わる度に複雑な計算または時間と人手のかかる
データ取りをやり直す必要があるという問題があった。
In addition, there is a problem common to both cases that every time the load applied to the tip of the arm changes, it is necessary to perform complicated calculations or re-take data which requires time and labor.

【0016】また、たとえ、実機によるデータ取りを自
動的に実機に動作をさせて、データを取得させ、その値
を使用して自動的に負荷のイナーシャを推定計算させた
としても、実機は、特定の動作を少なくとも1回以上お
こなう必要があり、実機に無駄な動作を行わせ、無駄な
時間を消費するという問題があった。
Further, even if the actual machine automatically operates the data acquisition by the actual machine, acquires the data, and automatically estimates and calculates the inertia of the load using the value, It is necessary to perform a specific operation at least once, and there is a problem in that the actual machine performs an unnecessary operation and wastes time.

【0017】上記従来技術の問題点に鑑み、本発明の目
的は、精度よくサーボモータの負荷イナーシャを推定す
る負荷イナーシャ推定システム、負荷イナーシャ推定プ
ログラムを記録した媒体及びロボットの動作プログラム
を記録した媒体を提供することにある。
In view of the above problems of the prior art, an object of the present invention is to provide a load inertia estimation system for accurately estimating the load inertia of a servomotor, a medium recording a load inertia estimation program, and a medium recording a robot operation program. Is to provide.

【0018】[0018]

【課題を解決するための手段】本発明の負荷イナーシャ
推定システムは、サーボモータを使用して負荷を駆動す
る装置を制御するシステムの負荷イナーシャの真値を推
定するための負荷イナーシャ推定システムにおいて、比
例積分制御部と、サーボモータと負荷の状態量を計算す
るオブザーバ推定計算部と、オブザーバ推定計算部で計
算された状態量の推定値と実機で観測できる状態量の値
との差を計算する誤差計算部と、誤差計算部からの状態
量の差の出力値とオブザーバ推定計算で使用する負荷イ
ナーシャ設定値とから負荷イナーシャの真値を求める負
荷イナーシャ推定計算部とを有する。
SUMMARY OF THE INVENTION A load inertia estimating system according to the present invention is a load inertia estimating system for estimating a true value of load inertia of a system for controlling a device for driving a load using a servomotor. A proportional-integral control unit, an observer estimation calculation unit that calculates state quantities of the servomotor and the load, and a difference between an estimated value of the state quantity calculated by the observer estimation calculation unit and a value of the state quantity that can be observed by the actual machine. An error calculator, and a load inertia estimator for calculating a true value of the load inertia from an output value of the difference between the state quantities from the error calculator and a load inertia set value used in the observer estimating calculation.

【0019】また、誤差計算部では、オブザーバ推定計
算部で計算されたモータ指令トルクの推定値と実機のモ
ータ指令トルクとの誤差を計算する手段を有してもよ
い。
The error calculator may have means for calculating an error between the estimated motor command torque calculated by the observer estimation calculator and the actual motor command torque.

【0020】また、誤差計算部では、オブザーバ推定計
算部で計算されたモータ位置の推定値と実機のモータ位
置との誤差を計算する手段を有してもよい。
The error calculator may have means for calculating an error between the estimated motor position calculated by the observer estimator and the actual motor position.

【0021】また、誤差計算部では、オブザーバ推定計
算部で計算されたモータ速度の推定値と実機のモータ速
度との誤差を計算する手段を有してもよい。
The error calculator may have means for calculating an error between the estimated motor speed calculated by the observer estimator and the actual motor speed.

【0022】また、誤差計算部では、オブザーバ推定計
算部で計算されたモータ加速度の推定値と実機のモータ
加速度との誤差を計算する手段を有してもよい。
The error calculator may have means for calculating an error between the estimated value of the motor acceleration calculated by the observer estimation calculator and the motor acceleration of the actual machine.

【0023】また、負荷駆動装置制御中に、オブザーバ
推定計算部と誤差計算部と負荷イナーシャ推定計算部と
を作動させ、自動的に負荷イナーシャの真値を求めて、
真値をメモリに保存する手段を有してもよい。
Also, during the control of the load driving device, the observer estimation calculation section, the error calculation section and the load inertia estimation calculation section are operated to automatically obtain the true value of the load inertia,
A means for storing the true value in the memory may be provided.

【0024】また、オブザーバ推定計算部のオブザーバ
モデルの構成に外乱推定項を含んでもよい。
The observer model of the observer estimation calculator may include a disturbance estimation term.

【0025】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算で使用する手段を有し
てもよい。
Further, there may be provided means for using the estimated value of the load inertia in the observer estimation calculation in real time.

【0026】また、比例積分制御部にフィードフォワー
ド制御部を有し、フィードフォワード制御部は、フィー
ドフォワード制御の制御定数の計算に推定された負荷イ
ナーシャの値を使用してもよい。
Further, the proportional-integral control unit may include a feedforward control unit, and the feedforward control unit may use the estimated value of the load inertia for calculating the control constant of the feedforward control.

【0027】本発明の負荷イナーシャ推定プログラムを
記録した媒体は、コンピュータによって、サーボモータ
を使用して負荷を駆動する装置を制御するシステムの負
荷イナーシャの真値を推定するための負荷イナーシャ推
定プログラムを記録した媒体であって、推定プログラム
は、コンピュータに比例積分制御させ、サーボモータと
負荷の状態量を計算するオブザーバ推定計算させ、オブ
ザーバ推定計算で計算された状態量の推定値と実機で観
測できる状態量の値との差を計算する誤差計算させ、誤
差計算からの状態量の差の出力値とオブザーバ推定計算
で使用する負荷イナーシャ設定値とから負荷イナーシャ
の真値を求める負荷イナーシャ推定計算させる。
The medium on which the load inertia estimating program of the present invention is recorded includes a load inertia estimating program for estimating a true value of load inertia of a system for controlling a device that drives a load by using a servomotor by a computer. On the recorded medium, the estimation program allows the computer to perform proportional-integral control, perform an observer estimation calculation to calculate the state quantity of the servo motor and the load, and observe the estimated value of the state quantity calculated by the observer estimation calculation and the actual machine. An error is calculated to calculate the difference from the state quantity value, and the load inertia estimation calculation is performed to obtain the true value of the load inertia from the output value of the state quantity difference from the error calculation and the load inertia setting value used in the observer estimation calculation. .

【0028】また、誤差計算では、オブザーバ推定計算
で計算されたモータ指令トルクの推定値と実機のモータ
指令トルクとの誤差を計算してもよい。
In the error calculation, an error between the estimated motor command torque calculated in the observer estimation calculation and the actual motor command torque may be calculated.

【0029】また、誤差計算では、オブザーバ推定計算
で計算されたモータ位置の推定値と実機のモータ位置と
の誤差を計算してもよい。
In the error calculation, an error between the estimated motor position calculated in the observer estimation calculation and the actual motor position may be calculated.

【0030】また、誤差計算では、オブザーバ推定計算
で計算されたモータ速度の推定値と実機のモータ速度と
の誤差を計算してもよい。
In the error calculation, an error between the estimated motor speed calculated in the observer estimation calculation and the actual motor speed may be calculated.

【0031】また、誤差計算では、オブザーバ推定計算
で計算されたモータ加速度の推定値と実機のモータ加速
度との誤差を計算してもよい。
In the error calculation, an error between the estimated value of the motor acceleration calculated by the observer estimation calculation and the motor acceleration of the actual machine may be calculated.

【0032】また、負荷駆動装置制御中に、オブザーバ
推定計算と誤差計算と負荷イナーシャ推定計算とを実行
させ、自動的に負荷イナーシャの真値を求めて、真値を
メモリに保存してもよい。
In addition, during the control of the load driving device, the observer estimation calculation, the error calculation and the load inertia estimation calculation may be executed, the true value of the load inertia may be automatically obtained, and the true value may be stored in the memory. .

【0033】また、オブザーバ推定計算のオブザーバモ
デルの構成に外乱推定項を含んでもよい。
Further, a disturbance estimation term may be included in the configuration of the observer model in the observer estimation calculation.

【0034】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算で使用してもよい。
The estimated load inertia value may be used in the observer estimation calculation in real time.

【0035】また、比例積分制御にフィードフォワード
制御を有し、フィードフォワード制御は、フィードフォ
ワード制御の制御定数の計算に推定された負荷イナーシ
ャの値を使用してもよい。
The proportional-integral control may have a feedforward control, and the feedforward control may use an estimated value of the load inertia for calculating a control constant of the feedforward control.

【0036】本発明の負荷イナーシャ推定システムは、
サーボモータを使用して負荷を駆動する装置を制御する
システムの負荷イナーシャの真値を推定する負荷イナー
シャ推定システムにおいて、比例積分制御部と、負荷に
作用する外乱を推定するオブザーバ推定計算部と、オブ
ザーバ推定計算部からの出力である外乱推定値と実機の
状態量を所定のサンプリング周期でメモリに保存するデ
ータ記憶部と、データ記憶部に保存された外乱推定値を
実機の状態量を使用して解析する外乱推定値解析部と、
外乱推定値解析部からの出力値によって負荷イナーシャ
設定値を補正するための負荷イナーシャ補正値を計算す
る補正値計算部と、補正値計算部の出力および予め設定
しておいた負荷イナーシャ設定値から、負荷イナーシャ
の真値を計算する負荷イナーシヤ推定計算部とを有す
る。
The load inertia estimating system of the present invention
In a load inertia estimation system that estimates the true value of the load inertia of a system that controls a device that drives a load using a servomotor, a proportional-integral control unit, an observer estimation calculation unit that estimates a disturbance acting on the load, A data storage unit that saves a disturbance estimation value output from the observer estimation calculation unit and a state quantity of the actual device in a memory at a predetermined sampling cycle, and a disturbance estimation value saved in the data storage unit uses the state amount of the actual device. A disturbance estimation value analysis unit for analyzing
A correction value calculation unit that calculates a load inertia correction value for correcting the load inertia set value based on an output value from the disturbance estimated value analysis unit, and an output of the correction value calculation unit and a preset load inertia set value. And a load inertia estimating calculation unit that calculates a true value of the load inertia.

【0037】また、データ記憶部で保存し、外乱推定値
解析部で解析する実機の状態量は、モータの速度であっ
てもよい。
The state quantity of the actual machine stored in the data storage unit and analyzed by the disturbance estimation value analysis unit may be the speed of the motor.

【0038】また、外乱推定値解析部では、実際のモー
タ速度と外乱推定値の波形を比較する手段を有してもよ
い。
The disturbance estimation value analysis section may have means for comparing the actual motor speed with the waveform of the disturbance estimation value.

【0039】また、外乱推定値解析部では、実際のモー
タ速度と外乱推定値の加減速時のそれぞれのデータの傾
きを比較する手段を有してもよい。
The disturbance estimation value analysis unit may have means for comparing the actual motor speed and the slope of each data of the disturbance estimation value during acceleration / deceleration.

【0040】また、比例積分制御部により負荷を駆動す
る装置を制御中に、オブザーバ推定計算部とデータ記憶
部と外乱推定値解析部と補正値計算部と負荷イナーシャ
推定計算部とを作動させ、自動的に負荷イナーシャの真
値を求めて、負荷イナーシヤの真値をメモリに保存する
手段を有してもよい。
Further, while controlling the device for driving the load by the proportional-integral control unit, the observer estimation calculation unit, the data storage unit, the disturbance estimation value analysis unit, the correction value calculation unit, and the load inertia estimation calculation unit are operated. Means may be provided for automatically obtaining the true value of the load inertia and storing the true value of the load inertia in the memory.

【0041】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算や、または、制御計算
で使用する手段を有してもよい。
Further, a means for using the estimated value of the load inertia in the observer estimation calculation or the control calculation in real time may be provided.

【0042】また、推定された負荷イナーシャの値を負
荷イナーシャ設定値として、オブザーバ推定計算で使用
し、負荷イナーシャ設定値を使用してオブザーバ推定計
算により求まった、外乱推定値を使用して、再び、負荷
イナーシャ設定値を補正し、これを繰り返すことによ
り、負荷イナーシャ推定値の精度を向上させる手段を有
してもよい。
The estimated load inertia value is used as a load inertia setting value in the observer estimation calculation, and the disturbance estimation value obtained by the observer estimation calculation using the load inertia setting value is again used. A means may be provided for correcting the load inertia set value and repeating this, thereby improving the accuracy of the load inertia estimated value.

【0043】本発明の負荷イナーシャ推定プログラムを
記録した媒体は、コンピュータによって、サーボモータ
を使用して負荷を駆動する装置を制御するシステムの負
荷イナーシャの真値を推定するための負荷イナーシャ推
定プログラムを記録した媒体であって、推定プログラム
は、コンピュータに比例積分制御させ、負荷に作用する
外乱を推定するオブザーバ推定計算をさせ、オブザーバ
推定計算で計算された外乱の推定値と実機の状態量を所
定のサンプリング周期でメモリに保存しデータ記憶さ
せ、メモリの出力から、外乱推定値を実機の状態量を使
用して解析させ、その結果から負荷イナーシャ補正値を
計算させ、負荷イナーシャ補正値とオブザーバ推定計算
で使用する負荷イナーシャ設定値とから負荷イナーシャ
の真値を求める負荷イナーシャ推定計算をさせる。
The medium on which the load inertia estimating program of the present invention is recorded is provided with a load inertia estimating program for estimating a true value of the load inertia of a system for controlling a device that drives a load using a servomotor by a computer. The recorded medium, wherein the estimation program causes the computer to perform proportional-integral control, perform observer estimation calculation for estimating a disturbance acting on the load, and determine a disturbance estimated value calculated in the observer estimation calculation and a state quantity of the actual machine in a predetermined manner. At the sampling period, the data is stored in the memory and the data is stored.From the output of the memory, the disturbance estimation value is analyzed using the state quantity of the actual machine, the load inertia correction value is calculated from the result, and the load inertia correction value and the observer estimation are calculated. Load that determines the true value of load inertia from the load inertia set value used in calculation Make the inertia estimation calculation.

【0044】また、データ記憶し、外乱推定値の解析で
使用する実機の状態量は、モータの速度であってもよ
い。
The state quantity of the actual machine which stores data and is used for analyzing the estimated disturbance value may be the speed of the motor.

【0045】また、外乱推定値の解析では、実際のモー
タ速度と外乱推定値の波形を比較してもよい。
In the analysis of the estimated disturbance value, the actual motor speed may be compared with the waveform of the estimated disturbance value.

【0046】また、外乱推定値の解析では、実際のモー
タ速度と外乱推定値の加速時の傾きを比較してもよい。
In the analysis of the disturbance estimation value, the actual motor speed may be compared with the acceleration gradient of the disturbance estimation value.

【0047】また、比例積分制御により負荷を駆動する
装置を制御中に、オブザーバ推定計算とデータ記憶と外
乱推定値解析と補正値計算と負荷イナーシャ推定計算と
を実行させ、自動的に負荷イナーシャの真値を求めて、
負荷イナーシャの真値をメモリに保存してもよい。
During the control of the device for driving the load by the proportional-integral control, the observer estimation calculation, data storage, disturbance estimation value analysis, correction value calculation and load inertia estimation calculation are executed, and the load inertia is automatically calculated. Finding the true value,
The true value of the load inertia may be stored in the memory.

【0048】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算や、または、制御計算
で使用してもよい。
The estimated value of the load inertia may be used in the observer estimation calculation or the control calculation in real time.

【0049】また、推定された負荷イナーシャの値を負
荷イナーシャ設定値として、オブザーバ推定計算で使用
し、負荷イナーシャ設定値を使用してオブザーバ推定計
算により求まった、外乱推定値を使用して、再び、負荷
イナーシャ設定値を補正し、これを繰り返すことによ
り、負荷イナーシャ推定値の精度を向上させてもよい。
The estimated load inertia value is used as a load inertia setting value in the observer estimation calculation, and the disturbance estimation value obtained by the observer estimation calculation using the load inertia setting value is used again. By correcting the load inertia set value and repeating this, the accuracy of the load inertia estimated value may be improved.

【0050】本発明のロボットの動作プログラムを記録
した媒体は、コンピュータによって、ロボットに動作を
教示し、実行するためのロボットの動作プログラムを記
録した媒体であって、動作プログラムは、コンピュータ
に、ロボットに動作を教示し、実行させ、上述の負荷イ
ナーシャ推定プログラムを記録した媒体に記録された負
荷イナーシャ推定プログラムを実行させる。
The medium on which the robot operation program of the present invention is recorded is a medium on which a robot operation program for teaching and executing an operation to a robot by a computer is recorded. And instruct it to execute the load inertia estimating program recorded on the medium on which the above-described load inertia estimating program is recorded.

【0051】また、動作プログラムは、オペレータがロ
ボット言語命令で記述することにより作成される、ロボ
ットの教示プログラムを、コンピュータが解読すること
によって生成され、ロボット言語命令の一つとして、負
荷イナーシャ推定計算をする命令を有してもよい。
The operation program is generated by a computer interpreting a robot teaching program, which is created by the operator describing the robot language instruction, and as one of the robot language instructions, the load inertia estimation calculation May be provided.

【0052】従って、オブザーバ推定値と実機観測値と
の誤差を使用し、ロボットの動作中に自動的に負荷イナ
ーシャの真値を求めるため、又は、オブザーバ外乱推定
値を実機状態量の波形を使用して解析し、ロボットの任
意の動作中に自動的に負荷イナーシャの真値を求めるた
め、適当な負荷イナーシャ計算値を予め設定しておくだ
けで、後はデータ測定や複雑な計算に時間や人手を消費
することなく、また、ロボットに無駄な動作を実行させ
ることなく、かつ複雑な形状の負荷の場合、机上計算で
負荷イナーシャを求めるより精度よくサーボモータの負
荷イナーシャ真値を推定することができる。また、アー
ム先端の負荷が変わった場合も簡単に負荷イナーシヤの
真値を推定することができる。
Therefore, the error between the observer estimated value and the actual machine observed value is used to automatically obtain the true value of the load inertia during the operation of the robot, or the observer disturbance estimated value is used as the actual machine state quantity waveform. In order to automatically calculate the true value of load inertia during any operation of the robot, simply set an appropriate load inertia calculation value in advance, and after that, it will take time and data measurement and complicated calculations Estimate the true value of the servo motor load inertia more accurately than calculating the load inertia by calculating the load inertia when the load has a complicated shape without consuming human labor and causing the robot to perform unnecessary operations. Can be. Further, even when the load at the tip of the arm changes, the true value of the load inertia can be easily estimated.

【0053】[0053]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0054】(本発明の第1の実施の形態)図1は本発
明の第1の実施の形態の負荷イナーシャの推定方法を説
明するフローチャートである。
(First Embodiment of the Present Invention) FIG. 1 is a flowchart for explaining a method of estimating a load inertia according to a first embodiment of the present invention.

【0055】まず、STEP1では、オブザーバの推定
計算で使用するための負荷イナーシャ値(JLobs )を
設定しておく。この時、JLobs の値は正確である必要
はなく設計計算値等、概算で求めておく。
First, in STEP 1, a load inertia value (JLobs) to be used in the estimation calculation of the observer is set. At this time, the value of JLobs does not need to be accurate, but is obtained by rough calculation such as a design calculation value.

【0056】次にSTEP2では、サーボモータを加速
駆動する。
Next, in STEP 2, the servo motor is accelerated.

【0057】この2つの作業だけで、負荷イナーシャ真
値を求めることができる。
The load inertia true value can be obtained only by these two operations.

【0058】以下に、STEP2でどのような計算を行
っているかを説明する。
Hereinafter, what calculation is performed in STEP 2 will be described.

【0059】図2は本発明の第1の実施の形態の制御ブ
ロック線図である。図中、実線で囲った部分10が制御
部、点線内20が実機に相当する。図中のKpは位置ル
ープ比例ゲイン、Kvは速度ループ比例ゲイン、Kiは
速度ループ積分ゲイン、Jmはモータイナーシャ、JL
は負荷イナーシャ、Kは減速機バネ定数、Cは減速機減
衰係数、Nは減速比を表す。また、Sはラプラス演算子
を表す。
FIG. 2 is a control block diagram according to the first embodiment of the present invention. In the figure, a portion 10 surrounded by a solid line corresponds to a control unit, and a portion 20 within a dotted line corresponds to an actual machine. In the figure, Kp is a position loop proportional gain, Kv is a speed loop proportional gain, Ki is a speed loop integral gain, Jm is motor inertia, JL
Represents load inertia, K represents a speed reducer spring constant, C represents a speed reducer damping coefficient, and N represents a speed reduction ratio. S represents a Laplace operator.

【0060】1は比例積分制御部、2はオブザーバ推定
計算部である。22は誤差計算部、6は負荷イナーシャ
推定計算部、21は制御系への入力である指令作成部で
ある。また、図中11と12は0次ホールドを行うサン
プラーを表すものとする。
1 is a proportional-integral control unit, and 2 is an observer estimation calculation unit. 22 is an error calculator, 6 is a load inertia estimation calculator, and 21 is a command generator which is an input to the control system. In the drawing, reference numerals 11 and 12 denote samplers that perform zero-order hold.

【0061】1のオブザーバの入力にはモータ検出速度
Vmとモータ指令トルクTrefを使う。以下にこの実
施の形態で使用したオブザーバの構成を数式を用いて説
明する。A11からA34およびB1、L1〜L4は各
行列の要素を表す。式中Tsはオブザーバ計算の1計算
周期であり、kは計算周期の回数を表す。すなわち(k
+1)番目のデータは(k)番目のデータの1計算周期
後のデータを表す。
The input of the observer uses the motor detection speed Vm and the motor command torque Tref. Hereinafter, the configuration of the observer used in this embodiment will be described using mathematical expressions. A11 to A34 and B1, L1 to L4 represent elements of each matrix. In the equation, Ts is one calculation cycle of the observer calculation, and k represents the number of calculation cycles. That is, (k
The (+1) th data represents data one calculation cycle after the (k) th data.

【0062】[0062]

【数1】 (Equation 1)

【0063】A11=−C/(N2 ×Jm)×Ts+1 A12=−K/(N×Jm)×Ts A13=C/(N×Jm)×Ts A21=Ts/N A23=−Ts A31=C/(N×JL)×Ts A32=K/JL×Ts A33=−C/JL×Ts+1 A34=−Ts/JL B1=Ts/Jm 式に示したように、状態変数は[Vmobs ・θsobs ・
VLobs ・D2obs ]の4つであり、Vmobs はモータ
速度推定値、θsobs はねじれ角推定値、VLobs は負
荷速度推定値、D2obs は2次側外乱推定値を表す。
A11 = −C / (N 2 × Jm) × Ts + 1 A12 = −K / (N × Jm) × Ts A13 = C / (N × Jm) × Ts A21 = Ts / N A23 = −Ts A31 = C / (N × JL) × Ts A32 = K / JL × Ts A33 = −C / JL × Ts + 1 A34 = −Ts / JL B1 = Ts / Jm As shown in the equation, the state variable is [Vmobs · θsobs ·
VLobs · D2obs], where Vmobs is the estimated motor speed, θsobs is the estimated torsion angle, VLobs is the estimated load speed, and D2obs is the estimated secondary disturbance.

【0064】この外乱推定項を含むことにより、外乱が
加わっている場合もオブザーバの推定精度を上げること
ができ、従って、負荷イナーシャの推定精度を上げるこ
とができる。
By including the disturbance estimation term, the estimation accuracy of the observer can be increased even when disturbance is applied, and therefore, the estimation accuracy of the load inertia can be increased.

【0065】実機検出値であるモータ速度Vmとオブザ
ーバで推定計算するモータ速度推定値Vmobs との差を
L行列(L1〜L4)により補正する構成をとる。
The difference between the motor speed Vm, which is the actual machine detection value, and the estimated motor speed Vmobs estimated and calculated by the observer is corrected by using an L matrix (L1 to L4).

【0066】また、本発明の第1の実施の形態では、誤
差計算部22でモータ指令トルクの推定値と実機のモー
タ指令トルク値を比較するため、オブザーバ推定計算部
2で、モータ指令トルクの推定値Tobs を求める必要が
ある。以下に説明する。
In the first embodiment of the present invention, the estimated value of the motor command torque is compared with the motor command torque value of the actual machine by the error calculator 22. It is necessary to determine the estimated value Tobs. This will be described below.

【0067】図2において、モータトルク指令Tref
と負荷加速度ALの関係は、AL:負荷加速度とAm:
モータ加速度とを使って、 Tref=Jm×Am+JL×AL/N (2) と表すことができる。
In FIG. 2, the motor torque command Tref
And the load acceleration AL are: AL: load acceleration and Am:
Using the motor acceleration, Tref = Jm × Am + JL × AL / N (2)

【0068】次に、モータ指令トルクTrefおよび負
荷加速度AL、モータ加速度Amの推定値をそれぞれT
obs 、ALobs 、Amobs とし、オブザーバ推定計算に
使用する負荷イナーシャをJLobs とすると、以下の式
が成り立つ。
Next, the estimated values of the motor command torque Tref, the load acceleration AL, and the motor acceleration Am are respectively expressed by T
Assuming that obs, ALobs, and Amobs are used and the load inertia used for the observer estimation calculation is JLobs, the following equation is established.

【0069】 Tobs =Jm×Amobs +JLobs ×ALobs /N (3) ここで、モータ速度推定値Vmobs と負荷速度推定値V
Lobs から微分近似として差分を使って、モータ加速度
推定値Amobs と負荷加速度推定値ALobs を計算する
式を示す。
Tobs = Jm × Amobs + JLobs × ALobs / N (3) Here, the estimated motor speed Vmobs and the estimated load speed V
An expression for calculating the motor acceleration estimated value Amobs and the load acceleration estimated value ALobs by using the difference as a differential approximation from Lobs is shown.

【0070】 Amobs (k)={Vmobs (k)−Vmobs (k−1)}/Ts (4) ALobs (k)={VLobs (k)−VLobs (k−1)}/Ts (5) 式(3)(4)(5)より、 Tobs =Jm×{Vmobs (k)−Vmobs (k−1)}/Ts +JLobs ×{VLobs (k)−VLobs (k−1)}/Ts(6) となり、図2中のオブザーバ推定計算部2でモータ指令
トルク推定値Tobs を求めることができる。
Amobs (k) = {Vmobs (k) −Vmobs (k−1)} / Ts (4) ALobs (k) = {VLobs (k) −VLobs (k−1)} / Ts (5) (3) From (4) and (5), Tobs = Jm × {Vmobs (k) −Vmobs (k−1)} / Ts + JLobs × {VLobs (k) −VLobs (k−1)} / Ts (6) The estimated motor command torque value Tobs can be obtained by the observer estimation calculation unit 2 in FIG.

【0071】誤差計算部22では、実機モータ指令トル
ク値とオブザーバモータ指令トルク推定値との差DLT
T を計算する。
The error calculator 22 calculates a difference DLT between the actual motor command torque value and the observer motor command torque estimated value.
Calculate T.

【0072】 DLTT =Tref−Tobs (7) 負荷イナーシャ推定計算部6では、実機の負荷イナーシ
ャの真値を推定する。内部の計算方法を以下に説明す
る。
DLTT = Tref−Tobs (7) The load inertia estimation calculation unit 6 estimates the true value of the load inertia of the actual machine. The internal calculation method will be described below.

【0073】まず、式(2)(3)を式(7)に代入す
る。
First, equations (2) and (3) are substituted into equation (7).

【0074】 DLTT =JL×AL/N−JLobs ×ALobs /N +Jm×Am−Jm×Amobs (8) ここで、オブザーバの推定開始時に推定値が真値とずれ
ていた場合でも、オブザーバの内部の式の補正の項によ
り、オブザーバ推定値は、ただちに真値に収束し、推定
値は真値とほぼ等しい値となるため、 Am=Amobs 、AL=ALobs (9) とおく。
DLTT = JL × AL / N−JLobs × ALobs / N + Jm × Am−Jm × Amobs (8) Here, even if the estimated value deviates from the true value at the start of the observer estimation, Due to the correction term in the equation, the observer estimated value immediately converges to the true value, and the estimated value becomes almost equal to the true value. Therefore, Am = Amobs and AL = ALobs (9) are set.

【0075】式(9)を、式(8)に代入して整理する
と、式(8)は次のように書き換えられる。
By substituting equation (9) into equation (8) and rearranging, equation (8) can be rewritten as follows.

【0076】 DLTT =(JL−JLobs )×ALobs /N =(JL−JLobs )× [{VLobs (k)−VLobs (k−1)}/Ts]/N (10) (10)式をJLについて解くと、 JL=DLTT ×N/[{VLobs (k)−VLobs (k−1)}/Ts] +JLobs (11) となる。DLTT = (JL−JLobs) × ALobs / N = (JL−JLobs) × [{VLobs (k) −VLobs (k−1)} / Ts] / N (10) When solved, JL = DLTT × N / [{VLobs (k) −VLobs (k−1)} / Ts] + JLobs (11)

【0077】この式(11)を負荷イナーシャ推定計算
部6で計算することにより、精度の高い負荷イナーシャ
推定値を得ることができる。
By calculating this equation (11) in the load inertia estimation calculating section 6, a highly accurate estimated load inertia value can be obtained.

【0078】また、負荷駆動装置制御中に、オブザーバ
推定計算部2と誤差計算部22と負荷イナーシャ推定計
算部6とを作動させ、自動的に負荷イナーシャの真値を
求めて、真値をメモリに保存する機能を追加できる。従
って、負荷駆動装置制御中に自動的に負荷イナーシャの
真値を推定することができ、その真値をメモリに書込ん
で保存することにより、状態量入力の手間も省くことが
できる。
Further, during the control of the load driving device, the observer estimation calculating section 2, the error calculating section 22, and the load inertia estimating calculating section 6 are operated to automatically obtain the true value of the load inertia and store the true value in the memory. You can add a function to save to. Therefore, the true value of the load inertia can be automatically estimated during the control of the load drive device, and the true value can be written and stored in the memory, thereby saving the trouble of inputting the state quantity.

【0079】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算で使用することによ
り、負荷イナーシャの真値の推定精度を上げることがで
きる。
Further, by using the estimated value of the load inertia in the observer estimation calculation in real time, the accuracy of estimating the true value of the load inertia can be improved.

【0080】本発明の負荷イナーシャ推定プログラムは
媒体に記録されており、コンピュータによって、サーボ
モータを使用して負荷を駆動する装置を制御するシステ
ムの負荷イナーシャの真値を推定するためのものであ
り、コンピュータに比例積分制御させ、サーボモータと
負荷の状態量を計算するオブザーバ推定計算させ、オブ
ザーバ推定計算で計算された状態量の推定値と実機で観
測できる状態量の値との差を計算する誤差計算させ、誤
差計算からの状態量の差の出力値とオブザーバ推定計算
で使用する負荷イナーシャ値とから負荷イナーシャの真
値を求める負荷イナーシャ推定計算させるものである。
The load inertia estimating program of the present invention is recorded on a medium, and is used for estimating the true value of the load inertia of a system for controlling a device that drives a load by using a servomotor by a computer. The computer performs proportional-integral control to calculate the state quantity of the servo motor and the load, and makes the observer estimate calculation, and calculates the difference between the estimated value of the state quantity calculated by the observer estimation calculation and the value of the state quantity that can be observed by the actual machine. An error is calculated, and a load inertia estimation calculation is performed to obtain a true value of the load inertia from an output value of a difference between state quantities from the error calculation and a load inertia value used in the observer estimation calculation.

【0081】また、ロボットに動作を教示し、実行させ
るためにはオペレータによって教示プログラムが作成さ
れる。教示プログラムは、特定のプログラム言語である
ロボット言語によって記述されている。本発明は、その
ロボット言語の命令の一つとして、上記負荷イナーシャ
推定計算処理を実行させる命令を持っている。ロボット
の教示プログラムを、コンピュータが解読することによ
って、ロボットの動作プログラムが生成される。オペレ
ータが教示プログラムを実行するだけで、コンピュータ
は動作プログラムに解読し、その動作プログラムを実行
するので、上記、定加速度動作ならびに負荷イナーシャ
推定計算処理を自動的に実行するものである。本発明の
ロボットの動作プログラムは媒体に記録されている。
Further, a teaching program is created by the operator to teach and execute the operation of the robot. The teaching program is described in a robot language which is a specific programming language. The present invention has an instruction to execute the load inertia estimation calculation process as one of the instructions in the robot language. The operation program of the robot is generated by the computer decoding the teaching program of the robot. When the operator simply executes the teaching program, the computer decodes the program into an operation program and executes the operation program. Therefore, the constant acceleration operation and the load inertia estimation calculation process are automatically executed. The operation program of the robot of the present invention is recorded on a medium.

【0082】以下に本発明を実施した時の効果を示す。The effects of the present invention will be described below.

【0083】図3はシミュレーションで使用した負荷イ
ナーシャ推定計算部の制御ブロック図である。5は逆数
を表す関数である。入力はDLTT モータ指令トルク誤
差と式(5)で得られるALobs 負荷加速度の2入力で
ある。
FIG. 3 is a control block diagram of the load inertia estimation calculation unit used in the simulation. 5 is a function representing a reciprocal. The inputs are DLTT motor command torque error and ALobs load acceleration obtained by equation (5).

【0084】図4、図5にシミュレーション結果を示
す。本発明の第1の実施の形態では、負荷の加速度の推
定値を利用するため、サーボモータを加速駆動した時に
負荷イナーシャを推定することができる。図4に、時間
−モータ速度の波形を、図5にその時の負荷イナーシャ
推定値の波形を示している。
FIGS. 4 and 5 show simulation results. In the first embodiment of the present invention, since the estimated value of the acceleration of the load is used, it is possible to estimate the load inertia when the servo motor is accelerated. FIG. 4 shows a time-motor speed waveform, and FIG. 5 shows a load inertia estimated value waveform at that time.

【0085】本シミュレーションの各状態量の値を説明
する。
The value of each state quantity in this simulation will be described.

【0086】 JL=2133 (Kg・m2) JLobs =3199.5(=JL×1.5) K=2677500 (N・m/rad) Kobs =3213000(=K×1.2) N=167 C=7557 (N・m・sec/rad) Kp=10 (1/sec) Kv=3.25 (1/sec) Ki=25 (1/sec) Ts=0.001 (sec) 上記のように、オブザーバで推定計算に使用する負荷イ
ナーシャJLobs は、実機負荷イナーシャの1.5倍
に、また、オブザーバで推定計算に使用するバネ定数K
obs は、実機バネ定数Kの1.2倍に設定している。
JL = 2133 (Kg · m 2 ) JLobs = 3199.5 (= JL × 1.5) K = 2677500 (N · m / rad) Kobs = 3213000 (= K × 1.2) N = 167 C = 7557 (Nmsec / rad) Kp = 10 (1 / sec) Kv = 3.25 (1 / sec) Ki = 25 (1 / sec) Ts = 0.001 (sec) As described above, The load inertia JLobs used in the estimation calculation by the observer is 1.5 times the actual machine load inertia, and the spring constant K used in the estimation calculation by the observer is
obs is set to 1.2 times the actual machine spring constant K.

【0087】図5の波形を見ると分かるように、オブザ
ーバ推定計算で使用する減速機のバネ定数Kobs が実機
バネ定数とずれて設定してあっても、実機負荷イナーシ
ャの真値を精度よく推定できている。
As can be seen from the waveform in FIG. 5, even if the spring constant Kobs of the speed reducer used in the observer estimation calculation is set to be different from the actual machine spring constant, the true value of the actual machine load inertia can be accurately estimated. is made of.

【0088】また、本実施の形態では、モータ指令トル
ク値の誤差を使用したが、その他、モータ位置・モータ
速度・モータ加速度を使用した方法でも同様の結果が得
られる。
Further, in the present embodiment, the error of the motor command torque value is used. However, other methods using the motor position, the motor speed, and the motor acceleration can obtain similar results.

【0089】また、比例積分制御部にフィードフォワー
ド制御部(前向き補償部)を有し、フィードフォワード
制御部は、フィードフォワード制御の制御定数の計算に
推定された負荷イナーシャの値を使用することもでき
る。
Further, the proportional-integral control unit has a feedforward control unit (forward compensation unit), and the feedforward control unit may use the estimated load inertia value for calculating the control constant of the feedforward control. it can.

【0090】(本発明の第2の実施の形態)次に、本発
明の第2の実施の形態について図面を参照して説明す
る。図6は本発明の第2の実施の形態の負荷イナーシャ
の推定操作を説明するフローチャートである。
(Second Embodiment of the Present Invention) Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 6 is a flowchart illustrating an operation of estimating the load inertia according to the second embodiment of this invention.

【0091】まず、STEP1では、オブザーバの推定
計算で使用するための負荷イナーシャ設定値JLobs を
設定しておく。この時、JLobs の値は正確である必要
はなく設計計算値等、概算で求めておく。
First, in STEP 1, a load inertia set value JLobs to be used in the observer estimation calculation is set. At this time, the value of JLobs does not need to be accurate, but is obtained by rough calculation such as a design calculation value.

【0092】次に、STEP2では、サーボモータを任
意の動作で駆動する。
Next, in STEP 2, the servo motor is driven by an arbitrary operation.

【0093】この2つのSTEPだけで、負荷イナーシ
ャ真値を自動的に求めることができる。以上が実際にオ
ペレータが行う操作である。
The load inertia true value can be automatically obtained only by these two STEPs. The above is the operation actually performed by the operator.

【0094】以下に、STEP2でどのような計算を行
っているかを説明する。
The following describes what calculations are performed in STEP2.

【0095】図7は本発明の第2の実施の形態の構成を
示すブロック図である。図8は図7を制御ブロック線図
にしたものである。図8中のKpは位置ループ比例ゲイ
ン、Kvは速度ループ比例ゲイン、Kiは速度ループ積
分ゲイン、Jmはモータイナーシャ、JLは負荷イナー
シャ、Kは減速機バネ定数、Cは減速機減衰係数を表
す。また、Sはラプラス演算子を表す。
FIG. 7 is a block diagram showing the configuration of the second embodiment of the present invention. FIG. 8 is a control block diagram of FIG. In FIG. 8, Kp is a position loop proportional gain, Kv is a speed loop proportional gain, Ki is a speed loop integral gain, Jm is motor inertia, JL is load inertia, K is a speed reducer spring constant, and C is a speed reducer damping coefficient. . S represents a Laplace operator.

【0096】21は制御系への入力である指令作成部で
ある。また、図中31と32と33と34は0次ホール
ドを行うサンプラーを表すものとする。
Reference numeral 21 denotes a command creation unit which is an input to the control system. In the figure, reference numerals 31, 32, 33, and 34 denote samplers that perform zero-order hold.

【0097】図7と図8に共通して、1は比例積分制御
部であり、モータの位置と速度をフィードバック制御し
ている。2はオブザーバ推定計算部である。3は実機状
態量とオブザーバ外乱推定値をサンプリング周期Tでメ
モリに保存するデータ記憶部である。本実施の形態で
は、実機状態量として、モータ速度を使用している。4
はデータ記憶部に保存された、外乱推定値とモータ速度
の値から、外乱推定値を解析する、外乱推定値解析部で
ある。5は外乱推定値解析部で解析した結果を基に、負
荷イナーシャの補正値を計算する補正値計算部であり、
6は補正値計算部の出力である補正値と負荷イナーシャ
設定値から、負荷イナーシャ真値を計算する負荷イナー
シャ推定計算部である。
7 and 8, reference numeral 1 denotes a proportional-integral control unit, which performs feedback control on the position and speed of the motor. Reference numeral 2 denotes an observer estimation calculation unit. Reference numeral 3 denotes a data storage unit that stores actual machine state quantities and observer disturbance estimated values in a memory at a sampling period T. In the present embodiment, the motor speed is used as the actual machine state quantity. 4
Reference numeral denotes a disturbance estimation value analysis unit that analyzes the disturbance estimation value from the disturbance estimation value and the motor speed value stored in the data storage unit. Reference numeral 5 denotes a correction value calculation unit that calculates a correction value of the load inertia based on a result analyzed by the disturbance estimation value analysis unit.
Reference numeral 6 denotes a load inertia estimation calculation unit that calculates a load inertia true value from the correction value output from the correction value calculation unit and the load inertia set value.

【0098】次に、オブザーバ推定計算部2の説明をす
る。2のオブザーバの入力にはモータ検出速度Vmとモ
ータ指令トルクTrefを使う。以下にこの実施の形態
で使用したオブザーバの構成を数式を用いて説明する。
A11からA34およびB1、L1〜L4は各行列の要
素を表す。式中Tsはオブザーバ計算の1計算周期であ
り、kは計算周期の回数を表す。すなわち(k+1)番
目のデータは(k)番目のデータの1計算周期後のデー
タを表す。
Next, the observer estimation calculator 2 will be described. The input of the observer 2 uses the motor detection speed Vm and the motor command torque Tref. Hereinafter, the configuration of the observer used in this embodiment will be described using mathematical expressions.
A11 to A34 and B1, L1 to L4 represent elements of each matrix. In the equation, Ts is one calculation cycle of the observer calculation, and k represents the number of calculation cycles. That is, the (k + 1) -th data represents the data one calculation cycle after the (k) -th data.

【0099】[0099]

【数2】 (Equation 2)

【0100】A11=−C/Jm A12=−K/Jm×Ts A13=C/Jm×Ts A21=Ts A23=−Ts A31=C/JL×Ts A32=K/JL×Ts A33=−C/JL×Ts+1 A34=−Ts/JL B1=Ts/Jm 上式に示したように、推定する状態変数は[Vmobs・
θsobs・VLobs・D2obs] の4つであり、Vmobs
はモータ速度推定値、θsobsはねじれ角推定値、VLo
bs は負荷速度推定値、D2obs は2次側外乱推定値を
表す。
A11 = −C / Jm A12 = −K / Jm × Ts A13 = C / Jm × Ts A21 = Ts A23 = −Ts A31 = C / JL × Ts A32 = K / JL × Ts A33 = −C / JL × Ts + 1 A34 = −Ts / JL B1 = Ts / Jm As shown in the above equation, the state variable to be estimated is [Vmobs ·
θsobs / VLobs / D2obs], and Vmobs
Is the estimated motor speed, θsobs is the estimated torsion angle, VLo
bs represents a load speed estimated value, and D2obs represents a secondary-side disturbance estimated value.

【0101】実機検出値であるモータ速度Vmとオブザ
ーバで推定計算するモータ速度推定値Vmobsとの差を
L行列(L1〜L4)により補正する構成をとる。
The difference between the motor speed Vm, which is the actual machine detection value, and the estimated motor speed Vmobs estimated and calculated by the observer is corrected by using an L matrix (L1 to L4).

【0102】次に、データ記憶部3の説明をする。Next, the data storage unit 3 will be described.

【0103】データ記憶部3では、ロボットが動作中
に、図9に示すようなある一つの<加速−定速−減速>
パターン動作時のモータ速度をあるサンプリング周期T
nで保存する。それをVmd(n)とする。
In the data storage unit 3, during the operation of the robot, a certain <acceleration-constant speed-deceleration> as shown in FIG.
The motor speed during pattern operation is set to a certain sampling period T
Save with n. Let it be Vmd (n).

【0104】それと同時に、その動作時のオブザーバ外
乱推定値の値もサンプリング周期Tnで保存する。それ
をD2d(n)とする。
At the same time, the estimated observer disturbance value during the operation is also stored at the sampling period Tn. Let it be D2d (n).

【0105】(nはサンプリング回数:n=1,2,
3...n)次に、外乱推定値解析部4の説明をする。
(N is the number of samplings: n = 1, 2, 2
3. . . n) Next, the disturbance estimation value analyzer 4 will be described.

【0106】外乱推定値解析部4では、まず最初に、外
乱推定値をモータ速度と比較しやすいように補正する。
First, the disturbance estimation value analyzer 4 corrects the disturbance estimation value so that it can be easily compared with the motor speed.

【0107】外乱推定値には、主に、重力と摩擦が外乱
として推定されている。ここで、本実施の形態では、重
力がかからない軸について説明する。ただし、重力がか
かる軸でも、予め負荷にかかる重力を計算して、減算し
ておけば、以下は同じ手順で負荷イナーシャ真値を推定
することが出来る。
In the disturbance estimation value, gravity and friction are mainly estimated as disturbances. Here, in the present embodiment, an axis to which gravity is not applied will be described. However, even if the gravity is applied to the axis, if the gravity applied to the load is calculated and subtracted in advance, the true value of the load inertia can be estimated in the following procedure.

【0108】動作中の摩擦には、大きく分けて、クーロ
ン摩擦と、粘性摩擦がある。このうち、クーロン摩擦は
速度に依存せず、速度の向きにのみ依存する値である。
すなわち、動作中には常に、一定の大きさで作用する。
それに対して、粘性摩擦は、速度に比例する値である。
The friction during operation is roughly classified into Coulomb friction and viscous friction. Among them, the Coulomb friction is a value that does not depend on the speed but depends only on the direction of the speed.
That is, it always operates with a constant magnitude during operation.
In contrast, viscous friction is a value proportional to speed.

【0109】従って、クーロン摩擦分を外乱推定値から
減算すると、外乱として速度に依存する粘性摩擦のみが
抽出できる。図10に説明の波形を示す。
Accordingly, when the Coulomb friction component is subtracted from the estimated disturbance value, only the speed-dependent viscous friction can be extracted as the disturbance. FIG. 10 shows the waveforms described.

【0110】さらに、定速動作時にモータの速度と外乱
推定値が一致するように外乱推定値の全体にある定数を
乗算する。結果を図11に示す。
Further, the constant of the estimated disturbance value is multiplied by a constant so that the estimated speed of the motor coincides with the estimated disturbance value during the constant speed operation. The results are shown in FIG.

【0111】図11のようになったところで、Vmd
(n):モータ速度とD2d(n):外乱推定値の加速
時の傾きを比較する。モータ速度の傾きをAvm、外乱
推定値の傾きをAd2とすると、 Avm={Vmd(n)−Vmd(n−m)}/(Tn×m) (13) Ad2={D2d(n)一D2d(n−m)}/(Tn×m) (14) となる。
When the state becomes as shown in FIG. 11, Vmd
(N): Motor speed is compared with D2d (n): the gradient at the time of acceleration of the disturbance estimation value. Assuming that the inclination of the motor speed is Avm and the inclination of the disturbance estimation value is Ad2, Avm = {Vmd (n) −Vmd (nm)} / (Tn × m) (13) Ad2 = {D2d (n) -D2d (N−m)} / (Tn × m) (14)

【0112】mは自然数であり傾きはm個前のデータと
今回のデータの差分から計算してしいる。
M is a natural number, and the slope is calculated from the difference between the m-th previous data and the current data.

【0113】次に、補正値計算部5の説明をする。Next, the correction value calculator 5 will be described.

【0114】補正値計算部5ではAvmとAd2の大き
さの違いに応じて、補正値を決定する。
The correction value calculator 5 determines a correction value according to the difference between the magnitudes of Avm and Ad2.

【0115】以下に、本実施の形態での補正値の決定方
法を説明する。
Hereinafter, a method of determining a correction value in the present embodiment will be described.

【0116】AvmとAd2の比をPとする。Let P be the ratio of Avm and Ad2.

【0117】P=Avm/Ad2 (15) 負荷イナーシヤ設定値JLobsとPから補正値Rを計
算する。
P = Avm / Ad2 (15) The correction value R is calculated from the load inertia set value JLobs and P.

【0118】R=JLobs×P×C (16)
(Cは設定定数) また、負荷イナーシャの誤差によっては、図12に示す
ような外乱推定値になる場合がある。この場合は、外乱
推定値の加速または、減速前の突起の大きさδを使用し
て、負荷イナーシャ補正値を計算することも可能であ
る。
R = JLobs × P × C (16)
(C is a set constant) Further, depending on the error of the load inertia, a disturbance estimated value as shown in FIG. 12 may be obtained. In this case, it is also possible to calculate the load inertia correction value using the projection size δ before acceleration or deceleration of the disturbance estimation value.

【0119】次に、負荷イナーシヤ推定計算部の説明を
する。
Next, the load inertia estimation calculating section will be described.

【0120】負荷イナーシャ推定計算部6では、JLob
s とRから、負荷イナーシャ真値JLrealを計算する。
In the load inertia estimation calculating section 6, JLob
A true load inertia value JLreal is calculated from s and R.

【0121】JLreal=JLobs +R (17) この式(17)を計算することにより、精度の高い負荷
イナーシャ推定値を得ることができる。また、比例積分
制御によって負荷を駆動する装置を制御中に、前記オブ
ザーバ推定計算部2と前記データ記憶部3と、前記外乱
推定値解析部4と前記補償値計算部5と前記負荷イナー
シャ推定計算部6とを作動させ、自動的に負荷イナーシ
ャの真値を求めて、真値をメモリに保存する機能を追加
できる。従って、負荷駆動装置制御中に自動的に負荷イ
ナーシャの真値を推定することができ、その真値をメモ
リに書込んで保存することにより、状態量入力の手間を
省くことができる。
JLreal = JLobs + R (17) By calculating this equation (17), a highly accurate load inertia estimated value can be obtained. Further, during control of the device for driving the load by the proportional-integral control, the observer estimation calculation unit 2, the data storage unit 3, the disturbance estimation value analysis unit 4, the compensation value calculation unit 5, and the load inertia estimation calculation By operating the unit 6 and automatically obtaining the true value of the load inertia, a function of storing the true value in the memory can be added. Therefore, the true value of the load inertia can be automatically estimated during the control of the load driving device, and the true value is written and stored in the memory, thereby saving the trouble of inputting the state quantity.

【0122】また、推定された負荷イナーシャの値をリ
アルタイムにオブザーバ推定計算や、その他の制御計算
で使用することにより、負荷イナーシャの真値の推定精
度を上げることができる。
Further, by using the estimated value of the load inertia in the observer estimation calculation and other control calculations in real time, the accuracy of estimating the true value of the load inertia can be improved.

【0123】また、推定された負荷イナーシャの値を負
荷イナーシャ設定値として、オブザーバ推定計算で使用
し、今回の負荷イナーシャ設定値を使用してオブザーバ
推定計算により求まった、外乱推定値を使用して、再
び、負荷イナーシャ設定値を補正する。これを繰り返す
ことにより、負荷イナーシャ推定値の精度を向上させる
ことができる。
The estimated load inertia value is used as a load inertia setting value in the observer estimation calculation, and the disturbance estimation value obtained by the observer estimation calculation using the current load inertia setting value is used. The load inertia set value is corrected again. By repeating this, the accuracy of the estimated load inertia value can be improved.

【0124】本発明の負荷イナーシャ推定プログラム
は、媒体に記録されており、コンピュータによって、サ
ーボモータを使用して負荷を駆動する装置を制御するシ
ステムの負荷イナーシャの真値を推定するためのもので
ある。即ち、負荷イナーシャ推定プログラムは、コンピ
ュータに比例積分制御させ、負荷に作用する外乱を推定
するオブザーバ推定計算をさせ、オブザーバ推定計算で
計算された外乱の推定値と実機の状態量をあるサンプリ
ング時間でメモリに保存させ、データ記憶部の出力か
ら、外乱推定値を実機状態量を使用して解析し、その結
果から負荷イナーシャ補正値を計算させ、その値とオブ
ザーバ推定計算で使用する負荷イナーシャ設定値とから
負荷イナーシャの真値を求める負荷イナーシャ推定計算
をさせるものである。
The load inertia estimating program of the present invention is recorded on a medium, and is used for estimating the true value of the load inertia of a system for controlling a device that drives a load by using a servomotor by a computer. is there. That is, the load inertia estimation program causes the computer to perform proportional-integral control, perform observer estimation calculation for estimating disturbance acting on the load, and calculate the disturbance estimated value calculated by the observer estimation calculation and the state quantity of the actual machine at a certain sampling time. It is stored in the memory, the estimated disturbance value is analyzed from the output of the data storage unit using the actual machine state quantity, the load inertia correction value is calculated from the result, and the load inertia setting value used in the observer estimation calculation Thus, the load inertia estimation calculation for obtaining the true value of the load inertia is performed.

【0125】また、ロボットに動作を教示し、実行させ
るためにはオペレータによって教示プログラムが作成さ
れる。教示プログラムは、特定のプログラム言語である
ロボット言語によって記述されている。本発明は、その
ロボット言語の命令の一つとして、上記負荷イナーシャ
推定計算処理を実行させる命令を持っている。ロボット
の教示プログラムを、コンピュータが解読することによ
って、ロボットの動作プログラムが生成される。オペレ
ータが教示プログラムを実行するだけで、コンピュータ
は動作プログラムに解読し、その動作プログラムを実行
するので、上記、定加速度動作ならびに負荷イナーシャ
推定計算処理を自動的に実行するものである。本発明の
ロボットの動作プログラムは媒体に記録されている。
In order to teach and execute the operation of the robot, a teaching program is created by the operator. The teaching program is described in a robot language which is a specific programming language. The present invention has an instruction to execute the load inertia estimation calculation process as one of the instructions in the robot language. The operation program of the robot is generated by the computer decoding the teaching program of the robot. When the operator simply executes the teaching program, the computer decodes the program into an operation program and executes the operation program. Therefore, the constant acceleration operation and the load inertia estimation calculation process described above are automatically executed. The operation program of the robot of the present invention is recorded on a medium.

【0126】[0126]

【発明の効果】以上説明したように本発明は、オブザー
バ推定値と実機観測値との誤差を使用し、ロボットの動
作中に自動的に負荷イナーシャの真値を求めるため、又
は、オブザーバ外乱推定値を実機状態量の波形を使用し
て解析し、ロボットの任意の動作中に自動的に負荷イナ
ーシャの真値を求めるため、適当な負荷イナーシャ計算
値を予め設定しておくだけで、後はデータ測定や複雑な
計算に時間や人手を消費することなく、また、ロボット
に無駄な動作を実行させることなく、かつ複雑な形状の
負荷の場合、机上計算で負荷イナーシャを求めるより精
度よくサーボモータの負荷イナーシャ真値を推定するこ
とができるという効果がある。また、アーム先端の負荷
が変わった場合も簡単に負荷イナーシヤの真値を推定す
ることができるという効果がある。
As described above, the present invention uses the error between the observer estimated value and the actual machine observed value to automatically obtain the true value of the load inertia during operation of the robot, or to estimate the observer disturbance. The value is analyzed using the waveform of the actual machine state quantity, and the true value of the load inertia is automatically obtained during any operation of the robot. Servo motors do not consume time or manpower for data measurement or complicated calculations, do not cause robots to perform unnecessary operations, and when using loads with complicated shapes, calculate the load inertia by desk calculation more accurately. Has the effect that the true value of the load inertia can be estimated. Also, there is an effect that the true value of the load inertia can be easily estimated even when the load at the tip of the arm changes.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態の負荷イナーシャの
推定方法を説明するフローチャートである。
FIG. 1 is a flowchart illustrating a method of estimating a load inertia according to a first embodiment of this invention.

【図2】本発明の第1の実施の形態の制御ブロック線図
である。
FIG. 2 is a control block diagram according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態の負荷イナーシャ推
定計算部の制御ブロック図である。
FIG. 3 is a control block diagram of a load inertia estimating calculation unit according to the first embodiment of this invention.

【図4】本発明の第1の実施の形態のシミュレーション
結果の時間−モータ速度の波形である。
FIG. 4 is a time-motor speed waveform of a simulation result according to the first embodiment of the present invention.

【図5】本発明の第1の実施の形態のシミュレーション
結果の時間−負荷イナーシャ推定値の波形である。
FIG. 5 is a waveform of a time-load inertia estimated value as a simulation result according to the first embodiment of the present invention.

【図6】本発明の第2の実施の形態の負荷イナーシャの
推定操作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating a load inertia estimating operation according to the second embodiment of this invention.

【図7】本発明の第2の実施の形態の構成を示すブロッ
ク図である。
FIG. 7 is a block diagram illustrating a configuration of a second exemplary embodiment of the present invention.

【図8】本発明の第2の実施の形態を説明する、制御ブ
ロック線図である。
FIG. 8 is a control block diagram illustrating a second embodiment of the present invention.

【図9】加速−定速−減速時の速度波形を説明する図で
ある。
FIG. 9 is a diagram illustrating a speed waveform during acceleration-constant speed-deceleration.

【図10】外乱推定値の補正を説明する図である。FIG. 10 is a diagram illustrating correction of a disturbance estimated value.

【図11】外乱推定値の解析を説明する図である。FIG. 11 is a diagram illustrating the analysis of a disturbance estimation value.

【図12】負荷イナーシャの設定値が誤差を含むときの
外乱推定値の波形を説明する図である。
FIG. 12 is a diagram illustrating a waveform of a disturbance estimated value when a set value of a load inertia includes an error.

【図13】従来の負荷イナーシャの推定方法を説明する
フローチャートである。
FIG. 13 is a flowchart illustrating a conventional load inertia estimating method.

【符号の説明】[Explanation of symbols]

1 比例積分制御部 2 オブザーバ推定計算部 3 データ記憶部 4 外乱推定値解析部 5 補正値計算部 6 負荷イナーシャ推定計算部 7 サーボモータ 8 負荷 10 制御部 11、12、31、32、33、34 0次ホールド
を行うサンプラー 20 実機 21 指令作成部 22 誤差計算部 25 逆数を表す関数
DESCRIPTION OF SYMBOLS 1 Proportional-integral control part 2 Observer estimation calculation part 3 Data storage part 4 Disturbance estimation value analysis part 5 Correction value calculation part 6 Load inertia estimation calculation part 7 Servo motor 8 Load 10 Control part 11, 12, 31, 32, 33, 34 Sampler that performs zero-order hold 20 Actual machine 21 Command creation unit 22 Error calculation unit 25 Function representing reciprocal

Claims (34)

【特許請求の範囲】[Claims] 【請求項1】 サーボモータを使用して負荷を駆動する
装置を制御するシステムの負荷イナーシャの真値を推定
する負荷イナーシャ推定システムにおいて、 比例積分制御部と、 前記サーボモータと前記負荷の状態量を計算するオブザ
ーバ推定計算部と、 該オブザーバ推定計算部で計算された前記状態量の推定
値と実機で観測できる前記状態量の値との差を計算する
誤差計算部と、 該誤差計算部からの前記状態量の差の出力値とオブザー
バ推定計算で使用する負荷イナーシャ設定値とから負荷
イナーシャの真値を求める負荷イナーシャ推定計算部と
を有することを特徴とする負荷イナーシャ推定システ
ム。
1. A load inertia estimating system for estimating a true value of load inertia of a system for controlling a device for driving a load using a servomotor, comprising: a proportional-integral control unit; An observer estimation calculating unit that calculates a difference between an estimated value of the state quantity calculated by the observer estimation calculating unit and a value of the state quantity that can be observed by a real machine; and an error calculating unit. A load inertia estimating calculation unit that obtains a true value of the load inertia from the output value of the state quantity difference and the load inertia set value used in the observer estimating calculation.
【請求項2】 前記誤差計算部では、前記オブザーバ推
定計算部で計算されたモータ指令トルクの推定値と実機
のモータ指令トルクとの誤差を計算する手段を有する請
求項1に記載の負荷イナーシャ推定システム。
2. The load inertia estimator according to claim 1, wherein the error calculator has means for calculating an error between an estimated motor command torque calculated by the observer estimation calculator and a motor command torque of a real machine. system.
【請求項3】 前記誤差計算部では、前記オブザーバ推
定計算部で計算されたモータ位置の推定値と実機のモー
タ位置との誤差を計算する手段を有する請求項1に記載
の負荷イナーシャ推定システム。
3. The load inertia estimating system according to claim 1, wherein the error calculating unit has means for calculating an error between the estimated motor position calculated by the observer estimating calculating unit and the motor position of the actual machine.
【請求項4】 前記誤差計算部では、前記オブザーバ推
定計算部で計算されたモータ速度の推定値と実機のモー
タ速度との誤差を計算する手段を有する請求項1に記載
の負荷イナーシャ推定システム。
4. The load inertia estimating system according to claim 1, wherein said error calculating unit has means for calculating an error between an estimated value of the motor speed calculated by said observer estimating calculating unit and a motor speed of an actual machine.
【請求項5】 前記誤差計算部では、前記オブザーバ推
定計算部で計算されたモータ加速度の推定値と実機のモ
ータ加速度との誤差を計算する手段を有する請求項1に
記載の負荷イナーシャ推定システム。
5. The load inertia estimating system according to claim 1, wherein the error calculating unit has means for calculating an error between the estimated value of the motor acceleration calculated by the observer estimating calculating unit and the motor acceleration of the actual machine.
【請求項6】 負荷駆動装置制御中に、前記オブザーバ
推定計算部と前記誤差計算部と前記負荷イナーシャ推定
計算部とを作動させ、自動的に前記負荷イナーシャの真
値を求めて、該真値をメモリに保存する手段を有する請
求項1から請求項5の何れか1項に記載の負荷イナーシ
ャ推定システム。
6. The load observer calculating section, the error calculating section, and the load inertia estimating calculating section are operated during the load driving device control, and the true value of the load inertia is automatically obtained. The load inertia estimating system according to any one of claims 1 to 5, further comprising a unit for storing the load inertia in a memory.
【請求項7】 前記オブザーバ推定計算部のオブザーバ
モデルの構成に外乱推定項を含む請求項1から請求項6
の何れか1項に記載の負荷イナーシャ推定システム。
7. The observer model of the observer estimation calculator includes a disturbance estimation term in the configuration of the observer model.
The load inertia estimation system according to any one of the above.
【請求項8】 推定された前記負荷イナーシャの値をリ
アルタイムに前記オブザーバ推定計算で使用する手段を
有する請求項1から請求項7の何れか1項に記載の負荷
イナーシャ推定システム。
8. The load inertia estimating system according to claim 1, further comprising means for using the estimated value of the load inertia in the observer estimation calculation in real time.
【請求項9】 前記比例積分制御部にフィードフォワー
ド制御部を有し、該フィードフォワード制御部は、フィ
ードフォワード制御の制御定数の計算に推定された前記
負荷イナーシャの値を使用する請求項1から請求項8の
何れか1項に記載の負荷イナーシャ推定システム。
9. The proportional-integral control unit includes a feedforward control unit, and the feedforward control unit uses the estimated value of the load inertia in calculating a control constant of the feedforward control. A load inertia estimating system according to claim 8.
【請求項10】 コンピュータによって、サーボモータ
を使用して負荷を駆動する装置を制御するシステムの負
荷イナーシャの真値を推定するための負荷イナーシャ推
定プログラムを記録した媒体であって、 該推定プログラムは、 コンピュータに比例積分制御させ、 前記サーボモータと前記負荷の状態量を計算するオブザ
ーバ推定計算させ、 該オブザーバ推定計算で計算された前記状態量の推定値
と実機で観測できる前記状態量の値との差を計算する誤
差計算させ、 該誤差計算からの前記状態量の差の出力値と前記オブザ
ーバ推定計算で使用する負荷イナーシャ設定値とから負
荷イナーシャの真値を求める負荷イナーシャ推定計算さ
せることを特徴とする負荷イナーシャ推定プログラムを
記録した媒体。
10. A medium recording a load inertia estimating program for estimating a true value of a load inertia of a system for controlling a device that drives a load using a servomotor by a computer, wherein the estimating program is A proportional integral control by a computer, an observer estimation calculation for calculating a state quantity of the servo motor and the load, an estimated value of the state quantity calculated by the observer estimation calculation and a value of the state quantity observable by a real machine. And calculating the load inertia estimating calculation to obtain the true value of the load inertia from the output value of the difference between the state quantities from the error calculation and the load inertia setting value used in the observer estimating calculation. A medium on which a characteristic load inertia estimation program is recorded.
【請求項11】 前記誤差計算では、前記オブザーバ推
定計算で計算されたモータ指令トルクの推定値と実機の
モータ指令トルクとの誤差を計算する請求項10に記載
の負荷イナーシャ推定プログラムを記録した媒体。
11. The medium storing the load inertia estimation program according to claim 10, wherein the error calculation calculates an error between an estimated value of the motor command torque calculated by the observer estimation calculation and a motor command torque of an actual machine. .
【請求項12】 前記誤差計算では、前記オブザーバ推
定計算で計算されたモータ位置の推定値と実機のモータ
位置との誤差を計算する請求項10に記載の負荷イナー
シャ推定プログラムを記録した媒体。
12. The medium storing the load inertia estimation program according to claim 10, wherein the error calculation calculates an error between the estimated motor position calculated by the observer estimation calculation and the motor position of an actual machine.
【請求項13】 前記誤差計算では、前記オブザーバ推
定計算で計算されたモータ速度の推定値と実機のモータ
速度との誤差を計算する請求項10に記載の負荷イナー
シャ推定プログラムを記録した媒体。
13. The medium storing the load inertia estimation program according to claim 10, wherein in the error calculation, an error between an estimated value of the motor speed calculated in the observer estimation calculation and a motor speed of a real machine is calculated.
【請求項14】 前記誤差計算では、前記オブザーバ推
定計算で計算されたモータ加速度の推定値と実機のモー
タ加速度との誤差を計算する請求項10に記載の負荷イ
ナーシャ推定プログラムを記録した媒体。
14. A medium recording a load inertia estimation program according to claim 10, wherein said error calculation calculates an error between an estimated value of the motor acceleration calculated by said observer estimation calculation and a motor acceleration of an actual machine.
【請求項15】 負荷駆動装置制御中に、前記オブザー
バ推定計算と前記誤差計算と前記負荷イナーシャ推定計
算とを実行させ、自動的に前記負荷イナーシャの真値を
求めて、該真値をメモリに保存する請求項10から請求
項14の何れか1項に記載の負荷イナーシャ推定プログ
ラムを記録した媒体。
15. During the load driving device control, the observer estimation calculation, the error calculation, and the load inertia estimation calculation are executed, a true value of the load inertia is automatically obtained, and the true value is stored in a memory. A medium on which the load inertia estimation program according to any one of claims 10 to 14 is stored.
【請求項16】 前記オブザーバ推定計算のオブザーバ
モデルの構成に外乱推定項を含む請求項10から請求項
15の何れか1項に記載の負荷イナーシャ推定プログラ
ムを記録した媒体。
16. A medium storing the load inertia estimation program according to claim 10, wherein a configuration of an observer model for the observer estimation calculation includes a disturbance estimation term.
【請求項17】 推定された前記負荷イナーシャの値を
リアルタイムに前記オブザーバ推定計算で使用する請求
項10から請求項16の何れか1項に記載の負荷イナー
シャ推定プログラムを記録した媒体。
17. A medium recording the load inertia estimation program according to claim 10, wherein the estimated value of the load inertia is used in the observer estimation calculation in real time.
【請求項18】 前記比例積分制御にフィードフォワー
ド制御を有し、該フィードフォワード制御は、フィード
フォワード制御の制御定数の計算に推定された前記負荷
イナーシャの値を使用する請求項10から請求項17の
何れか1項に記載の負荷イナーシャ推定プログラムを記
録した媒体。
18. The feed-forward control according to claim 10, wherein the proportional-integral control includes a feed-forward control, and the feed-forward control uses the estimated value of the load inertia in calculating a control constant of the feed-forward control. A medium on which the load inertia estimation program according to any one of the above items is recorded.
【請求項19】 サーボモータを使用して負荷を駆動す
る装置を制御するシステムの負荷イナーシャの真値を推
定する負荷イナーシャ推定システムにおいて、 比例積分制御部と、 前記負荷に作用する外乱を推定するオブザーバ推定計算
部と、 該オブザーバ推定計算部からの出力である外乱推定値と
実機の状態量を所定のサンプリング周期でメモリに保存
するデータ記憶部と、 該データ記憶部に保存された前記外乱推定値を前記実機
の状態量を使用して解析する外乱推定値解析部と、 該外乱推定値解析部からの出力値によって負荷イナーシ
ャ設定値を補正するための負荷イナーシャ補正値を計算
する補正値計算部と、 該補正値計算部の出力および予め設定しておいた負荷イ
ナーシャ設定値から、負荷イナーシャの真値を計算する
負荷イナーシヤ推定計算部とを有することを特徴とする
負荷イナーシャ推定システム。
19. A load inertia estimating system for estimating a true value of load inertia of a system for controlling a device for driving a load using a servomotor, wherein a proportional-integral control unit and a disturbance acting on the load are estimated. An observer estimation calculation unit; a data storage unit for storing a disturbance estimation value and an actual machine state quantity output from the observer estimation calculation unit in a memory at a predetermined sampling cycle; and the disturbance estimation stored in the data storage unit. A disturbance estimation value analysis unit for analyzing a value using the state quantity of the actual machine, and a correction value calculation for calculating a load inertia correction value for correcting a load inertia set value based on an output value from the disturbance estimation value analysis unit. And a load inertia for calculating a true value of the load inertia from an output of the correction value calculating unit and a preset load inertia set value. A load inertia estimating system, comprising:
【請求項20】 前記データ記憶部で保存し、前記外乱
推定値解析部で解析する実機の状態量は、モータの速度
である請求項19に記載の負荷イナーシャ推定システ
ム。
20. The load inertia estimation system according to claim 19, wherein the state quantity of the actual machine stored in the data storage unit and analyzed by the disturbance estimation value analysis unit is a motor speed.
【請求項21】 前記外乱推定値解析部では、実際のモ
ータ速度と外乱推定値の波形を比較する手段を有する請
求項20に記載の負荷イナーシャ推定システム。
21. The load inertia estimating system according to claim 20, wherein the disturbance estimated value analyzing section has a means for comparing a waveform of the actual motor speed with a waveform of the disturbance estimated value.
【請求項22】 前記外乱推定値解析部では、実際のモ
ータ速度と外乱推定値の加減速時のそれぞれのデータの
傾きを比較する手段を有する請求項20に記載の負荷イ
ナーシャ推定システム。
22. The load inertia estimating system according to claim 20, wherein the disturbance estimation value analysis unit includes means for comparing the actual motor speed and the inclination of each data at the time of acceleration / deceleration of the disturbance estimation value.
【請求項23】 前記比例積分制御部により負荷を駆動
する装置を制御中に、前記オブザーバ推定計算部と前記
データ記憶部と前記外乱推定値解析部と前記補正値計算
部と前記負荷イナーシャ推定計算部とを作動させ、自動
的に前記負荷イナーシャの真値を求めて、該負荷イナー
シヤの真値をメモリに保存する手段を有する請求項19
から請求項22の何れか1項に記載の負荷イナーシャ推
定システム。
23. The controller for driving a load by the proportional-integral control unit, the observer estimation calculation unit, the data storage unit, the disturbance estimation value analysis unit, the correction value calculation unit, and the load inertia estimation calculation. 20. means for automatically operating a unit, and automatically obtaining a true value of the load inertia, and storing the true value of the load inertia in a memory.
The load inertia estimating system according to any one of Claims 1 to 22.
【請求項24】 推定された前記負荷イナーシャの値を
リアルタイムに前記オブザーバ推定計算や、または、制
御計算で使用する手段を有する請求項19ら請求項23
の何れか1項に記載の負荷イナーシャ推定システム。
24. The apparatus according to claim 19, further comprising means for using the estimated value of the load inertia in the observer estimation calculation or the control calculation in real time.
The load inertia estimation system according to any one of the above.
【請求項25】 推定された前記負荷イナーシャの値を
負荷イナーシャ設定値として、オブザーバ推定計算で使
用して求まった、外乱推定値を使用して、再び、前記負
荷イナーシャ設定値を補正し、これを繰り返すことによ
り、負荷イナーシャ推定値の精度を向上させる手段を有
する請求項19から請求項24の何れか1項に記載の負
荷イナーシャ推定システム。
25. The estimated load inertia value is used as a load inertia set value, and the load inertia set value is corrected again using a disturbance estimated value obtained by using an observer estimation calculation. The load inertia estimating system according to any one of claims 19 to 24, further comprising: means for improving the accuracy of the load inertia estimated value by repeating the above.
【請求項26】 コンピュータによって、サーボモータ
を使用して負荷を駆動する装置を制御するシステムの負
荷イナーシャの真値を推定するための負荷イナーシャ推
定プログラムを記録した媒体であって、 該推定プログラムは、 コンピュータに比例積分制御させ、 前記負荷に作用する外乱を推定するオブザーバ推定計算
をさせ、 該オブザーバ推定計算で計算された前記外乱の推定値と
実機の状態量を所定のサンプリング周期でメモリに保存
しデータ記憶させ、 該メモリの出力から、前記外乱推定値を前記実機の状態
量を使用して解析させ、 その結果から前記負荷イナーシャ補正値を計算させ、 該負荷イナーシャ補正値と前記オブザーバ推定計算で使
用する負荷イナーシャ設定値とから負荷イナーシャの真
値を求める負荷イナーシャ推定計算をさせることを特徴
とする負荷イナーシャ推定プログラムを記録した媒体。
26. A medium recording a load inertia estimating program for estimating a true value of load inertia of a system for controlling a device for driving a load using a servomotor by a computer, wherein the estimating program is The computer performs proportional-integral control, performs observer estimation calculation for estimating the disturbance acting on the load, and stores the estimated value of the disturbance calculated by the observer estimation calculation and the state quantity of the actual machine in a memory at a predetermined sampling cycle. From the output of the memory, the disturbance estimation value is analyzed using the state quantity of the actual machine, the load inertia correction value is calculated from the result, the load inertia correction value and the observer estimation calculation Inertia estimation to find the true value of load inertia from the load inertia set value used in Recorded medium load inertia estimation program for causing the sun.
【請求項27】 前記データ記憶し、前記外乱推定値の
解析で使用する実機の状態量は、モータの速度である請
求項26に記載の負荷イナーシャ推定プログラムを記録
した媒体。
27. A medium in which the load inertia estimation program according to claim 26, wherein the state quantity of the actual machine stored in the data and used in the analysis of the disturbance estimation value is a motor speed.
【請求項28】 前記外乱推定値の解析では、実際のモ
ータ速度と外乱推定値の波形を比較する請求項27に記
載の負荷イナーシャ推定プログラムを記録した媒体。
28. A medium recording a load inertia estimation program according to claim 27, wherein in the analysis of the disturbance estimation value, a waveform of the actual motor speed is compared with a waveform of the disturbance estimation value.
【請求項29】 前記外乱推定値の解析では、実際のモ
ータ速度と外乱推定値の加速時の傾きを比較する請求項
27に記載の負荷イナーシャ推定プログラムを記録した
媒体。
29. A medium recording the load inertia estimation program according to claim 27, wherein in the analysis of the disturbance estimation value, the actual motor speed is compared with a gradient at the time of acceleration of the disturbance estimation value.
【請求項30】 前記比例積分制御により負荷を駆動す
る装置を制御中に、前記オブザーバ推定計算と前記デー
タ記憶と前記外乱推定値解析と前記補正値計算と前記負
荷イナーシャ推定計算とを実行させ、自動的に前記負荷
イナーシャの真値を求めて、該負荷イナーシャの真値を
メモリに保存する請求項26から請求項29の何れか1
項に記載の負荷イナーシャ推定プログラムを記録した媒
体。
30. While controlling a device that drives a load by the proportional-integral control, the controller executes the observer estimation calculation, the data storage, the disturbance estimation value analysis, the correction value calculation, and the load inertia estimation calculation, 30. The true value of the load inertia is automatically obtained, and the true value of the load inertia is stored in a memory.
A medium on which the load inertia estimating program according to the item is recorded.
【請求項31】 推定された前記負荷イナーシャの値を
リアルタイムに前記オブザーバ推定計算や、または、制
御計算で使用する請求項26から請求項30の何れか1
項に記載の負荷イナーシャ推定プログラムを記録した媒
体。
31. The apparatus according to claim 26, wherein the estimated value of the load inertia is used in real time in the observer estimation calculation or the control calculation.
A medium on which the load inertia estimating program according to the item is recorded.
【請求項32】 推定された前記負荷イナーシャの値を
負荷イナーシャ設定値として、オブザーバ推定計算で使
用して求まった、外乱推定値を使用して、再び、前記負
荷イナーシャ設定値を補正し、これを繰り返すことによ
り、負荷イナーシャ推定値の精度を向上させる請求項2
6から請求項31の何れか1項に記載の負荷イナーシャ
推定プログラムを記録した媒体。
32. The estimated load inertia value is used as a load inertia set value, and the load inertia set value is corrected again using a disturbance estimated value obtained by using an observer estimation calculation. The accuracy of the load inertia estimation value is improved by repeating
A medium recording the load inertia estimation program according to any one of claims 6 to 31.
【請求項33】 コンピュータによって、ロボットに動
作を教示し、実行するためのロボットの動作プログラム
を記録した媒体であって、 前記動作プログラムは、 コンピュータに、 ロボットに動作を教示し、実行させ、 請求項10から請求項18及び請求項26から請求項3
2の何れか1項に記載の負荷イナーシャ推定プログラム
を記録した媒体に記録された負荷イナーシャ推定プログ
ラムを実行させることを特徴とするロボットの動作プロ
グラムを記録した媒体。
33. A medium recording a robot operation program for teaching and executing an operation to a robot by a computer, wherein the operation program causes the computer to teach and execute the operation to a robot. Claims 10 to 18 and Claims 26 to 3
3. A medium storing a robot operation program, wherein the medium executes a load inertia estimation program recorded on a medium recording the load inertia estimation program according to any one of 2.
【請求項34】 前記動作プログラムは、 オペレータがロボット言語命令で記述することにより作
成される、ロボットの教示プログラムを、コンピュータ
が解読することによって生成され、 前記ロボット言語命令の一つとして、前記負荷イナーシ
ャ推定計算をする命令を有する請求項33に記載のロボ
ットの動作プログラムを記録した媒体。
34. The operation program is generated by a computer interpreting a robot teaching program created by an operator describing the robot language instruction, and the load program is one of the robot language instructions. 34. A medium recording a robot operation program according to claim 33, comprising a command for performing an inertia estimation calculation.
JP10008803A 1997-02-03 1998-01-20 Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded Pending JPH10285969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10008803A JPH10285969A (en) 1997-02-03 1998-01-20 Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2053297 1997-02-03
JP9-20532 1997-02-03
JP10008803A JPH10285969A (en) 1997-02-03 1998-01-20 Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded

Publications (1)

Publication Number Publication Date
JPH10285969A true JPH10285969A (en) 1998-10-23

Family

ID=26343398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10008803A Pending JPH10285969A (en) 1997-02-03 1998-01-20 Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded

Country Status (1)

Country Link
JP (1) JPH10285969A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4609684B2 (en) * 1999-04-05 2011-01-12 ソニー株式会社 Robot, servo circuit, actuator, robot control method, and actuator control method
WO2012053352A1 (en) * 2010-10-18 2012-04-26 三菱重工業株式会社 Load inertia estimation method and control parameter adjustment method
JP2019004584A (en) * 2017-06-14 2019-01-10 ファナック株式会社 Control apparatus of dynamo-electric motor
CN114603554A (en) * 2022-02-21 2022-06-10 苏州艾利特机器人有限公司 Calibration method and device for load moment of inertia of robot and storage medium
CN115070823A (en) * 2022-06-21 2022-09-20 法奥意威(苏州)机器人***有限公司 Joint stiffness detection method, robot motion control method and related device
CN117614334A (en) * 2024-01-17 2024-02-27 中智电气南京有限公司 Servo motor rotational inertia control system and method based on intelligent model

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4609684B2 (en) * 1999-04-05 2011-01-12 ソニー株式会社 Robot, servo circuit, actuator, robot control method, and actuator control method
WO2012053352A1 (en) * 2010-10-18 2012-04-26 三菱重工業株式会社 Load inertia estimation method and control parameter adjustment method
CN103140818A (en) * 2010-10-18 2013-06-05 三菱重工业株式会社 Load inertia estimation method and control parameter adjustment method
JP2019004584A (en) * 2017-06-14 2019-01-10 ファナック株式会社 Control apparatus of dynamo-electric motor
US11175647B2 (en) 2017-06-14 2021-11-16 Fanuc Corporation Motor controller
CN114603554A (en) * 2022-02-21 2022-06-10 苏州艾利特机器人有限公司 Calibration method and device for load moment of inertia of robot and storage medium
WO2023155790A1 (en) * 2022-02-21 2023-08-24 苏州艾利特机器人有限公司 Robot load rotational inertia calibration method and apparatus, and storage medium
CN115070823A (en) * 2022-06-21 2022-09-20 法奥意威(苏州)机器人***有限公司 Joint stiffness detection method, robot motion control method and related device
CN115070823B (en) * 2022-06-21 2023-09-29 法奥意威(苏州)机器人***有限公司 Joint stiffness detection method, robot motion control method and related devices
CN117614334A (en) * 2024-01-17 2024-02-27 中智电气南京有限公司 Servo motor rotational inertia control system and method based on intelligent model
CN117614334B (en) * 2024-01-17 2024-03-26 中智电气南京有限公司 Servo motor rotational inertia control system and method based on intelligent model

Similar Documents

Publication Publication Date Title
US8872463B2 (en) Electric motor controller comprising function for simultaneously estimating inertia, friction, and spring
JP2763832B2 (en) Control device and method for plant including unknown dynamics
KR950000938B1 (en) Method and apparatus for controlling engine characteristic test
US6456897B1 (en) Control method and numerical control for motion control of industrial machine tools
JP2014136260A (en) Control device
US5091683A (en) Servo control apparatus
JPH10285969A (en) Load inertia estimation system, medium on which load inertia estimation program is recorded, and medium on which operation program of robot is recorded
JP3545487B2 (en) Method of estimating inertia and friction torque of mechanical system driven by motor
JPH07276273A (en) Deflection correction control method for parallel link manipulator
JP4016305B2 (en) Robot control device
JPH0991004A (en) Method for estimating load weight
JPH05111889A (en) Control of variable control type robot
JPH11134012A (en) Robot with track error correcting function
EP0441983A1 (en) Method of controlling robot
Tungpataratanawong et al. Robust motion control of industrial robot based on robot parameter identification and feedforward control considering resonant frequency
JPH07185817A (en) Weaving control method of multi-axes robot
JP4078396B2 (en) Positioning control device
JPH07121239A (en) Control method for robot device
JPH10249763A (en) Friction parameter control method for robot manipulator
JPH08190433A (en) Load weight estimating method
JP2020121358A (en) Learning control device, robot control device and robot
JP4038659B2 (en) Servo control device
JPH0623932B2 (en) Servo control method
JP3322892B2 (en) Multi-axis robot controller
GB2273177A (en) Actuator position control.