JP3135738B2 - Numerical control unit - Google Patents

Numerical control unit

Info

Publication number
JP3135738B2
JP3135738B2 JP05082476A JP8247693A JP3135738B2 JP 3135738 B2 JP3135738 B2 JP 3135738B2 JP 05082476 A JP05082476 A JP 05082476A JP 8247693 A JP8247693 A JP 8247693A JP 3135738 B2 JP3135738 B2 JP 3135738B2
Authority
JP
Japan
Prior art keywords
value
error
unit
speed
setting unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05082476A
Other languages
Japanese (ja)
Other versions
JPH06274228A (en
Inventor
隆至 岩崎
智典 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP05082476A priority Critical patent/JP3135738B2/en
Publication of JPH06274228A publication Critical patent/JPH06274228A/en
Application granted granted Critical
Publication of JP3135738B2 publication Critical patent/JP3135738B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、機械系を駆動する数
値制御装置、特に工作機械、ロボットなどを駆動する数
値制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a numerical controller for driving a mechanical system, and more particularly to a numerical controller for driving a machine tool, a robot, and the like.

【0002】[0002]

【従来の技術】図13は例えば特開昭63−29850
1号公報に示された従来の動作速度を変更する手段を持
つ数値制御装置を示すブロック図であり、図において、
2は制御対象、3は指令値生成部、22はPD制御を行
うフィードバック補償器、109は可変速学習制御器で
あり、107は速度設定部、108は学習制御部であ
る。
2. Description of the Related Art FIG.
FIG. 1 is a block diagram showing a conventional numerical control device having means for changing an operation speed disclosed in Japanese Patent Publication No.
2 is a control object, 3 is a command value generation unit, 22 is a feedback compensator for performing PD control, 109 is a variable speed learning controller, 107 is a speed setting unit, and 108 is a learning control unit.

【0003】次に動作について説明する。指令値生成部
3では制御対象2を動作させる目標値である指令値を生
成する。フィードバック補償器22はこの指令値と制御
対象2の出力との誤差を基にPD演算を行い、制御対象
2への適切な入力を決定する。以上のフィードバック制
御のみでは、制御対象2を指令値に適切に追従させるこ
とができないため、繰り返して同じ指令値を与える場
合、学習制御部108において前回までの誤差を基に適
切な修正量を求め、制御対象2への入力に加える。制御
対象2を高速に動作させる場合、フィードバック補償器
22のみを用いた制御では過大な誤差が発生してしまう
ため、速度設定部107ではまず低速度を指令値生成部
3に設定し、その速度により繰り返し動作を行い、学習
制御部108にて学習を行う。その後、速度設定部10
7で高速度を設定し、繰り返し動作を行って学習制御部
108にて学習を行う。設定速度を変更する場合、学習
制御部108では、変更する速度の大きさに応じて制御
対象2への入力に加える修正値を補正する。
Next, the operation will be described. The command value generation unit 3 generates a command value that is a target value for operating the control target 2. The feedback compensator 22 performs a PD calculation based on the error between the command value and the output of the controlled object 2 to determine an appropriate input to the controlled object 2. Since the control target 2 cannot properly follow the command value only by the feedback control described above, when the same command value is repeatedly given, the learning control unit 108 calculates an appropriate correction amount based on the error up to the previous time. , Input to the control target 2. When the control target 2 is operated at high speed, an excessive error occurs in the control using only the feedback compensator 22. Therefore, the speed setting unit 107 first sets a low speed to the command value generation unit 3, And the learning control unit 108 performs learning. Then, the speed setting unit 10
7, a high speed is set, the learning operation is performed by the learning control unit 108 by repeating the operation. When changing the set speed, the learning control unit 108 corrects a correction value added to the input to the control target 2 according to the magnitude of the speed to be changed.

【0004】図14は例えば三菱数値制御装置MELD
AS300/300Vシリーズプログラミング説明書
(1990)に示されたプログラミング言語に基づくプ
ログラムであり、図において、N010,N020,N
030は動作の各ステップを示す。
FIG. 14 shows, for example, a Mitsubishi numerical controller MELD.
This is a program based on the programming language described in the AS300 / 300V series programming manual (1990). In the drawing, N010, N020, N
030 indicates each step of the operation.

【0005】次に動作について説明する。N010では
ワーク座標系1を指定し、絶対値指令により、X=0,
Y=0の原点へ早送りを行い、主軸を回転させ、切削液
をオンにする。次にN020では、速度200mm/m
in、主軸回転数1000rpmでZ軸方向に−10m
m直線補間で送る。最後にN030では、速度250m
m/min、中心座標X=0,Y=50で反時計回りに
円弧補間で送る。
Next, the operation will be described. In N010, the work coordinate system 1 is designated, and X = 0,
Rapid feed is performed to the origin of Y = 0, the main shaft is rotated, and the cutting fluid is turned on. Next, in N020, the speed is 200 mm / m
in, -10 m in the Z-axis direction at a spindle speed of 1000 rpm
Send by m linear interpolation. Finally, at N030, the speed is 250m
Sent by counterclockwise circular interpolation at m / min, center coordinates X = 0, Y = 50.

【0006】[0006]

【発明が解決しようとする課題】従来の数値制御装置は
以上のように構成されているので、指令速度の変更は行
うが、変更する速度の値は予め決めておかねばならず、
また、誤差の大きさを速度の設定には反映させないなど
の問題点があった。
Since the conventional numerical control device is configured as described above, the command speed is changed, but the speed value to be changed must be determined in advance.
There is also a problem that the magnitude of the error is not reflected in the setting of the speed.

【0007】また、従来の数値制御装置におけるプログ
ラムは、動作を速度でしか指定できないなどの問題点が
あった。
Further, the program in the conventional numerical controller has a problem that the operation can be specified only by the speed.

【0008】請求項1乃至4の発明は上記のような問題
点を解消するためになされたもので、誤差の大きさやア
クチュエータの能力に応じて動作速度、加速度を自動的
に設定できる数値制御装置を得ることを目的とし、また
請求項5,6の発明は誤差の許容範囲をプログラミング
可能な数値制御装置を得ることを目的とする。
The inventions of claims 1 to 4 have been made in order to solve the above problems, and a numerical control device capable of automatically setting an operation speed and an acceleration in accordance with the size of an error and the capability of an actuator. It is another object of the present invention to provide a numerical controller capable of programming an allowable range of an error.

【0009】[0009]

【課題を解決するための手段】請求項1の発明に係る数
値制御装置は、誤差の許容値を設定する誤差許容値設定
部、誤差の大きさを求める精度測定部、動作速度、加速
度の大きさを設定する指令条件設定部を備えたものであ
る。
According to a first aspect of the present invention, there is provided a numerical control apparatus comprising: an error allowable value setting unit for setting an error allowable value; an accuracy measuring unit for obtaining an error size; an operating speed; It is provided with a command condition setting unit for setting the length.

【0010】請求項2の発明に係る数値制御装置は、請
求項1の発明にさらにサーボ制御部のパラメータを修正
するパラメータチューニング部を備えたものである。
A numerical controller according to a second aspect of the present invention further includes a parameter tuning unit for correcting a parameter of the servo control unit in addition to the first aspect of the present invention.

【0011】請求項3の発明に係る数値制御装置は、請
求項1の発明にさらにサーボ制御部に修正値を出力する
学習制御部を備えたものである。
A numerical controller according to a third aspect of the present invention further includes a learning control unit for outputting a correction value to the servo control unit in addition to the first aspect of the present invention.

【0012】請求項4の発明に係る数値制御装置は、請
求項1の発明にさらに誤差を表示する表示部を備えたも
のである。
According to a fourth aspect of the present invention, there is provided a numerical control apparatus further comprising a display section for displaying an error.

【0013】請求項5の発明に係る数値制御装置は、誤
差の許容値を設定する誤差許容値設定部、動作軌跡と発
生する誤差の大きさと速度、加速度の様々な関係を保存
するデータベース部、動作速度、加速度の大きさを設定
する指令条件設定部を備えたものである。
According to a fifth aspect of the present invention, there is provided a numerical controller for setting an allowable value of an error, a database unit for storing various relations between a motion trajectory and the magnitude of the generated error, speed, and acceleration; A command condition setting unit for setting the operation speed and the magnitude of the acceleration is provided.

【0014】請求項6の発明に係る数値制御装置は、誤
差の許容範囲を指定できるプログラムを備えたものであ
る。
According to a sixth aspect of the present invention, there is provided a numerical controller including a program capable of designating an allowable range of an error.

【0015】[0015]

【作用】請求項1の発明における数値制御装置は、駆動
時のデータから誤差の大きさと必要な電流値を求め、指
定された誤差許容値および予め判っている電流許容値と
の比較により、速度、加速度の設定部を変更する。
According to a first aspect of the present invention, a numerical control apparatus obtains a magnitude of an error and a necessary current value from data at the time of driving, and compares the designated error allowable value with a known current allowable value to determine a speed. , Change the setting part of the acceleration.

【0016】請求項2の発明における数値制御装置は、
誤差の大きさが誤差許容値を超えた場合に、サーボ制御
部のパラメータを自動的にチューニングし、誤差を改善
する。
The numerical controller according to the second aspect of the present invention comprises:
When the magnitude of the error exceeds the allowable error value, the parameters of the servo control unit are automatically tuned to improve the error.

【0017】請求項3の発明における数値制御装置は、
誤差の大きさが誤差許容値を超えた場合に、繰り返し動
作による学習制御を行い、誤差を改善する。
The numerical control device according to the invention of claim 3 is
When the magnitude of the error exceeds an error allowable value, learning control by a repetitive operation is performed to improve the error.

【0018】請求項4の発明における数値制御装置は、
駆動時のデータから求めた誤差の大きさを使用者が認識
できるように表示する。
The numerical control device according to the invention of claim 4 is
The magnitude of the error obtained from the data at the time of driving is displayed so that the user can recognize it.

【0019】請求項5の発明における数値制御装置は、
指定された誤差許容値および動作軌跡の特徴からデータ
ベースの情報をもとに、速度、加速度の設定値を決定す
る。
The numerical control device according to the fifth aspect of the present invention
Based on the information of the database, the set values of the speed and the acceleration are determined from the specified error allowable value and the characteristic of the motion trajectory.

【0020】請求項6の発明における数値制御装置は、
プログラム中で誤差許容値が指定された場合に速度、加
速度の自動設定を実行する。
The numerical controller according to the invention of claim 6 is:
When the error tolerance is specified in the program, the speed and acceleration are automatically set.

【0021】[0021]

【実施例】【Example】

実施例1.以下、請求項1の発明の一実施例を図につい
て説明する。図1において、21a,21bはフィード
フォワード補償器、22a,22bはフィードバック補
償器、23a,23bは電流制御部、1a,1bはサー
ボ制御部でフィードフォワード補償器21a,21b、
フィードバック補償器22a,22b、電流制御部23
a,23bから構成される。2は制御対象、3は指令値
生成部、4a,4bは電流測定部、5a,5bは精度測
定部、6は誤差許容値設定部、7は指令条件設定部、1
1a,11bは指令値生成部3で生成された動作指令
値、12a,12bはサーボ制御部1a,1bで生成さ
れた制御対象2への操作量、13a,13bは制御対象
2に備え付けられた位置センサのフィードバック値、1
4a,14bは動作中の電流値、15は指令条件設定部
7の出力である指令条件設定値、16は誤差許容値、1
7a,17bは電流測定値でピーク電流値と実効電流値
からなる。18a,18bは誤差としての精度測定値
(誤差)である。なお、制御対象2はここでは工作機械
における2軸のXYテーブルであり、図中の番号の添字
a,bはそれぞれX軸用,Y軸用のブロックを示す。
Embodiment 1 FIG. An embodiment of the first aspect of the present invention will be described below with reference to the drawings. In FIG. 1, 21a and 21b are feedforward compensators, 22a and 22b are feedback compensators, 23a and 23b are current control units, 1a and 1b are servo control units, and feedforward compensators 21a and 21b,
Feedback compensators 22a and 22b, current control unit 23
a and 23b. 2 is a control object, 3 is a command value generation unit, 4a and 4b are current measurement units, 5a and 5b are accuracy measurement units, 6 is an error allowable value setting unit, 7 is a command condition setting unit, 1
1a and 11b are operation command values generated by the command value generation unit 3, 12a and 12b are operation amounts to the control target 2 generated by the servo control units 1a and 1b, and 13a and 13b are provided in the control target 2. Position sensor feedback value, 1
4a and 14b are current values during operation, 15 is a command condition set value which is an output of the command condition setting unit 7, 16 is an error allowable value, 1
Reference numerals 7a and 17b denote measured current values, which include a peak current value and an effective current value. 18a and 18b are precision measurement values (errors) as errors. Here, the control target 2 is a two-axis XY table in a machine tool, and the suffixes a and b of the numbers in the figure indicate blocks for the X-axis and Y-axis, respectively.

【0022】次に動作について説明する。サーボ制御部
1a,1bは制御対象2を動作指令値11a,11b通
りに駆動することが目的であり、フィードバック補償器
22a,22bは動作指令値11a,11bとフィード
バック値13a,13bとの誤差をもとにフィードバッ
ク電流指令値を求め、フィードフォワード補償器21
a,21bは動作指令値11a,11bと制御対象2の
モデルをもとにフィードフォワード電流指令値を求め
る。電流制御部23a,23bはフィードバック電流指
令値とフィードフォワード電流指令値との和である電流
指令値を入力とし、制御対象2の電動機への操作量12
a,12bである電流を出力する。指令値生成部3では
指令条件設定値15すなわち速度、加速度の設定値と、
予め与えられた軌跡とをもとにX,Y各軸の動作指令値
11a,11bを生成する。
Next, the operation will be described. The servo controllers 1a and 1b drive the control target 2 in accordance with the operation command values 11a and 11b, and the feedback compensators 22a and 22b calculate the error between the operation command values 11a and 11b and the feedback values 13a and 13b. The feedback current command value is obtained based on the
a and 21b determine feedforward current command values based on the operation command values 11a and 11b and the model of the control target 2. The current control units 23a and 23b receive a current command value, which is the sum of the feedback current command value and the feedforward current command value, and operate the motor 2 of the control target 2 with the operation amount 12
a, 12b. The command value generation unit 3 sets a command condition set value 15, that is, a set value of speed and acceleration, and
Operation command values 11a and 11b for each of the X and Y axes are generated based on a given trajectory.

【0023】精度測定部5a,5bと電流測定部4a,
4bでは、動作時のデータをもとにそれぞれ精度測定値
18a,18bとピーク電流値および実効電流値からな
る電流測定値17a,17bを求める。すなわち、精度
測定部5a,5bでは、動作指令値11a,11bとフ
ィードバック値13a,13bとの誤差の最大値を精度
測定値18a,18bとする。また、電流測定部4a,
4bでは、動作中の電流値14a,14bの最大値をピ
ーク電流値とし、動作中の電流値をもとに(1)式によ
り計算した値を実効電流値Irms とする。
The accuracy measuring units 5a, 5b and the current measuring units 4a,
In step 4b, the precision measurement values 18a and 18b and the current measurement values 17a and 17b including the peak current value and the effective current value are obtained based on the data at the time of operation. That is, in the accuracy measurement units 5a and 5b, the maximum value of the error between the operation command values 11a and 11b and the feedback values 13a and 13b is set as the accuracy measurement values 18a and 18b. Also, the current measuring units 4a,
In 4b, the maximum value of the current values 14a and 14b during operation is defined as the peak current value, and the value calculated by the equation (1) based on the current value during operation is defined as the effective current value Irms .

【0024】[0024]

【数1】 (Equation 1)

【0025】ここで、iは動作中の電流値、t1 は今回
の動作指令値11a,11bが実行される時間を示す。
従来の数値制御装置では、速度、加速度の指令条件設定
値15は予め決められており、それに基づいて動作指令
値を生成していたが、この発明の数値制御装置では動作
時のデータをもとに適切な速度、加速度の設定値を学習
する。すなわち、指令条件設定部7では、誤差許容値設
定部6で入力された誤差許容値16と電動機の特性とか
ら予め設定されているピーク電流値の許容値と、実効電
流値の許容値とを、それぞれ精度測定値18a,18
b、電流測定値17a,17bと比較し、次回の動作に
おける速度、加速度の設定値15を決定する。
Here, i indicates the current value during operation, and t 1 indicates the time during which the current operation command values 11a and 11b are executed.
In the conventional numerical control device, the command condition setting values 15 for speed and acceleration are determined in advance, and the operation command value is generated based on the command condition setting value. Learn appropriate speed and acceleration settings. In other words, the command condition setting unit 7 sets the allowable value of the peak current value and the allowable value of the effective current value based on the error allowable value 16 input by the error allowable value setting unit 6 and the characteristics of the motor. , The accuracy measurement values 18a, 18 respectively
b, the set values 15 of the speed and acceleration in the next operation are determined by comparing with the measured current values 17a and 17b.

【0026】図2は速度、加速度の設定手順を示すフロ
ーチャートである。ステップST1で動作が開始される
と、まずステップST2で誤差許容値設定部6において
誤差許容値16を設定し、ステップST3で速度、加速
度の指令条件設定値15の初期値を決定する。次に、決
定した速度、加速度を用いてステップST4で指令値生
成部3において動作指令値11a,11bを生成しサー
ボ制御部1a,1bにより制御対象2を動作させる。動
作時のデータをもとにステップST5でピーク電流値、
実効電流値を求め、ステップST6で精度測定値18
a,18bを求める。ステップST7でピーク電流値、
実効電流値、精度測定値18a,18bをそれぞれの許
容値と比較し、全てが許容値以下であればステップST
8で次回の速度、加速度を今回よりも大きな値に設定す
る。いずれかの値が許容値を超えていた場合にはステッ
プST9で次回の速度、加速度を今回よりも小さな値に
設定する。これまでに動作させた速度、加速度の値とス
テップST9で決定した値とをもとに終了判定をステッ
プST10で行う。ステップST10の結果が終了でな
ければ、およびステップST8における速度、加速度の
設定が終ったならば、ステップST4に戻って再びサー
ボ制御部1a,1bにより制御対象2を動作させる。ス
テップST10の結果が終了であればステップST11
にて学習の手順を終了し、これ以後は求まった速度、加
速度により動作を行う。上記ステップST8における高
速化は次式をもとに決定する。
FIG. 2 is a flowchart showing a procedure for setting the speed and the acceleration. When the operation is started in step ST1, first, in step ST2, the error allowable value setting unit 6 sets the error allowable value 16, and in step ST3, the initial values of the speed and acceleration command condition setting values 15 are determined. Next, using the determined speed and acceleration, the operation command values 11a and 11b are generated in the command value generation unit 3 in step ST4, and the control target 2 is operated by the servo control units 1a and 1b. The peak current value in step ST5 based on the data at the time of operation,
An effective current value is obtained, and an accuracy measurement value 18 is obtained in step ST6.
a and 18b are obtained. In step ST7, the peak current value,
The effective current value and the accuracy measurement values 18a and 18b are compared with respective allowable values.
In step 8, the next speed and acceleration are set to values larger than this time. If any of the values exceeds the allowable value, the next speed and acceleration are set to values smaller than the current speed in step ST9. An end determination is made in step ST10 based on the values of the speed and acceleration operated so far and the values determined in step ST9. If the result of step ST10 is not the end, and speed in step ST8, if setting of the acceleration is completed, again Sir returns to step ST4
Servo control unit 1a, to operate the controlled object 2 by 1b. If the result of step ST10 is completed, step ST11
Then, the learning procedure is completed, and thereafter, the operation is performed at the determined speed and acceleration. The speedup in step ST8 is determined based on the following equation.

【0027】[0027]

【数2】 (Equation 2)

【0028】ここで、Vnow は今回の動作時の速度、V
next,Anextはそれぞれ次回の動作時の速度、加速度、
ngはこれまで動作を実行した速度でST7の結果がN
Oとなったもののうち最小の速度、kは速度が決まった
場合にその速度に対応して適切な加速度を求めるための
定数である。(2)式は今回の速度の1.5倍と、過去
に誤差あるいは電流が過大になった速度と今回の速度の
相乗平均との小さい方を次回の速度とすることを示す。
上記ステップST9における低速化は次式をもとに決定
する。
Here, V now is the speed at the time of this operation, and V
next and A next are the speed, acceleration,
V ng is the speed at which the operation was performed so far and the result of ST7 is N
The minimum speed k among those obtained as O is a constant for determining an appropriate acceleration corresponding to the speed when the speed is determined. Equation (2) shows that the next speed is 1.5 times the current speed and the smaller of the geometric mean of the current speed and the speed at which the error or current became excessive in the past.
The speed reduction in step ST9 is determined based on the following equation.

【0029】[0029]

【数3】 (Equation 3)

【0030】ここで、Vokはこれまで動作を実行した速
度でステップST7の結果がYESとなったもののうち
最大の速度である。(4)式は過去に誤差あるいは電流
が過大にならなかった速度と今回の速度の相乗平均を次
回の速度とすることを示す。ステップST10の終了判
定は、 1.1Vnext > Vnow ・・・・・(6) が成立した場合に、Vnext=Vokとし、終了とする。
Here, V ok is the maximum speed among the speeds at which the operation has been executed so far and the result of step ST7 is YES. Equation (4) indicates that the geometrical average of the speed at which the error or current did not become excessive in the past and the current speed is used as the next speed. The determination of the end of step ST10 is that when 1.1V next > V now ... (6) holds, V next = V ok and the process is terminated.

【0031】なお、この実施例1では、誤差と電流値と
を速度の制限の評価に用いたが、誤差に対する要求がな
く、電流値のみから速度を決定したい場合には、誤差許
容値を充分に大きな値に設定することで実現できる。
In the first embodiment, the error and the current value are used for evaluating the speed limit. However, when there is no requirement for the error and the speed is determined only from the current value, the error allowable value is sufficiently set. It can be realized by setting the value to a large value.

【0032】実施例2.請求項1の発明の他の実施例を
図について説明する。図3において、図1と同一符号は
同一部分を示し、5cは精度測定部としての軌跡精度測
定部(精度測定部)、11cは軌跡上での動作指令値、
18cは誤差としての軌跡精度測定値である。実施例1
では精度測定部5a,5bにおいてX軸,Y軸それぞれ
の誤差を測定して指令条件設定部7で用いていたが、本
実施例ではXY平面上での軌跡上の誤差をもとに指令条
件設定部7での速度、加速度の設定値15を決定する。
軌跡上の誤差は、軌跡精度測定部5cにおいてXYの2
軸のフィードバック値13a,13bをもとにXY平面
上での動作軌跡経路を求め、これと軌跡上での動作指令
値11cとの差をとることにより、求めることができ
る。本実施例のように軌跡上の誤差を用いた場合の方
が、例えば工作機械による加工結果への誤差の影響の評
価としては直接的なものである。
Embodiment 2 FIG. Another embodiment of the present invention will be described with reference to the drawings. 3, the same reference numerals as those in FIG. 1 denote the same parts, 5c denotes a trajectory accuracy measuring unit (accuracy measuring unit) as an accuracy measuring unit, 11c denotes an operation command value on the trajectory,
18c is a locus accuracy measurement value as an error. Example 1
In the above, the accuracy measuring units 5a and 5b measure the error of each of the X axis and the Y axis and use them in the command condition setting unit 7. In this embodiment, however, the command condition is determined based on the error on the trajectory on the XY plane. The set value 15 of the speed and acceleration in the setting unit 7 is determined.
The error on the trajectory is 2 × XY in the trajectory accuracy measuring unit 5c.
The motion trajectory on the XY plane is obtained based on the axis feedback values 13a and 13b, and the difference between the motion trajectory and the motion command value 11c on the trajectory is obtained. The case of using the error on the trajectory as in the present embodiment is a more direct evaluation of the effect of the error on the machining result by the machine tool, for example.

【0033】実施例3.次に請求項2の発明の実施例を
図について説明する。図4において、図3と同一符号は
同一部分を示し、8a,8bはパラメータチューニング
部、19a,19bはパラメータチューニング実行指令
である。パラメータチューニング部8a,8bは、例え
ば特願平4−112369号「2自由度制御装置及び電
動機のサーボ制御装置」に示されたように、動作指令値
11a,11bと動作中の電流値14a,14bとを用
いて、制御対象2のモデルのパラメータ、例えば負荷の
慣性モーメントの大きさ、摩擦の大きさなどを同定し、
その結果に応じてフィードフォワード補償器21a,2
1b、フィードバック補償器22a,22bのパラメー
タを自動的にチューニングする機能を持つ。理論上は、
制御対象2のモデルのパラメータが正確に求められてい
る場合には、速度、加速度指令条件設定値15に拘らず
フィードフォワード補償器21a,21b、フィードバ
ック補償器22a,22bのパラメータの適切な値が決
定できるが、実際には摩擦の特性が動作速度に依存する
などの理由で、動作速度毎に適切なパラメータをチュー
ニングしなおした方が軌跡誤差が小さくなる場合が多
い。そこで、この実施例では、速度、加速度を変更し、
その結果の軌跡精度が誤差許容値より大きくなった場合
に、パラメータチューニングを実行して、変更した速
度、加速度に対する誤差を誤差許容値以下にしようとす
る。
Embodiment 3 FIG. Next, an embodiment of the present invention will be described with reference to the drawings. 4, the same reference numerals as those in FIG. 3 denote the same parts, 8a and 8b denote parameter tuning units, and 19a and 19b denote parameter tuning execution commands. As shown in Japanese Patent Application No. 4-112369, "two-degree-of-freedom control device and servo control device for electric motor", the parameter tuning units 8a and 8b provide operation command values 11a and 11b and current values 14a and 14a during operation. 14b, the parameters of the model of the controlled object 2, such as the magnitude of the moment of inertia of the load and the magnitude of the friction, are identified,
According to the result, the feedforward compensators 21a, 21a
1b, a function of automatically tuning parameters of the feedback compensators 22a and 22b. In theory,
When the parameters of the model of the control target 2 are accurately obtained, appropriate values of the parameters of the feedforward compensators 21a and 21b and the feedback compensators 22a and 22b are set regardless of the speed and acceleration command condition setting value 15. Although it can be determined, in practice, the locus error is often reduced by re-tuning an appropriate parameter for each operation speed because the friction characteristics depend on the operation speed. Therefore, in this embodiment, the speed and acceleration are changed,
If the resulting trajectory accuracy is greater than the error tolerance, parameter tuning is performed to try to reduce the error for the changed speed and acceleration to less than the error tolerance.

【0034】図5は本実施例における速度、加速度の設
定手順を示すフローチャートであり、図2と同一符号は
同一内容のステップを示す。ステップST7において、
誤差、ピーク電流値、実効電流値のいずれかが許容値を
超えてNOと判定された場合は、ステップST12にお
いて、今回の速度、加速度の設定値でパラメータチュー
ニングが実行されているか、実行されていたならそのチ
ューニングによるパラメータ変化量は基準値よりも小さ
いかという比較を行う。その結果、今回の速度、加速度
の設定値でチューニングが行われており、かつそのチュ
ーニングによるパラメータ変化量は基準値よりも小さい
場合には、今回の速度、加速度におけるパラメータチュ
ーニングは完了したと判断し、ステップST9に進んで
図2と同様の処理を行う。パラメータチューニングが完
了していなかった場合には、ステップST13により、
今回の動作時のデータからパラメータチューニングを実
施し、その結果得られたパラメータを用いて、速度、加
速度を修正せずにステップST4において再び動作を実
行する。本実施例によると、実施例2よりは動作の回数
が増加するが、同じ誤差許容値に対してより高速な動作
を実現できる可能性がある。
FIG. 5 is a flowchart showing the procedure for setting the speed and acceleration in this embodiment. The same reference numerals as in FIG. 2 denote the steps having the same contents. In step ST7,
If any of the error, the peak current value, and the effective current value exceeds the allowable value and is determined to be NO, in step ST12, the parameter tuning is performed with the current speed and acceleration set values, or the parameter tuning is performed. Then, a comparison is made as to whether the parameter change amount due to the tuning is smaller than a reference value. As a result, if the tuning is performed at the current speed and acceleration set values and the parameter change amount due to the tuning is smaller than the reference value, it is determined that the parameter tuning at the current speed and acceleration has been completed. The process proceeds to step ST9 to perform the same processing as in FIG. If the parameter tuning has not been completed, at step ST13,
The parameter is tuned from the data at the time of this operation, and the operation is executed again in step ST4 without correcting the speed and acceleration using the parameters obtained as a result. According to the present embodiment, although the number of operations is increased as compared with the second embodiment, there is a possibility that a higher-speed operation can be realized for the same error allowable value.

【0035】実施例4.請求項3の発明の実施例を図に
ついて説明する。図6において、図1と同一符号は同一
部分を示し、10a,10bは学習制御部、20a,2
0bは学習制御実行指令である。学習制御部10a,1
0bは、例えば特開昭63−298501号公報の「制
御装置」に示されるように、動作中の動作指令値11
a,11bとフィードバック値13a,13bとの差に
適切な演算を行ったデータを記憶し、次回動作中に記憶
したデータをフィードバック補償器22a,22bの出
力に加えることにより、動作毎に動作指令値11a,1
1bとフィードバック値13a,13bとの差を小さく
していく機能を持つ。そこで本実施例では、実施例3に
おけるパラメータチューニング部8a,8bのかわりに
学習制御部10a,10bを備えることにより、実施例
3と同様の効果を得ることができる。
Embodiment 4 FIG. A third embodiment of the invention will be described with reference to the drawings. 6, the same reference numerals as those in FIG. 1 denote the same parts, 10a and 10b denote learning control units, and 20a and 2
0b is a learning control execution command. Learning control unit 10a, 1
0b is an operation command value 11 during operation as shown in, for example, "Control Device" of JP-A-63-298501.
By storing data obtained by performing an appropriate calculation on the difference between the feedback values 13a and 13b and the feedback values 13a and 13b, and adding the data stored during the next operation to the outputs of the feedback compensators 22a and 22b, an operation command is issued for each operation. Value 11a, 1
1b and a function of reducing the difference between the feedback values 13a and 13b. Therefore, in the present embodiment, the same effects as in the third embodiment can be obtained by providing the learning control units 10a and 10b instead of the parameter tuning units 8a and 8b in the third embodiment.

【0036】実施例5.請求項4の発明の実施例を図に
ついて説明する。図7において、図3と同一符号は同一
部分を示し、9は表示部としての軌跡精度表示部(表示
部)である。軌跡精度表示部9では、軌跡精度測定部5
cで用いたデータをもとに、誤差の最大値およびその誤
差が生じている軌跡上の点を、数値あるいはグラフで表
示する。この軌跡精度表示部9を備えたことにより、数
値制御装置のユーザは軌跡上の誤差の大きな点とその値
を把握でき、軌跡指定時の参考にすることができる。
Embodiment 5 FIG. A fourth embodiment of the invention will be described with reference to the drawings. 7, the same reference numerals as those in FIG. 3 denote the same parts, and 9 denotes a trajectory accuracy display unit (display unit) as a display unit. In the trajectory accuracy display unit 9, the trajectory accuracy measurement unit 5
Based on the data used in c, the maximum value of the error and the point on the trajectory where the error occurs are displayed as a numerical value or a graph. With the provision of the trajectory accuracy display section 9, the user of the numerical control device can grasp a point on the trajectory having a large error and its value, which can be used as a reference when specifying the trajectory.

【0037】実施例6.請求項5の発明の実施例を図に
ついて説明する。図8において、図1と同一符号は同一
部分を示し、7cはこの実施例における指令条件設定
部、30はデータベースである。この実施例では、誤差
許容値設定部6で誤差許容値16が設定されると、指令
条件設定部7cにおいて、指定された軌跡の形状の情報
と誤差許容値16とをもとにデータベース30に蓄えら
れた情報から適切な速度、加速度の設定値15を決定
し、指令値生成部3に出力する。図9はデータベース3
0の内容を示しており、軌跡の半径R、最大誤差E、速
度Vの関係を示すデータが羅列されている。例えば、指
定された軌跡が半径5mmに相当する運動を行ってお
り、誤差許容値8μmと指定された場合には、データベ
ースから余裕を見て半径5mm、最大誤差5μmの場合
の速度である3000mm/minを採用する。また、
この場合の加速度は(5)式により求める。
Embodiment 6 FIG. An embodiment of the invention according to claim 5 will be described with reference to the drawings. 8, the same reference numerals as those in FIG. 1 denote the same parts, 7c denotes a command condition setting unit in this embodiment, and 30 denotes a database. In this embodiment, when the error allowable value 16 is set by the error allowable value setting unit 6, the command condition setting unit 7c stores the error allowable value 16 in the database 30 based on the information on the shape of the designated trajectory and the error allowable value 16. An appropriate set value 15 of speed and acceleration is determined from the stored information, and is output to the command value generator 3. FIG. 9 shows database 3
0 is shown, and data indicating the relationship between the radius R of the trajectory, the maximum error E, and the speed V are listed. For example, if the specified trajectory is performing a movement corresponding to a radius of 5 mm and the error tolerance is specified as 8 μm, the speed is 3000 mm / in the case of a radius of 5 mm and a maximum error of 5 μm, taking a margin from the database. min is adopted. Also,
The acceleration in this case is obtained by equation (5).

【0038】なお、上記実施例6では、安全を考えてデ
ータベース30にあるより厳しい条件の速度を選択した
が、複数のデータの内挿によって決定してもよい。ま
た、データベース30中のデータは、R,E,Vのみの
場合を示したが、対応するR,Eに対し最適なフィード
フォワード補償器21とフィードバック補償器22のパ
ラメータを併せて記憶しておいてもよい。この場合には
指令条件設定部7cでは、速度、加速度の設定値15と
フィードフォワード補償器21a,21bとフィードバ
ック補償器22a,22bのパラメータを設定すること
になる。
In the sixth embodiment, the speed under more severe conditions in the database 30 is selected in consideration of safety. However, the speed may be determined by interpolation of a plurality of data. Although the data in the database 30 is only R, E, and V, the optimum parameters of the feedforward compensator 21 and the feedback compensator 22 for the corresponding R and E are stored together. May be. In this case, the command condition setting section 7c sets the set values 15 of the speed and acceleration, and the parameters of the feedforward compensators 21a and 21b and the feedback compensators 22a and 22b.

【0039】実施例7.請求項5の発明の他の実施例を
図について説明する。図10において、図4,図8と同
一符号は同一部分を示し、7dはこの実施例における指
令条件設定部である。この実施例の指令条件設定部で
は、指定された軌跡と誤差許容値に有効なデータがデー
タベース30内にあれば、そのデータをもとに指令条件
を決定し、動作を行わせる。動作の後、もし得られた速
度、精度、電流値がデータベース30に蓄えられていた
ものと矛盾すれば、データベース30にその結果を更新
あるいは追加する。指定された軌跡と誤差許容値に有効
なデータがデータベース30内になければ、実施例3と
同じ手順で指令の速度、加速度およびフィードフォワー
ド補償器21a,21bとフィードバック補償器22
a,22bのパラメータを決定し、その結果をデータベ
ース30に追加する。この実施例のような構成にするこ
とにより、データベース30に備えている条件の動作は
動作の試行を行わずに速度、加速度を設定でき、それ以
外の条件では試行を繰り返すことにより学習的に速度、
加速度を設定できる。
Embodiment 7 FIG. Another embodiment of the present invention will be described with reference to the drawings. 10, the same reference numerals as those in FIGS. 4 and 8 denote the same parts, and 7d denotes a command condition setting unit in this embodiment. In the command condition setting section of this embodiment, if data valid for the designated trajectory and the allowable error value exists in the database 30, the command condition is determined based on the data and the operation is performed. After the operation, if the obtained speed, accuracy, and current value are inconsistent with those stored in the database 30, the result is updated or added to the database 30. If there is no valid data for the designated trajectory and error tolerance in the database 30, the speed, acceleration and feedforward compensators 21a, 21b and feedback compensator 22 of the command are executed in the same procedure as in the third embodiment.
The parameters a and 22b are determined, and the result is added to the database 30. With the configuration as in this embodiment, the operation under the conditions provided in the database 30 can set the speed and the acceleration without performing the trial of the operation, and under other conditions, the learning is performed by repeating the trial. ,
You can set the acceleration.

【0040】実施例8.請求項6の発明の実施例を図に
ついて説明する。図11において、40はプログラム全
体を示す。N100からN230まではそれぞれのステ
ップを示し、M300は指令条件の学習開始を示すMコ
ード、M301は同じく終了を示すMコード、α10は
誤差許容値と指令条件を代入しておく変数名で、αが変
数の種類を示し、10はその番号である。
Embodiment 8 FIG. An embodiment of the invention according to claim 6 will be described with reference to the drawings. In FIG. 11, reference numeral 40 denotes the entire program. N100 to N230 indicate the respective steps, M300 is an M code indicating the start of learning of the command condition, M301 is an M code indicating the end of the same, α10 is a variable name in which the allowable error value and the command condition are substituted, α Indicates the type of variable, and 10 is its number.

【0041】αで示される変数は、{誤差許容値、速
度、加速度、補償器のパラメータ}という構造になって
いる。使用者は誤差許容値を予め代入する。N100か
らN140までは、α10の内容を代入するための学習
のためのプログラムであり、N100のM300および
N140のM301は、N110からN130のステッ
プが学習の手順であることを示している。N110では
ワーク座標系1を指定し、絶対値指令により、X=0,
Y=0の原点へ早送りを行う。N120では、速度20
0mm/minでZ軸方向に−10mm直線補間で送
る。最後にN130では、速度250mm/min、中
心座標X=0,Y=50で反時計回りに円弧補間で送
る。以上の動作を繰り返して、α10の速度、加速度、
補償器のパラメータを例えば実施例3に示したような方
法で決定し、代入する。学習終了後、通常の加工のため
のプログラム中でα10を使用すると、学習時に得られ
た速度、加速度、補償器のパラメータを用いた動作が実
現でき、予め代入した誤差許容値を満足する高速動作が
実現できる。すなわち、N210からN230では、ま
ずN210ではワーク座標系1を指定し、絶対値指令に
より、X=0,Y=0の原点へ早送りを行い、主軸を回
転させ、切削液をオンにする。次に、N220では、速
度200mm/min、主軸回転数1000rpmでZ
軸方向に−10mm直線補間で送る。最後にN230で
は、学習によって決定した速度、加速度、補償器パラメ
ータを用いて、中心座標X=0,Y=50で反時計回り
に円弧補間で送る。
The variable indicated by α has a structure of {error allowable value, speed, acceleration, and compensator parameters}. The user substitutes an error tolerance in advance. N100 to N140 are programs for learning for substituting the contents of α10, and M300 of N100 and M301 of N140 indicate that the steps of N110 to N130 are learning procedures. In N110, the work coordinate system 1 is designated, and X = 0,
Fast forward to the origin of Y = 0. In N120, speed 20
Send by linear interpolation at -10 mm in the Z-axis direction at 0 mm / min. Finally, in N130, the data is sent counterclockwise by circular interpolation at a speed of 250 mm / min, center coordinates X = 0 and Y = 50. By repeating the above operation, the speed of α10, the acceleration,
The parameters of the compensator are determined and substituted by, for example, the method described in the third embodiment. If α10 is used in the program for normal machining after the learning, the operation using the speed, acceleration, and compensator parameters obtained at the time of learning can be realized, and the high-speed operation that satisfies the error tolerance value that has been substituted in advance. Can be realized. That is, from N210 to N230, first, in N210, the work coordinate system 1 is designated, rapid feeding is performed to the origin of X = 0, Y = 0 by the absolute value command, the main spindle is rotated, and the cutting fluid is turned on. Next, in N220, Z speed is set to 200 mm / min and the spindle speed is set to 1000 rpm.
Sent by -10 mm linear interpolation in the axial direction. Finally, in N230, using the velocity, acceleration, and compensator parameters determined by learning, the data is sent by circular interpolation in the counterclockwise direction at the center coordinates X = 0, Y = 50.

【0042】実施例9.請求項6の発明の他の実施例を
図について説明する。図12において、50はプログラ
ム全体を示す。N310からN330まではそれぞれの
ステップを示し、各ステップの内容は図11のN210
からN230までと同一である。この実施例におけるプ
ログラムは、学習のためのステップを陽に書くことなし
に、許容誤差を満足する動作を実現するものである。す
なわち、N310からN330までのプログラムが実行
された場合、まず速度、加速度、補償器のパラメータの
代入されていないα変数を探し、もしあればその変数の
値を代入するのに必要な学習動作を自動的に生成して実
行する。この実施例9では、N330のα10のための
学習動作が実行され、α10の値の決定後、誤差許容値
を満足する高速動作が実行される。
Embodiment 9 FIG. Another embodiment of the present invention will be described with reference to the drawings. In FIG. 12, 50 indicates the entire program. N310 to N330 indicate respective steps, and the contents of each step are described in N210 of FIG.
To N230. The program in this embodiment realizes an operation that satisfies the tolerance without explicitly writing a learning step. That is, when the programs from N310 to N330 are executed, first, an α variable to which the parameters of the speed, acceleration, and compensator are not substituted is searched, and a learning operation necessary for substituting the value of the variable, if any, is performed. Generate and execute automatically. In the ninth embodiment, the learning operation for α10 of N330 is executed, and after the value of α10 is determined, the high-speed operation that satisfies the allowable error value is executed.

【0043】なお、実施例6に示したようなデータベー
スによる方式では、学習動作の実行なしで、α10にデ
ータベースから適切な指令条件を代入することができ
る。
In the method using a database as shown in the sixth embodiment, an appropriate command condition can be substituted into α10 from the database without executing the learning operation.

【0044】[0044]

【発明の効果】以上のように、請求項1の発明によれ
ば、誤差許容値を入力でき、自動的に電流および誤差の
大きさを評価して動作条件を設定できるように構成した
ので、工作機械の動作を誤差の大きさによって制限で
き、望ましい精度の加工が短時間で実現できる効果があ
る。
As described above, according to the first aspect of the present invention, an allowable error value can be input, and the current and the magnitude of the error can be automatically evaluated and the operating condition can be set. The operation of the machine tool can be limited by the magnitude of the error, and there is an effect that machining with desired accuracy can be realized in a short time.

【0045】また、請求項2の発明によれば、請求項1
の発明に加えてサーボ系内部の補償パラメータを自動的
に設定するように構成したので、工作機械の動作を誤差
の大きさによって制限でき、望ましい精度の加工がさら
に短時間で実現できる効果がある。
According to the invention of claim 2, according to claim 1,
In addition to the configuration of the invention, the configuration is such that the compensation parameter inside the servo system is automatically set, so that the operation of the machine tool can be limited by the magnitude of the error, and there is an effect that machining with desired accuracy can be realized in a shorter time. .

【0046】請求項3の発明によれば、請求項1の発明
に加えてサーボ系の誤差を減少させる学習制御を自動的
に行うように構成したので、工作機械の動作を誤差の大
きさによって制限でき、望ましい精度の加工がさらに短
時間で実現できる効果がある。
According to the third aspect of the present invention, in addition to the first aspect of the present invention, since the learning control for reducing the error of the servo system is automatically performed, the operation of the machine tool can be controlled according to the magnitude of the error. There is an effect that processing can be performed with a desired accuracy in a shorter time.

【0047】請求項4の発明によれば、請求項1の発明
に加えて使用者に対し誤差の大きさを表示できるように
構成したので、誤差の要因の把握が容易な工作機械を実
現できる効果がある。
According to the fourth aspect of the present invention, in addition to the first aspect of the present invention, since the magnitude of the error can be displayed to the user, it is possible to realize a machine tool in which the cause of the error can be easily grasped. effective.

【0048】請求項5の発明によれば、誤差の大きさと
動作条件の関係を記憶したデータベースを持ち、その情
報をもとに誤差許容値から動作条件の設定を行うように
構成したので、動作条件設定のための動作を必要とせず
に、工作機械の動作を誤差の大きさによって制限でき、
望ましい精度の加工が短時間で実現できる効果がある。
According to the fifth aspect of the present invention, there is provided a database in which the relationship between the magnitude of the error and the operating condition is stored, and the operating condition is set from the allowable error value based on the information. The operation of the machine tool can be limited by the magnitude of the error without requiring the operation for setting conditions,
There is an effect that processing with desired accuracy can be realized in a short time.

【0049】請求項6の発明によれば、誤差許容値をプ
ログラミングできるように構成したので、工作機械の動
作を誤差許容値に基づく動作を容易に実現できる効果が
ある。
According to the sixth aspect of the present invention, since the configuration is such that the allowable error value can be programmed, there is an effect that the operation of the machine tool can be easily realized based on the allowable error value.

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

【図1】請求項1の発明の一実施例による数値制御装置
を示すブロック図である。
FIG. 1 is a block diagram showing a numerical control device according to an embodiment of the present invention.

【図2】請求項1の発明の一実施例の手順を示すフロー
チャートである。
FIG. 2 is a flowchart showing a procedure according to an embodiment of the present invention;

【図3】請求項1の発明の他の実施例による数値制御装
置を示すブロック図である。
FIG. 3 is a block diagram showing a numerical controller according to another embodiment of the present invention.

【図4】請求項2の発明の一実施例による数値制御装置
を示すブロック図である。
FIG. 4 is a block diagram showing a numerical control device according to an embodiment of the present invention.

【図5】請求項2の発明の一実施例の手順を示すフロー
チャートである。
FIG. 5 is a flowchart showing a procedure according to an embodiment of the present invention.

【図6】請求項3の発明の一実施例による数値制御装置
を示すブロック図である。
FIG. 6 is a block diagram showing a numerical control device according to an embodiment of the present invention.

【図7】請求項4の発明の一実施例による数値制御装置
を示すブロック図である。
FIG. 7 is a block diagram showing a numerical controller according to an embodiment of the present invention.

【図8】請求項5の発明の一実施例による数値制御装置
を示すブロック図である。
FIG. 8 is a block diagram showing a numerical control device according to an embodiment of the present invention.

【図9】請求項5の発明の一実施例により用いられるデ
ータベースの内容を示す構成図である。
FIG. 9 is a configuration diagram showing the contents of a database used in one embodiment of the invention of claim 5;

【図10】請求項5の発明の他の実施例による数値制御
装置を示すブロック図である。
FIG. 10 is a block diagram showing a numerical controller according to another embodiment of the present invention.

【図11】請求項6の発明の一実施例による数値制御装
置のプログラムを示す構成図である。
FIG. 11 is a configuration diagram showing a program of a numerical control device according to an embodiment of the present invention.

【図12】請求項6の発明の他の実施例による数値制御
装置の他のプログラムを示す構成図である。
FIG. 12 is a block diagram showing another program of the numerical control device according to another embodiment of the present invention.

【図13】従来の数値制御装置を示すブロック図であ
る。
FIG. 13 is a block diagram showing a conventional numerical control device.

【図14】従来の数値制御装置のプログラムを示す構成
図である。
FIG. 14 is a configuration diagram showing a program of a conventional numerical control device.

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

1a,1b サーボ制御部 2 制御対象 3 指令値生成部 5a,5b 精度測定部 5c 軌跡精度測定部(精度測定部) 6 誤差許容値設定部 7,7c,7d 指令条件設定部 8a,8b パラメータチューニング部 9 軌跡精度表示部(表示部) 10a,10b 学習制御部 11a,11b,11c 動作指令値 13a,13b フィードバック値 16 誤差許容値 17a,17b 電流測定値 18a,18b 精度測定値(誤差) 18c 軌跡精度測定値(誤差) 19a,19b パラメータチューニング実行指令 20a,20b 学習制御実行指令 30 データベース 40,50 プログラム 1a, 1b Servo control unit 2 Control target 3 Command value generation unit 5a, 5b Accuracy measurement unit 5c Locus accuracy measurement unit (accuracy measurement unit) 6 Error allowable value setting unit 7, 7c, 7d Command condition setting unit 8a, 8b Parameter tuning Unit 9 Trace accuracy display unit (display unit) 10a, 10b Learning control unit 11a, 11b, 11c Operation command value 13a, 13b Feedback value 16 Error tolerance value 17a, 17b Current measured value 18a, 18b Accuracy measured value (error) 18c Locus Accuracy measurement value (error) 19a, 19b Parameter tuning execution command 20a, 20b Learning control execution command 30 Database 40, 50 Program

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 動作指令値に応じて制御対象を制御する
サーボ制御部と、上記制御対象からのフィードバック値
と上記動作指令値との誤差の許容値を設定する誤差許容
値設定部と、上記制御対象の動作中における上記誤差を
測定する精度測定部と、上記誤差許容値設定部で設定さ
れた誤差許容値と上記精度測定部で測定された誤差と上
記制御対象に流れる電流を測定した電流測定値とに基づ
いて上記動作指令値の速度、加速度を設定する指令条件
設定部と、上記指令条件設定部で決められた速度、加速
度を基に上記サーボ制御部への上記動作指令値を生成す
る指令値生成部とを備えた数値制御装置。
A servo control unit that controls a control target according to an operation command value; an error allowable value setting unit that sets an allowable value of an error between a feedback value from the control target and the operation command value; A precision measuring unit for measuring the error during the operation of the controlled object, and an error allowable value set by the error allowable value setting unit, an error measured by the accuracy measuring unit, and a current obtained by measuring a current flowing through the controlled object. A command condition setting unit that sets the speed and acceleration of the operation command value based on the measured value, and generates the operation command value to the servo control unit based on the speed and acceleration determined by the command condition setting unit A numerical control device comprising:
【請求項2】 動作指令値に応じて制御対象を制御する
サーボ制御部と、上記制御対象からのフィードバック値
と上記動作指令値との誤差の許容値を設定する誤差許容
値設定部と、上記制御対象の動作中における上記誤差を
測定する精度測定部と、上記誤差許容値設定部で設定さ
れた誤差許容値と上記精度測定部で測定された誤差と上
記制御対象に流れる電流を測定した電流測定値とに基づ
いて上記動作指令値の速度、加速度を設定する指令条件
設定部と、上記指令条件設定部で決められた速度、加速
度を基に上記サーボ制御部への上記動作指令値を生成す
る指令値生成部と、上記指令条件設定部のパラメータチ
ューニング実行命令に応じて上記制御対象の動作中に得
られる上記動作指令値と上記電流測定値とに基づいて上
記サーボ制御部のパラメータを修正するパラメータチュ
ーニング部とを備えた数値制御装置。
A servo control unit that controls a control target in accordance with an operation command value; an error allowable value setting unit that sets an allowable value of an error between a feedback value from the control target and the operation command value; A precision measuring unit for measuring the error during the operation of the controlled object, and an error allowable value set by the error allowable value setting unit, an error measured by the accuracy measuring unit, and a current obtained by measuring a current flowing through the controlled object. A command condition setting unit that sets the speed and acceleration of the operation command value based on the measured value, and generates the operation command value to the servo control unit based on the speed and acceleration determined by the command condition setting unit A command value generating section that performs the parameter tuning execution command of the command condition setting section, and a parameter of the servo control section based on the operation command value and the current measurement value obtained during the operation of the control target. A numerical control device comprising a parameter tuning unit for correcting parameters.
【請求項3】 動作指令値に応じて制御対象を制御する
サーボ制御部と、上記制御対象からのフィードバック値
と上記動作指令値との誤差の許容値を設定する誤差許容
値設定部と、上記制御対象の動作中における上記誤差を
測定する精度測定部と、上記誤差許容値設定部で設定さ
れた誤差許容値と上記精度測定部で測定された誤差と上
記制御対象に流れる電流を測定した電流測定値とに基づ
いて上記動作指令値の速度、加速度を設定する指令条件
設定部と、上記指令条件設定部で決められた速度、加速
度を基に上記サーボ制御部への上記動作指令値を生成す
る指令値生成部と、上記指令条件設定部の学習制御実行
命令に応じて上記制御対象の繰り返し駆動時に得られる
前回の誤差を基に上記サーボ制御部に対して修正値を出
力する学習制御部とを備えた数値制御装置。
A servo control unit that controls a control target according to the operation command value; an error allowable value setting unit that sets an allowable value of an error between a feedback value from the control target and the operation command value; A precision measuring unit for measuring the error during the operation of the controlled object, and an error allowable value set by the error allowable value setting unit, an error measured by the accuracy measuring unit, and a current obtained by measuring a current flowing through the controlled object. A command condition setting unit that sets the speed and acceleration of the operation command value based on the measured value, and generates the operation command value to the servo control unit based on the speed and acceleration determined by the command condition setting unit And a learning control unit that outputs a correction value to the servo control unit based on a previous error obtained when the controlled object is repeatedly driven according to a learning control execution command of the command condition setting unit. When Numerical control device equipped with.
【請求項4】 動作指令値に応じて制御対象を制御する
サーボ制御部と、上記制御対象からのフィードバック値
と上記動作指令値との誤差の許容値を設定する誤差許容
値設定部と、上記制御対象の動作中における上記誤差を
測定する精度測定部と、上記誤差許容値設定部で設定さ
れた誤差許容値と上記精度測定部で測定された誤差と上
記制御対象に流れる電流を測定した電流測定値とに基づ
いて上記動作指令値の速度、加速度を設定する指令条件
設定部と、上記指令条件設定部で決められた速度、加速
度を基に上記サーボ制御部への上記動作指令値を生成す
る指令値生成部と、上記精度測定部で測定された誤差の
大きさを表示する表示部とを備えた数値制御装置。
4. A servo control unit for controlling a controlled object according to an operation command value, an error allowable value setting unit for setting an allowable value of an error between a feedback value from the controlled object and the operation command value, A precision measuring unit for measuring the error during the operation of the controlled object, and an error allowable value set by the error allowable value setting unit, an error measured by the accuracy measuring unit, and a current obtained by measuring a current flowing through the controlled object. A command condition setting unit that sets the speed and acceleration of the operation command value based on the measured value, and generates the operation command value to the servo control unit based on the speed and acceleration determined by the command condition setting unit A numerical control device, comprising: a command value generation unit that performs the operation; and a display unit that displays the magnitude of the error measured by the accuracy measurement unit.
【請求項5】 動作指令値に応じて制御対象を制御する
サーボ制御部と、上記制御対象からのフィードバック値
と上記動作指令値との誤差の許容値を設定する誤差許容
値設定部と、上記制御対象の動作中における上記誤差と
動作軌跡の形状と速度、加速度との関係を保存するデー
タベースと、上記誤差許容値設定部で設定された誤差許
容値と要求される動作軌跡とから上記データベースを基
に指令値の速度、加速度を設定する指令条件設定部と、
上記指令条件設定部で決められた速度、加速度を基に上
記サーボ制御部への動作指令値を生成する指令値生成部
とを備えた数値制御装置。
5. A servo control unit for controlling a control target according to an operation command value, an error allowable value setting unit for setting an allowable value of an error between a feedback value from the control target and the operation command value, The database that stores the relationship between the error, the shape of the motion trajectory, the speed, and the acceleration during the operation of the controlled object, and the database based on the error permissible value set by the error permissible value setting unit and the required motion locus. A command condition setting unit for setting the speed and acceleration of the command value based on the
A numerical value control device comprising: a command value generation unit that generates an operation command value to the servo control unit based on the speed and acceleration determined by the command condition setting unit.
【請求項6】 上記誤差許容値設定部で設定する誤差許
容値を指定するプログラムを備えた請求項1〜5項のい
ずれか1項記載の数値制御装置。
6. The numerical control device according to claim 1, further comprising a program for designating an error allowable value set by said error allowable value setting section.
JP05082476A 1993-03-18 1993-03-18 Numerical control unit Expired - Fee Related JP3135738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05082476A JP3135738B2 (en) 1993-03-18 1993-03-18 Numerical control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05082476A JP3135738B2 (en) 1993-03-18 1993-03-18 Numerical control unit

Publications (2)

Publication Number Publication Date
JPH06274228A JPH06274228A (en) 1994-09-30
JP3135738B2 true JP3135738B2 (en) 2001-02-19

Family

ID=13775575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05082476A Expired - Fee Related JP3135738B2 (en) 1993-03-18 1993-03-18 Numerical control unit

Country Status (1)

Country Link
JP (1) JP3135738B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243124B1 (en) 1997-06-25 2001-06-05 Ricoh Company, Ltd. Method of evaluating characteristics of a light beam, apparatus for evaluating the characteristics, and apparatus for adjusting a write unit by employing the evaluation method

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW542909B (en) 2000-08-07 2003-07-21 Mitsui Chemicals Inc The method for controlling production process
JP3898686B2 (en) * 2003-10-20 2007-03-28 ファナック株式会社 Numerical controller
JP5441944B2 (en) * 2011-03-02 2014-03-12 三菱電機株式会社 Motor control device
JP5480198B2 (en) * 2011-05-17 2014-04-23 ファナック株式会社 Spot welding robot with learning control function
US8886359B2 (en) 2011-05-17 2014-11-11 Fanuc Corporation Robot and spot welding robot with learning control function
US9921568B2 (en) 2013-12-05 2018-03-20 Mitsubishi Electric Corporation Trajectory measuring device, numerical control device, and trajectory measuring method
WO2015173865A1 (en) * 2014-05-12 2015-11-19 三菱電機株式会社 Positioning device
JP6077617B1 (en) * 2015-09-25 2017-02-08 ファナック株式会社 Machine tools that generate optimal speed distribution
JP6392825B2 (en) * 2016-11-01 2018-09-19 ファナック株式会社 Robot controller with learning control function
JP6457472B2 (en) 2016-12-14 2019-01-23 ファナック株式会社 Control system and machine learning device
JP6457563B2 (en) 2017-01-24 2019-01-23 ファナック株式会社 Numerical control device and machine learning device
DE112017001162B4 (en) * 2017-11-10 2022-06-15 Mitsubishi Electric Corporation servo control device
JP7445006B2 (en) * 2020-09-07 2024-03-06 ファナック株式会社 display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243124B1 (en) 1997-06-25 2001-06-05 Ricoh Company, Ltd. Method of evaluating characteristics of a light beam, apparatus for evaluating the characteristics, and apparatus for adjusting a write unit by employing the evaluation method
US6268876B1 (en) 1997-06-25 2001-07-31 Ricoh Company, Ltd. Method of evaluating characteristics of a light beam apparatus for evaluating the characteristics and apparatus for adjusting a write unit by employing the evaluation method

Also Published As

Publication number Publication date
JPH06274228A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
JP3135738B2 (en) Numerical control unit
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
WO2011077791A1 (en) Control parameter adjustment method and adjustment device
US7590458B2 (en) Conversational numerical control apparatus
CN109954955B (en) Robot system
EP1661657A1 (en) Laser processing robot system with a scanning head and a rapid movable support mechanism ; Method for controlling the same
CN109725600B (en) Post-processor device, machining program generating method, CNC machining system, and computer-readable information recording medium
JP3545006B2 (en) Two-degree-of-freedom controller and servo controller for electric motor
JP2009146152A (en) Numerical controller for controlling five-axis machining apparatus
JP5079165B2 (en) Numerical control apparatus and numerical control method
EP1629933A2 (en) Laser processing apparatus
JP2005122647A (en) Numerical control device
JPH10254526A (en) Numerical controller
US6539275B1 (en) Machine controller and process with two-step interpolation
JP2009098982A (en) Working simulation device and its program
WO2008053601A1 (en) Working control device, and its program
WO2009141006A1 (en) A method and a system for controlling an industrial robot in accordance with a set of motion control parameters
JP7109490B2 (en) Numerical control method and numerical control device
JP4982170B2 (en) Machining control device and machining control program
JP7445006B2 (en) display device
JP7469574B1 (en) Parameter adjustment device and computer-readable recording medium
JP3902353B2 (en) Numerical controller
JP2019209444A (en) Robot control device and robot control method
JP7401665B2 (en) Numerical control device and control method
JP2001154719A (en) Method for interpolating free curve

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20111201

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees