JPH01103277A - Method of controlling position of origin of robot arm - Google Patents

Method of controlling position of origin of robot arm

Info

Publication number
JPH01103277A
JPH01103277A JP25799787A JP25799787A JPH01103277A JP H01103277 A JPH01103277 A JP H01103277A JP 25799787 A JP25799787 A JP 25799787A JP 25799787 A JP25799787 A JP 25799787A JP H01103277 A JPH01103277 A JP H01103277A
Authority
JP
Japan
Prior art keywords
robot arm
origin
origin position
limit switch
pulse
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.)
Pending
Application number
JP25799787A
Other languages
Japanese (ja)
Inventor
Yukinari Takeyama
竹山 幸成
Shigeru Honma
茂 本間
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.)
Shibaura Machine Co Ltd
Original Assignee
Toshiba Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Machine Co Ltd filed Critical Toshiba Machine Co Ltd
Priority to JP25799787A priority Critical patent/JPH01103277A/en
Publication of JPH01103277A publication Critical patent/JPH01103277A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)

Abstract

PURPOSE: To prevent a runaway of an arm and damage and the like in a workpiece by automatically measuring a pulse number of a pulse generating means arranged in a motor from just after the actuation of an origin limit switch installed to the robot arm until just before generation of zero-pulse of a servomotor, comparing the pulse number with a set value, and returning the arm to the origin position. CONSTITUTION: In detection of an origin position of a robot arm 10 by means of an origin limit switch 14, a zero-pulse generating means and a continuous pulse generating means 30 are arranged in a servomotor 22 driving the robot arm. From just after the actuation of the origin limit switch 14 until an appearance of the next zero-pulse Po , a number of pulses obtained from the continuous pulse generating means 30 is counted. Then, the counted pulse number is compared with a reference pulse number showing that the robot arm is in the accurate origin position, so that it is determined whether the robot arm 10 is in the accurate origin position or not. If the robot arm 10 is not placed in the accurate origin position, the robot arm 10 is returned to the origin position, and a runaway of the robot arm 10 can be prevented.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はロボットアームの原点位置制御方法°に関し、
−層詳細には、ロボットアームの原点位置(ロボットの
作動開始点に係る位置)をリミットスイッチ等を用いて
検出する際、ロボットアームを実質的に駆動するサーボ
モータにロータリエンコーダを配設し、前記リミットス
イッチが動作した直後から次のロータリエンコーダの出
力パルスが出現するまでの期間、パルス数を計数し、予
め定められた原点位置を示すパルス数と比較することに
より、前記ロボッi・アームが正しい原点位置にあるか
否かを判定してロボットアームの位置制御をすることを
可能とするロボットアームの原点位置制御方法に関する
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for controlling the origin position of a robot arm.
- Layer In detail, when detecting the origin position of the robot arm (the position related to the robot's starting point of operation) using a limit switch, etc., a rotary encoder is provided on the servo motor that substantially drives the robot arm, The number of pulses is counted during the period from immediately after the limit switch is activated until the next output pulse of the rotary encoder appears, and the number of pulses is compared with the number of pulses indicating a predetermined origin position. The present invention relates to a method for controlling the origin position of a robot arm, which makes it possible to control the position of the robot arm by determining whether or not the robot arm is at the correct origin position.

[発明の背景] 従来のロボットアームの原点位置を制御するための方法
はロボットアームを実質的に駆動するサーボモータにロ
ータリエンコーダを同軸的に配設し、さらに、ロボット
アームの駆動軸としてラック機能を有するラックに係合
してリミットスイッチを設け、当該リミットスイッチが
閉成した後、最初にゼロパルスが発生する位置を制御原
点位置と決定している。そしてロボットの使用に際して
はロボットアームの移動距離をゼロパルス発生以後の連
続パルスのパルス数を計数することにより制御して全体
としてロボットアームの位置を制御している。
[Background of the Invention] A conventional method for controlling the origin position of a robot arm is to arrange a rotary encoder coaxially with a servo motor that essentially drives the robot arm, and to use a rack function as the drive shaft of the robot arm. A limit switch is provided to be engaged with the rack having a rack, and the position where a zero pulse is first generated after the limit switch is closed is determined as the control origin position. When the robot is used, the moving distance of the robot arm is controlled by counting the number of consecutive pulses after the zero pulse is generated, thereby controlling the position of the robot arm as a whole.

ところが、上記した従来のロボットアームの原点位置の
制御方法では原点リミットスイッチが閉成してから最初
のゼロ点パルスが到来するまでの期間を監視していない
ため、例えば、前記ラックに配設される原点リミットス
イッチ駆動機構の位置ずれがあった場合にはロボットア
ームの原点位置が正しい制御原点と一致しないことにな
る。その結果、例えば、ワークの搬送位置に誤差を生じ
、結果としてワークを破損しあるいはロボットアームの
位置ずれにより予期し得ない暴走事故等を惹起する虞が
存在している。
However, in the conventional method for controlling the origin position of the robot arm described above, the period from when the origin limit switch closes until the arrival of the first zero point pulse is not monitored. If there is a positional deviation of the origin limit switch drive mechanism, the origin position of the robot arm will not match the correct control origin. As a result, for example, there is a risk that an error may occur in the transport position of the workpiece, resulting in damage to the workpiece or an unexpected runaway accident due to positional deviation of the robot arm.

一方、このような原点復帰動作を行わさせる際に、ロボ
ットにインクリメンタル式の検出器を採用していると、
必ず、電源投入時に原点復帰させて原点位置を確保させ
る必要がある。この場合、ロボットの駆動軸を全軸同時
に原点復帰させ、あるいは指定した順序で夫々の駆動軸
を原点復帰させる方式が採用されている。
On the other hand, when performing such a return-to-origin operation, if the robot uses an incremental type detector,
It is necessary to ensure the home position by returning to the home position when the power is turned on. In this case, a method is adopted in which all the drive axes of the robot are returned to the origin at the same time, or each drive axle is returned to the origin in a specified order.

然しなから、このような方式によれば、ロボットが如何
なる動作範囲にあっても原点復帰を実行するため、周辺
機器との間で干渉を生ずることがある。
However, according to this method, since the robot returns to its origin no matter what operating range it is in, interference with peripheral devices may occur.

[発明の目的] 本発明は前記の不都合を克服するためになされたもので
あって、ロボットアームの原点位置を当該ロボットアー
ムに係着されたリミットスイッチ等を用いて検出する際
、ロボットアームを実質的に駆動するサーボモータにロ
ータリエンコーダを配設し、前記リミットスイッチを駆
動する機構により前記全ての原点リミットスイッチがO
N状態で動作した直後から次のロータリエンコーダの出
力パルスが発生するまでの期間、出力されるパルス数を
計数することによりロボットアームの原点位置を検出し
、当該原点位置が前記ロボットアームに対して予め定め
られた正しい原点位置にあるか否かを自動的に判定し、
その結果、ロボットアームの暴走を回避し併せてワーク
の破損等を防止することを可能とするロボットアームの
原点位置制御方法を提供することを目的とする。
[Object of the Invention] The present invention has been made in order to overcome the above-mentioned disadvantages, and when detecting the origin position of the robot arm using a limit switch etc. attached to the robot arm, the robot arm is A rotary encoder is arranged on the servo motor that drives the limit switch, and all the origin limit switches are set to 0 by the mechanism that drives the limit switch.
The origin position of the robot arm is detected by counting the number of pulses output during the period from immediately after operation in the N state until the next output pulse of the rotary encoder is generated, and the origin position is determined relative to the robot arm. Automatically determines whether or not it is at the correct predetermined origin position,
As a result, it is an object of the present invention to provide a method for controlling the origin position of a robot arm, which makes it possible to avoid runaway of the robot arm and also prevent damage to the workpiece.

[目的を達成するための手段] 前記の目的を達成するために、本発明は複数の駆動軸に
よって動作するロボットアームを駆動源とこの駆動源に
対応して配設されているインクリメント型エンコーダの
出力信号により制御する際、前記複数の駆動軸の原点位
置を原点リミットスイッチを用いて検出し、夫々の原点
リミットスイッチがON状態において、前記ロボットア
ームを原点位置まで復帰させるよう制御することを特徴
とする。
[Means for Achieving the Object] In order to achieve the above object, the present invention comprises a robot arm operated by a plurality of drive axes, a drive source, and an incremental encoder disposed corresponding to the drive source. When performing control using an output signal, the origin positions of the plurality of drive axes are detected using an origin limit switch, and the robot arm is controlled to return to the origin position when each origin limit switch is in an ON state. shall be.

さらにまた、本発明はロボットアームの原点位置を原点
リミットスイッチ等を用いて検出する際、ロボットアー
ムを実質的に駆動するサーボモータにゼロパルス発生手
段および連続パルス発生手段を配設し、前記原点リミッ
トスイッチが動作した直後から、次のゼロパルスが出現
するまでの期間、連続パルス発生手段から得られるパル
ス数を計数し、次に当該パルス数と正しい原点位置にあ
ることを示す基準パルス数とを比較することにより、前
記ロボットアームが正しい原点位置にあるか否かを判定
することを特徴とする。
Furthermore, when the present invention detects the origin position of the robot arm using an origin limit switch or the like, the servo motor that substantially drives the robot arm is provided with zero pulse generation means and continuous pulse generation means, and the origin limit The number of pulses obtained from the continuous pulse generation means is counted during the period from immediately after the switch operates until the next zero pulse appears, and then the number of pulses is compared with the reference number of pulses that indicates that the home position is correct. By doing so, it is determined whether or not the robot arm is at the correct origin position.

[実施態様] 次に、本発明に係るロボットアームの原点位置制御方法
について、これを実施するための装置との関係において
好適な実施態様を挙げ、添付の図面を参照しながら以下
詳細に説明する。
[Embodiments] Next, the method for controlling the origin position of a robot arm according to the present invention will be described in detail below with reference to the attached drawings, citing preferred embodiments in relation to a device for implementing the method. .

第1図は本発明を実施するための装置の概略構成であっ
て、その中、参照符号10はロボットアームを示す。当
該ロボットアームlOの先端には図示しないロボットマ
ニピュレータが係着されている。さらに、ロボットアー
ム10の端部近傍には原点リミットスイッチ駆動部材1
2が係着されている。この場合、当該原点リミットスイ
ッチ駆動部材12がロボットアーム10と共に、所定の
位置に移動した時に原点リミットスイッチ14が作動す
るよう構成している。そして、当該原点リミットスイッ
チ14の出力信号はその詳細を後述するロボットの制御
回路16の中の入出力インタフェース(Ilo  IF
)1Bに導入される。
FIG. 1 schematically shows the configuration of an apparatus for carrying out the present invention, in which reference numeral 10 indicates a robot arm. A robot manipulator (not shown) is attached to the tip of the robot arm IO. Further, an origin limit switch driving member 1 is provided near the end of the robot arm 10.
2 is attached. In this case, the origin limit switch 14 is configured to operate when the origin limit switch driving member 12 moves to a predetermined position together with the robot arm 10. The output signal of the origin limit switch 14 is sent to an input/output interface (Ilo IF) in the robot control circuit 16, the details of which will be described later.
)1B.

一方、前記ロボットアーム10にはラック機構20が係
着される。すなわち、前記ロボットアーム10を駆動す
るサーボモータ22には減速機24が係合し、この減速
機24の回転軸25に嵌挿されるピニオン機構26とラ
ック機構20とが噛合する。
Meanwhile, a rack mechanism 20 is attached to the robot arm 10. That is, a reducer 24 is engaged with the servo motor 22 that drives the robot arm 10, and a pinion mechanism 26 fitted into the rotating shaft 25 of the reducer 24 and the rack mechanism 20 mesh with each other.

前記サーボモータ22にはロータリエンコーダ30が配
設され、当該ロータリエンコーダ30のゼロパルス出力
は前記制御回路16内の入出力インタフェース18に導
入される。さらに、前記サーボモータ22は前記制御回
路16内に配設されるサーボモータ駆動回路28によっ
て駆動される。そして、前記サーボモータ22の回転軸
25にはロータリエンコーダ30が装着され、当該ロー
タリエンコーダ30の出力パルス信号は前記制御回路1
6内の入出力インタフェース18に導入される。
A rotary encoder 30 is disposed on the servo motor 22 , and the zero pulse output of the rotary encoder 30 is introduced into the input/output interface 18 in the control circuit 16 . Further, the servo motor 22 is driven by a servo motor drive circuit 28 disposed within the control circuit 16. A rotary encoder 30 is attached to the rotating shaft 25 of the servo motor 22, and the output pulse signal of the rotary encoder 30 is transmitted to the control circuit 1.
input/output interface 18 in 6.

なお、前記制御回路16ニはCPU32、ROM34、
RAM36、カウンタ38、入出力インタフェース18
がパスラインで相互に接続されると共に、前記したサー
ボモータ駆動回路28が配設され、当該サーボモータ駆
動回路28は前記CPU32により前記入出力インタフ
ェース18を介して駆動制御される。
Note that the control circuit 16d includes a CPU 32, a ROM 34,
RAM 36, counter 38, input/output interface 18
are connected to each other by a pass line, and the servo motor drive circuit 28 described above is provided, and the servo motor drive circuit 28 is drive-controlled by the CPU 32 via the input/output interface 18.

本実施態様に係るロボットアームの原点位置制御方法を
実施するための装置は基本的には以上のように構成され
るものであり、次にその作用並びに効果について説明す
る。
The device for carrying out the method for controlling the origin position of a robot arm according to this embodiment is basically configured as described above, and its operation and effects will be explained next.

第2図は本発明を実施するために制御回路16に組み込
まれたROM34に記憶されているプログラムのフロー
チャートの一部である。
FIG. 2 is a part of a flowchart of a program stored in the ROM 34 incorporated in the control circuit 16 to implement the present invention.

そこで、今、ロボットの組み立てが完了し、先ず、ロボ
ットアーム10の初期原点を設定する(STPI)。
Therefore, now that the assembly of the robot is completed, first, the initial origin of the robot arm 10 is set (STPI).

この場合、ロボットアーム10の先端部に係着したマニ
ピュレータ(図示せず)がワーク(図示せず)に対して
適切な位置となるように原点リミットスイッチ駆動部材
12をロボットアーム10に取着する。その際、ロボッ
トアーム10が、第1図中、A方向に移動し、図中B点
に達した時に原点リミットスイッチ14に原点リミット
スイッチ駆動部材12が接触することにより、原点リミ
ットスイッチ14の接点が閉成し、第3図Cに示す原点
リミットスイッチ動作信号を入出力インタフェース18
を通じてCPU32に導入する。
In this case, the origin limit switch driving member 12 is attached to the robot arm 10 so that the manipulator (not shown) attached to the tip of the robot arm 10 is in an appropriate position relative to the workpiece (not shown). . At this time, when the robot arm 10 moves in the direction A in FIG. 1 and reaches point B in the figure, the origin limit switch drive member 12 contacts the origin limit switch 14, causing the contact of the origin limit switch 14 to is closed, and the origin limit switch operation signal shown in FIG.
is introduced into the CPU 32 through the CPU 32.

当該原点リミットスイッチ動作信号により、CPU32
に接続されたカウンタ38はリセットされ、そのカウン
ト数は0とされる。そして、次に、前記ロボットアーム
lOがさらにA方向に搬送されると、ロータリエンコー
ダ30から第3図aに示すパルス信号がサーボモータ2
2の回転に応じて前記入出力インタフェース18を介し
てCPU32に導入される。そのパルス数は前記カウン
タ38で計数される。そして、ロボットアーム10がさ
らにA方向に進行し、所定の位置に到達すると、第3図
すに示すゼロパルスP0がサーボモータ22に配設され
たロータリエンコーダ30から制御回路16内に導入さ
れる。
By the origin limit switch operation signal, the CPU 32
The counter 38 connected to is reset and its count number is set to zero. Then, when the robot arm IO is further conveyed in the direction A, the pulse signal shown in FIG.
2 is input to the CPU 32 via the input/output interface 18. The number of pulses is counted by the counter 38. Then, when the robot arm 10 further advances in the direction A and reaches a predetermined position, a zero pulse P0 shown in FIG.

そして、当該ゼロパルスが入出力インタフェース18を
介し、CPU32に導入されると、CPU32は入出力
インタフェース18、サーボモータ駆動回路28を通し
てサーボモータを制動させると共に前記カウンタ38の
パルス計数を停止させる。そして、二〇カウンタ38で
計数されたt区間(第3図参照)のパルス数N(この場
合、N=5)はRAM36に記憶される。
When the zero pulse is introduced into the CPU 32 through the input/output interface 18, the CPU 32 brakes the servo motor through the input/output interface 18 and the servo motor drive circuit 28, and stops the counter 38 from counting pulses. Then, the number of pulses N (in this case, N=5) in the t interval (see FIG. 3) counted by the twenty counter 38 is stored in the RAM 36.

以上の動作により、ロボットの初期原点が設定される。Through the above operations, the initial origin of the robot is set.

そして、次に、ワークに対する所定の加工作業を遂行す
るためロボットアーム10を第1図A方向と反対方向に
移動する。所定作業が終了すると、今度はロボットアー
ム10を原点位置に復帰させるためA方向に高速移動さ
せる(SrF2)。
Then, the robot arm 10 is moved in a direction opposite to the direction A in FIG. 1 in order to perform a predetermined machining operation on the workpiece. When the predetermined work is completed, the robot arm 10 is moved at high speed in the A direction to return to the original position (SrF2).

次いで、この動作遂行中に前記原点リミットスイッチ1
4が閉成したかどうかを確認する(SrF3)。
Then, during this operation, the origin limit switch 1
4 is closed (SrF3).

そして、この判定の際、若し原点リミットスイッチ14
が閉成していなければ再度ステップ2に戻り、原点復帰
のためA方向に高速移動させる。若し、原点リミットス
イッチ14が閉成してイレば、前記ロータリエンコーダ
30の出力パルス数(第3図aのB点以後のパルス数)
を計数開始する(SrF2)。
In this judgment, if the origin limit switch 14
If it is not closed, the process returns to step 2 again and the robot is moved at high speed in the A direction to return to the origin. If the origin limit switch 14 closes and goes out, the number of output pulses of the rotary encoder 30 (the number of pulses after point B in FIG. 3a)
Start counting (SrF2).

そこで、次に、B点以後のパルス数を計数開始すると同
時にロボットアームlOを入方向に低速移動する(Sr
F2)。この低速移動の処置は前記カウンタ38に確実
に動作を遂行させること、すなわち、カウントエラーを
排除することとサーボモータ22と減速機24の制動時
における慣性力に係る位置ずれを軽減するための措置で
ある。従って、この2つの点に問題がなけば、特に低速
動作をさせる必要性は生じない。
Therefore, at the same time as starting to count the number of pulses after point B, the robot arm IO is moved at low speed in the incoming direction (Sr
F2). This low-speed movement is a measure to ensure that the counter 38 performs its operation, that is, to eliminate counting errors and to reduce positional deviation due to inertial force during braking of the servo motor 22 and reducer 24. It is. Therefore, if there are no problems with these two points, there is no need to operate at a particularly low speed.

そして、この低速動作中にも前記ロータリエンコーダ3
0のパルス数を計数すると共にゼロパルスが発生したか
どうかの検出判定をする(SrF2)。
Even during this low-speed operation, the rotary encoder 3
The number of zero pulses is counted and a detection judgment is made as to whether or not a zero pulse has occurred (SrF2).

ゼロパルスが発生していないならば、その間は前記ステ
ップ5に戻りロボットアーム10の低速移動を続行させ
る。若し、ゼロパルスが発生している時には次のステッ
プ7に進行する。
If a zero pulse is not generated, the process returns to step 5 and the robot arm 10 continues to move at low speed. If a zero pulse is generated, proceed to the next step 7.

ステップ7ではCP U32でゼロパルスを検出判定す
ると、CPU32は直ちにサーボモータ駆動回路28を
介してサーボモータ制動信号をサーボモータ22に送給
して制動停止させる。その結果、ロボットアームは停止
する(SrF2)。
In step 7, when the CPU 32 detects and determines a zero pulse, the CPU 32 immediately sends a servo motor braking signal to the servo motor 22 via the servo motor drive circuit 28 to stop the servo motor 22 by braking. As a result, the robot arm stops (SrF2).

そして、CPU32は前記サーボモータ駆動信号を発生
させると同時に前記ロータリエンコーダ30からのパル
ス数の計数結果をカウンタ38から入手する。この時、
カウンタ38のパルスの計数を停止させる(SrF2)
The CPU 32 generates the servo motor drive signal and at the same time obtains the result of counting the number of pulses from the rotary encoder 30 from the counter 38. At this time,
Stop counting the pulses of the counter 38 (SrF2)
.

ここで、CPU32は当該パルス計数値と前記ステップ
lで得た原点位置初期設定時のパルス計数値Nとを比較
する(SrF9)。
Here, the CPU 32 compares the pulse count value with the pulse count value N at the time of initial setting of the origin position obtained in step 1 (SrF9).

若し、前記比較結果が同数でない場合にはCPU32は
図示しないブザーおよび/またはランプ等を駆動し作業
者にエラーが惹起していることを知得させる。そして、
作業者はこのブザーおよび/またはランプ等の警報を受
けた時にはロボットを停止し、エラー処理を行うものと
する(STPIO)。
If the comparison result is not the same, the CPU 32 drives a buzzer and/or lamp (not shown) to notify the operator that an error has occurred. and,
When the operator receives the alarm from the buzzer and/or lamp, the operator shall stop the robot and perform error handling (STPIO).

CPU32はその数値が同数であった場合には原点復帰
が正常であると判定し、原点復帰動作を終了させる(E
ND)。
If the numbers are the same, the CPU 32 determines that the return to origin is normal and ends the return to origin operation (E
N.D.).

[発明の効果] 以上のように、本発明によれば、ロボットアームに取着
された原点リミットスイッチの作動直後からサーボモー
タのゼロパルス発生直前までの間、サーボモータに取り
付けられたロータリエンコーダのパルス数を自動的に計
測し、当該パルス数と予め定められたパルス数を比較す
ることによりロボットアームの正しい原点位置を常に判
定出来るため、ロボットアームの暴走やワークの破損等
を防止することを可能とする効果が得られる。
[Effects of the Invention] As described above, according to the present invention, the pulse of the rotary encoder attached to the servo motor is controlled immediately after the origin limit switch attached to the robot arm is activated until immediately before the zero pulse of the servo motor is generated. By automatically measuring the number of pulses and comparing the number of pulses with a predetermined number of pulses, the correct origin position of the robot arm can be determined at all times, making it possible to prevent runaway of the robot arm and damage to the workpiece. The effect of this can be obtained.

以上、本発明について好適な実施態様を挙げて説明した
が、本発明はこの実施態様に限定されるものではなく、
例えば、本発明においては原点リミットスイッチの開閉
状態をCPUで記憶出来るような構成としているので、
−以上の原点リミットスイッチを有するロボット、すな
わち、多軸ロボットにおいて、ロボットの原点復帰を遂
行する礫、各軸の全ての原点リミットスイッチが閉成し
ている時にのみ原点復帰を開始するようにROMのプロ
グラムを変更すること、あるいは必要に応じて選択した
軸だけの原点リミットスイッチが閉成している時にのみ
原点復帰を開始させるようにROMのプログラムを修正
することも出来る等、本発明の要旨を逸脱しない範囲に
おいて種にの改良並びに設計の変更が可能なことは勿論
である。
Although the present invention has been described above with reference to preferred embodiments, the present invention is not limited to these embodiments.
For example, in the present invention, the opening/closing state of the origin limit switch is configured to be memorized by the CPU.
- For robots with the above origin limit switches, i.e., multi-axis robots, the ROM is configured so that the robot returns to origin only when all origin limit switches of each axis are closed. The gist of the present invention is that the ROM program can be modified to start the return to origin only when the origin limit switch of only the selected axis is closed, if necessary. It goes without saying that improvements in the species and changes in design are possible within a range that does not deviate from the above.

【図面の簡単な説明】 第1図は本発明方法を実施するための装置のブロック図
、 第2図は本発明方法を実施するためのフローチャート、 第3図は本発明方法を実施する装置の動作を説明する波
形図である。 10・・・ロボットアーム 12・・・原点リミットスイッチ駆動部材14・・・原
点リミットスイッチ 16・・・制御回路      20・・・ラック機構
22・・・サーボモータ    26・・・ビニオン機
構28・・・サーボモータ駆動回路 30・・・ロータリエンコータ32・・・CPU34・
・・ROM        36・・・RAM38・・
・カウンタ
[Brief Description of the Drawings] Fig. 1 is a block diagram of an apparatus for implementing the method of the present invention, Fig. 2 is a flowchart for implementing the method of the present invention, and Fig. 3 is a diagram of an apparatus for implementing the method of the present invention. FIG. 3 is a waveform diagram illustrating the operation. DESCRIPTION OF SYMBOLS 10... Robot arm 12... Origin limit switch drive member 14... Origin limit switch 16... Control circuit 20... Rack mechanism 22... Servo motor 26... Binion mechanism 28... Servo motor drive circuit 30...rotary encoder 32...CPU34...
...ROM 36...RAM38...
·counter

Claims (3)

【特許請求の範囲】[Claims] (1)複数の駆動軸によって動作するロボットアームを
駆動源とこの駆動源に対応して配設されているインクリ
メント型エンコーダの出力信号により制御する際、前記
複数の駆動軸の原点位置を原点リミットスイッチを用い
て検出し、夫々の原点リミットスイッチがON状態にお
いて、前記ロボットアームを原点位置まで復帰させるよ
う制御することを特徴とするロボットアームの原点位置
制御方法。
(1) When a robot arm operated by multiple drive axes is controlled by a drive source and the output signal of an incremental encoder installed corresponding to this drive source, the origin position of the multiple drive axes is set to the origin limit. A method for controlling the origin position of a robot arm, comprising detecting the origin using a switch, and controlling the robot arm to return to the origin position when each origin limit switch is in an ON state.
(2)ロボットアームの原点位置を原点リミットスイッ
チ等を用いて検出する際、ロボットアームを実質的に駆
動するサーボモータにゼロパルス発生手段および連続パ
ルス発生手段を配設し、前記原点リミットスイッチが動
作した直後から、次のゼロパルスが出現するまでの期間
、連続パルス発生手段から得られるパルス数を計数し、
次に当該パルス数と正しい原点位置にあることを示す基
準パルス数とを比較することにより、前記ロボットアー
ムが正しい原点位置にあるか否かを判定することを特徴
とするロボットアームの原点位置制御方法。
(2) When detecting the origin position of the robot arm using an origin limit switch or the like, the servo motor that substantially drives the robot arm is provided with zero pulse generation means and continuous pulse generation means, and the origin limit switch is activated. Count the number of pulses obtained from the continuous pulse generation means during the period from immediately after that until the next zero pulse appears,
Control of the origin position of a robot arm, characterized in that it is determined whether or not the robot arm is at the correct origin position by comparing the number of pulses with a reference pulse number indicating that the robot arm is at the correct origin position. Method.
(3)特許請求の範囲第2項記載の方法において、ゼロ
パルス発生手段および連続パルス発生手段はロータリエ
ンコーダからなるロボットアームの原点位置制御方法。
(3) A method for controlling the origin position of a robot arm according to claim 2, wherein the zero pulse generating means and the continuous pulse generating means are comprised of rotary encoders.
JP25799787A 1987-10-12 1987-10-12 Method of controlling position of origin of robot arm Pending JPH01103277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25799787A JPH01103277A (en) 1987-10-12 1987-10-12 Method of controlling position of origin of robot arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25799787A JPH01103277A (en) 1987-10-12 1987-10-12 Method of controlling position of origin of robot arm

Publications (1)

Publication Number Publication Date
JPH01103277A true JPH01103277A (en) 1989-04-20

Family

ID=17314101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25799787A Pending JPH01103277A (en) 1987-10-12 1987-10-12 Method of controlling position of origin of robot arm

Country Status (1)

Country Link
JP (1) JPH01103277A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02292190A (en) * 1989-04-28 1990-12-03 Omron Corp Control device for original restoration of robot axis

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02292190A (en) * 1989-04-28 1990-12-03 Omron Corp Control device for original restoration of robot axis

Similar Documents

Publication Publication Date Title
KR960005985B1 (en) Method of detecting a collision of machine operating parts driven by servo motors
JP2608161B2 (en) Industrial robot stop control method
JP2000190262A (en) Control device for robot
US6212968B1 (en) SCARA robot
JP2000071189A (en) Workpiece acquisition determination method for robot grip device
WO1989006066A1 (en) Method of speed control for servomotor
JP2786874B2 (en) Movable position control device
JPH01103277A (en) Method of controlling position of origin of robot arm
US5920171A (en) Starting-point returning apparatus for robot
EP0063466B1 (en) Method for detecting a position of a moving body
JP3202456B2 (en) Control device for hand mechanism
JPH08339212A (en) Method for return to absolute origin in industrial controller
JPH09106304A (en) Control method of working area for machine tool
JPS6297004A (en) Original point reset controller for traveling object undergoing numerical control
JP3433817B2 (en) Feed control device
JPH0630006B2 (en) Multi-axis robot group controller
CN112207824B (en) Method, system, device and storage medium for controlling multiple single-axis modules
JPS62190502A (en) Origin calculating method of industrial robot
JPH0431603Y2 (en)
JP2810044B2 (en) Control device for NC machine
JPS59229608A (en) Method for returning moving body to original point
KR200177079Y1 (en) The origin equipment for robot system
JPH042488A (en) Detecting method for abnormal spatial action of robot
JPH048485A (en) Teaching method of robot system with conveyor
JP3163832B2 (en) Motor control device