JP2008204188A - Motion controller, motion planner, multi-shaft servo system and servo amplifier - Google Patents

Motion controller, motion planner, multi-shaft servo system and servo amplifier Download PDF

Info

Publication number
JP2008204188A
JP2008204188A JP2007039839A JP2007039839A JP2008204188A JP 2008204188 A JP2008204188 A JP 2008204188A JP 2007039839 A JP2007039839 A JP 2007039839A JP 2007039839 A JP2007039839 A JP 2007039839A JP 2008204188 A JP2008204188 A JP 2008204188A
Authority
JP
Japan
Prior art keywords
passing
axis
speed
motion
trajectory
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
JP2007039839A
Other languages
Japanese (ja)
Other versions
JP5380672B2 (en
Inventor
Akihiko Yonetani
昭彦 米谷
Tetsuya Yamada
哲也 山田
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.)
Nagoya Institute of Technology NUC
Original Assignee
Nagoya Institute of Technology NUC
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 Nagoya Institute of Technology NUC filed Critical Nagoya Institute of Technology NUC
Priority to JP2007039839A priority Critical patent/JP5380672B2/en
Publication of JP2008204188A publication Critical patent/JP2008204188A/en
Application granted granted Critical
Publication of JP5380672B2 publication Critical patent/JP5380672B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To give a command enabling shortest time control to a multi-shaft motion controller. <P>SOLUTION: In PTP (point-to-point) control, a target value of speed at the time of passing through each point is designated also in addition to the coordinate of each point, whereby a trajectory of movement considering speed can be designated, whereas only the value of coordinate of each point is designated in the past. A preliminarily calculated trajectory which attains the shortest time movement is instructed to the motion controller, whereby the shortest time control is attained. Since the trajectory can be designated with a minimized point number, the calculation of the trajectory for attaining the shortest time can be facilitated. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、多軸のモーションコントローラおよびモーションコントローラへの制御命令を計算する計算機(モーションプランナ)およびサーボアンプに関するものであり、特に最短時間制御が可能なシステムに関するものである。   The present invention relates to a multi-axis motion controller and a computer (motion planner) for calculating a control command to the motion controller and a servo amplifier, and particularly to a system capable of performing the shortest time control.

多軸のモーションコントローラは、産業界においてロボットや製造装置などの制御に数多く用いられている。その機能は、上位コントローラからの指令、または予め蓄積しておいた指令に基づいて、各軸のモータコントローラへの位置目標値を出力するものである。この機能を用いて、予め各軸の最高速度や最高加速度などの値を設定しておき目標位置を逐次与えて直線運動させたり、円弧状に移動するコマンドを与えて曲線運動をさせたりする。各軸のモータコントローラへの指令としては、位置目標値の変化(増減)をパルス信号で与えるタイプのものと、一定時間ごとに位置目標値を指定するタイプのものがある。   Many multi-axis motion controllers are used in the industry to control robots and manufacturing apparatuses. The function is to output a position target value to the motor controller of each axis based on a command from the host controller or a command stored in advance. Using this function, values such as the maximum speed and maximum acceleration of each axis are set in advance, and the target position is sequentially given for linear motion, or the command for moving in an arc shape is given for curved motion. There are two types of commands to the motor controller for each axis: a type that gives a change (increase / decrease) in the position target value with a pulse signal, and a type that specifies a position target value at regular intervals.

一方、製造装置においては与えられた仕事をいかに短い時間で終了して生産性を上げたいといった要求は多い。そのためには、モーションに要する時間を短縮することが要求される。特に搬送ロボットにおいては、その軌道は初期条件や終了条件、禁止領域を始めとするいくつかの制約はあるが、その制約内において軌道を自由に設定することができる。しかし、従来のモーションコントローラは位置のみを指定するPTP(ポイント・ツー・ポイント)制御が基本であるために、最短時間制御を実現するようなモーションを指定することが困難であった。図2に従来のPTP制御に基づく指定軌道の例を示す。いくつかの直線と円弧により軌道を指定している。特許文献1においては、多関節ロボットに対する最短時間制御のアプローチが提案されているが、禁止領域などの条件を考慮することが難しい。   On the other hand, in a manufacturing apparatus, there is a large demand for increasing productivity by completing a given work in a short time. For this purpose, it is required to reduce the time required for motion. In particular, in a transfer robot, the trajectory has some restrictions including initial conditions, end conditions, and prohibited areas, but the trajectory can be set freely within the restrictions. However, since conventional motion controllers are based on PTP (point-to-point) control that specifies only the position, it is difficult to specify a motion that realizes the shortest time control. FIG. 2 shows an example of a designated trajectory based on conventional PTP control. The trajectory is specified by several straight lines and arcs. In Patent Document 1, a shortest time control approach for an articulated robot is proposed, but it is difficult to consider conditions such as prohibited areas.

また、最短時間制御を実現する軌道(以下、最適軌道という)の計算に関しては最大原理などの手法を用いることができる。しかし、実際に扱わなければならない問題には軌道の制約などがあり、最適軌道の厳密な計算は容易ではない。   A method such as a maximum principle can be used for calculating a trajectory that realizes the shortest time control (hereinafter referred to as an optimal trajectory). However, problems that must actually be dealt with include trajectory constraints, and exact calculation of the optimal trajectory is not easy.

直交軸ロボットの場合は、各軸の制約が独立しているので、その点では最適軌道の計算が相対的に容易になるが、多関節ロボットなどの場合においては、各関節に掛かるトルクに対する制約などがあり、各軸の制約が独立にはなっておらず、最適軌道の厳密な計算はさらに困難となる。   In the case of a Cartesian robot, the constraints of each axis are independent, and in this respect, the calculation of the optimal trajectory is relatively easy. However, in the case of an articulated robot, the constraint on the torque applied to each joint The constraints of each axis are not independent, and the exact calculation of the optimal trajectory becomes more difficult.

最短時間制御を実現するには、指定した軌道を精度良く再現するためには各軸において追従性の良いサーボアンプを用いる必要がある。今まで、指定した軌道を精度良く再現させたい場合は、指定する軌道をゆっくりとしたものにしていたが、最短時間制御を実現させる上においては、軌道をゆっくりとしたものにすることが許されない。したがって、追従性の良いサーボアンプの実現が必要になる。
特開平7−325607号公報
In order to realize the shortest time control, it is necessary to use a servo amplifier with good followability in each axis in order to accurately reproduce the specified trajectory. Up to now, if you want to reproduce the specified trajectory with high accuracy, the specified trajectory has been made slow. However, in order to realize the shortest time control, it is not allowed to make the trajectory slow. . Therefore, it is necessary to realize a servo amplifier with good followability.
JP 7-325607 A

解決しようとする問題点は、モーションコントローラに予め計算しておいた最適軌道を実現させるための補間機能を持たせることである。   The problem to be solved is that the motion controller has an interpolation function for realizing the optimal trajectory calculated in advance.

また、そのようなモーションコントローラに対する最適軌道の計算を実現させるための手段を用意することである。   Another object is to provide means for realizing the calculation of the optimum trajectory for such a motion controller.

さらに、最適軌道に追従させるための追従性能の良いサーボアンプを用意することである。   Furthermore, it is to prepare a servo amplifier with good follow-up performance for following the optimum trajectory.

モーションコントローラにおいて、モーションを指定するのに一連の位置を指定するのではなく、一連の位置とその位置における速度も指定できるようにする。各位置における速度も指定できることより、モーションにおける速度も細かく指定することができ、予め計算しておいた最短時間モーションを実現させることが容易になる。また、各位置における速度を指定することにより、一連の位置と速度からモーション全体に要する時間が算出できるので、一連の位置と速度を最適化することにより最短時間モーションを算出することができる。このとき、厳密な意味での最短時間モーションを求めることはできないが、モーションの分割数を十分に確保することにより、要する時間が最短に近いモーションを求めることができる。   In the motion controller, instead of designating a series of positions to designate a motion, a series of positions and speeds at the positions can be designated. Since the speed at each position can also be specified, the speed in the motion can be specified in detail, and it is easy to realize the shortest time motion calculated in advance. In addition, since the time required for the entire motion can be calculated from a series of positions and speeds by designating the speed at each position, the shortest time motion can be calculated by optimizing the series of positions and speeds. At this time, the shortest time motion in a strict sense cannot be obtained, but by securing a sufficient number of motion divisions, it is possible to obtain a motion that requires the shortest time.

さらに、各位置における速度を指定することによってモーションの全ての時刻における位置および速度が決まるので、関節タイプのロボットに適用した場合、全ての時刻における関節トルクを計算することができる。そのため、最短時間制御において、各関節トルクの最大値に対しても制約を設けても、最短時間モーションを求めることが容易にできる。

本発明の第1の局面においては、1軸もしくは2軸以上の軸を持つモーションコントローラに対して、いくつかの通過点情報が与えられると前記通過点を結ぶ軌跡に掛かる信号を出力するようにし、前記通過点情報は通過点の座標と、前記通過点を通過する速度と、連続する前記通過点を通過する通過時間の組み合わせからなるようにすることによって、比較的少ない通過点の指定により最短時間軌道に近い軌道の指定を可能にする。
Furthermore, since the position and speed at all times of motion are determined by designating the speed at each position, when applied to a joint type robot, the joint torque at all times can be calculated. Therefore, in the shortest time control, the shortest time motion can be easily obtained even if the maximum value of each joint torque is limited.

In the first aspect of the present invention, when some passing point information is given to a motion controller having one axis or two or more axes, a signal applied to a locus connecting the passing points is output. The passing point information is composed of a combination of passing point coordinates, a speed passing through the passing points, and a passing time passing through the passing points. Allows specification of trajectories close to time trajectories.

また、本発明第2の局面において、連続する二つの前記通過点の間の軌跡における各軸の速度を、連続する二つの前記通過点を通過するのに要する時間が前記通過時間と等しくなるように時刻に対して2次関数となるように補間することによって、各軸に対して2次の係数を調整することにより指定した時間で指定した位置に指定した初期速度と最終速度でモーションを実現することを可能にする。   In the second aspect of the present invention, the speed of each axis in the trajectory between the two consecutive passing points is such that the time required to pass through the two consecutive passing points is equal to the passing time. By interpolating so that it becomes a quadratic function with respect to time, the motion is realized at the specified initial speed and final speed at the specified position at the specified time by adjusting the secondary coefficient for each axis Make it possible to do.

さらに、本発明第3の局面において、2軸以上の軸を持つモーションコントローラに対して、いくつかの通過点情報が与えられると前記通過点を結ぶ通過軌跡に掛かる信号を出力し、前記通過点情報は通過点の座標と、前記通過点を通過する速度の組み合わせとし、連続する二つの前記通過点の間を通過する通過時間は前記連続する二つの前記通過点における前記通過点情報より算出することにより、位置と速度の組み合わせによる限られた数の通過点の情報により最適軌道の情報を持たせることができる。   Furthermore, in the third aspect of the present invention, when some passing point information is given to a motion controller having two or more axes, a signal applied to a passing trajectory connecting the passing points is output, and the passing point The information is a combination of the coordinates of the passing point and the speed passing through the passing point, and the passing time passing between the two consecutive passing points is calculated from the passing point information at the two consecutive passing points. As a result, information on the optimum trajectory can be provided by information on a limited number of passing points depending on the combination of position and speed.

本発明第4の局面においては、上記のモーションコントローラにおいて、前記通過軌跡に掛かる信号は、各軸に対するパルス列とすることにより、従来のサーボアンプを用いて最適軌道を実現するモーションコントロールシステムを実現できる。   In the fourth aspect of the present invention, in the above-described motion controller, a signal applied to the passing trajectory is a pulse train for each axis, thereby realizing a motion control system that realizes an optimal trajectory using a conventional servo amplifier. .

本発明第5の局面においては、上記のモーションコントローラにおいて、前記通過軌跡に掛かる信号は、一定時間間隔ごとの各軸の座標とすることにより、従来の一定時間ごとの移動量を入力とするサーボアンプを用いて最適軌道を実現するモーションコントロールシステムを実現できる。   In the fifth aspect of the present invention, in the motion controller described above, the signal applied to the passing trajectory is a coordinate of each axis at a constant time interval, so that the conventional movement amount input at a constant time is input. A motion control system that realizes the optimal trajectory using an amplifier can be realized.

本発明第6の局面においては、上記のモーションコントローラにおいて、前記通過軌跡に掛かる信号は、一定時間間隔ごとの各軸の座標に速度を加えることにより、サーボアンプの目標軌道追従性能を上げ、最適軌道に対する条件を緩和する。   In the sixth aspect of the present invention, in the motion controller described above, the signal applied to the passing trajectory increases the target trajectory tracking performance of the servo amplifier by adding speed to the coordinates of each axis at fixed time intervals, and is optimized. Relax the conditions for orbits.

本発明第7の局面においては、本発明第1の局面から第6の局面に記載のモーションコントローラと前記モーションコントローラからの指令を受けるサーボアンプを組み合わせることにより多軸サーボシステムを構成する。   In the seventh aspect of the present invention, a multi-axis servo system is configured by combining the motion controller described in the first to sixth aspects of the present invention and a servo amplifier that receives a command from the motion controller.

本発明第8の局面においては、最適軌道を設定するアプローチに関するものであり、エンドエフェクタを持つ多軸サーボシステムに対して、前記エンドエフェクタの移動範囲である作業領域と、前記作業領域内において前記エンドエフェクタが侵入することが許されないゼロまたは一つまたは複数の禁止領域を設定し、さらに各軸に対して許される速度および加速度の組み合わせの範囲を設定し、エンドエフェクタの初期位置および初期速度および最終位置および最終速度を与えると各軸の通過軌道を算出する機能をモーションプランナに持たせることにより最適軌道の計算を可能にする。   An eighth aspect of the present invention relates to an approach for setting an optimum trajectory, and for a multi-axis servo system having an end effector, a work area that is a movement range of the end effector, and the work area within the work area. Set zero or one or more forbidden areas where the end effector is not allowed to enter, further set the range of speed and acceleration combinations allowed for each axis, and set the initial position and speed of the end effector and Given the final position and final speed, the motion planner can calculate the optimal trajectory by providing the motion planner with the function of calculating the trajectory of each axis.

また、本発明第9の局面において、上記のモーションプランナにおいて、算出される前記軌道はエンドポイントが通過する複数の通過点の座標および前記通過点を通過する速度および連続する二つの前記通過点を通過する通過時間とすることにより、上記のモーションコントローラとの組み合わせを可能にする。   In the ninth aspect of the present invention, in the motion planner, the calculated trajectory includes coordinates of a plurality of passing points through which an end point passes, speeds passing through the passing points, and two consecutive passing points. By setting the passing time to pass, the combination with the motion controller described above is possible.

本発明第10の局面においては、本発明第8の局面または第9の局面に記載のモーションプランナにより各軸の前記通過軌跡を算出し、前記算出された前記通過軌跡をエンドポイントの目標軌道とすることにより多軸サーボシステムに対するモーションプランナを実現する。   In the tenth aspect of the present invention, the passing trajectory of each axis is calculated by the motion planner described in the eighth aspect or the ninth aspect of the present invention, and the calculated passing trajectory is set as a target trajectory of an end point. By doing so, a motion planner for a multi-axis servo system is realized.

本発明第11の局面においては、さらに多軸サーボシステムにおいて本発明第1の局面から第6の局面に記載のモーションコントローラと上記モーションプランナを組み合わせることにより、最適軌道を実現する多軸サーボシステムを実現する。   In an eleventh aspect of the present invention, there is further provided a multi-axis servo system that realizes an optimal trajectory by combining the motion controller according to the first to sixth aspects of the present invention and the motion planner in a multi-axis servo system. Realize.

本発明第12の局面においては、直交軸ロボットに対して本発明第8の局面または第9の局面に記載のモーションプランナを用いることにより、直交軸ロボットの最適軌道生成を可能にする。   In the twelfth aspect of the present invention, by using the motion planner described in the eighth aspect or the ninth aspect of the present invention for an orthogonal axis robot, the optimal trajectory of the orthogonal axis robot can be generated.

本発明第13の局面においては、直交軸ロボットに対して本発明第10の局面または第11の局面に記載の多軸サーボシステムを用いることにより、直交軸ロボットにおける最適軌道制御を可能にする。   In the thirteenth aspect of the present invention, the optimal trajectory control in the orthogonal axis robot is enabled by using the multi-axis servo system described in the tenth aspect or the eleventh aspect of the present invention for the orthogonal axis robot.

本発明第14の局面においては、非直交軸ロボットに対して本発明第8の局面または第9の局面に記載のモーションプランナを用いることにより、関節ロボットや関節と並進を併せ持つロボットに対する最適軌道生成を可能にする。   In the fourteenth aspect of the present invention, by using the motion planner described in the eighth aspect or the ninth aspect of the present invention for a non-orthogonal axis robot, optimal trajectory generation for a joint robot or a robot having both joint and translation Enable.

本発明第15の局面においては、非直交軸ロボットに対して本発明第10の局面または第11の局面に記載の多軸サーボシステムを用いることにより、関節ロボットや関節と並進を併せ持つロボットに対する最適軌道制御を可能にする。   In the fifteenth aspect of the present invention, by using the multi-axis servo system according to the tenth aspect or the eleventh aspect of the present invention for a non-orthogonal axis robot, it is optimal for an articulated robot or a robot having both joint and translation. Allows orbit control.

本発明第16の局面においては、サーボアンプにおいて、一定時間間隔ごとに位置目標値と速度目標値を入力し、被制御量を前記位置目標値に近づけ、前記被制御量の時間微分の値を前記速度目標値に近づける動作を同時に行うことにより、サーボアンプの目標軌道追従性能を向上させ、精度の良い最適軌道実現を可能にする。   In the sixteenth aspect of the present invention, in the servo amplifier, the position target value and the speed target value are input at regular time intervals, the controlled amount is brought close to the position target value, and the time differential value of the controlled amount is set. By simultaneously performing the operation of approaching the speed target value, the target trajectory tracking performance of the servo amplifier is improved, and an accurate optimal trajectory can be realized.

さらに、本発明第17の局面においては、サーボアンプにおいて、一定時間間隔ごとに位置目標値を入力し、速度目標値を前記位置目標値の差分とし、被制御量を前記位置目標値に近づけ、被制御量の時間微分の値を前記速度目標値に近づける動作を同時に行うことにより、目標値信号として速度目標値を含んでいなくてもサーボアンプの目標軌道追従性能を向上させ、精度の良い最適軌道実現を可能にする。
Furthermore, in the seventeenth aspect of the present invention, in the servo amplifier, the position target value is input at regular time intervals, the speed target value is set as the difference between the position target values, and the controlled amount is brought close to the position target value. By simultaneously performing the operation of bringing the value of the time derivative of the controlled variable close to the speed target value, the target track following performance of the servo amplifier is improved even if the target value signal does not include the speed target value, and the accuracy is high. Enables optimal trajectory realization.

本発明のモーションコントローラは、PTP制御において位置だけではなく速度も指定するようにするので、速度を含めたモーションを細かく指定することが可能になり、最適軌道を容易に指定することができるという利点がある。   Since the motion controller of the present invention specifies not only the position but also the speed in the PTP control, it is possible to finely specify the motion including the speed, and the advantage that the optimal trajectory can be easily specified. There is.

また、モーション全体を有限個の位置と速度で記述するため、最短時間制御問題が有限個の変数の最適化問題となるので、最適軌道を比較的容易に算出することが可能となる。   In addition, since the entire motion is described by a finite number of positions and velocities, the shortest time control problem becomes an optimization problem of a finite number of variables, so that the optimal trajectory can be calculated relatively easily.

さらに、サーボアンプにおいて目標速度を考慮することにより、サーボアンプの目標軌道追従性能を向上させ、精度の良い最適軌道実現を可能にする。   Furthermore, by considering the target speed in the servo amplifier, the target track tracking performance of the servo amplifier is improved, and an accurate optimal track can be realized.

(第1の実施の形態)
本発明第1の実施の形態として、直交軸ロボットに対するモーションコントロールシステムの実現例を示す。ここでは2軸の場合を考える。すなわち、2次元座標系において、ロボットの軌道を生成する場合を扱う。
(First embodiment)
As a first embodiment of the present invention, an example of realizing a motion control system for an orthogonal axis robot will be described. Here, consider the case of two axes. That is, a case where a robot trajectory is generated in a two-dimensional coordinate system is handled.

図5にモーション制御系の構成を示す。モーションコントローラに予め決められた一連の通過点(xk,yk)およびその通過点における速度(vk,wk)が目標点信号S1として順次入力される。モーションコントローラ2は各軸のモーション補間を行い、1msごとに各軸の目標速度と目標速度が算出され、各軸のサーボアンプ3a,3bに指令値として出力する。サーボアンプ3a,3bにおいては、モーションコントローラ2から受け取った位置と速度の指令値に対して実際のロボットの位置が追従するようにフィードバック制御を行う。 FIG. 5 shows the configuration of the motion control system. A series of predetermined passing points (x k , y k ) and velocities (v k , w k ) at the passing points are sequentially input to the motion controller as the target point signal S1. The motion controller 2 performs motion interpolation of each axis, calculates the target speed and target speed of each axis every 1 ms, and outputs them as command values to the servo amplifiers 3a and 3b of each axis. The servo amplifiers 3a and 3b perform feedback control so that the actual robot position follows the position and speed command values received from the motion controller 2.

図1および図3に生成されるモーションの経路の例を示す。図1と図3は基本的には同じ図であるが、各軸の速度の記号が異なる。図1は直観的に判りやすい記号を用いており、図3は本発明第1の実施の形態の説明において使用した記号を用いている。作業領域AWは2次元の矩形領域であり、その中に禁止領域(図3においてはAP1からAP4)がいくつか設定されている。禁止領域は、この領域の中に入るとロボットが装置などに衝突するといった領域であり、モーションの経路がこの禁止領域に入ることは許されない。ロボットのモーションは始点および終点を含むN+1個の点における位置と速度によって決定される。これらの位置や速度の決定については後述する。   1 and 3 show examples of motion paths generated. FIG. 1 and FIG. 3 are basically the same diagram, but the speed symbols for each axis are different. FIG. 1 uses intuitively easy-to-understand symbols, and FIG. 3 uses the symbols used in the description of the first embodiment of the present invention. The work area AW is a two-dimensional rectangular area, and several forbidden areas (AP1 to AP4 in FIG. 3) are set therein. The forbidden area is an area where the robot collides with the apparatus when entering the area, and the motion path is not allowed to enter the forbidden area. The motion of the robot is determined by the position and speed at N + 1 points including the start and end points. The determination of these positions and speeds will be described later.

ロボットのモーションは有限個の点で表現されているため、サーボアンプへの指令値を算出するには補間を行なう必要がある。補間は2点間で行い、2点の位置と速度をもとに各時刻における位置と速度を決定する。その際、x軸で補間を行なって決定されるx軸の移動時間とy軸で補間を行なって決定されるy軸の移動時間は等しい必要がある。そこで、補間は次のように行なう。2点の位置を(xk,yk)および(xk+1,yk+1)とする。また、それらの点における速度を(vk,wk) および (vk+1,wk+1)とする。そして、x軸およびy軸において、速度を時刻に対して1次関数で補間する場合を考える。その際、各軸により移動時間が異なる。そこで、各軸において速度を時刻に対して一次補間を行なったときの移動時間Tx k+1およびTy k+1を求める。 Since the motion of the robot is expressed by a finite number of points, it is necessary to perform interpolation to calculate the command value to the servo amplifier. Interpolation is performed between two points, and the position and speed at each time are determined based on the position and speed of the two points. At this time, the movement time of the x axis determined by performing interpolation on the x axis and the movement time of the y axis determined by performing interpolation on the y axis must be equal. Therefore, the interpolation is performed as follows. The positions of the two points are (x k , y k ) and (x k + 1 , y k + 1 ). Also, the velocities at these points are (v k , w k ) and (v k + 1 , w k + 1 ). Consider a case where the speed is interpolated with a linear function with respect to time on the x-axis and the y-axis. At that time, the movement time differs depending on each axis. Therefore, the movement times T x k + 1 and T y k + 1 when linear interpolation is performed with respect to the speed on each axis are obtained .

しかし、このように移動時間を決めると、移動時間がとても長くなったり場合によっては求めた移動時間が負になってしまうこともある。そこで、ある程度長い時間Tmの値を設定し、各軸の移動時間がTmより長かったり負である場合は次のように修正し、修正移動時間Sx k+1およびSy k+1を求める。 However, when the movement time is determined in this way, the movement time becomes very long, or the obtained movement time may become negative in some cases. Therefore, set a value for the time T m that is somewhat longer, and if the movement time of each axis is longer or negative than T m , correct it as follows, and correct the movement time S x k + 1 and S y k + 1 Ask for.

そしてx軸の修正移動時間とy軸の修正移動時間の長い方を移動時間τkとする。すなわち、 The longer of the x axis corrected movement time and the y axis corrected movement time is defined as a movement time τ k . That is,

とする。ここで、点(xk,yk)を通過する時刻をtk、点(xk+1,yk+1)を通過する時刻をtk+1とすると、 And Here, when the time passing through the point (x k , y k ) is t k and the time passing through the point (x k + 1 , y k + 1 ) is t k + 1 ,

となる。そして、速度を時刻に対して1次関数で補間されなかった軸に対しては、移動時間が指定した移動時間と等しくなるように速度を時刻に対して2次関数により補間する。数式で表すと次のようになる。 It becomes. Then, for an axis whose speed has not been interpolated with a linear function, the speed is interpolated with a quadratic function with respect to the time so that the moving time becomes equal to the designated moving time. This is expressed as follows:

このとき、2次の係数ak+1またはbk+1のどちらも値が0とならない場合もあれば、どちらかの値が0となる場合もある。2次の係数が0であるとき、1次補間を行なうことになる。この様子を図4に示す。 At this time, the value of either the secondary coefficient a k + 1 or b k + 1 may not be 0, or one of the values may be 0. When the secondary coefficient is 0, primary interpolation is performed. This is shown in FIG.

モーションはN+1個の点の座標と速度によって決まるため、全部で4(N+1)個の自由度を有する。このうち、始点と終点の位置と速度は予め決められてしまうので、残る4(N-1)個のパラメータを調整して最短時間モーションを求めることになる。すなわち、   Since the motion is determined by the coordinates and speed of N + 1 points, it has 4 (N + 1) degrees of freedom in total. Among these, since the position and speed of the start point and end point are determined in advance, the remaining 4 (N-1) parameters are adjusted to obtain the shortest time motion. That is,

の値を最小にするようにする。その際、いくつかの拘束条件を考慮する必要がある。まず各軸における最大加速度に制限が存在する。x軸の最大加速度の絶対値をmx、y軸の加速度の最大値をmyとし、時刻tにおけるx軸の速度をv(t)、y軸の速度をw(t)とする。このとき、加速度に対する条件は、 Try to minimize the value of. At that time, it is necessary to consider several constraints. First, there is a limit on the maximum acceleration on each axis. absolute value m x of the maximum acceleration of the x-axis, the maximum value of the acceleration in the y-axis and m y, the velocity of the x-axis at time t v (t), the velocity of the y-axis and w (t). At this time, the condition for acceleration is:

に対して、pxおよびpyが正とならないことである。ここではmxおよびmyを一定としたが、これらは速度の関数であっても良い。 In contrast, p x and p y are not positive. Here has been a constant m x and m y, it may be a function of the speed.

さらに、x軸およびy軸に対して最大速度に対しても制約を受ける。すなわち、x軸の最大速度の絶対値をqx、y軸の速度の最大値をqyとしたとき、 Furthermore, the maximum speed is also restricted for the x-axis and y-axis. That is, when the absolute value of the maximum speed of the x-axis is q x and the maximum value of the speed of the y-axis is q y ,

に対して、pvおよびpwが正とならない必要がある。 On the other hand, p v and p w need not be positive.

モーションの経路は禁止領域(図3においてはAP1からAP4)の中に入ることは許されない。禁止領域は平行四辺形もしくは楕円により定義される。その場合、k番目の禁止領域は   The motion path is not allowed to enter the prohibited area (AP1 to AP4 in FIG. 3). The prohibited area is defined by a parallelogram or an ellipse. In that case, the kth prohibited area is

といった形で記述することができる。ここで、okは1ノルム(禁止領域が平行四辺形の場合)または2ノルム(禁止領域が楕円の場合)を表し、Qkは座標変換を示す2行2列の行列である。禁止領域の数をMとすると、どの禁止領域に入らないための条件は、全てのk (k=1,2,…,M)に対して It can be described in the form. Here, o k represents 1 norm (when the forbidden area is a parallelogram) or 2 norm (when the forbidden area is an ellipse), and Q k is a 2-by-2 matrix indicating coordinate transformation. If the number of forbidden areas is M, the condition for not entering any forbidden area is for all k (k = 1,2, ..., M)

の値が正とならないことである。ただし、x(t)およびy(t)はそれぞれ、時刻tにおけるx軸およびy軸における軌道の座標である。禁止領域が平行四辺形の場合、Qkの値を適当に設定することにより、任意の形状で任意の回転角度を持った平行四辺形を指定することができる。禁止領域が楕円の場合、Qkの値を適当に設定することにより、任意の長径および短径を持ち任意の回転角度を持った楕円を指定することができる。 The value of is not positive. However, x (t) and y (t) are the coordinates of the trajectories on the x-axis and the y-axis at time t, respectively. When the prohibited region is a parallelogram, a parallelogram having an arbitrary shape and an arbitrary rotation angle can be designated by appropriately setting the value of Q k . When the prohibited region is an ellipse, an ellipse having an arbitrary major axis and minor axis and an arbitrary rotation angle can be specified by appropriately setting the value of Q k .

さらに、モーションの経路が作業領域AW内である必要がある。このための条件としては、   Furthermore, the motion path needs to be within the work area AW. As a condition for this,

に対してr0が正とならないことでるというように表すことができる。ただし、作業領域は平行四辺形とした。ここでもQkは座標変換を示す2行2列の行列であり、作業域の平行四辺形の形状を指定するものである。 Can be expressed as r 0 is not positive. However, the work area was a parallelogram. Again, Q k is a 2-by-2 matrix indicating coordinate transformation, and specifies the parallelogram shape of the work area.

ここで最短時間制御問題を考える。すなわち、最短時間モーションを実現する経路を計算することを考える。算出するのは通過点(xk,yk) (k=1,…,N-1)および通過速度(vk,wk) (k=1,…,N-1)である。通過時間τk(k=1,…,N-1)については、それらの情報から前述の方法により一意に決定される。最適化問題は、数12から数15および数17,数18が0という拘束条件の下で数11の値を最小化することになる。これは拘束条件付最適化問題であり、いくつかの解法がある。ここでは次の方法を用いる。 Now consider the shortest time control problem. That is, consider calculating a path that achieves the shortest time motion. The passing points (x k , y k ) (k = 1,..., N−1) and the passing speeds (v k , w k ) (k = 1,..., N−1) are calculated. The passage time τ k (k = 1,..., N−1) is uniquely determined from the information by the method described above. The optimization problem is to minimize the value of Expression 11 under the constraint that Expressions 12 to 15, 17 and 18 are 0. This is a constrained optimization problem and there are several solutions. Here, the following method is used.

評価関数を   Evaluation function

とし、この値を最小化する。操作変数は通過点(xk,yk) (k=1,…,N-1)および通過速度(vk,wk) (k=1,…,N-1)である。ただし、λkやηxyvwは十分に大きい正の定数とする。この最小化問題は直接探索法により解くことができる。しかしその場合、拘束条件がわずかに満たされない解が算出されてしまう。そこで、拘束条件を本来よりも少し厳しい条件にして再度数19を最小化する解を求めることにより、本来の拘束条件を満たす最適解を算出することができる。 And minimize this value. The manipulated variables are the passing point (x k , y k ) (k = 1,..., N−1) and the passing speed (v k , w k ) (k = 1,..., N−1). However, λ k , η x , η y , η v , and η w are sufficiently large positive constants. This minimization problem can be solved by a direct search method. However, in this case, a solution that does not satisfy the constraint condition is calculated. Therefore, the optimum solution that satisfies the original constraint condition can be calculated by again obtaining a solution that minimizes Equation 19 under the constraint condition that is slightly stricter than the original.

以上のように、初期点および初期速度、最終点および最終速度、作業領域および禁止領域、速度制約、加速度制約を設定し、最適化問題を解くことにより最適軌道を指定することができるわけだが、得られた最適軌道に対する通過点(xk,yk) (k=1,…,N-1)、通過速度(vk,wk) (k=1,…,N-1)および通過時間τk(k=1,…,N-1)は、あらかじめ記憶装置に通過点情報1として記憶させておく(図5)。ここまでの最適軌道の算出作業は、オフラインにより行われる。最適軌道の算出作業における禁止領域の設定、速度や加速度等における制約条件等は、オペレータとインタラクティブに行ってもよいし、自動的に行ってもよい。 As mentioned above, you can specify the optimal trajectory by setting the initial point and initial speed, final point and final speed, work area and prohibited area, speed constraint, acceleration constraint, and solving the optimization problem. Passing point (x k , y k ) (k = 1, ..., N-1), passing speed (v k , w k ) (k = 1, ..., N-1) and passing time for the obtained optimal trajectory τ k (k = 1,..., N−1) is stored in advance as passing point information 1 in the storage device (FIG. 5). The calculation work of the optimum trajectory so far is performed off-line. The setting of the prohibited area in the calculation operation of the optimum trajectory, the constraint conditions on the speed, acceleration, and the like may be performed interactively with the operator or automatically.

モーションにおける実時間処理としては、モーションコントローラ2による補間作業およびサーボアンプ3a,3bによるモータ制御がある(図5)。上述のようにモーションコントローラ2は、予め決められた一連の通過点(xk,yk)およびその通過点における速度(vk,wk)および前の通過点からの通過時間τkを目標点信号S1として順次入力し、モーションコントローラ2は各軸のモーション補間を行う。各軸のモーション補間は数7から数10に示す式に従い行う。そして1msごとに各軸の目標位置と目標速度を算出し、各軸のサーボアンプ3a,3bに指令値として出力する。 Real-time processing in motion includes interpolation work by the motion controller 2 and motor control by the servo amplifiers 3a and 3b (FIG. 5). As described above, the motion controller 2 targets the predetermined series of passing points (x k , y k ), the speed (v k , w k ) at the passing points, and the passing time τ k from the previous passing point. The point signals S1 are sequentially input, and the motion controller 2 performs motion interpolation for each axis. Motion interpolation for each axis is performed according to the equations shown in Equations 7 to 10. Then, the target position and target speed of each axis are calculated every 1 ms and output as command values to the servo amplifiers 3a and 3b of each axis.

各軸のサーボアンプ3a,3bの校正例を図7に示す。位置目標値だけではなく、位置目標値に加えて速度目標値を同時に加えていることが従来のサーボアンプと異なっている。速度目標値信号に関しては、フィードバック系に対してフィードフォワードの形で入っているので、従来のものに比して目標値追従精度の向上が期待できる。また、このような目標値追従性能の向上は最適軌道を精度良く実現するためにも有用である。最適軌道にたいする追従誤差を少なくすることにより、禁止領域として設定する領域のマージンを減らすことができ、移動時間の短縮に寄与することになる。   A calibration example of the servo amplifiers 3a and 3b for each axis is shown in FIG. This is different from the conventional servo amplifier in that not only the position target value but also the speed target value is added simultaneously in addition to the position target value. Since the speed target value signal is included in the feed-forward form with respect to the feedback system, improvement in target value tracking accuracy can be expected as compared with the conventional one. Further, such an improvement in target value tracking performance is useful for realizing an optimal trajectory with high accuracy. By reducing the tracking error with respect to the optimal trajectory, the margin of the area set as the prohibited area can be reduced, which contributes to shortening the movement time.

本実施の形態においては、モーションコントローラ2は一連の通過点(xk,yk)およびその通過点における速度(vk,wk)および前の通過点からの通過時間τkを目標点信号S1として順次入力していたが、通過時間については一連の通過点(xk,yk)およびその通過点における速度(vk,wk)の情報から算出することができるので、目標点信号S1として通過時間τkの情報を入力せずに通過時間τkをモーションコントローラ2の内部で算出するようにしてもよい。そのときは、数1から数5に示す式を用いて通過時間τkを計算することができる。 In the present embodiment, the motion controller 2 uses a series of passing points (x k , y k ), speeds (v k , w k ) at the passing points, and a passing time τ k from the previous passing point as a target point signal. Although it was sequentially input as S1, the passage time can be calculated from information of a series of passage points (x k , y k ) and speeds (v k , w k ) at the passage points, so that the target point signal As S1, the passage time τ k may be calculated inside the motion controller 2 without inputting the information of the passage time τ k . At that time, the passage time τ k can be calculated using the equations shown in Equations 1 to 5.

本実施の形態においては、モーションコントローラ2は一定時間間隔ごとに各軸の目標位置と目標速度を出力していたが、一定時間間隔ごとの目標位置またはその変化分のみを出力するようにしてもよい。目標位置の時間変化から目標速度を推定することが可能であるからである。しかし、そのようにした場合、サーボアンプ3a,3bが認識する速度目標値に対して最適軌道との差が発生するので、目標位置を出力する時間間隔を十分に小さくする必要がある。   In the present embodiment, the motion controller 2 outputs the target position and target speed of each axis at regular time intervals. However, the motion controller 2 may output only the target position or its change at regular time intervals. Good. This is because the target speed can be estimated from the time change of the target position. However, in such a case, a difference from the optimum trajectory occurs with respect to the speed target value recognized by the servo amplifiers 3a and 3b, so that the time interval for outputting the target position needs to be made sufficiently small.

本実施の形態においては、サーボアンプ3は位置目標値と速度目標値を一定時間間隔ごとに入力していたが、位置目標値のみを一定時間間隔ごとに入力し、速度目標値を一連の位置目標値から推定し、推定した速度目標値を図7におけるサーボアンプ3の速度目標値としてもよい。速度目標値は、位置目標値の差分を用いてもよいし、位置目標値を2次補間して求めてもよい。   In the present embodiment, the servo amplifier 3 inputs the position target value and the speed target value at regular time intervals. However, only the position target value is input at regular time intervals, and the speed target value is input to a series of positions. The speed target value estimated from the target value may be used as the speed target value of the servo amplifier 3 in FIG. As the speed target value, a difference between the position target values may be used, or the position target value may be obtained by secondary interpolation.

本実施の形態においては、モーションコントローラ2は一定時間間隔ごとに各軸の目標位置と目標速度を出力していたが、モーションコントローラ2は各軸のサーボアンプ3a,3bに対して、その軸の目標位置が一定量変化するごとにパルス信号(CWおよびCCW)を出力するようにしてもよい(図6)。そのようにすることにより、現在多く用いられているサーボアンプをそのまま用いることができる。   In the present embodiment, the motion controller 2 outputs the target position and target speed of each axis at regular time intervals, but the motion controller 2 outputs the axis of the axis to the servo amplifiers 3a and 3b of each axis. A pulse signal (CW and CCW) may be output every time the target position changes by a certain amount (FIG. 6). By doing so, it is possible to use a servo amplifier that is widely used at present.

本実施の形態においては、軸数が2であったが、同様のことが3軸以上の場合についても行なうことができる。

(第2の実施の形態)
本発明第2の実施の形態は関節数に冗長性がない多関節ロボットに対する最短時間制御を実現するものである。すなわち、対象とするロボットのエンドエフェクタの自由度とロボットの軸数が等しい。直交軸ロボットにおいては、各軸における座標とエンドエフェクタの座標との関係が1次関数になっていたために、各軸の座標のみを考慮すればよかったが、関節ロボットにおいては、各関節軸の座標とエンドエフェクタの座標の関係が複雑な関数となる。そのため、禁止領域の扱いや、加速度に対する高速条件などの扱いが複雑になる。
In the present embodiment, the number of axes is two, but the same can be performed for the case of three or more axes.

(Second Embodiment)
The second embodiment of the present invention realizes the shortest time control for an articulated robot having no redundancy in the number of joints. That is, the degree of freedom of the end effector of the target robot is equal to the number of axes of the robot. In an orthogonal robot, the relationship between the coordinates of each axis and the coordinates of the end effector is a linear function, so it is sufficient to consider only the coordinates of each axis. And the end effector coordinates are complex functions. This complicates handling of prohibited areas and high-speed conditions for acceleration.

作業領域および禁止領域はエンドエフェクタの位置(実空間)において設定する。関節数に冗長性がないので、本発明第1の実施の形態と同じように、経路の有限個の通過点と通過速度を設定する。実空間における通過点をxk (k=1,…,N-1)、速度をuk (k=1,…,N-1)とする。ただし、xk、ukともにベクトルとする。また、始点および終点に関するx0、v0、xN、vNはあらかじめ条件として与えられる。すると、逆キネマティックスから、各関節の角度および角速度が角点において決定するので、それらをそれぞれθkおよびv k (k=0,…,N)(ともにベクトルであり、始点および終点を含む)とする。通過点間の補間は本発明第1の実施例と同じ方法を用いて時刻に対する1次または2次補間を行う。すると、キネマティックスにより、エンドエフェクタの実空間における軌道を算出することができるの。その軌道をx(t)(ベクトル)とする。また、任意の時刻における関節に働くトルクT(t)(ベクトル)を求めることができる。各関節においても、許容される最大トルクが存在するので、最適軌道を算出する上において、最大トルクの条件も考慮する必要がある。 The work area and the prohibition area are set at the end effector position (real space). Since there is no redundancy in the number of joints, a finite number of passage points and passage speeds are set in the same way as in the first embodiment of the present invention. Let the passing point in real space be x k (k = 1,..., N−1) and the speed be u k (k = 1,..., N−1). However, both x k and u k are vectors. Further, x 0 , v 0 , x N , and v N regarding the start point and the end point are given as conditions in advance. Then, the inverse kinematics, the angle and angular velocity of each joint is determined at the corner points, which respectively theta k and v k (k = 0, ... , N) ( are both vector, including start and end points ). Interpolation between passing points is performed by linear or quadratic interpolation with respect to time using the same method as in the first embodiment of the present invention. Then, kinematics can calculate the trajectory of the end effector in real space. Let the trajectory be x (t) (vector). Further, the torque T (t) (vector) acting on the joint at an arbitrary time can be obtained. Since there is a maximum allowable torque in each joint, it is necessary to consider the maximum torque condition in calculating the optimum trajectory.

最適軌道を算出する上での拘束条件は次のようになる。まず、禁止領域についてはM個の禁止領域が存在するものとする。これらのどの禁止領域の中にエンドエフェクタが入らないための条件は全てのk (k=1,2,…,M)に対して   The constraint conditions for calculating the optimal trajectory are as follows. First, it is assumed that there are M prohibited areas for the prohibited areas. The condition for the end effector not to enter any of these prohibited areas is for all k (k = 1, 2, ..., M).

の値が正とならないことである。ただし、ckは禁止領域の中心座標であり、okは1ノルム(禁止領域が菱面体等の場合)または2ノルム(禁止領域が楕円体等の場合)を表し、Qkは座標変換を示す行列である。 The value of is not positive. Where c k is the center coordinate of the forbidden area, o k is 1 norm (when the forbidden area is rhombohedral) or 2 norm (when the forbidden area is ellipsoid, etc.), and Q k is the coordinate transformation. It is a matrix shown.

さらに、モーションの経路が作業領域内である必要がある。このための条件としては、   Furthermore, the motion path needs to be within the work area. As a condition for this,

に対してr0が正とならないことでるというように表すことができる。ただし、作業領域は直方体または超直方体とした。ここでもQkは座標変換を示す行列であり、作業域の形状を指定するものである。 Can be expressed as r 0 is not positive. However, the work area was a rectangular parallelepiped or a super rectangular parallelepiped. Again, Q k is a matrix indicating coordinate transformation, and specifies the shape of the work area.

関節の最大速度に対しても制約を受ける。すなわち、各軸の最大速度を対角にならべた行列をAとしたとき、   The maximum joint speed is also limited. In other words, when A is a matrix that diagonalizes the maximum speed of each axis,

の値が正とならない必要がある。 The value of must not be positive.

また、関節の最大トルクに対しても制約を受ける。すなわち、各軸の最大トルクを対角にならべた行列をBとしたとき、   In addition, the maximum torque of the joint is also restricted. That is, when B is a matrix that diagonalizes the maximum torque of each axis,

の値が正とならない必要がある。 The value of must not be positive.

以上の制約の中で最短時間移動を実現する軌道を算出するために、評価関数を   In order to calculate the trajectory that achieves the shortest time movement within the above constraints, the evaluation function is

とし、この値を最小化する。操作変数は通過点xk (k=1,…,N-1)および通過速度uk (k=1,…,N-1)である。ただし、λkやηTvは十分に大きい正の定数とする。この最小化問題は直接探索法により解くことができる。しかしその場合、拘束条件がわずかに満たされない解が算出されてしまう。そこで、拘束条件を本来よりも少し厳しい条件にして再度数19を最小化する解を求めることにより、本来の拘束条件を満たす最適解を算出することができる。 And minimize this value. The manipulated variables are a passing point x k (k = 1,..., N−1) and a passing speed u k (k = 1,..., N−1). However, λ k , η T , and η v are sufficiently large positive constants. This minimization problem can be solved by a direct search method. However, in this case, a solution that does not satisfy the constraint condition is calculated. Therefore, the optimum solution that satisfies the original constraint condition can be calculated by again obtaining a solution that minimizes Equation 19 under the constraint condition that is slightly stricter than the original.

以上のように、初期点および初期速度、最終点および最終速度、作業領域および禁止領域、速度制約、加速度制約を設定し、最適化問題を解くことにより最適軌道を指定することができるわけだが、得られた最適軌道に対する軸空間における通過点θk (k=1,…,N-1)、通過速度vk(k=1,…,N-1)および通過時間τk(k=1,…,N-1)は、あらかじめ記憶装置に通過点情報1として記憶させておく(図5)。ここまでの最適軌道の算出作業は、オフラインにより行われる。最適軌道の算出作業における禁止領域の設定、速度や加速度等における制約条件等は、オペレータとインタラクティブに行ってもよいし、自動的に行ってもよい。 As mentioned above, you can specify the optimal trajectory by setting the initial point and initial speed, final point and final speed, work area and prohibited area, speed constraint, acceleration constraint, and solving the optimization problem. Passage point θ k (k = 1, ..., N-1), passage speed v k (k = 1, ..., N-1) and passage time τ k (k = 1, .., N-1) are stored in advance as passing point information 1 in the storage device (FIG. 5). The calculation work of the optimum trajectory so far is performed off-line. The setting of the prohibited area in the calculation operation of the optimum trajectory, the constraint conditions on the speed, acceleration, and the like may be performed interactively with the operator or automatically.

そして、モーションの実行時においては本発明第1の実施の形態と同様の動作を行い、所望の関節ロボットに所望のモーションを行わせる。
At the time of executing the motion, the same operation as that of the first embodiment of the present invention is performed to cause the desired joint robot to perform the desired motion.

部品の移送や工作などを行なうロボットや工作機において、作業時間を短くするモーションを行なわせることが可能となる。   In a robot or machine tool for transferring parts or working, it is possible to perform a motion that shortens the work time.

提案手法の概念図。Conceptual diagram of the proposed method. 従来のモーション指定方法Conventional motion specification method 提案手法のモーション指定方法。図1と同じであるが、記号が一部異なる。Motion specification method of the proposed method. Although the same as FIG. 1, some symbols are different. 速度補間の説明図。Explanatory drawing of speed interpolation. モーション制御システムの第1の構成。1st structure of a motion control system. モーション制御システムの第2の構成。2nd structure of a motion control system. サーボアンプの構成図。The block diagram of a servo amplifier.

符号の説明Explanation of symbols

AW・・・作業領域
AP1〜AP4・・・禁止領域
1・・・通過点情報
2・・・モーションコントローラ
3,3a,3b,3c,3d・・・サーボアンプ
4,4a,4b,4c,4d・・・モータ
5,5a,5b,5c,5d・・・ロータリエンコーダ
31・・・位置制御器
32・・・速度制御器
33・・・電流制御器
34・・・微分器
35・・・インバータ
36・・・カウンタ
37・・・電流検出器
S1・・・通過点信号
S2a,S2b・・・移動指令信号(位置および速度指令信号)
S2c,S2d・・・移動指令パルス
S4a,S4b,S4c,S4d・・・モータ駆動電圧
S5a,S5b,S5c,S5d・・・エンコーダ出力
AW: Work area AP1 to AP4 ... Prohibited area 1 ... Passing point information 2 ... Motion controllers 3, 3a, 3b, 3c, 3d ... Servo amplifiers 4, 4a, 4b, 4c, 4d ... Motor 5, 5a, 5b, 5c, 5d ... Rotary encoder 31 ... Position controller 32 ... Speed controller 33 ... Current controller 34 ... Differentiator 35 ... Inverter 36 ... Counter 37 ... Current detector S1 ... Pass point signals S2a, S2b ... Movement command signal (position and speed command signal)
S2c, S2d ... Movement command pulses S4a, S4b, S4c, S4d ... Motor drive voltages S5a, S5b, S5c, S5d ... Encoder output

Claims (17)

1軸もしくは2軸以上の軸を持つモーションコントローラであり、いくつかの通過点情報が与えられると前記通過点を結ぶ軌跡に掛かる信号を出力するものであり、前記通過点情報は通過点の座標と、前記通過点を通過する速度と、連続する前記通過点を通過する通過時間の組み合わせからなることを特徴とするモーションコントローラ。   It is a motion controller with one axis or two or more axes, and when some passing point information is given, it outputs a signal applied to the trajectory connecting the passing points, and the passing point information is the coordinates of the passing points. And a speed of passing through the passing points and a combination of passing times passing through the passing points. 請求項1に記載のモーションコントローラにおいて、連続する二つの前記通過点の間の軌跡における各軸の速度は、連続する二つの前記通過点を通過するのに要する時間が前記通過時間と等しくなるように時刻に対して2次関数となるように補間することを特徴とするモーションコントローラ。   2. The motion controller according to claim 1, wherein the speed of each axis in the trajectory between two consecutive passing points is such that the time required to pass through the two consecutive passing points is equal to the passing time. A motion controller that interpolates to a quadratic function with respect to time. 2軸以上の軸を持つモーションコントローラであり、いくつかの通過点情報が与えられると前記通過点を結ぶ通過軌跡に掛かる信号を出力するものであり、前記通過点情報は通過点の座標と、前記通過点を通過する速度の組み合わせからなり、連続する二つの前記通過点の間を通過する通過時間は前記連続する二つの前記通過点における前記通過点情報より算出され、前記通過時間を前記通過点情報に加えて請求項1または請求項2に記載のモーションコントローラにより前記軌跡に掛かる信号を出力することを特徴とするモーションコントローラ。   It is a motion controller having two or more axes, and when some passing point information is given, it outputs a signal applied to a passing trajectory connecting the passing points, and the passing point information includes the coordinates of the passing points, It is composed of a combination of speeds passing through the passing points, and the passing time passing between the two consecutive passing points is calculated from the passing point information at the two consecutive passing points, and the passing time passes through the passing time. A motion controller which outputs a signal applied to the locus by the motion controller according to claim 1 or 2 in addition to the point information. 前記通過軌跡に掛かる信号は、各軸に対するパルス列であることを特徴とする請求項1から請求項3に記載のモーションコントローラ。   The motion controller according to claim 1, wherein the signal applied to the passage locus is a pulse train for each axis. 前記通過軌跡に掛かる信号は、一定時間間隔ごとの各軸の座標であることを特徴とする請求項1から請求項3に記載のモーションコントローラ。   The motion controller according to claim 1, wherein the signal applied to the passage locus is a coordinate of each axis at regular time intervals. 前記通過軌跡に掛かる信号は、一定時間間隔ごとの各軸の座標および各軸の速度であることを特徴とする請求項1から請求項3に記載のモーションコントローラ。   4. The motion controller according to claim 1, wherein the signal applied to the passage locus is a coordinate of each axis and a speed of each axis at regular time intervals. 請求項1から請求項6に記載のモーションコントローラと前記モーションコントローラからの指令を受けるサーボアンプを持つことを特徴とする多軸サーボシステム。   7. A multi-axis servo system comprising: the motion controller according to claim 1; and a servo amplifier that receives a command from the motion controller. エンドエフェクタを持つ多軸サーボシステムに対して、前記エンドエフェクタの移動範囲である作業領域と、前記作業領域内において前記エンドエフェクタが侵入することが許されないゼロまたは一つまたは複数の禁止領域を設定し、さらに各軸に対して許される速度および加速度の組み合わせの範囲を設定し、エンドエフェクタの初期位置および初期速度および最終位置および最終速度を与えると各軸の通過軌道を算出する機能を有することを特徴とするモーションプランナ。   For a multi-axis servo system having an end effector, a work area that is a movement range of the end effector and zero or one or a plurality of prohibited areas in which the end effector is not allowed to enter are set in the work area. Furthermore, it has a function to calculate the passing trajectory of each axis by setting the range of combinations of speed and acceleration allowed for each axis, and giving the initial position, initial speed, final position and final speed of the end effector. A motion planner featuring 請求項8に記載のモーションプランナにおいて、算出される前記軌道はエンドポイントが通過する複数の通過点の座標および前記通過点を通過する速度および連続する二つの前記通過点を通過する通過時間であることを特徴とするモーションプランナ。   9. The motion planner according to claim 8, wherein the calculated trajectory is coordinates of a plurality of passing points through which an end point passes, a speed passing through the passing point, and a passing time passing through two successive passing points. A motion planner characterized by this. 請求項8または請求項9に記載のモーションプランナにより各軸の前記通過軌跡を算出し、前記算出された前記通過軌跡をエンドポイントの目標軌道とすることを特徴とする多軸サーボシステム。   10. A multi-axis servo system characterized in that the passing trajectory of each axis is calculated by the motion planner according to claim 8 or 9, and the calculated passing trajectory is set as a target trajectory of an end point. 請求項1から請求項6に記載のモーションコントローラを含むことを特徴とする請求項10に記載の多軸サーボシステム。   The multi-axis servo system according to claim 10, comprising the motion controller according to claim 1. 直交軸ロボットを対象とすることを特徴とする請求項8または請求項9に記載のモーションプランナ。   The motion planner according to claim 8 or 9, wherein the motion planner is for an orthogonal axis robot. 直交軸ロボットを対象とすることを特徴とする請求項10または請求項11に記載の多軸サーボシステム。   The multi-axis servo system according to claim 10 or 11, wherein the multi-axis servo system is intended for an orthogonal axis robot. 非直交軸ロボットを対象とすることを特徴とする請求項8または請求項9に記載のモーションプランナ。   The motion planner according to claim 8, wherein the motion planner is for a non-orthogonal axis robot. 非直交軸ロボットを対象とすることを特徴とする請求項10または請求項11に記載の多軸サーボシステム。   The multi-axis servo system according to claim 10 or 11, wherein the multi-axis servo system is intended for a non-orthogonal robot. 一定時間間隔ごとに位置目標値と速度目標値を入力し、被制御量を前記位置目標値に近づけ、前記被制御量の時間微分の値を前記速度目標値に近づける動作を同時に行うことを特徴とするサーボアンプ。   A position target value and a speed target value are input at regular time intervals, the controlled amount is brought close to the position target value, and an operation of simultaneously bringing the time differential value of the controlled amount close to the speed target value is performed. Servo amplifier. 一定時間間隔ごとに位置目標値を入力し、速度目標値を前記位置目標値の差分とし、被制御量を前記位置目標値に近づけ、被制御量の時間微分の値を前記速度目標値に近づける動作を同時に行うことを特徴とするサーボアンプ。   The position target value is input at regular time intervals, the speed target value is set as the difference between the position target values, the controlled variable is brought close to the position target value, and the time differential value of the controlled variable is brought close to the speed target value. Servo amplifier characterized by simultaneous operation.
JP2007039839A 2007-02-20 2007-02-20 Motion planner, control system, and multi-axis servo system Active JP5380672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007039839A JP5380672B2 (en) 2007-02-20 2007-02-20 Motion planner, control system, and multi-axis servo system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007039839A JP5380672B2 (en) 2007-02-20 2007-02-20 Motion planner, control system, and multi-axis servo system

Publications (2)

Publication Number Publication Date
JP2008204188A true JP2008204188A (en) 2008-09-04
JP5380672B2 JP5380672B2 (en) 2014-01-08

Family

ID=39781628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007039839A Active JP5380672B2 (en) 2007-02-20 2007-02-20 Motion planner, control system, and multi-axis servo system

Country Status (1)

Country Link
JP (1) JP5380672B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014125719A1 (en) * 2013-02-15 2014-08-21 村田機械株式会社 Conveyance trolley, drive control method for conveyance trolley, and drive control program for conveyance trolley
CN105415372A (en) * 2015-12-09 2016-03-23 常州汉迪机器人科技有限公司 Multi-joint robot track planning method under constraint of safety space
JP2017045250A (en) * 2015-08-26 2017-03-02 トヨタ自動車株式会社 Omnidirectional mobile body, control method thereof and program
CN106970640A (en) * 2017-03-21 2017-07-21 北京小米移动软件有限公司 The no-fly control method and device of unmanned plane
CN107908191A (en) * 2017-12-20 2018-04-13 芜湖哈特机器人产业技术研究院有限公司 The kinetic control system and method for a kind of series-parallel robot
CN108227716A (en) * 2018-01-19 2018-06-29 广东美的智能机器人有限公司 The paths planning method and system of mobile robot
JP2020183965A (en) * 2014-02-27 2020-11-12 インテュイティブ サージカル オペレーションズ, インコーポレイテッド System and method for specular reflection detection and reduction
JP6800384B1 (en) * 2020-03-04 2020-12-16 三菱電機株式会社 Positioning control device and positioning method
CN112325907A (en) * 2020-11-06 2021-02-05 北京配天技术有限公司 Method, device, equipment and medium for testing robot path planning algorithm
WO2021033594A1 (en) * 2019-08-22 2021-02-25 ソニー株式会社 Information processing device, information processing method, and program
CN113093716A (en) * 2019-12-19 2021-07-09 广州极飞科技股份有限公司 Motion trail planning method, device, equipment and storage medium
WO2022085339A1 (en) * 2020-10-19 2022-04-28 オムロン株式会社 Movement planning device, movement planning method, and movement planning program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6598090B2 (en) * 2015-01-26 2019-10-30 デューク・ユニバーシティ Storage medium, method for planning robot operation, hardware for planning robot operation, and robot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5997865A (en) * 1982-11-24 1984-06-05 日本電信電話株式会社 Method of driving multi-joint link mechanism
JPS6115207A (en) * 1984-06-29 1986-01-23 Shin Meiwa Ind Co Ltd Method and device for control of robot
JPH07325607A (en) * 1994-05-31 1995-12-12 Citizen Watch Co Ltd Path control method for robot
JPH11198072A (en) * 1998-01-14 1999-07-27 Yaskawa Electric Corp Minimum time speed controller for robot
JP2001154706A (en) * 1999-11-29 2001-06-08 Japan Atom Energy Res Inst Method for generating route of mobile object
JP2002073130A (en) * 2000-06-13 2002-03-12 Yaskawa Electric Corp Planning method for gross motion path of robot and its controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5997865A (en) * 1982-11-24 1984-06-05 日本電信電話株式会社 Method of driving multi-joint link mechanism
JPS6115207A (en) * 1984-06-29 1986-01-23 Shin Meiwa Ind Co Ltd Method and device for control of robot
JPH07325607A (en) * 1994-05-31 1995-12-12 Citizen Watch Co Ltd Path control method for robot
JPH11198072A (en) * 1998-01-14 1999-07-27 Yaskawa Electric Corp Minimum time speed controller for robot
JP2001154706A (en) * 1999-11-29 2001-06-08 Japan Atom Energy Res Inst Method for generating route of mobile object
JP2002073130A (en) * 2000-06-13 2002-03-12 Yaskawa Electric Corp Planning method for gross motion path of robot and its controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6012047145; 松本政秀、安田晃: '区間演算に基づくロボットアームの障害物回避経路探索手法:第1報、二次元問題への適用' 日本機械学会論文集C編 73巻725号, 20070125, p. 222-229, 一般社団法人 日本機械学会 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2014125719A1 (en) * 2013-02-15 2017-02-02 村田機械株式会社 Transport cart, transport cart drive control method, and transport cart drive control program
WO2014125719A1 (en) * 2013-02-15 2014-08-21 村田機械株式会社 Conveyance trolley, drive control method for conveyance trolley, and drive control program for conveyance trolley
JP2020183965A (en) * 2014-02-27 2020-11-12 インテュイティブ サージカル オペレーションズ, インコーポレイテッド System and method for specular reflection detection and reduction
US11937899B2 (en) 2014-02-27 2024-03-26 Intuitive Surgical Operations, Inc. System and method for specular reflection detection and reduction
JP2017045250A (en) * 2015-08-26 2017-03-02 トヨタ自動車株式会社 Omnidirectional mobile body, control method thereof and program
CN105415372A (en) * 2015-12-09 2016-03-23 常州汉迪机器人科技有限公司 Multi-joint robot track planning method under constraint of safety space
CN106970640A (en) * 2017-03-21 2017-07-21 北京小米移动软件有限公司 The no-fly control method and device of unmanned plane
CN106970640B (en) * 2017-03-21 2020-10-13 北京小米移动软件有限公司 Unmanned aerial vehicle flight control forbidding method and device
CN107908191A (en) * 2017-12-20 2018-04-13 芜湖哈特机器人产业技术研究院有限公司 The kinetic control system and method for a kind of series-parallel robot
CN107908191B (en) * 2017-12-20 2024-03-29 芜湖哈特机器人产业技术研究院有限公司 Motion control system and method for serial-parallel robot
CN108227716A (en) * 2018-01-19 2018-06-29 广东美的智能机器人有限公司 The paths planning method and system of mobile robot
WO2021033594A1 (en) * 2019-08-22 2021-02-25 ソニー株式会社 Information processing device, information processing method, and program
CN113093716A (en) * 2019-12-19 2021-07-09 广州极飞科技股份有限公司 Motion trail planning method, device, equipment and storage medium
CN113093716B (en) * 2019-12-19 2024-04-30 广州极飞科技股份有限公司 Motion trail planning method, device, equipment and storage medium
JP6800384B1 (en) * 2020-03-04 2020-12-16 三菱電機株式会社 Positioning control device and positioning method
WO2021176619A1 (en) * 2020-03-04 2021-09-10 三菱電機株式会社 Positioning control device and positioning method
WO2022085339A1 (en) * 2020-10-19 2022-04-28 オムロン株式会社 Movement planning device, movement planning method, and movement planning program
JP7480670B2 (en) 2020-10-19 2024-05-10 オムロン株式会社 MOTION PLANNING APPARATUS, MOTION PLANNING METHOD, AND MOTION PLANNING PROGRAM
CN112325907A (en) * 2020-11-06 2021-02-05 北京配天技术有限公司 Method, device, equipment and medium for testing robot path planning algorithm
CN112325907B (en) * 2020-11-06 2023-06-06 北京配天技术有限公司 Method, device, equipment and medium for testing robot path planning algorithm

Also Published As

Publication number Publication date
JP5380672B2 (en) 2014-01-08

Similar Documents

Publication Publication Date Title
JP5380672B2 (en) Motion planner, control system, and multi-axis servo system
US8392002B2 (en) Hybrid machine control incorporating fast-tool servos
JPH1097316A (en) Movement plan and control method for system followed by many mobile objects
US20030171847A1 (en) Method of controlling a robot through a singularity
JP2728399B2 (en) Robot control method
CN111775145B (en) Control system of serial-parallel robot
JP2014208400A (en) Robot controller and robot attitude interpolation method
JPH06278063A (en) Industrial robot system
Tangpattanakul et al. Optimal trajectory of robot manipulator using harmony search algorithms
Zhang et al. A task-priority coordinated motion planner combined with visual servo for mobile manipulator
JP2014076498A (en) Articulated robot and semiconductor wafer carrier device
Cong Combination of two visual servoing techniques in contour following task
Hanh et al. Implement contour following task of objects with unknown geometric models by using combination of two visual servoing techniques
JP5278850B2 (en) 3D path control method
JPS62199383A (en) Control system of robot
Zhao et al. Online via-points trajectory generation for reactive manipulations
Gao et al. A fixed-distance Cartesian path planning algorithm for 6-DOF industrial robots
Demir et al. Review for path planning for robots and its applications
Borangiu et al. Open architecture for robot controllers
JPS62154006A (en) Robot controller
Ji et al. A Spatial Path Following Method for Hyper-Redundant Manipulators by Step-by-Step Search and Calculating
Tatte et al. Reduction of positional error in a path of a 2 DOF serial planar manipulator
Tang et al. Towards Flexible Manufacturing: Motion Generation Concept for Coupled Multi-Robot Systems
Maťuga Control and positioning of robotic arm on CNC cutting machines and their applications in industry
KR102582430B1 (en) A method and apparatus for controlling a robot using feedback from a laser tracker

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130708

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: 20130903

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130911

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150