JP2015077649A - Robot origin setting method and robot - Google Patents

Robot origin setting method and robot Download PDF

Info

Publication number
JP2015077649A
JP2015077649A JP2013215430A JP2013215430A JP2015077649A JP 2015077649 A JP2015077649 A JP 2015077649A JP 2013215430 A JP2013215430 A JP 2013215430A JP 2013215430 A JP2013215430 A JP 2013215430A JP 2015077649 A JP2015077649 A JP 2015077649A
Authority
JP
Japan
Prior art keywords
axial
contact portion
origin
shaft member
shaft
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
JP2013215430A
Other languages
Japanese (ja)
Other versions
JP6117673B2 (en
Inventor
健次 石塚
Kenji Ishizuka
健次 石塚
基樹 長森
Motoki Nagamori
基樹 長森
賢治 上野
Kenji Ueno
賢治 上野
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.)
Yamaha Motor Co Ltd
Original Assignee
Yamaha Motor 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 Yamaha Motor Co Ltd filed Critical Yamaha Motor Co Ltd
Priority to JP2013215430A priority Critical patent/JP6117673B2/en
Publication of JP2015077649A publication Critical patent/JP2015077649A/en
Application granted granted Critical
Publication of JP6117673B2 publication Critical patent/JP6117673B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)
  • Numerical Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To excellently perform an origin position setting of an axis member (work axis) without using an exclusive sensor.SOLUTION: A robot 1A includes: an arm 3 (second link 3b); a work axis 4 supported by the arm 3; an axis side stopper 30 provided in the work axis 4; and an arm side stopper 34 provided in the arm 3. An origin setting method for the robot 1A includes: a process for determining a position where an upper surface 30a of the stopper 30 abuts on a lower surface 34a of the stopper 34 as an axial direction origin position of the work axis 4 and determining a height position of the work axis 4 where a projection section 30b of the stopper 30 can abut on a side surface 34b of the stopper 34 with reference to the axial direction origin position; a process for setting the axial direction origin position by moving the work axis 4 and allowing the upper surface 30a to abut on the lower surface 34a; a process for disposing the work axis 4 at the height position on the basis of the axial direction origin position; and a process for setting a rotation direction origin position of the work axis 4 by rotating the work axis 4 at the height position and allowing the projection section 30b to abut on the side surface 34b of the stopper 34.

Description

本発明は、モータにより回転駆動および昇降駆動される軸部材を備えるロボットの原点設定方法およびロボットに関するものである。   The present invention relates to a robot origin setting method and a robot including a shaft member that is driven to rotate and move up and down by a motor.

従来から、アーム(ベース)に対してロボットハンド機構が作業軸(軸部材)を介して支持され、モータの駆動力により作業軸とロボットハンド機構とが一体的に回転されるスカラ型ロボット(以下、ロボットと略す)が公知である。そして、特許文献1には、この種のロボットに関し、電源投入時などに、前記作業軸の回転方向の原点位置を、専用のセンサを用いることなく設定する方法(原点出し方法)が開示されている。その方法は、予め、ロボットハンド機構側に上向きに突出するドグ(突出部)を設ける一方、アーム側に下向きに突出するストッパを設けておき、作業軸を回転させてドグとストッパとを周方向に当接させることで、その当接位置を基準として回転方向の原点位置を設定するというものである。このようなセンサレスの原点設定方法は、ロボット構成の簡素化および低廉化を図る上で有用なものである。   Conventionally, a robot hand mechanism is supported on an arm (base) via a work shaft (shaft member), and the work shaft and the robot hand mechanism are integrally rotated by a driving force of a motor (hereinafter referred to as a SCARA robot). Are abbreviated as robots). Patent Document 1 discloses a method (origin finding method) for setting the origin position in the rotation direction of the work axis without using a dedicated sensor when the power is turned on. Yes. In this method, a dog (protruding portion) that protrudes upward on the robot hand mechanism side is provided in advance, while a stopper that protrudes downward on the arm side is provided, and the work shaft is rotated to move the dog and stopper in the circumferential direction. The origin position in the rotation direction is set with reference to the contact position. Such a sensorless origin setting method is useful for simplifying and reducing the cost of the robot configuration.

特許第3268705号公報Japanese Patent No. 3268705

上記ロボットとしては、ロボットハンド機構が作業軸と共に回転するのみならず、作業軸と共に上下方向に移動するものもある。このようなロボットにおいて上記方法に基づき回転方向の原点設定を行うには、予めドグとストッパとが周方向に当接可能となる高さ位置に作業軸(ロボットハンド機構)を配置した上で、当該作業軸を回転させてドグとストッパとを当接させることが必要となる。この場合、ロボット構成の簡素化および低廉化を考慮すると、回転方向の原点設定の場合と同様に、専用のセンサを用いることなく、作業軸を上記高さ位置に配置し、その上で、上記方法に従って回転方向の原点位置を設定できるのが好適である。しかし、この点に関する具体的な方法や構成は特許文献1には一切開示されていない。   In some robots, the robot hand mechanism not only rotates with the work axis but also moves with the work axis in the vertical direction. In such a robot, in order to set the rotation direction origin based on the above method, the work axis (robot hand mechanism) is arranged in advance at a height position where the dog and the stopper can contact in the circumferential direction. It is necessary to cause the dog and the stopper to contact each other by rotating the working shaft. In this case, considering simplification and low cost of the robot configuration, the work axis is arranged at the height position without using a dedicated sensor, as in the case of setting the origin in the rotation direction. It is preferable that the origin position in the rotation direction can be set according to the method. However, no specific method or configuration regarding this point is disclosed in Patent Document 1.

本発明は、このような事情に鑑みてなされたものであり、軸方向の移動及び回転が可能な軸部材を備えたロボットに関して、専用のセンサを用いることなく良好に軸部材の原点位置設定を行うことができる技術を提供することを目的とする。   The present invention has been made in view of such circumstances, and for a robot including a shaft member that can move and rotate in the axial direction, the origin position of the shaft member can be satisfactorily set without using a dedicated sensor. It aims at providing the technology which can be performed.

上記の課題を解決するために、本発明に係るロボットの原点設定方法は、ベース部材と、このベース部材に対して軸方向の移動および軸心回りの回転を行う軸部材と、前記軸部材の軸方向の移動に伴い互いに前記軸方向に当接可能なように、前記軸部材に備えられる第1軸方向当接部および前記ベース部材に備えられる第2軸方向当接部と、前記軸部材が前記軸方向の特定位置に配置された状態において当該軸部材が回転することにより、当該回転方向に互いに当接可能なように、前記軸部材に備えられる第1回転方向当接部および前記ベース部材に備えられる第2回転方向当接部と、を備えたロボットについて、前記第1軸方向当接部と前記第2軸方向当接部とが当接する位置を前記軸部材の軸方向原点位置として、予め当該軸方向原点位置を基準に前記特定位置を定める準備工程と、前記軸部材を移動させ、前記第1軸方向当接部と前記第2軸方向当接部とを当接させることにより前記軸方向原点位置を設定する軸方向原点設定工程と、前記軸方向原点設定工程において設定された軸方向原点位置に基づき、前記軸部材を前記軸方向に移動させて前記特定位置に配置する軸移動工程と、前記特定位置に配置した前記軸部材を回転させて前記第1回転方向当接部と前記第2回転方向当接部とを当接させることにより、当該軸部材の回転方向原点位置を設定する回転方向原点設定工程と、を含むものである。   In order to solve the above-described problems, a robot origin setting method according to the present invention includes a base member, a shaft member that performs axial movement and rotation around the base member, and the shaft member. A first axial contact portion provided in the shaft member, a second axial contact portion provided in the base member, and the shaft member so as to be able to contact each other in the axial direction with movement in the axial direction; In a state where the shaft member is arranged at a specific position in the axial direction, the first rotation direction contact portion and the base provided in the shaft member so that the shaft members can be brought into contact with each other in the rotation direction by rotating. For a robot provided with a second rotational direction contact portion provided in the member, a position where the first axial direction contact portion and the second axial contact portion contact each other is defined as an axial origin position of the shaft member. As the axial origin position in advance And setting the axial origin position by moving the shaft member and bringing the first axial contact portion and the second axial contact portion into contact with each other. An axial direction origin setting step, an axial movement step of moving the shaft member in the axial direction based on the axial direction origin position set in the axial direction origin setting step, and the specific position Rotation direction origin setting that sets the rotation direction origin position of the shaft member by rotating the shaft member disposed on the shaft and bringing the first rotation direction contact portion and the second rotation direction contact portion into contact with each other A process.

この方法によれば、電源投入時などには、軸部材を軸方向に移動させて第1軸方向当接部と第2軸方向当接部とを当接させることにより、前記軸方向原点位置を特定(設定)することができる。そして、この軸方向原点位置を基準に予め定められている前記特定位置に軸部材を移動させた上で、軸部材を回転させるため、前記第1回転方向当接部と前記第2回転方向当接部とを適切に当接させて回転方向原点位置を設定することができる。   According to this method, when the power is turned on, the shaft member is moved in the axial direction to bring the first axial contact portion and the second axial contact portion into contact with each other, whereby the axial origin position is reached. Can be specified (set). In order to rotate the shaft member after moving the shaft member to the specific position determined in advance with reference to the axial origin position, the first rotational direction contact portion and the second rotational direction The rotation direction origin position can be set by properly contacting the contact portion.

なお、軸部材の回転方向において第1回転方向当接部と第2回転方向当接部とが同じ位置にある状態で軸方向原点設定工程を実行すると、第1軸方向当接部と第2軸方向当接部とが当接する前に、第1回転方向当接部と第2回転方向当接部とが前記軸方向に当接してしまい、その結果、誤った位置で前記軸方向原点位置が設定されることが考えられる。このような不都合は、次のような方法により解決される。   In addition, if the axial direction origin setting step is executed in a state where the first rotational direction contact portion and the second rotational direction contact portion are at the same position in the rotational direction of the shaft member, the first axial direction contact portion and the second axial direction contact portion Before the axial contact portion comes into contact, the first rotational direction contact portion and the second rotational direction contact portion make contact in the axial direction, and as a result, the axial origin position at an incorrect position. May be set. Such inconvenience is solved by the following method.

すなわち、上記の原点設定方法において、前記軸方向原点設定工程は、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第1仮原点位置として取得する第1仮原点設定工程と、前記第1仮原点設定工程の後、前記軸部材を所定角度だけ回転させ、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて、当該軸部材が停止した位置を第2仮原点位置として取得する第2仮原点設定工程と、前記第1仮原点位置および前記第2仮原点位置のうち、予め定められている設定条件に基づき何れか一方の仮原点位置を軸方向原点位置として設定する本原点設定工程とを含む。   That is, in the origin setting method, the axial direction origin setting step moves the shaft member in the axial direction so that the first axial contact portion and the second axial contact portion approach each other. After the first temporary origin setting step for acquiring the position where the shaft member has stopped as the first temporary origin position, and after the first temporary origin setting step, the shaft member is rotated by a predetermined angle, and the first axis A second temporary origin position obtained by moving the shaft member in the axial direction so that the direction abutting portion and the second axial direction abutting portion approach each other. Temporary origin setting step and main origin setting step of setting any one of the first temporary origin position and the second temporary origin position as an axial origin position based on a predetermined setting condition Including.

この方法によれば、回転角度が互いに異なる位置で一旦仮原点位置をそれぞれ取得しておき、予め定められている設定条件に照らし合わせて仮原点位置のうち何れが軸方向原点位置に該当するのかを判断するので、本来の軸方向原点位置とは異なる位置が誤って軸方向原点位置として設定されることを回避することが可能となる。   According to this method, the temporary origin positions are acquired once at positions with different rotation angles, and which of the temporary origin positions corresponds to the axial origin position in light of predetermined setting conditions. Therefore, it is possible to avoid erroneously setting a position different from the original axial origin position as the axial origin position.

なお、この本来の軸方向原点位置とは異なる位置が誤って軸方向原点位置として設定されることを回避するためには、次のような方法を適用することも考えられる。   In order to avoid that a position different from the original axial origin position is erroneously set as the axial origin position, the following method may be applied.

すなわち、前記軸方向原点設定工程では、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を仮原点位置として取得する処理を、前記軸部材を所定角度だけ回転させながら複数回実行し、連続して取得した仮原点位置のうち、予め設定された複数の数だけ仮原点位置が同一となったときに、当該同一となる仮原点位置を軸方向原点位置として設定する。   That is, in the axial origin setting step, the shaft member is moved in the axial direction so that the first axial contact portion and the second axial contact portion approach each other, and the shaft member stops. The process of acquiring the obtained position as the temporary origin position is executed a plurality of times while rotating the shaft member by a predetermined angle, and among the continuously acquired temporary origin positions, the predetermined number of temporary origin positions are obtained. When they are the same, the temporary origin position that is the same is set as the axial origin position.

要するに、第1回転方向当接部と第2回転方向当接部とが軸方向に当接し得る範囲(軸部材の回転方向における範囲)が限られている構造では、上記のように複数の位置で仮原点位置を取得して同一の位置となるものの数を調べることで、本来の軸方向原点位置を正確に特定する事が可能となる。よって、本来の軸方向原点位置とは異なる位置が誤って軸方向原点位置として設定されることを回避することが可能となる。   In short, in a structure in which the range in which the first rotation direction contact portion and the second rotation direction contact portion can contact in the axial direction (range in the rotation direction of the shaft member) is limited, a plurality of positions as described above. By acquiring the temporary origin position and checking the number of the same position, the original axial direction origin position can be specified accurately. Therefore, it is possible to avoid that a position different from the original axial origin position is erroneously set as the axial origin position.

一方、本発明のロボットは、ベース部材と、このベース部材に対して軸方向の移動および軸心回りの回転を行う軸部材とを備えたロボットであって、前記軸部材の軸方向の移動に伴い互いに前記軸方向に当接可能なように、前記軸部材に備えられる第1軸方向当接部および前記ベース部材に備えられる第2軸方向当接部と、前記軸部材が前記軸方向の特定位置に配置された状態において当該軸部材が回転することにより、当該回転方向に互いに当接可能なように、前記軸部材に備えられる第1回転方向当接部および前記ベース部材に備えられる第2回転方向当接部と、前記第1軸方向当接部と前記第2軸方向当接部とが前記軸方向に当接する位置を基準として予め定められた前記特定位置を記憶する記憶手段と、
前記軸部材の前記軸方向の移動および回転を制御する制御手段と、を備え、前記制御手段は、前記軸部材を移動させ、前記第1軸方向当接部と前記第2軸方向当接部とを当接させることにより前記軸方向原点位置を設定する軸方向原点設定処理と、この軸方向原点設定処理において設定した軸方向原点位置に基づき、前記軸部材を前記特定位置に配置する軸移動処理と、前記特定位置に配置した前記軸部材を回転させて前記第1回転方向当接部と前記第2回転方向当接部とを当接させることにより、当該軸部材の回転方向原点位置を設定する回転方向原点設定処理と、を実行するものである。
On the other hand, the robot of the present invention is a robot including a base member and a shaft member that moves in the axial direction and rotates around the shaft center with respect to the base member, and moves the shaft member in the axial direction. Accordingly, a first axial contact portion provided in the shaft member and a second axial contact portion provided in the base member so that they can contact each other in the axial direction, and the shaft member in the axial direction. When the shaft member rotates in a state of being arranged at a specific position, the first rotation direction contact portion provided in the shaft member and the first member provided in the base member are configured to be able to contact each other in the rotation direction. A storage means for storing the specific position determined in advance with reference to a position where the first axial contact portion and the second axial contact portion contact in the axial direction; ,
Control means for controlling movement and rotation of the shaft member in the axial direction, and the control means moves the shaft member so as to move the first axial contact portion and the second axial contact portion. Axis origin setting processing for setting the axial origin position by bringing the shaft member into contact with each other, and axis movement for arranging the shaft member at the specific position based on the axial origin position set in the axial origin setting processing By rotating the shaft member disposed at the specific position and bringing the first rotation direction contact portion and the second rotation direction contact portion into contact with each other, the rotation direction origin position of the shaft member is determined. The rotation direction origin setting process to be set is executed.

この構成によれば、電源投入時などに、上述した原点設定方法に従って、軸部材の軸方向および回転方向の原点設定を自動的に実行することが可能となる。   According to this configuration, when the power is turned on, the origin setting in the axial direction and the rotation direction of the shaft member can be automatically executed according to the above-described origin setting method.

このロボットにおいて、前記軸方向原点設定処理は、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第1仮原点位置として取得する第1仮原点設定処理と、前記第1仮原点設定処理の後、前記軸部材を所定の所定角度だけ回転させ、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第2仮原点位置として取得する第2仮原点設定処理と、前記第1仮原点位置および前記第2仮原点位置のうち、予め定められている設定条件に基づき何れか一方の仮原点位置を軸方向原点位置として設定する本原点設定処理と、を含むものであるのが好適である。   In this robot, in the axial direction origin setting process, the shaft member is moved in the axial direction so that the first axial contact portion and the second axial contact portion approach each other. After the first temporary origin setting process for acquiring the position where the motor is stopped as the first temporary origin position, and after the first temporary origin setting process, the shaft member is rotated by a predetermined predetermined angle to contact the first axial direction. Second temporary origin setting processing for acquiring a position at which the shaft member is stopped by moving the shaft member in the axial direction so that the portion and the second axial contact portion approach each other as a second temporary origin position And an origin setting process for setting one of the first temporary origin position and the second temporary origin position as an axial origin position based on a predetermined setting condition. It is suitable.

また、前記軸方向原点設定処理は、前記軸方向原点設定処理は、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を仮原点位置として取得する処理を、前記軸部材を所定角度だけ回転させながら複数回実行し、連続して取得した仮原点位置のうち、予め設定された複数の数だけ仮原点位置が同一となったときに、当該同一となる仮原点位置を軸方向原点位置として設定するものであってもよい。   In the axial direction origin setting process, the axial direction origin setting process moves the shaft member in the axial direction so that the first axial direction contact portion and the second axial direction contact portion approach each other. The process of moving and acquiring the position at which the shaft member has stopped as a temporary origin position is executed a plurality of times while rotating the shaft member by a predetermined angle, and the preset temporary origin position is set in advance. When the plurality of temporary origin positions are the same, the same temporary origin position may be set as the axial origin position.

これらの構成によれば、軸方向原点設定処理の際に、第1回転方向当接部と第2回転方向当接部とが前記軸方向に当接し、その結果、誤った位置で前記軸方向原点位置が設定されるという不都合を回避することが可能となる。   According to these configurations, during the axial origin setting process, the first rotational direction contact portion and the second rotational direction contact portion are contacted in the axial direction, and as a result, the axial direction is erroneously positioned. The inconvenience of setting the origin position can be avoided.

なお、上記ロボットにおいて、前記軸部材は、前記第1軸方向当接部と前記第1回転方向当接部とが一体に備えられた鍔状の軸側当接部材を有するものであるのが好適である。   In the above robot, the shaft member includes a bowl-shaped shaft side contact member in which the first axial direction contact portion and the first rotational direction contact portion are integrally provided. Is preferred.

この構成によれば、第1軸方向当接部と前記第1回転方向当接部とが共通の軸側当接部材に設けられているので、軸部材の構造の簡略化および低廉化に寄与する。   According to this configuration, since the first axial contact portion and the first rotational contact portion are provided on the common axial contact member, the structure of the shaft member can be simplified and the cost can be reduced. To do.

また、ベース部材は、前記第2軸方向当接部と前記第2回転方向当接部とが一体に備えられたベース側当接部材を有するものであるのが好適である。   In addition, it is preferable that the base member includes a base side contact member in which the second axial direction contact portion and the second rotational direction contact portion are integrally provided.

この構成によれば、第2軸方向当接部と前記第2回転方向当接部とが共通のベース側当接部材に設けられているので、ベース部材の構造の簡略化および低廉化に寄与する。   According to this configuration, the second axial contact portion and the second rotational contact portion are provided on the common base-side contact member, which contributes to simplification and cost reduction of the structure of the base member. To do.

また、上記ロボットにおいて、前記軸部材は、第1端部と第2端部とを有し、前記第1軸方向当接部および前記第2軸方向当接部は、前記ベース部材のうち、前記第1端部の側に設けられ、前記第1回転方向当接部および前記第2回転方向当接部は、前記ベース部材のうち、前記第2端部の側に設けられているものであってもよい。   In the robot, the shaft member has a first end and a second end, and the first axial contact portion and the second axial contact portion are included in the base member. The first rotation direction contact portion and the second rotation direction contact portion are provided on the first end portion side, and the second rotation direction contact portion is provided on the second end portion side of the base member. There may be.

この構成によれば、軸方向原点設定処理の際に、第1回転方向当接部と第2回転方向当接部とが前記軸方向に当接することが構造的に無くなるため、当該軸方向原点設定処理の迅速化に寄与する。   According to this configuration, in the axial origin setting process, the first rotational direction contact portion and the second rotational direction contact portion do not structurally contact in the axial direction. Contributes to speeding up of the setting process.

また、上記ロボットにおいて、第1回転方向当接部および前記第2回転方向当接部のうち一方は、これら回転方向当接部同士が前記軸方向に互いに当接したときに弾性的に後退するものであってもよい。   In the robot, one of the first rotation direction contact portion and the second rotation direction contact portion is elastically retracted when the rotation direction contact portions contact each other in the axial direction. It may be a thing.

この構成によれば、軸方向原点設定処理の際に、第1回転方向当接部と第2回転方向当接部とが前記軸方向に当接したとしても、その一方が当該当接に伴い後退することで、第1軸方向当接部と第2軸方向当接部とが確実に当接する。そのため、第1回転方向当接部と第2回転方向当接部とが前記軸方向に当接することにより、誤った位置で軸方向原点位置が設定されることを構造的に回避することが可能となる。しかも、第1回転方向当接部と第2回転方向当接部とが回転方向にずれた位置では、後退可能な回転方向当接部が弾性復帰することで本来の位置が維持される。そのため、軸部材の軸方向および回転方向の原点設定処理をより迅速に行うことが可能となる。   According to this configuration, even when the first rotation direction contact portion and the second rotation direction contact portion contact in the axial direction during the axial direction origin setting process, one of them comes along with the contact. By retreating, the first axial contact portion and the second axial contact portion reliably contact each other. Therefore, it is possible to structurally avoid the axial origin position being set at an incorrect position by abutting the first rotational direction contact portion and the second rotational direction contact portion in the axial direction. It becomes. In addition, at the position where the first rotational direction contact portion and the second rotational direction contact portion are displaced in the rotational direction, the original position is maintained by the elastic return of the retractable rotational direction contact portion. Therefore, it is possible to perform the origin setting process in the axial direction and the rotational direction of the shaft member more quickly.

以上説明したように、本発明によれば、専用のセンサを用いることなく良好に軸部材の原点位置設定を行うことができる。   As described above, according to the present invention, the origin position of the shaft member can be satisfactorily set without using a dedicated sensor.

本発明の第1の実施形態に係るスカラ型ロボットを示す側面図である。1 is a side view showing a SCARA robot according to a first embodiment of the present invention. アーム(第2リンク)の先端部分を示す斜視図である。It is a perspective view which shows the front-end | tip part of an arm (2nd link). スカラ型ロボットの制御系を示すブロック図である。It is a block diagram which shows the control system of a scalar type robot. コントローラによる作業軸の原点設定制御を説明するフローチャートである。It is a flowchart explaining the origin setting control of the working axis by a controller. (a)は、軸側ストッパの突起部がアーム側ストッパの下方に位置する状態、(b)は、軸側ストッパの突起部がアーム側ストッパの下面に当接した状態、(c)は、作業軸が軸方向原点位置に配置された状態(アーム側ストッパの下面に軸側ストッパの上面が当接した状態)それぞれ示す模式である。(A) is a state in which the protruding portion of the shaft side stopper is located below the arm side stopper, (b) is a state in which the protruding portion of the shaft side stopper is in contact with the lower surface of the arm side stopper, and (c) is FIG. 5 is a schematic diagram illustrating a state where the work shaft is disposed at the axial origin position (a state where the upper surface of the shaft-side stopper is in contact with the lower surface of the arm-side stopper). コントローラによる作業軸の原点設定制御の第1変形例を説明するフローチャートである。It is a flowchart explaining the 1st modification of the origin setting control of the working axis by a controller. コントローラによる作業軸の原点設定制御の第2変形例を説明するフローチャートである。It is a flowchart explaining the 2nd modification of the origin setting control of the working axis by a controller. コントローラによる作業軸の原点設定制御の第2変形例を説明するフローチャート(図7の続き)である。It is a flowchart (continuation of FIG. 7) explaining the 2nd modification of the origin setting control of the working axis by a controller. 本発明の第2の実施形態に係るスカラ型ロボットのアーム(第2リンク)を示す模式図である。It is a schematic diagram which shows the arm (2nd link) of the scalar type robot which concerns on the 2nd Embodiment of this invention. コントローラによる作業軸の原点設定制御を説明するフローチャートである。It is a flowchart explaining the origin setting control of the working axis by a controller. (a)は、第1アーム側ストッパの下面に対して第1軸側ストッパの上面が当接した状態、(b)は、第2軸側ストッパの突出部が第2アーム側ストッパの上面に当接した状態をそれぞれ示す模式である。(A) is a state where the upper surface of the first shaft side stopper is in contact with the lower surface of the first arm side stopper, and (b) is a state where the protruding portion of the second shaft side stopper is on the upper surface of the second arm side stopper. It is a model which shows the state which contact | abutted, respectively. 本発明の第3の実施形態に係るスカラ型ロボットのアーム(第2リンク)を示す模式図である。It is a schematic diagram which shows the arm (2nd link) of the scalar type robot which concerns on the 3rd Embodiment of this invention. コントローラによる作業軸の原点設定制御を説明するフローチャートである。It is a flowchart explaining the origin setting control of the working axis by a controller. (a)は、アーム側ストッパの下面に対して軸側ストッパの突起部が当接した状態、(b)は、作業軸の回転に伴い軸側ストッパの突起部がアーム側ストッパの位置から外側に逃げた状態をそれぞれ示す模式図である。(A) shows a state in which the protruding portion of the shaft side stopper is in contact with the lower surface of the arm side stopper, and (b) shows that the protruding portion of the shaft side stopper moves outward from the position of the arm side stopper as the work shaft rotates. It is a schematic diagram which each shows the state which escaped. 第3の実施形態に係るスカラ型ロボットの変形例を示す模式図である。It is a schematic diagram which shows the modification of the scalar type robot which concerns on 3rd Embodiment.

以下、添付図面を参照しながら本発明の好ましい実施の一形態について詳述する。   Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

( 第1の実施形態 )
図1は、本発明の第1の実施形態に係るスカラ型ロボットを側面図で概略的に示している。同図に示すスカラ型ロボット1A(以下、ロボット1Aと略す)は、基台上に設置される円柱状のアーム支持台2と、このアーム支持台2に連結されるアーム3と、このアーム3の先端部に支持される作業軸4(本発明の軸部材に相当する)とを有する。なお、図1中符号5は、後述するモータ12、20及び22等の電力や制御信号送信用のケーブル等が収容される筒状案内部材であり、アーム支持台2とアーム3の第2リンク3bとに亘って接続されている。
(First embodiment)
FIG. 1 is a schematic side view of a SCARA robot according to a first embodiment of the present invention. A SCARA robot 1A (hereinafter abbreviated as “robot 1A”) shown in FIG. 1 includes a columnar arm support 2 installed on a base, an arm 3 connected to the arm support 2, and the arm 3 And a work shaft 4 (corresponding to the shaft member of the present invention) supported by the front end portion. Reference numeral 5 in FIG. 1 denotes a cylindrical guide member that accommodates electric power of a motor 12, 20, and 22 described later, a cable for transmitting a control signal, and the like, and a second link between the arm support 2 and the arm 3. 3b.

アーム3は、前記アーム支持台2に支持されて水平方向に延びる第1リンク3aと、この第1リンク3aの先端に支持されて水平方向に延びる第2リンク3bとから構成される。   The arm 3 includes a first link 3a that is supported by the arm support 2 and extends in the horizontal direction, and a second link 3b that is supported at the tip of the first link 3a and extends in the horizontal direction.

第1リンク3aは、アーム支持台2の上部に垂直軸周りに回転(旋回)可能に支持されている。この第1リンク3aは、図外の減速機構を介してアーム支持台2の内部に配置される第1アームモータ10に連結されており、この第1アームモータ10により回転駆動される。   The first link 3a is supported on the upper portion of the arm support 2 so as to be rotatable (turnable) around a vertical axis. The first link 3 a is connected to a first arm motor 10 disposed inside the arm support 2 via a speed reduction mechanism (not shown), and is driven to rotate by the first arm motor 10.

また、第2リンク3bは、第1リンク3aの先端上部に垂直軸周りに回転(旋回)可能に支持されている。この第2リンク3bは、図外の減速機構を介して当該第2リンク3b上に搭載される第2アームモータ12に連結されており、この第2アームモータ12により回転駆動される。   The second link 3b is supported on the top end of the first link 3a so as to be rotatable (turnable) around a vertical axis. The second link 3b is connected to a second arm motor 12 mounted on the second link 3b via a speed reduction mechanism (not shown), and is rotationally driven by the second arm motor 12.

前記作業軸4は、スプライン軸である。作業軸4は、第2リンク3b(本発明のベース部材に相当する)の先端部に、当該第2リンク3bを上下方向に貫通する状態で、当該第2リンク3bに対して上下方向(軸方向)の移動及び軸心回りの回転が可能となるように支持され、R軸モータ20およびZ軸モータ22で駆動されるようになっている。   The working shaft 4 is a spline shaft. The work shaft 4 extends in the vertical direction (axis) with respect to the second link 3b in a state of penetrating the second link 3b in the vertical direction at the tip of the second link 3b (corresponding to the base member of the present invention). Direction) and rotation about the axis is supported, and is driven by the R-axis motor 20 and the Z-axis motor 22.

より詳しくは、第2リンク3bの先端には、スプラインナット(図示省略)が内嵌されたプーリ14が回転自在に支持されている。また、第2リンク3bにおける前記プーリ14の近傍位置には、上段プーリ16a及び下段プーリ16bを一体に備えた中継プーリ16が回転可能に支持されている。そして、第2リンク3bにR軸モータ20が搭載され、このR軸モータ20の出力軸に固定されるプーリ18と前記中継プーリ16の下段プーリ16bとに亘って伝動ベルト19が装着されるとともに、前記中継プーリ16の上段プーリ16aと前記プーリ14とに亘って伝動ベルト17が装着されている。この構成により、作業軸4がR軸モータ20によって回転駆動される。   More specifically, a pulley 14 having a spline nut (not shown) fitted therein is rotatably supported at the tip of the second link 3b. A relay pulley 16 that is integrally provided with an upper pulley 16a and a lower pulley 16b is rotatably supported at a position near the pulley 14 in the second link 3b. An R-axis motor 20 is mounted on the second link 3b, and a transmission belt 19 is mounted across the pulley 18 fixed to the output shaft of the R-axis motor 20 and the lower pulley 16b of the relay pulley 16. A transmission belt 17 is mounted across the upper pulley 16 a of the relay pulley 16 and the pulley 14. With this configuration, the work shaft 4 is rotationally driven by the R-axis motor 20.

また、第2リンク3bのうち、作業軸4の側方位置には、上下方向に延び、かつ第2リンク3bに回転自在に支持されるボールねじ軸24が設けられている。このボールねじ軸24にはナット部材26が螺合装着されており、このナット部材26が、作業軸4の上端を回転自在に保持するヘッドホルダ28に組み付けられている。そして、第2リンク3bにZ軸モータ22が搭載され、このZ軸モータ22の出力軸に固定される図外のプーリとボールねじ軸40の下端部に固定される図外のプーリとに亘って伝動ベルト23が装着されている。すなわち、Z軸モータ22により伝動ベルト23等を介してボールねじ軸24が回転駆動されると、このボールねじ軸24の回転に伴い、作業軸4がヘッドホルダ28と共に第2リンク3b(スプラインナット)に対して上下方向に移動する。   In addition, a ball screw shaft 24 that extends in the vertical direction and is rotatably supported by the second link 3b is provided at a side position of the work shaft 4 in the second link 3b. A nut member 26 is screwed onto the ball screw shaft 24, and the nut member 26 is assembled to a head holder 28 that rotatably holds the upper end of the work shaft 4. A Z-axis motor 22 is mounted on the second link 3b, and spans a pulley (not shown) fixed to the output shaft of the Z-axis motor 22 and a pulley (not shown) fixed to the lower end of the ball screw shaft 40. A transmission belt 23 is attached. That is, when the ball screw shaft 24 is rotationally driven by the Z-axis motor 22 via the transmission belt 23 or the like, the work shaft 4 and the head holder 28 are moved together with the second link 3b (spline nut) along with the rotation of the ball screw shaft 24. ) Up and down.

前記作業軸4には、鍔状の軸側ストッパ30(本発明の軸側当接部材に相当する)が固定され、第2リンク3bの下面のうち、作業軸4の近傍位置には、アーム側ストッパ34(本発明のベース側当接部材に相当する)が固定されている。これら軸側ストッパ30およびアーム側ストッパ34は、ロボット1Aの電源投入時等に、第2リンク3b(アーム3)に対して作業軸4の軸方向(上下方向)および回転方向の原点位置を設定するための部材である。   A hook-shaped shaft-side stopper 30 (corresponding to the shaft-side abutting member of the present invention) is fixed to the work shaft 4, and an arm is located near the work shaft 4 on the lower surface of the second link 3 b. A side stopper 34 (corresponding to the base side contact member of the present invention) is fixed. These shaft-side stopper 30 and arm-side stopper 34 set the origin position in the axial direction (vertical direction) and rotational direction of the work shaft 4 with respect to the second link 3b (arm 3) when the power of the robot 1A is turned on. It is a member for doing.

図1及び図2に示すように、軸側ストッパ30は、上下両面が平坦な円環状の部材であり、作業軸4のうち、その先端(下端)近傍の位置に固定されている。この軸側ストッパ30は、その上面30a(本発明の第1軸方向当接部に相当する)であってその径方向外側寄りの位置に、ほぼ円柱状の突起部30b(本発明の第1回転方向当接部に相当する)を備えている。当例では、軸側ストッパ30の上面30aにボルトが螺合挿入されることにより、そのボルト頭により前記突起部30bが形成されている。   As shown in FIGS. 1 and 2, the shaft-side stopper 30 is an annular member with flat upper and lower surfaces, and is fixed to a position near the tip (lower end) of the work shaft 4. The shaft-side stopper 30 has a substantially cylindrical protrusion 30b (first of the present invention) at a position on the upper surface 30a (corresponding to the first axial contact portion of the present invention) and radially outward. Corresponding to the rotation direction abutting portion). In this example, when the bolt is screwed into the upper surface 30a of the shaft side stopper 30, the projection 30b is formed by the bolt head.

一方、アーム側ストッパ34は、作業軸4の外周面に沿うように略扇型に形成されたブロック状の部材である。このアーム側ストッパ34は、軸側ストッパ30の上面30aが当接可能な平坦な下面34a(本発明の第2軸方向当接部に相当する)と、作業軸4の径方向に延びる垂直な側面であって、作業軸4の回転に伴い、軸側ストッパ30の突起部30bが当接可能な側面34b(本発明の第2回転方向当接部に相当する)とを有している。   On the other hand, the arm-side stopper 34 is a block-shaped member formed in a substantially fan shape so as to follow the outer peripheral surface of the work shaft 4. The arm-side stopper 34 includes a flat lower surface 34a (corresponding to the second axial contact portion of the present invention) with which the upper surface 30a of the shaft-side stopper 30 can abut, and a vertical extending in the radial direction of the work shaft 4. It has a side surface 34b (corresponding to the second rotational direction contact portion of the present invention) which is a side surface and can contact the protrusion 30b of the shaft side stopper 30 as the work shaft 4 rotates.

すなわち、このロボット1Aでは、アーム側ストッパ34の下面34aに対して軸側ストッパ30の上面30aが当接する位置が作業軸4の軸方向原点位置とされ、また、アーム側ストッパ34の側面34bに対して軸側ストッパ30の突起部30bが当接する位置が作業軸4の回転方向原点位置とされている。   That is, in this robot 1A, the position where the upper surface 30a of the shaft side stopper 30 abuts against the lower surface 34a of the arm side stopper 34 is the axial origin position of the work shaft 4, and the side surface 34b of the arm side stopper 34 is On the other hand, the position where the protrusion 30b of the shaft side stopper 30 abuts is the origin position in the rotation direction of the work shaft 4.

アーム側ストッパ34は、上記の通り略扇型であるが、その中心角θは、軸側ストッパ30の突起部30bをアーム側ストッパ34の下面34aに当接させた状態から作業軸4を180°回転させると、常に、突起部30bがアーム側ストッパ34の外側(作業軸4の回転方向外側)に逃げるように設定されている。当例では、アーム側ストッパ34の中心角θは、ほぼ30°程度に設定されている。   The arm-side stopper 34 is substantially fan-shaped as described above, but its central angle θ is 180 degrees from the state in which the protrusion 30b of the shaft-side stopper 30 is in contact with the lower surface 34a of the arm-side stopper 34. The protrusion 30b is always set to escape to the outside of the arm side stopper 34 (outside in the rotation direction of the work shaft 4) when rotated. In this example, the central angle θ of the arm side stopper 34 is set to about 30 °.

なお、作業軸4のうち、軸側ストッパ30よりも先端側は作業用機器の装着領域であり、この領域には、例えばロボットアーム等の作業用機器が固定される。   In addition, the work shaft 4 has a work device mounting region on the tip side of the shaft side stopper 30, and a work device such as a robot arm is fixed in this region.

前記ロボット1Aは、図3に示すようなアームコントローラ50を備えている。アームコントローラ50(以下、コントローラ50と略す)は、作業軸4を含むアーム3全体の動作を統括的に制御するものである。このコントローラ50は、周知のCPU、ROM、RAM等から構成されており、その機能構成として、主制御部52、記憶部54およびモータドライバ56等を含む。   The robot 1A includes an arm controller 50 as shown in FIG. The arm controller 50 (hereinafter abbreviated as “controller 50”) comprehensively controls the operation of the entire arm 3 including the work shaft 4. The controller 50 includes a known CPU, ROM, RAM, and the like, and includes a main control unit 52, a storage unit 54, a motor driver 56, and the like as its functional configuration.

記憶部54には、ロボット1A全体を制御するためのプログラムやデータが記憶されており、主制御部52は、前記プログラム等に基づき、モータドライバ56に制御信号を出力することで、当該モータドライバ56を介して前記各モータ11、12、20及び22を制御する。各モータ11、12、20、22にはそれぞれレゾルバ11a、12a、20a、22aが備えられており、各レゾルバ11a、12a、20a、22aにより検出される回転角度情報が主制御部52にフィードバックされる。当実施形態では、主制御部52およびモータドライバ56が本発明の制御手段に相当し、記憶部54が本発明の記憶手段に相当する。   The storage unit 54 stores a program and data for controlling the entire robot 1A, and the main control unit 52 outputs a control signal to the motor driver 56 based on the program or the like, whereby the motor driver The motors 11, 12, 20 and 22 are controlled via 56. Respective resolvers 11a, 12a, 20a, and 22a are provided in the motors 11, 12, 20, and 22, respectively, and rotation angle information detected by the resolvers 11a, 12a, 20a, and 22a is fed back to the main controller 52. The In the present embodiment, the main control unit 52 and the motor driver 56 correspond to the control unit of the present invention, and the storage unit 54 corresponds to the storage unit of the present invention.

なお、このロボット1Aには、作業軸4の原点設定のための専用のセンサ類は備えられておらず、電源投入時等などには、記憶部54に記憶されているプログラム等に従い、主制御部52の制御に基づき作業軸4の原点位置設定が行われる。   The robot 1A is not provided with a dedicated sensor for setting the origin of the work axis 4. When the power is turned on, the main control is performed in accordance with a program stored in the storage unit 54. Based on the control of the unit 52, the origin position of the work shaft 4 is set.

以下、このコントローラ50による作業軸4の軸方向および回転方向の原点位置設定制御について、図4のフローチャートに従って説明する。   Hereinafter, the origin position setting control in the axial direction and the rotational direction of the work shaft 4 by the controller 50 will be described with reference to the flowchart of FIG.

このフローチャートに示す制御は、ロボット1Aの電源投入によりスタートする。この制御がスタートすると、アームコントローラ50は、作業軸4を、その回転角度位置を保持した状態で、自然に停止する位置まで上昇させる(ステップS1、S3)。詳しくは、作業軸4の軸側ストッパ30と第2リンク3b(アーム3)のアーム側ストッパ34とが上下方向に突き当たって作業軸4が停止する位置まで作業軸4を上昇させる。この場合、コントローラ50(主制御部52)は、レゾルバ22aから入力される回転角度情報の変化量から作業軸4が停止したか否かを検知する。つまり、上記のようにして作業軸4の上昇が停止すると、これに伴いレゾルバ22aから入力される回転角度情報の変化量がほぼ「0」となるため、これにより作業軸4が停止したことを検知することが可能となる。この場合、モータドライバからZ軸モータ22に供給される電流値の変化に基づき作業軸4が停止したか否かを検知するようにしてもよい。   The control shown in this flowchart starts when the power of the robot 1A is turned on. When this control is started, the arm controller 50 raises the work shaft 4 to a position where it naturally stops in a state where the rotation angle position is maintained (steps S1 and S3). Specifically, the work shaft 4 is raised to a position where the work shaft 4 stops when the shaft side stopper 30 of the work shaft 4 and the arm side stopper 34 of the second link 3b (arm 3) abut against each other in the vertical direction. In this case, the controller 50 (main control unit 52) detects whether or not the work shaft 4 has stopped from the amount of change in the rotation angle information input from the resolver 22a. That is, when the rise of the work shaft 4 is stopped as described above, the change amount of the rotation angle information input from the resolver 22a is substantially “0”, and accordingly, the work shaft 4 is stopped. It becomes possible to detect. In this case, it may be detected whether the work shaft 4 is stopped based on a change in the current value supplied from the motor driver to the Z-axis motor 22.

作業軸4が停止したと判断すると、コントローラ50は、電源投入時を基準としてレゾルバ22a、22bから入力される回転角度情報に基づき、上下方向(軸方向)における作業軸4の停止位置を作業軸4の第1仮軸方向原点位置(Z1)として取得(記憶)し、このときの作業軸4の回転角度位置を作業軸4の第1回転角度位置(R1)として取得する(ステップS5)。   When it is determined that the work shaft 4 has stopped, the controller 50 determines the stop position of the work shaft 4 in the vertical direction (axial direction) based on the rotation angle information input from the resolvers 22a and 22b with reference to when the power is turned on. 4 is acquired (stored) as the first temporary axis direction origin position (Z1), and the rotation angle position of the work shaft 4 at this time is acquired as the first rotation angle position (R1) of the work shaft 4 (step S5).

次に、コントローラ50は、作業軸4を予め記憶された所定量(例えば10mm)だけ下降させ、さらに作業軸4を180°だけ特定方向(当例では下方から見て反時計回り)に回転させた後、作業軸4を上昇させる(ステップS7〜S11)。そして、ステップS3の処理と同様に、作業軸4が停止したか否かを判別する(ステップS13)。   Next, the controller 50 lowers the work shaft 4 by a predetermined amount (for example, 10 mm) stored in advance, and further rotates the work shaft 4 by 180 ° in a specific direction (in this example, counterclockwise when viewed from below). After that, the work shaft 4 is raised (steps S7 to S11). Then, similarly to the process of step S3, it is determined whether or not the work shaft 4 has stopped (step S13).

作業軸4が停止したと判断すると、コントローラ50は、上下方向の当該停止位置を作業軸4の第2仮軸方向原点位置(Z2)として取得するとともに、このときの作業軸4の回転角度位置を作業軸4の第2回転角度位置(R2)として取得する(ステップS15)。   If it is determined that the work shaft 4 has stopped, the controller 50 acquires the stop position in the vertical direction as the second temporary axis direction origin position (Z2) of the work shaft 4, and the rotation angle position of the work shaft 4 at this time Is obtained as the second rotation angle position (R2) of the work shaft 4 (step S15).

次に、コントローラ50は、ステップS5で取得した第1仮軸方向原点位置(Z1)と第2仮軸方向原点位置(Z2)とを比較する。ここで、Z1>Z2の場合、つまり、第2仮軸方向原点位置(Z2)よりも第1仮軸方向原点位置(Z1)の方が高い場合には、コントローラ50は、作業軸4を若干下降させて当該作業軸4を回転させることにより、作業軸4を前記第1仮回転方向原点位置(R1)に戻す(ステップS19)。   Next, the controller 50 compares the first temporary axis direction origin position (Z1) acquired in step S5 with the second temporary axis direction origin position (Z2). Here, if Z1> Z2, that is, if the first temporary axis direction origin position (Z1) is higher than the second temporary axis direction origin position (Z2), the controller 50 slightly moves the work axis 4 The work shaft 4 is returned to the first temporary rotation direction origin position (R1) by lowering and rotating the work shaft 4 (step S19).

その後、コントローラ50は、第1仮軸方向原点位置(Z1)を軸方向原点位置(Z)として設定するとともに、この第1仮軸方向原点位置(Z1)を基準にして所定の回転方向原点設定高さ位置、すなわち、作業軸4の回転に伴い、軸側ストッパ30の突起部30bをアーム側ストッパ34の側面34bに当接させることが可能な高さ位置に移動させる(ステップS21)。なお、上記記憶部54には、本来の軸方向原点位置を基準として定められた回転方向原点設定高さ位置(本発明の設定位置に相当する)を示すデータが記憶されており、ステップS21の処理では、コントローラ50は、今回設定した軸方向原点位置(Z)、つまり、第1仮軸方向原点位置(Z1)を基準として前記データに基づき作業軸4を移動させる。   Thereafter, the controller 50 sets the first temporary axis direction origin position (Z1) as the axial direction origin position (Z) and sets a predetermined rotational direction origin based on the first temporary axis direction origin position (Z1). As the work shaft 4 rotates, the protrusion 30b of the shaft-side stopper 30 is moved to a height position where it can be brought into contact with the side surface 34b of the arm-side stopper 34 (step S21). The storage unit 54 stores data indicating a rotation direction origin set height position (corresponding to a set position of the present invention) determined based on the original axial direction origin position. In the processing, the controller 50 moves the work axis 4 based on the data with the axial direction origin position (Z) set this time, that is, the first temporary axis direction origin position (Z1) as a reference.

そして、コントローラ50は、さらに作業軸4の回転が停止するまで、つまり、軸側ストッパ30の突起部30bがアーム側ストッパ34の側面34bに突き当たって作業軸4が停止する位置まで当該作業軸4を回転させ、作業軸4が停止したと判断すると、回転方向における当該作業軸4の停止位置を作業軸4の回転方向原点位置(R)として設定する(ステップS23〜S27)。これにより本フローチャートを終了する。なお、ステップS25の処理では、ステップS3の処理と同様に、コントローラ50は、レゾルバ20aから入力される回転角度情報の変化量から作業軸4が停止したか否かを検知する。   The controller 50 then continues until the rotation of the work shaft 4 stops, that is, until the work shaft 4 stops at a position where the projection 30b of the shaft-side stopper 30 abuts against the side surface 34b of the arm-side stopper 34. When the work shaft 4 is determined to have stopped, the stop position of the work shaft 4 in the rotation direction is set as the rotation direction origin position (R) of the work shaft 4 (steps S23 to S27). This is the end of this flowchart. In step S25, as in step S3, the controller 50 detects whether the work shaft 4 has stopped based on the amount of change in the rotation angle information input from the resolver 20a.

一方、ステップS17の処理で、Z1<Z2の場合、つまり、第1仮軸方向原点位置(Z1)よりも第2仮軸方向原点位置(Z2)の方が高いと判断した場合には、コントローラ50は、第2仮軸方向原点位置(Z2)を軸方向原点位置(Z)として設定するとともに、この第2仮軸方向原点位置(Z2)を基準として所定の回転方向原点設定高さ位置に作業軸4を移動させた後(ステップS29)、ステップS23に移行し、上記同様ステップS23〜S27の処理を実行することにより、作業軸4の回転方向原点を設定する。   On the other hand, if it is determined in step S17 that Z1 <Z2, that is, if the second temporary axis direction origin position (Z2) is higher than the first temporary axis direction origin position (Z1), the controller 50 sets the second temporary axis direction origin position (Z2) as the axial direction origin position (Z), and sets the second temporary axis direction origin position (Z2) as a reference to a predetermined rotational direction origin set height position. After moving the work shaft 4 (step S29), the process proceeds to step S23, and the processing direction of steps S23 to S27 is executed to set the rotation direction origin of the work shaft 4.

また、ステップS17の処理で、Z1=Z2の場合、つまり、第1仮軸方向原点位置(Z1)と第2仮軸方向原点位置(Z2)の高さが等しいと判断した場合には、コントローラ50は、処理をステップS21に移行し、上記同様ステップ21〜S27の処理を実行することにより、作業軸4の回転方向原点を設定する。   If it is determined in step S17 that Z1 = Z2, that is, if the heights of the first temporary axis direction origin position (Z1) and the second temporary axis direction origin position (Z2) are equal, the controller 50 shifts the process to step S21 and sets the rotation direction origin of the work shaft 4 by executing the processes of steps 21 to S27 as described above.

すなわち、このロボット1Aでは、上記の通り、アーム側ストッパ34の下面34aに対して軸側ストッパ30の上面30aが当接する位置が作業軸4の軸方向原点位置(Z)である。しかし、軸側ストッパ30に突起部30bが設けられる関係上、電源投入時に作業軸4を単に軸方向に移動させるだけでは、図5(a)に示すように、アーム側ストッパ34の真下に突起部30bがある場合には、同図(b)に示すように、アーム側ストッパ34の下面34aに軸側ストッパ30の突起部30bが当接してしまい、誤った位置で軸方向原点位置(Z)が設定されることが考えられる。そこで、当例では、ステップS5、S15において、回転角度位置が互いに180°異なる位置で作業軸4を上昇させ、その停止位置を第1仮軸方向原点位置(Z1)および第2仮軸方向原点位置(Z2)として取得し、これらの位置を比較することにより何れの位置が作業軸4の真の軸方向原点位置かを判別している。具体的には、軸側ストッパ30の突起部30bがアーム側ストッパ34(下面34a)に当接している場合には、この突起部30bの高さ分だけ作業軸4の位置が本来の軸方向原点位置(図5(c))よりも低くなる。従って、ステップS17の処理では、第1仮軸方向原点位置(Z1)および第2仮軸方向原点位置(Z2)のうち、高い方を軸方向原点位置(Z)として設定している。但し、回転角度位置が互いに180°異なる位置であっても、共に、軸側ストッパ30の上面30aがアーム側ストッパ34の下面34aに当接する場合があり得るので、この場合には、第1仮軸方向原点位置(Z1)を回転軸方向原点位置(Z)として設定している。   That is, in the robot 1A, as described above, the position where the upper surface 30a of the shaft-side stopper 30 contacts the lower surface 34a of the arm-side stopper 34 is the axial origin position (Z) of the work shaft 4. However, because the protrusion 30b is provided on the shaft-side stopper 30, if the working shaft 4 is simply moved in the axial direction when the power is turned on, as shown in FIG. 5A, the protrusion is directly below the arm-side stopper 34. If there is a portion 30b, the projection 30b of the shaft-side stopper 30 comes into contact with the lower surface 34a of the arm-side stopper 34 as shown in FIG. ) May be set. Therefore, in this example, in steps S5 and S15, the work shaft 4 is raised at a position where the rotation angle positions are 180 ° different from each other, and the stop position is set to the first temporary axis direction origin position (Z1) and the second temporary axis direction origin. It is acquired as the position (Z2), and by comparing these positions, it is determined which position is the true origin position in the axial direction of the work shaft 4. Specifically, when the projection 30b of the shaft-side stopper 30 is in contact with the arm-side stopper 34 (lower surface 34a), the position of the work shaft 4 is the original axial direction by the height of the projection 30b. It becomes lower than the origin position (FIG. 5C). Accordingly, in the process of step S17, the higher one of the first temporary axis direction origin position (Z1) and the second temporary axis direction origin position (Z2) is set as the axial direction origin position (Z). However, the upper surface 30a of the shaft-side stopper 30 may abut against the lower surface 34a of the arm-side stopper 34 even if the rotation angle positions are 180 ° different from each other. The axial direction origin position (Z1) is set as the rotational axis direction origin position (Z).

以上のように、このロボット1Aでは、アーム側ストッパ34の下面34aに対して軸側ストッパ30の上面30aが当接する位置が作業軸4の軸方向原点位置(Z)とされ、また、アーム側ストッパ34の側面34bに対して軸側ストッパ30の突起部30bが当接する位置が作業軸4の回転方向原点位置(R)とされている。そして、電源投入時には、上記の通り、作業軸4を上下方向(軸方向)に移動させて、前記軸側ストッパ30の上面30aとアーム側ストッパ34の下面34aとを当接させることで作業軸4の軸方向原点位置(Z)を設定し、さらにこの軸方向原点位置(Z)を基準に回転方向原点設定高さ位置に移動させた上で、作業軸4を回転させてアーム側ストッパ34(側面34b)に軸側ストッパ30の突起部30bを当接させることにより、作業軸4の回転方向原点位置(R)を設定する。そのため、専用のセンサを用いることなく、モータ20a、22aに設けられるレゾルバ20a、22aからの回転角度情報のみで、作業軸4の軸方向および回転方向の原点位置を適切に設定することができる。   As described above, in this robot 1A, the position where the upper surface 30a of the shaft side stopper 30 contacts the lower surface 34a of the arm side stopper 34 is the axial origin position (Z) of the work shaft 4, and the arm side The position where the protrusion 30b of the shaft side stopper 30 abuts against the side surface 34b of the stopper 34 is the rotation direction origin position (R) of the work shaft 4. When the power is turned on, as described above, the work shaft 4 is moved in the vertical direction (axial direction) so that the upper surface 30a of the shaft-side stopper 30 and the lower surface 34a of the arm-side stopper 34 are brought into contact with each other. 4 is set to the axial direction origin position (Z), and further moved to the rotational direction origin set height position based on this axial direction origin position (Z), and then the work shaft 4 is rotated to rotate the arm side stopper 34. The rotation direction origin position (R) of the work shaft 4 is set by bringing the protrusion 30b of the shaft side stopper 30 into contact with the (side surface 34b). Therefore, the axial direction of the work shaft 4 and the origin position in the rotational direction can be appropriately set only by the rotational angle information from the resolvers 20a and 22a provided in the motors 20a and 22a without using a dedicated sensor.

特に、このロボット1Aでは、軸側ストッパ30の上面30aに突起部30bが突設されている関係で、電源投入時に作業軸4を軸方向に移動させるだけでは、アーム側ストッパ34の下面34aに軸側ストッパ30の突起部30bが当接する場合がある。しかし、このロボット1Aによれば、上記のように、アーム側ストッパ34の下面34aに対して軸側ストッパ30の突起部30bを当接させた状態から作業軸4を180°回転させると、常に、突起部30bがアーム側ストッパ34の外側(回転方向外側)に逃げるように当該アーム側ストッパ34等が形成されている。その上で、回転角度位置が互いに180°異なる位置で作業軸4を上昇させて、その停止位置を第1仮軸方向原点位置(Z1)および第2仮軸方向原点位置(Z2)として取得し、これらの位置を比較することにより軸方向原点位置を設定している。そのため、上記のような軸側ストッパ30の構造を備えながらも、作業軸4の軸方向原点位置(Z)や回転方向原点位置(R)を正確に設定することができる。   In particular, in this robot 1A, because the protrusion 30b protrudes from the upper surface 30a of the shaft-side stopper 30, simply moving the work shaft 4 in the axial direction when the power is turned on causes the lower surface 34a of the arm-side stopper 34 to move. The protrusion 30b of the shaft side stopper 30 may come into contact. However, according to the robot 1A, as described above, when the work shaft 4 is rotated 180 ° from the state in which the protrusion 30b of the shaft-side stopper 30 is in contact with the lower surface 34a of the arm-side stopper 34, as described above, The arm side stopper 34 and the like are formed so that the protrusion 30b escapes to the outside of the arm side stopper 34 (outside in the rotation direction). Then, the work shaft 4 is raised at a position where the rotation angle positions are 180 ° different from each other, and the stop positions are acquired as the first temporary axis direction origin position (Z1) and the second temporary axis direction origin position (Z2). The axial origin position is set by comparing these positions. Therefore, it is possible to accurately set the axial origin position (Z) and the rotational origin position (R) of the work shaft 4 while having the structure of the shaft side stopper 30 as described above.

なお、この実施形態においては、上記の通り、本来の軸方向原点位置を基準として定められた回転方向原点設定高さ位置を示すデータが予め記憶部54に記憶されているが、この回転方向原点設定高さ位置を定め、記憶部54に記憶させる工程が本発明の準備工程に相当する。また、図4のステップS1〜S21、S29の処理が本発明の軸方向原点設定工程(軸方向原点設定処理)に相当し、ステップS21、S29の処理が本発明の軸移動工程(軸移動処理)に相当し、ステップS25〜S27が回転方向原点設定工程(回転方向原点設定処理)に相当する。また、ステップS1〜S21、S29の処理のうち、ステップS1〜S5が本発明の第1仮原点設定工程(第1仮原点設定処理)に相当し、ステップS7〜S15が本発明の第2仮原点設定工程(第2仮原点設定処理)に相当し、ステップS17〜S21、S29が本発明の本原点設定工程(本原点設定処理)に相当する。そして、ステップS17、S21及びS29の処理において軸方向原点位置を設定する際の条件が本発明の設定条件に相当する。   In this embodiment, as described above, data indicating the rotation direction origin set height position determined with reference to the original axial direction origin position is stored in the storage unit 54 in advance. The step of determining the set height position and storing it in the storage unit 54 corresponds to the preparation step of the present invention. 4 corresponds to the axial origin setting process (axial origin setting process) of the present invention, and the processes of steps S21 and S29 are the axial movement process (axial movement process) of the present invention. Steps S25 to S27 correspond to a rotation direction origin setting step (rotation direction origin setting process). Of the processes of steps S1 to S21 and S29, steps S1 to S5 correspond to the first temporary origin setting step (first temporary origin setting process) of the present invention, and steps S7 to S15 are the second temporary origin of the present invention. This corresponds to the origin setting process (second temporary origin setting process), and steps S17 to S21 and S29 correspond to the origin setting process (original origin setting process) of the present invention. The conditions for setting the axial origin position in the processes of steps S17, S21 and S29 correspond to the setting conditions of the present invention.

< 第1変形例 >
次に、上記コントローラ50による、作業軸4の軸方向および回転方向の原点位置設定制御の第1変形例について、図6のフローチャートに従って説明する。
<First Modification>
Next, a first modification of the origin position setting control in the axial direction and the rotational direction of the work shaft 4 by the controller 50 will be described with reference to the flowchart of FIG.

なお、この制御の前提として、アーム側ストッパ34の前記中心角θは、軸側ストッパ30の突起部30bをアーム側ストッパ34の下面34aに当接させた状態から作業軸4を30°回転させると、常に、突起部30bがアーム側ストッパ34の外側(回転方向外側)に逃げ得るように設定されている。   As a premise of this control, the central angle θ of the arm side stopper 34 is determined by rotating the work shaft 4 by 30 ° from a state in which the protrusion 30b of the shaft side stopper 30 is in contact with the lower surface 34a of the arm side stopper 34. The protrusion 30b is always set so as to be able to escape to the outside (in the rotational direction) of the arm side stopper 34.

図6に示す制御では、まず、図4のフローチャートのステップS1〜S15の処理と同等のステップS31〜45の処理が実行され、これによりコントローラ50は、第1仮軸方向原点位置(Z1)と第2仮軸方向原点位置(Z2)とを取得する。但し、ステップS39(図4のステップS9の処理に相当)の処理では、コントローラ50は作業軸4を30°だけ回転させる。従って、図4の例とは異なり、第1仮軸方向原点位置(Z1)が取得されたときの作業軸4の回転角度と、第2仮軸方向原点位置(Z2)が取得されたときの作業軸4の回転角度の差は30°である。   In the control shown in FIG. 6, first, the processes of steps S31 to S45 that are equivalent to the processes of steps S1 to S15 of the flowchart of FIG. 4 are executed, whereby the controller 50 determines the first temporary axis direction origin position (Z1). The second temporary axis direction origin position (Z2) is acquired. However, in the process of step S39 (corresponding to the process of step S9 in FIG. 4), the controller 50 rotates the work shaft 4 by 30 °. Therefore, unlike the example of FIG. 4, the rotation angle of the work shaft 4 when the first temporary axis direction origin position (Z1) is acquired and the second temporary axis direction origin position (Z2) are acquired. The difference in the rotation angle of the work shaft 4 is 30 °.

作業軸4の第2仮軸方向原点位置(Z2)およびこのときの作業軸4の回転角度位置(R2)が取得されると、コントローラ50は、Z1=Z2か否かを判別する(ステップS47)。ここでYESと判断した場合には、図4のフローチャートのステップS21〜S27の処理と同等のステップS51〜S57の処理を実行する。すなわち、コントローラ50は、第1仮軸方向原点位置(Z1)を軸方向原点位置(Z)として設定するとともに、この第1仮軸方向原点位置(Z1)を基準にして、記憶部54に記憶されている回転方向原点設定高さ位置に作業軸4を移動させる(ステップS51)。そして、軸側ストッパ30の突起部30bがアーム側ストッパ34の側面34bに突き当たって作業軸4が停止する位置まで当該作業軸4を回転させ、作業軸4の停止位置を回転方向原点位置(R)として設定する(ステップS53〜S57)。これにより、本フローチャートを終了する。   When the second temporary axis direction origin position (Z2) of the work shaft 4 and the rotation angle position (R2) of the work shaft 4 at this time are acquired, the controller 50 determines whether or not Z1 = Z2 (step S47). ). If YES is determined here, processing in steps S51 to S57 equivalent to the processing in steps S21 to S27 in the flowchart of FIG. 4 is executed. That is, the controller 50 sets the first temporary axis direction origin position (Z1) as the axial direction origin position (Z) and stores it in the storage unit 54 with reference to the first temporary axis direction origin position (Z1). The work shaft 4 is moved to the rotation direction origin set height position that has been set (step S51). Then, the work shaft 4 is rotated to a position where the projecting portion 30b of the shaft-side stopper 30 hits the side surface 34b of the arm-side stopper 34 and the work shaft 4 stops, and the stop position of the work shaft 4 is set to the rotation direction origin position (R ) (Steps S53 to S57). Thereby, this flowchart is complete | finished.

これに対して、ステップS47の処理でNOと判断した場合には、コントローラ50は、現在の第1仮軸方向原点位置(Z1)を破棄し、現在の第2仮軸方向原点位置(Z2)を第1仮軸方向原点位置(Z1)に置き換えた後(ステップS59)、処理をステップS37に移行する。そして、ステップS37〜S47の処理を繰り返し、最終的にステップS47でYESと判断すると、ステップS51の処理に移行する。   On the other hand, when it is determined NO in the process of step S47, the controller 50 discards the current first temporary axis direction origin position (Z1) and the current second temporary axis direction origin position (Z2). Is replaced with the first temporary axis direction origin position (Z1) (step S59), and the process proceeds to step S37. Then, the processes in steps S37 to S47 are repeated, and if YES is finally determined in step S47, the process proceeds to step S51.

すなわち、この第1変形例の制御では、作業軸4の回転角度位置を30°ずつずらしながら軸方向原点位置を取得し、先に取得した作業軸4の仮軸方向原点位置を第1仮軸方向原点位置(Z1)、その後に取得した作業軸4の仮軸方向原点位置を第2仮軸方向原点位置(Z2)として、第1仮軸方向原点位置(Z1)と第2仮軸方向原点位置(Z2)とが同一となった場合に、第1仮軸方向原点位置(Z1)を作業軸4の軸方向原点位置(Z)として設定する。これは、上記の通り、アーム側ストッパ34の下面34aに対して軸側ストッパ30の突起部30bが当接した状態から作業軸4を30°回転させると、常に、突起部30bがアーム側ストッパ34の外側(回転方向外側)に逃げ得るようにアーム側ストッパ34が形成されており、連続して取得した第1、第2の仮軸方向原点位置(Z1、Z2)が同一になる場合とは、要するに、何れの仮軸方向原点位置(Z1、Z2)もアーム側ストッパ34の下面34aに対して軸側ストッパ30の上面30aが当接した状態を意味する。つまり、作業軸4が本来の軸方向原点位置に配置された状態にあることを意味する。よって、上記のように第1仮軸方向原点位置(Z1)と第2仮軸方向原点位置(Z2)とが同一となったときに、第1仮軸方向原点位置(Z1)を作業軸4の軸方向原点位置(Z)として設定することで、軸方向原点位置(Z)を正確に設定することができる。   That is, in the control of the first modification, the axial direction origin position is acquired while shifting the rotation angle position of the work shaft 4 by 30 °, and the previously acquired temporary axis direction origin position of the work axis 4 is set as the first temporary axis. The first temporary axis direction origin position (Z1) and the second temporary axis direction origin position are set as the second temporary axis direction origin position (Z2), which is the direction origin position (Z1) and the temporary axis direction origin position of the work axis 4 acquired thereafter. When the position (Z2) becomes the same, the first temporary axis direction origin position (Z1) is set as the axial direction origin position (Z) of the work shaft 4. As described above, when the work shaft 4 is rotated 30 ° from the state in which the protrusion 30b of the shaft-side stopper 30 is in contact with the lower surface 34a of the arm-side stopper 34, the protrusion 30b is always in contact with the arm-side stopper. The arm-side stopper 34 is formed so that it can escape to the outside (rotation direction outside) of 34, and the first and second provisional axial direction origin positions (Z1, Z2) acquired successively become the same. In short, any temporary axis direction origin position (Z1, Z2) means a state in which the upper surface 30a of the shaft side stopper 30 is in contact with the lower surface 34a of the arm side stopper 34. That is, it means that the work shaft 4 is in a state of being arranged at the original axial origin position. Therefore, when the first temporary axis direction origin position (Z1) and the second temporary axis direction origin position (Z2) are the same as described above, the first temporary axis direction origin position (Z1) is set as the work axis 4. By setting as the axial origin position (Z), the axial origin position (Z) can be accurately set.

なお、図6の例では、ステップS51の処理において、第1仮軸方向原点位置(Z1)を軸方向原点位置(Z)に設定しているが、勿論、第2仮軸方向原点位置(Z2)を軸方向原点位置(Z)に設定してもよい。   In the example of FIG. 6, in the process of step S51, the first temporary axis direction origin position (Z1) is set to the axial direction origin position (Z). Of course, the second temporary axis direction origin position (Z2) is set. ) May be set to the axial origin position (Z).

なお、この実施形態においては、図6のステップS31〜S51、S59の処理が本発明の軸方向原点設定工程(軸方向原点設定処理)に相当し、ステップS51の処理が本発明の軸移動工程(軸移動処理)に相当し、ステップS53〜S57の処理が回転方向原点設定工程(回転方向原点設定処理)に相当する。   In this embodiment, the processes of steps S31 to S51 and S59 in FIG. 6 correspond to the axial direction origin setting process (axial direction origin setting process) of the present invention, and the process of step S51 is the axis movement process of the present invention. This corresponds to (axis movement processing), and the processing in steps S53 to S57 corresponds to a rotation direction origin setting step (rotation direction origin setting processing).

< 第2変形例 >
次に、上記コントローラ50による、作業軸4の軸方向および回転方向の原点位置設定制御の第2変形例について、図7、図8のフローチャートに従って説明する。
<Second Modification>
Next, a second modification of the origin position setting control in the axial direction and the rotational direction of the work shaft 4 by the controller 50 will be described with reference to the flowcharts of FIGS.

図7、図8に示す制御では、まず、コントローラ50は、カウンタnに「1」をセットし(ステップS61)、その後、ステップS63〜S77の処理を実行する。このステップS63〜S77の処理は、図6のフローチャートのステップS31〜S45の処理と実質的に同一であり、これにより、コントローラ50は、第n仮軸方向原点位置(Zn)および第n+1仮軸方向原点位置(Z(n+1))と、回転角度位置Rn、R(n+1)を取得する。   In the control shown in FIGS. 7 and 8, first, the controller 50 sets “1” to the counter n (step S61), and then executes the processes of steps S63 to S77. The processing in steps S63 to S77 is substantially the same as the processing in steps S31 to S45 in the flowchart of FIG. 6, whereby the controller 50 allows the nth provisional axis direction origin position (Zn) and the n + 1th provisional axis. The direction origin position (Z (n + 1)) and rotation angle positions Rn, R (n + 1) are acquired.

次に、コントローラ50は、Zn=Z(n+1)であるか否かを判別し(ステップS79)、ここでYESと判断した場合には、ステップS81〜S87の処理を実行する。この処理は、図6のステップS51〜S57に対応する。すなわち、コントローラ50は、第nmax仮軸方向原点位置(Zmax)を基準に、記憶部54に記憶されている回転方向原点設定高さ位置に作業軸4を移動させる。そして、アーム側ストッパ34の側面34bに対して軸側ストッパ30の突起部30bが突き当たって作業軸4が停止する位置まで作業軸4を回転させ、作業軸4の停止位置を回転方向原点位置(R)として設定する。 Next, the controller 50 determines whether or not Zn = Z (n + 1) (step S79). If YES is determined in this step, the processes of steps S81 to S87 are executed. This process corresponds to steps S51 to S57 in FIG. That is, the controller 50 moves the work shaft 4 to the rotation direction origin set height position stored in the storage unit 54 with reference to the n max provisional axis direction origin position (Z max ). Then, the work shaft 4 is rotated to a position where the projecting portion 30b of the shaft side stopper 30 abuts against the side surface 34b of the arm side stopper 34 and the work shaft 4 stops, and the stop position of the work shaft 4 is set to the rotation direction origin position ( R).

これに対して、ステップS79の処理でNOと判別した場合には、コントローラ50は、ステップS89〜S97の処理を実行することにより、第(n+2)仮軸方向原点位置(Z(n+2))をさらに取得する。ステップS89〜S97の処理は、上記ステップS69〜S77の処理と同等である。そして、既に取得している第n仮軸方向原点位置(Zn)および第n+1仮軸方向原点位置(Z(n+1))のうち、値の大きい方と、第(n+2)仮軸方向原点位置(Z(n+2))とが同じか否かを判別し(ステップS99)、ここで同じと判断した場合には、コントローラ50は、処理をステップS81に移行し、作業軸4の回転方向原点位置(R)を設定するための処理を実行する。    On the other hand, if NO is determined in the process of step S79, the controller 50 executes the processes of steps S89 to S97 to thereby obtain the (n + 2) provisional axis direction origin position (Z (n + 2)). Get more. The processes in steps S89 to S97 are equivalent to the processes in steps S69 to S77. Of the already acquired n-th provisional axis direction origin position (Zn) and n + 1th provisional axis direction origin position (Z (n + 1)), the larger value and the (n + 2) provisional axis direction origin position ( Z (n + 2)) is determined to be the same (step S99), and if determined to be the same here, the controller 50 moves the process to step S81 and returns to the rotation direction origin position of the work shaft 4 ( A process for setting R) is executed.

一方、ステップS99の処理でNOと判断した場合には、コントローラ50は、カウンタnを「1」インクリメントした後(ステップS100)、処理をステップS89に移行し、ステップS89〜S99の処理を繰り返す。そして、最終的に、第n仮軸方向原点位置(Zn)および第n+1仮軸方向原点位置(Z(n+1))のうち、値の大きいものと、第(n+2)仮軸方向原点位置(Z(n+2))とが同じになると、処理をステップS81に移行し、作業軸4の回転方向原点位置を設定するための処理を実行する。   On the other hand, if it is determined NO in the process of step S99, the controller 50 increments the counter n by “1” (step S100), moves the process to step S89, and repeats the processes of steps S89 to S99. Finally, of the nth provisional axis direction origin position (Zn) and the (n + 1) th provisional axis direction origin position (Z (n + 1)), the larger value and the (n + 2) provisional axis direction origin position (Z If (n + 2)) becomes the same, the process proceeds to step S81, and a process for setting the rotation direction origin position of the work shaft 4 is executed.

つまり、先に説明した図6の第1変形例では、作業軸4の回転角度位置を30°ずつずらしながら互いに異なる回転角度位置で仮軸方向原点位置を取得し、連続して取得した仮軸方向原点位置が同一となったときに、先に取得した仮軸方向原点位置を軸方向原点位置(R)とするものである。これに対して、図7の第2変形例は、作業軸4の回転角度位置を30°ずつずらしながら互いに異なる回転角度位置で仮軸方向原点位置を取得するが、連続して取得した3つの仮軸方向原点位置のうち2つが同一となったときに、後から取得した第nmax仮軸方向原点位置(Zmax)を軸方向原点位置(R)とするのである。 That is, in the first modified example of FIG. 6 described above, the temporary axis direction origin position is acquired at different rotational angle positions while shifting the rotational angle position of the work shaft 4 by 30 °, and the temporary axis acquired continuously. When the direction origin position becomes the same, the provisional axial direction origin position acquired previously is set as the axial direction origin position (R). On the other hand, the second modified example of FIG. 7 acquires the temporary axis direction origin position at different rotation angle positions while shifting the rotation angle position of the work shaft 4 by 30 °. when two of the temporary axial home position but became the same, than is the axial home position (R) the first n max temporary axial origin position (Z max) obtained from the later.

このような第2変形例の制御も、理屈は第1変形例の制御と同じであり、第1変形例の場合と同様に、軸方向原点位置(Z)を正確に設定することができる。   The reason for the control of the second modification is the same as that of the control of the first modification, and the axial origin position (Z) can be set accurately as in the case of the first modification.

なお、図7、図8の例では、ステップS81の処理において、第nmax仮軸方向原点位置(Zmax)を軸方向原点位置(Z)に設定しているが、勿論、先に取得した仮軸方向原点位置を軸方向原点位置(Z)に設定するようにしてもよい。 In the example of FIGS. 7 and 8, the n max provisional axial direction origin position (Z max ) is set to the axial origin position (Z) in the process of step S81. The temporary axis direction origin position may be set to the axial direction origin position (Z).

なお、この実施形態においては、図7,図9のステップS61〜S81及びステップS89〜S100の処理が本発明の軸方向原点設定工程(軸方向原点設定処理)に相当し、ステップS81の処理が本発明の軸移動工程(軸移動処理)に相当し、ステップS83〜S87の処理が回転方向原点設定工程(回転方向原点設定処理)に相当する。   In this embodiment, the processes of steps S61 to S81 and steps S89 to S100 of FIGS. 7 and 9 correspond to the axial origin setting process (axial origin setting process) of the present invention, and the process of step S81 is performed. This corresponds to the axis movement process (axis movement process) of the present invention, and the processes in steps S83 to S87 correspond to the rotation direction origin setting process (rotation direction origin setting process).

( 第2の実施形態 )
図9は、本発明の第2の実施形態に係るスカラ型ロボットのうち、アーム(第2リンク)の部分を模式図で示している。なお、第2の実施形態に係るスカラ型ロボット1B(以下、ロボット1Bと略す)のハード的な構成は、以下に説明する点を除き、基本的には第1の実施形態のロボット1Aと同一である。
(Second Embodiment)
FIG. 9 is a schematic diagram showing an arm (second link) portion of the SCARA robot according to the second embodiment of the present invention. The hardware configuration of the SCARA robot 1B according to the second embodiment (hereinafter abbreviated as “robot 1B”) is basically the same as that of the robot 1A of the first embodiment except for the points described below. It is.

第2実施形態のロボット1Bは、作業軸4の下端(本発明の第1端部に相当する)近傍の位置に軸側ストッパ30が固定され、これに対応するアーム側ストッパ34が第2リンク3bの下面に固定される点で第1実施形態のロボット1Aと共通する。しかし、第2実施形態のロボット1Bでは、さらに軸側ストッパ30(第1軸側ストッパ30という)とは別の鍔状の軸側ストッパ31(第2軸側ストッパ31という)が作業軸4の上端(本発明の第2端部に相当する)近傍の位置に固定され、これに対応するアーム側ストッパ35(第2アーム側ストッパ35という)が第2リンク3bの上面に固定さている。   In the robot 1B of the second embodiment, the shaft side stopper 30 is fixed at a position near the lower end of the work shaft 4 (corresponding to the first end portion of the present invention), and the corresponding arm side stopper 34 is the second link. It is common to the robot 1A of the first embodiment in that it is fixed to the lower surface of 3b. However, in the robot 1 </ b> B of the second embodiment, a hook-shaped shaft side stopper 31 (referred to as the second shaft side stopper 31) different from the shaft side stopper 30 (referred to as the first shaft side stopper 30) is provided on the work shaft 4. The arm side stopper 35 (referred to as the second arm side stopper 35) corresponding to the upper end (corresponding to the second end portion of the present invention) is fixed to the upper surface of the second link 3b.

第1軸側ストッパ30(本発明の第1軸方向当接部に相当する)および第1アーム側ストッパ34(本発明の第2軸方向当接部に相当する)は、第1軸側ストッパ30に突起部30bが設けられていない点を除き、第1の実施形態の軸側ストッパ30及びアーム側ストッパ34とほぼ同等である。一方、第2アーム側ストッパ35(本発明の第2回転方向当接部に相当する)は、第2リンク3bの上面であって作業軸4の近傍位置に立設された軸状体である。また、第2軸側ストッパ31(本発明の第1回転方向当接部に相当する)は、その下面のうち径方向外側寄りの位置に、作業軸4の回転に伴い前記第2アーム側ストッパ35の側面に当接可能な突出部31aを備えている。   The first shaft side stopper 30 (corresponding to the first axial contact portion of the present invention) and the first arm side stopper 34 (corresponding to the second axial direction contact portion of the present invention) are the first shaft side stopper. 30 is substantially the same as the shaft-side stopper 30 and the arm-side stopper 34 of the first embodiment except that the protrusion 30b is not provided on the shaft 30. On the other hand, the second arm side stopper 35 (corresponding to the second rotational direction abutting portion of the present invention) is a shaft-like body standing on the upper surface of the second link 3b and in the vicinity of the work shaft 4. . Also, the second shaft side stopper 31 (corresponding to the first rotational direction contact portion of the present invention) is located on the lower surface of the second shaft side stopper 31 in the radially outer side with the rotation of the work shaft 4, and the second arm side stopper 31. The protrusion part 31a which can be contact | abutted to the side surface of 35 is provided.

そして、このロボット1Bでは、第1軸側ストッパ30の上面30aと第1アーム側ストッパ34の下面34aとが当接する位置が作業軸4の軸方向原点位置とされ、第2軸側ストッパ31の突出部31aが第2アーム側ストッパ35の側面に当接する位置が、作業軸4の回転方向原点位置とされている。   In the robot 1B, the position where the upper surface 30a of the first shaft-side stopper 30 and the lower surface 34a of the first arm-side stopper 34 abut is set as the axial origin position of the work shaft 4, and the second shaft-side stopper 31 The position where the protruding portion 31 a contacts the side surface of the second arm side stopper 35 is the rotation direction origin position of the work shaft 4.

次に、第2の実施形態のロボット1Bのコントローラ50による作業軸4の軸方向および回転方向の原点位置設定制御について、図10のフローチャートに従って説明する。   Next, the origin position setting control in the axial direction and the rotational direction of the work shaft 4 by the controller 50 of the robot 1B of the second embodiment will be described with reference to the flowchart of FIG.

この制御がスタートすると、コントローラ50は、作業軸4をその回転角度位置を保持した状態で、自然に停止する位置まで上昇させる(ステップS101、S103)。そして、作業軸4が停止すると、当該停止位置を作業軸4の軸方向原点位置(Z)として設定する(ステップS105)。すなわち、第1軸側ストッパ30には回転方向原点設定用の突起部は設けられておらず、作業軸4を上昇させると、図11(a)に示すように、常に第1アーム側ストッパ34の下面34aに対して第1軸側ストッパ30の上面30aが当接する。従って、作業軸4の上記停止位置を直ちに軸方向原点位置(Z)として設定することができる。   When this control is started, the controller 50 raises the work shaft 4 to a position where the work shaft 4 is naturally stopped while maintaining the rotation angle position (steps S101 and S103). Then, when the work shaft 4 stops, the stop position is set as the axial origin position (Z) of the work shaft 4 (step S105). That is, the first axis-side stopper 30 is not provided with a projection for setting the rotational direction origin, and when the work shaft 4 is raised, the first arm-side stopper 34 is always provided as shown in FIG. The upper surface 30a of the first shaft side stopper 30 abuts against the lower surface 34a. Accordingly, the stop position of the work shaft 4 can be immediately set as the axial origin position (Z).

次に、コントローラ50は、ステップS105で設定した軸方向原点位置(Z)を基準として、主制御部52に記憶されている回転方向原点設定高さ位置に向かって作業軸4の移動(下降)を開始させる(ステップS107)。そして、当該高さ位置に到達する前に作業軸4が停止したか否かを判別する(ステップS109)。   Next, the controller 50 moves (lowers) the work shaft 4 toward the rotational direction origin set height position stored in the main controller 52 with reference to the axial direction origin position (Z) set in step S105. Is started (step S107). Then, it is determined whether or not the work shaft 4 has stopped before reaching the height position (step S109).

ここで、YESと判断した場合には、コントローラ50は、予め定められた回転角度だけ作業軸4を回転させた後、作業軸4をさらに下降させ(ステップS111)、作業軸4が回転方向原点設定高さ位置に到達したか否かを判別する(ステップS113)。すなわち、第2軸側ストッパ31の突出部31aと第2アーム側ストッパ35との位置関係によっては、図11(b)に示すように、第2アーム側ストッパ35の上面に第2軸側ストッパ31の突出部31aが当接し、作業軸4が原点設定高さ位置に配置されない場合がある。そこで、この場合(ステップS109でYES)には、作業軸4を回転させ、第2アーム側ストッパ35に対して第2軸側ストッパ31の突出部31aを回転方向に逃がすようにしている。従って、ステップS111における作業軸4の回転角度は、第2アーム側ストッパ35に当接した突出部31aを確実に逃がすことができる角度に設定されている。なお、コントローラ50は、前記回転方向原点設定高さ位置と、レゾルバ22aから入力される回転角度情報の変化量とに基づきステップS113の判別を行う。   If YES is determined, the controller 50 rotates the work shaft 4 by a predetermined rotation angle and then further lowers the work shaft 4 (step S111). It is determined whether or not the set height position has been reached (step S113). That is, depending on the positional relationship between the protruding portion 31a of the second shaft side stopper 31 and the second arm side stopper 35, as shown in FIG. In some cases, the protruding portion 31a of the 31 abuts and the work shaft 4 is not disposed at the origin setting height position. Therefore, in this case (YES in step S109), the work shaft 4 is rotated so that the protruding portion 31a of the second shaft side stopper 31 escapes in the rotation direction with respect to the second arm side stopper 35. Therefore, the rotation angle of the work shaft 4 in step S111 is set to an angle that can surely escape the protruding portion 31a in contact with the second arm side stopper 35. The controller 50 performs the determination in step S113 based on the rotation direction origin set height position and the amount of change in the rotation angle information input from the resolver 22a.

ステップS113で作業軸4が原点設定高さ位置に到達したと判別した場合には、コントローラ50は、第2軸側ストッパ31の突出部31aが第2アーム側ストッパ35の側面に突き当たって作業軸4が停止する位置まで当該作業軸4を回転させ、当該停止位置を作業軸4の回転方向原点位置(R)として設定した後(ステップS115〜S119)、本フローチャートを終了する。   When it is determined in step S113 that the work shaft 4 has reached the origin setting height position, the controller 50 causes the projecting portion 31a of the second shaft side stopper 31 to abut against the side surface of the second arm side stopper 35 and the work shaft. The work shaft 4 is rotated to a position at which 4 stops, and the stop position is set as the rotation direction origin position (R) of the work shaft 4 (steps S115 to S119), and then this flowchart is ended.

一方、ステップS109の処理でNOと判別した場合、すなわち、作業軸4が原点設定高さ位置に到達した場合には、コントローラ50は、ステップS111、S113の処理をスキップしてステップS115の処理に移行する。これにより、作業軸4を回転させて回転方向原点位置(R)を設定する。   On the other hand, if NO is determined in the process of step S109, that is, if the work axis 4 has reached the origin setting height position, the controller 50 skips the processes of steps S111 and S113 and proceeds to the process of step S115. Transition. Thereby, the work shaft 4 is rotated to set the rotation direction origin position (R).

以上のような第2の実施形態のロボット1Bによれば、第1の実施形態のロボット1Aと同様に、電源投入時の作業軸4の軸方向および回転方向の原点位置設定を、専用のセンサを用いること無く、適切に行うことが可能となる。特に、このロボット1Bの場合、作業軸4を上昇させると、常に第1アーム側ストッパ34の下面34aに対して第1軸側ストッパ30の上面30aが当接するので、作業軸4の軸方向原点位置(Z)の設定を速やかに行うことができる。   According to the robot 1B of the second embodiment as described above, as in the robot 1A of the first embodiment, a dedicated sensor is used to set the origin position in the axial direction and the rotational direction of the work shaft 4 when the power is turned on. It becomes possible to carry out appropriately without using. In particular, in the case of the robot 1B, when the work shaft 4 is raised, the upper surface 30a of the first shaft-side stopper 30 is always in contact with the lower surface 34a of the first arm-side stopper 34. The position (Z) can be set quickly.

なお、この実施形態においては、図10のステップS101〜S107の処理が本発明の軸方向原点設定工程(軸方向原点設定処理)に相当し、ステップS107〜S113の処理が本発明の軸移動工程(軸移動処理)に相当し、ステップS115〜S119の処理が回転方向原点設定工程(回転方向原点設定処理)に相当する。   In this embodiment, the processing of steps S101 to S107 in FIG. 10 corresponds to the axial origin setting step (axial origin setting processing) of the present invention, and the processing of steps S107 to S113 is the axial movement step of the present invention. This corresponds to (axis movement processing), and the processing in steps S115 to S119 corresponds to a rotation direction origin setting step (rotation direction origin setting processing).

( 第3の実施形態 )
図12は、本発明の第3の実施形態に係るスカラ型ロボットのうち、アーム(第2リンク)の部分を模式図で示している。なお、第3の実施形態に係るスカラ型ロボット1C(以下、ロボット1Cと略す)のハード的な構成は、以下に説明する点を除き、基本的には第1の実施形態のロボット1Aと同一である。
(Third embodiment)
FIG. 12 is a schematic diagram showing an arm (second link) portion of a SCARA robot according to the third embodiment of the present invention. The hardware configuration of the SCARA robot 1C according to the third embodiment (hereinafter abbreviated as “robot 1C”) is basically the same as that of the robot 1A of the first embodiment except for the points described below. It is.

第3の実施形態のロボット1Cでは、軸側ストッパ30において突起部30bが弾性的に後退可能に構成されている。詳しくは、突起部30bが軸側ストッパ30の上面30aから上方に突出した突出位置と上面30aの下方に退避した退避位置とに亘って出没可能となるように支持された上で、圧縮コイルばね等の弾性部材によって突出位置に付勢されている。この点で、ロボット1Cは、第1の実施形態のロボット1Aと構成が相違している。   In the robot 1 </ b> C of the third embodiment, the protrusion 30 b is configured to be elastically retractable in the shaft-side stopper 30. Specifically, after the protrusion 30b is supported so as to be able to protrude and retract over a protruding position where it protrudes upward from the upper surface 30a of the shaft side stopper 30 and a retracted position where it retracts below the upper surface 30a, the compression coil spring It is urged | biased by the protrusion position by elastic members, such as. In this respect, the robot 1C is different in configuration from the robot 1A of the first embodiment.

次に、第3の実施形態のロボット1Cのコントローラ50による作業軸4の軸方向および回転方向の原点位置設定制御について、図13のフローチャートに従って説明する。   Next, the origin position setting control in the axial direction and the rotational direction of the work shaft 4 by the controller 50 of the robot 1C according to the third embodiment will be described with reference to the flowchart of FIG.

この制御がスタートすると、コントローラ50は、作業軸4をその回転角度位置を保持した状態で、自然に停止する位置まで上昇させる(ステップS121、S123)。そして、作業軸4が停止すると、当該停止位置を作業軸4の軸方向原点位置(Z)として設定する(ステップS125)。このロボット1Cでは、上記の通り、軸側ストッパ30の突起部30bが弾性的に後退可能であり、仮に突起部30bがアーム側ストッパ34の下方位置にあったとしても、図14(a)に示すように、アーム側ストッパ34の下面34aに当接するに伴い突起部30bが退避位置に押し下げられる。よって、作業軸4を上昇させると、常にアーム側ストッパ34の下面34aに対して軸側ストッパ30の上面30aが当接することとなり、従って、作業軸4の上記停止位置を直ちに軸方向原点位置(Z)として設定することができる。   When this control is started, the controller 50 raises the work shaft 4 to a position where the work shaft 4 is naturally stopped while maintaining the rotation angle position (steps S121 and S123). Then, when the work shaft 4 stops, the stop position is set as the axial origin position (Z) of the work shaft 4 (step S125). In this robot 1C, as described above, the protrusion 30b of the shaft-side stopper 30 can be elastically retracted, and even if the protrusion 30b is positioned below the arm-side stopper 34, as shown in FIG. As shown, the protrusion 30b is pushed down to the retracted position as it contacts the lower surface 34a of the arm side stopper 34. Therefore, when the work shaft 4 is raised, the upper surface 30a of the shaft-side stopper 30 always comes into contact with the lower surface 34a of the arm-side stopper 34. Therefore, the stop position of the work shaft 4 is immediately set to the axial origin position ( Z) can be set.

次に、コントローラ50は、ステップS125で設定した軸方向原点位置(Z)を基準として、記憶部54に記憶されている回転方向原点設定高さ位置へ作業軸4を移動させ、その後、アーム側ストッパ34の側面に対して軸側ストッパ30の突出部31aが突き当たって作業軸4が停止する位置まで当該作業軸4を回転させる。これにより、当該停止位置を作業軸4の回転方向原点位置(R)として設定する(ステップS127〜S133)。なお、このロボット1Cでは、図14(a)に示すように突起部30bがアーム側ストッパ34の下面34aに当接して退避位置に押し下げられていれも、ステップS129の処理で作業軸4が回転してアーム側ストッパ34の下面34aから回転方向に突起部30bの位置がずれると、図14(b)に示すように、突起部30bが退避位置から突出位置に弾性復帰する。従って、作業軸4を回転させることで、常に、アーム側ストッパ34の側面34bに対して軸側ストッパ30の突起部30bを当接させることができる。   Next, the controller 50 moves the work shaft 4 to the rotational direction origin setting height position stored in the storage unit 54 with reference to the axial direction origin position (Z) set in step S125, and then moves the arm side. The work shaft 4 is rotated to a position where the projecting portion 31a of the shaft-side stopper 30 abuts against the side surface of the stopper 34 and the work shaft 4 stops. Accordingly, the stop position is set as the rotation direction origin position (R) of the work shaft 4 (steps S127 to S133). In this robot 1C, as shown in FIG. 14A, the work shaft 4 is rotated by the process of step S129 even if the protrusion 30b is in contact with the lower surface 34a of the arm side stopper 34 and is pushed down to the retracted position. When the position of the protrusion 30b is shifted in the rotational direction from the lower surface 34a of the arm-side stopper 34, the protrusion 30b is elastically returned from the retracted position to the protruding position as shown in FIG. Therefore, by rotating the work shaft 4, the protruding portion 30 b of the shaft side stopper 30 can always be brought into contact with the side surface 34 b of the arm side stopper 34.

以上のような第3の実施形態のロボット1Cについても、上述の通り、第1、第2の実施形態のロボット1A、1Bと同様に、電源投入時の作業軸4の軸方向および回転方向の原点位置設定を、専用のセンサを用いること無く、適切に行うことが可能となる。   As described above, the robot 1C according to the third embodiment as described above is similar to the robots 1A and 1B according to the first and second embodiments in the axial direction and the rotation direction of the work shaft 4 when the power is turned on. The origin position can be appropriately set without using a dedicated sensor.

特に、この第3の実施形態のロボット1Cによれば、第1の実施形態のロボット1Aのように、2つ以上の仮軸方向原点位置を取得して真の軸方向原点位置を特定したり、第2の実施形態のロボット1Bのように、作業軸4を回転方向原点設定高さ位置に移動させる際に、その途中で一旦作業軸4を回転させるといった処理が発生することがない。そのため、第1、第2の実施形態のロボット1A、1Bと比べると、より短時間で作業軸4の軸方向および回転方向の原点位置設定を行うことが可能になるという利点がある。   In particular, according to the robot 1C of the third embodiment, as in the robot 1A of the first embodiment, two or more provisional axis direction origin positions are acquired and the true axis direction origin position is specified. As in the robot 1B of the second embodiment, when the work shaft 4 is moved to the rotation direction origin set height position, a process of rotating the work shaft 4 once is not generated. Therefore, as compared with the robots 1A and 1B of the first and second embodiments, there is an advantage that the origin position setting in the axial direction and the rotational direction of the work shaft 4 can be performed in a shorter time.

なお、この実施形態においては、図10のステップS121〜S125の処理が本発明の軸方向原点設定工程(軸方向原点設定処理)に相当し、ステップS127の処理が本発明の軸移動工程(軸移動処理)に相当し、ステップS129〜S133の処理が回転方向原点設定工程(回転方向原点設定処理)に相当する。   In this embodiment, the processing of steps S121 to S125 in FIG. 10 corresponds to the axial origin setting step (axial origin setting processing) of the present invention, and the processing of step S127 is the axial movement step (axis) of the present invention. The processing in steps S129 to S133 corresponds to a rotation direction origin setting step (rotation direction origin setting process).

この第3実施形態については、その変形例として、図15に示すような構成を採用することも可能である。同図に示す構成では、アーム側ストッパ34側に出没可能な突起部34c(本発明の第2回転方向当接部に相当する)が設けられ、この突起部34cが軸側ストッパ30の側面(本発明の第1回転当接部に相当する)に当接するように構成されている。このような構成によっても、図12の構成と同等の作用効果を享受することができる。   About this 3rd Embodiment, it is also possible to employ | adopt a structure as shown in FIG. 15 as the modification. In the configuration shown in the figure, a projecting portion 34c (corresponding to the second rotational direction abutting portion of the present invention) is provided on the arm side stopper 34 side, and this projecting portion 34c is a side surface of the shaft side stopper 30 ( (Corresponding to the first rotation contact portion of the present invention). Even with such a configuration, it is possible to receive the same operational effects as the configuration of FIG.

ところで、上述した第1〜第3の実施形態に係るスカラ型ロボット1A〜1Cおよびこれらスカラ型ロボット1A〜1Cによる作業軸4の原点設定制御(原点設定方法)は、本発明に係るロボットおよびその原点設定方法の好ましい実施形態の例示であって、スカラ型ロボット1A〜1Cの具体的な構成や具体的な原点設定方法は、本発明の要旨を逸脱しない範囲で適宜変更可能である。   By the way, the above-described SCARA robots 1A to 1C according to the first to third embodiments and the origin setting control (origin setting method) of the work axis 4 by these SCARA robots 1A to 1C are the robot according to the present invention and It is an illustration of a preferred embodiment of the origin setting method, and the specific configuration and the specific origin setting method of the SCARA robots 1A to 1C can be appropriately changed without departing from the gist of the present invention.

特に、軸側ストッパ30、31、アーム側ストッパ34、35および突起部30b等の具体的な形状や配置は、必ずしも上述した実施形態のものに限定されるものではなく、作業軸4の軸方向および回転方向の原点位置を設定する際に、第2リンク3b(アーム3)に対する作業軸4の移動や回転を拘束できればよく適宜変更可能である。   In particular, the specific shapes and arrangements of the shaft-side stoppers 30 and 31, the arm-side stoppers 34 and 35, the protrusions 30b, and the like are not necessarily limited to those of the above-described embodiment, and the axial direction of the work shaft 4 When the origin position in the rotation direction is set, it can be appropriately changed as long as the movement and rotation of the work shaft 4 with respect to the second link 3b (arm 3) can be restricted.

また、各実施形態では、本発明をいわゆるスカラ型ロボットに適用した例について説明したが、本発明は、ベース部材に対して軸方向の移動および軸心回りの回転を行う作業軸(軸部材)を備えたロボットであれば、スカラ型ロボット以外のロボットについても勿論適用可能である。   Moreover, although each embodiment demonstrated the example which applied this invention to what is called a SCARA type | mold robot, this invention is a working axis | shaft (shaft member) which performs the movement of an axial direction with respect to a base member, and the rotation of a shaft center. Of course, the present invention can be applied to robots other than SCARA robots.

1A、1B、1C スカラ型ロボット
2 アーム支持体
3 アーム
3a 第1リンク
3b 第2リンク
4 作業軸
30 軸側ストッパ
30a 上面
30b 突起部
34 アーム側ストッパ
34a 下面
34b 側面
50 アームコントローラ
52 主制御部
54 記憶部
56 モータドライバ
1A, 1B, 1C SCARA robot 2 Arm support 3 Arm 3a 1st link 3b 2nd link 4 Work shaft 30 Axis side stopper 30a Upper surface 30b Projection part 34 Arm side stopper 34a Lower surface 34b Side surface 50 Arm controller 52 Main control part 54 Storage unit 56 Motor driver

Claims (10)

ベース部材と、このベース部材に対して軸方向の移動および軸心回りの回転を行う軸部材と、前記軸部材の軸方向の移動に伴い互いに前記軸方向に当接可能なように、前記軸部材に備えられる第1軸方向当接部および前記ベース部材に備えられる第2軸方向当接部と、前記軸部材が前記軸方向の特定位置に配置された状態において当該軸部材が回転することにより、当該回転方向に互いに当接可能なように、前記軸部材に備えられる第1回転方向当接部および前記ベース部材に備えられる第2回転方向当接部と、を備えたロボットについて、前記第1軸方向当接部と前記第2軸方向当接部とが当接する位置を前記軸部材の軸方向原点位置として、予め当該軸方向原点位置を基準に前記特定位置を定める準備工程と、
前記軸部材を移動させ、前記第1軸方向当接部と前記第2軸方向当接部とを当接させることにより前記軸方向原点位置を設定する軸方向原点設定工程と、
前記軸方向原点設定工程において設定された軸方向原点位置に基づき、前記軸部材を前記軸方向に移動させて前記特定位置に配置する軸移動工程と、
前記特定位置に配置した前記軸部材を回転させて前記第1回転方向当接部と前記第2回転方向当接部とを当接させることにより、当該軸部材の回転方向原点位置を設定する回転方向原点設定工程と、を含むことを特徴とするロボットの原点設定方法。
A base member, a shaft member that performs axial movement with respect to the base member and rotation around the shaft center, and the shaft so that the shaft member can abut against each other in the axial direction as the shaft member moves in the axial direction. The first axial contact portion provided in the member, the second axial contact portion provided in the base member, and the shaft member rotating in a state where the shaft member is disposed at a specific position in the axial direction. With respect to the robot including the first rotation direction contact portion provided in the shaft member and the second rotation direction contact portion provided in the base member so as to be able to contact each other in the rotation direction. A preparatory step of predetermining the specific position based on the axial origin position in advance, with the position where the first axial contact part and the second axial contact part are in contact as the axial origin position of the shaft member;
An axial origin setting step of setting the axial origin position by moving the shaft member and bringing the first axial contact portion and the second axial contact portion into contact with each other;
Based on the axial origin position set in the axial origin setting step, the axial movement step of moving the shaft member in the axial direction and disposing it at the specific position;
Rotation that sets the rotation direction origin position of the shaft member by rotating the shaft member arranged at the specific position and bringing the first rotation direction contact portion and the second rotation direction contact portion into contact with each other. A robot origin setting method comprising: a direction origin setting step.
請求項1に記載のロボットの原点設定方法において、
前記軸方向原点設定工程は、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第1仮原点位置として取得する第1仮原点設定工程と、
前記第1仮原点設定工程の後、前記軸部材を所定角度だけ回転させ、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて、当該軸部材が停止した位置を第2仮原点位置として取得する第2仮原点設定工程と、
前記第1仮原点位置および前記第2仮原点位置のうち、予め定められている設定条件に基づき何れか一方の仮原点位置を軸方向原点位置として設定する本原点設定工程と、を含むことを特徴とするロボットの原点設定方法。
In the robot origin setting method according to claim 1,
In the axial direction origin setting step, the shaft member is moved in the axial direction so that the first axial contact portion and the second axial contact portion approach each other, and the axial member is stopped. A first provisional origin setting step for obtaining the first provisional origin position,
After the first temporary origin setting step, the shaft member is rotated by a predetermined angle, and the shaft member is moved to the shaft so that the first axial contact portion and the second axial contact portion approach each other. A second temporary origin setting step of acquiring the position where the shaft member is stopped as the second temporary origin position by moving in the direction;
A main origin setting step of setting one of the first temporary origin position and the second temporary origin position as an axial origin position based on a predetermined setting condition. Characteristic robot origin setting method.
請求項1に記載のロボットの原点設定方法において、
前記軸方向原点設定工程では、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を仮原点位置として取得する処理を、前記軸部材を所定角度だけ回転させながら複数回実行し、連続して取得した仮原点位置のうち、予め設定された複数の数だけ仮原点位置が同一となったときに、当該同一となる仮原点位置を軸方向原点位置として設定することを特徴とするロボットの原点設定方法。
In the robot origin setting method according to claim 1,
In the axial origin setting step, a position where the shaft member is stopped by moving the shaft member in the axial direction so that the first axial contact portion and the second axial contact portion approach each other. Is acquired as a temporary origin position by executing the shaft member a plurality of times while rotating the shaft member by a predetermined angle. The robot origin setting method is characterized in that the same provisional origin position is set as the axial origin position.
ベース部材と、このベース部材に対して軸方向の移動および軸心回りの回転を行う軸部材とを備えたロボットであって、
前記軸部材の軸方向の移動に伴い互いに前記軸方向に当接可能なように、前記軸部材に備えられる第1軸方向当接部および前記ベース部材に備えられる第2軸方向当接部と、
前記軸部材が前記軸方向の特定位置に配置された状態において当該軸部材が回転することにより、当該回転方向に互いに当接可能なように、前記軸部材に備えられる第1回転方向当接部および前記ベース部材に備えられる第2回転方向当接部と、
前記第1軸方向当接部と前記第2軸方向当接部とが前記軸方向に当接する位置を基準として予め定められた前記特定位置を記憶する記憶手段と、
前記軸部材の前記軸方向の移動および回転を制御する制御手段と、を備え、
前記制御手段は、前記軸部材を移動させ、前記第1軸方向当接部と前記第2軸方向当接部とを当接させることにより前記軸方向原点位置を設定する軸方向原点設定処理と、この軸方向原点設定処理において設定した軸方向原点位置に基づき、前記軸部材を前記特定位置に配置する軸移動処理と、前記特定位置に配置した前記軸部材を回転させて前記第1回転方向当接部と前記第2回転方向当接部とを当接させることにより、当該軸部材の回転方向原点位置を設定する回転方向原点設定処理と、を実行する、ことを特徴とするロボット。
A robot comprising a base member and a shaft member that performs axial movement and rotation around the axis with respect to the base member,
A first axial contact portion provided on the shaft member and a second axial contact portion provided on the base member so that the axial members can contact each other in the axial direction as the shaft member moves in the axial direction; ,
A first rotation direction contact portion provided in the shaft member so that the shaft member can be brought into contact with each other in the rotation direction by rotating the shaft member in a state where the shaft member is disposed at a specific position in the axial direction. And a second rotation direction contact portion provided in the base member,
Storage means for storing the specific position determined in advance on the basis of a position where the first axial contact portion and the second axial contact portion contact in the axial direction;
Control means for controlling movement and rotation of the shaft member in the axial direction,
The control means moves the shaft member and sets the axial origin position by setting the axial origin position by bringing the first axial contact portion and the second axial contact portion into contact with each other. Based on the axial origin position set in the axial origin setting process, the shaft movement process for arranging the shaft member at the specific position, and the first rotational direction by rotating the shaft member arranged at the specific position And a rotation direction origin setting process for setting a rotation direction origin position of the shaft member by bringing the contact part into contact with the second rotation direction contact part.
請求項4に記載のロボットにおいて、
前記軸方向原点設定処理は、
前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第1仮原点位置として取得する第1仮原点設定処理と、
前記第1仮原点設定処理の後、前記軸部材を所定角度だけ回転させ、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を第2仮原点位置として取得する第2仮原点設定処理と、
前記第1仮原点位置および前記第2仮原点位置のうち、予め定められている設定条件に基づき何れか一方の仮原点位置を軸方向原点位置として設定する本原点設定処理と、を含むことを特徴とするロボット。
The robot according to claim 4, wherein
The axial origin setting process is
The shaft member is moved in the axial direction so that the first axial contact portion and the second axial contact portion approach each other, and the position where the shaft member stops is acquired as the first temporary origin position. First temporary origin setting process to
After the first temporary origin setting process, the shaft member is rotated by a predetermined angle, and the shaft member is moved to the shaft so that the first axial contact portion and the second axial contact portion approach each other. A second temporary origin setting process for acquiring a position at which the shaft member is stopped by moving in the direction as a second temporary origin position;
A main origin setting process for setting one of the first temporary origin position and the second temporary origin position as an axial origin position based on a predetermined setting condition. Characteristic robot.
請求項4に記載のロボットにおいて、
前記軸方向原点設定処理は、前記第1軸方向当接部と前記第2軸方向当接部とが接近するように、前記軸部材を前記軸方向に移動させて当該軸部材が停止した位置を仮原点位置として取得する処理を、前記軸部材を所定角度だけ回転させながら複数回実行し、連続して取得した仮原点位置のうち、予め設定された複数の数だけ仮原点位置が同一となったときに、当該同一となる仮原点位置を軸方向原点位置として設定するものである、ことを特徴とするロボット。
The robot according to claim 4, wherein
In the axial origin setting process, the shaft member is moved in the axial direction so that the first axial contact portion and the second axial contact portion approach each other, and the axial member is stopped. Is acquired as a temporary origin position by executing the shaft member a plurality of times while rotating the shaft member by a predetermined angle. When this happens, the same temporary origin position is set as the axial origin position.
請求項4乃至6の何れか一項に記載のロボットにおいて、
前記軸部材は、前記第1軸方向当接部と前記第1回転方向当接部とが一体に備えられた鍔状の軸側当接部材を有する、ことを特徴とするロボット。
The robot according to any one of claims 4 to 6,
The robot according to claim 1, wherein the shaft member includes a bowl-shaped shaft side contact member in which the first axial direction contact portion and the first rotational direction contact portion are integrally provided.
請求項4乃至7の何れか一項に記載のロボットにおいて、
前記ベース部材は、前記第2軸方向当接部と前記第2回転方向当接部とが一体に備えられたベース側当接部材を有する、ことを特徴とするロボット。
The robot according to any one of claims 4 to 7,
The robot according to claim 1, wherein the base member includes a base side contact member in which the second axial direction contact portion and the second rotational direction contact portion are integrally provided.
請求項4に記載のロボットにおいて、
前記軸部材は、第1端部と第2端部とを有し、
前記第1軸方向当接部および前記第2軸方向当接部は、前記ベース部材のうち、前記第1端部の側に設けられ、
前記第1回転方向当接部および前記第2回転方向当接部は、前記ベース部材のうち、前記第2端部の側に設けられている、ことを特徴とするロボット。
The robot according to claim 4, wherein
The shaft member has a first end and a second end,
The first axial contact portion and the second axial contact portion are provided on the first end portion side of the base member,
The robot according to claim 1, wherein the first rotation direction contact portion and the second rotation direction contact portion are provided on the second end side of the base member.
請求項4に記載のロボットにおいて、
第1回転方向当接部および前記第2回転方向当接部のうち一方は、これら回転方向当接部同士が前記軸方向に互いに当接したときに弾性的に後退する、ことを特徴とするロボット。
The robot according to claim 4, wherein
One of the first rotational direction contact portion and the second rotational direction contact portion is elastically retracted when the rotational direction contact portions contact each other in the axial direction. robot.
JP2013215430A 2013-10-16 2013-10-16 Robot origin setting method and robot Active JP6117673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013215430A JP6117673B2 (en) 2013-10-16 2013-10-16 Robot origin setting method and robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013215430A JP6117673B2 (en) 2013-10-16 2013-10-16 Robot origin setting method and robot

Publications (2)

Publication Number Publication Date
JP2015077649A true JP2015077649A (en) 2015-04-23
JP6117673B2 JP6117673B2 (en) 2017-04-19

Family

ID=53009572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013215430A Active JP6117673B2 (en) 2013-10-16 2013-10-16 Robot origin setting method and robot

Country Status (1)

Country Link
JP (1) JP6117673B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020011374A (en) * 2018-07-04 2020-01-23 ファナック株式会社 Horizontal multi-joint robot
JP2020179443A (en) * 2019-04-24 2020-11-05 ファナック株式会社 Horizontal multi-joint robot
US10828781B2 (en) 2017-11-24 2020-11-10 Fanuc Corporation Calibration system and calibration method for horizontal articulated robot
JPWO2021044477A1 (en) * 2019-09-02 2021-03-11
JP2022031056A (en) * 2020-08-07 2022-02-18 株式会社ハアーモニー Switchgear opening/closing device and its control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175810A (en) * 1986-01-29 1987-08-01 Omron Tateisi Electronics Co Industrial robot controller
JPH11333777A (en) * 1998-05-29 1999-12-07 Daihen Corp Turning device
JP3268705B2 (en) * 1994-07-15 2002-03-25 キヤノン株式会社 Robot home search method
JP2005111576A (en) * 2003-10-03 2005-04-28 Matsushita Electric Ind Co Ltd Industrial robot
JP2012040637A (en) * 2010-08-18 2012-03-01 Iai:Kk Control device, industrial robot, method for reproducing coordinate system, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175810A (en) * 1986-01-29 1987-08-01 Omron Tateisi Electronics Co Industrial robot controller
JP3268705B2 (en) * 1994-07-15 2002-03-25 キヤノン株式会社 Robot home search method
JPH11333777A (en) * 1998-05-29 1999-12-07 Daihen Corp Turning device
JP2005111576A (en) * 2003-10-03 2005-04-28 Matsushita Electric Ind Co Ltd Industrial robot
JP2012040637A (en) * 2010-08-18 2012-03-01 Iai:Kk Control device, industrial robot, method for reproducing coordinate system, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10828781B2 (en) 2017-11-24 2020-11-10 Fanuc Corporation Calibration system and calibration method for horizontal articulated robot
JP2020011374A (en) * 2018-07-04 2020-01-23 ファナック株式会社 Horizontal multi-joint robot
JP2020179443A (en) * 2019-04-24 2020-11-05 ファナック株式会社 Horizontal multi-joint robot
JPWO2021044477A1 (en) * 2019-09-02 2021-03-11
WO2021044477A1 (en) * 2019-09-02 2021-03-11 ヤマハ発動機株式会社 Robot origin point setting device and method
JP7285937B2 (en) 2019-09-02 2023-06-02 ヤマハ発動機株式会社 Origin search device and method for robot
JP2022031056A (en) * 2020-08-07 2022-02-18 株式会社ハアーモニー Switchgear opening/closing device and its control method

Also Published As

Publication number Publication date
JP6117673B2 (en) 2017-04-19

Similar Documents

Publication Publication Date Title
JP6117673B2 (en) Robot origin setting method and robot
JP3961408B2 (en) Assembly method and apparatus
EP2808110B1 (en) Drilling apparatus and drilling method
CN106808464B (en) Vehicle production system and production method using cooperative robot
US20170190515A1 (en) Automatic assembly device and its control method
US11833687B2 (en) Robot apparatus, control method for the robot apparatus, assembly method using the robot apparatus, and recording medium
US10675757B2 (en) Positioning device and positioning method of processing tool
WO2021075031A1 (en) Multi-joint robot
CN110125312B (en) Automatic hole-making riveting control system and control method
EP1941970B1 (en) A method and a device for effecting automatic centering of an annular workpiece on a rotating surface
US20180333814A1 (en) Machine tool
US9061555B2 (en) Method and machine for automated tire and wheel assembly
JP4822558B2 (en) Home position return method of parallel mechanism
JP6154689B2 (en) Automatic screwing machine
JPWO2014126112A1 (en) Industrial robot and control method for industrial robot
US20170203371A1 (en) Numerical controller having cutting control function through turret rotation
KR20140062743A (en) Scara robot system for support welding and welding method thereof
CN101239441A (en) A method and a device for effecting automatic centering of an annular workpiece on a rotating surface
CN214921469U (en) Laser cutting machine
US10723023B2 (en) Control device and control method for controlling workpiece moving device and robot to operate in cooperation with each other
CN113853280B (en) Robot control device, robot, and robot control method
JP2006224218A (en) Multi-articulated robot
JP7285937B2 (en) Origin search device and method for robot
CN205765201U (en) Lathe feeding system
CN210147390U (en) Cylindrical magnet assembling mechanism

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160516

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170228

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170323

R150 Certificate of patent or registration of utility model

Ref document number: 6117673

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250