JP2012125844A - Method and program for adjusting control loop gain of servo amplifier, and robot controller - Google Patents

Method and program for adjusting control loop gain of servo amplifier, and robot controller Download PDF

Info

Publication number
JP2012125844A
JP2012125844A JP2010276687A JP2010276687A JP2012125844A JP 2012125844 A JP2012125844 A JP 2012125844A JP 2010276687 A JP2010276687 A JP 2010276687A JP 2010276687 A JP2010276687 A JP 2010276687A JP 2012125844 A JP2012125844 A JP 2012125844A
Authority
JP
Japan
Prior art keywords
control loop
power supply
control
servo amplifier
loop gain
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.)
Granted
Application number
JP2010276687A
Other languages
Japanese (ja)
Other versions
JP5681470B2 (en
JP2012125844A5 (en
Inventor
Shinji Kajiwara
慎司 梶原
Haruhiko Tan
治彦 丹
Junichi Shirao
純一 白尾
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.)
Kawasaki Heavy Industries Ltd
Original Assignee
Kawasaki Heavy Industries 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 Kawasaki Heavy Industries Ltd filed Critical Kawasaki Heavy Industries Ltd
Priority to JP2010276687A priority Critical patent/JP5681470B2/en
Publication of JP2012125844A publication Critical patent/JP2012125844A/en
Publication of JP2012125844A5 publication Critical patent/JP2012125844A5/ja
Application granted granted Critical
Publication of JP5681470B2 publication Critical patent/JP5681470B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To stabilize a control loop in a simple control to a change of a power supply voltage of a servo amplifier during an operation of a robot.SOLUTION: A method of adjusting a control loop gain of the servo amplifier is provided for forming a control loop by feeding back a control amount of a servomotor according to a control command from outside to the servomotor provided in each joint of the robot. The method includes the steps of: forming the control loop, and starting driving of the servomotor, based on a default value of the control loop gain and a default one of the power supply voltage of the servo amplifier; detecting the power supply voltage of the servo amplifier; and adjusting a control loop gain changing correlating with the power supply voltage of the servo amplifier out of control gains constituting the control loop gain, so as to change in the opposite direction from the change of the detected power supply voltage of the servo amplifier.

Description

本発明は、サーボアンプの制御ループゲイン調整方法、プログラム及びロボット制御装置に関する。   The present invention relates to a servo amplifier control loop gain adjustment method, a program, and a robot control apparatus.

ロボットは、ロボットアームの先端部位にツール部材が取り付けられており、ロボットアームを構成する複数のアーム部材の各回転軸周りの回転を互いに独立して行い得るように構成されている。ロボットの動作を制御するロボット制御装置は、複数のアーム部材の各回転軸の位置サーボ制御によってツール部材を所望の位置に所望の姿勢で停止させたり、複数のアーム部材の各回転軸の速度サーボ制御によりツール部材を所望の経路に沿って所望の姿勢で、かつ所望の速度で移動させるように構成されている。さらに、ロボット制御装置は、各軸に設けられたサーボモータの各相に流れる電流量を各々制御する電流サーボ制御を行うように構成されている。これらのサーボ制御の具体例として、例えば以下に示す特許文献1〜3に記載された技術がある。   The robot has a tool member attached to the distal end portion of the robot arm, and is configured to be able to rotate around the respective rotation axes of the plurality of arm members constituting the robot arm independently of each other. The robot controller that controls the operation of the robot stops the tool member at a desired position in a desired posture by position servo control of each rotation axis of the plurality of arm members, or speed servo of each rotation axis of the plurality of arm members. The tool member is configured to move along a desired path in a desired posture and at a desired speed by the control. Furthermore, the robot controller is configured to perform current servo control for controlling the amount of current flowing in each phase of the servo motor provided on each axis. As specific examples of these servo controls, for example, there are techniques described in Patent Documents 1 to 3 shown below.

特許文献1には、アクティブフィルタにより3相交流を整流し、その整流波形の電力を平滑コンデンサにより直流に平滑化して出力するロボットの電源装置と、上記平滑コンデンサの両端子間電圧が一定となるように制御する該電源装置の制御回路とが開示されている。   In Patent Document 1, a power supply device for a robot that rectifies three-phase alternating current with an active filter and smoothes and outputs the electric power of the rectified waveform to direct current with a smoothing capacitor, and the voltage between both terminals of the smoothing capacitor is constant. And a control circuit for the power supply apparatus that controls the power supply.

特許文献2には、位置指令信号に基づいて速度指令信号を出力する位置制御部と、該位置制御部の速度指令信号に基づいて電流値の設定指令信号を出力する速度制御部と、該速度制御部の設定指令信号に基づいてサーボモータの電流を制御する電流制御部と、を備えるとともに、上記サーボモータの電流、回転速度及び回転位置をそれぞれ検出してこれらの検出値をフィードバックし、ロボットを駆動制御するロボットの制御装置において、上記位置制御部、速度制御部及び電流制御部のゲインを必要に応じて切換指令する切換指令信号を出力するゲイン切替部を備えることが開示されている。   Patent Document 2 discloses a position control unit that outputs a speed command signal based on a position command signal, a speed control unit that outputs a current value setting command signal based on the speed command signal of the position control unit, A current control unit that controls the current of the servo motor based on the setting command signal of the control unit, and detects the current, rotation speed, and rotation position of the servo motor, and feeds back these detection values to It is disclosed that the robot control apparatus that controls the driving includes a gain switching unit that outputs a switching command signal for switching the gains of the position control unit, the speed control unit, and the current control unit as necessary.

特許文献3には、サーボアンプへ入力される電源電圧を測定する入力電圧測定方法と、この測定した入力電圧に基づいてサーボアンプの制御ゲインを設定する制御ゲイン設定方法とが開示されている。   Patent Document 3 discloses an input voltage measurement method for measuring a power supply voltage input to a servo amplifier, and a control gain setting method for setting a control gain of a servo amplifier based on the measured input voltage.

特開平8−251922号公報JP-A-8-251922 特開平1−255015号公報Japanese Patent Laid-Open No. 1-255015 特開平8−205569号公報Japanese Patent Laid-Open No. 8-205569

ところで、ロボットアームの加速や該ロボットアーム先端のツール部材によってワークを持ち上げる場合など、多くの電力消費を伴うサーボ制御が行われるときに、商用電源から供給される電力が各軸のサーボモータで消費される電力に間に合わず、ロボットの電源部からモータ駆動回路に供給される電源電圧(例えば、特許文献1の平滑コンデンサ間電圧)が低下するおそれがある。なお、このように電源電圧が低下すると、電流サーボ制御における応答が遅くなるという問題が生じる。   By the way, when servo control that consumes a large amount of power is performed, such as when a workpiece is lifted by acceleration of the robot arm or a tool member at the tip of the robot arm, the power supplied from the commercial power supply is consumed by the servo motor of each axis. The power supply voltage (for example, the voltage between the smoothing capacitors in Patent Document 1) supplied from the power supply unit of the robot to the motor drive circuit may not be in time. If the power supply voltage is reduced in this way, there arises a problem that the response in the current servo control is delayed.

一方、ロボットアームの減速や該ロボットアーム先端のツール部材によってワークを降ろす場合など、サーボモータが発電機として作動する回生動作を伴うサーボ制御が行われるときに、回生抵抗によって回生電力を消費しきれず、上記の電源電圧が上昇するおそれがある。なお、このように電源電圧が上昇すると、電流サーボ制御の電流ループゲインが上昇するため、サーボモータの振動や異音が発生するという問題が生じる。   On the other hand, when the servo control is performed with the regenerative operation in which the servo motor operates as a generator, such as when the workpiece is lowered by the robot arm's deceleration or the tool member at the tip of the robot arm, the regenerative power cannot be consumed due to the regenerative resistance. The power supply voltage may increase. When the power supply voltage increases in this way, the current loop gain of the current servo control increases, which causes a problem that vibrations or abnormal noises occur in the servo motor.

上記の問題は、電流ループゲインに限らず、サーボアンプの制御ループゲイン(位置速度ループゲイン、速度ループゲインなど)全般に該当するものである。   The above problem applies not only to the current loop gain but also to the overall control loop gain (position velocity loop gain, velocity loop gain, etc.) of the servo amplifier.

特許文献1では、ロボットの負荷変動を考慮して電源装置の平滑コンデンサ間電圧を一定にしようとするものであるが、この制御のために新たなハードウェア(制御回路)を追加する必要がある。   In Patent Document 1, an attempt is made to make the voltage between the smoothing capacitors of the power supply device constant in consideration of the load variation of the robot, but it is necessary to add new hardware (control circuit) for this control. .

特許文献2では、位置制御部、速度制御部及び電流制御部のゲインを、ワーク間を移動するときには高い値に切り替え、ワークとハンド間に引付力あるいは押付力が作用するときには低い値に切り替えようとするものであるが、上記のようにロボット動作中に電源電圧が変動することについて示唆も開示もない。   In Patent Document 2, the gains of the position control unit, speed control unit, and current control unit are switched to high values when moving between workpieces, and are switched to low values when an attractive force or a pressing force is applied between the workpiece and the hand. However, there is no suggestion or disclosure about the fluctuation of the power supply voltage during the robot operation as described above.

特許文献3では、サーボアンプの入力許容電圧にはある程度の幅があることを考慮して、測定した入力電圧に基づいてサーボアンプの制御ゲインを設定するものであるが、上記のようにロボット動作中の電源電圧の変動を考慮したものではない。また、サーボアンプの制御ゲインを設定するにあたり、サーボモータの相電流の無効電流成分比から推定された電源電圧が用いられており、複雑な制御が必要である。   In Patent Document 3, the control gain of the servo amplifier is set based on the measured input voltage in consideration of the fact that there is a certain range in the allowable input voltage of the servo amplifier. It does not take into account fluctuations in the power supply voltage. Further, in setting the control gain of the servo amplifier, the power supply voltage estimated from the reactive current component ratio of the phase current of the servo motor is used, and complicated control is required.

本発明は、上記のような従来の課題を解決するためになされたものであり、ロボット動作中のサーボアンプの電源電圧の変動に対して簡易な制御で制御ループを安定化させることを目的とする。   The present invention has been made to solve the above-described conventional problems, and aims to stabilize a control loop with simple control against fluctuations in the power supply voltage of a servo amplifier during robot operation. To do.

上記目的を達成するために、本発明に係るサーボアンプの制御ループゲイン調整方法は、ロボットの各関節に設けられたサーボモータに対して外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成する、サーボアンプの制御ループゲイン調整方法であって、前記制御ループゲインのデフォルト値及び前記サーボアンプの電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに前記サーボモータの駆動を開始する工程と、前記サーボアンプの電源電圧を検出する工程と、検出した前記サーボアンプの電源電圧の変化に対して逆方向に変化するように前記制御ループゲインを調整する工程と、を備えるものである。   In order to achieve the above object, a control loop gain adjustment method for a servo amplifier according to the present invention provides a control amount of the servo motor corresponding to a control command from the outside to a servo motor provided at each joint of the robot. A control loop gain adjustment method for a servo amplifier that forms a control loop by feeding back, forming the control loop based on a default value of the control loop gain and a default value of a power supply voltage of the servo amplifier, and A step of starting drive of the servo motor, a step of detecting a power supply voltage of the servo amplifier, and a step of adjusting the control loop gain so as to change in the opposite direction to the detected change of the power supply voltage of the servo amplifier. Are provided.

この方法によれば、ロボットの各関節に設けられたサーボモータの駆動中(ロボット動作中)にサーボアンプの電源電圧が変動しても、サーボアンプの電源電圧の変化に対して逆方向に制御ループゲインが変化するので、制御ループの安定化が図られる。   According to this method, even if the power supply voltage of the servo amplifier fluctuates while the servo motors provided at each joint of the robot are being driven (during robot operation), control is performed in the opposite direction to the change in the power supply voltage of the servo amplifier. Since the loop gain changes, the control loop can be stabilized.

上記のサーボアンプの制御ループゲイン調整方法において、記制御ループは、前記サーボモータの電流を帰還させて形成される電流ループを含み、前記制御ループゲインを調整する工程は、前記電流ループ全体のゲインである電流ループゲインに含まれる比例ゲインを調整する、としてもよい。   In the servo amplifier control loop gain adjustment method, the control loop includes a current loop formed by feeding back the current of the servo motor, and the step of adjusting the control loop gain includes the gain of the entire current loop. The proportional gain included in the current loop gain may be adjusted.

この方法によれば、サーボアンプの電源電圧の変動に対して、簡易な制御で電流ループを安定化させることができる。   According to this method, the current loop can be stabilized with simple control against fluctuations in the power supply voltage of the servo amplifier.

上記のサーボアンプの制御ループゲイン調整方法において、検出した前記サーボアンプの電源電圧を上限値から下限値までの範囲内にリミット処理する工程を備える、としてもよい。   The servo amplifier control loop gain adjustment method may further include a step of limiting the detected power supply voltage of the servo amplifier within a range from an upper limit value to a lower limit value.

この方法によれば、簡易な制御で電流ループをさらに安定化させることができる。   According to this method, the current loop can be further stabilized by simple control.

上記のサーボアンプの制御ループゲイン調整方法において、調整した前記制御ループゲインを上限値から下限値までの範囲内にリミット処理する工程を備える、としてもよい。   The servo amplifier control loop gain adjustment method may further include a step of limiting the adjusted control loop gain within a range from an upper limit value to a lower limit value.

この方法によれば、簡易な制御で電流ループをさらに安定化させることができる。   According to this method, the current loop can be further stabilized by simple control.

上記のサーボアンプの制御ループゲイン調整方法において、検出した前記サーボアンプの電源電圧又は調整した前記制御ループゲインをフィルタ処理する工程を備える、としてもよい。   The servo amplifier control loop gain adjustment method may include a step of filtering the detected power supply voltage of the servo amplifier or the adjusted control loop gain.

この方法によれば、簡易な制御で電流ループをさらに安定化させることができる。
上記目的を達成するために、その他の本発明に係るサーボアンプの制御ループゲイン調整プログラムは、ロボットの各関節に設けられたサーボモータに対して外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成する、サーボアンプの制御ループゲイン調整プログラムであって、コンピュータに、前記制御ループゲインのデフォルト値及び前記サーボアンプの電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに前記サーボモータの駆動を開始する工程と、前記サーボアンプの電源電圧を検出する工程と、検出した前記サーボアンプの電源電圧の変化に対して逆方向に変化するように前記制御ループゲインを調整する工程と、を遂行させる、ものである。
According to this method, the current loop can be further stabilized by simple control.
In order to achieve the above object, another control loop gain adjustment program of a servo amplifier according to the present invention is provided for controlling a servo motor according to a control command from the outside with respect to a servo motor provided at each joint of a robot. A control loop gain adjustment program for a servo amplifier that forms a control loop by feeding back an amount, wherein a control loop gain based on a default value of the control loop gain and a default value of the power supply voltage of the servo amplifier And starting the drive of the servo motor, detecting the power supply voltage of the servo amplifier, and the control loop so as to change in the opposite direction to the detected change in the power supply voltage of the servo amplifier And a step of adjusting the gain.

上記目的を達成するために、その他の本発明に係るロボット制御装置は、ロボットの各関節に設けられたサーボモータに対して、外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成するサーボアンプを備えたロボット制御装置において、前記サーボアンプは、前記サーボモータを駆動する駆動部と、前記サーボアンプ全体の制御を司る制御部と、商用電源を整流して得られる直流の電源電圧を前記制御部に供給する電源部と、を備え、前記制御部は、前記制御ループの制御ループゲインのデフォルト値及び前記電源部の前記電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに、前記駆動部による前記サーボモータの駆動を開始する手段と、前記電源部の前記電源電圧を検出する手段と、検出した前記電源電圧が上昇する場合には減少させ、前記の電源電圧が下降する場合には増大させるように前記制御ループゲインを調整する手段と、を備えるものである。   In order to achieve the above object, another robot control device according to the present invention feeds back a control amount of the servo motor in accordance with an external control command to a servo motor provided at each joint of the robot. In the robot control apparatus including a servo amplifier that forms a control loop, the servo amplifier is obtained by rectifying a commercial power supply, a drive unit that drives the servo motor, a control unit that controls the servo amplifier as a whole. A power supply unit that supplies a DC power supply voltage to the control unit, the control unit based on a default value of a control loop gain of the control loop and a default value of the power supply voltage of the power supply unit, Forming a control loop, means for starting the drive of the servo motor by the drive unit, means for detecting the power supply voltage of the power supply unit, Reduced if the power supply voltage out is increased, the power supply voltage is of and means for adjusting said control loop gain to increase in the case of falling.

本発明によれば、ロボット動作中のサーボアンプの電源電圧の変動に対して簡易な制御で制御ループを安定化させることができる。   According to the present invention, the control loop can be stabilized with simple control against fluctuations in the power supply voltage of the servo amplifier during robot operation.

図1は、本発明の実施の形態に係るサーボアンプを含むロボット制御システムの全体構成を示した図である。FIG. 1 is a diagram showing an overall configuration of a robot control system including a servo amplifier according to an embodiment of the present invention. 図2は、図1に示すロボット制御装置の詳細な構成を示した図である。FIG. 2 is a diagram showing a detailed configuration of the robot control apparatus shown in FIG. 図3は、図2に示す電流サーボ制御系の概略のブロック線図である。FIG. 3 is a schematic block diagram of the current servo control system shown in FIG. 図4は、図1、図2に示すロボット制御装置の電流ループゲインの調整動作を説明するフローチャートである。FIG. 4 is a flowchart for explaining the adjustment operation of the current loop gain of the robot controller shown in FIGS. 図5は、図4に示すフローチャートを遂行したときの電流ループゲインKCP及びPN間電圧PNvoltageの時間的推移を表したグラフである。FIG. 5 is a graph showing temporal transitions of the current loop gain KCP and the PN voltage PNvoltage when the flowchart shown in FIG. 4 is performed.

以下、本発明の好ましい実施の形態を、図面を参照しながら説明する。なお、以下では全ての図を通じて同一又は相当する要素には同一の参照符号を付して、特に言及しない場合にはその重複する説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. In the following description, the same or corresponding elements are denoted by the same reference symbols throughout the drawings, and redundant description thereof is omitted unless otherwise specified.

[ロボット制御システムの構成]
図1は、本発明の実施の形態に係るサーボアンプを含むロボット制御システムの全体構成を示した図である。
[Robot control system configuration]
FIG. 1 is a diagram showing an overall configuration of a robot control system including a servo amplifier according to an embodiment of the present invention.

多関節ロボット100は、基台2が作業スペース下側の床面に設置される所謂床置き型の6軸の垂直ロボットとして構成されている。つまり、多関節ロボット100は、先端に設けられた手首と所定の基端から当該手首に向かって順に設けられた6つの関節JT1〜JT6とを具備し6つの関節JT1〜JT6が第1乃至第6回転軸A1〜A6をそれぞれ有し、かつ各回転軸A1〜A6の周りに次の関節を回転させるように構成されている。なお、上記の6つの関節及び6つの回転軸に付与された符号(JT1〜JT6、A1〜A6)は便宜上付したものであり、6つの関節及び6つの回転軸それぞれを識別可能であれば如何なる符号であってもよい。   The articulated robot 100 is configured as a so-called floor-standing 6-axis vertical robot in which the base 2 is installed on the floor surface below the work space. That is, the articulated robot 100 includes a wrist provided at the tip and six joints JT1 to JT6 provided in order from the predetermined base end toward the wrist, and the six joints JT1 to JT6 are first to first. It has 6 rotation axes A1 to A6, respectively, and is configured to rotate the next joint around each rotation axis A1 to A6. Note that the symbols (JT1 to JT6, A1 to A6) given to the six joints and the six rotation shafts are given for convenience, and any of the six joints and the six rotation shafts can be identified. It may be a code.

基台2が床面に適正に設置されると、第1乃至第6回転軸A1〜A6は、全ての互いに隣り合う関節の回転軸が互いに垂直となるように配置されている。基台2には、旋回台3、アーム部材(リンク)4、5、6、7及びアタッチメント9がこの順に連設されている。なお、アタッチメント9の先端を成すフランジ面には、各種の作業内容に応じて適宜選択されたツール部材11(図示せず)が着脱可能に取り付けられている。基台2からアタッチメント9までの連設された部材2〜7,9は互いに相対回転可能となるよう連結されている。以下、このように6つの関節JT1〜JT6によって互いに連接された部材群2〜7,9を、ロボットアームと定義する。   When the base 2 is properly installed on the floor surface, the first to sixth rotation axes A1 to A6 are arranged such that the rotation axes of all adjacent joints are perpendicular to each other. A swivel base 3, arm members (links) 4, 5, 6, 7 and an attachment 9 are connected to the base 2 in this order. A tool member 11 (not shown) appropriately selected according to various work contents is detachably attached to the flange surface forming the tip of the attachment 9. The continuous members 2 to 7 and 9 from the base 2 to the attachment 9 are connected so as to be rotatable relative to each other. Hereinafter, the member groups 2 to 7 and 9 connected to each other through the six joints JT1 to JT6 are defined as robot arms.

アーム部材6,7、及びアタッチメント9は、アタッチメント9に取り付けられるツール部材11に微細な動作を行わせるための人間の手首に似せた構造体10(以下、手首装置という。)を成している。第1回転軸A1、第2回転軸A2及び第3回転軸A3は、ツール部材11を手首装置10とともに水平旋回させたり揺動させたりするための回転軸として用いられ、多関節ロボット100の主軸を成している。第4回転軸A4、第5回転軸A5及び第6回転軸A6は、手首装置10に設定される回転軸である。   The arm members 6 and 7 and the attachment 9 form a structure 10 (hereinafter referred to as a wrist device) resembling a human wrist for causing the tool member 11 attached to the attachment 9 to perform a fine operation. . The first rotation axis A1, the second rotation axis A2, and the third rotation axis A3 are used as rotation axes for horizontally turning or swinging the tool member 11 together with the wrist device 10, and are the main axes of the articulated robot 100. Is made. The fourth rotation axis A4, the fifth rotation axis A5, and the sixth rotation axis A6 are rotation axes set in the wrist device 10.

第1乃至第6関節JT1〜JT6にはサーボモータM1〜M6及び位置検出器E1〜E6がそれぞれ設けられている。位置検出器E1〜E6は、例えば、ロータリーエンコーダで構成されている。上記の各サーボモータM1〜M6を駆動することにより、第1乃至第6関節JT1〜JT6においてそれぞれ許容される第1乃至第6回転軸A1〜A6周りの回転が行われる。なお、各サーボモータM1〜M6は互いに独立して駆動することが可能である。また、上記の各サーボモータM1〜M6が駆動されると、上記の各位置検出器E1〜E6によって上記の各サーボモータM1〜M6の第1乃至第6回転軸A1〜A6周りの回転位置の検出が行われる。   The first to sixth joints JT1 to JT6 are provided with servomotors M1 to M6 and position detectors E1 to E6, respectively. The position detectors E1 to E6 are composed of, for example, a rotary encoder. By driving the servo motors M1 to M6, the first to sixth joints JT1 to JT6 are allowed to rotate around the first to sixth rotation axes A1 to A6, respectively. Each servo motor M1 to M6 can be driven independently of each other. When the servo motors M1 to M6 are driven, the position detectors E1 to E6 set the rotational positions of the servo motors M1 to M6 around the first to sixth rotation axes A1 to A6. Detection is performed.

ロボット制御装置200は、多関節ロボット100の基台2の周辺に配置されている。なお、多関節ロボット100と遠隔に配置されていてもよいし、多関節ロボット100と物理的に着脱可能な形態で接続されてもよい。ロボット制御装置200は、サーボアンプ210を備えている。サーボアンプ210は、多関節ロボット100の第1乃至第6関節JT1〜JT6が具備するサーボモータM1〜M6それぞれに対し、アタッチメント9に取り付けられたツール部材11を任意の位置及び姿勢に任意の経路に沿って移動させるサーボ制御を行うものである。   The robot control device 200 is disposed around the base 2 of the articulated robot 100. The articulated robot 100 may be disposed remotely, or may be connected to the articulated robot 100 in a physically detachable form. The robot control device 200 includes a servo amplifier 210. The servo amplifier 210 passes the tool member 11 attached to the attachment 9 to an arbitrary position and posture with respect to each of the servo motors M1 to M6 included in the first to sixth joints JT1 to JT6 of the multi-joint robot 100. Servo control to move along

サーボアンプ210は、駆動部230、制御部240及び電源部250を備えている。なお、制御部240及び電源部250は、サーボアンプ210の外部に設けられてもよく、換言すると、サーボアンプ210は、駆動部230のみで構成されていてもよい。   The servo amplifier 210 includes a drive unit 230, a control unit 240, and a power supply unit 250. Note that the control unit 240 and the power supply unit 250 may be provided outside the servo amplifier 210. In other words, the servo amplifier 210 may be configured by only the drive unit 230.

駆動部230は、多関節ロボット100のサーボモータM1〜M6を駆動する直流−交流変換器であり、例えば、フルブリッジ回路又はハーフブリッジ回路から成るインバータで構成されている。なお、サーボアンプ210はサーボモータM1〜M6それぞれに対して個別のサーボループを形成するように複数設けられているが、1つのサーボアンプ210によってサーボモータM1〜M6が統括して駆動されるように構成されてもよい。この場合、駆動部230のみがサーボモータM1〜M6毎に設けられる。   The drive unit 230 is a DC-AC converter that drives the servo motors M1 to M6 of the articulated robot 100, and is configured by an inverter including a full bridge circuit or a half bridge circuit, for example. A plurality of servo amplifiers 210 are provided so as to form individual servo loops for each of the servo motors M1 to M6. However, the servo motors M1 to M6 are driven in a unified manner by one servo amplifier 210. May be configured. In this case, only the drive unit 230 is provided for each of the servo motors M1 to M6.

制御部240は、サーボアンプ210を含めたロボット制御装置200全体の制御を司るものであり、例えば、マイクロコントローラ、CPU、MPU、PLC、DSP、ASIC又はFPGAなどで構成されている。なお、制御部240は、互いに協働して分散制御する複数の制御器によって構成されていてもよい。例えば、上位制御装置とのインタフェース処理をCPUが担当し、サーボアンプ210の基本演算(位置ループ演算、速度ループ演算及び電流ループ演算)をDSPが担当するようにシステム構成されてもよい。   The control unit 240 controls the entire robot control apparatus 200 including the servo amplifier 210, and includes, for example, a microcontroller, CPU, MPU, PLC, DSP, ASIC, or FPGA. The control unit 240 may be configured by a plurality of controllers that perform distributed control in cooperation with each other. For example, the system may be configured such that the CPU is in charge of interface processing with the host controller and the DSP is in charge of basic calculations (position loop calculation, speed loop calculation, and current loop calculation) of the servo amplifier 210.

電源部250は、商用電源220(一次電源)を直流に整流して得られる電源電圧(後述のPN間電圧PNvoltage)を駆動部230に供給する交流−直流変換器であり、例えば、サイリスタ整流器、スイッチング電源によって構成されている。   The power source unit 250 is an AC-DC converter that supplies a power source voltage (a voltage PN voltage PN described later) obtained by rectifying the commercial power source 220 (primary power source) to a direct current to the driving unit 230. For example, a thyristor rectifier, It is composed of a switching power supply.

ロボット制御装置200は、ティーチペンダントなどの周辺装置(図示せず)と通信可能に接続可能となっている。ロボット制御装置200は、この周辺装置のオペレータの操作によって記憶された位置情報に応じて多関節ロボット100を並進又は回転運動させるための位置指令(制御指令)が入力される。すると、ロボット制御装置200は、制御時間毎に入力された上記の位置指令に基づいて、ツール部材11が当該制御時間の経過後に位置すべき目標位置を算出する。かかる目標位置は、制御時間と予め定められたツール部材11の制限移動速度などから求まる移動距離に基づいて算出された後、制御部240が演算可能となるようにツール座標系(直交座標系)において定義される座標データという形式に変換される。そして、制御部240は、目標位置の座標データの逆変換処理を行い、制御時間の経過後にツール部材11を目標位置に移動させるために必要となる関節角θ1〜θ6をそれぞれ演算し、これらの関節角θ1〜θ6と上記の位置検出器E1〜E6により検出される電源オン時の回転位置との偏差に基づき、第1乃至第6関節JT1〜JT6に設けられたサーボモータM1〜M6の動作量の指令値をそれぞれ演算し、各サーボモータM1〜M6に供給する。これにより、ツール部材11が制御時間の経過毎に目標位置に移動される。   The robot control device 200 is communicably connectable with a peripheral device (not shown) such as a teach pendant. The robot controller 200 receives a position command (control command) for translating or rotating the articulated robot 100 according to the position information stored by the operation of the operator of the peripheral device. Then, the robot control device 200 calculates a target position where the tool member 11 should be positioned after the control time has elapsed, based on the position command input every control time. Such a target position is calculated based on a movement distance obtained from a control time and a predetermined movement speed limit of the tool member 11, and the tool coordinate system (orthogonal coordinate system) so that the controller 240 can calculate the target position. Is converted into the format of coordinate data defined in. Then, the control unit 240 performs an inverse conversion process of the coordinate data of the target position, calculates joint angles θ1 to θ6 necessary for moving the tool member 11 to the target position after the control time has elapsed, The operations of the servo motors M1 to M6 provided in the first to sixth joints JT1 to JT6 based on the deviation between the joint angles θ1 to θ6 and the rotational position at power-on detected by the position detectors E1 to E6. The amount command value is calculated and supplied to each of the servo motors M1 to M6. As a result, the tool member 11 is moved to the target position every time the control time elapses.

[ロボット制御装置の構成]
図2は、図1に示すロボット制御装置の詳細な構成を示した図である。なお、同図に示す参照符号M及びEは、図1に示す各軸A1〜A6のサーボモータM1〜M6及び位置検出器E1〜E6のうちのいずれか一つを表している。駆動部230及び制御部240は、各軸A1〜A6それぞれに設けられるものである。また、同図に示す太線は、電流サーボ系の電流ループを表している。
[Robot controller configuration]
FIG. 2 is a diagram showing a detailed configuration of the robot control apparatus shown in FIG. Reference numerals M and E shown in the figure represent any one of the servo motors M1 to M6 and the position detectors E1 to E6 of the axes A1 to A6 shown in FIG. The drive unit 230 and the control unit 240 are provided on each of the axes A1 to A6. Also, the thick line shown in the figure represents the current loop of the current servo system.

電源部250は、商用電源220から供される三相交流又は単相交流を全波整流する全波整流器251と、全波整流器251の出力を直流に平滑化する平滑コンデンサ252と、サーボモータMが発電機として作動する回生時に用いられる回生抵抗253及び回生電力放電用トランジスタ254とを備えている。平滑コンデンサ252の両端子間の直流電圧は、後述の駆動部230のソーストランジスタT1及びシンクトランジスタT2の電源電圧として用いられる。以下では、平滑コンデンサ252の両端子間の電圧のことを、PN間電圧PNvoltageと呼ぶ。このPN間電圧PNvoltageを検出するために、電圧検出器255が設けられている。   The power supply unit 250 includes a full-wave rectifier 251 that full-wave rectifies three-phase AC or single-phase AC supplied from the commercial power supply 220, a smoothing capacitor 252 that smoothes the output of the full-wave rectifier 251 to DC, and a servo motor M. Are provided with a regenerative resistor 253 and a regenerative power discharging transistor 254 that are used during regenerative operation. The DC voltage between both terminals of the smoothing capacitor 252 is used as a power supply voltage for a source transistor T1 and a sink transistor T2 of the driving unit 230 described later. Hereinafter, the voltage between both terminals of the smoothing capacitor 252 is referred to as an inter-PN voltage PNvoltage. In order to detect this inter-PN voltage PNvoltage, a voltage detector 255 is provided.

駆動部230は、サーボモータMの各相それぞれに対して、PN間電圧PNvoltageを規定する正極Pと負極Nとの間に、例えば、ソーストランジスタT1とシンクトランジスタT2とが直列に接続されており、この接続点からサーボモータMの対応したコイルにコイル電流を供給するように構成されている。また、駆動部230は、電流サーボ制御のために、駆動部230からサーボモータMのコイルに供給されるコイル電流を検出する電流検出器231が設けられている。さらに、駆動部230は、無効電流及びサーボモータMが発電機として作動する回生時における電流の経路を形成するために、ソーストランジスタT1とシンクトランジスタT2それぞれに対して回生ダイオードD1,D2を並列に設けている。なお、図2では、図面の簡略化のために、サーボモータMの1相分の駆動部230の構成のみを図示している。   In the drive unit 230, for example, a source transistor T1 and a sink transistor T2 are connected in series between the positive electrode P and the negative electrode N that define the PN voltage PNvoltage for each phase of the servo motor M. The coil current is supplied to the corresponding coil of the servo motor M from this connection point. Further, the drive unit 230 is provided with a current detector 231 that detects a coil current supplied from the drive unit 230 to the coil of the servo motor M for current servo control. Further, the driving unit 230 forms the regenerative diodes D1 and D2 in parallel with respect to the source transistor T1 and the sink transistor T2, respectively, in order to form a reactive current and a current path during regeneration when the servo motor M operates as a generator. Provided. In FIG. 2, only the configuration of the driving unit 230 for one phase of the servo motor M is illustrated for the sake of simplification.

制御部240は、位置制御部241と、速度制御部242と、電流制御部243と、パルス幅変調部244と、回生制御部245と、ゲイン調整部246とを備えている。位置制御部241は、ロボット制御装置200からの位置指令とサーボモータMの位置検出器Eにより検出された回転位置との偏差に応じた速度指令を出力する。速度制御部242は、位置制御部241から出力された速度指令と位置検出器Eにより検出された回転位置の微分値(回転速度)との偏差に応じた電流指令(トルク指令)を出力する。電流制御部243は、速度制御部242から出力された電流指令と電流検出器231により検出されたコイル電流との偏差に応じた電圧指令を出力する。パルス幅変調部244は、電流制御部243から出力された電圧指令を三角波信号と比較して、駆動部230のソーストランジスタT1及びシンクトランジスタT2をオンオフさせるPWM信号を生成して出力する。   The control unit 240 includes a position control unit 241, a speed control unit 242, a current control unit 243, a pulse width modulation unit 244, a regeneration control unit 245, and a gain adjustment unit 246. The position control unit 241 outputs a speed command corresponding to the deviation between the position command from the robot controller 200 and the rotational position detected by the position detector E of the servo motor M. The speed control unit 242 outputs a current command (torque command) corresponding to the deviation between the speed command output from the position control unit 241 and the differential value (rotational speed) of the rotational position detected by the position detector E. The current control unit 243 outputs a voltage command corresponding to the deviation between the current command output from the speed control unit 242 and the coil current detected by the current detector 231. The pulse width modulation unit 244 compares the voltage command output from the current control unit 243 with a triangular wave signal, and generates and outputs a PWM signal for turning on and off the source transistor T1 and the sink transistor T2 of the driving unit 230.

回生制御部245は、電圧検出器255により検出されたPN間電圧PNvoltageを所定の閾値電圧(例えば、後述の上限値PNVOLT_MAX以上の値)と比較した結果に基づいて、回生電力放電用トランジスタ254をオンオフさせるスイッチング制御信号を出力する。詳しくは、回生制御部245は、PN間電圧PNvoltageが閾値電圧を上回るとき、回生電力放電用トランジスタ254をオンさせ、PN間電圧PNvoltageが閾値電圧を下回るとき、回生電力放電用トランジスタ254をオフさせるように、スイッチング制御信号を出力する。   Based on the result of comparing the PN voltage PNvoltage detected by the voltage detector 255 with a predetermined threshold voltage (for example, a value equal to or higher than an upper limit value PNVOLT_MAX described later), the regenerative control unit 245 controls the regenerative power discharging transistor 254. A switching control signal for turning on / off is output. Specifically, the regenerative control unit 245 turns on the regenerative power discharging transistor 254 when the inter-PN voltage PNvoltage exceeds the threshold voltage, and turns off the regenerative power discharging transistor 254 when the inter-PN voltage PNvoltage falls below the threshold voltage. In this manner, the switching control signal is output.

ゲイン調整部246は、電圧検出器255により検出されたPN間電圧PNvoltageのレベルに基づいて、電流制御部243の電流ループゲインを調整するものである。   The gain adjusting unit 246 adjusts the current loop gain of the current control unit 243 based on the level of the PN voltage PNvoltage detected by the voltage detector 255.

図3は、図2に示す電流サーボ制御系の概略のブロック線図である。同図に示すように、電流制御部243は、速度制御部242から出力される電流指令iと電流検出器231により検出されたコイル電流との偏差が入力され、該偏差を入力とする比例ゲインKCPの伝達関数の出力を出力する比例要素247と、比例要素247の出力を入力とする積分ゲインKCIの伝達関数の出力を出力する積分要素248と、を備え、比例要素247の出力と積分要素248の出力とを加算した結果を電圧指令vとして出力するものである。電流制御部243から出力された電圧指令vは電子回路上でパルス幅変調部244によりスイッチングされた後に抵抗成分Rとインダクタンス成分Lを有するサーボモータMに与えられ、その応答としてのコイル電流iが電流制御部243の入力へとフィードバックされる。   FIG. 3 is a schematic block diagram of the current servo control system shown in FIG. As shown in the figure, the current control unit 243 receives a deviation between the current command i output from the speed control unit 242 and the coil current detected by the current detector 231, and uses the deviation as a proportional gain. A proportional element 247 that outputs the output of the transfer function of KCP, and an integral element 248 that outputs the output of the transfer function of the integral gain KCI that receives the output of the proportional element 247, and the output of the proportional element 247 and the integral element The result obtained by adding the output of 248 is output as a voltage command v. The voltage command v output from the current control unit 243 is switched by the pulse width modulation unit 244 on the electronic circuit, and then applied to the servo motor M having the resistance component R and the inductance component L, and the coil current i as a response is given. Feedback is made to the input of the current control unit 243.

ここで、電流制御部243のブロック構成では、積分要素248は単なる時定数要素として作用するので、比例要素247の作用が支配的となっている。従って、図3に示す電流制御部243の電流ループゲインは、比例要素247の比例ゲインKCPのみで取り扱っても差し支えなく、電流制御部243では、比例要素247の比例ゲインKCPをPN間電圧PNvoltageのレベルに応じて可変なゲインとしている。   Here, in the block configuration of the current control unit 243, since the integral element 248 acts as a simple time constant element, the action of the proportional element 247 is dominant. Therefore, the current loop gain of the current control unit 243 shown in FIG. 3 can be handled only by the proportional gain KCP of the proportional element 247. In the current control unit 243, the proportional gain KCP of the proportional element 247 is converted to the PN voltage PNvoltage. The gain is variable according to the level.

[ロボット制御装置の動作(電流ループゲイン調整)]
図4は、図1、図2に示すロボット制御装置の電流ループゲインの調整動作を説明するフローチャートである。
[Robot controller operation (current loop gain adjustment)]
FIG. 4 is a flowchart for explaining the adjustment operation of the current loop gain of the robot controller shown in FIGS.

まず、商用電源220の交流電力が全波整流器251によって全波整流され、平滑コンデンサ252には直流かつデフォルト値PNVOLT_DEF(例えば、実効値210V、整流値297V)のPN間電圧PNvoltageが充電されており、このPN間電圧PNvoltageが駆動部230のブリッジ回路の電源電圧として出力されている。また、ゲイン調整部246は、電流制御部243の電流ループゲイン(比例ゲイン)KCPをデフォルト値KCP_Defaultに初期設定している(ステップS400)。   First, the AC power of the commercial power supply 220 is full-wave rectified by the full-wave rectifier 251, and the smoothing capacitor 252 is charged with a PN voltage PNvoltage of DC and a default value PNVOLT_DEF (for example, effective value 210V, rectified value 297V). The PN voltage PNvoltage is output as the power supply voltage of the bridge circuit of the drive unit 230. Further, the gain adjustment unit 246 initially sets the current loop gain (proportional gain) KCP of the current control unit 243 to the default value KCP_Default (step S400).

つぎに、ロボット制御装置200は、多関節ロボット100のサーボモータM1〜M6に対して位置サーボ制御、速度サーボ制御及び電流サーボ制御を開始する。すると、ロボットアームの加速や該ロボットアーム先端のツール部材11によってワークを持ち上げる場合など、多くの電力消費を伴うサーボ制御が行われるときに、商用電源220から供給される電力が各軸のサーボモータM1〜M6で消費される電力に間に合わず、電源部250から駆動部230のブリッジ回路に供給されるPN間電圧PNvoltageが低下することがある。あるいは、ロボットアームの減速や該ロボットアーム先端のツール部材11によってワークを降ろす場合など、サーボモータM1〜M6が発電機として作動する回生動作を伴うサーボ制御が行われるときに、回生抵抗253によってサーボモータM1〜M6が発生した回生電力を消費しきれず、PN間電圧PNvoltageが上昇することがある。   Next, the robot control apparatus 200 starts position servo control, speed servo control, and current servo control for the servo motors M1 to M6 of the articulated robot 100. Then, when servo control with a large amount of power consumption is performed, such as when the workpiece is lifted by the acceleration of the robot arm or the tool member 11 at the tip of the robot arm, the electric power supplied from the commercial power supply 220 is the servo motor of each axis. The PN voltage PNvoltage supplied from the power supply unit 250 to the bridge circuit of the driving unit 230 may decrease in time for the power consumed by M1 to M6. Alternatively, when the servo control accompanied by the regenerative operation in which the servo motors M1 to M6 operate as a generator is performed, such as when the workpiece is lowered by the tool member 11 at the tip of the robot arm or the robot arm tip, the servo is performed by the regenerative resistor 253. The regenerative power generated by the motors M1 to M6 may not be consumed, and the PN voltage PNvoltage may increase.

そこで、ゲイン調整部246は、PN間電圧PNvoltageがデフォルト値PNVOLT_DEFのα倍になれば、電流制御部243の電流ループゲインKCPをデフォルト値KCP_Defaultの1/α倍に変更する。これにより、ロボットアームの動作状況によってPN間電圧PNvoltageが変動したとしても、電流サーボ制御の電流ループ特性を一定に保つことができる。   Therefore, the gain adjustment unit 246 changes the current loop gain KCP of the current control unit 243 to 1 / α times the default value KCP_Default when the PN voltage PNvoltage becomes α times the default value PNVOLT_DEF. Thereby, even if the voltage PNvoltage between PN fluctuates with the operation state of the robot arm, the current loop characteristic of the current servo control can be kept constant.

具体的には、ゲイン調整部246は、電圧検出器255によって検出されたPN間電圧PNvoltageを取得して所定の変数に代入し(ステップS401)、このPN間電圧PNvoltageの変数値が上限値PNVOLT_MAX(例えば350V)から下限値PNVOLT_MIN(例えば250V)までの範囲内に収まっている否かを判定する(ステップS402)。PN間電圧PNvoltageの変数値が上限値PNVOLT_MAXから下限値PNVOLT_MINまでの範囲内に収まっていれば(ステップS402:YES)、電流制御部243の電流ループゲインKCPを次式により演算して所定のバッファに書き込む(ステップS403)。   Specifically, the gain adjustment unit 246 acquires the PN voltage PNvoltage detected by the voltage detector 255 and substitutes it into a predetermined variable (step S401), and the variable value of the PN voltage PNvoltage is the upper limit value PNVOLT_MAX. It is determined whether or not it is within a range from (for example, 350V) to a lower limit value PNVOLT_MIN (for example, 250V) (step S402). If the variable value of the inter-PN voltage PNvoltage is within the range from the upper limit value PNVOLT_MAX to the lower limit value PNVOLT_MIN (step S402: YES), the current loop gain KCP of the current control unit 243 is calculated by the following equation to obtain a predetermined buffer. (Step S403).

KCP=(PNVOLT_DEF[V]/PNvoltage[V])*KCP_default ・・・(式1)
(式1)はPN間電圧PNvoltageと電流ループゲインKCPとの間には反比例の関係が成立することを表している。
KCP = (PNVOLT_DEF [V] / PNvoltage [V]) * KCP_default (Expression 1)
(Expression 1) indicates that an inversely proportional relationship is established between the PN voltage PNvoltage and the current loop gain KCP.

PN間電圧PNvoltageの変数値が上限値PNVOLT_MAX以上であれば(ステップS402:NO)、PN間電圧PNvoltageの変数値を上限値PNVOLT_MAXに維持し、下限値PNVOLT_MIN以下であれば(ステップS402:NO)、PN間電圧PNvoltageの変数値を下限値PNVOLTに維持する(ステップS404)。この様にする理由は、電流ループゲインKCPの急激な変化に伴う電流サーボ制御の不安定性を抑止するためである。そして、上記のステップS403に移行して、(式1)に基づいて電流ループゲインKCPが演算される。つまり、電流ループゲインKCPの上限値KCP_MAX及び下限値KCP_MINは、それぞれ次式で表される。   If the variable value of the PN voltage PNvoltage is not less than the upper limit value PNVOLT_MAX (step S402: NO), the variable value of the PN voltage PNvoltage is maintained at the upper limit value PNVOLT_MAX, and if the variable value is not more than the lower limit value PNVOLT_MIN (step S402: NO). The variable value of the PN voltage PNvoltage is maintained at the lower limit value PNVOLT (step S404). The reason for this is to suppress the instability of current servo control that accompanies a rapid change in the current loop gain KCP. Then, the process proceeds to step S403, and the current loop gain KCP is calculated based on (Equation 1). That is, the upper limit value KCP_MAX and the lower limit value KCP_MIN of the current loop gain KCP are each expressed by the following equations.

KCP_MAX=(PNVOLT_DEF[V]/PNVOLT_MIN[V])*KCP_default ・・・(式2)
KCP_MIN=(PNVOLT_DEF[V]/PNVOLT_MAX[V])*KCP_default ・・・(式3)
つぎに、ゲイン調整部246は、バッファに書き込まれた電流ループゲインKCPの変数値に対してローパスフィルタ処理を実行し(ステップS405)、上限値KCP_MAXから下限値KCP_MINの範囲内に収まるようにリミット処理を実行する(ステップS406)。電流ループゲインKCPの急激な変化に伴う電流サーボ制御の不安定性をさらに抑止するためである。
KCP_MAX = (PNVOLT_DEF [V] / PNVOLT_MIN [V]) * KCP_default (Expression 2)
KCP_MIN = (PNVOLT_DEF [V] / PNVOLT_MAX [V]) * KCP_default (Expression 3)
Next, the gain adjustment unit 246 performs low-pass filter processing on the variable value of the current loop gain KCP written in the buffer (step S405), and limits the value so as to fall within the range from the upper limit value KCP_MAX to the lower limit value KCP_MIN. Processing is executed (step S406). This is to further suppress the instability of current servo control that accompanies a rapid change in the current loop gain KCP.

つぎに、ゲイン調整部246は、電流制御部243に初期設定されているデフォルト値KCP_Defaultを、ステップS406で求められた電流ループゲインKCPに変更する(ステップS407)。以降の処理として、ゲイン調整部246は、ステップS401〜S407を繰り返し実行する。   Next, the gain adjustment unit 246 changes the default value KCP_Default that is initially set in the current control unit 243 to the current loop gain KCP obtained in Step S406 (Step S407). As the subsequent processing, the gain adjustment unit 246 repeatedly executes steps S401 to S407.

図5は、図4に示すフローチャートに従って電流ループゲインKCPを調整したときのPN間電圧PNvoltage及び電流ループゲインKCPの時間的推移を表したグラフである。詳しくは、PN間電圧PNvoltageが上限値PNVOLT_MAX以上となるときの電流ループゲインKCPの時間的推移を表したグラフである。以下、同図に現れた状況を説明する。   FIG. 5 is a graph showing the temporal transition of the PN voltage PNvoltage and the current loop gain KCP when the current loop gain KCP is adjusted according to the flowchart shown in FIG. Specifically, it is a graph showing the temporal transition of the current loop gain KCP when the PN voltage PNvoltage is equal to or higher than the upper limit value PNVOLT_MAX. The situation that appears in the figure will be described below.

ロボットアームの減速や該ロボットアーム先端のツール部材11によってワークを降ろすことで、PN間電圧PNvoltageはデフォルト値PNVOLT_DEFから上限値PNVOLT_MAXまで上昇する。このとき、PN間電圧PNvoltageは上限値PNVOLT_MAXから下限値PNVOLT_MINまでの範囲内に収まっているので、ゲイン調整部246は、上記の(式1)に従って、PN間電圧PNvoltageの上昇に反比例して電流制御部243の電流ループゲインKCPを下げるようにする。   By decelerating the robot arm or lowering the workpiece by the tool member 11 at the tip of the robot arm, the PN voltage PNvoltage rises from the default value PNVOLT_DEF to the upper limit value PNVOLT_MAX. At this time, since the inter-PN voltage PNvoltage is within the range from the upper limit value PNVOLT_MAX to the lower limit value PNVOLT_MIN, the gain adjusting unit 246 determines the current in inverse proportion to the increase in the inter-PN voltage PNvoltage according to the above (Equation 1). The current loop gain KCP of the control unit 243 is lowered.

PN間電圧PNvoltageが上限値PNVOLT_MAX以上となれば、ゲイン調整部246は、電流制御部243の電流ループゲインKCPを下限値KCP_MINに維持する。なお、PN間電圧PNvoltageの上昇に伴ってサーボモータMは発電機として作動している。すると、回生制御部245は、PN間電圧PNvoltageが上限値PNVOLT_MAX以上の閾値電圧となったことを契機として、回生電力放電用トランジスタ254をオフからオンに切り替えるので、回生抵抗253によって回生電力が消費され、PN間電圧PNvoltageは下降することになる。なお、回生動作は継続しているため、PN間電圧PNvoltageは上限値PNVOLT_MAXまで下降すると、回生制御部245は、回生電力放電用トランジスタ254をオンからオフに切り替え、PN間電圧PNvoltageは再び上昇する。このように、回生電力放電用トランジスタ254のオンオフにより、PN間電圧PNvoltageは上昇と下降とを繰り返すことになる。   If the inter-PN voltage PNvoltage is equal to or greater than the upper limit value PNVOLT_MAX, the gain adjustment unit 246 maintains the current loop gain KCP of the current control unit 243 at the lower limit value KCP_MIN. Note that the servomotor M operates as a power generator as the inter-PN voltage PNvoltage increases. Then, the regenerative control unit 245 switches the regenerative power discharging transistor 254 from OFF to ON when the inter-PN voltage PNvoltage becomes a threshold voltage equal to or higher than the upper limit value PNVOLT_MAX. As a result, the inter-PN voltage PNvoltage falls. Since the regenerative operation continues, when the inter-PN voltage PNvoltage falls to the upper limit value PNVOLT_MAX, the regenerative control unit 245 switches the regenerative power discharging transistor 254 from on to off, and the inter-PN voltage PNvoltage rises again. . In this manner, the PN voltage PNvoltageage repeatedly rises and falls by turning on and off the regenerative power discharging transistor 254.

回生動作が終了したとき、PN間電圧PNvoltageは上限値PNVOLT_MAXからデフォルト値PNVOLT_DEFまで徐々に下降する。このとき、PN間電圧PNvoltageは上限値PNVOLT_MAXから下限値PNVOLT_MINまでの範囲内に収まっているので、ゲイン調整部246は、上記の(式1)に従って、PN間電圧PNvoltageの下降に反比例して電流制御部243の電流ループゲインKCPを下限値KCP_MINから上げるようにする。なお、PN間電圧PNvoltageはデフォルト値PNVOLT_DEFとなった後では、電流ループゲインKCPはデフォルト値KCP_Defaultに維持される。   When the regenerative operation ends, the PN voltage PNvoltage gradually decreases from the upper limit value PNVOLT_MAX to the default value PNVOLT_DEF. At this time, since the inter-PN voltage PNvoltage is within the range from the upper limit value PNVOLT_MAX to the lower limit value PNVOLT_MIN, the gain adjusting unit 246 determines the current in inverse proportion to the decrease in the inter-PN voltage PNvoltage according to (Equation 1). The current loop gain KCP of the control unit 243 is increased from the lower limit value KCP_MIN. Note that the current loop gain KCP is maintained at the default value KCP_Default after the inter-PN voltage PNvoltage has reached the default value PNVOLT_DEF.

[変形例]
PN間電圧PNvoltageのレベルに応じて可変させる電流制御ループゲインは、電流制御部243の比例ゲインKCP及び積分ゲインKCIの両方であってもよい。また、電流制御部243はPID制御を行うように構成されてもよく、この場合、PN間電圧PNvoltageのレベルに応じて可変させる電流制御ループゲインは、比例ゲイン、比例ゲイン+積分ゲイン、比例ゲイン+微分ゲイン、又は比例ゲイン+積分ゲイン+微分ゲインのうちのいずれか一つとしてもよい。
電流ループゲインKCPに対して実行したローパスフィルタ処理は、電圧検出器255から取得したPN間電圧PNvoltageに対して実行してもよい。
電流ループゲインKCPに対して実行したローパスフィルタ処理は、バンドパスフィルタ処理などの他のフィルタ処理であってもよい。
[Modification]
The current control loop gain that is varied according to the level of the PN voltage PNvoltage may be both the proportional gain KCP and the integral gain KCI of the current control unit 243. In addition, the current control unit 243 may be configured to perform PID control. In this case, the current control loop gain to be varied according to the level of the PN voltage PNvoltage is proportional gain, proportional gain + integral gain, proportional gain. It may be any one of + differential gain, or proportional gain + integral gain + differential gain.
The low-pass filter process executed for the current loop gain KCP may be executed for the PN voltage PNvoltage acquired from the voltage detector 255.
The low-pass filter process executed on the current loop gain KCP may be another filter process such as a band-pass filter process.

なお、ロボット制御装置200の制御対象であるロボットは、上述の6軸の多関節ロボット100には限定されず、任意のロボットであってよい。例えば、6軸以外の多軸の関節ロボット、関節ロボット以外のタイプのロボットであってもよい。   The robot to be controlled by the robot control apparatus 200 is not limited to the above-described 6-axis articulated robot 100, and may be an arbitrary robot. For example, a multi-axis joint robot other than six axes or a robot other than a joint robot may be used.

また、駆動部230のブリッジ回路を構成するスイッチング素子として、上述のトランジスタ以外に、GTO、IGBT、SIサイリスタ等を用いることができる。   In addition to the above-described transistors, GTO, IGBT, SI thyristor, or the like can be used as a switching element constituting the bridge circuit of the driving unit 230.

上記説明から、当業者にとっては、本発明の多くの改良や他の実施形態が明らかである。従って、上記説明は、例示としてのみ解釈されるべきであり、本発明を実行する最良の態様を当業者に教示する目的で提供されたものである。本発明の精神を逸脱することなく、その構造及び/又は機能の詳細を実質的に変更できる。   From the foregoing description, many modifications and other embodiments of the present invention are obvious to one skilled in the art. Accordingly, the foregoing description should be construed as illustrative only and is provided for the purpose of teaching those skilled in the art the best mode of carrying out the invention. The details of the structure and / or function may be substantially changed without departing from the spirit of the invention.

本発明は、サーボアンプの制御ループゲイン調整方法、プログラム及びロボット制御装置に係り、ロボット動作中のサーボアンプの電源電圧の変動に対して簡易な制御で制御ループを安定化させる上で有用である。   The present invention relates to a servo amplifier control loop gain adjustment method, a program, and a robot control apparatus, and is useful for stabilizing a control loop with simple control against fluctuations in power supply voltage of a servo amplifier during robot operation. .

100…多関節ロボット
M1〜M6…サーボモータ
E1〜E6…位置検出器
A1〜A6…回転軸
JT1〜JT6…関節
2…基台
3…旋回台
4〜7…アーム部材
9…アタッチメント
10…手首装置
11…ツール部材
200…ロボット制御装置
210…サーボアンプ
220…商用電源
230…駆動部
231…電流検出器
T1…ソーストランジスタ
T2…シンクトランジスタ
D1、D2…回生ダイオード
240…制御部
241…位置制御部
242…速度制御部
243…電流制御部
244…パルス幅変調部
245…回生制御部
246…ゲイン調整部
247…比例要素
248…積分要素
250…電源部
251…全波整流器
252…平滑コンデンサ
253…回生抵抗
254…回生電力放電用トランジスタ
255…電圧検出器
DESCRIPTION OF SYMBOLS 100 ... Articulated robot M1-M6 ... Servo motors E1-E6 ... Position detector A1-A6 ... Rotating shaft JT1-JT6 ... Joint 2 ... Base 3 ... Turning base 4-7 ... Arm member 9 ... Attachment 10 ... Wrist device DESCRIPTION OF SYMBOLS 11 ... Tool member 200 ... Robot control apparatus 210 ... Servo amplifier 220 ... Commercial power supply 230 ... Drive part 231 ... Current detector T1 ... Source transistor T2 ... Sink transistor D1, D2 ... Regenerative diode 240 ... Control part 241 ... Position control part 242 ... speed controller 243 ... current controller 244 ... pulse width modulator 245 ... regenerative controller 246 ... gain adjuster 247 ... proportional element 248 ... integral element 250 ... power supply 251 ... full-wave rectifier 252 ... smoothing capacitor 253 ... regenerative resistor 254 ... Regenerative power discharging transistor 255 ... Voltage detector

Claims (7)

ロボットの各関節に設けられたサーボモータに対して外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成する、サーボアンプの制御ループゲイン調整方法であって、
前記制御ループゲインのデフォルト値及び前記サーボアンプの電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに前記サーボモータの駆動を開始する工程と、
前記サーボアンプの電源電圧を検出する工程と、
検出した前記サーボアンプの電源電圧の変化に対して逆方向に変化するように前記制御ループゲインを調整する工程と、
を備えるサーボアンプの制御ループゲイン調整方法。
A control loop gain adjustment method for a servo amplifier that forms a control loop by feeding back a control amount of the servo motor according to a control command from the outside to a servo motor provided at each joint of the robot,
Based on the default value of the control loop gain and the default value of the power supply voltage of the servo amplifier, forming the control loop and starting driving the servo motor;
Detecting a power supply voltage of the servo amplifier;
Adjusting the control loop gain to change in the opposite direction to the detected change in power supply voltage of the servo amplifier;
A control loop gain adjustment method for a servo amplifier comprising:
前記制御ループは、前記サーボモータの電流を帰還させて形成される電流ループを含み、
前記制御ループゲインを調整する工程は、前記電流ループ全体のゲインである電流ループゲインに含まれる比例ゲインを調整する、請求項1に記載のサーボアンプの制御ループゲイン調整方法。
The control loop includes a current loop formed by feeding back the current of the servo motor,
The servo amplifier control loop gain adjustment method according to claim 1, wherein the step of adjusting the control loop gain adjusts a proportional gain included in a current loop gain that is a gain of the entire current loop.
検出した前記サーボアンプの電源電圧を上限値から下限値までの範囲内にリミット処理する工程を備える、請求項1に記載のサーボアンプの制御ループゲイン調整方法   2. The servo amplifier control loop gain adjusting method according to claim 1, further comprising a step of limiting the detected power supply voltage of the servo amplifier within a range from an upper limit value to a lower limit value. 調整した前記制御ループゲインを上限値から下限値までの範囲内にリミット処理する工程を備える、請求項1に記載のサーボアンプの制御ループゲイン調整方法。   The method of adjusting a control loop gain of a servo amplifier according to claim 1, further comprising a step of limiting the adjusted control loop gain within a range from an upper limit value to a lower limit value. 検出した前記サーボアンプの電源電圧又は調整した前記制御ループゲインをフィルタ処理する工程を備える、請求項1に記載のサーボアンプの制御ループゲイン調整方法。   The servo amplifier control loop gain adjustment method according to claim 1, further comprising a step of filtering the detected power supply voltage of the servo amplifier or the adjusted control loop gain. ロボットの各関節に設けられたサーボモータに対して外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成する、サーボアンプの制御ループゲイン調整プログラムであって、
コンピュータに、
前記制御ループゲインのデフォルト値及び前記サーボアンプの電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに前記サーボモータの駆動を開始する工程と、
前記サーボアンプの電源電圧を検出する工程と、
検出した前記サーボアンプの電源電圧の変化に対して逆方向に変化するように前記制御ループゲインを調整する工程と、
を遂行させる、サーボアンプの制御ループゲイン調整プログラム。
A control loop gain adjustment program of a servo amplifier that forms a control loop by feeding back a control amount of the servo motor according to a control command from the outside to a servo motor provided at each joint of the robot,
On the computer,
Based on the default value of the control loop gain and the default value of the power supply voltage of the servo amplifier, forming the control loop and starting driving the servo motor;
Detecting a power supply voltage of the servo amplifier;
Adjusting the control loop gain to change in the opposite direction to the detected change in power supply voltage of the servo amplifier;
This is a servo amplifier control loop gain adjustment program.
ロボットの各関節に設けられたサーボモータに対して、外部からの制御指令に応じた該サーボモータの制御量を帰還させて制御ループを形成するサーボアンプを備えたロボット制御装置において、
前記サーボアンプは、
前記サーボモータを駆動する駆動部と、
前記サーボアンプ全体の制御を司る制御部と、
商用電源を整流して得られる直流の電源電圧を前記制御部に供給する電源部と、を備え、
前記制御部は、
前記制御ループの制御ループゲインのデフォルト値及び前記電源部の前記電源電圧のデフォルト値に基づいて、前記制御ループを形成するとともに、前記駆動部による前記サーボモータの駆動を開始する手段と、
前記電源部の前記電源電圧を検出する手段と、
検出した前記電源電圧が上昇する場合には減少させ、前記の電源電圧が下降する場合には増大させるように前記制御ループゲインを調整する手段と、
を備えるロボット制御装置。
In a robot control apparatus provided with a servo amplifier that forms a control loop by feeding back a control amount of the servo motor according to a control command from the outside to a servo motor provided at each joint of the robot,
The servo amplifier is
A drive unit for driving the servo motor;
A control unit that controls the entire servo amplifier;
A power supply unit that supplies a DC power supply voltage obtained by rectifying a commercial power supply to the control unit,
The controller is
Based on the default value of the control loop gain of the control loop and the default value of the power supply voltage of the power supply unit, the control loop is formed, and the drive unit starts driving the servo motor;
Means for detecting the power supply voltage of the power supply unit;
Means for adjusting the control loop gain to decrease when the detected power supply voltage rises and to increase when the power supply voltage decreases;
A robot control device comprising:
JP2010276687A 2010-12-13 2010-12-13 Servo amplifier control loop gain adjusting method, program, and robot controller Active JP5681470B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010276687A JP5681470B2 (en) 2010-12-13 2010-12-13 Servo amplifier control loop gain adjusting method, program, and robot controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010276687A JP5681470B2 (en) 2010-12-13 2010-12-13 Servo amplifier control loop gain adjusting method, program, and robot controller

Publications (3)

Publication Number Publication Date
JP2012125844A true JP2012125844A (en) 2012-07-05
JP2012125844A5 JP2012125844A5 (en) 2014-03-13
JP5681470B2 JP5681470B2 (en) 2015-03-11

Family

ID=46643495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010276687A Active JP5681470B2 (en) 2010-12-13 2010-12-13 Servo amplifier control loop gain adjusting method, program, and robot controller

Country Status (1)

Country Link
JP (1) JP5681470B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014024178A (en) * 2012-07-30 2014-02-06 Daihen Corp Robot control device
JP2014066206A (en) * 2012-09-26 2014-04-17 Keihin Corp Electronic control device
JP2015174207A (en) * 2014-03-18 2015-10-05 セイコーエプソン株式会社 robot
KR20200097982A (en) * 2019-02-11 2020-08-20 동의대학교 산학협력단 RBFNN Based Decentralized Adaptive Tracking Control Using PSO for an Uncertain Electrically Driven Robot System with Input Saturation
WO2022059399A1 (en) * 2020-09-17 2022-03-24 オムロン株式会社 Servo dc power supply system, motor control device, and servo motor control method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63107486A (en) * 1986-10-22 1988-05-12 Fanuc Ltd Servo motor control system
JPH01194890A (en) * 1988-01-29 1989-08-04 Fanuc Ltd Speed controller
JPH01255015A (en) * 1988-04-05 1989-10-11 Mitsubishi Electric Corp Robot controller
JPH03265485A (en) * 1990-03-14 1991-11-26 Matsushita Electric Ind Co Ltd Controller for servo motor
JPH05137367A (en) * 1991-11-12 1993-06-01 Mitsubishi Electric Corp Motor controller
JPH08205569A (en) * 1995-01-18 1996-08-09 Fanuc Ltd Input voltage measuring method and control gain setting method for servo amplifier
JPH08251922A (en) * 1995-03-10 1996-09-27 Kawasaki Heavy Ind Ltd Power supply for playback apparatus
JP2000222004A (en) * 1999-02-01 2000-08-11 Toshiba Mach Co Ltd Robot controller
JP2010161854A (en) * 2009-01-07 2010-07-22 Yaskawa Electric Corp Motor controller

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63107486A (en) * 1986-10-22 1988-05-12 Fanuc Ltd Servo motor control system
JPH01194890A (en) * 1988-01-29 1989-08-04 Fanuc Ltd Speed controller
JPH01255015A (en) * 1988-04-05 1989-10-11 Mitsubishi Electric Corp Robot controller
JPH03265485A (en) * 1990-03-14 1991-11-26 Matsushita Electric Ind Co Ltd Controller for servo motor
JPH05137367A (en) * 1991-11-12 1993-06-01 Mitsubishi Electric Corp Motor controller
JPH08205569A (en) * 1995-01-18 1996-08-09 Fanuc Ltd Input voltage measuring method and control gain setting method for servo amplifier
JPH08251922A (en) * 1995-03-10 1996-09-27 Kawasaki Heavy Ind Ltd Power supply for playback apparatus
JP2000222004A (en) * 1999-02-01 2000-08-11 Toshiba Mach Co Ltd Robot controller
JP2010161854A (en) * 2009-01-07 2010-07-22 Yaskawa Electric Corp Motor controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014024178A (en) * 2012-07-30 2014-02-06 Daihen Corp Robot control device
JP2014066206A (en) * 2012-09-26 2014-04-17 Keihin Corp Electronic control device
JP2015174207A (en) * 2014-03-18 2015-10-05 セイコーエプソン株式会社 robot
KR20200097982A (en) * 2019-02-11 2020-08-20 동의대학교 산학협력단 RBFNN Based Decentralized Adaptive Tracking Control Using PSO for an Uncertain Electrically Driven Robot System with Input Saturation
KR102275302B1 (en) 2019-02-11 2021-07-08 동의대학교 산학협력단 RBFNN Based Decentralized Adaptive Tracking Control Using PSO for an Uncertain Electrically Driven Robot System with Input Saturation
WO2022059399A1 (en) * 2020-09-17 2022-03-24 オムロン株式会社 Servo dc power supply system, motor control device, and servo motor control method
TWI800905B (en) * 2020-09-17 2023-05-01 日商歐姆龍股份有限公司 Servo DC power supply system, motor control device and control method for servo motor

Also Published As

Publication number Publication date
JP5681470B2 (en) 2015-03-11

Similar Documents

Publication Publication Date Title
JP5681470B2 (en) Servo amplifier control loop gain adjusting method, program, and robot controller
JP6170150B2 (en) Method and apparatus for providing welded power
CN105531922B (en) System and method for control regeneration energy in being driven in adjustable speed
CN104589304A (en) Robot control device and robot
JP2015015844A (en) Motor control device having feed forward control
CN102201777A (en) Control device and control method of induction motor
US9962833B2 (en) System and method for adjusting end-effector actuation based on relative position with respect to gravitational force
US11353830B2 (en) Servo control method
WO2006114843A1 (en) Servo motor controller
TWI559670B (en) Position controlling device
JPWO2008093486A1 (en) Moment of inertia identification device, identification method thereof, and motor control device including the identification device
JP2017011841A (en) Drive controller
JP2016005296A (en) Control method of motor drive device, motor drive device and robot device
JP2014087874A (en) Industrial robot
JPS62210866A (en) Controller of pwm power converter
JP5857845B2 (en) Robot system
US11863105B2 (en) Method and control system for controlling an electric motor
CN107866811B (en) Over-step self-adjusting method, motion control component and robot
JP2015116074A (en) Motor control method, motor device and robot
US20230318507A1 (en) Control Apparatus And Robot System
Urrea et al. Design, Analysis, and Comparison of Control Strategies for an Industrial Robotic Arm Driven by a Multi-Level Inverter. Symmetry 2021, 13, 86
KR20190091915A (en) Independent integrated motor control system for controlling multiple motor
WO2022097311A1 (en) Power supply system and power supply unit
JP2004187379A (en) Controller of motor
US20220203561A1 (en) Control Method For Regenerative Brake And Robot System

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140930

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141028

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20141216

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150109

R150 Certificate of patent or registration of utility model

Ref document number: 5681470

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250