JPS623305A - Method for setting original point position of robot - Google Patents
Method for setting original point position of robotInfo
- Publication number
- JPS623305A JPS623305A JP14276785A JP14276785A JPS623305A JP S623305 A JPS623305 A JP S623305A JP 14276785 A JP14276785 A JP 14276785A JP 14276785 A JP14276785 A JP 14276785A JP S623305 A JPS623305 A JP S623305A
- Authority
- JP
- Japan
- Prior art keywords
- encoder
- robot
- pulses
- arm
- sensor
- 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
Links
Landscapes
- Manipulator (AREA)
- Control Of Position Or Direction (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明はロボットの座標系原点位置を数値制御で設定す
る方法に関する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a method for setting the origin position of a robot's coordinate system by numerical control.
(従来技術)
従来第4図に示すようなロボットがある。これは互いに
平行な2つの軸θ□、θ2によって回動する第1アーム
1と第2アーム2によって第2アーム先端に設けた作業
工具3を2次元的に位置決め可能としたものである。4
はロボットを支えるコラムである。θ1軸にはエンコー
ダー5を連結したサーボモーター6がコラム4に固定さ
れていて該サーボモーター6と第1アーム1とは減速機
7を介して連結されている。又。(Prior Art) There is a conventional robot as shown in FIG. This allows a working tool 3 provided at the tip of the second arm to be two-dimensionally positioned by a first arm 1 and a second arm 2 that rotate about two mutually parallel axes θ□ and θ2. 4
is a column that supports the robot. A servo motor 6 with an encoder 5 connected to the θ1 axis is fixed to the column 4, and the servo motor 6 and the first arm 1 are connected via a speed reducer 7. or.
θ2軸にはエンコ一ダ−8を連結したサーボモーター9
が第1アーム1先端に固定されていて該サーボモーター
9と第2アーム2とは減速機1oを介して連結されてい
る。11.12はそれぞれコラム4と第1アーム12に
取り付けられ、それぞれ第1アーム1と第27−ム2の
位置をON−〇FF的に検出するセンサーである。A servo motor 9 connected to an encoder 8 is connected to the θ2 axis.
is fixed to the tip of the first arm 1, and the servo motor 9 and the second arm 2 are connected via a speed reducer 1o. Sensors 11 and 12 are attached to the column 4 and the first arm 12, respectively, and detect the positions of the first arm 1 and the 27th arm 2 in an ON-FF manner.
このようなロボットでロボットの座標系に原点を設定す
る方法としては第5図に示すようにアームをゆっくり回
動させ前記のセンサー11゜12がONになった時とエ
ンコーダー5,8の1回転に1回出力されるゼロ相信号
との同期(同時にONになる位置にする)をとってアー
ムを原点復帰させている。この方法はモーターの回転が
減速機を介してアームに伝えられるため1つのエンコー
ダーのゼロ相信号位置に対応するアーム回動位置が複数
存在するためロボットの座標系に固有のエンコーダーの
ゼロ相信号を特定するためにとられている方法である。With such a robot, the method of setting the origin in the robot's coordinate system is to slowly rotate the arm as shown in Figure 5, and set the origin when the sensors 11 and 12 are turned on, and when the encoders 5 and 8 rotate once. The arm returns to its home position in synchronization with the zero-phase signal that is output once (by setting it to a position where it turns ON at the same time). In this method, since the rotation of the motor is transmitted to the arm via the reducer, there are multiple arm rotation positions that correspond to the zero-phase signal position of one encoder. This is the method used to identify.
ところがセンサーのON領域はセンサーとターゲットと
の距離等の設置条件によって変化する。そのためセンサ
ーのON領域が過少になるとエンコーダーのゼロ相信号
との同期がとれなくなったり、センサーのON領域が過
大になるとON領域中にエンコーダーのゼロ相信号が2
回以上発生し原点が2個出てしまう恐れがあるため、原
点復帰時に常にアームを同一方向に回動させて同一のゼ
ロ相信号を拾わねばならないという問題点があった。However, the ON range of the sensor changes depending on installation conditions such as the distance between the sensor and the target. Therefore, if the ON area of the sensor becomes too small, synchronization with the zero-phase signal of the encoder may not be achieved, and if the ON area of the sensor becomes too large, the zero-phase signal of the encoder may become 2 times in the ON area.
Since there is a risk that this occurs more than once and two origins appear, there is a problem in that the arm must always be rotated in the same direction to pick up the same zero phase signal when returning to the origin.
また上記の方法だとモーターの交換や減速機の潤滑剤洗
浄等のために分解して再度組み立てた際にエンコーダー
とアームの相対的な位置がすれてしまい、そのためエン
コーダーのゼロ相信号も元のロボット座標系に対してず
れることになり再度ロボットに教示をやり直さねばなら
ないという問題点があった。Furthermore, with the above method, when disassembled and reassembled to replace the motor or to clean the reducer lubricant, the relative position of the encoder and arm will become misaligned, and as a result, the zero phase signal of the encoder will also remain the same as before. There was a problem in that the robot would be shifted from the robot coordinate system and the robot would have to be taught again.
(目 的)
本発明はセンサーのON信号とエンコーダーのゼロ相信
号の同期をとる必要なくロボットの位置情報を得ること
ができるようにして座標系原点を数値制御で設定できる
ようにすることを目的としている。(Purpose) The purpose of the present invention is to make it possible to obtain robot position information without the need to synchronize the ON signal of a sensor and the zero-phase signal of an encoder, and to set the origin of a coordinate system by numerical control. It is said that
(構 成)
本発明は上記目的を達成するため角度に比例してパルス
数が増加し、1回転でパルスのカウント数をゼロにリセ
ットするようになっているエンコーダーからのパルスを
カウントしている時にロボットの位置を検知するセンサ
ーからのパルス信号を入力し、該パルス信号の立ち上り
時のエンコーダーのカウント数をロボットの位置情報と
して記憶させ、該位置情報に基き座標系の原点を設定す
る如くしたことを特徴としている。(Configuration) In order to achieve the above object, the present invention counts pulses from an encoder in which the number of pulses increases in proportion to the angle, and the number of pulse counts is reset to zero in one rotation. At the same time, a pulse signal from a sensor that detects the robot's position is input, the encoder count at the rise of the pulse signal is stored as the robot's position information, and the origin of the coordinate system is set based on the position information. It is characterized by
以下第1図乃至第3図に示した実施例に基づいて具体的
に説明する。機構上の構成は例えば第4図のものと同様
なものとする。第2図はそのロボットのカウンタ回路の
ブロック図である。A detailed explanation will be given below based on the embodiment shown in FIGS. 1 to 3. The mechanical configuration is, for example, similar to that shown in FIG. FIG. 2 is a block diagram of the counter circuit of the robot.
エンコーダーより発生した信号は人相、B相とゼロ相に
分かれ、それぞれターミネションとフィルター回路を通
ってアップダウンカウンタに入力する。第3図は例とし
てインクメンタル形のエンコーダーを用いた場合、原点
サーチ時アームが一定速で動いている時のエンコーダー
より発生するA相、B相のパルス数を縦軸にとり回転角
度を横軸にとった関係図である。エンコーターの1回転
でNパルス発生するとして角度に比例してパルス数が増
加するが、エンコーダーが1回転してゼロ相入力により
A相、B相のパルスのカウント数をNから0にリセット
するように第2図の回路を構成しである。上記した方法
でエンコーダーよりのパルスをカウントして原点を設定
させる状態を第1図中抽戸亦キ功呑に示す。The signal generated by the encoder is divided into human phase, B phase, and zero phase, and each passes through a termination and a filter circuit and is input to an up/down counter. Figure 3 shows, as an example, when an incremental encoder is used, the vertical axis is the number of A-phase and B-phase pulses generated by the encoder when the arm is moving at a constant speed during origin search, and the horizontal axis is the rotation angle. This is a diagram of the relationship taken. Assuming that N pulses are generated in one rotation of the encoder, the number of pulses increases in proportion to the angle, but after one rotation of the encoder, the number of pulse counts for A and B phases is reset from N to 0 by zero phase input. The circuit shown in FIG. 2 is constructed. A state in which the origin is set by counting pulses from the encoder using the method described above is shown in FIG.
アームが回動してエンコーダーよりのパルスをカウント
している時にbの位置でセンサーのON信号が入力した
とする。このON信号が立ち上った時のエンコーダーの
カウント数dを記憶し、制御装置のCRT画面上に表示
する。そしてその位置からカウント数dだけ戻ったa点
(つまりb点から戻って初めのゼロ相信号が入った位置
)に原点を設定する。尚この場合す点の位置を記憶装置
に記憶させておけば数値制御により原点を設定できるの
で、必ずしもアームはa点上に戻す必要はない。Assume that the sensor ON signal is input at position b while the arm is rotating and counting pulses from the encoder. The count number d of the encoder when this ON signal rises is stored and displayed on the CRT screen of the control device. Then, the origin is set at point a, which is returned by the count number d from that position (that is, the position where the first zero-phase signal is received after returning from point b). In this case, if the position of the point is stored in the storage device, the origin can be set by numerical control, so it is not necessarily necessary to return the arm to the point a.
(効 果)
本発明は角度に比例してパルス数が増加し、1回転でパ
ルスのカウント数をゼロにリセットするようになってい
るエンコーダーからのパルスをカウントしている時にロ
ボットの位置を検知するセンサーからのパルス信号を入
力し、該パルス信号の立ち上り時のエンコーダーのカウ
ント数をロボットの位置情報として記憶させ、該位置情
報に基き座標系の原点を設定する如くなっているので、
またセンサーのON信号とエンコーダーのゼロ相信号の
同期をとる必要がないのでセンサーとターゲットとの設
置調整が簡単になり、センサーのON信号はワンショッ
トパルスで良いのでセンサーのON領域を十分に小さく
することにより確実に同一のエンコーダーのゼロ相信号
を特定できるので、原点設定の際アームの回動方向はど
ちら向きでも良いという効果がある。(Effects) The present invention detects the position of the robot while counting the pulses from the encoder, which increases the number of pulses in proportion to the angle and resets the pulse count to zero with one rotation. A pulse signal from a sensor is input, the encoder count at the rise of the pulse signal is stored as position information of the robot, and the origin of the coordinate system is set based on the position information.
Also, since there is no need to synchronize the sensor's ON signal and the encoder's zero-phase signal, the installation adjustment between the sensor and the target is simplified, and the sensor's ON signal can be a one-shot pulse, so the sensor's ON area can be made sufficiently small. By doing this, the zero phase signal of the same encoder can be reliably specified, so that the arm can be rotated in either direction when setting the origin.
第1図は本発明方法の説明図、第2図は本発明方法に用
いるエンコーダーの回路図、第3図は第2図のエンコー
ダーの作動説明図、第4図は従来方法及び本発明方法を
施すロボットの一例斜視図、第5図は従来方法の説明図
である。
1・・・第1アーム 2・・・第2アーム3・・
・作業工具 4・・コラム5.8・・・エンコ
ーダー 6,9・・・サーボモーター11.12・・
・位置検知センサー
Pu
回彰角廐(°)
第3図 −FIG. 1 is an explanatory diagram of the method of the present invention, FIG. 2 is a circuit diagram of an encoder used in the method of the present invention, FIG. FIG. 5 is a perspective view of an example of a robot that performs the process, and is an explanatory diagram of a conventional method. 1...First arm 2...Second arm 3...
・Work tools 4...Column 5.8...Encoder 6,9...Servo motor 11.12...
・Position detection sensor Pu Rotation angle (°) Figure 3 -
Claims (1)
ウント数をゼロにリセットするようになっているエンコ
ーダーからのパルスをカウントしている時にロボットの
位置を検知するセンサーからのパルス信号を入力し、該
パルス信号の立ち上り時のエンコーダーのカウント数を
ロボットの位置情報として記憶させ、該位置情報に基き
座標系の原点を設定する如くなしたロボットの原点位置
設定方法The number of pulses increases in proportion to the angle, and the number of pulses is reset to zero after one rotation.The pulse signal from the sensor that detects the robot's position while counting the pulses from the encoder. A method for setting the origin position of a robot, in which the count number of the encoder at the rising edge of the pulse signal is stored as position information of the robot, and the origin of the coordinate system is set based on the position information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14276785A JPS623305A (en) | 1985-06-28 | 1985-06-28 | Method for setting original point position of robot |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14276785A JPS623305A (en) | 1985-06-28 | 1985-06-28 | Method for setting original point position of robot |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS623305A true JPS623305A (en) | 1987-01-09 |
Family
ID=15323107
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14276785A Pending JPS623305A (en) | 1985-06-28 | 1985-06-28 | Method for setting original point position of robot |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS623305A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1989008287A1 (en) * | 1988-02-24 | 1989-09-08 | Fanuc Ltd | Method for returning to origin |
| JPH02262984A (en) * | 1989-04-03 | 1990-10-25 | Matsushita Electric Ind Co Ltd | How to reproduce the robot reference posture |
| JP2003084834A (en) * | 2001-09-10 | 2003-03-19 | Shi Control Systems Ltd | Position preset method for position detector using incremental encoder |
-
1985
- 1985-06-28 JP JP14276785A patent/JPS623305A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1989008287A1 (en) * | 1988-02-24 | 1989-09-08 | Fanuc Ltd | Method for returning to origin |
| EP0372082B1 (en) * | 1988-02-24 | 1994-07-20 | Fanuc Ltd. | Method for returning to origin |
| JPH02262984A (en) * | 1989-04-03 | 1990-10-25 | Matsushita Electric Ind Co Ltd | How to reproduce the robot reference posture |
| JP2003084834A (en) * | 2001-09-10 | 2003-03-19 | Shi Control Systems Ltd | Position preset method for position detector using incremental encoder |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111457953A (en) | Automatic calibration detection system and method for rotary encoder | |
| JPH0239303A (en) | Numerical controller containing detecting function for follow-up error | |
| JPH0778682B2 (en) | Robot control system | |
| JPS623305A (en) | Method for setting original point position of robot | |
| JPH03204009A (en) | 2-axis synchronous drive device | |
| JPS623306A (en) | Method for correcting original point position of robot | |
| JP2727542B2 (en) | Arm position detection method | |
| CN106371402B (en) | It is a kind of to realize that communication transmission origin signal returns former method and corresponding servo-driver | |
| JPS6126963Y2 (en) | ||
| JPH04123205A (en) | Initial position detector for target to be controlled | |
| JPS59229609A (en) | Control device of industrial robot | |
| JPH0733133Y2 (en) | Origin position detector | |
| JPS59205282A (en) | How to correct the origin of an articulated robot | |
| JPS6344471B2 (en) | ||
| JPH04294986A (en) | Measuring method for length of robot arm and coordinate value compensation method for horizontal articulated robot using thereof | |
| JP2000084885A (en) | Position detecting device and joint mechanism | |
| JPS61221802A (en) | Searching system for original point of robot arm | |
| JPH01147608A (en) | Correction system for positioning error | |
| JP2597977B2 (en) | Reference point setting method for position detection circuit | |
| JPS62225908A (en) | Position detector | |
| JP2694019B2 (en) | Device for detecting the center position of the work groove width | |
| JPH0511446Y2 (en) | ||
| JP2524554Y2 (en) | Joystick adapter | |
| JPS623307A (en) | Method for correcting mechanical original point of horizontal multi-joint robot | |
| JP2653057B2 (en) | Home position return method |