JP7006910B2 - Robot system - Google Patents
Robot system Download PDFInfo
- Publication number
- JP7006910B2 JP7006910B2 JP2017165589A JP2017165589A JP7006910B2 JP 7006910 B2 JP7006910 B2 JP 7006910B2 JP 2017165589 A JP2017165589 A JP 2017165589A JP 2017165589 A JP2017165589 A JP 2017165589A JP 7006910 B2 JP7006910 B2 JP 7006910B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- controller
- robot
- control unit
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Manipulator (AREA)
Description
本発明は、ロボットとロボットコントローラとの間で半二重通信を行うロボットシステムに関する。 The present invention relates to a robot system that performs half-duplex communication between a robot and a robot controller.
ロボットとコントローラとの接続線を減少させるために、接続を電源線だけにして、電力線搬送通信により通信を行うシステムが知られている。例えば、特許文献1には、操作装置側の第1制御部と、エンドエフェクタ側の第2制御部とが、電源ケーブルを用いた電力線搬送通信により通信を行う産業用ロボットが開示されている。
In order to reduce the number of connection lines between the robot and the controller, there is known a system in which only the power line is connected and communication is performed by power line carrier communication. For example,
図6は、2つのエンドエフェクタを備える産業用ロボットの概略を示すブロック図である。操作装置100の電源部110に接続する電源線300は、途中で分岐して、第1エンドエフェクタ200の電源部210、および、第2エンドエフェクタ250の電源部260に接続している。電源部110は、電源線300を介して、電源部210および電源部260に電力を供給する。操作装置100の通信部120は、電源線300を介した電力線搬送通信により、第1エンドエフェクタ200の通信部220、および、第2エンドエフェクタ250の通信部270と通信を行う。操作装置100の制御部130は、通信部120および通信部220を介して、制御部230に第1エンドエフェクタ200の操作信号を送信し、通信部120および通信部270を介して、制御部280に第2エンドエフェクタ250の操作信号を送信する。したがって、操作装置100と第1エンドエフェクタ200および第2エンドエフェクタ250との間を接続する接続線を削減することができる。
FIG. 6 is a block diagram illustrating an outline of an industrial robot having two end effectors. The
通信部120と各通信部220,270とは、送信および受信で同じ周波数帯を利用して、半二重通信を行う。通信部120と各通信部220,270とは、同じ電源線300を介して通信を行うので、通信信号の衝突が発生しうる。例えば、操作装置100が第1エンドエフェクタ200および第2エンドエフェクタ250に一斉通信で通信信号を送信した場合、何の対策もしていないと、第1エンドエフェクタ200および第2エンドエフェクタ250が受信した通信信号に対する返信信号を同時に送信するので、通信信号の衝突が発生する。通信信号の衝突を抑制するために、制御部130および各制御部230,280は、送信前に、衝突検知のためのランダムな時間(以下では、「衝突検知時間」とする)の経過を待ってから、通信信号の送信を行う。
The
図7は、図6に示す産業用ロボットにおける、例えば起動信号の送信時の通信シーケンスを説明するためのシーケンス図である。当該通信シーケンスでの通信の場合、操作装置100が起動信号を一斉に送信しても、第1エンドエフェクタ200および第2エンドエフェクタ250は、返信信号の送信時にそれぞれ衝突検知時間を設定して、衝突検知時間の経過を待ってから返信信号を送信する。図7では、第1エンドエフェクタ200が衝突検知時間t1を設定し、第2エンドエフェクタ250が衝突検知時間t2を設定して、それぞれ返信信号を送信している。衝突検知時間t1,t2は、それぞれランダムに設定されるので、同じ時間になることは少ない。また、返信信号の送信時に他からの返信信号が送信されていれば送信を遅らせる。したがって、通信信号の衝突を抑制することができる。
FIG. 7 is a sequence diagram for explaining, for example, a communication sequence at the time of transmission of an activation signal in the industrial robot shown in FIG. In the case of communication in the communication sequence, even if the
しかしながら、操作装置100、第1エンドエフェクタ200および第2エンドエフェクタ250が衝突検知時間の経過後に通信信号の送信を行うために、通信に時間がかかるという問題がある。また、この問題は、電力線搬送通信に限定されるものではなく、無線通信においても発生する。
However, there is a problem that communication takes time because the
本発明は、上記した事情のもとで考え出されたものであって、通信信号の衝突を防止し、かつ、通信の遅延を抑制することができるロボットシステムを提供することを目的としている。 The present invention has been devised under the above circumstances, and an object of the present invention is to provide a robot system capable of preventing collision of communication signals and suppressing communication delay.
本発明の第1の側面によって提供されるロボットシステムは、複数の駆動部を有するロボットと、前記ロボットを操作するロボットコントローラとを備えており、前記ロボットは、前記駆動部ごとに、対応する駆動部をそれぞれ制御する駆動コントローラを備えており、前記ロボットコントローラと前記駆動コントローラとは、半二重通信を行っており、前記ロボットコントローラは、複数の前記駆動コントローラに同じ通信信号を送信する際に、一斉送信を行わずに、複数の前記駆動コントローラのうちのいずれか1つに前記通信信号を送信し、送信先の駆動コントローラから返信信号を受信したときに、他の駆動コントローラに前記通信信号を送信し、前記ロボットコントローラおよび前記駆動コントローラは、衝突検知のためのランダムな時間である衝突検知時間の経過を待たずに信号の送信を行うことを特徴とする。この構成によると、ロボットコントローラは、複数の駆動コントローラに通信信号を一斉送信するのではなく、複数の駆動コントローラの1つずつに通信信号を送信し、送信先の駆動コントローラから返信信号を受信したときに、次の駆動コントローラに通信信号を送信する。したがって、通信信号の衝突を防止することができる。また、ロボットコントローラおよび駆動コントローラは衝突検知時間の経過を待たずに信号の送信を行う。したがって、通信にかかる時間を短縮することができ、通信の遅延を抑制することができる。 The robot system provided by the first aspect of the present invention includes a robot having a plurality of drive units and a robot controller for operating the robot, and the robot has a corresponding drive for each drive unit. A drive controller for controlling each unit is provided, and the robot controller and the drive controller perform half-duplex communication, and the robot controller transmits the same communication signal to a plurality of the drive controllers. , The communication signal is transmitted to any one of the plurality of drive controllers without performing simultaneous transmission, and when a reply signal is received from the destination drive controller, the communication signal is sent to the other drive controller. The robot controller and the drive controller transmit a signal without waiting for the lapse of a collision detection time, which is a random time for collision detection. According to this configuration, the robot controller does not transmit the communication signal to the plurality of drive controllers all at once, but transmits the communication signal to each of the plurality of drive controllers, and receives the reply signal from the destination drive controller. Occasionally, it sends a communication signal to the next drive controller. Therefore, it is possible to prevent collision of communication signals. Further, the robot controller and the drive controller transmit signals without waiting for the collision detection time to elapse. Therefore, the time required for communication can be shortened, and the delay in communication can be suppressed.
本発明の好ましい実施の形態においては、前記ロボットコントローラは、前記通信信号を送信した駆動コントローラから、所定時間内に返信信号を受信しない場合は、当該駆動コントローラに再度、前記通信信号を送信する。この構成によると、通信に失敗した場合に、返信信号の受信を待ち続けてしまうことを防止できる。 In a preferred embodiment of the present invention, if the robot controller does not receive a reply signal within a predetermined time from the drive controller that has transmitted the communication signal, the robot controller transmits the communication signal again to the drive controller. According to this configuration, when communication fails, it is possible to prevent the user from continuously waiting for the reply signal to be received.
本発明の好ましい実施の形態においては、前記ロボットコントローラは、前記駆動コントローラへの前記通信信号の再送信を所定回数行っても、返信信号を受信できなかった場合には、他の駆動コントローラに前記通信信号を送信する。この構成によると、通信の失敗に対する再送信を際限なく行うことを防止でき、通信時間が長くなることを抑制することができる。 In a preferred embodiment of the present invention, if the robot controller cannot receive a reply signal even after retransmitting the communication signal to the drive controller a predetermined number of times, the robot controller may send the communication signal to another drive controller. Send a communication signal. According to this configuration, it is possible to prevent endless retransmission in response to a communication failure, and it is possible to suppress an increase in communication time.
本発明の好ましい実施の形態においては、前記ロボットコントローラと前記駆動コントローラとは、電力線搬送通信を行う。この構成によると、通信専用の接続線を設ける必要がない。 In a preferred embodiment of the present invention, the robot controller and the drive controller perform power line carrier communication. According to this configuration, it is not necessary to provide a connection line dedicated to communication.
本発明の好ましい実施の形態においては、前記ロボットは、ワークの搬送を行う搬送ロボットである。この構成によると、ロボットコントローラと搬送ロボットとの通信において、通信信号の衝突を防止し、かつ、通信の遅延を抑制することができる。 In a preferred embodiment of the present invention, the robot is a transfer robot that transfers a work. According to this configuration, in the communication between the robot controller and the transport robot, it is possible to prevent collision of communication signals and suppress communication delay.
本発明によると、ロボットコントローラは、複数の駆動コントローラに通信信号を一斉送信するのではなく、複数の駆動コントローラの1つずつに通信信号を送信し、送信先の駆動コントローラから返信信号を受信したときに、次の駆動コントローラに通信信号を送信する。したがって、通信信号の衝突を防止することができる。また、ロボットコントローラおよび駆動コントローラは衝突検知時間の経過を待たずに信号の送信を行う。したがって、通信にかかる時間を短縮することができ、通信の遅延を抑制することができる。 According to the present invention, the robot controller does not transmit the communication signal to the plurality of drive controllers all at once, but transmits the communication signal to each of the plurality of drive controllers, and receives the reply signal from the destination drive controller. Occasionally, it sends a communication signal to the next drive controller. Therefore, it is possible to prevent collision of communication signals. Further, the robot controller and the drive controller transmit signals without waiting for the collision detection time to elapse. Therefore, the time required for communication can be shortened, and the delay in communication can be suppressed.
以下、本発明の好ましい実施の形態を、添付図面を参照して具体的に説明する。 Hereinafter, preferred embodiments of the present invention will be specifically described with reference to the accompanying drawings.
図1~図4は、第1実施形態に係る搬送ロボットシステムを説明するための図である。図1は、第1実施形態に係る搬送ロボットシステムの概略を示す全体外観図である。図2は、第1実施形態に係る搬送ロボットシステムの概略を示すブロック図である。図3は、第1実施形態に係る搬送ロボットシステムにおける通信シーケンスを説明するためのシーケンス図である。図4は、ロボットコントローラ1の制御部13が行う送信処理と、昇降コントローラ21の第1軸制御部213が行う受信処理とを説明するためのフローチャートである。
1 to 4 are diagrams for explaining the transfer robot system according to the first embodiment. FIG. 1 is an overall external view showing an outline of the transfer robot system according to the first embodiment. FIG. 2 is a block diagram showing an outline of the transfer robot system according to the first embodiment. FIG. 3 is a sequence diagram for explaining a communication sequence in the transfer robot system according to the first embodiment. FIG. 4 is a flowchart for explaining a transmission process performed by the
図1に示すように、搬送ロボットシステムA1は、搬送ロボット2、搬送ロボット2に電力を供給し、かつ、搬送ロボット2を操作するロボットコントローラ1、および、搬送ロボット2とロボットコントローラ1とを接続する電源線3を備えている。
As shown in FIG. 1, the transfer robot system A1 connects the
搬送ロボット2は、カセット内に多段収納された半導体基板などのワークを取り出したり、当該ワークをカセットに収納したりする作業を行うロボットである。図1に示すように、搬送ロボット2は、支持部4、旋回部5、第1アーム機構6、および第2アーム機構7を備えている。支持部4は、床面や真空チャンバに固定されており、旋回部5を昇降移動可能に、かつ、旋回可能に支持している。旋回部5は、支持部4の内部に配置されている。旋回部5は、支持部4の開口部から突出するようにして、昇降移動可能に設けられている。また、旋回部5は、支持部4に対して、鉛直方向の軸周りに旋回可能に設けられている。第1アーム機構6は、リンク機構であり、旋回部5に対して、鉛直方向に延びる軸周りに回動可能に設けられている下部アーム、下部アームの先端部分に対して、鉛直方向に延びる軸周りに回動可能に設けられている上部アーム、および、上部アームの先端部分に対して、鉛直方向に延びる軸周りに回動可能に設けられているハンドを備えている。下部アーム、上部アームおよびハンドがそれぞれ連動して回動することで、ハンドは所定の方向(図1においては左右方向)に移動する。第2アーム機構7も、第1アーム機構6と同様の構造である。第1アーム機構6と第2アーム機構7とは、それぞれ互いに独立して制御される。
The
搬送ロボット2は、旋回部5を旋回させることで各ハンドの移動する方向を変更し、旋回部5を昇降移動させることで各ハンドの鉛直方向の位置を変更し、第1アーム機構6の各部を回動させることで第1アーム機構6のハンドを移動させ、第2アーム機構7の各部を回動させることで第2アーム機構7のハンドを移動させる。搬送ロボット2は、これらの各動作によって、カセット内のワークを取り出したり、ワークをカセットに収納したりする。
The
旋回部5を昇降移動させるための駆動機構は、例えばボールねじ機構である。ボールねじ機構を駆動させる第1軸サーボモータ(図示なし)を制御することで、旋回部5の昇降位置が制御される。ボールねじ機構および第1軸サーボモータは、例えば支持部4に配置されている。旋回部5を旋回させるための駆動機構は、例えば歯車機構である。歯車機構を駆動させる第2軸サーボモータ(図示なし)を制御することで、旋回部5の旋回位置が制御される。歯車機構および第2軸サーボモータは、例えば支持部4に配置されている。第1アーム機構6を駆動させる第3軸サーボモータ(図示なし)を制御することで、第1アーム機構6のハンドの移動方向の位置が制御される。第3軸サーボモータは、例えば旋回部5に配置されている。第2アーム機構7を駆動させる第4軸サーボモータ(図示なし)を制御することで、第2アーム機構7のハンドの移動方向の位置が制御される。第4軸サーボモータは、例えば旋回部5に配置されている。
The drive mechanism for moving the
図2に示すように、搬送ロボット2は、昇降コントローラ21、旋回コントローラ22、第1アームコントローラ23、および第2アームコントローラ24を備えている。昇降コントローラ21は、第1軸サーボモータの近く(例えば支持部4)に配置され、第1軸サーボモータを制御する。昇降コントローラ21は、電源部211、通信部212および第1軸制御部213を備えている。電源部211は、第1軸制御部213に電力を供給する。通信部212は、ロボットコントローラ1の通信部12と通信を行う。第1軸制御部213は、第1軸サーボモータを制御するものであり、CPU、ROM、RAMおよび入出力インターフェイスなどを備えたマイクロコンピュータによって実現されている。旋回コントローラ22は、第2軸サーボモータの近く(例えば支持部4)に配置され、第2軸サーボモータを制御する。旋回コントローラ22は、電源部221、通信部222および第2軸制御部223を備えている。電源部221は、第2軸制御部223に電力を供給する。通信部222は、ロボットコントローラ1の通信部12と通信を行う。第2軸制御部223は、第2軸サーボモータを制御するものであり、マイクロコンピュータによって実現されている。
As shown in FIG. 2, the
第1アームコントローラ23は、第3軸サーボモータの近く(例えば旋回部5)に配置され、第3軸サーボモータを制御する。第1アームコントローラ23は、電源部231、通信部232および第3軸制御部233を備えている。電源部231は、第3軸制御部233に電力を供給する。通信部232は、ロボットコントローラ1の通信部12と通信を行う。第3軸制御部233は、第3軸サーボモータを制御するものであり、マイクロコンピュータによって実現されている。第2アームコントローラ24は、第4軸サーボモータの近く(例えば旋回部5)に配置され、第4軸サーボモータを制御する。第2アームコントローラ24は、電源部241、通信部242および第4軸制御部243を備えている。電源部241は、第4軸制御部243に電力を供給する。通信部242は、ロボットコントローラ1の通信部12と通信を行う。第4軸制御部243は、第4軸サーボモータを制御するものであり、マイクロコンピュータによって実現されている。なお、搬送ロボット2は、各サーボモータを駆動するための電力を供給するための電源部を備えているが、説明を省略する。当該電源部には、外部電源から直接電力を供給してもよいし、電源線3とは別に設けた電源線を介してロボットコントローラ1から供給するようにしてもよい。「第1軸サーボモータ」、「第2軸サーボモータ」、「第3軸サーボモータ」および「第4軸サーボモータ」が本発明の「駆動部」に相当し、「昇降コントローラ21」、「旋回コントローラ22」、「第1アームコントローラ23」および「第2アームコントローラ24」が本発明の「駆動コントローラ」に相当する。
The
第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243は、ロボットコントローラ1から入力される制御信号に応じて、それぞれ、第1軸サーボモータ、第2軸サーボモータ、第3軸サーボモータおよび第4軸サーボモータを駆動させ、各サーボモータの回動位置を検出するエンコーダの検出信号を、それぞれ、通信部212,222,232,242に出力して送信させる。また、ロボットコントローラ1から入力される信号に対する返信信号や、データ送信指令に対応するデータを送信させる。
The 1st
図2に示すように、ロボットコントローラ1は、電源部11、通信部12および制御部13を備えている。電源部11は、外部電源から供給される電圧を所定の電圧に変換して、制御部13に供給する。また、電源部11は、電源線3を介して、搬送ロボット2にも電力を供給する。電源線3は搬送ロボット2の内部で分岐して、各電源部211,221,231,241に接続されている。これにより、電源部11は、搬送ロボット2の各コントローラ21~24の電源部211,221,231,241に電力を供給する。
As shown in FIG. 2, the
通信部12は、搬送ロボット2の各通信部212,222,232,242と通信を行う。通信部12と、搬送ロボット2の各通信部212,222,232,242とは、電源線3を介した電力線搬送通信を行う。通信部12は、制御部13より入力される信号を変調して電源線3に重畳させることで、搬送ロボット2に信号を送信する。また、通信部12は、電源線3に重畳された信号を受信し、復調して制御部13に出力する。搬送ロボット2の各通信部212,222,232,242も同様にして、それぞれ、第1軸制御部213、第2軸制御部223、第3軸制御部233、第4軸制御部243より入力される信号を送信し、受信した信号を出力する。通信部12と各通信部212,222,232,242とは、電源線3を介して、同じ周波数帯を利用する半二重通信を行う。
The
制御部13は、ロボットコントローラ1を制御するものであり、マイクロコンピュータによって実現されている。制御部13は、ROMに予め記憶された制御プログラムを実行することにより、ロボットコントローラ1を制御する。また、制御部13は、あらかじめ設定されている処理手順に従って搬送ロボット2を動作させるために、通信部12を介して、搬送ロボット2と信号の送受信を行う。具体的には、制御部13は、第1軸サーボモータ、第2軸サーボモータ、第3軸サーボモータおよび第4軸サーボモータを駆動させるための制御信号を、通信部12を介して、搬送ロボット2に送信する。そして、各エンコーダによって検出された検出信号を受信して、搬送ロボット2の状態を認識する。また、制御部13は、搬送ロボットシステムA1の起動時に、第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243を制御するためのプログラムやデータを送信し、起動信号を送信する。また、制御部13は、第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243に設定する初期パラメータをそれぞれ個別に送信する。また、制御部13は、搬送ロボットシステムA1の作業終了時に、終了信号を送信する。そして、データ送信指令を送信して、第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243が送信したデータを受信する。
The
本実施形態において、制御部13は、通信を行う際、衝突検知時間を設定せず、衝突検知時間の経過を待たずに、通信部12に通信信号を出力して、送信させる。また、制御部13は、各コントローラ21~24に同じ通信信号を送信する場合でも、各コントローラ21~24に一斉に通信信号を送信することはしない。この場合、制御部13は、いずれか1つのコントローラ(21,22,23,24)に通信信号を送信し、これに対しての返信信号を受信してから、別のコントローラ(21,22,23,24)に同じ通信信号を送信する。また、第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243も、制御部13と同様、通信を行う際、衝突検知時間を設定せず、衝突検知時間の経過を待たずに、それぞれ通信部212,222,232,242に通信信号を出力して、送信させる。第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243は、ロボットコントローラ1から通信信号を受信した場合、受信した通信信号に対応する処理を行って、すぐに返信信号を送信する。
In the present embodiment, the
つまり、ロボットコントローラ1と、昇降コントローラ21、旋回コントローラ22、第1アームコントローラ23、および第2アームコントローラ24との通信シーケンスは、図3のようになっている。
That is, the communication sequence between the
図3に示すように、当該通信シーケンスでは、ロボットコントローラ1は、例えば昇降コントローラ21に通信信号を送信して、昇降コントローラ21からの返信信号を受信してから、旋回コントローラ22に通信信号を送信する。そして、旋回コントローラ22からの返信信号を受信してから、第1アームコントローラ23に通信信号を送信し、第1アームコントローラ23からの返信信号を受信してから、第2アームコントローラ24に通信信号を送信する。したがって、通信信号の衝突は発生しない。また、各コントローラ21~24は、衝突検知時間を設定せず、すぐに返信信号を送信するので、受信から送信までの時間が短い。同様に、ロボットコントローラ1も、衝突検知時間を設定せず、すぐに次の通信信号を送信するので、受信から送信までの時間が短い。したがって、通信にかかる時間を短縮し、通信の遅延を抑制することができる。
As shown in FIG. 3, in the communication sequence, the
搬送ロボットシステムA1は、ロボットコントローラ1が、各コントローラ21~24にそれぞれ設定する初期パラメータを送信する場合や、搬送ロボット2の動作のために、各サーボモータを駆動させるための制御信号を送信する場合だけでなく、ロボットコントローラ1が各コントローラ21~24に同じ通信信号を送信する場合でも、当該通信シーケンスで通信を行う。ロボットコントローラ1が各コントローラ21~24に同じ通信信号を送信する場合というのは、例えば、起動時に、サーボモータを制御するためのプログラムやデータを送信する場合や、起動信号を送信する場合、搬送ロボットシステムA1の作業終了時に、終了信号を送信する場合などがある。
The transfer robot system A1 transmits a control signal for driving each servomotor for the operation of the
次に、通信処理の処理手順について、図4に示すフローチャートを参照して説明する。 Next, the processing procedure of the communication processing will be described with reference to the flowchart shown in FIG.
図4は、ロボットコントローラ1の制御部13が行う送信処理と、昇降コントローラ21の第1軸制御部213が行う受信処理とを説明するためのフローチャートである。旋回コントローラ22の第2軸制御部223、第1アームコントローラ23の第3軸制御部233、および第2アームコントローラ24の第4軸制御部243が行う受信処理は、昇降コントローラ21の第1軸制御部213が行う受信処理と同様である。
FIG. 4 is a flowchart for explaining a transmission process performed by the
制御部13が行う送信処理は、ロボットコントローラ1が搬送ロボット2に通信信号を送信するとき、例えば、起動時のプログラムやデータの送信、起動信号の送信、初期パラメータの送信、各サーボモータを駆動させるための制御信号の送信、作業終了時の終了信号やデータ送信指令の送信などのときに実行される。
The transmission process performed by the
まず、送信する通信信号に応じた準備が行われる(S1)。また、送信先を示す変数Nに初期値「1」が設定され、送信のリトライ回数を示す変数Rに初期値「0」が設定される。次に、第N軸制御部に通信信号が送信される(S2)。具体的には、制御部13は、第N軸制御部を受け取り対象に設定して、通信部12に通信信号を出力し、通信部12に送信させる。このとき、制御部13は、衝突検知時間を設定することなく、すぐに通信信号を送信させる。次に、第N軸制御部から返信信号を受信したか否かが判別される(S3)。返信信号を受信していない場合(S3:NO)、通信信号の送信時から計時されている時間が所定時間を経過したか否かが判別される(S4)。所定時間は適宜設定されている。所定時間を経過していない場合(S4:NO)、ステップS3に戻る。そして、返信信号を受信する(S3:YES)か、所定時間を経過する(S4:YES)まで、ステップS3,S4の判別が繰り返される。
First, preparations are made according to the communication signal to be transmitted (S1). Further, the initial value "1" is set in the variable N indicating the transmission destination, and the initial value "0" is set in the variable R indicating the number of transmission retries. Next, a communication signal is transmitted to the N-axis control unit (S2). Specifically, the
ステップS4において、所定時間を経過した場合(S4:YES)、通信が失敗したと判断され、送信のリトライ回数を示す変数Rが「2」であるか否かが判別される(S5)。すなわち、第N軸制御部への送信のリトライを2回したか否かが判別される。変数Rが「2」でない場合(S5:NO)、すなわち、まだリトライをしていない(R=0)か、リトライが1回目(R=1)である場合、変数Rを「1」増加させて(S6)、ステップS2に戻って、第N軸制御部への送信のリトライが行われる。変数Rが「2」の場合(S5:YES)、すなわち、リトライが2回目(R=2)である場合、第N軸制御部への送信は中止して、ステップS8に進む。この場合、第N軸制御部への送信を中止した回数がカウントされる。所定の期間にこのカウントが例えば3回あった場合は、通信に異常があると判定され、通信異常に対応するための処理が行われる。なお、本実施形態では、リトライを2回行う場合について記載しているが、リトライを行う回数は限定されない。リトライを行う回数は1回だけでもよいし、3回以上としてもよい。また、リトライを行わず、1度通信を失敗すれば当該送信を中止するようにしてもよい。また、所定時間の経過を判別せず、返信信号を受信するまで、ステップS3を繰り返すようにしてもよい。 In step S4, when the predetermined time has elapsed (S4: YES), it is determined that the communication has failed, and it is determined whether or not the variable R indicating the number of retry times of transmission is “2” (S5). That is, it is determined whether or not the transmission to the N-axis control unit has been retried twice. When the variable R is not "2" (S5: NO), that is, when the retry has not been performed yet (R = 0) or the retry is the first time (R = 1), the variable R is incremented by "1". (S6), the process returns to step S2, and the transmission to the N-axis control unit is retried. When the variable R is "2" (S5: YES), that is, when the retry is the second time (R = 2), the transmission to the N-axis control unit is stopped, and the process proceeds to step S8. In this case, the number of times the transmission to the N-axis control unit is stopped is counted. When this count is performed, for example, three times in a predetermined period, it is determined that there is an abnormality in communication, and processing for dealing with the communication abnormality is performed. In this embodiment, the case where the retry is performed twice is described, but the number of times the retry is performed is not limited. The number of retries may be only once or may be three or more. Further, the transmission may be stopped if the communication fails once without retrying. Further, step S3 may be repeated until a reply signal is received without determining the passage of a predetermined time.
ステップS3において、返信信号を受信した場合(S3:YES)、第N軸制御部への送信が成功したと判断され、返信信号に対応した処理が行われる(S7)。例えば、返信信号が、サーボモータを駆動させるための制御信号に対するエンコーダによる検出信号である場合は、当該検出信号が制御にフィードバックされる。また、返信信号が、データ送信指令に対して読み出されたデータである場合は、当該データは図示しない記憶部に記憶される。そして、送信先を示す変数Nが「4」であるか否かが判別される(S8)。変数Nと比較される数値は、送信先の数に応じて設定される。本実施形態では、送信先が第1軸制御部213、第2軸制御部223、第3軸制御部233および第4軸制御部243の4つなので、変数Nが「4」と比較される。変数Nが「4」でない場合(S8:NO)、すなわち、まだすべての送信先に送信を行っていない場合、変数Nを「1」増加させて(S9)、ステップS2に戻って、第N軸制御部への送信が行われる。このとき、リトライ回数を示す変数Rは初期値「0」に戻される。変数Nが「4」の場合(S8:YES)、すなわち、すべての送信先に送信を行った場合、送信処理は終了される。
When the reply signal is received in step S3 (S3: YES), it is determined that the transmission to the N-axis control unit is successful, and the process corresponding to the reply signal is performed (S7). For example, when the reply signal is a detection signal by the encoder for the control signal for driving the servomotor, the detection signal is fed back to the control. When the reply signal is the data read in response to the data transmission command, the data is stored in a storage unit (not shown). Then, it is determined whether or not the variable N indicating the destination is "4" (S8). The numerical value to be compared with the variable N is set according to the number of destinations. In the present embodiment, since there are four transmission destinations, the first
第1軸制御部213が行う受信処理は、搬送ロボットシステムA1が起動されたときに開始される。
The reception process performed by the first
まず、制御部13から通信信号を受信したか否かが判別される(S21)。通信信号を受信していない場合(S21:NO)、ステップS21に戻って、通信信号を受信するまで、ステップS21の判別が繰り返される。通信信号を受信した場合(S21:YES)、当該通信信号に対応した処理が行われる(S22)。例えば、受信した通信信号がサーボモータを駆動させるための制御信号の場合は、第1軸制御部213は、当該制御信号に応じて第1軸サーボモータを駆動させ、エンコーダによって第1軸サーボモータの回動位置を検出する。また、受信した通信信号がデータ送信指令の場合は、第1軸制御部213は、当該データ送信指令に応じたデータを読み出す。そして、制御部13に返信信号が送信されて(S23)、ステップS21に戻る。このとき、第1軸制御部213は、衝突検知時間を設定することなく、すぐに返信信号を送信する。第1軸制御部213が受信した通信信号がサーボモータを駆動させるための制御信号の場合は、エンコーダによる検出信号が返信信号として送信される。また、第1軸制御部213が受信した通信信号がデータ送信指令の場合は、読み出されたデータが返信信号として送信される。
First, it is determined whether or not a communication signal has been received from the control unit 13 (S21). If the communication signal has not been received (S21: NO), the process returns to step S21, and the determination in step S21 is repeated until the communication signal is received. When a communication signal is received (S21: YES), processing corresponding to the communication signal is performed (S22). For example, when the received communication signal is a control signal for driving the servomotor, the first
なお、図4のフローチャートに示す通信処理は一例であって、制御部13が行う送信処理、および、第1軸制御部213が行う受信処理は、上述したものに限定されない。
The communication process shown in the flowchart of FIG. 4 is an example, and the transmission process performed by the
次に、本実施形態に係る搬送ロボットシステムA1の作用および効果について説明する。 Next, the operation and effect of the transfer robot system A1 according to the present embodiment will be described.
本実施形態によると、制御部13は、各コントローラ21~24に通信信号を送信する場合、いずれか1つのコントローラ(21,22,23,24)に通信信号を送信し、これに対しての返信信号を受信してから、別のコントローラ(21,22,23,24)に通信信号を送信する。したがって、通信信号の衝突を防止することができる。また、通信信号の衝突が発生しないので、衝突検知時間を設定する必要がない。制御部13、第1軸制御部213、第2軸制御部223、第3軸制御部233、および第4軸制御部243は、通信を行う際、衝突検知時間を設定せず、衝突検知時間の経過を待たずにすぐに送信を行う。したがって、通信にかかる時間を短縮することができ、通信の遅延を抑制することができる。なお、制御部13は一斉送信を行わずに、各コントローラ21~24に通信信号をそれぞれ送信するが、通信信号の送信から返信信号の受信までにかかる時間は、衝突検知時間と比べて短いので、4回の送受信を行っても、衝突検知時間の経過を待つ場合よりも短い時間で通信を行うことができる。
According to the present embodiment, when the
各サーボモータを駆動させるための制御信号、および、エンコーダによる検出信号の送信時にも、衝突検知時間の経過を待たないので、搬送ロボット2の動作を、滑らかにすることができる。搬送ロボット2の1つの動作のためには、制御部13から第1軸制御部213への制御信号の送信、第1軸制御部213から制御部13への検出信号の送信、制御部13から第2軸制御部223への制御信号の送信、第2軸制御部223から制御部13への検出信号の送信、制御部13から第3軸制御部233への制御信号の送信、第3軸制御部233から制御部13への検出信号の送信、制御部13から第4軸制御部243への制御信号の送信、および、第4軸制御部243から制御部13への検出信号の送信の8回の通信が必要になる。発明者らの実験によると、1つの動作のための通信時間を、衝突検知を行う場合と比べて、約20%短縮することができた。これにより、搬送ロボット2を滑らかに動作させることができるようになった。
Since the collision detection time does not wait even when the control signal for driving each servomotor and the detection signal by the encoder are transmitted, the operation of the
本実施形態によると、制御部13は、第N軸制御部(N=1,2,3,4)に通信信号を送信したときに、返信信号が受信されない状態が所定時間経過した場合、再度通信信号を送信する。これにより、通信が失敗したときに、返信信号の受信を待ち続けてしまうことを防止できる。また、本実施形態によると、制御部13は、第N軸制御部への送信のリトライを2回しても、返信信号を受信できなかった場合には、第N軸制御部への送信は中止して、他の第N軸制御部への送信を開始する。これにより、送信のリトライを際限なく行うことを防止でき、通信時間が長くなることを抑制することができる。
According to the present embodiment, when the
本実施形態においては、搬送ロボット2が4個のサーボモータを備えている場合について説明したが、これに限られない。2個または3個であってもよいし、5個以上であってもよい。また、本実施形態においては、ロボットコントローラ1が搬送ロボット2のサーボモータを制御するコントローラと通信を行う場合について説明したが、これに限られない。搬送ロボット2の各ハンドは、例えば、ワークを保持するための保持機構や、ワークを検出するためのセンサを備えている。各ハンドに、当該保持機構を制御したり、当該センサの検出信号を送信するためのコントローラを設けて、ロボットコントローラ1が当該コントローラとも通信を行うようにしてもよい。
In the present embodiment, the case where the
上記第1実施形態においては、電力線搬送通信を行う場合について説明したが、これに限られない。無線通信を行う場合を、第2実施形態として以下に説明する。 In the first embodiment described above, the case of performing power line carrier communication has been described, but the present invention is not limited to this. A case of performing wireless communication will be described below as a second embodiment.
図5は、第2実施形態に係る搬送ロボットシステムA2の概略を示すブロック図である。図5において、第1実施形態に係る搬送ロボットシステムA1(図2参照)と同一または類似の要素には、同一の符号を付している。図5に示すように、搬送ロボットシステムA2は、各通信部12,212,222,232,242が、電力線搬送通信を行うのではなく、無線通信を行う点で、第1実施形態に係る搬送ロボットシステムA1と異なる。第2実施形態においても、第1実施形態と同様の効果を奏することができる。
FIG. 5 is a block diagram showing an outline of the transfer robot system A2 according to the second embodiment. In FIG. 5, the same or similar elements as those of the transfer robot system A1 (see FIG. 2) according to the first embodiment are designated by the same reference numerals. As shown in FIG. 5, in the transfer robot system A2, the transfer according to the first embodiment is in that each
上記第1または第2実施形態においては、本発明に係るロボットシステムを搬送ロボットシステムとした場合について説明したが、これに限られない。本発明に係るロボットシステムは、例えば溶接ロボットシステムなどの他のロボットシステムであってもよい。本発明は、ロボットとロボットを操作するロボットコントローラとを備えたロボットシステムにおいて、ロボットの各部とロボットコントローラとが半二重通信を行う場合に、適用することができる。 In the first or second embodiment, the case where the robot system according to the present invention is a transfer robot system has been described, but the present invention is not limited to this. The robot system according to the present invention may be another robot system such as a welding robot system. The present invention can be applied in a robot system including a robot and a robot controller for operating the robot, when each part of the robot and the robot controller perform half-duplex communication.
本発明に係るロボットシステムは、上述した実施形態に限定されるものではない。本発明に係るロボットシステムの各部の具体的な構成は、種々に設計変更自在である。 The robot system according to the present invention is not limited to the above-described embodiment. The specific configuration of each part of the robot system according to the present invention can be freely redesigned.
A1,A2 :搬送ロボットシステム
1 :ロボットコントローラ
11 :電源部
12 :通信部
13 :制御部
2 :搬送ロボット
21 :昇降コントローラ(駆動コントローラ)
211 :電源部
212 :通信部
213 :第1軸制御部
22 :旋回コントローラ(駆動コントローラ)
221 :電源部
222 :通信部
223 :第2軸制御部
23 :第1アームコントローラ(駆動コントローラ)
231 :電源部
232 :通信部
233 :第3軸制御部
24 :第2アームコントローラ(駆動コントローラ)
241 :電源部
242 :通信部
243 :第4軸制御部
4 :支持部
5 :旋回部
6 :第1アーム機構
7 :第2アーム機構
3 :電源線
A1, A2: Transfer robot system 1: Robot controller 11: Power supply unit 12: Communication unit 13: Control unit 2: Transfer robot 21: Elevating controller (drive controller)
211: Power supply unit 212: Communication unit 213: First axis control unit 22: Swing controller (drive controller)
221: Power supply unit 222: Communication unit 223: 2nd axis control unit 23: 1st arm controller (drive controller)
231: Power supply unit 232: Communication unit 233: Third axis control unit 24: Second arm controller (drive controller)
241: Power supply unit 242: Communication unit 243: Fourth axis control unit 4: Support unit 5: Swirling unit 6: First arm mechanism 7: Second arm mechanism 3: Power supply line
Claims (3)
前記ロボットは、前記駆動部ごとに、対応する駆動部をそれぞれ制御する駆動コントローラを備えており、
前記ロボットコントローラと前記駆動コントローラとは、半二重通信を行っており、
前記ロボットコントローラは、複数の前記駆動コントローラに同じ通信信号を送信する際に、一斉送信を行わずに、複数の前記駆動コントローラのうちのいずれか1つに前記通信信号を送信し、送信先の駆動コントローラから返信信号を受信したときに、他の駆動コントローラに前記通信信号を送信し、
前記ロボットコントローラおよび前記駆動コントローラは、衝突検知のためのランダムな時間である衝突検知時間の経過を待たずに信号の送信を行い、
前記ロボットコントローラは、前記通信信号を送信した駆動コントローラから、所定時間内に返信信号を受信しない場合は、当該駆動コントローラに再度、前記通信信号を送信し、当該駆動コントローラへの前記通信信号の再送信を所定回数行っても、返信信号を受信できなかった場合には、通信時間を抑制するために、当該駆動コントローラへの前記通信信号の再送信を一時的に中止する、
ことを特徴とするロボットシステム。 It is equipped with a robot having a plurality of drive units and a robot controller for operating the robot.
The robot is provided with a drive controller that controls the corresponding drive unit for each drive unit.
The robot controller and the drive controller perform half-duplex communication, and the robot controller and the drive controller perform half-duplex communication.
When the robot controller transmits the same communication signal to the plurality of drive controllers, the robot controller transmits the communication signal to any one of the plurality of drive controllers without performing simultaneous transmission, and the transmission destination When the reply signal is received from the drive controller, the communication signal is transmitted to another drive controller.
The robot controller and the drive controller transmit signals without waiting for the lapse of the collision detection time, which is a random time for collision detection .
If the robot controller does not receive a reply signal from the drive controller that has transmitted the communication signal within a predetermined time, the robot controller transmits the communication signal again to the drive controller, and the communication signal is re-transmitted to the drive controller. If the reply signal cannot be received even after performing the transmission a predetermined number of times, the re-transmission of the communication signal to the drive controller is temporarily stopped in order to suppress the communication time.
A robot system characterized by that.
請求項1に記載のロボットシステム。 The robot controller and the drive controller perform power line carrier communication.
The robot system according to claim 1 .
請求項1または2に記載のロボットシステム。 The robot is a transfer robot that conveys a work.
The robot system according to claim 1 or 2 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017165589A JP7006910B2 (en) | 2017-08-30 | 2017-08-30 | Robot system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017165589A JP7006910B2 (en) | 2017-08-30 | 2017-08-30 | Robot system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019042824A JP2019042824A (en) | 2019-03-22 |
JP7006910B2 true JP7006910B2 (en) | 2022-01-24 |
Family
ID=65815261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017165589A Active JP7006910B2 (en) | 2017-08-30 | 2017-08-30 | Robot system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7006910B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001077733A (en) | 1999-09-03 | 2001-03-23 | Japan Science & Technology Corp | Transmitter and receiver for ac power and information signal |
JP2002143254A (en) | 2000-11-09 | 2002-05-21 | Omron Corp | Massaging machine |
JP2002301684A (en) | 2001-04-03 | 2002-10-15 | Sony Corp | Leg type mobile robot and information transmitting device for the same |
JP2015093329A (en) | 2013-11-08 | 2015-05-18 | 三菱重工業株式会社 | Manipulator |
WO2017002340A1 (en) | 2015-07-02 | 2017-01-05 | 株式会社アルバック | Non-contact power supply system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06131274A (en) * | 1992-10-22 | 1994-05-13 | Fanuc Ltd | Communication control system |
JPH08149146A (en) * | 1994-11-21 | 1996-06-07 | Fanuc Ltd | Grouped communication method |
JP3520364B2 (en) * | 1997-09-10 | 2004-04-19 | 日立ビアメカニクス株式会社 | Data communication method between multiple systems |
KR20130010183A (en) * | 2011-07-18 | 2013-01-28 | 대우조선해양 주식회사 | Robot system using power line communication |
-
2017
- 2017-08-30 JP JP2017165589A patent/JP7006910B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001077733A (en) | 1999-09-03 | 2001-03-23 | Japan Science & Technology Corp | Transmitter and receiver for ac power and information signal |
JP2002143254A (en) | 2000-11-09 | 2002-05-21 | Omron Corp | Massaging machine |
JP2002301684A (en) | 2001-04-03 | 2002-10-15 | Sony Corp | Leg type mobile robot and information transmitting device for the same |
JP2015093329A (en) | 2013-11-08 | 2015-05-18 | 三菱重工業株式会社 | Manipulator |
WO2017002340A1 (en) | 2015-07-02 | 2017-01-05 | 株式会社アルバック | Non-contact power supply system |
Also Published As
Publication number | Publication date |
---|---|
JP2019042824A (en) | 2019-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4081747B2 (en) | Robot drive control method and apparatus | |
KR102039077B1 (en) | Remote control robot system and its operation method | |
JP5849403B2 (en) | Robot controller, robot, and robot system | |
JP4544145B2 (en) | Robot interference avoidance method and robot | |
US20150120058A1 (en) | Robot, robot system, and robot control apparatus | |
EP3238883B1 (en) | Robot | |
WO2017150551A1 (en) | Substrate conveyance device, and method for teaching substrate conveyance robot | |
CN111687819A (en) | Work tool for gripping workpiece including connector, and robot device provided with work tool | |
JP6821374B2 (en) | Robot system and its operation method | |
JP6863942B2 (en) | Robot system with feeder | |
JP6703018B2 (en) | Work robot system | |
US10328582B2 (en) | Process system including robot that transfers workpiece to process machine | |
KR101144102B1 (en) | Charging System and Method for Mobile Robot | |
JP2018015854A (en) | Robot, robot control device, robot system, and control method | |
WO2016147592A1 (en) | Robot, method for controlling robot, workpiece attachment method, and workpiece feed method | |
WO2018066601A1 (en) | Robot system and operation method therefor | |
JP7006910B2 (en) | Robot system | |
US11887880B2 (en) | Material handling robot | |
JP6881525B2 (en) | Robot system, controller and control method | |
JP2017007010A (en) | Robot, control device, and robot system | |
JP7006902B2 (en) | Robot system | |
TWI755458B (en) | Transfer system | |
WO2022137918A1 (en) | Wafer jig, robot system, communication method, and robot teaching method | |
JP4664322B2 (en) | Robot equipment | |
JP2009039815A (en) | Power assist device and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200528 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210324 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210406 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210603 |
|
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: 20211207 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211224 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7006910 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |