JPH10180662A - Industrial robot - Google Patents

Industrial robot

Info

Publication number
JPH10180662A
JPH10180662A JP8351421A JP35142196A JPH10180662A JP H10180662 A JPH10180662 A JP H10180662A JP 8351421 A JP8351421 A JP 8351421A JP 35142196 A JP35142196 A JP 35142196A JP H10180662 A JPH10180662 A JP H10180662A
Authority
JP
Japan
Prior art keywords
current
value
warm
effective
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP8351421A
Other languages
Japanese (ja)
Inventor
Tatsuya Renbutsu
達也 蓮仏
Noriaki Saisaka
則明 斉坂
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.)
Tokico Ltd
Original Assignee
Tokico Ltd
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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP8351421A priority Critical patent/JPH10180662A/en
Publication of JPH10180662A publication Critical patent/JPH10180662A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently perform breaking-in or warming up by measuring a current supplied to a motor, calculating a current effective value for the current and deciding a reproducing speed according the calculated current effective value as occasion demands in a controller. SOLUTION: A control unit 22 reads various programs stored in an external storage device 23, calculates conditions for breaking-in or warming up from various bits of information obtained from the various programs and a servo amplifier 28 by operation and outputs a command value to the servo amplifier 28 based on the result of this calculation. The servo amplifier 28 supplies a current to a motor 20 to drive the same and detects the current value of the motor 20 and outputs this to the control unit 22. The control unit 22 then calculates a current effective value from the detected current value and controls the motor 20 to prevent its overloading based on the current effective value.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、シーリングロボ
ット、塗装ロボット等の工業用ロボットに係り、特に暖
機運転や慣らし運転を効率良く行える工業用ロボットに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an industrial robot such as a sealing robot and a painting robot, and more particularly to an industrial robot capable of efficiently performing warm-up operation and running-in operation.

【0002】[0002]

【従来の技術】工業用ロボットは、通常、腕や手の機能
を有するマニピュレータを備える。このマニピュレータ
が製造された直後においては、減速機等の機械部品の摺
り合わせが行われていないため、摺動抵抗が大きく基本
性能(動特性)を満足することができない。また、工業
用ロボットの起動時においても、気温が低い等の原因で
グリス等の粘性抵抗が増すため、やはり基本性能を満足
することができない。そこで、工業用ロボットのマニピ
ュレータ製造時には慣らし運転を行うのが一般的であ
り、工業用ロボットの起動時には暖機運転を行うのが一
般的である。
2. Description of the Related Art An industrial robot usually has a manipulator having arm and hand functions. Immediately after this manipulator is manufactured, since the mechanical parts such as the speed reducer are not rubbed, the sliding resistance is large and the basic performance (dynamic characteristics) cannot be satisfied. In addition, even when the industrial robot is started, viscous resistance of grease or the like increases due to a low temperature or the like, so that the basic performance cannot be satisfied. Therefore, a break-in operation is generally performed when manufacturing a manipulator of an industrial robot, and a warm-up operation is generally performed when starting the industrial robot.

【0003】従来、前記慣らし運転や暖機運転は、慣ら
し運転用や暖機運転用の専用プログラム(ティーチング
データ)を使用して行っていたり、ライン稼働用のプロ
グラム(ティーチングデータ)を用いて通常動作速度よ
り遅い速度に設定して動作を行わせたりしていた。ま
た、その終了判定は、予め終了時間を設定しておき、前
記慣らし運転や暖機運転が前記時間まで行われたか否か
によって判定していたり、オペレータがマニピュレータ
の動作状況、運転時間を判断材料として判断したりして
いた。
Conventionally, the running-in operation and the warm-up operation have been performed by using a dedicated program (teaching data) for the running-in operation and the warm-up operation, or by using a program (teaching data) for operating the line. The operation was performed at a speed lower than the operation speed. In addition, the end determination is performed by setting an end time in advance and determining whether the running-in operation or the warm-up operation has been performed up to the time, or the operator can determine the operation status of the manipulator and the operation time. Or was judged as.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来の慣ら
し運転や暖機運転は、通常動作速度より遅い速度で再生
して行うため、充分に慣らしや暖機するためにはその運
転に長時間を要する。この慣らし運転時間や暖機運転時
間を短縮するために電流制限値を一定にしてモータの動
作速度を上げた場合、上述した摺動抵抗や粘性抵抗が大
きいためにモータ容量に余裕が少ないと過負荷となる場
合や、マニピュレータの軌道が変わる(ずれる)場合が
あり、動作速度を上げて通常の動作速度で慣らし運転や
暖機運転が行えなかった。
The conventional break-in operation and warm-up operation are performed by regenerating at a speed lower than the normal operation speed. It costs. If the operating speed of the motor is increased while the current limit value is kept constant in order to shorten the running-in operation time and the warm-up operation time, the above-mentioned sliding resistance and viscous resistance are large, and if the motor capacity is small, it is excessive. In some cases, the trajectory of the manipulator was changed (shifted) due to a load, and the running speed was increased to make it impossible to perform a running-in operation or a warm-up operation at a normal operating speed.

【0005】また、従来では、製造された工業用ロボッ
トの個体差や、暖機運転時における気温等の要因を考慮
して慣らし運転や暖機運転が行えない。このため、慣ら
し運転や暖機運転の運転条件に対して、ある程度の悪条
件(ロボット個体差や気温等により、抵抗(負荷)は変
わる)を想定し、運転時間を長くして余裕を持たせる必
要がある。従って、このことも運転時間を長くする一因
となっている。
Conventionally, the running-in operation and the warm-up operation cannot be performed in consideration of factors such as individual differences between the manufactured industrial robots and the temperature during the warm-up operation. For this reason, with respect to the running-in operation and the warming-up operation, some bad conditions (resistance (load) changes due to individual differences between robots, temperature, etc.) are assumed, and the operating time is lengthened to provide a margin. There is a need. Therefore, this also contributes to prolonging the operation time.

【0006】さらに、慣らし運転や暖機運転の終了判定
は、上述したように、予め終了時間を設定し、慣らし運
転や暖機運転が前記時間まで行われたか否かによって判
定していたり、オペレータがマニピュレータの動作状
況、運転時間を判断材料として判断したりしていたた
め、場合によっては慣らし運転や暖機運転が不十分であ
り、稼働時に所定の動作が行われず(軌道がずれ)、不
良が生じてしまうという問題があった。
[0006] Further, as described above, the end determination of the running-in operation or the warm-up operation is performed by setting an end time in advance and determining whether or not the running-in operation or the warm-up operation has been performed up to the above-mentioned time. However, in some cases, the running-in operation and the warm-up operation were insufficient because the operating condition and operating time of the manipulator were used as judgment materials. There was a problem that would occur.

【0007】本発明は前記事情に鑑みてなされたもので
あり、慣らし運転や暖機運転を効率良く行うことができ
る工業用ロボットを提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an industrial robot that can efficiently perform a break-in operation and a warm-up operation.

【0008】[0008]

【課題を解決するための手段】前記課題を解決するため
に、請求項1記載の発明は、少なくとも1つの軸を有
し、該軸がモータによって駆動されるマニピュレータ
と、前記モータを制御する制御装置とを備える工業用ロ
ボットにおいて、前記制御装置に前記モータに流れる電
流を計測し、該電流の電流実効値を求める電流実効値算
出手段と、前記電流実効値算出手段によって算出された
電流実効値に応じて、再生速度を随時決定する再生速度
決定手段とを具備することを特徴とする。請求項2記載
の発明は、請求項1記載の工業用ロボットにおいて、前
記再生速度決定手段により決定された再生速度にて、ロ
ボット起動時の暖機運転再生速度を随時決定する暖機運
転再生速度決定手段を具備することを特徴とする。請求
項3記載の発明は、請求項1記載の工業用ロボットにお
いて、前記再生速度決定手段により決定された再生速度
にて、ロボット製造時の慣らし運転再生速度を随時決定
する慣らし運転再生速度決定手段を具備することを特徴
とする。請求項4記載の発明は、少なくとも1つの軸を
有し、該軸がモータによって駆動されるマニピュレータ
と、前記モータを制御する制御装置とを備える工業用ロ
ボットにおいて、前記制御装置に前記モータに流れる電
流を計測し、該電流の電流実効値を求める電流実効値算
出手段と、前記電流実効値算出手段によって算出された
電流実効値に基づいて、モータの電流制限値を随時決定
する電流制限値決定手段とを具備することを特徴とす
る。請求項5記載の発明は、請求項4記載の工業用ロボ
ットにおいて、前記電流制限値決定手段により決定され
た電流制限値にて、ロボット起動時の暖機運転の電流制
限値を随時決定する暖機運転電流制限値決定手段を具備
することを特徴とする。請求項6記載の発明は、請求項
4記載の工業用ロボットにおいて、前記電流制限値決定
手段により決定された電流制限値にて、ロボット製造時
の慣らし運転の電流制限値を随時決定する慣らし運転電
流制限値決定手段を具備することを特徴とする。また、
請求項2又は請求項5記載の工業用ロボットにおいて、
前記電流実効値算出手段により算出される電流実効値に
基づいて、ロボット起動時の暖機運転の終了を判定する
暖機運転終了判定手段を具備するようにしても良い。さ
らに、請求項3又は請求項6記載の工業用ロボットにお
いて、前記電流実効値算出手段により算出される電流実
効値に基づいて、ロボット製造時の慣らし運転の終了を
判定する慣らし運転終了判定手段を具備するようにして
も良い。
According to a first aspect of the present invention, there is provided a manipulator having at least one shaft, the shaft being driven by a motor, and a control for controlling the motor. In an industrial robot including a device, a current effective value calculating means for measuring a current flowing through the motor to the control device and obtaining a current effective value of the current, and a current effective value calculated by the current effective value calculating means And a playback speed determining means for determining a playback speed at any time according to the condition. According to a second aspect of the present invention, there is provided the industrial robot according to the first aspect, wherein the warm-up operation regeneration speed at the time of starting the robot is determined at any time at the regeneration speed determined by the regeneration speed determining means. It is characterized by comprising determining means. According to a third aspect of the present invention, in the industrial robot according to the first aspect, a break-in operation playback speed determining unit that determines a break-in operation playback speed at the time of manufacturing the robot at any time at the playback speed determined by the playback speed determination unit. It is characterized by having. According to a fourth aspect of the present invention, there is provided an industrial robot having at least one axis, the axis being driven by a motor, and a control device for controlling the motor, wherein the control device flows to the motor. A current effective value calculating unit that measures a current and obtains a current effective value of the current; and a current limit value determining unit that determines a current limit value of the motor as needed based on the current effective value calculated by the current effective value calculating unit. Means. According to a fifth aspect of the present invention, in the industrial robot according to the fourth aspect, the current limit value for the warm-up operation at the time of starting the robot is determined as needed based on the current limit value determined by the current limit value determining means. It is characterized by comprising machine operating current limit value determining means. According to a sixth aspect of the present invention, in the industrial robot according to the fourth aspect, the break-in operation in which the current limit value of the break-in operation at the time of manufacturing the robot is determined as needed based on the current limit value determined by the current limit value determining means. It is characterized by comprising a current limit value determining means. Also,
The industrial robot according to claim 2 or 5,
A warm-up operation end determination unit that determines the end of the warm-up operation at the time of starting the robot based on the current effective value calculated by the current effective value calculation unit may be provided. Further, in the industrial robot according to claim 3 or 6, the break-in operation end determination means for determining the end of the break-in operation at the time of manufacturing the robot based on the current effective value calculated by the current effective value calculation means. It may be provided.

【0009】[0009]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態について説明する。図2は本発明の一実施形態
による工業用ロボットの外観図である。図2に示された
ように、本発明の一実施形態による工業用ロボットは大
別すると、マニピュレータ10、このマニピュレータ1
0を制御するコントローラ12、及びコントローラ12
にオペレータの指示を入力するためのティーチングペン
ダント14(操作端末)から構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is an external view of an industrial robot according to one embodiment of the present invention. As shown in FIG. 2, an industrial robot according to an embodiment of the present invention is roughly classified into a manipulator 10 and a manipulator 1.
And controller 12 for controlling 0
And a teaching pendant 14 (operation terminal) for inputting an operator's instruction to the computer.

【0010】前記マニピュレータ10は複数の軸を有
し、腕の機能を持つ。この複数の軸各々にはモータが設
けられ、各軸はモータが駆動制御されることによってそ
の動作が制御される。各モータの制御は前記コントロー
ラ12内に設けられた制御ユニット22及びサーボアン
プ28によって行われる。図1は上述した本発明の一実
施形態による工業用ロボットの略電気的構成を示すブロ
ック図であり、図2中の対応する部分には同一の符号が
付してある。図1において、20はマニピュレータ10
の各軸に設けられたモータであり、21は前記モータ2
0に取り付けられた位置検出器である。尚、軸が複数設
けられている場合、モータ20,位置検出器21も複数
設けられる。このモータ20,位置検出器21,及びテ
ィーチングペンダント14はコントローラ12に接続さ
れる。前記モータ20はブラシレスモータであり、各々
の電機子にはu相,v相,及びw相の3相電流が供給さ
れる。
The manipulator 10 has a plurality of axes and has a function of an arm. Each of the plurality of axes is provided with a motor, and the operation of each axis is controlled by controlling the driving of the motor. The control of each motor is performed by a control unit 22 and a servo amplifier 28 provided in the controller 12. FIG. 1 is a block diagram showing a schematic electrical configuration of an industrial robot according to one embodiment of the present invention described above. Corresponding portions in FIG. 2 are denoted by the same reference numerals. In FIG. 1, reference numeral 20 denotes a manipulator 10
And 21 are motors provided on each axis of the motor 2.
0 is a position detector. When a plurality of shafts are provided, a plurality of motors 20 and position detectors 21 are also provided. The motor 20, the position detector 21, and the teaching pendant 14 are connected to the controller 12. The motor 20 is a brushless motor, and each armature is supplied with u-phase, v-phase, and w-phase three-phase currents.

【0011】コントローラ12は制御(CPU)ユニッ
ト22、外部記憶装置23、及びサーボアンプ28から
なる。前記制御ユニット22は、CPU、ROM、RA
M、及び各種インターフェイスによって構成されている
(これは一般的コンピュータシステムなので、内容、動
作について詳細は省略する)。外部記憶装置23は、ラ
イン稼働用のプログラム、慣らし・暖機運転用のプログ
ラム等の各種プログラム(ティーチングデータ)や、各
種プログラムの実行時に使用される各種データや、モー
タ20へ流す電流を制限するための電流制限値等を記憶
する。
The controller 12 comprises a control (CPU) unit 22, an external storage device 23, and a servo amplifier 28. The control unit 22 includes a CPU, ROM, RA
M and various interfaces (details of the contents and operations are omitted because this is a general computer system). The external storage device 23 limits various programs (teaching data) such as a line operation program, a break-in / warm-up operation program, various data used when executing the various programs, and a current flowing to the motor 20. Current limit value and the like are stored.

【0012】制御ユニット22は外部記憶装置23に記
憶されている各種プログラムを読み出し、この各種プロ
グラム、電流制限値等の各種情報、及びサーボアンプ2
8から得られる各種情報(モータの回転位置情報や電流
値等)から慣らし運転、暖機運転を行うための条件を演
算によって算出し、この演算結果に基づいて指令値をサ
ーボアンプ28へ出力する。サーボアンプ28は、制御
ユニット22から出力される前記演算結果に基づいて、
電流をモータ20に供給してモータ20を駆動するとと
もに、モータ20に実際に流れている電流の値を検出し
て制御ユニット22に出力する。制御ユニット22に出
力する電流の値は、後述するサンプリング時間Tsを周
期としてサンプリングされた値である。
The control unit 22 reads various programs stored in the external storage device 23, and reads these various programs, various information such as current limit values, and the like, and the servo amplifier 2
The conditions for performing the break-in operation and the warm-up operation are calculated from various types of information (rotational position information of the motor, current value, etc.) obtained from 8 and the command value is output to the servo amplifier 28 based on the calculation result. . The servo amplifier 28, based on the calculation result output from the control unit 22,
The current is supplied to the motor 20 to drive the motor 20, and the value of the current actually flowing through the motor 20 is detected and output to the control unit 22. The value of the current to be outputted to the control unit 22 is a sampled value as a cycle of the sampling time T s, which will be described later.

【0013】図3は1つの軸のサーボ制御系の伝達特性
例を示すブロック図であり、電流フィードバック制御を
行うためのループR1、速度フィードバック制御を御行
うためのループR2、及び位置フィードバック制御を行
うためのループR3を有する。図中、Kpは位置ループ
ゲイン、Kvpは速度ループゲイン、Tviは速度ループ積
分時定数、Giは電流ループゲイン、KTはモータトルク
定数、JMはモータイナーシャ、JLは負荷イナーシャを
それぞれ示す。
FIG. 3 is a block diagram showing a transfer characteristic example of a servo control system of one axis, wherein a loop R1 for performing current feedback control, a loop R2 for controlling speed feedback control, and a position feedback control. It has a loop R3 for performing. In the figure, K p is a position loop gain, K vp is the velocity loop gain, T vi is the velocity loop integral time constant, G i is a current loop gain, K T is a motor torque constant, J M is the motor inertia, J L is the load Inertia is shown respectively.

【0014】このサーボ制御系においてはディジタル制
御が行われる。即ち、予め設定された一定周期(サンプ
リング時間)で離散的な制御処理が行われる。このサン
プリング時間は前記各ループの内側ほど短くなる。図3
に示された例について説明すると、ループR1の電流フ
ィードバック制御ではサンプリング(PWM)周期が1
0kHzである場合、ループR2の速度フィードバック
制御では5kHz前後、ループ3の位置フィードバック
制御では1kHz前後である。通常、ループR3の位置
フィードバック制御では100Hz程度のサンプリング
周波数があれば良い(ここで挙げたサンプリング周波数
は単なる目安である)。
In this servo control system, digital control is performed. That is, discrete control processing is performed at a preset fixed cycle (sampling time). This sampling time becomes shorter inside each of the loops. FIG.
In the current feedback control of the loop R1, the sampling (PWM) cycle is 1
When the frequency is 0 kHz, the speed is around 5 kHz in the speed feedback control of the loop R2, and is around 1 kHz in the position feedback control of the loop R2. Normally, in the position feedback control of the loop R3, a sampling frequency of about 100 Hz is sufficient (the sampling frequency mentioned here is merely a guide).

【0015】上述したサンプリング時間Tsは後述する
電流実効値を計算する処理に必要なサンプリング時間で
あり、この電流実効値は慣らし・暖機運転を行う際に使
用される値であるため高精度の値は要求されない。従っ
て、サンプリング時間Tsは前記ループR1の電流フィ
ードバック制御、ループR2の速度フィードバック制
御、及びループR3の位置フィードバック制御の何れの
サンプリング時間にあわせてあってもよい。
The above-mentioned sampling time T s is a sampling time required for a process of calculating an effective current value, which will be described later. Since this effective current value is a value used when performing a warm-up operation, it is highly accurate. Is not required. Therefore, the sampling time T s may be in accordance with any of the sampling times of the current feedback control of the loop R1, the speed feedback control of the loop R2, and the position feedback control of the loop R3.

【0016】一般的にモータ20は瞬間的に定格電流の
数倍の電流を流しても問題がなく、必要に応じて定格電
流の2〜3倍まで流すことができる。図4はモータ20
の過負荷曲線の例を示す図である。この図において、横
軸はモータ20の電流値と定格電流値との比であり、縦
軸は電流を連続して流せる時間である。この図におい
て、符号LCが付された曲線が過負荷曲線であり、この
曲線の図中左側の領域、即ち斜線が付された領域が正常
動作、即ち過負荷とならずに動作を行える領域である。
Generally, there is no problem even if the current of the motor 20 instantaneously flows several times the rated current, and it can flow up to two to three times the rated current as needed. FIG.
FIG. 4 is a diagram showing an example of an overload curve of FIG. In this figure, the horizontal axis is the ratio between the current value of the motor 20 and the rated current value, and the vertical axis is the time during which the current can be continuously passed. In this figure, the curve labeled LC is the overload curve, and the area on the left side of the figure, that is, the shaded area is the normal operation, that is, the area where the operation can be performed without overload. is there.

【0017】この図に示されたように、モータ20が連
続長時間動作する場合には、電流値と定格電流値との比
が1.1(図中符号IR1が付されている)以上である
場合には過負荷となる。また、定格電流値の2倍の電流
(図中符号IR2が付されている)を流した場合であっ
て、10.5秒(図中符号t1が付されている)以上こ
の値の電流を流すと過負荷となる。この過負荷曲線の範
囲を求める場合には、測定した電流値から電流実効値を
求め、電流実効値と定格電流値との比が閾値(1.1)
以内であるか否かを判断することにより行う。つまり、
電流実効値を測定し、測定結果に応じてロボットの動作
状態(条件)を決定し、常にモータ20の動作状態が過
負荷曲線LC上にあるようにすれば最も高い効率で慣ら
し運転や暖機運転が行える。
As shown in this figure, when the motor 20 operates continuously for a long time, the ratio between the current value and the rated current value is 1.1 (indicated by IR1 in the figure) or more. In some cases it is overloaded. In addition, this is a case where a current twice as large as the rated current value (indicated by the symbol IR2 in the figure) is passed, and the current having this value is kept for 10.5 seconds (indicated by the symbol t1). Overflow causes overload. When obtaining the range of the overload curve, an effective current value is obtained from the measured current value, and the ratio of the effective current value to the rated current value is determined as a threshold (1.1).
It is performed by judging whether it is within. That is,
The effective value of the current is measured, and the operation state (condition) of the robot is determined according to the measurement result. If the operation state of the motor 20 is always on the overload curve LC, the running-in operation and the warm-up are performed with the highest efficiency. You can drive.

【0018】次に、前記電流実効値の求め方について説
明する。まず、モータ20の各電機子に流れている電流
値(u相,v相,w相の電流値)がサーボアンプ28に
よって演算され、モータ20に流れる電流値Iが演算さ
れる。この演算は下式(1)に基づいてなされる。
Next, a method for obtaining the current effective value will be described. First, the current values (current values of the u-phase, v-phase, and w-phase) flowing through each armature of the motor 20 are calculated by the servo amplifier 28, and the current value I flowing through the motor 20 is calculated. This calculation is performed based on the following equation (1).

【0019】[0019]

【数1】 (Equation 1)

【0020】上式(1)によって演算された電流値Iか
ら、電流実効値IRMSを求める方法は幾つかあるが、例
えば移動平均処理を用いて次式(2)により求める。
There are several methods for obtaining the current effective value I RMS from the current value I calculated by the above equation (1). For example, the current effective value I RMS is obtained by the following equation (2) using a moving average process.

【0021】[0021]

【数2】 (Equation 2)

【0022】上式(2)において、I(i)は電流値であ
り、I(0)は現在の電流値、I(-1)は1つ前のサンプリ
ング時に検出した電流値、I(-n)はn回前のサンプリン
グ時に検出した電流値を示す。また、Nは処理平均数で
あり、移動平均時間TA内に行われるサンプリング回数
を示し、1以上の整数である。この平均処理数は、下式
(3)によって算出される。
In the above equation (2), I (i) is a current value, I (0) is a current current value, I (-1) is a current value detected at the previous sampling, and I (−) n) indicates a current value detected at the time of sampling n times before. N is the average number of processes, indicates the number of samplings performed within the moving average time T A , and is an integer of 1 or more. This average number of processes is calculated by the following equation (3).

【0023】[0023]

【数3】 (Equation 3)

【0024】上式において演算式「int()」は括弧
の中の数値に対して小数点以下を切り捨てて整数化する
演算式である。尚、この演算式として、四捨五入を行う
演算式や切り上げ処理を行う演算式を用いてもよい。
In the above expression, the operation expression "int ()" is an operation expression in which the value in parentheses is rounded down to the nearest whole number and converted to an integer. Note that an arithmetic expression for rounding or an arithmetic expression for round-up processing may be used as the arithmetic expression.

【0025】また、電流実効値IRMSを求める他の方法
として、ローパスフィルタ処理を用いる方式があり、次
式により求める。
As another method for obtaining the effective current value I RMS , there is a method using low-pass filter processing, which is obtained by the following equation.

【0026】[0026]

【数4】 (Equation 4)

【0027】上式(4)において、係数Aはローパスフ
ィルタの遮断周波数を決定する係数であり、0<A<1
を満足する値とする。
In the above equation (4), the coefficient A is a coefficient for determining the cutoff frequency of the low-pass filter, and 0 <A <1
Satisfying the following.

【0028】次に、移動平均処理、ローパスフィルタ処
理を用いて電流実効値IRMSを求めた場合の出力の変化
について図5(a),(b)を参照して説明する。図5
(a)は、モータ20へステップ状の電流C1を流した
場合の、移動平均処理、ローパスフィルタ処理の電流実
効値演算結果の時間変化を示す図である。
Next, changes in the output when the effective current value I RMS is obtained by using the moving average processing and the low-pass filter processing will be described with reference to FIGS. 5 (a) and 5 (b). FIG.
FIG. 6A is a diagram illustrating a time change of a current effective value calculation result of the moving average process and the low-pass filter process when a step-shaped current C1 is supplied to the motor 20.

【0029】上述した移動平均処理では、時刻t0でス
テップ状に変化する電流C1を流した場合の応答(電流
実効値)は、ある傾きをもって線形的に変化する直線C
2で表される。移動平均処理の出力(電流実効値)C2
が,ステップ状の入力(電流)C1と同じになる時刻を
1とすると,移動平均時間TAはTA=t1−t0とな
る。この移動平均時間TAを変えることにより、直線C
2の傾きが変化する。例えば移動平均時間を大きく(長
く)すると,直線C2の傾きは緩く(図中矢印で示す方
向)なる。
[0029] In the moving average processing described above, the response (current effective value) when a current flows C1 to changes stepwise at time t 0, the straight line C that varies linearly with a certain inclination
It is represented by 2. Moving average processing output (effective current value) C2
But when the time is the same as the step-like input (current) C1 and t 1, the moving average time T A becomes T A = t 1 -t 0. By changing the moving average time T A , the straight line C
2 changes. For example, if the moving average time is made longer (longer), the slope of the straight line C2 becomes gentler (in the direction indicated by the arrow in the figure).

【0030】同様に、ローパスフィルタ処理を用いた場
合には、図5(a)中曲線C3に示されたように、その
変化率が徐々に減少するような応答を示す。ローパスフ
ィルタ処理の出力(電流実効値)が、ステップ状の入力
(電流)C1の63.2%となる時刻をt2とすると、
ローパスフィルタの時定数τはτ=t2−t0となり、遮
断周波数は1/τHzとなる。ローパスフィルタ処理式
(4)の係数Aを変えることにより、遮断周波数を変更
することができる。例えば、遮断周波数を小さくする
と、出力応答は遅く(図中矢印Dで示す方向)なる。
Similarly, when the low-pass filter processing is used, as shown by a curve C3 in FIG. 5 (a), a response in which the rate of change gradually decreases is shown. The output of the low pass filter process (effective current value) and the time at which 63.2% of the step-like input (current) C1 and t 2,
The time constant τ of the low-pass filter is τ = t 2 −t 0 , and the cutoff frequency is 1 / τHz. The cutoff frequency can be changed by changing the coefficient A in the low-pass filter processing equation (4). For example, when the cutoff frequency is reduced, the output response becomes slow (in the direction indicated by arrow D in the figure).

【0031】ここで、電流実効値計算式の係数設定方法
を説明する。まず、過負荷判断の閾値は、図4の例では
電流値と定格電流値との比が1.1(IR1)以下では
過負荷とならないので、過負荷判断の閾値を1.1とす
る。次に、計算式の係数だが、電流を200%(IR
2)流した場合の例では、10.5秒(t1)後に過負
荷となるので、図5(b)に示すような特性となる係数
を設定する。ただし、200%で設定した係数で、図4
の過負荷曲線と一致する訳ではない。しかし、近似した
値は得られるので実用上問題はない。精度を上げるため
には、全領域に渡って過負荷曲線と極近い値が得られる
係数を設定すればよい。つまり、電流実効値を求めたい
モータ20の過負荷曲線に近似した応答が得られるよう
移動平均時間TA又は遮断周波数を設定すれば効率のよ
い慣らし運転や暖機運転が行えることになる。
Here, a method of setting the coefficient of the current effective value calculation formula will be described. First, in the example of FIG. 4, the overload determination threshold is set to 1.1 because the overload does not occur when the ratio between the current value and the rated current value is 1.1 (IR1) or less. Next, the coefficient of the calculation formula is as follows.
2) In the case of flowing, since the overload occurs after 10.5 seconds (t 1 ), a coefficient having a characteristic as shown in FIG. 5B is set. However, with the coefficient set at 200%, FIG.
Does not coincide with the overload curve. However, since an approximate value is obtained, there is no practical problem. In order to increase the accuracy, it is sufficient to set a coefficient that can obtain a value very close to the overload curve over the entire region. That is, if the moving average time T A or the cutoff frequency is set so as to obtain a response approximating the overload curve of the motor 20 for which the effective current value is to be obtained, efficient running-in operation and warm-up operation can be performed.

【0032】次に、本発明の一実施形態による工業用ロ
ボットの慣らし・暖機運転時の動作について説明する。 〔第1動作例〕図6は本発明の一実施形態による工業用
ロボットの慣らし・暖機運転時の第1動作例を示すフロ
ーチャートである。慣らし・暖機運転を開始する前に、
オペレータはティーチングペンダント14によって、外
部記憶装置23に記憶されているプログラムから慣らし
・暖機運転用のプログラム(ティーチングデータ)の実
行を選択する。次に慣らし・暖機運転の条件を設定す
る。
Next, the operation of the industrial robot according to one embodiment of the present invention during the break-in / warm-up operation will be described. [First Operation Example] FIG. 6 is a flowchart showing a first operation example at the time of running-in and warm-up operation of the industrial robot according to one embodiment of the present invention. Before starting the warm-up operation,
The operator uses the teaching pendant 14 to select execution of a program (teaching data) for running-in / warm-up operation from the programs stored in the external storage device 23. Next, the conditions for the break-in / warm-up operation are set.

【0033】前記条件の1つは、再生速度初期値であ
り、慣らし・暖機運転を開始するときの再生速度を、通
常速度を100%としたときの比率(例えば30%)で
与える。前記条件のもう1つは、慣らし・暖機運転時の
最大電流実効値の閾値であり、定格電流値を100%と
した時の制限値を比率(例えば110%)で与える。も
う1つの条件は、終了判定用の最大電流実効値(判定
値)であり、閾値と同様に、定格電流値に対する比率で
与える(例えば70%)。
One of the above-mentioned conditions is a regeneration speed initial value, and the regeneration speed at the start of the break-in / warm-up operation is given by a ratio (for example, 30%) when the normal speed is set to 100%. The other of the conditions is a threshold value of the maximum effective current value during the running-in / warm-up operation, and a limit value when the rated current value is 100% is given as a ratio (for example, 110%). Another condition is a maximum current effective value (judgment value) for end determination, which is given as a ratio to the rated current value (for example, 70%), like the threshold value.

【0034】以上の選択及び設定が終了すると、慣らし
・暖機運転を開始する。まず、ステップSA1では入力
された再生速度の初期値を慣らし・暖機運転の再生速度
に代入する処理が行われる。ステップSA2では、現在
まで計算されている電流実効値をクリア(0を代入)す
る処理が行われる。
When the above selections and settings are completed, a running-in / warm-up operation is started. First, in step SA1, a process of substituting the input initial value of the regeneration speed into the regeneration speed of the warm-up operation is performed. In step SA2, a process of clearing (substituting 0) the current effective value calculated so far is performed.

【0035】ステップSA3では、再生中の最大電流実
効値をクリア(0を代入)する処理が行われる。以上の
初期化処理が終了すると、処理はステップSA4へ進
み、選択された慣らし・暖機運転用のプログラムに従っ
て、再生速度で指示された速度でロボットを動作させ、
慣らし・暖機運転が行われる。ステップSA5では、サ
ーボアンプ28から出力された電流値に基づいて電流実
効値が算出される。
At step SA3, a process of clearing (substituting 0) the maximum effective current value during reproduction is performed. When the above initialization processing is completed, the processing proceeds to step SA4, in which the robot is operated at the speed specified by the reproduction speed according to the selected running-in / warm-up operation program,
A break-in / warm-up operation is performed. In step SA5, an effective current value is calculated based on the current value output from the servo amplifier 28.

【0036】ステップSA6ではステップSA5におい
て算出された電流実効値と、最大電流実効値とが比較さ
れる。この比較の結果、電流実効値の方が大きいと判断
されると、ステップSA7へ進み、最大電流実効値にス
テップSA5で算出された電流実効値が代入される。
At step SA6, the effective current value calculated at step SA5 is compared with the maximum effective current value. As a result of this comparison, if it is determined that the effective current value is larger, the process proceeds to step SA7, and the effective current value calculated in step SA5 is substituted for the maximum effective current value.

【0037】ステップSA7の処理が終了した場合、及
びステップSA6における比較結果が、電流実効値が最
大電流実効値以下である場合には、処理はステップSA
8へ進む。ステップSA8では、慣らし・暖機運転のプ
ログラムが終了したか否かが判断される。この判断結果
が「No」である場合には、処理はステップSA4へ戻
り、ステップSA4以降の処理が再び行われる。
When the process at step SA7 is completed, and when the comparison result at step SA6 indicates that the effective current value is equal to or less than the maximum effective current value, the process proceeds to step SA7.
Proceed to 8. In step SA8, it is determined whether or not the running-in / warm-up operation program has been completed. If the result of this determination is "No", the process returns to step SA4, and the processes after step SA4 are performed again.

【0038】一方、ステップSA8の判断結果が「Ye
s」の場合には、ステップSA9において、再生速度が
100%であるか否かが判断される。100%ではない
と判断された場合にはステップSA10へ進む。ステッ
プSA10では1プログラム実行時の最大電流実効値
と、予め設定された最大電流実効値の閾値とから次の再
生速度を算出する処理が行われる。この処理では、例え
ば下式によって次の再生速度が算出される。 再生速度=現在の再生速度+(最大電流実効値の閾値−
最大電流実効値)・Y
On the other hand, if the result of the determination at step SA8 is "Ye
s ", it is determined in step SA9 whether the reproduction speed is 100%. If it is determined that it is not 100%, the process proceeds to Step SA10. In step SA10, a process of calculating the next reproduction speed from the maximum current effective value at the time of executing one program and a preset threshold value of the maximum current effective value is performed. In this processing, the next reproduction speed is calculated by the following equation, for example. Reproduction speed = current reproduction speed + (threshold of maximum effective current value-
Maximum current effective value) Y

【0039】前記式において、Yは予め設定された係数
であり。この係数はモータ20の特性等によって決定さ
れる。ステップSA11では、再生速度と再生速度の初
期値とが比較され、再生速度が再生速度の初期値以上で
ある場合には、処理がステップSA12へ進む。ステッ
プSA12では、再生速度が100%より大きいか否か
が判断される。ここで再生速度が100%より大きいと
判断された場合にはステップSA13へ進む。ステップ
SA13では、再生速度に“100”%を代入する処理
が行われる。この処理を終了した場合、及び前記ステッ
プSA12において、再生速度が100%以下であると
判断された場合には処理がステップSA2へ戻る。
In the above equation, Y is a preset coefficient. This coefficient is determined by characteristics of the motor 20 and the like. In step SA11, the reproduction speed is compared with the initial value of the reproduction speed. If the reproduction speed is equal to or higher than the initial value of the reproduction speed, the process proceeds to step SA12. In step SA12, it is determined whether the reproduction speed is higher than 100%. If it is determined that the reproduction speed is higher than 100%, the process proceeds to step SA13. In step SA13, a process of substituting "100"% for the reproduction speed is performed. When this process is completed, and when it is determined in step SA12 that the reproduction speed is 100% or less, the process returns to step SA2.

【0040】一方、ステップSA11において、再生速
度が初期値よりも小さい場合には、ステップSA14へ
進む。ステップSA14では、再生速度に初期値を代入
する処理が行われる。ステップSA14の処理が終了し
た後、処理はステップSA2へ戻る。
On the other hand, if the reproduction speed is lower than the initial value in step SA11, the flow advances to step SA14. In step SA14, a process of substituting the initial value for the reproduction speed is performed. After the process in step SA14 ends, the process returns to step SA2.

【0041】一方、ステップSA9において、再生速度
が100%であると判断された場合には処理がステップ
SA15へ進む。ステップSA15では、最大電流実効
値と終了判定用の最大電流実効値(判定値)とが比較さ
れる。この比較の結果、最大電流実効値が終了判定用の
最大電流実行値(判定値)より大である場合、処理はス
テップSA2へ戻る。一方、前記比較の結果、最大電流
実効値が終了判定用の最大電流実行値(判定値)以下で
ある場合、処理(慣らし・暖機運転)は終了する。
On the other hand, if it is determined in step SA9 that the reproduction speed is 100%, the process proceeds to step SA15. In step SA15, the maximum current effective value is compared with the maximum current effective value (judgment value) for determining the end. As a result of this comparison, if the maximum current effective value is larger than the maximum current execution value (judgment value) for end determination, the process returns to step SA2. On the other hand, as a result of the comparison, when the maximum current effective value is equal to or less than the maximum current execution value (judgment value) for end determination, the processing (break-in / warm-up operation) ends.

【0042】次に、前記処理によって工業用ロボットを
制御した場合の再生速度、最大電流実効値、及び再生回
数(時間)の関係を説明する。図7は第1動作例によっ
て工業用ロボットを動作させた場合の再生速度、最大電
流実効値、及び再生回数(時間)の関係を示す図であ
る。図7において時間順に説明する。まず、再生速度初
期値が与えられ再生動作が開始する。図中期間PA1に
おいては、最大電流実効値に余裕があるので、閾値に近
づくまで再生速度が急速に速くなる。
Next, the relationship among the reproduction speed, the maximum effective current value, and the number of times of reproduction (time) when the industrial robot is controlled by the above processing will be described. FIG. 7 is a diagram showing the relationship between the reproduction speed, the maximum effective current value, and the number of times of reproduction (time) when the industrial robot is operated according to the first operation example. The description will be given in chronological order in FIG. First, the reproduction operation is started with the reproduction speed initial value given. In the period PA1 in the figure, since there is a margin in the maximum effective current value, the reproduction speed rapidly increases until it approaches the threshold value.

【0043】図中期間PA2入ると、最大電流実効値が
閾値まで達するため、再生速度上昇の変化が緩やかにな
る。この期間においては、慣らし・暖機運転が進行して
おり、抵抗(負荷)が減少した分だけ再生速度が上昇す
る。期間PA3に入ると、再生速度が100%に達し、
これ以上再生速度は上昇しなくなる。しかし、慣らし・
暖機運転が進行したため、抵抗(負荷)が減少した分だ
け、最大電流実効値が減少していく。期間PA4に入る
と、慣らし・暖機運転の終了判定用の最大電流実行値
(判定値)と最大電流実効値とが比較され、最大電流実
効値が終了判定用の最大電流実行値(判定値)より小さ
くなったときに慣らし・暖機運転を終了する(区間PA
3、PA4の境界で終了となる)。
In the period PA2 in the figure, since the maximum current effective value reaches the threshold value, the change in the reproduction speed rise becomes gentle. During this period, the break-in / warm-up operation is progressing, and the regeneration speed is increased by the decrease in resistance (load). In the period PA3, the playback speed reaches 100%,
The reproduction speed no longer increases. However, break-in
Since the warm-up operation has progressed, the maximum current effective value decreases by the amount corresponding to the decrease in the resistance (load). In the period PA4, the maximum current effective value (judgment value) for ending determination of the break-in / warm-up operation is compared with the maximum current effective value, and the maximum current effective value is determined as the maximum current effective value (judgment value) for ending judgment. ), The break-in / warm-up operation is terminated when it becomes smaller (section PA).
3, end at the boundary of PA4).

【0044】以上、慣らし・暖機運転の第1動作例につ
いて説明したが、暖機運転をする度に、終了判定用の最
大電流実効値(判定値)を入力するのは面倒である。そ
こで、各工業用ロボット毎に、暖機運転と通常運転との
境(暖機運転の終了判定用の最大電流実行値)が得られ
れば、前記のような手間が省けることとなる。以下に、
通常動作を行って、暖機運転の終了判定用の最大電流実
効値(判定値)を求める場合の動作を説明する。
Although the first operation example of the running-in / warm-up operation has been described above, it is troublesome to input the maximum current effective value (judgment value) for judging the end every time the warm-up operation is performed. Therefore, if the boundary between the warm-up operation and the normal operation (the maximum current execution value for determining the end of the warm-up operation) can be obtained for each industrial robot, the above-mentioned trouble can be saved. less than,
The operation in the case where the normal operation is performed and the maximum current effective value (judgment value) for determining the end of the warm-up operation will be described.

【0045】図8は通常の再生動作(暖機運転後の動
作)を行って、暖機運転の終了判定用の最大電流実効値
(判定値)を求める場合の動作を示すフローチャートで
ある。オペレータはティーチングペンダント14を操作
し、暖機運転を行うプログラムを外部記憶装置23から
読み出して終了判定取り込みモードで実行する指示を制
御ユニット22に対して行う。
FIG. 8 is a flowchart showing the operation in the case where the normal regeneration operation (operation after the warm-up operation) is performed and the maximum current effective value (judgment value) for determining the end of the warm-up operation is obtained. The operator operates the teaching pendant 14 to read out the program for performing the warm-up operation from the external storage device 23 and instruct the control unit 22 to execute the program in the end determination capturing mode.

【0046】以上の操作が終了すると、動作を開始す
る。まず、ステップSB1では、現在まで計算された電
流実効値をクリア(0を代入)する処理が行われる。ス
テップSB2では、再生中の最大電流実効値をクリア
(0を代入)する処理が行われる。
When the above operation is completed, the operation starts. First, in step SB1, a process of clearing (substituting 0) the current effective value calculated so far is performed. In step SB2, a process of clearing (substituting 0) the maximum current effective value during reproduction is performed.

【0047】以上の初期化処理が終了すると、処理はス
テップSB3へ進み、読み出された暖機運転用のプログ
ラムに従って制御ユニット22が通常運転を行う。ステ
ップSB4では、サーボアンプ28から出力された電流
値に基づいて電流実効値が算出される。
When the above initialization processing is completed, the processing proceeds to step SB3, and the control unit 22 performs the normal operation according to the read-out program for the warm-up operation. In step SB4, an effective current value is calculated based on the current value output from the servo amplifier 28.

【0048】ステップSB5ではステップSB4におい
て算出された電流実効値と、最大電流実効値とが比較さ
れる。この比較の結果、電流実効値の方が大きいと判断
されると、ステップSB6へ進み、最大電流実効値にス
テップSB4で算出された電流実効値が代入される。
In step SB5, the current effective value calculated in step SB4 is compared with the maximum current effective value. As a result of this comparison, if it is determined that the current effective value is larger, the process proceeds to step SB6, and the current effective value calculated in step SB4 is substituted for the maximum current effective value.

【0049】ステップSB6の処理が終了した場合、及
びステップSB5における比較結果が、電流実効値が最
大電流実効値以下である場合には、処理はステップSB
7へ進む。ステップSB7では、暖機運転のプログラム
が終了したか否かが判断される。この判断結果が「N
o」である場合には、処理はステップSB3へ戻り、ス
テップSB3以降の処理が再び行われる。
When the process in step SB6 is completed, and when the comparison result in step SB5 indicates that the effective current value is equal to or less than the maximum effective current value, the process proceeds to step SB6.
Proceed to 7. In step SB7, it is determined whether or not the warm-up operation program has been completed. The result of this determination is “N
If "o", the process returns to step SB3, and the processes after step SB3 are performed again.

【0050】一方、ステップSB7の判断結果が「Ye
s」の場合には、ステップSB8へ進み、以上の処理に
よって得られた最大電流実行値を記憶させる処理が行わ
れる。この時、慣らし・暖機運転終了判定用の最大電流
実効値は,前記処理で得られた最大電流実効値(実測
値)に図7のαで示すような余裕を持たせることによ
り、いつまでも終了しないというような誤判断を防止す
ることができる。このようにして、通常動作を行った際
に得られた最大電流実行値を暖機運転の終了判定用の最
大電流実効値(判定値)として記憶し、暖機運転を終了
する際にはこの判定値によって暖機運転の終了判定をす
ることによって、暖機運転をする度に判定値を入力する
という手間を省くことができる。また、最適な終了判定
用の最大電流実行値を得ることができる。
On the other hand, if the result of the determination in step SB7 is “Ye
In the case of "s", the process proceeds to step SB8, and a process of storing the maximum current execution value obtained by the above process is performed. At this time, the maximum current effective value for the end of the running-in / warm-up operation is determined to have a margin as indicated by α in FIG. 7 to the maximum current effective value (measured value) obtained in the above-described process. It is possible to prevent an erroneous determination of not being made. In this way, the maximum current execution value obtained when the normal operation is performed is stored as the maximum current effective value (judgment value) for judging the end of the warm-up operation. By performing the end determination of the warm-up operation based on the determination value, the trouble of inputting the determination value every time the warm-up operation is performed can be omitted. Further, it is possible to obtain an optimum maximum current execution value for end determination.

【0051】以上説明したように、本発明の一実施形態
による工業用ロボットの第1動作例によれば、慣らし・
暖機運転において、再生時の最大電流実効値を用いて最
適な再生速度を設定するようにしているので、 (1)設定された最大電流実効値で常に再生を行うこと
ができる。 (2)慣らし・暖機運転を短時間で終了できる。 (3)定量的に、慣らし・暖機運転の終了を判定でき
る。 (4)慣らし・暖機運転中に、過負荷などの異常を検出
し、途中で停止することがない。
As described above, according to the first operation example of the industrial robot according to the embodiment of the present invention, the break-in
In the warm-up operation, the optimum regeneration speed is set using the maximum current effective value at the time of regeneration. (1) Regeneration can always be performed with the set maximum current effective value. (2) The running-in and warm-up operations can be completed in a short time. (3) The termination of the warm-up / warm-up operation can be determined quantitatively. (4) During break-in / warm-up operation, an abnormality such as overload is detected, and there is no need to stop halfway.

【0052】また、プログラム(ティーチングデータ)
毎に、終了判定値を実測して設定できるので、 (5)終了判定値設定ミスによる、慣らし・暖機運転不
足を防止できる。 (6)終了判定値設定ミスによる、慣らし・暖機運転の
長時間化を防止できる。 (7)プログラムによる終了判定のばらつきがなくな
る。 また、本実施形態においては、常に電流実効値を検出で
きるので、正常値と比較することにより (8)異常を検知することができる。
Further, a program (teaching data)
Since the end determination value can be measured and set for each time, (5) shortage of running-in and warm-up operation due to an incorrect setting of the end determination value can be prevented. (6) It is possible to prevent the running-in and warm-up operations from being performed for a long time due to a mistake in setting the end determination value. (7) Variation in the end determination by the program is eliminated. Further, in the present embodiment, since the effective current value can always be detected, it is possible to detect (8) an abnormality by comparing with the normal value.

【0053】以上、本発明の第1動作例について説明し
たが、図6中のステップS11によって再生速度が再生
速度の初期値よりも遅くならないようにしているが、ス
テップS11の処理を省略することによって再生速度の
初期値を多少大きめに設定しても、自動的に動作速度を
最適な再生速度まで落として慣らし・暖機運転を行うよ
うにしてもよい。
As described above, the first operation example of the present invention has been described. In step S11 in FIG. 6, the reproduction speed is prevented from becoming lower than the initial value of the reproduction speed. However, the processing in step S11 is omitted. Even if the initial value of the reproduction speed is set to a slightly larger value, the operation speed may be automatically reduced to the optimum reproduction speed and the warm-up operation may be performed.

【0054】〔第2動作例〕図9は本発明の一実施形態
による工業用ロボットの慣らし・暖機運転時の第2動作
例を示すフローチャートである。慣らし・暖機運転を開
始する前に、オペレータはティーチングペンダント14
によって、外部記憶装置23に記憶されているプログラ
ムから慣らし・暖機運転用のプログラム(ティーチング
データ)の実行を選択する。
[Second Operation Example] FIG. 9 is a flowchart showing a second operation example of the industrial robot according to one embodiment of the present invention at the time of running-in and warm-up operation. Before starting the running-in / warm-up operation, the operator must use the teaching pendant 14.
The execution of the running-in / warm-up operation program (teaching data) is selected from among the programs stored in the external storage device 23.

【0055】慣らし・暖機運転用のプログラム実行前
に、慣らし・暖機運転中の適正なサーボアンプの電流実
効値(終了閾値:例えば、60%)と、アンプの最大電
流制限値IMaxとを定数として記憶させる。
Before the running-in / warm-up operation program is executed, an appropriate current effective value (end threshold value: for example, 60%) of the servo amplifier during the running-in / warm-up operation and the maximum current limit value I Max of the amplifier are determined. Is stored as a constant.

【0056】動作が開始すると、まず、ステップSC1
では、現在まで計算された最大電流実効値IRMSMax及び
電流実効値IRMSをクリア(0を代入)する処理が行わ
れる。 以上の初期化処理が終了すると、処理はステッ
プSC2へ進み、選択された慣らし・暖機運転用のプロ
グラムに従って制御ユニット22が慣らし・暖機運転を
行う。ステップSC3では、サーボアンプ28から出力
された電流値に基づいて電流実効値IRMSが算出され
る。
When the operation starts, first, at step SC1
In, a process of clearing (substituting 0) the maximum current effective value I RMSMax and the current effective value I RMS calculated so far is performed. When the above initialization process is completed, the process proceeds to step SC2, and the control unit 22 performs the running-in and warm-up operation according to the selected running-in and warm-up operation program. In step SC3, an effective current value I RMS is calculated based on the current value output from the servo amplifier.

【0057】ステップSC4では電流実効値IRMSと最
大電流実効値IRMSMaxとを比較する処理が行われる。電
流実効値IRMSが最大電流実効値IRMSMaxよりも大きい
場合、ステップSC5へ進む。ステップSC5では最大
電流実効値IRMSMaxに電流実効値IRMSを代入する処理
が行われる。ステップSC5の処理が終了した場合、及
びステップSC4において電流実効値IRMSが最大電流
実効値IRMSMax以下である場合、ステップSC6へ進
む。ステップSC6ではプログラムが終了したか否かが
判断され、この判断結果が「No」である場合にはステ
ップSC2へ戻り、プログラムの実行(再生動作)を継
続する。
In step SC4, a process of comparing the effective current value I RMS with the maximum effective current value I RMSMax is performed. If the current effective value I RMS is greater than the maximum effective current value I RMSMax, the process proceeds to step SC5. In step SC5, a process of substituting the effective current value I RMS for the maximum effective current value I RMSMax is performed. When the process in step SC5 is completed, and when the current effective value I RMS is equal to or smaller than the maximum current effective value I RMSMax in step SC4, the process proceeds to step SC6. In step SC6, it is determined whether or not the program has been completed. If the determination result is "No", the process returns to step SC2 to continue the execution (reproduction operation) of the program.

【0058】一方、ステップSC6における判断結果が
「Yes」である場合にはステップSC7へ進む。ステ
ップSC7では最大電流実効値IRMSMaxと終了閾値とを
比較する処理が行われる。つまり、最大電流実効値I
RMSMaxが終了閾値より小さくなったか否かが判断され、
終了閾値より最大電流実効値IRMSMaxが大きい場合には
ステップSC8へ進む。
On the other hand, if the decision result in the step SC6 is "Yes", the process proceeds to a step SC7. In step SC7, a process of comparing the maximum effective current value I RMSMax with the end threshold value is performed. That is, the maximum current effective value I
It is determined whether RMSMax has become smaller than the termination threshold,
If the maximum current effective value I RMSMax is larger than the end threshold, the process proceeds to step SC8 .

【0059】ステップSC8では、最大電流実効値I
RMSMaxより電流制限値を求めて電流制限値ILimに代入
する処理が行われて、ステップSC1に戻る。この処理
では、例えば下式により電流制限値が算出される。 ILim=A・IRMSMax+B ここで、A,Bは最大電流実効値IRMSMaxから電流制限
値を求める係数である。一方、前記ステップSC7にお
ける判断結果が終了閾値より最大電流実効値I RMSMax
方が小さい場合には、慣らし・暖機運転を終了する。
At step SC8, the maximum current effective value I
RMSMaxThe current limit value is calculated from the current limit value ILimAssigned to
The process returns to step SC1. This process
Then, the current limit value is calculated by the following equation, for example. ILim= AIRMSMax+ B where A and B are maximum current effective values IRMSMaxCurrent limit from
This is the coefficient for which the value is to be determined. On the other hand, in step SC7,
Is greater than the end threshold, the maximum current effective value I RMSMaxof
If it is smaller, the running-in / warm-up operation ends.

【0060】次に、前記第2動作例の処理によって工業
用ロボットを制御した場合の最大電流実効値IRMSMax
電流制限値ILimと再生回数(時間)との関係を図10
を用いて説明する。まず、慣らし・暖機運転プログラム
の再生動作が開始されると、再生回数が多くなるに従い
減速機等の摺動抵抗やグリスの粘性抵抗が低くなるた
め、電流実効値は次第に小さくなる。再生動作を繰り返
し、充分暖機運転を行った後の最大電流実効値にマージ
ン(α)を考慮した終了閾値を予め設定しておく。慣ら
し・暖機運転時に最大電流実効値が、終了判定閾値より
低くなった時点で慣らし・暖機運転が終了する。
Next, when the industrial robot is controlled by the processing of the second operation example, the maximum effective current value I RMSMax ,
FIG. 10 shows the relationship between the current limit value I Lim and the number of times of reproduction (time).
This will be described with reference to FIG. First, when the regeneration operation of the break-in / warm-up operation program is started, the sliding resistance of the speed reducer and the like and the viscous resistance of grease decrease as the number of regenerations increases, so that the effective current value gradually decreases. The regeneration operation is repeated, and an end threshold value in consideration of the margin (α) is set in advance to the maximum effective current value after the warm-up operation is sufficiently performed. The break-in / warm-up operation ends when the maximum current effective value becomes lower than the termination determination threshold during the break-in / warm-up operation.

【0061】以上説明したように、本発明の一実施形態
による工業用ロボットの第2動作例によれば、慣らし・
暖機運転において、再生時の最大電流実効値を用いて電
流制限値を変更するようにしているので、 (1)常に設定された最大電流実効値で再生を行うこと
ができる。 (2)慣らし・暖機運転を短時間で終了できる。 (3)定量的に、慣らし・暖機運転の終了を判定でき
る。 (4)慣らし・暖機運転中に、過負荷などの異常を検出
し、途中で停止することがない。 また、本実施形態においては、常に電流実効値を検出で
きるので、正常値と比較することにより (5)異常を検知することができる。 更に、暖機運転中波電流制限値を高く設定して、追従遅
れなど無いようにしているので、 (6)暖機運転をしなくても、精度良く運転(動作)す
ることができる。
As described above, according to the second operation example of the industrial robot according to the embodiment of the present invention, the break-in
In the warm-up operation, the current limit value is changed using the maximum current effective value at the time of regeneration. (1) Regeneration can always be performed with the set maximum current effective value. (2) The running-in and warm-up operations can be completed in a short time. (3) The termination of the warm-up / warm-up operation can be determined quantitatively. (4) During break-in / warm-up operation, an abnormality such as overload is detected, and there is no need to stop halfway. Further, in the present embodiment, since the effective current value can always be detected, (5) abnormality can be detected by comparing with the normal value. Furthermore, since the wave current limit value during the warm-up operation is set high so that there is no follow-up delay or the like, (6) the operation (operation) can be performed accurately without the warm-up operation.

【0062】〔第3動作例〕図11は本発明の第一実施
形態による工業用ロボットの慣らし・暖機運転時の第3
動作例を示すフローチャートである。慣らし・暖機運転
を開始する前に、オペレータはティーチングペンダント
14によって、外部記憶装置23に記憶されているプロ
グラムから慣らし・暖機運転用のプログラム(ティーチ
ングデータ)の実行を選択する。
[Third Operation Example] FIG. 11 shows a third operation of the industrial robot according to the first embodiment of the present invention during the break-in / warm-up operation.
9 is a flowchart illustrating an operation example. Before starting the running-in / warm-up operation, the operator uses the teaching pendant 14 to select the execution of the running-in / warm-up operation program (teaching data) from the program stored in the external storage device 23.

【0063】慣らし・暖機運転用のプログラム実行前
に、各軸毎の電流制限最大値、通常運転時の電流制限設
定値、過負荷判断の閾値、慣らし・暖機運転終了判定用
の判定値、及び再生速度初期値を制御上の定数として設
定しておく。
Before executing the running-in / warm-up operation program, the current limit maximum value for each axis, the current-limit setting value in the normal operation, the threshold value for the overload judgment, the judgment value for the running-in / warm-up operation end judgment , And the reproduction speed initial value are set as control constants.

【0064】動作が開始すると、まずステップSD1で
電流制限値ILimに最大値が、再生速度に初期値がそれ
ぞれ代入される。代入処理が終了するとステップSD2
へ進み、電流実効値IRMSをクリアする。さらにステッ
プSD3へ進み、現在までに計算された最大電流実効値
RMSMaxをクリアする。
When the operation starts, first, at step SD1, the maximum value is substituted for the current limit value I Lim and the initial value is substituted for the reproduction speed. When the substitution process is completed, step SD2
Then, the current effective value I RMS is cleared. The process further proceeds to step SD3 to clear the maximum current effective value I RMSMax calculated so far.

【0065】以上の初期化処理が終了すると、ステップ
SD4へ進み、選択された慣らし・暖機運転用のプログ
ラムに従って再生処理を行う。ステップSD5では、サ
ーボアンプ28から出力された電流値I(i)に基づいて
電流実効値IRMSが算出される。ステップSD6では電
流実効値と最大電流実効値とを比較する処理が行われ
る。電流実効値が最大電流値よりも大きい場合、ステッ
プSD7へ進み、最大電流実効値に電流実効値が代入さ
れる。
When the above initialization process is completed, the process proceeds to step SD4, where the regeneration process is performed according to the selected running-in / warm-up operation program. In step SD5, an effective current value I RMS is calculated based on the current value I (i) output from the servo amplifier 28. In step SD6, a process of comparing the effective current value with the maximum effective current value is performed. If the current effective value is larger than the maximum current value, the process proceeds to step SD7, and the current effective value is substituted for the maximum current effective value.

【0066】ステップSD7の処理が終了した場合、及
びステップSD6において電流実効値が最大電流実効値
以下である場合には、ステップSD8へ進む。ステップ
SD8ではプログラムが終了したか否かが判断され、こ
の判断結果が「No」である場合にはステップSD4へ
戻り、プログラムの実行(再生動作)を継続する。一
方、ステップSD8における判断結果が「Yes」(1
プログラム終了)である場合には、ステップSD9へ進
む。
When the process in step SD7 is completed, and when the effective current value is equal to or less than the maximum effective current value in step SD6, the process proceeds to step SD8. At step SD8, it is determined whether or not the program has been completed. If the determination result is "No", the process returns to step SD4 to continue the execution (reproduction operation) of the program. On the other hand, if the determination result in step SD8 is “Yes” (1
If (program end), the process proceeds to Step SD9.

【0067】ステップSD9では再生速度が100%で
あるか否かが判断される。再生速度が100%でないと
判断された場合にはステップSD10へ進む。ステップ
SD10では1プログラム実行時の最大電流実効値と、
予め設定された最大電流実効値の過負荷判断の閾値とか
ら次の再生速度を算出する処理が行われる。この処理で
は、例えば下式により次の再生速度が算出される。再生
速度=現在の再生速度+Y*(閾値−最大電流実効値)
前記式において、Yは予め設定された係数であり、この
係数はモータ20の特性等により各軸毎に設定される。
At step SD9, it is determined whether or not the reproduction speed is 100%. If it is determined that the reproduction speed is not 100%, the process proceeds to Step SD10. In step SD10, the maximum current effective value at the time of executing one program and
A process of calculating the next reproduction speed from a preset threshold value of the overload determination of the maximum effective current value is performed. In this process, the next reproduction speed is calculated by the following equation, for example. Reproduction speed = current reproduction speed + Y * (threshold value-maximum current effective value)
In the above equation, Y is a preset coefficient, and this coefficient is set for each axis according to the characteristics of the motor 20 and the like.

【0068】ステップSD10の処理が終了すると、ス
テップSD11へ進む。ステップSD11では算出され
た再生速度と再生速度の初期値とが比較され、再生速度
が初期値以上である場合にはステップSD12へ進む。
ステップSD12では再生速度が100%より大きいか
否かが判断される。ここで再生速度が100%より大き
いと判断された場合にはステップSD13へ進む。ステ
ップSD13では再生速度に100%を代入する処理が
行われる。この処理を終了した場合、及び前記ステップ
SD12において再生速度が100%以下であると判断
された場合には処理がステップSD2へ戻る。
When the processing in step SD10 ends, the flow advances to step SD11. In step SD11, the calculated reproduction speed is compared with the initial value of the reproduction speed. If the reproduction speed is equal to or higher than the initial value, the process proceeds to step SD12.
In step SD12, it is determined whether the reproduction speed is higher than 100%. If it is determined that the reproduction speed is higher than 100%, the process proceeds to step SD13. In step SD13, a process of substituting 100% for the reproduction speed is performed. When this process is completed, or when it is determined in step SD12 that the reproduction speed is 100% or less, the process returns to step SD2.

【0069】一方、ステップSD11において、再生速
度が初期値よりも小さいと判断された場合は、ステップ
SD14へ進む。ステップSD14では、再生速度に初
期値が代入される。ステップSD14の処理が終了した
後、処理はステップSD2へ戻る。
On the other hand, if it is determined in step SD11 that the reproduction speed is lower than the initial value, the process proceeds to step SD14. In step SD14, an initial value is substituted for the reproduction speed. After the processing in step SD14 ends, the processing returns to step SD2.

【0070】一方、ステップSD9において、再生速度
が100%であると判断された場合には、処理はステッ
プSD15へ進む。ステップSD15では、最大電流実
効値と終了判定用の電流実効値(判定値)が比較され
る。ここで、最大電流実効値が判定値より大きいと判断
された場合、処理はステップSD16へ進む。ステップ
SD16では、最大電流実効値より次の電流制限値が算
出されて代入される。この処理では、例えば下式により
電流制限値が算出される。電流制限値=A*最大電流実
効値+Bここで、A,Bは最大電流実効値を算出する係
数である。
On the other hand, if it is determined in step SD9 that the reproduction speed is 100%, the process proceeds to step SD15. In step SD15, the maximum current effective value is compared with the current effective value (judgment value) for end determination. Here, when it is determined that the maximum current effective value is larger than the determination value, the process proceeds to Step SD16. In step SD16, the next current limit value is calculated from the maximum current effective value and substituted. In this process, the current limit value is calculated by the following equation, for example. Current limit value = A * maximum current effective value + B where A and B are coefficients for calculating the maximum current effective value.

【0071】ステップSD16の処理が終了すると、処
理はステップSD17へ進む。ステップSD17では、
算出された電流制限値と電流制限設定値が比較される。
ここで電流制限値が電流制限設定値より小さいと判断さ
れた場合、処理はステップSD18へ進む。ステップS
D18では、電流制限値に電流制限設定値が代入され
る。ステップSD18の処理を終了した場合、及びステ
ップSD17で電流制限値が電流制限設定値以上である
と判断された場合には、処理はステップSD2へ戻る。
一方、ステップSD15において、最大電流実効値が終
了判定用の電流実効値(判定値)より小さいか同じと判
断された場合、慣らし・暖機運転を終了する。
When the processing in step SD16 ends, the processing proceeds to step SD17. In step SD17,
The calculated current limit value is compared with the current limit set value.
If it is determined that the current limit value is smaller than the current limit set value, the process proceeds to step SD18. Step S
In D18, the current limit setting value is substituted for the current limit value. When the process in step SD18 is completed, or when it is determined in step SD17 that the current limit value is equal to or larger than the current limit set value, the process returns to step SD2.
On the other hand, if it is determined in step SD15 that the maximum current effective value is smaller than or equal to the current effective value (judgment value) for end determination, the running-in / warm-up operation is ended.

【0072】第3の動作例では、慣らし・暖機運転を終
了しても完全に慣らし・暖機運転が終了した訳ではな
い。このため、通常の再生では動作精度を補償できな
い。そこで、本動作例では再生モードでも電流制限値を
変更する機能が必要となる。次に図12を用い、本動作
例における再生モードの動作を説明する。
In the third operation example, even if the break-in / warm-up operation is completed, the break-in / warm-up operation is not completely completed. For this reason, the operation accuracy cannot be compensated for in normal reproduction. Therefore, in this operation example, a function of changing the current limit value in the reproduction mode is required. Next, the operation in the reproduction mode in this operation example will be described with reference to FIG.

【0073】まず、再生モードに入るとステップSE1
で電流実効値がクリア(0を代入)される。次にステッ
プSE2へ進み、最大電流実効値がクリア(0を代入)
される。以上の初期化処理が終了すると、ステップSE
3へ進み、選択された再生プログラムに従ってロボット
を動作(再生処理)させる。ステップSE4では、電流
値に基づいて電流実効値が算出される。
First, when the reproduction mode is entered, step SE1 is executed.
Clears (substitutes 0) the current effective value. Next, the process proceeds to step SE2, where the maximum current effective value is cleared (0 is substituted).
Is done. When the above initialization processing is completed, step SE
Proceed to 3 and operate the robot (reproduction process) according to the selected reproduction program. In step SE4, a current effective value is calculated based on the current value.

【0074】ステップSE5ではステップSE4におい
て算出された電流実効値と最大電流実効値とが比較され
る。この比較の結果、電流実効値の方が大きいと判断さ
れるとステップSE6へ進む。ステップSE6では、最
大電流実効値にステップSE4で算出された電流実効値
が代入される。
In step SE5, the current effective value calculated in step SE4 is compared with the maximum current effective value. As a result of this comparison, if it is determined that the current effective value is larger, the process proceeds to step SE6. In step SE6, the current effective value calculated in step SE4 is substituted for the maximum current effective value.

【0075】ステップSE6の処理が終了した場合、及
びステップSE5における比較で電流実効値が最大電流
実効値以下であると判断された場合には、処理はステッ
プSE7へ進む。ステップSE7ではプログラムが終了
したか否かが判断され、この判断結果が「No」である
場合にはステップSE3へ戻り、プログラムの実行(再
生動作)を継続する。一方ステップSE7における判断
結果が「Yes」(1プログラム終了)である場合に
は、ステップSE8へ進む。
When the process in step SE6 is completed, and when it is determined in the comparison in step SE5 that the effective current value is equal to or less than the maximum effective current value, the process proceeds to step SE7. In step SE7, it is determined whether or not the program has been completed. If the determination result is "No", the process returns to step SE3, and the program execution (reproduction operation) is continued. On the other hand, if the result of the determination in step SE7 is "Yes" (one program ends), the flow proceeds to step SE8.

【0076】ステップSE8では再生モードを終了する
か否かが判断され、この判断結果が「Yes」である場
合には再生モードを終了する。一方、ステップSE8に
おける判断結果が「No」の場合にはステップSE9へ
進む。ステップSE9では、現在の電流制限値と、予め
通常動作時(暖機運転終了後)の電流制限値として設定
されている電流制限設定値とが比較される。この比較の
結果、電流制限値が現在の電流制限設定値より大きいと
判断された場合にはステップSE10へ進む。
At step SE8, it is determined whether or not to end the reproduction mode. If the judgment result is "Yes", the reproduction mode is ended. On the other hand, if the result of the determination in step SE8 is "No", the flow proceeds to step SE9. In step SE9, the current limit value is compared with a current limit set value that is set in advance as a current limit value during normal operation (after the end of the warm-up operation). As a result of this comparison, if it is determined that the current limit value is larger than the current current limit set value, the process proceeds to step SE10.

【0077】ステップSE10では、電流実効値から例
えば次式によって新しい電流制限値が算出される。電流
制限値=A*電流実効値+Bここで、A,Bは最大電流
実効値から所望の電流制限値を得るために予め設定され
た係数である。
In step SE10, a new current limit value is calculated from the effective current value by, for example, the following equation. Current limit value = A * Current effective value + B Here, A and B are coefficients set in advance to obtain a desired current limit value from the maximum current effective value.

【0078】ステップSE10の処理が終了すると、処
理はステップSE11へ進む。ステップSE11では、
ステップSE10で算出された電流制限値と、予め設定
されている電流制限設定値とが比較される。この比較の
結果、電流制限値が電流制限設定値より小さいと判断さ
れた場合にはステップSE12へ進む。
When the processing in step SE10 ends, the processing proceeds to step SE11. In step SE11,
The current limit value calculated in step SE10 is compared with a preset current limit set value. As a result of this comparison, if it is determined that the current limit value is smaller than the current limit set value, the process proceeds to step SE12.

【0079】ステップSE12では電流制限値に電流制
限設定値が代入される。この処理は、暖機運転が充分に
行われ、電流実効値が下がったためにステップSE10
で算出された電流制限値が予め設定された電流制限設定
値より小さくなった場合に実行される。すなわち、本来
の暖機運転終了を意味する。ステップSE12の処理を
終了した場合、ステップSE9で電流制限値が電流制限
設定値より小さいか同じと判断された場合、及びステッ
プSE11で電流制限値が電流制限設定値より大きいか
同じと判断された場合には、処理はステップSE1へ戻
る。
In step SE12, the current limit set value is substituted for the current limit value. This processing is performed in step SE10 because the warm-up operation has been sufficiently performed and the effective current value has decreased.
Is executed when the current limit value calculated in the step (2) becomes smaller than a preset current limit value. That is, it means the end of the original warm-up operation. When the process in step SE12 is completed, when it is determined in step SE9 that the current limit value is smaller than or equal to the current limit set value, and when it is determined in step SE11 that the current limit value is larger than or equal to the current limit set value. In this case, the process returns to step SE1.

【0080】次に前記処理によって工業用ロボットを制
御した場合の電流制限値、再生速度、最大電流実効値、
及び再生回数(時間)の関係を説明する。図13は第3
動作例によって工業用ロボットを動作させた場合の電流
制限値、再生速度、最大電流実効値、及び再生回数(時
間)の関係を示す図である。まず、再生速度に再生速度
初期値が、電流制限値に電流制限最大値がそれぞれ与え
られ、再生動作(暖機運転)が開始する。最初は速度が
速いため、最大電流実効値に余裕があり、閾値に近づく
まで再生速度が急速に速くなる。
Next, the current limit value, reproduction speed, maximum effective current value,
And the relationship between the number of reproductions (time). FIG. 13 shows the third
FIG. 9 is a diagram illustrating a relationship among a current limit value, a reproduction speed, a maximum current effective value, and the number of times of reproduction (time) when an industrial robot is operated according to an operation example. First, a regeneration speed initial value is given to the regeneration speed, and a current limit maximum value is given to the current limit value, and the regeneration operation (warm-up operation) is started. At first, the speed is high, so there is a margin in the maximum effective current value, and the reproduction speed rapidly increases until it approaches the threshold value.

【0081】再生速度が速くなるに従い、最大電流実効
値も大きくなり、最大電流実効値が閾値付近まで上昇す
ると、再生速度上昇の変化が緩やかになる。暖機運転が
進行するに従い再生速度も上昇し、やがて再生速度は1
00%に達して、再生速度はこれ以上上昇しなくなる。
更に再生動作を続けると、暖機運転により抵抗が減少し
た分だけ、最大電流実効値が減少する。
As the reproduction speed increases, the maximum effective current value also increases. When the maximum effective current value increases to near the threshold value, the change in the increase in the reproduction speed becomes gentle. The regeneration speed increases as the warm-up operation progresses, and eventually the regeneration speed becomes 1
After reaching 00%, the reproduction speed no longer increases.
When the regenerating operation is further continued, the maximum current effective value decreases by an amount corresponding to the decrease in the resistance due to the warm-up operation.

【0082】再生速度が100%に達すると、電流制限
値は電流制限最大値から、最大電流実効値より算出され
た制限値へと変わる。これにより、最大電流実効値が減
少するに従い電流制限値も減少する。再生速度が100
%に達した後で、且つ最大電流実効値が予め決められた
終了判定値まで減少した場合、つまり図中の符号z1が
付された時点において暖機運転は終了する。これ以降は
再生モードとして生産運転が可能となる。
When the reproduction speed reaches 100%, the current limit value changes from the maximum current limit value to the limit value calculated from the maximum effective current value. Thereby, the current limit value also decreases as the maximum current effective value decreases. Playback speed is 100
%, And when the maximum effective current value has decreased to a predetermined end determination value, that is, at the time point indicated by the symbol z1 in the drawing, the warm-up operation ends. Thereafter, the production operation can be performed in the regeneration mode.

【0083】再生モードで運転開始時は、まだ充分に暖
機運転が終了していないので、最大電流実効値が高めで
の運転となり、この最大電流実効値より算出された電流
制限値にて運転される。再生動作(運転)を続けるに従
い、抵抗が減少し最大電流実効値も減少する。これと同
様に電流制限値も減少する。電流制限値が予め設定され
た電流制限設定値まで低下すると、最大電流実効値から
算出することを止めて、電流制限設定値を電流制限値と
する。この段階では暖機運転が充分終了したことを意味
し、再生モードの動作処理も、通常の動作と変わらなく
なる。
At the start of the operation in the regeneration mode, since the warm-up operation has not yet been completed sufficiently, the operation is performed with the maximum effective current value being higher, and the operation is performed at the current limit value calculated from the maximum effective current value. Is done. As the regeneration operation (operation) continues, the resistance decreases and the maximum current effective value also decreases. Similarly, the current limit value decreases. When the current limit value decreases to a preset current limit set value, calculation from the maximum current effective value is stopped, and the current limit set value is set as the current limit value. At this stage, it means that the warm-up operation has been sufficiently completed, and the operation processing in the regeneration mode is not different from the normal operation.

【0084】ここで、第1実施例と第3実施例の暖機運
転時間の違いを比較する。第1実施例の暖機運転終了判
定は、通常動作時の最大電流実効値に微小余裕分を付加
した値、例えば図中の例1の終了判定値が与えられ、最
大電流値がこの判定値まで低下したか否かにより判断さ
れる(図中z2の時点)。これに対し、第3実施例で
は、前記の如く図中z1の時点において暖機運転を終了
できるのでz1の時点とz2の時点の差の分だけ速く生
産に入ることが可能となる。
Here, the difference in the warm-up operation time between the first embodiment and the third embodiment will be compared. The warm-up operation end determination of the first embodiment is given by a value obtained by adding a small margin to the maximum current effective value in normal operation, for example, the end determination value of Example 1 in the drawing, and the maximum current value is determined by this determination value. It is determined based on whether or not it has decreased (time z2 in the figure). On the other hand, in the third embodiment, as described above, the warm-up operation can be ended at the time point z1 in the drawing, so that the production can be started as quickly as the difference between the time points z1 and z2.

【0085】以上説明したように、本発明の一実施形態
による工業用ロボットの第3動作例によれば、慣らし・
暖機運転において、再生時の最大電流実効値を用いて電
流制限値を変更するようにしているので、 (1)常に設定された最大電流実効値で再生を行うこと
ができる。 (2)慣らし・暖機運転を第1,第2動作例よりさらに
短時間で終了できる。 (3)定量的に、慣らし・暖機運転の終了を判定でき
る。 (4)慣らし・暖機運転中に、過負荷などの異常を検出
し、途中で停止すること がない。 暖機運転中、及び再生モード初期においては、電流制限
値を高く設定して、追従遅れなど無いようにしているの
で、 (5)暖機運転を短時間で終了しても、精度良く生産運
転(動作)することができる。 また、本実施形態においては、常に電流実効値を検出で
きるので、正常値と比較することにより、 (6)異常を検出することができる。
As described above, according to the third operation example of the industrial robot according to the embodiment of the present invention, the break-in
In the warm-up operation, the current limit value is changed using the maximum current effective value at the time of regeneration. (1) Regeneration can always be performed with the set maximum current effective value. (2) The break-in / warm-up operation can be completed in a shorter time than in the first and second operation examples. (3) The termination of the warm-up / warm-up operation can be determined quantitatively. (4) During break-in and warm-up operation, abnormalities such as overload are detected, and there is no stoppage. During the warm-up operation and at the beginning of the regeneration mode, the current limit value is set high so that there is no delay in following up. (5) Even if the warm-up operation is completed in a short time, the production operation can be performed accurately. (Operation). Further, in the present embodiment, since the effective current value can always be detected, by comparing with the normal value, (6) abnormality can be detected.

【0086】以上、本発明の第3動作例について説明し
たが、図11中のステップSD11によって再生速度が
初期値よりも小さくならないようにしているが、ステッ
プSD11,ステップSD14の処理を省略することに
よって再生速度の初期値を少々高めにしても、自動的に
再生速度を最適な速度まで落とすようにしても良い。
Although the third operation example of the present invention has been described above, the playback speed is not made lower than the initial value in step SD11 in FIG. 11, but the processing in steps SD11 and SD14 is omitted. Thus, the initial value of the reproduction speed may be slightly increased, or the reproduction speed may be automatically reduced to the optimum speed.

【0087】以上、本発明の一実施形態による工業用ロ
ボットについて説明したが、本実施形態で用いられた各
種計算式は一例であり、同様の効果を得る公知の他の演
算方法を用いても良い。ここでは、1プログラム(教示
データ)中の最大電流実効値を用いて速度や制限値を算
出しているが、プログラムの最初で電流実効値、最大電
流実効値をクリアする処理を止めて、連続動作における
電流実効値にて判断するようにしても良い。モータ20
も、ここではブラシレスモータで説明したが、DCモー
タやステッピングモータ等を用いても同様の効果が得ら
れる。但し電流値を求める計算式はモータの構造により
異なる。
The industrial robot according to one embodiment of the present invention has been described above. However, the various calculation formulas used in this embodiment are merely examples, and other known calculation methods for obtaining the same effect can be used. good. Here, the speed and the limit value are calculated using the maximum current effective value in one program (teaching data), but the process of clearing the current effective value and the maximum current effective value at the beginning of the program is stopped, and The determination may be made based on the effective current value in the operation. Motor 20
Although a brushless motor has been described here, a similar effect can be obtained by using a DC motor or a stepping motor. However, the formula for calculating the current value differs depending on the structure of the motor.

【0088】また、本実施形態では、サーボアンプ28
によって実際にモータ20に流れている電流を計測し、
計測値から電流実効値を算出する方法を説明したが、簡
易的に制御ユニット22がサーボアンプ28へ出力する
制御データの電流指令値を用いても同様の効果を得られ
る。また、制御系の説明を簡単にするため、比例(P)
制御、比例積分(PI)制御を用いて説明したが、他の
制御系(PID、現代制御等)を用いてもよい。
In this embodiment, the servo amplifier 28
To measure the current actually flowing to the motor 20,
Although the method of calculating the effective current value from the measured value has been described, the same effect can be obtained even if the control unit 22 simply uses the current command value of the control data output to the servo amplifier 28. In order to simplify the description of the control system, a proportional (P)
Although control and proportional integral (PI) control have been described, other control systems (PID, modern control, etc.) may be used.

【0089】また、算出した電流実効値は動作速度を決
定するためや慣らし・暖機運転終了の判定用として用い
ていたが、通常動作時の電流実効値を記憶し、この正常
時の電流実効値と比較して異常を検出するようにしても
よい。また、第1動作例と第2動作例を組み合わせて、
慣らし・暖機運転を実施しても良い。第2の実施例で
は、電流制限値ILimをIMAXから最大電流実効値IRMSM
axに従って小さくしているが、慣らし・暖機運転終了前
に予め設計された電流制限値まで下がった場合には、電
流制限値をそれ以上下げないような処理としても良い。
Although the calculated effective current value is used for determining the operating speed and for determining the end of the warm-up and warm-up operations, the effective current value during normal operation is stored, and the effective current value during normal operation is stored. The abnormality may be detected by comparing with a value. Also, by combining the first operation example and the second operation example,
A break-in / warm-up operation may be performed. In the second embodiment, the current limit value I Lim is changed from I MAX to the maximum current effective value I RMSM.
Although it is made smaller in accordance with ax , if the current limit value decreases beforehand before the break-in / warm-up operation ends, the current limit value may not be reduced further.

【0090】[0090]

【発明の効果】本発明によれば、慣らし・暖機運転が短
時間で効率的に終了できるとともに、定量的に、慣らし
・暖機運転の終了を判定でき、慣らし・暖機運転不足が
生じないという効果がある。
According to the present invention, the break-in / warm-up operation can be completed efficiently in a short time, and the end of the break-in / warm-up operation can be determined quantitatively, and the break-in / warm-up operation is insufficient. There is no effect.

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

【図1】 本発明の一実施形態による工業用ロボットの
略電気的構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic electrical configuration of an industrial robot according to an embodiment of the present invention.

【図2】 同実施形態による工業用ロボットの外観図で
ある。
FIG. 2 is an external view of the industrial robot according to the embodiment.

【図3】 1つの軸のサーボ制御系の伝達特性例を示す
ブロック図である。
FIG. 3 is a block diagram illustrating an example of a transfer characteristic of a servo control system of one axis.

【図4】 モータ20の過負荷曲線の例を示す図であ
る。
FIG. 4 is a diagram showing an example of an overload curve of the motor 20.

【図5】 ローパス処理を用いて電流実効値IRMSを求
める方法を説明するための図である。
FIG. 5 is a diagram for explaining a method of obtaining a current effective value I RMS using a low-pass process.

【図6】 同実施形態による工業用ロボットの慣らし・
暖機運転時の第1動作例を示すフローチャートである。
FIG. 6 shows the break-in of the industrial robot according to the embodiment.
4 is a flowchart illustrating a first operation example during a warm-up operation.

【図7】 第1動作例によって工業用ロボットを動作さ
せた場合の再生速度、最大電流実効値、及び再生回数
(時間)の関係を示す図である。
FIG. 7 is a diagram illustrating a relationship among a reproduction speed, a maximum effective current value, and the number of times of reproduction (time) when the industrial robot is operated according to the first operation example.

【図8】 通常動作を行って、暖機運転の終了判定用の
最大電流実効値(判定値)を求める場合の動作を示すフ
ローチャートである。
FIG. 8 is a flowchart showing an operation when a normal operation is performed and a maximum current effective value (judgment value) for judging the end of the warm-up operation is obtained.

【図9】 同実施形態による工業用ロボットの慣らし・
暖機運転時の第2動作例を示すフローチャートである。
FIG. 9 shows the break-in of the industrial robot according to the embodiment.
It is a flow chart which shows the 2nd example of operation at the time of warming-up operation.

【図10】 第2動作例によって工業用ロボットを動作
させた場合の最大電流実効値と再生回数(時間)との関
係を示す図である。
FIG. 10 is a diagram showing the relationship between the maximum effective current value and the number of times of reproduction (time) when an industrial robot is operated according to the second operation example.

【図11】 本発明の第一実施形態による工業用ロボッ
トの慣らし・暖機運転時の第3動作例を示すフローチャ
ートである。
FIG. 11 is a flowchart illustrating a third operation example during the break-in / warm-up operation of the industrial robot according to the first embodiment of the present invention.

【図12】 本動作例における再生モードの動作を説明
するための図である。
FIG. 12 is a diagram for explaining an operation in a reproduction mode in this operation example.

【図13】 第3動作例によって工業用ロボットを動作
させた場合の電流制限値、再生速度、最大電流実効値、
及び再生回数(時間)の関係を示す図である。
FIG. 13 shows a current limit value, a reproduction speed, a maximum current effective value, and a current limit value when an industrial robot is operated according to a third operation example.
FIG. 7 is a diagram showing a relationship between the number of reproductions (time).

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

10 マニピュレータ 12 コントローラ(制御手段) 20 モータ 28 サーボアンプ(電流実効値算出手段) 22 制御ユニット(電流実効値算出手段、,再生速
度決定手段,暖機運転再生速度決定手段,慣らし運転再
生速度決定手段,電流制限値決定手段)
DESCRIPTION OF SYMBOLS 10 Manipulator 12 Controller (control means) 20 Motor 28 Servo amplifier (effective current value calculation means) 22 Control unit (effective current value calculation means, regeneration speed determination means, warm-up operation regeneration speed determination means, break-in operation regeneration speed determination means , Current limit value determination means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H02P 6/04 H02P 6/00 301 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H02P 6/04 H02P 6/00 301

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つの軸を有し、該軸がモー
タによって駆動されるマニピュレータと、前記モータを
制御する制御装置とを備える工業用ロボットにおいて、 前記制御装置に前記モータに流れる電流を計測し、該電
流の電流実効値を求める電流実効値算出手段と、 前記電流実効値算出手段によって算出された電流実効値
に応じて、再生速度を随時決定する再生速度決定手段と
を具備することを特徴とする工業用ロボット。
1. An industrial robot having at least one axis, a manipulator driven by a motor, and a control device for controlling the motor, wherein the control device measures a current flowing through the motor. A current effective value calculating means for calculating a current effective value of the current; and a reproduction speed determining means for determining a reproduction speed as needed in accordance with the current effective value calculated by the current effective value calculating means. Features industrial robots.
【請求項2】 前記再生速度決定手段により決定された
再生速度にて、ロボット起動時の暖機運転再生速度を随
時決定する暖機運転再生速度決定手段を具備することを
特徴とする請求項1記載の工業用ロボット。
2. The apparatus according to claim 1, further comprising: a warm-up operation regeneration speed determining unit that determines a warm-up operation regeneration speed at the time of starting the robot at any time based on the regeneration speed determined by the regeneration speed determining unit. The industrial robot as described.
【請求項3】 前記再生速度決定手段により決定された
再生速度にて、ロボット製造時の慣らし運転再生速度を
随時決定する慣らし運転再生速度決定手段を具備するこ
とを特徴とする請求項1記載の工業用ロボット。
3. The apparatus according to claim 1, further comprising a break-in operation playback speed determining unit that determines a break-in operation playback speed at the time of manufacturing the robot at any time at the playback speed determined by the playback speed determination unit. Industrial robot.
【請求項4】 少なくとも1つの軸を有し、該軸がモー
タによって駆動されるマニピュレータと、前記モータを
制御する制御装置とを備える工業用ロボットにおいて、 前記制御装置に前記モータに流れる電流を計測し、該電
流の電流実効値を求める電流実効値算出手段と、 前記電流実効値算出手段によって算出された電流実効値
に基づいて、モータの電流制限値を随時決定する電流制
限値決定手段とを具備することを特徴とする工業用ロボ
ット。
4. An industrial robot having at least one axis, the axis being driven by a motor, and a control device for controlling the motor, wherein the control device measures a current flowing through the motor. A current effective value calculating means for obtaining a current effective value of the current; anda current limit value determining means for determining a current limit value of the motor as needed based on the current effective value calculated by the current effective value calculating means. An industrial robot, comprising:
【請求項5】 前記電流制限値決定手段により決定され
た電流制限値にて、ロボット起動時の暖機運転の電流制
限値を随時決定する暖機運転電流制限値決定手段を具備
することを特徴とする請求項4記載の工業用ロボット。
5. A warm-up operation current limit value determining means for arbitrarily determining a current limit value of the warm-up operation at the time of starting the robot based on the current limit value determined by the current limit value determining means. The industrial robot according to claim 4, wherein
【請求項6】 前記電流制限値決定手段により決定され
た電流制限値にて、ロボット製造時の慣らし運転の電流
制限値を随時決定する慣らし運転電流制限値決定手段を
具備することを特徴とする請求項4記載の工業用ロボッ
ト。
6. A break-in operation current limit value determining means for determining a break-in current limit value of a break-in operation at the time of manufacturing a robot at any time based on the current limit value determined by the current limit value determining means. The industrial robot according to claim 4.
JP8351421A 1996-12-27 1996-12-27 Industrial robot Withdrawn JPH10180662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8351421A JPH10180662A (en) 1996-12-27 1996-12-27 Industrial robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8351421A JPH10180662A (en) 1996-12-27 1996-12-27 Industrial robot

Publications (1)

Publication Number Publication Date
JPH10180662A true JPH10180662A (en) 1998-07-07

Family

ID=18417179

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8351421A Withdrawn JPH10180662A (en) 1996-12-27 1996-12-27 Industrial robot

Country Status (1)

Country Link
JP (1) JPH10180662A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001238483A (en) * 2000-02-28 2001-08-31 Seiko Epson Corp Drive control method and apparatus
JP2008110198A (en) * 2006-10-03 2008-05-15 Univ Of Tsukuba Motion assisting device and motion assisting device maintenance/management system
JP2010142049A (en) * 2008-12-12 2010-06-24 Hitachi Industrial Equipment Systems Co Ltd Overload protection method and apparatus for multishaft motor drive system and common converter thereof
WO2011027933A1 (en) * 2009-09-03 2011-03-10 (주)유스텍 Pid controller for controlling the motion of a motor and a control method thereof
JP2016159367A (en) * 2015-02-26 2016-09-05 ファナック株式会社 Robot control device for automatically switching operation mode of robot
JP2016215316A (en) * 2015-05-20 2016-12-22 キヤノン株式会社 Robot device, robot control method, program, recording medium and assembling component manufacturing method
WO2018159341A1 (en) * 2017-03-01 2018-09-07 パナソニックIpマネジメント株式会社 Robot control method
JP2020185647A (en) * 2019-05-16 2020-11-19 セイコーエプソン株式会社 Robot system, control device, and robot control method
CN111993410A (en) * 2019-05-27 2020-11-27 发那科株式会社 Control device, mechanical system, and time synchronization method
CN112828887A (en) * 2020-12-31 2021-05-25 深圳市大族机器人有限公司 Industrial robot end interface device and industrial robot

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001238483A (en) * 2000-02-28 2001-08-31 Seiko Epson Corp Drive control method and apparatus
JP2008110198A (en) * 2006-10-03 2008-05-15 Univ Of Tsukuba Motion assisting device and motion assisting device maintenance/management system
US8425436B2 (en) 2006-10-03 2013-04-23 University Of Tsukuba Motion assistive device and maintenance management system for motion assistive device
JP2010142049A (en) * 2008-12-12 2010-06-24 Hitachi Industrial Equipment Systems Co Ltd Overload protection method and apparatus for multishaft motor drive system and common converter thereof
WO2011027933A1 (en) * 2009-09-03 2011-03-10 (주)유스텍 Pid controller for controlling the motion of a motor and a control method thereof
KR101033816B1 (en) 2009-09-03 2011-05-13 (주)유스텍 PID Control Device and Method for Motion Control of Motor
JP2016159367A (en) * 2015-02-26 2016-09-05 ファナック株式会社 Robot control device for automatically switching operation mode of robot
JP2016215316A (en) * 2015-05-20 2016-12-22 キヤノン株式会社 Robot device, robot control method, program, recording medium and assembling component manufacturing method
WO2018159341A1 (en) * 2017-03-01 2018-09-07 パナソニックIpマネジメント株式会社 Robot control method
CN110366818A (en) * 2017-03-01 2019-10-22 松下知识产权经营株式会社 The control method of robot
JPWO2018159341A1 (en) * 2017-03-01 2019-12-19 パナソニックIpマネジメント株式会社 Robot control method
CN110366818B (en) * 2017-03-01 2023-05-12 松下知识产权经营株式会社 Robot control method
JP2020185647A (en) * 2019-05-16 2020-11-19 セイコーエプソン株式会社 Robot system, control device, and robot control method
CN111993410A (en) * 2019-05-27 2020-11-27 发那科株式会社 Control device, mechanical system, and time synchronization method
JP2020192628A (en) * 2019-05-27 2020-12-03 ファナック株式会社 Control device, mechanical system and time synchronization method
CN112828887A (en) * 2020-12-31 2021-05-25 深圳市大族机器人有限公司 Industrial robot end interface device and industrial robot

Similar Documents

Publication Publication Date Title
JP2833463B2 (en) AC motor rotation torque detector
USRE40250E1 (en) Pulse width modulation circuit controlling output current of an inverter circuit for motor-driven blower or electric vacuum cleaner
EP2403132B1 (en) Method and apparatus for controlling motor torque
CA2113284C (en) Method and apparatus of operating a dynamoelectric machine using dc bus current profile
JPH10180662A (en) Industrial robot
EP1562283A1 (en) Servomotor control device for robot and robot having the device
CN110235068B (en) Positioning control method and system for machine tool spindle
KR101167778B1 (en) Motor controlling apparatus and method of the same
JP4085418B2 (en) Curve interpolation acceleration / deceleration control method
US6310457B1 (en) Servomotor controller
JP4009352B2 (en) Washing machine using induction motor
EP1139561A2 (en) Electric Motor control device
EP0945623A2 (en) A ventilation system
CN114665783A (en) Motor control method and control device, motor controller, and storage medium
JP5092328B2 (en) Motor control device and motor control method
De Viaene et al. Sensorless load angle control for energy optimal sinusoidal driven BLDC motor applications
JPH07311609A (en) Electronic cam
JP2008225652A (en) Numerical control device
JP2734095B2 (en) Motor control device
JP3294236B2 (en) Inverter device
JP3427800B2 (en) Numerical control unit
JP2992778B2 (en) Variable speed water supply
JPH0670567A (en) Automatic setting method of control gain for motor and detecting method of backlash
JP2008148449A (en) Motor position control method
JPH07112356B2 (en) Electric motor controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040302