JPH11191011A - Robot control unit and its control method - Google Patents

Robot control unit and its control method

Info

Publication number
JPH11191011A
JPH11191011A JP35839797A JP35839797A JPH11191011A JP H11191011 A JPH11191011 A JP H11191011A JP 35839797 A JP35839797 A JP 35839797A JP 35839797 A JP35839797 A JP 35839797A JP H11191011 A JPH11191011 A JP H11191011A
Authority
JP
Japan
Prior art keywords
arm
output
set value
deviation
operation signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP35839797A
Other languages
Japanese (ja)
Inventor
Kazuyuki Hayamizu
一之 速水
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP35839797A priority Critical patent/JPH11191011A/en
Publication of JPH11191011A publication Critical patent/JPH11191011A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten a line process time by distinguishing controls requiring accurate positioning from these not requiring it in a series of operations. SOLUTION: When a control flag is off in steps S5 and S9, it is determined whether or not deviation of the current position of an X or Z axis from a target position corresponding to an operation command is less than predetermined by referring to a detection signal representing the current position, and when the deviation is less than the set value, a position confirmation signal for confirming that the target position reached a deviation less than the specific set value is generated and outputted to a CPU together with a command processing end signal. When the control flag is on in the step S5, on the other hand, the command process is ended once the remaining movement quantity corresponding to the operation command decreases below predetermined before the above position confirmation signal is outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、少なくと
も1軸のロボットアームをサーボモータで駆動するロボ
ットにおいて、ロボットアームの移動位置を制御するロ
ボット制御装置及びその制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a robot control device for controlling a moving position of a robot arm in a robot that drives at least one axis of a robot arm by a servomotor, and a control method thereof.

【0002】[0002]

【従来の技術】図3はロボットの構成図であり、図4は
図3のロボットの動作例を示す図であり、図5は図3の
ロボット制御装置の制御回路ブロック図である。
2. Description of the Related Art FIG. 3 is a block diagram of a robot, FIG. 4 is a diagram showing an operation example of the robot of FIG. 3, and FIG. 5 is a control circuit block diagram of the robot control device of FIG.

【0003】図3において、ロボットは門型の2軸ロボ
ットであり、水平方向に移動するX軸アーム31と、垂
直方向に移動するZ軸アーム32と、Z軸アームの先端
に設けられたワークを把持するクランプ機構33と、ク
ランプ機構33により把持されるワーク34と、第1の
ワーク載置台35と、第2のワーク載置台36とを備
え、X軸アーム31やZ軸アーム32やクランプ機構3
3はロボット制御装置37により動作制御される。
In FIG. 3, the robot is a portal type two-axis robot, and an X-axis arm 31 that moves horizontally, a Z-axis arm 32 that moves vertically, and a work provided at the tip of the Z-axis arm. Mechanism, a workpiece 34 gripped by the clamp mechanism 33, a first work mounting table 35, and a second work mounting table 36, and the X-axis arm 31, the Z-axis arm 32, Mechanism 3
The operation of 3 is controlled by the robot controller 37.

【0004】ここで、図4を参照して、ワーク34をワ
ーク載置台35からワーク載置台36に移載する動作に
ついて説明する。
Here, an operation of transferring the work 34 from the work mounting table 35 to the work mounting table 36 will be described with reference to FIG.

【0005】図4に示すように、位置Aをワーク載置台
35の位置とし、位置Dをワーク載置台36の位置と
し、クランプ機構33が位置Bに停止しているとする
と、クランプ機構33の位置は、位置B→Z軸アーム3
2を位置Aまで下降→位置A→ワーク34をクランプ→
Z軸アーム32を位置Bまで上昇→位置B→X軸アーム
31を位置Cまで移動→位置C→Z軸アーム32を位置
Dまで下降→位置D→ワーク34をアンクランプ→Z軸
アームを位置Cまで上昇→位置C→X軸アームを位置B
まで移動→位置Bという一連の動作により制御される。
As shown in FIG. 4, if position A is the position of the work table 35, position D is the position of the work table 36, and the clamp mechanism 33 is stopped at position B, The position is position B → Z axis arm 3
2 moves down to position A → position A → clamps work 34 →
Move Z-axis arm 32 to position B → Position B → Move X-axis arm 31 to position C → Position C → Move Z-axis arm 32 to position D → Position D → Unclamp work 34 → Position Z-axis arm Ascend to C → Position C → Move X-axis arm to Position B
Is controlled by a series of operations of moving to position B.

【0006】次に、ロボット制御装置37の制御回路構
成について説明する。
Next, a control circuit configuration of the robot controller 37 will be described.

【0007】図5に示すように、ロボット制御装置37
はアクチュエータ制御部51を有し、CPU40は制御
部51の演算処理部52に動作信号を出力する。演算処
理部52は、CPU40から出力された動作信号に基づ
きX軸或いはZ軸アーム31、32の移動量を演算し、
その移動量を表わす動作制御信号を動作指令として位置
ループ処理部53、58に出力する。位置ループ処理部
53、58及び速度ループ処理部54、59は、電流出
力部55、60を介してモータ56、61に動作制御信
号に応じたパルス信号を出力する。モータ56、61
は、X軸アーム31、Z軸アーム32をパルス信号に応
じて夫々駆動する。モータ56、61は夫々エンコーダ
57、62を有し、位置ループ処理部53、58及び速
度ループ処理部54、59は各エンコーダ57、62か
ら出力されるX軸或いはZ軸アーム31、32の現在位
置を表わす検出信号から動作指令に応じた目標位置と現
在位置との偏差を演算処理部52にフィードバックする
と共に、この偏差に応じて演算された演算処理部52か
らの動作指令に基づいてモータ56、61をフィードバ
ック制御する。
[0007] As shown in FIG.
Has an actuator control unit 51, and the CPU 40 outputs an operation signal to an arithmetic processing unit 52 of the control unit 51. The arithmetic processing unit 52 calculates the amount of movement of the X-axis or Z-axis arms 31, 32 based on the operation signal output from the CPU 40,
An operation control signal indicating the movement amount is output to the position loop processing units 53 and 58 as an operation command. The position loop processing units 53 and 58 and the speed loop processing units 54 and 59 output pulse signals corresponding to the operation control signals to the motors 56 and 61 via the current output units 55 and 60. Motors 56, 61
Drives the X-axis arm 31 and the Z-axis arm 32 according to the pulse signal. The motors 56 and 61 have encoders 57 and 62, respectively, and the position loop processing units 53 and 58 and the speed loop processing units 54 and 59 provide the current values of the X-axis or Z-axis arms 31 and 32 output from the encoders 57 and 62, respectively. The deviation between the target position and the current position according to the operation command from the detection signal representing the position is fed back to the arithmetic processing unit 52, and the motor 56 based on the operation command from the arithmetic processing unit 52 calculated according to this deviation. , 61 are feedback controlled.

【0008】次に、図5と図6を参照して、図5のロボ
ット制御装置による制御フローについて説明する。
Next, a control flow by the robot controller of FIG. 5 will be described with reference to FIG. 5 and FIG.

【0009】図6は、図5のロボット制御装置の動作例
を示すフローチャートである。図7は、図6の制御フロ
ーによるモータの応答特性を示す図である。
FIG. 6 is a flowchart showing an operation example of the robot control device of FIG. FIG. 7 is a diagram showing the response characteristics of the motor according to the control flow of FIG.

【0010】図5、図6において、処理が開始される
と、ステップS101では、演算処理部52は、CPU
40から出力されたコマンドを受信し、ロボットの動作
制御に必要な初期設定を実行する。ステップS102で
は、演算処理部52は、X軸アーム或いはZ軸アームの
移動量を演算する。ステップS103では、演算処理部
52は、位置ループ処理部53、58と速度ループ処理
部54、59に動作指令を出力する。ステップS104
では、位置ループ処理部53、58と速度ループ処理部
54、59は、演算処理部52からの動作指令が停止さ
れたか否かを判定する。ステップS104で動作指令が
停止されたならば(YES)、ステップS105で、位
置ループ処理部53、58及び速度ループ処理部54、
59は各エンコーダ57、62から出力されるX軸或い
はZ軸アーム31、32の現在位置を表わす検出信号か
ら動作指令に応じた目標位置と現在位置との偏差を演算
処理部52に出力し、演算処理部52では偏差が予め決
められた設定値以下であるか否かを判定する。ステップ
S105で偏差が設定値以下ならば(YES)、ステッ
プS106で、アームの現在位置が所定の設定値以下の
偏差で目標位置になったことを確認するための位置確認
信号を生成して、ステップS107で、コマンド処理終
了信号と共にCPU40に出力する。
In FIG. 5 and FIG. 6, when the processing is started, in step S101, the arithmetic processing unit 52
The command output from 40 is received, and the initialization required for the operation control of the robot is executed. In step S102, the arithmetic processing unit 52 calculates the movement amount of the X-axis arm or the Z-axis arm. In step S103, the arithmetic processing unit 52 outputs an operation command to the position loop processing units 53 and 58 and the speed loop processing units 54 and 59. Step S104
Then, the position loop processing units 53 and 58 and the speed loop processing units 54 and 59 determine whether or not the operation command from the arithmetic processing unit 52 has been stopped. If the operation command is stopped in step S104 (YES), in step S105, the position loop processing units 53 and 58 and the speed loop processing unit 54
59 outputs the deviation between the target position and the current position according to the operation command from the detection signal indicating the current position of the X-axis or Z-axis arms 31 and 32 output from the encoders 57 and 62 to the arithmetic processing unit 52, The arithmetic processing unit 52 determines whether or not the deviation is equal to or less than a predetermined set value. If the deviation is equal to or smaller than the set value in step S105 (YES), a position confirmation signal for confirming that the current position of the arm has reached the target position with the deviation equal to or smaller than the predetermined set value is generated in step S106. In step S107, the command is output to the CPU 40 together with the command processing end signal.

【0011】図7は、図6の動作例に基づくロボットの
応答特性を説明する図である。
FIG. 7 is a diagram for explaining the response characteristics of the robot based on the operation example of FIG.

【0012】図7の横軸は時間、縦軸はモータの動作速
度を示しているが、図6の一連の動作において、演算処
理部52からの動作指令は時間と共に台形状に出力され
るが実際のモータ軸の動作は動作指令に対して時間的に
遅れている。
The horizontal axis in FIG. 7 indicates time, and the vertical axis indicates the operating speed of the motor. In a series of operations in FIG. 6, the operation command from the arithmetic processing unit 52 is output in a trapezoidal shape with time. The actual operation of the motor shaft is temporally delayed with respect to the operation command.

【0013】[0013]

【発明が解決しようとする課題】上記従来例では、図4
に示す位置AからDへの移動した後はワークをクランプ
からアンクランプに切り換えるため正確な位置精度が要
求される。このため、位置確認信号が出力されたことを
確認してからでないと次のコマンド処理へ移行すること
ができない。
In the above conventional example, FIG.
After the movement from the position A to the position D shown in (1), accurate positional accuracy is required to switch the workpiece from the clamp to the unclamping. For this reason, it is not possible to shift to the next command process until the position confirmation signal is output.

【0014】しかし、位置A→位置B→位置C→位置D
の移動では、位置B、Cは上空の通過点であるため、位
置A、Dほど正確な位置精度は必要なく、この位置B、
Cへの動作制御までも位置確認信号が出力されるまで実
行するとタクトタイムが長期化するという問題がある。
However, position A → position B → position C → position D
, The positions B and C are passing points in the sky, so that the positions B and C need not be as accurate as the positions A and D.
If the operation control to C is performed until the position confirmation signal is output, there is a problem that the tact time is prolonged.

【0015】本発明は、上述の課題に鑑みてなされ、そ
の目的は、一連の動作の中で正確な位置精度が要求され
る動作制御と位置精度が要求されない制御動作とを切り
分けてタクトタイムの短縮を図ることができるロボット
制御装置及びその制御方法を提供することである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has as its object to separate a control operation requiring accurate position accuracy from a control operation not requiring position accuracy in a series of operations to reduce the tact time. An object of the present invention is to provide a robot control device and a control method thereof that can be shortened.

【0016】[0016]

【課題を解決するための手段】上述の課題を解決し、目
的を達成するため、本発明のロボット制御装置は以下の
構成を備える。即ち、少なくとも1軸のアームを有する
ロボットにおいて、該アーム移動時に該アームを目標位
置に移動する駆動手段を備えるロボット制御装置におい
て、前記駆動手段に対して、前記アームを目標位置に移
動させるための動作信号を出力する出力手段と、前記駆
動手段から出力される検出信号により、前記アームの移
動量を検出して、前記出力手段にフィードバックするフ
ィードバック手段と、前記アームの現在位置と目標位置
との偏差が所定の第1設定値以下となったか否かを判定
する判定手段と、前記偏差が所定の第1設定値以下とな
った場合に動作信号の出力を停止する停止手段を備え、
前記停止手段は、所定条件に応じた動作の場合、前記動
作信号に応じた前記アームの残りの移動量が所定の第2
設定値以下となったならば、前記判定手段により前記偏
差が所定の第1設定値以下になったと判定される前に前
記動作信号の出力を停止する。
In order to solve the above-mentioned problems and achieve the object, a robot control device according to the present invention has the following arrangement. That is, in a robot having at least one-axis arm, a robot control device including a driving unit for moving the arm to a target position when the arm is moved, the robot control device for moving the arm to a target position with respect to the driving unit. Output means for outputting an operation signal, feedback means for detecting the amount of movement of the arm based on a detection signal output from the driving means, and feeding back the output to the output means; Determining means for determining whether the deviation has become equal to or less than a predetermined first set value; and stopping means for stopping output of the operation signal when the deviation has become equal to or less than the predetermined first set value;
In the case where the stopping means performs an operation according to a predetermined condition, the remaining movement amount of the arm according to the operation signal is equal to a predetermined second amount.
When the difference becomes equal to or smaller than the set value, the output of the operation signal is stopped before the judgment unit judges that the deviation has become equal to or smaller than a predetermined first set value.

【0017】また、本発明のロボット制御方法は以下の
特徴を備える。即ち、少なくとも1軸のアームを有する
ロボットにおいて、該アーム移動時に該アームを目標位
置に移動する駆動手段と、前記駆動手段に対して、前記
アームを目標位置に移動させるための動作信号を出力す
る出力手段と、前記駆動手段から出力される検出信号に
より、前記アームの移動量を検出して、前記出力手段に
フィードバックするフィードバック手段と、前記アーム
の現在位置と目標位置との偏差が所定の第1設定値以下
となったか否かを判定する判定手段と、前記偏差が所定
の第1設定値以下となった場合に動作信号の出力を停止
する停止手段を備えるロボット制御装置の制御方法であ
って、所定条件に応じた動作の場合、前記動作信号に応
じた前記アームの残りの移動量が所定の第2設定値以下
となったならば、前記判定手段により前記偏差が所定の
第1設定値以下になったと判定される前に前記動作信号
の出力を停止するように前記停止手段を制御する。
The robot control method of the present invention has the following features. That is, in a robot having at least one axis arm, a driving unit for moving the arm to a target position when the arm is moved, and an operation signal for moving the arm to the target position is output to the driving unit. Output means, feedback means for detecting the amount of movement of the arm based on a detection signal output from the driving means, and feeding back the output to the output means; and a deviation between the current position and the target position of the arm being a predetermined value. A control method for a robot control device, comprising: a determination unit configured to determine whether the difference is equal to or smaller than a first set value; and a stop unit configured to stop outputting an operation signal when the deviation is equal to or smaller than a predetermined first set value. In the case of an operation according to a predetermined condition, if the remaining movement amount of the arm according to the operation signal becomes equal to or less than a predetermined second set value, the determination means Said deviation to control said stopping means to stop the output of the operation signal before it is determined that equal to or less than the first set value of the predetermined Ri.

【0018】[0018]

【発明の実施の形態】以下に、本発明に係る実施形態に
ついて添付図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0019】先ず、図1を参照して、上述の図3のロボ
ットを図5に示すロボット制御装置により制御する場合
の制御動作について説明する。尚、本実施形態のロボッ
トの構成は図3に示すものと同様であり、本実施形態の
ロボット制御装置も図5に示すものと同様であるので説
明を省略する。
First, a control operation in the case where the robot shown in FIG. 3 is controlled by the robot controller shown in FIG. 5 will be described with reference to FIG. The configuration of the robot according to the present embodiment is the same as that shown in FIG. 3, and the robot control device according to the present embodiment is also the same as that shown in FIG.

【0020】図1は、本発明に係る実施形態のロボット
制御装置の制御動作を示すフローチャートである。図2
は、図1の制御フローによる動作結果としてのロボット
の応答特性を説明する図である。
FIG. 1 is a flowchart showing the control operation of the robot control device according to the embodiment of the present invention. FIG.
FIG. 3 is a diagram illustrating response characteristics of the robot as an operation result according to the control flow of FIG. 1.

【0021】図3乃至5に示すように、ワーク34をワ
ーク載置台35からワーク載置台36に移載するため
に、クランプ機構33を位置A→位置B→位置C→位置
Dに移動させる場合、各動作において、CPU40から
演算処理部51にコマンドを出力する。この時、演算処
理部52は、正確な位置精度が要求される動作の場合に
は、その動作への移行時に制御フラグをオフ(「0」に
セット)し、反対に正確な位置制度が要求されない動作
の場合には、その動作への移行時に制御フラグをオン
(「1」にセット)する。即ち、制御フラグは、CPU
40での制御動作の内容に関して、正確な位置精度が要
求される動作制御と位置精度が要求されない制御動作と
を切り分けるための指標となる。
As shown in FIGS. 3 to 5, when the clamp mechanism 33 is moved from position A to position B to position C to position D in order to transfer the work 34 from the work mounting table 35 to the work mounting table 36. In each operation, a command is output from the CPU 40 to the arithmetic processing unit 51. At this time, if the operation requires accurate position accuracy, the arithmetic processing unit 52 turns off the control flag (sets it to “0”) at the time of transition to the operation. If the operation is not performed, the control flag is turned on (set to "1") at the time of transition to the operation. That is, the control flag is
Regarding the contents of the control operation at 40, it is an index for separating operation control requiring accurate position accuracy from control operation not requiring position accuracy.

【0022】CPU40では、制御フラグがオフなら
ば、演算処理部52は、各エンコーダ57、62から出
力されるX軸或いはZ軸アーム31、32の現在位置を
表わす検出信号から動作指令に応じた目標位置と現在位
置との偏差が予め決められた設定値以下であるか否かを
判定し、偏差が設定値以下ならば、アームの現在位置が
所定の設定値以下の偏差で目標位置になったことを確認
するための位置確認信号を生成して、コマンド処理終了
信号と共にCPU40に出力する。
In the CPU 40, if the control flag is turned off, the arithmetic processing unit 52 responds to the operation command from the detection signals output from the encoders 57 and 62 and representing the current position of the X-axis or Z-axis arms 31 and 32. It is determined whether the deviation between the target position and the current position is equal to or less than a predetermined set value, and if the deviation is equal to or less than the set value, the current position of the arm becomes the target position with a deviation equal to or less than the predetermined set value. Then, a position confirmation signal for confirming the fact is generated and output to the CPU 40 together with the command processing end signal.

【0023】一方、CPU40では、制御フラグがオン
ならば、上記偏差が設定値以下であり位置確認信号が出
力される前に動作指令に応じた残りの移動量が予め決め
られた設定値以下になった時点でコマンド処理を終了す
る。 [位置精度が要求される場合]図4の位置B→位置A或
いは位置C→位置Dへの移動は、ワークのクランプ、ア
ンクランプを伴うため正確な位置精度が要求される動作
となる。この時の動作例について図1を参照して説明す
る。
On the other hand, if the control flag is on, the CPU 40 determines that the deviation is equal to or less than the set value, and that the remaining moving amount according to the operation command is equal to or less than the predetermined set value before the position confirmation signal is output. At this point, the command processing ends. [When Positional Accuracy is Required] The movement from position B to position A or position C to position D in FIG. 4 involves clamping and unclamping of the work, and is an operation that requires accurate position accuracy. An operation example at this time will be described with reference to FIG.

【0024】図1に示すように、処理が開始されると、
ステップS1では、演算処理部52は、CPU40から
動作信号、制御フラグ、コマンドを受信して前回のコマ
ンド処理が完了しているか否かを判定する。ステップS
1で前回のコマンド処理が完了しているならば(YE
S)、ステップS2に進む。ステップS2では、演算処
理部52は、アームの移動に必要な初期設定を行う。ス
テップS3では、アームの移動量を演算する。ステップ
S4では、位置ループ処理部53、58と速度ループ処
理部54、59に対して動作指令を出力する。
As shown in FIG. 1, when the process is started,
In step S1, the arithmetic processing unit 52 receives an operation signal, a control flag, and a command from the CPU 40, and determines whether the previous command processing has been completed. Step S
If the previous command processing is completed in 1 (YE
S), and proceed to step S2. In step S2, the arithmetic processing unit 52 performs an initial setting necessary for the movement of the arm. In step S3, the movement amount of the arm is calculated. In step S4, an operation command is output to the position loop processing units 53 and 58 and the speed loop processing units 54 and 59.

【0025】ステップS5では、制御フラグがオンか否
かを判定する。ステップS5で制御フラグがオンならば
(YES)、後述するステップS6、S7に示す正確な
位置精度が要求されない動作を実行する。ステップS5
で制御フラグがオフならば(NO)、ステップS8に進
む。
In step S5, it is determined whether the control flag is on. If the control flag is ON in step S5 (YES), the operation in which accurate position accuracy is not required shown in steps S6 and S7 described later is executed. Step S5
If the control flag is off (NO), the process proceeds to step S8.

【0026】ステップS8では、演算処理部52は動作
指令が終了するまでステップS3からの動作を繰り返し
実行する(フィードバック制御)。ステップS8で動作
指令が終了したならば(YES)、ステップS9で、制
御フラグがオンか否かを判定する。ステップS9で制御
フラグがオンならば(YES)、正確な位置精度が要求
されない動作なのでステップS1にリターンして次のコ
マンド処理を実行する。ステップS9で制御フラグがオ
フならば(NO)、ステップS10に進んで、位置ルー
プ処理部53、58と速度ループ処理部54、59は、
電流出力部55、60に出力した動作指令に応じたパル
ス信号とエンコーダ57、62からの検出信号からX軸
アーム或いはZ軸アームの目標位置と現在位置との偏差
を演算処理部52に出力し、演算処理部52では偏差が
予め決められた第1設定値以下であるか否かを判定す
る。ステップS10で偏差が第1設定値以下ならば(Y
ES)、ステップS11で、アームの移動先が第1設定
値以下の偏差で目標位置になったことを確認するための
位置確認信号を生成して、ステップS12で、コマンド
処理終了信号と共にCPU40に出力する。 [位置精度が要求されない場合]図4の位置A→位置
B、位置B→位置C、位置C→位置B、位置D→位置C
への移動は、ワークのクランプ、アンクランプを伴わな
いため正確な位置精度が要求されない動作となる。この
時の動作例について図1を参照して説明する。
In step S8, the arithmetic processing section 52 repeatedly executes the operation from step S3 until the operation command is completed (feedback control). If the operation command has been completed in step S8 (YES), it is determined in step S9 whether or not the control flag is on. If the control flag is on in step S9 (YES), the operation returns to step S1 to execute the next command processing because the operation does not require accurate position accuracy. If the control flag is OFF in step S9 (NO), the process proceeds to step S10, where the position loop processing units 53 and 58 and the speed loop processing units 54 and 59
The deviation between the target position of the X-axis arm or the Z-axis arm and the current position is output to the arithmetic processing unit 52 from the pulse signals corresponding to the operation commands output to the current output units 55 and 60 and the detection signals from the encoders 57 and 62. The arithmetic processing unit 52 determines whether the deviation is equal to or less than a predetermined first set value. If the deviation is equal to or smaller than the first set value in step S10, (Y
ES), in step S11, a position confirmation signal for confirming that the movement destination of the arm has reached the target position with a deviation equal to or smaller than the first set value is generated. Output. [When position accuracy is not required] Position A → position B, position B → position C, position C → position B, position D → position C in FIG.
The movement to, which does not involve clamping and unclamping of the work, is an operation that does not require accurate positional accuracy. An operation example at this time will be described with reference to FIG.

【0027】図1において、ステップS1〜S4の動作
は同じであり、ステップS5で制御フラグがオンならば
(YES)、正確な位置精度が要求されない動作なの
で、ステップS6に進み、動作指令に応じた残りの移動
量が予め決められた第2設定値以下になったか否かを判
定する。ステップS6で残りの移動量が第2設定値以下
になったら(NO)、ステップS7でCPU40に対し
てコマンド処理終了信号を出力する。これにより、CP
U40は次の処理に移行することができる。
In FIG. 1, the operations in steps S1 to S4 are the same. If the control flag is ON in step S5 (YES), the operation does not require accurate position accuracy. It is determined whether or not the remaining movement amount has become equal to or less than a predetermined second set value. If the remaining movement amount is equal to or less than the second set value in step S6 (NO), a command processing end signal is output to the CPU 40 in step S7. Thereby, the CP
U40 can shift to the next process.

【0028】また、ステップS6で残りの移動量が第2
設定値以下でないならば(YES)、ステップS8に進
み、ステップS8では、ドライバ部51での動作指令は
終了していない(ステップS8でNO)と判定されるの
で、動作指令が終了するまでステップS3からの処理を
繰り返し実行する。
In step S6, the remaining moving amount is equal to the second moving amount.
If the value is not equal to or smaller than the set value (YES), the process proceeds to step S8. In step S8, it is determined that the operation command in the driver unit 51 has not ended (NO in step S8). The processing from S3 is repeatedly executed.

【0029】図2に示すように、正確な位置精度が要求
されない動作では、動作指令に応じた残りの移動量が予
め決められた第2設定値以下になったならばコマンド処
理を終了してしまうので、従来のように現在位置が目標
位置になったことを確認するための位置確認信号が出力
されるまで待つ必要がなく、CPU40からの次のコマ
ンドをt2秒早く受信することができる。そして、CP
U40は次のコマンド処理に早期に移行でき、モータ駆
動中に別のコマンド処理を実行できる。また、演算処理
部52では、現在の動作指令が終了されるまではCPU
40から受けた次のコマンド処理を実行せず、次コマン
ドは待機状態となり、現在の動作指令が終了した後に次
のコマンド処理を実行する。
As shown in FIG. 2, in an operation in which accurate position accuracy is not required, if the remaining movement amount according to the operation command becomes equal to or less than a second predetermined value, the command processing is terminated. Therefore, it is not necessary to wait until a position confirmation signal for confirming that the current position has reached the target position is output as in the related art, and the next command from the CPU 40 can be received t2 seconds earlier. And CP
U40 can shift to the next command processing at an early stage, and can execute another command processing while the motor is being driven. In the arithmetic processing unit 52, the CPU operates until the current operation command is completed.
The next command received from 40 is not executed, the next command is in a standby state, and the next command processing is executed after the current operation command is completed.

【0030】上述の動作例では、正確な位置精度が要求
されない動作は、位置A→位置B、位置B→位置C、位
置C→位置B、位置D→位置Cという4つある。CPU
40はモータ駆動中に別処理ができるので、その処理時
間をt1とすると、4×(t1+t2)秒だけタクトタ
イムを短縮することができる。
In the above-described operation example, there are four operations that do not require accurate position accuracy: position A → position B, position B → position C, position C → position B, and position D → position C. CPU
In the case of 40, another processing can be performed while the motor is being driven. Therefore, if the processing time is t1, the tact time can be reduced by 4 × (t1 + t2) seconds.

【0031】以上説明した実施形態によれば、正確な位
置精度が要求される動作は、予め制御フラグをオフにセ
ットし、現在位置が目標位置に到達したことを示す位置
確認信号が出力されてから次の動作指令を実行し、正確
な位置精度が要求されない動作は、予め制御フラグをオ
ンにセットし、位置確認信号を待たずに動作指令を実行
し、残りの移動量が予め決められた設定量以下になった
ならばその動作指令に基づくコマンド処理を終了して次
のコマンド処理を実行できるので、タクトタイムの短縮
が可能となる。
According to the embodiment described above, in the operation requiring accurate position accuracy, the control flag is set to OFF in advance, and the position confirmation signal indicating that the current position has reached the target position is output. The next operation command is executed from the following, and for the operation that does not require accurate position accuracy, the control flag is set on in advance, the operation command is executed without waiting for the position confirmation signal, and the remaining movement amount is determined in advance. If the amount becomes equal to or less than the set amount, the command processing based on the operation command can be terminated and the next command processing can be executed, so that the tact time can be reduced.

【0032】尚、本発明は、その趣旨を逸脱しない範囲
で上記実施形態を修正又は変更したものに適用可能であ
る。
It should be noted that the present invention is applicable to modifications or changes of the above embodiment without departing from the spirit thereof.

【0033】例えば、本実施形態では、門型の2軸ロボ
ットのピックアップ動作について説明した他形式のロボ
ットにも適用できることは言うまでもない。
For example, in the present embodiment, it goes without saying that the present invention can be applied to other types of robots that have described the pick-up operation of the portal type two-axis robot.

【0034】[0034]

【他の実施形態】本発明は、前述した実施形態のロボッ
ト制御装置の制御機能を実現するソフトウェアのプログ
ラムコードを記録した記憶媒体を、システムあるいは装
置に供給し、そのシステムあるいは装置のコンピュータ
(またはCPUやMPU)が記憶媒体に格納されたプロ
グラムコードを読出し実行するようにしてもよいことは
言うまでもない。
Another embodiment of the present invention is to provide a storage medium storing a program code of software for realizing the control function of the robot control apparatus of the above-described embodiment to a system or apparatus, and to provide a computer (or computer) of the system or apparatus. It goes without saying that a CPU or an MPU may read and execute the program code stored in the storage medium.

【0035】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0036】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD−ROM、CD
−R、磁気テープ、不揮発性のメモリカード、ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0037】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0038】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0039】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになるが、簡単に説
明すると、少なくとも停止手段を制御するためのモジュ
ールのプログラムコードを記憶媒体に格納することにな
る。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowcharts. Is stored in the storage medium.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
タクトタイムを短縮することができる。
As described above, according to the present invention,
Takt time can be reduced.

【0041】[0041]

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

【図1】本発明の実施形態に係るロボットの動作例を示
すフローチャートである。
FIG. 1 is a flowchart illustrating an operation example of a robot according to an embodiment of the present invention.

【図2】本発明の実施形態に係るロボットの応答特性を
説明する図である。
FIG. 2 is a diagram illustrating response characteristics of the robot according to the embodiment of the present invention.

【図3】ロボットの構成図である。FIG. 3 is a configuration diagram of a robot.

【図4】図3のロボットの動作例を示す図である。FIG. 4 is a diagram illustrating an operation example of the robot in FIG. 3;

【図5】図3のロボット制御装置の制御回路ブロック図
である。
FIG. 5 is a control circuit block diagram of the robot control device of FIG. 3;

【図6】従来例のロボットの動作例を示すフローチャー
トである。
FIG. 6 is a flowchart illustrating an operation example of a conventional robot.

【図7】従来のロボットの応答特性を説明する図であ
る。
FIG. 7 is a diagram illustrating response characteristics of a conventional robot.

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

31…X軸アーム 32…Z軸アーム 33…クランプ機構 34…ワーク 35…第1のワーク載置台 36…第2のワーク載置台 37…ロボット制御装置 51…ドライバ部 52…演算処理部 53、58…位置ループ処理部 54、59…速度ループ処理部 55、60…電流出力部 56、61…モータ 57、62…エンコーダ DESCRIPTION OF SYMBOLS 31 ... X-axis arm 32 ... Z-axis arm 33 ... Clamp mechanism 34 ... Work 35 ... First work mounting table 36 ... Second work mounting table 37 ... Robot control device 51 ... Driver unit 52 ... Operation processing units 53 and 58 ... Position loop processing units 54 and 59 ... Speed loop processing units 55 and 60 ... Current output units 56 and 61 ... Motors 57 and 62 ... Encoders

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1軸のアームを有するロボッ
トにおいて、該アーム移動時に該アームを目標位置に移
動する駆動手段を備えるロボット制御装置において、 前記駆動手段に対して、前記アームを目標位置に移動さ
せるための動作信号を出力する出力手段と、 前記駆動手段から出力される検出信号により、前記アー
ムの移動量を検出して、前記出力手段にフィードバック
するフィードバック手段と、 前記アームの現在位置と目標位置との偏差が所定の第1
設定値以下となったか否かを判定する判定手段と、 前記偏差が所定の第1設定値以下となった場合に動作信
号の出力を停止する停止手段を備え、 前記停止手段は、所定条件に応じた動作の場合、前記動
作信号に応じた前記アームの残りの移動量が所定の第2
設定値以下となったならば、前記判定手段により前記偏
差が所定の第1設定値以下になったと判定される前に前
記動作信号の出力を停止することを特徴とするロボット
制御装置。
1. A robot controller having at least one axis of an arm, comprising: a drive unit for moving the arm to a target position when the arm is moved, wherein the arm is moved to a target position with respect to the drive unit. Output means for outputting an operation signal for causing the arm to move, an amount of movement of the arm detected by a detection signal output from the driving means, feedback means for feeding back to the output means, a current position of the arm and a target The deviation from the position is the first
Determining means for determining whether the difference has become equal to or less than a set value; and stopping means for stopping the output of the operation signal when the deviation has become equal to or less than a predetermined first set value. In the case of the corresponding operation, the remaining movement amount of the arm according to the operation signal is equal to a predetermined second
If the difference is equal to or smaller than a set value, the robot control device stops outputting the operation signal before the judgment unit judges that the deviation has become equal to or smaller than a predetermined first set value.
【請求項2】 前記所定条件とは、予め設定されたフラ
グがオンに設定されている場合であることを特徴とする
請求項1に記載のロボット制御装置。
2. The robot control device according to claim 1, wherein the predetermined condition is a case where a preset flag is set to ON.
【請求項3】 前記フラグは正確な位置精度が要求され
ない動作の場合にオンに設定され、正確な位置精度が要
求される動作の場合にはオフに設定されることを特徴と
する請求項2に記載のロボット制御装置。
3. The operation according to claim 2, wherein the flag is set to on when the operation does not require accurate position accuracy, and is set to off when the operation requires accurate position accuracy. 4. The robot control device according to item 1.
【請求項4】 前記出力手段は、前記停止手段により前
記動作信号の出力が停止された後、次の動作に関する動
作信号を出力することを特徴とする請求項1乃至3のい
ずれか1項に記載のロボット制御装置。
4. The apparatus according to claim 1, wherein the output unit outputs an operation signal related to a next operation after the output of the operation signal is stopped by the stop unit. A robot controller as described.
【請求項5】 少なくとも1軸のアームを有するロボッ
トにおいて、該アーム移動時に該アームを目標位置に移
動する駆動手段と、前記駆動手段に対して、前記アーム
を目標位置に移動させるための動作信号を出力する出力
手段と、前記駆動手段から出力される検出信号により、
前記アームの移動量を検出して、前記出力手段にフィー
ドバックするフィードバック手段と、前記アームの現在
位置と目標位置との偏差が所定の第1設定値以下となっ
たか否かを判定する判定手段と、前記偏差が所定の第1
設定値以下となった場合に動作信号の出力を停止する停
止手段を備えるロボット制御装置の制御方法であって、 所定条件に応じた動作の場合、前記動作信号に応じた前
記アームの残りの移動量が所定の第2設定値以下となっ
たならば、前記判定手段により前記偏差が所定の第1設
定値以下になったと判定される前に前記動作信号の出力
を停止するように前記停止手段を制御することを特徴と
する制御方法。
5. A robot having at least one axis arm, a driving unit for moving the arm to a target position when the arm is moved, and an operation signal for moving the arm to the target position with respect to the driving unit. Output means, and a detection signal output from the driving means,
Feedback means for detecting the amount of movement of the arm and feeding back to the output means; and determining means for determining whether a deviation between a current position and a target position of the arm is equal to or less than a predetermined first set value. The deviation is a predetermined first
A control method for a robot control device, comprising: a stop unit that stops output of an operation signal when the operation signal becomes equal to or less than a set value. If the amount becomes equal to or less than a predetermined second set value, the stop means stops outputting the operation signal before the determination means determines that the deviation has become equal to or less than the predetermined first set value. A control method characterized by controlling the following.
【請求項6】 前記所定条件とは、予め設定されたフラ
グがオンに設定されている場合であることを特徴とする
請求項5に記載の制御方法。
6. The control method according to claim 5, wherein the predetermined condition is a case where a preset flag is set to ON.
【請求項7】 前記フラグは正確な位置精度が要求され
ない動作の場合にオンに設定され、正確な位置精度が要
求される動作の場合にはオフに設定されることを特徴と
する請求項6に記載の制御方法。
7. The method according to claim 6, wherein the flag is set to on when the operation does not require accurate position accuracy, and is set to off when the operation requires accurate position accuracy. The control method described in 1.
【請求項8】 前記出力手段は、前記停止手段により前
記動作信号の出力が停止された後、次の動作に関する動
作信号を出力することを特徴とする請求項5乃至7のい
ずれか1項に記載の制御方法。
8. The apparatus according to claim 5, wherein the output means outputs an operation signal relating to a next operation after the output of the operation signal is stopped by the stop means. The control method described.
JP35839797A 1997-12-25 1997-12-25 Robot control unit and its control method Withdrawn JPH11191011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35839797A JPH11191011A (en) 1997-12-25 1997-12-25 Robot control unit and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35839797A JPH11191011A (en) 1997-12-25 1997-12-25 Robot control unit and its control method

Publications (1)

Publication Number Publication Date
JPH11191011A true JPH11191011A (en) 1999-07-13

Family

ID=18459086

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35839797A Withdrawn JPH11191011A (en) 1997-12-25 1997-12-25 Robot control unit and its control method

Country Status (1)

Country Link
JP (1) JPH11191011A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021020278A (en) * 2019-07-29 2021-02-18 株式会社イシダ Article moving system
CN115298951A (en) * 2022-06-17 2022-11-04 广东逸动科技有限公司 Motor control method, ship, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021020278A (en) * 2019-07-29 2021-02-18 株式会社イシダ Article moving system
CN115298951A (en) * 2022-06-17 2022-11-04 广东逸动科技有限公司 Motor control method, ship, equipment and storage medium
CN115298951B (en) * 2022-06-17 2024-02-20 广东逸动科技有限公司 Motor control method, ship, equipment and storage medium

Similar Documents

Publication Publication Date Title
JPH103308A (en) Interference avoiding method for industrial robot
JPH1133960A (en) Method for controlling robot
WO1990006836A1 (en) Robot operation method that can be manually corrected
WO1998033100A1 (en) Method and system for controlling robot
WO1990011166A1 (en) Manual intervention method for industrial robot
JP2003305676A (en) Control method and control device for mobile robot
EP0312716A2 (en) Method of recording and playing back instruction data in a robot
JP2786874B2 (en) Movable position control device
JPH11191011A (en) Robot control unit and its control method
US5485366A (en) Sequence controller including error correction and method therefor
JPH07136906A (en) Numerical controller
JP2829212B2 (en) Automatic tool change control method and device
US20010052757A1 (en) Control apparatus for automatic lathe
JP2689420B2 (en) Robot control method
JPH06250716A (en) Numerical controller
JP3433817B2 (en) Feed control device
JPH07112385A (en) Mounting device
JP2653101B2 (en) Pulse generator for positioning control
JP2606240Y2 (en) Numerical control unit
JP3457019B2 (en) Tracing control method
JP3961280B2 (en) POSITIONING CONTROL DEVICE, POSITIONING CONTROL METHOD, AND COMPONENT MOUNTING DEVICE
JP2712881B2 (en) Numerical control unit
JPS6347803A (en) Sequence controller
JPS63803B2 (en)
JPH062316B2 (en) Starting point detection method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050301