JP7367749B2 - Emergency stop switch and robot system - Google Patents

Emergency stop switch and robot system Download PDF

Info

Publication number
JP7367749B2
JP7367749B2 JP2021208215A JP2021208215A JP7367749B2 JP 7367749 B2 JP7367749 B2 JP 7367749B2 JP 2021208215 A JP2021208215 A JP 2021208215A JP 2021208215 A JP2021208215 A JP 2021208215A JP 7367749 B2 JP7367749 B2 JP 7367749B2
Authority
JP
Japan
Prior art keywords
emergency stop
identification code
mobile terminal
stop switch
robot
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
Application number
JP2021208215A
Other languages
Japanese (ja)
Other versions
JP2022028062A (en
JP2022028062A5 (en
Inventor
豊 本田
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2021208215A priority Critical patent/JP7367749B2/en
Publication of JP2022028062A publication Critical patent/JP2022028062A/en
Publication of JP2022028062A5 publication Critical patent/JP2022028062A5/ja
Application granted granted Critical
Publication of JP7367749B2 publication Critical patent/JP7367749B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Manipulator (AREA)
  • Safety Devices In Control Systems (AREA)

Description

本発明の実施形態は、非常停止スイッチ、及びロボットシステムに関する。 Embodiments of the present invention relate to an emergency stop switch and a robot system.

ISO10218等のロボットの安全規格によれば、ロボットの教示操作を行うための操作装置には、手動で始動可能な非常停止スイッチを設ける必要がある旨が定められている。そのため、いわゆるティーチングペンダントと称される従来の操作装置には、教示操作に用いるスイッチ等とは別に、手動で始動可能な機械式の非常停止スイッチが設けられている。 According to robot safety standards such as ISO 10218, it is stipulated that an operating device for teaching a robot must be equipped with an emergency stop switch that can be started manually. Therefore, a conventional operating device called a teaching pendant is provided with a mechanical emergency stop switch that can be started manually, in addition to a switch used for teaching operations.

一方、近年、従来のティーチングペンダントに代えて、操作装置としていわゆるスマートフォンやタブレット等の高機能携帯端末を用いることが行われている。このような携帯端末は、汎用品であってロボットの教示操作専用に設計されたものではないため、非常停止スイッチを備えていない。そのため、このような携帯端末をロボットの操作装置として使用するために、携帯端末に後から装着可能な非常停止スイッチが考えられている。そして、このような非常停止スイッチにおいては、安全性の面から、携帯端末をロボットの操作装置として使用するときに携帯端末に確実に装着されていることが重要である。 On the other hand, in recent years, high-performance mobile terminals such as so-called smartphones and tablets have been used as operating devices in place of conventional teaching pendants. Such mobile terminals are general-purpose products and are not designed exclusively for teaching operations of robots, and therefore are not equipped with an emergency stop switch. Therefore, in order to use such a mobile terminal as an operating device for a robot, an emergency stop switch that can be attached to the mobile terminal later is being considered. From the viewpoint of safety, it is important for such an emergency stop switch to be securely attached to the mobile terminal when the mobile terminal is used as a robot operating device.

特開2018-72882号公報JP2018-72882A

本発明は上記事情を鑑みてなされたものであり、その目的は、スマートフォンやタブレット装置等の携帯端末をロボットの操作装置として使用する場合にその携帯端末に確実に装着されているようにすることができる非常停止スイッチ、及びその非常停止スイッチを用いたロボットシステムを提供することにある。 The present invention has been made in view of the above circumstances, and its purpose is to ensure that a mobile terminal such as a smartphone or a tablet device is attached to the mobile terminal when the mobile terminal is used as a robot operating device. An object of the present invention is to provide an emergency stop switch that can perform the following actions, and a robot system using the emergency stop switch.

実施形態の非常停止スイッチは、ロボットの駆動を制御するロボットコントローラに有線接続されユーザの操作を受けて前記ロボットコントローラの制御を非常停止状態に切り替えるスイッチ本体部と、ユーザの操作を受け付ける携帯端末に対して前記スイッチ本体部を着脱可能に取り付ける取付部と、前記取付部を前記携帯端末に取り付けた場合に前記携帯端末が備えるカメラのレンズに対向する位置に設けられ、前記スイッチ本体部を識別する識別コードを前記カメラで撮影可能な態様で表示する識別コード部と、を備える。 The emergency stop switch of the embodiment includes a switch body that is connected by wire to a robot controller that controls the drive of the robot and switches the control of the robot controller to an emergency stop state in response to a user's operation, and a mobile terminal that accepts the user's operation. a mounting part for removably attaching the switch body; and a mounting part provided at a position facing a lens of a camera included in the mobile terminal when the mounting part is attached to the mobile terminal, for identifying the switch main body. and an identification code section that displays the identification code in a manner that can be photographed by the camera.

これによれば、ユーザは、取付部によって、非常停止スイッチのスイッチ本体部をスマートフォンやタブレット端末等の携帯端末に着脱可能に容易に取り付けることができる。そして、取付部を携帯端末に取り付けた場合、携帯端末が備えるカメラのレンズに対向する位置には、識別コード部が位置する。すなわち、携帯端末のカメラで撮影した画像内に識別コード部が含まれていないということは、非常停止スイッチが携帯端末に正しく装着されていないことを意味する。 According to this, the user can easily detachably attach the switch body of the emergency stop switch to a mobile terminal such as a smartphone or a tablet terminal using the attaching part. When the attachment part is attached to the mobile terminal, the identification code part is located at a position facing the lens of the camera included in the mobile terminal. In other words, the fact that the identification code part is not included in the image taken with the camera of the mobile terminal means that the emergency stop switch is not correctly attached to the mobile terminal.

一方、携帯端末のカメラで撮影した画像内に識別コード部が含まれているということは、非常停止スイッチが携帯端末に正しく装着されていることを意味する。そのため、携帯端末又はロボットコントローラは、例えばカメラの撮影を一定間隔で実行し、その撮影した画像内に識別コード部が含まれているか否かによって、非常停止スイッチが携帯端末に装着されているか否かを判断することができる。このように、本発明によれば、スマートフォンやタブレット装置等の携帯端末をロボットの操作装置として使用する場合に、その携帯端末に非常停止スイッチを確実に装着されているようにすることができる。 On the other hand, the fact that the identification code section is included in the image taken with the camera of the mobile terminal means that the emergency stop switch is correctly attached to the mobile terminal. Therefore, the mobile terminal or robot controller, for example, executes camera photography at regular intervals, and depending on whether the photographed image contains an identification code section, it is possible to determine whether the emergency stop switch is attached to the mobile terminal. It is possible to judge whether As described above, according to the present invention, when a portable terminal such as a smartphone or a tablet device is used as a robot operating device, it is possible to ensure that the portable terminal is equipped with an emergency stop switch.

実施形態の非常停止スイッチにおいて、前記取付部は、前記取付部を前記携帯端末に取り付けた場合に前記レンズから離間する方向へ突出した突出部を有している。そして、前記識別コード部は、前記突出部の内側に面に設けられている。 In the emergency stop switch of the embodiment, the attachment portion has a protrusion that protrudes in a direction away from the lens when the attachment portion is attached to the mobile terminal. The identification code portion is provided on a surface inside the protrusion.

これによれば、識別コード部が突出部の内側の面つまりカメラのレンズと対向する側の面に設けられていることから、非常停止スイッチを携帯端末に取り付けた場合において、カメラのレンズから識別コード部までの距離を確保し、その距離を一定に維持することができる。これにより、例えば識別コード部がカメラのレンズの焦点距離よりも接近し過ぎることを防ぎ、その結果、携帯端末のカメラによる識別コード部の撮影の精度を向上させることができる。 According to this, since the identification code section is provided on the inner surface of the protrusion, that is, the surface facing the camera lens, when the emergency stop switch is attached to a mobile terminal, it can be identified from the camera lens. It is possible to secure the distance to the cord part and maintain the distance constant. This prevents, for example, the identification code portion from coming too close than the focal length of the camera lens, and as a result, it is possible to improve the accuracy of photographing the identification code portion with the camera of the mobile terminal.

実施形態の非常停止スイッチは、外部の光を前記識別コード部へ導入可能な採光部を更に備える。これによれば、採光部から識別コード部へ外光が導入されることによって、カメラの撮影に必要な光を確保することができる。そのため、本構成によれば、フラッシュやライト等の光源が無くても撮影に必要な光量を確保し易くなり、その結果、携帯端末のカメラによる識別コード部の撮影の精度、つまり識別コード部に含まれる識別コードの認識精度を向上することができる。 The emergency stop switch of the embodiment further includes a lighting section that can introduce external light into the identification code section. According to this, by introducing external light from the lighting section to the identification code section, it is possible to secure the light necessary for photographing with the camera. Therefore, according to this configuration, it becomes easier to secure the amount of light necessary for photographing even without a light source such as a flash or a light, and as a result, the accuracy of photographing the identification code section with the camera of the mobile terminal, that is, the identification code section. The recognition accuracy of the included identification code can be improved.

ここで、例えば一つの作業現場に複数台のロボットが存在する場合、ユーザは、各ロボットに対応させて複数の非常停止スイッチを準備することが考えられる。この場合、各ロボットコントローラは、それぞれ自己に実際に有線接続された非常停止スイッチの識別コードを予め登録しておくことで、他のロボットに対応したロボットコントローラに接続された非常停止スイッチとの混同を防止することができる。この場合、ロボットコントローラに対する識別コードの登録は、例えばユーザが入力デバイスを用いて手作業で行うことが考えられるが、この登録作業を手作業で行うのは煩雑である。 Here, for example, if a plurality of robots exist at one work site, the user may prepare a plurality of emergency stop switches corresponding to each robot. In this case, each robot controller should register in advance the identification code of the emergency stop switch that is actually connected to it by wire, to prevent confusion with emergency stop switches connected to robot controllers that are compatible with other robots. can be prevented. In this case, it is conceivable that the identification code for the robot controller is manually registered by the user using an input device, for example, but it is troublesome to perform this registration work manually.

そこで、実施形態の非常停止スイッチは、前記識別コードを記憶する識別コード記憶部を更に備えるとともに、前記ロボットコントローラに有線接続された場合に前記識別コード記憶部に記憶されている前記識別コードが前記ロボットコントローラに自動で送信される。これによれば、ユーザが非常停止スイッチをロボットコントローラに接続するだけで、非常停止スイッチの識別コードが自動でロボットコントローラに登録される。そのため、ユーザは、非常停止スイッチの識別コードの登録作業が不要となり、その結果、利便性の向上を図ることができる。 Therefore, the emergency stop switch of the embodiment further includes an identification code storage unit that stores the identification code, and when connected to the robot controller by wire, the identification code stored in the identification code storage unit is Automatically sent to robot controller. According to this, simply by the user connecting the emergency stop switch to the robot controller, the identification code of the emergency stop switch is automatically registered in the robot controller. Therefore, the user does not need to register the identification code of the emergency stop switch, and as a result, convenience can be improved.

実施形態のロボットシステムは、ロボットの駆動を制御するロボットコントローラと、カメラを有し前記ロボットコントローラと無線通信可能な携帯端末と、前記ロボットコントローラに有線接続されユーザの操作を受けて前記ロボットコントローラの制御を非常停止状態に切り替えるスイッチ本体部と、前記携帯端末に対して前記スイッチ本体部を着脱可能に取り付ける取付部と、前記カメラのレンズに対向する位置に設けられ前記スイッチ本体部を識別する識別コードを前記カメラで撮影可能な態様で表示する識別コード部と、を有する非常停止スイッチと、を備える。 The robot system of the embodiment includes a robot controller that controls the driving of the robot, a mobile terminal that has a camera and is capable of wirelessly communicating with the robot controller, and a mobile terminal that is connected to the robot controller by wire and that operates the robot controller in response to a user's operation. a switch body for switching control to an emergency stop state; a mounting portion for removably attaching the switch body to the mobile terminal; and an identification provided at a position facing the lens of the camera to identify the switch body. an identification code section that displays the code in a manner that can be photographed by the camera; and an emergency stop switch.

前記携帯端末は、当該携帯端末に前記非常停止スイッチが装着された場合に前記非常停止スイッチが備える前記識別コード部を前記カメラで撮影してその撮影した画像から前記識別コード部に含まれる識別コードを読み取る読取処理部と、前記読取処理部で読み取った前記識別コードを前記ロボットコントローラに送信する送信処理部と、を有する。前記ロボットコントローラは、前記ロボットコントローラに有線接続された前記非常停止スイッチの前記識別コードを前記カメラで前記識別コード部を撮影する方法とは異なる方法で取得する第1取得処理部と、前記携帯端末の前記送信処理部から送信された前記識別コードを取得する第2取得処理部と、前記第1取得処理部で取得した識別コードと前記第2取得処理部で取得した識別コードとが一致した場合に前記携帯端末からの操作に基づく前記ロボットの駆動を許可する許可判断処理部と、を有する。 When the emergency stop switch is attached to the mobile terminal, the mobile terminal photographs the identification code section provided in the emergency stop switch with the camera and determines the identification code included in the identification code section from the photographed image. and a transmission processing section that transmits the identification code read by the reading processing section to the robot controller. The robot controller includes a first acquisition processing unit that acquires the identification code of the emergency stop switch connected to the robot controller by wire using a method different from the method of photographing the identification code section with the camera, and the mobile terminal. a second acquisition processing unit that acquires the identification code transmitted from the transmission processing unit of the second acquisition processing unit, and when the identification code acquired by the first acquisition processing unit and the identification code acquired by the second acquisition processing unit match; and a permission determination processing unit that permits driving of the robot based on an operation from the mobile terminal.

これによれば、上述した非常停止スイッチを、スマートフォンやタブレット端末等の携帯端末に容易に適用させることができる。すなわち、携帯端末に非常停止スイッチを装着して操作装置として用いる場合、ロボットコントローラに実際に有線接続された非常停止スイッチと、携帯端末に実際に装着された非常停止スイッチとが同一のものであることを確認する必要がある。 According to this, the above-described emergency stop switch can be easily applied to mobile terminals such as smartphones and tablet terminals. In other words, when an emergency stop switch is attached to a mobile terminal and used as an operating device, the emergency stop switch actually connected to the robot controller by wire is the same as the emergency stop switch actually attached to the mobile terminal. You need to make sure that.

例えばあるロボットコントローラに有線接続された非常停止スイッチが、そのロボットコントローラに対応した携帯端末とは異なる携帯端末に誤って装着されてしまった場合、ユーザは、非常停止スイッチを操作しても、目的とするロボットを非常停止させることができない。つまりこの場合、ユーザは、実質的に非常停止機能を有さない携帯端末を、操作装置として使用することになってしまうため、安全性に問題が生じる。そのため、携帯端末に非常停止スイッチを装着して操作装置として用いる場合、ロボットコントローラと、携帯端末と、非常停止スイッチとを相互に紐付けする必要がある。 For example, if an emergency stop switch connected by wire to a robot controller is mistakenly attached to a mobile terminal that is not compatible with the robot controller, the user may operate the emergency stop switch for the intended purpose. The robot cannot be brought to an emergency stop. In other words, in this case, the user ends up using a mobile terminal that does not substantially have an emergency stop function as an operating device, which poses a safety problem. Therefore, when an emergency stop switch is attached to a mobile terminal and used as an operating device, it is necessary to link the robot controller, the mobile terminal, and the emergency stop switch to each other.

これに対し、本構成によれば、ロボットコントローラにおいて、第1取得処理部は、ロボットコントローラに有線接続された又は有線接続される非常停止スイッチの識別コードを取得する。これにより、ロボットコントローラは、第1取得処理部で取得した識別コードにより、ロボットコントローラと非常停止スイッチとの紐付けを行うことができる。また、第2取得処理部は、携帯端末に実際に装着された非常停止スイッチの識別コードを取得する。これにより、ロボットコントローラは、第2取得処理部で取得した識別コードにより、携帯端末と非常停止スイッチとの紐付けを行うことができる。 On the other hand, according to this configuration, in the robot controller, the first acquisition processing section acquires the identification code of the emergency stop switch that is or is connected by wire to the robot controller. Thereby, the robot controller can link the robot controller and the emergency stop switch using the identification code acquired by the first acquisition processing section. Further, the second acquisition processing unit acquires the identification code of the emergency stop switch actually attached to the mobile terminal. Thereby, the robot controller can link the mobile terminal and the emergency stop switch using the identification code acquired by the second acquisition processing section.

そして、許可判断処理部は、第1取得処理部で取得した識別コードと第2取得処理部で取得した識別コードとが一致した場合、つまりロボットコントローラに有線接続された非常停止スイッチと、携帯端末に装着された非常停止スイッチとが同一のものであると確認された場合に、携帯端末からの操作に基づくロボットの駆動を許可する。 Then, if the identification code acquired by the first acquisition processing unit and the identification code acquired by the second acquisition processing unit match, the permission determination processing unit determines whether the emergency stop switch connected by wire to the robot controller and the mobile terminal If it is confirmed that the emergency stop switch installed on the robot is the same as the emergency stop switch, the robot is allowed to drive based on the operation from the mobile terminal.

つまり、例えばあるロボットコントローラに有線接続された非常停止スイッチが、そのロボットコントローラに対応した携帯端末とは異なる携帯端末に誤って装着されてしまった場合には、携帯端末からの操作に基づくロボットの駆動は許可されない。このため、携帯端末に非常停止スイッチが装着されていなかったり、誤って他のロボットに対応した非常停止スイッチを装着してしまったりして、携帯端末が実質的に非常停止機能を有していない場合には、その携帯端末を操作装置として使用することができない。したがって、本構成によれば、スマートフォンやタブレット装置等の携帯端末をロボットの操作装置として使用するときにその携帯端末に確実に非常停止スイッチを装着されているようにすることができ、その結果、安全性を確保することができる。 In other words, for example, if an emergency stop switch that is wired to a certain robot controller is mistakenly attached to a mobile terminal that is not compatible with that robot controller, the robot control based on the operation from the mobile terminal may Driving is not permitted. For this reason, the mobile terminal does not actually have an emergency stop function because it is not equipped with an emergency stop switch, or because it is mistakenly equipped with an emergency stop switch that is compatible with another robot. In this case, the mobile terminal cannot be used as an operating device. Therefore, according to this configuration, when a mobile terminal such as a smartphone or a tablet device is used as a robot operating device, it is possible to ensure that the mobile terminal is equipped with an emergency stop switch, and as a result, Safety can be ensured.

また、前記非常停止スイッチは、識別コードを記憶する識別コード記憶部を更に有している。そして、前記第1取得処理部は、前記非常停止スイッチが前記ロボットコントローラに有線接続された場合に前記識別コード記憶部に記憶されている前記識別コードを自動で取得する。これによれば、ユーザが非常停止スイッチをロボットコントローラに接続するだけで、第1取得処理部は、ロボットコントローラに有線接続された非常停止スイッチの識別コードを自動で取得する。そのため、ユーザは、非常停止スイッチの識別コードの登録作業を行う必要が無く、その結果、利便性の向上を図ることができる。 Further, the emergency stop switch further includes an identification code storage section that stores an identification code. The first acquisition processing section automatically acquires the identification code stored in the identification code storage section when the emergency stop switch is connected by wire to the robot controller. According to this, when the user simply connects the emergency stop switch to the robot controller, the first acquisition processing section automatically acquires the identification code of the emergency stop switch connected by wire to the robot controller. Therefore, the user does not need to register the identification code of the emergency stop switch, and as a result, convenience can be improved.

また、これによれば、非常停止スイッチと、ロボット及びロボットコントローラとの対応関係を予め設定する必要がなく、またこの対応関係を固定しておく必要がない。つまりユーザは、非常停止スイッチを、あるロボットコントローラから他のロボットコントローラに接続し直すことで、その非常停止スイッチを新たに接続したロボットコントローラに紐付けすることができる。したがって、これによれば、1つの非常停止スイッチを複数のロボット及びロボットコントローラに対応させることができるため、非常停止スイッチの流用性が増して、利便性の向上が図られる。 Further, according to this, there is no need to set in advance the correspondence between the emergency stop switch, the robot, and the robot controller, and there is no need to fix this correspondence. In other words, by reconnecting the emergency stop switch from one robot controller to another robot controller, the user can link the emergency stop switch to the newly connected robot controller. Therefore, according to this, one emergency stop switch can be made compatible with a plurality of robots and robot controllers, so the usability of the emergency stop switch is increased and convenience is improved.

第1実施形態によるロボットシステムの概略構成の一例を示す図A diagram showing an example of a schematic configuration of a robot system according to the first embodiment 第1実施形態による非常停止スイッチの一例を示す斜視図A perspective view showing an example of an emergency stop switch according to the first embodiment 第1実施形態による非常停止スイッチを携帯端末に装着した状態の一例を示す斜視図A perspective view showing an example of a state in which the emergency stop switch according to the first embodiment is attached to a mobile terminal 第1実施形態による非常停止スイッチを携帯端末に装着した状態の一例を示す断面図A sectional view showing an example of a state in which the emergency stop switch according to the first embodiment is attached to a mobile terminal 第1実施形態によるロボットシステムについて、ロボットコントローラで実行される制御内容の一例を示すフローチャートA flowchart showing an example of control contents executed by the robot controller regarding the robot system according to the first embodiment. 第1実施形態によるロボットシステムについて、携帯端末で実行される制御内容の一例を示すフローチャートA flowchart showing an example of control contents executed by a mobile terminal regarding the robot system according to the first embodiment. 第2実施形態によるロボットシステムの概略構成の一例を示す図A diagram showing an example of a schematic configuration of a robot system according to a second embodiment

以下、複数の実施形態について、図面を参照して説明する。なお、各実施形態において実質的に同一の構成部位には同一の符号を付し、説明を省略する。 Hereinafter, a plurality of embodiments will be described with reference to the drawings. In addition, in each embodiment, substantially the same component parts are given the same reference numerals, and description thereof will be omitted.

(第1実施形態)
以下では、第1実施形態について、図1~図6を参照して説明する。
[ロボットシステムの構成の概要]
まず、図1に示すロボットシステム1の構成の概要について説明する。図1に示すロボットシステム1は、ロボット10、ロボットコントローラ20、携帯端末30、及び非常停止スイッチ40を備えている。ロボット10は、例えば水平4軸型や垂直6軸型の多関節型ロボットなどである。なお、ロボット10は、ユーザの教示操作を実行可能なロボットであれば、上述したものに限られない。
(First embodiment)
The first embodiment will be described below with reference to FIGS. 1 to 6.
[Overview of robot system configuration]
First, an overview of the configuration of the robot system 1 shown in FIG. 1 will be explained. The robot system 1 shown in FIG. 1 includes a robot 10, a robot controller 20, a mobile terminal 30, and an emergency stop switch 40. The robot 10 is, for example, a horizontal 4-axis type or vertical 6-axis type articulated robot. Note that the robot 10 is not limited to the above-mentioned robot as long as it is capable of executing the user's teaching operations.

ロボットコントローラ20は、携帯端末30からの指令を受けて、又は予め記憶されたプログラムに基づいて、ロボット10の駆動を制御する。ロボットコントローラ20は、例えば接続ケーブルを介してロボット10に接続されている。携帯端末30は、例えばスマートフォンやタブレット装置などの高機能携帯端末であり、ロボット10の教示操作以外にも用いることができる汎用品で構成することができる。 The robot controller 20 controls the driving of the robot 10 in response to instructions from the mobile terminal 30 or based on a pre-stored program. The robot controller 20 is connected to the robot 10 via, for example, a connection cable. The mobile terminal 30 is a high-performance mobile terminal such as a smartphone or a tablet device, and can be configured as a general-purpose product that can be used for purposes other than teaching the robot 10.

非常停止スイッチ40は、汎用品である携帯端末30をロボット10の操作装置として用いるためものである。非常停止スイッチ40は、ユーザの手動で始動可能な機械的スイッチであり、有線によってロボットコントローラ20に接続されている。 The emergency stop switch 40 is for using the portable terminal 30, which is a general-purpose product, as an operating device for the robot 10. The emergency stop switch 40 is a mechanical switch that can be manually activated by the user and is connected to the robot controller 20 by a wire.

[非常停止スイッチの構成]
次に、非常停止スイッチ40の構成について説明する。
非常停止スイッチ40は、図2~図4にも示すように、スイッチ本体部41と、取付部42と、識別コード部43と、を備えている。スイッチ本体部41は、図1にも示すように、接続線411によってロボットコントローラ20に有線接続されている。本実施形態の場合、ロボットコントローラ20は、図1に示すようにコネクタ201を備えている。そして、スイッチ本体部41の接続線411は、コネクタ201を介してロボットコントローラ20に着脱可能に取り付けられている。
[Emergency stop switch configuration]
Next, the configuration of the emergency stop switch 40 will be explained.
The emergency stop switch 40 includes a switch body portion 41, a mounting portion 42, and an identification code portion 43, as shown in FIGS. 2 to 4. As shown in FIG. 1, the switch main body 41 is wired to the robot controller 20 via a connection line 411. In the case of this embodiment, the robot controller 20 includes a connector 201 as shown in FIG. The connection wire 411 of the switch body 41 is detachably attached to the robot controller 20 via the connector 201.

なお、コネクタ201は、スイッチ本体部41側に設けられていても良い。また、スイッチ本体部41は、必ずしもロボットコントローラ20に着脱可能に構成されている必要はない。例えば接続線411は、スイッチ本体部41及びロボットコントローラ20に取り外し不可能に構成されていても良い。 Note that the connector 201 may be provided on the switch main body portion 41 side. Further, the switch main body 41 does not necessarily need to be configured to be detachable from the robot controller 20. For example, the connection line 411 may be configured to be non-removable from the switch main body 41 and the robot controller 20.

スイッチ本体部41は、例えば押しボタン式のスイッチであり、ユーザの押圧操作を受けてロボットコントローラ20の制御を非常停止状態に切り替える機能を有する。本実施形態の場合、スイッチ本体部41は、図1に示すようにNC接点であり、常時は回路を閉じており、操作時つまり押圧操作を受けた際には回路を開く構成である。 The switch main body 41 is, for example, a push button type switch, and has a function of switching control of the robot controller 20 to an emergency stop state in response to a user's pressing operation. In the case of this embodiment, the switch body 41 is an NC contact, as shown in FIG. 1, and is configured to normally close the circuit and open the circuit when operated, that is, when pressed.

ロボットコントローラ20は、スイッチ本体部41に対して安全状態を示す信号を常時出力し、その信号が戻って来ている場合には、非常停止スイッチ40が操作されておらず安全な状態であると判断する。そして、ロボットコントローラ20は、非常停止スイッチ40が操作されておらず安全な状態であると判断しているときには、ロボット10に対する駆動制御を行うことができる。一方、スイッチ本体部41に対して出力した安全状態を示す信号を出力が戻って来ない場合、ロボットコントローラ20は、非常停止スイッチ40が操作されて回路が遮断されたと判断する。そして、ロボットコントローラ20は、ロボット10に対する制御を非常停止状態に切り替えて、ロボット10を非常停止させるとともにロボット10の駆動を禁止する。 The robot controller 20 constantly outputs a signal indicating a safe state to the switch body 41, and if the signal is returned, it is determined that the emergency stop switch 40 is not operated and is in a safe state. to decide. When the robot controller 20 determines that the emergency stop switch 40 is not operated and is in a safe state, the robot controller 20 can perform drive control on the robot 10. On the other hand, if the signal indicating the safe state outputted to the switch body 41 is not returned, the robot controller 20 determines that the emergency stop switch 40 has been operated and the circuit has been cut off. Then, the robot controller 20 switches the control over the robot 10 to an emergency stop state, brings the robot 10 to an emergency stop, and prohibits the robot 10 from being driven.

取付部42は、図3及び図4に示すように、携帯端末30に対してスイッチ本体部41を着脱可能に取り付ける機能を有している。本実施形態の場合、取付部42は、2枚の板状の部材を含んでおり、携帯端末30を両側面から挟持可能なクリップ形状に構成されている。また、取付部42は、突出部421を一体に有している。突出部421は、図3及び図4に示すように、取付部42を携帯端末30に取り付けた場合に、携帯端末30のレンズ311に対向する位置に設けられており、レンズ311から離間する方向へ例えば台形状に突出している。そして、突出部421は、取付部42を携帯端末30に取り付けた場合に、レンズ311を覆うように構成されている。 As shown in FIGS. 3 and 4, the attachment portion 42 has a function of detachably attaching the switch body portion 41 to the mobile terminal 30. In the case of this embodiment, the attachment part 42 includes two plate-shaped members and is configured in the shape of a clip that can hold the mobile terminal 30 from both sides. Further, the attachment portion 42 integrally has a protrusion 421. As shown in FIGS. 3 and 4, the protruding part 421 is provided at a position facing the lens 311 of the mobile terminal 30 when the attachment part 42 is attached to the mobile terminal 30, and is arranged in a direction away from the lens 311. For example, it protrudes into a trapezoidal shape. The protruding portion 421 is configured to cover the lens 311 when the attaching portion 42 is attached to the mobile terminal 30.

この場合、突出部421のうちレンズ311と対向する部分は平坦面となっている。そして、突出部421の突出量つまりレンズ311から突出部421の平坦面までの距離は、レンズ311の焦点距離以上に設定されている。また、突出部421の一部には、突出部421の内部と外部とを連通する開口部422が形成されている。この開口部422は、取付部42の外部の光を突出部421の内側へ導入可能な採光部422として機能する。すなわち、取付部42の外部の光は、採光部422を通って取付部42の内部に導かれる。これにより、取付部42内には、レンズ311を通して撮影するための十分な量の外光が導入される。 In this case, the portion of the protrusion 421 that faces the lens 311 is a flat surface. The amount of protrusion of the protrusion 421 , that is, the distance from the lens 311 to the flat surface of the protrusion 421 is set to be greater than or equal to the focal length of the lens 311 . Furthermore, an opening 422 is formed in a part of the protrusion 421 to communicate the inside and outside of the protrusion 421 . This opening 422 functions as a lighting section 422 that can introduce light from outside the attachment section 42 into the inside of the protrusion 421 . That is, the light outside the attachment part 42 is guided into the interior of the attachment part 42 through the lighting part 422. As a result, a sufficient amount of external light is introduced into the attachment portion 42 for photographing through the lens 311.

本実施形態の場合、採光部422は、取付部42のうちレンズ311側の部材に設けられている。また、採光部422は、レンズ311の周囲にあって、レンズ311の撮影可能な範囲つまりレンズ311の視野の外側に位置している。そのため、採光部422は、光源からの光が直接レンズ311に当り難い構成となっている。なお、採光部422は、開口に限られず、例えば透明の樹脂やガラス等で構成しても良い。また、突出部421全体を透明の部材にすることで、突出部421全体を採光部としても良い。 In the case of this embodiment, the lighting section 422 is provided on a member of the attachment section 42 on the lens 311 side. Further, the lighting section 422 is located around the lens 311 and outside the photographable range of the lens 311, that is, outside the field of view of the lens 311. Therefore, the lighting section 422 is configured so that the light from the light source does not easily hit the lens 311 directly. Note that the lighting section 422 is not limited to an opening, and may be made of, for example, transparent resin or glass. Furthermore, by making the entire protrusion 421 a transparent member, the entire protrusion 421 may be used as a lighting section.

また、取付部42は、露出部423を有している。露出部423は、非常停止スイッチ40を携帯端末30に装着した場合においてレンズ311と重なる位置に設けられており、取付部42のうちレンズ311側の一部を切り欠いて又は切り抜いて形成されている。非常停止スイッチ40を携帯端末30に装着した場合、レンズ311は、図3に示すように、露出部423から外部に露出する。これにより、カメラ31は、取付部42に邪魔されることなく、突出部421の内側に設けられた識別コード部43を撮影することができる。 Further, the attachment portion 42 has an exposed portion 423. The exposed portion 423 is provided at a position overlapping the lens 311 when the emergency stop switch 40 is attached to the mobile terminal 30, and is formed by cutting out or cutting out a part of the mounting portion 42 on the lens 311 side. There is. When the emergency stop switch 40 is attached to the mobile terminal 30, the lens 311 is exposed to the outside through the exposed portion 423, as shown in FIG. Thereby, the camera 31 can photograph the identification code part 43 provided inside the protrusion part 421 without being obstructed by the attachment part 42.

識別コード部43は、スイッチ本体部41を識別するための識別コードを、カメラ31で撮影可能な態様、つまりカメラ31の撮影によって携帯端末30で認識可能なように表示したものである。識別コード部43は、例えばバーコード等の1次元コードや、QRコード(登録商標)のような2次元コード等であり、例えばシールを貼付したり直接印刷したりして取付部42に表示されている。 The identification code section 43 displays an identification code for identifying the switch main body section 41 in a manner that can be photographed by the camera 31, that is, in a manner that can be recognized by the mobile terminal 30 when photographed by the camera 31. The identification code section 43 is, for example, a one-dimensional code such as a bar code, a two-dimensional code such as a QR code (registered trademark), etc., and is displayed on the mounting section 42 by, for example, pasting a sticker or directly printing it. ing.

識別コード部43は、図4にも示すように、取付部42のうち突出部421の内側面つまりレンズ311と対向する平坦面部分に設けられている。つまり、識別コード部43は、取付部42を携帯端末30に取り付けた場合に携帯端末30のレンズ311に対向する位置に設けられている。識別コード部43に含まれる識別コードは、例えば文字、数字、及び記号等に変換して表現可能なものであり、スイッチ本体部41に固有つまり非常停止スイッチ40に固有のものである。 As shown in FIG. 4, the identification code portion 43 is provided on the inner surface of the protruding portion 421 of the attachment portion 42, that is, on the flat surface portion facing the lens 311. That is, the identification code portion 43 is provided at a position facing the lens 311 of the mobile terminal 30 when the attachment portion 42 is attached to the mobile terminal 30. The identification code included in the identification code section 43 can be expressed by converting it into, for example, letters, numbers, and symbols, and is unique to the switch body section 41, that is, unique to the emergency stop switch 40.

なお、本実施形態において固有とは、必ずしも生産された非常停止スイッチの全てにわたって固有である必要はなく、例えば同じ作業現場で同時に複数の非常停止スイッチ40を使用する場合において各非常停止スイッチ40間で固有であれば良い。すなわち、本実施形態において固有とは、例えばある作業現場で複数の非常停止スイッチ40が使用される場合において、各非常停止スイッチ40の識別コードが重複してなければ良い。 In this embodiment, "unique" does not necessarily mean that all of the emergency stop switches produced are unique; for example, when a plurality of emergency stop switches 40 are used at the same time at the same work site, the term "unique" means "unique" between each emergency stop switch 40. It is fine as long as it is unique. That is, in this embodiment, unique means that, for example, when a plurality of emergency stop switches 40 are used at a certain work site, the identification code of each emergency stop switch 40 does not have to be duplicated.

[ロボットシステムの詳細]
次に、ロボットシステム1について更に詳細に説明する。
図1に示すように、ロボットシステム1を構成する携帯端末30は、レンズ311及び撮像部312を有するカメラ31の他、入力表示部32、読取処理部33、送信処理部34、及び端末制御部35を有している。入力表示部32は、例えば液晶型のタッチパネルディスプレイなどであって、ユーザの入力操作を検出するとともに、ユーザに対して各種情報を表示する。入力表示部32は、板状の携帯端末30の一方側の面、又は両側の面に設けられている。
[Details of robot system]
Next, the robot system 1 will be explained in more detail.
As shown in FIG. 1, the mobile terminal 30 constituting the robot system 1 includes a camera 31 having a lens 311 and an imaging section 312, an input display section 32, a reading processing section 33, a transmission processing section 34, and a terminal control section. It has 35. The input display section 32 is, for example, a liquid crystal touch panel display or the like, and detects the user's input operation and displays various information to the user. The input display section 32 is provided on one side or both sides of the plate-shaped mobile terminal 30.

読取処理部33は、携帯端末30に非常停止スイッチ40が装着された場合に、非常停止スイッチ40が備える識別コード部43をカメラ31で撮像してその撮像した画像から識別コード部43に含まれる識別コードを読み取る機能を有する。送信処理部34は、読取処理部33で読み取った識別コードを、携帯端末30に内蔵する通信機器を用いてロボットコントローラ20に無線通信により送信する機能を有する。 When the emergency stop switch 40 is attached to the mobile terminal 30, the reading processing unit 33 captures an image of the identification code section 43 included in the emergency stop switch 40 with the camera 31, and extracts the information contained in the identification code section 43 from the captured image. It has the ability to read identification codes. The transmission processing section 34 has a function of transmitting the identification code read by the reading processing section 33 to the robot controller 20 by wireless communication using a communication device built into the mobile terminal 30.

カメラ31による撮影、読取処理部33による読み取り処理、及び送信処理部34による送信処理は、一定周期で繰り返して実行される。このとき、カメラ31の撮像画像に識別コード部43が含まれていなければ、読取処理部33による識別コードの読み取りは失敗となる。この場合、送信処理部34は、読み取りに失敗した旨の情報又は空の情報をロボットコントローラ20に送信する。 Photographing by the camera 31, reading processing by the reading processing section 33, and transmission processing by the transmission processing section 34 are repeatedly executed at a constant cycle. At this time, if the identification code section 43 is not included in the image captured by the camera 31, the reading of the identification code by the reading processing section 33 will fail. In this case, the transmission processing unit 34 transmits information indicating that the reading has failed or information that the reading is empty to the robot controller 20.

端末制御部35は、携帯端末30全体の制御を司っている。端末制御部35は、例えば図示しないCPUや、ROM、RAM、及び書き換え可能なフラッシュメモリ等の記憶領域を有するマイクロコンピュータを主体に構成されている。カメラ31及び入力表示部32は、端末制御部35に接続されており、端末制御部35によって制御される。 The terminal control unit 35 is in charge of controlling the entire mobile terminal 30. The terminal control unit 35 is mainly composed of, for example, a microcomputer having a CPU (not shown), and storage areas such as ROM, RAM, and rewritable flash memory. The camera 31 and the input display section 32 are connected to and controlled by the terminal control section 35 .

また、端末制御部35の図示しない記憶領域は、汎用品である携帯端末30をロボットシステム1に適用させるためのロボットシステム用のプログラムを記憶している。そして、端末制御部35は、図示しないCPUにおいてロボットシステム用のプログラムを実行することにより、読取処理部33及び送信処理部34をソフトウェアによって仮想的に実現する。 Further, a storage area (not shown) of the terminal control unit 35 stores a robot system program for applying the portable terminal 30, which is a general-purpose product, to the robot system 1. The terminal control section 35 virtually implements the reading processing section 33 and the transmission processing section 34 using software by executing a program for the robot system on a CPU (not shown).

ロボットコントローラ20は、駆動回路部21、停止判断処理部22、第1取得処理部23、第2取得処理部24、許可判断処理部25、及びシステム制御部26を有している。駆動回路部21は、携帯端末30からの操作に基づき、又は予め記憶しているプログラムに基づき、ロボット10の駆動を制御する機能を有する。 The robot controller 20 includes a drive circuit section 21 , a stop judgment processing section 22 , a first acquisition processing section 23 , a second acquisition processing section 24 , a permission judgment processing section 25 , and a system control section 26 . The drive circuit unit 21 has a function of controlling the drive of the robot 10 based on an operation from the mobile terminal 30 or based on a pre-stored program.

停止判断処理部22は、スイッチ本体部41に対して安全状態を示す信号を出力するとともに、スイッチ本体部41から戻ってくる信号を監視する。そして、停止判断処理部22は、スイッチ本体部41から戻ってくる信号の有無によって、非常停止スイッチ40の操作状態を判断し、ロボットコントローラ20の制御状態を切り替える。すなわち、停止判断処理部22は、スイッチ本体部41から信号が戻って来ている場合には、非常停止スイッチ40が操作されておらず安全な状態であると判断する。一方、停止判断処理部22は、スイッチ本体部41から信号が戻って来ない場合には、非常停止スイッチ40が操作されて回路が遮断されたと判断する。そして、非常停止スイッチ40が操作された場合、停止判断処理部22は、ロボット10に対する制御を非常停止状態に切り替えてロボット10の非常停止させる。 The stop determination processing unit 22 outputs a signal indicating a safe state to the switch body 41 and monitors a signal returned from the switch body 41. Then, the stop determination processing section 22 determines the operation state of the emergency stop switch 40 based on the presence or absence of a signal returned from the switch main body section 41, and switches the control state of the robot controller 20. That is, when the signal is returned from the switch main body 41, the stop judgment processing section 22 judges that the emergency stop switch 40 is not operated and is in a safe state. On the other hand, if the signal is not returned from the switch body 41, the stop determination processing section 22 determines that the emergency stop switch 40 has been operated and the circuit has been cut off. When the emergency stop switch 40 is operated, the stop determination processing section 22 switches the control of the robot 10 to an emergency stop state and brings the robot 10 to an emergency stop.

第1取得処理部23は、ロボットコントローラ20に有線接続された非常停止スイッチ40の識別コードを、カメラ31で識別コード部43を撮影する方法とは異なる方法で取得する機能を有する。カメラ31で識別コード部43を撮影する方法とは異なる方法で取得するとは、例えば次のような例がある。 The first acquisition processing section 23 has a function of acquiring the identification code of the emergency stop switch 40 connected to the robot controller 20 by wire using a method different from the method of photographing the identification code section 43 with the camera 31. Obtaining the identification code section 43 by a method different from the method of photographing it with the camera 31 includes the following examples.

すなわち、例えば非常停止スイッチ40及び接続線411がロボットコントローラ20に着脱不可に構成されている場合、ロボットコントローラ20は、ロボットコントローラ20に内蔵する図示しない記憶領域に、当該ロボットコントローラ20に接続されている非常停止スイッチ40の識別コードを予め登録しておく。そして、第1取得処理部23は、その登録されている識別コードを取得することで、当該ロボットコントローラ20に接続されている非常停止スイッチ40の識別コードを取得する。 That is, for example, if the emergency stop switch 40 and the connection line 411 are configured to be non-removable to the robot controller 20, the robot controller 20 is connected to the robot controller 20 in a storage area (not shown) built into the robot controller 20. The identification code of the emergency stop switch 40 is registered in advance. Then, the first acquisition processing unit 23 acquires the identification code of the emergency stop switch 40 connected to the robot controller 20 by acquiring the registered identification code.

また、例えば非常停止スイッチ40及び接続線411がロボットコントローラ20に着脱可能に構成されている場合、ユーザは、ロボットコントローラ20に直接又は間接的に接続された入力装置を用いて、ロボットコントローラ20に内蔵する図示しない記憶領域に、当該ロボットコントローラ20に接続される又は接続されている非常停止スイッチ40の識別コードを登録する。この場合、入力装置としては、例えば携帯端末30や、ロボットコントローラ20に接続されたコードリーダ、又はロボットコントローラ20に接続されたキーボードやマウスなどのユーザインタフェースデバイスなどが考えられる。そして、第1取得処理部23は、登録された識別コードを取得することで、当該ロボットコントローラ20に接続される又は接続されている非常停止スイッチ40の識別コードを取得する。 Further, for example, if the emergency stop switch 40 and the connection line 411 are configured to be detachable from the robot controller 20, the user can connect the robot controller 20 to the robot controller 20 using an input device directly or indirectly connected to the robot controller 20. The identification code of the emergency stop switch 40 connected to or connected to the robot controller 20 is registered in a built-in storage area (not shown). In this case, the input device may be, for example, the mobile terminal 30, a code reader connected to the robot controller 20, or a user interface device such as a keyboard or mouse connected to the robot controller 20. Then, the first acquisition processing unit 23 acquires the identification code of the emergency stop switch 40 connected to or connected to the robot controller 20 by acquiring the registered identification code.

第2取得処理部24は、携帯端末30の送信処理部34から送信された識別コードを取得する。すなわち、第2取得処理部24は、非常停止スイッチ40が携帯端末30に正常に装着されて、その携帯端末30のカメラ31が識別コード部43の識別コードを正常に実際に読み取れた場合に、その識別コードを取得することができる。換言すれば、第1取得処理部23は、非常停止スイッチ40が携帯端末30に装着されているか否かに関わらず、ロボットコントローラ20に接続されている非常停止スイッチ40の識別コードを取得する。一方、第2取得処理部24は、携帯端末30に実際に装着された非常停止スイッチ40の識別コードを取得する。 The second acquisition processing unit 24 acquires the identification code transmitted from the transmission processing unit 34 of the mobile terminal 30. That is, when the emergency stop switch 40 is normally attached to the mobile terminal 30 and the camera 31 of the mobile terminal 30 is able to normally actually read the identification code of the identification code section 43, the second acquisition processing unit 24 You can obtain its identification code. In other words, the first acquisition processing unit 23 acquires the identification code of the emergency stop switch 40 connected to the robot controller 20, regardless of whether the emergency stop switch 40 is attached to the mobile terminal 30. On the other hand, the second acquisition processing unit 24 acquires the identification code of the emergency stop switch 40 actually attached to the mobile terminal 30.

許可判断処理部25は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致しない場合、ロボットコントローラ20に接続されている非常停止スイッチ40と、携帯端末30に装着されている非常停止スイッチ40とが同一のものでないと判断する。また、許可判断処理部25は、第1取得処理部23で識別コードが取得されなかった場合、ロボットコントローラ20に非常停止スイッチ40が接続されていないと判断する。また、許可判断処理部25は、第2取得処理部24で識別コードが取得されなかった場合、携帯端末30に非常停止スイッチ40が装着されていないと判断する。そして、これらの場合、許可判断処理部25は、携帯端末30に非常停止の機能が備わっていないと判断し、携帯端末30からの操作に基づくロボット10の操作を許可しない。つまり、この場合、ユーザは、携帯端末30を操作してロボット10を動作させることができない。 If the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 do not match, the permission determination processing unit 25 activates an emergency stop switch 40 connected to the robot controller 20, It is determined that the emergency stop switch 40 attached to the mobile terminal 30 is not the same one. Further, if the first acquisition processing unit 23 does not acquire the identification code, the permission determination processing unit 25 determines that the emergency stop switch 40 is not connected to the robot controller 20. Furthermore, if the second acquisition processing unit 24 does not acquire the identification code, the permission determination processing unit 25 determines that the emergency stop switch 40 is not attached to the mobile terminal 30. In these cases, the permission determination processing unit 25 determines that the mobile terminal 30 is not equipped with an emergency stop function, and does not permit operation of the robot 10 based on the operation from the mobile terminal 30. That is, in this case, the user cannot operate the robot 10 by operating the mobile terminal 30.

一方、許可判断処理部25は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致した場合には、携帯端末30からの操作に基づくロボット10の駆動を許可する。すなわち、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致したということは、ロボットコントローラ20に接続されている非常停止スイッチ40と、携帯端末30に装着されている非常停止スイッチ40とが同一のものであること、つまり、ロボットコントローラ20に接続されている非常停止スイッチ40が装着されるべき携帯端末30に実際に装着されていることを意味する。したがって、この場合、許可判断処理部25は、携帯端末30に非常停止の機能が備ったと判断し、その携帯端末30からの操作に基づくロボット10の操作を許可する。これにより、ユーザは、携帯端末30を操作することでロボット10を動作させることができる。 On the other hand, if the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 match, the permission determination processing unit 25 determines whether the robot 10 based on the operation from the mobile terminal 30 driving is permitted. That is, the fact that the identification code acquired by the first acquisition processing section 23 and the identification code acquired by the second acquisition processing section 24 match means that the emergency stop switch 40 connected to the robot controller 20 and the mobile terminal 30 This means that the emergency stop switch 40 connected to the robot controller 20 is the same as the emergency stop switch 40 attached to the robot controller 20, which means that the emergency stop switch 40 connected to the robot controller 20 is actually attached to the mobile terminal 30 to which it should be attached. do. Therefore, in this case, the permission determination processing unit 25 determines that the mobile terminal 30 is equipped with an emergency stop function, and permits operation of the robot 10 based on the operation from the mobile terminal 30. Thereby, the user can operate the robot 10 by operating the mobile terminal 30.

システム制御部26は、ロボットコントローラ20全体の制御を司っている。システム制御部26は、例えば図示しないCPUや、ROM、RAM、及び書き換え可能なフラッシュメモリ等の記憶領域を有するマイクロコンピュータを主体に構成されている。駆動回路部21、停止判断処理部22、第1取得処理部23、第2取得処理部24、及び許可判断処理部25は、システム制御部26に接続されており、システム制御部26によって制御される。 The system control unit 26 controls the entire robot controller 20. The system control unit 26 is mainly composed of a microcomputer having storage areas such as a CPU (not shown), ROM, RAM, and a rewritable flash memory, for example. The drive circuit section 21, the stop judgment processing section 22, the first acquisition processing section 23, the second acquisition processing section 24, and the permission judgment processing section 25 are connected to the system control section 26 and are controlled by the system control section 26. Ru.

また、システム制御部26の図示しない記憶領域は、ロボットコントローラ20をロボットシステム1に適用させるためのロボットシステム用のプログラムを記憶している。そして、システム制御部26は、図示しないCPUにおいてロボットシステム用のプログラムを実行することにより、停止判断処理部22、第1取得処理部23、第2取得処理部24、及び許可判断処理部25をソフトウェアによって仮想的に実現する。なお、これら停止判断処理部22、第1取得処理部23、第2取得処理部24、及び許可判断処理部25は、例えばシステム制御部26と一体の集積回路としてハードウェア的に実現してもよい。 Further, a storage area (not shown) of the system control unit 26 stores a robot system program for applying the robot controller 20 to the robot system 1. Then, the system control unit 26 controls the stop judgment processing unit 22, the first acquisition processing unit 23, the second acquisition processing unit 24, and the permission judgment processing unit 25 by executing a program for the robot system on a CPU (not shown). Virtually realized through software. Note that the stop judgment processing section 22, the first acquisition processing section 23, the second acquisition processing section 24, and the permission judgment processing section 25 may be realized in hardware as an integrated circuit integrated with the system control section 26, for example. good.

[ロボットシステムの制御フロー]
次に、図5及び図6も参照して、ロボットコントローラ20及び携帯端末30で実行される制御内容について説明する。
まず、携帯端末30の端末制御部35で実行される制御内容について、図5を参照して説明する。端末制御部35は、ロボットシステム用のプログラムを実行すると(図5のスタート)、まず、ステップS11の処理を実行する。端末制御部35は、ステップS11において、カメラ31及び読取処理部33の処理によって、携帯端末30に装着された非常停止スイッチ40が備える識別コード部43の検出及び読み取りを行う。
[Control flow of robot system]
Next, with reference also to FIGS. 5 and 6, details of control executed by the robot controller 20 and the mobile terminal 30 will be described.
First, the control contents executed by the terminal control unit 35 of the mobile terminal 30 will be explained with reference to FIG. 5. When the terminal control unit 35 executes the program for the robot system (start in FIG. 5), it first executes the process of step S11. In step S11, the terminal control section 35 detects and reads the identification code section 43 included in the emergency stop switch 40 attached to the mobile terminal 30 through the processing of the camera 31 and the reading processing section 33.

次に、端末制御部35は、ステップS12において、識別コードの読み取りが有ったか否かを判断する。端末制御部35は、識別コードの読み取りが有った場合(ステップS12でYES)、ステップS13へ処理を移行させ、送信処理部34の処理によってステップS11で読み取った識別コードをロボットコントローラ20へ送信する。その後、端末制御部35は、ステップS11へ処理を戻し、上記処理を再度実行する。 Next, in step S12, the terminal control unit 35 determines whether or not the identification code has been read. If the identification code has been read (YES in step S12), the terminal control unit 35 moves the process to step S13, and transmits the identification code read in step S11 to the robot controller 20 through the processing of the transmission processing unit 34. do. Thereafter, the terminal control unit 35 returns the process to step S11 and executes the above process again.

一方、端末制御部35は、識別コードの読み取りが無かった場合(ステップS12でNO)、携帯端末30には非常停止スイッチ40が正常に装着されていないと判断し、ステップS14へ処理を移行させる。そして、端末制御部35は、ステップS14において、携帯端末30に非常停止スイッチ40が正しく装着されていない旨の警告情報を例えば入力表示部32に表示する。これにより、ユーザに対して警告情報を報知する。その後、端末制御部35は、ステップS11へ処理を戻し、上記処理を再度実行する。この場合、端末制御部35は、上記処理内容を所定のサイクルで繰り返す。 On the other hand, if the identification code is not read (NO in step S12), the terminal control unit 35 determines that the emergency stop switch 40 is not properly installed in the mobile terminal 30, and moves the process to step S14. . Then, in step S14, the terminal control unit 35 displays, for example, on the input display unit 32, warning information indicating that the emergency stop switch 40 is not correctly attached to the mobile terminal 30. This notifies the user of warning information. Thereafter, the terminal control unit 35 returns the process to step S11 and executes the above process again. In this case, the terminal control unit 35 repeats the above processing content in a predetermined cycle.

次に、ロボットコントローラ20のシステム制御部26で実行される制御内容について、図6を参照して説明する。システム制御部26は、ロボットシステム用のプログラムを実行すると(図6のスタート)、まずステップS21において、第1取得処理部23の処理によってロボットコントローラ20に接続されている非常停止スイッチ40の識別コードを取得する。 Next, the control contents executed by the system control unit 26 of the robot controller 20 will be explained with reference to FIG. 6. When the system control unit 26 executes the program for the robot system (start in FIG. 6), first in step S21, the first acquisition processing unit 23 processes the identification code of the emergency stop switch 40 connected to the robot controller 20. get.

次に、システム制御部26は、ステップS22において、第2取得処理部24で識別コードの取得が有ったか否かを判定する。システム制御部26は、第2取得処理部24で識別コードの取得が無かった場合、つまり携帯端末30から識別コードを受信できなかった場合(ステップS22でNO)、携帯端末30に非常停止スイッチ40が正常に装着されていないと判断する。そして、システム制御部26は、ステップS23へ処理を移行させて、携帯端末30の操作に基づくロボット10の動作を禁止する。そして、システム制御部26は、ステップS22へ処理を戻す。 Next, in step S22, the system control unit 26 determines whether the second acquisition processing unit 24 has acquired the identification code. If the second acquisition processing unit 24 does not acquire the identification code, that is, if the identification code cannot be received from the mobile terminal 30 (NO in step S22), the system control unit 26 connects the mobile terminal 30 to the emergency stop switch 40. is not installed properly. Then, the system control unit 26 moves the process to step S23 and prohibits the robot 10 from operating based on the operation of the mobile terminal 30. Then, the system control unit 26 returns the process to step S22.

一方、システム制御部26は、第2取得処理部24で識別コードの取得が有った場合、つまり携帯端末30から識別コードを受信できた場合(ステップS22でYES)、携帯端末30に非常停止スイッチ40が装着されていると判断し、ステップS24へ処理を移行させる。次に、システム制御部26は、許可判断処理部25の処理によって、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致しているか否かを判定する。 On the other hand, if the second acquisition processing unit 24 acquires the identification code, that is, if the identification code can be received from the mobile terminal 30 (YES in step S22), the system control unit 26 causes the mobile terminal 30 to perform an emergency stop. It is determined that the switch 40 is attached, and the process proceeds to step S24. Next, the system control unit 26 determines whether the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 match, through the processing of the permission determination processing unit 25. judge.

システム制御部26は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致しない場合(ステップS24でNO)、ロボットコントローラ20に接続された非常停止スイッチ40と携帯端末30に装着された非常停止スイッチ40とが同一のものでないと判断する。そして、システム制御部26は、ステップS23へ処理を移行させて、携帯端末30の操作に基づくロボット10の動作を禁止する。そして、システム制御部26は、ステップS22へ処理を戻す。 If the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 do not match (NO in step S24), the system control unit 26 controls the emergency stop connected to the robot controller 20. It is determined that the switch 40 and the emergency stop switch 40 attached to the mobile terminal 30 are not the same. Then, the system control unit 26 moves the process to step S23 and prohibits the robot 10 from operating based on the operation of the mobile terminal 30. Then, the system control unit 26 returns the process to step S22.

なお、この場合、システム制御部26は、携帯端末30に対して、ロボットコントローラ20に接続された非常停止スイッチ40と携帯端末30に装着された非常停止スイッチ40とが同一のものでない旨の警告情報を送信し、その警告情報を携帯端末30の入力表示部32に表示させるようにしても良い。 In this case, the system control unit 26 warns the mobile terminal 30 that the emergency stop switch 40 connected to the robot controller 20 and the emergency stop switch 40 attached to the mobile terminal 30 are not the same. The information may be transmitted and the warning information may be displayed on the input display section 32 of the mobile terminal 30.

また、システム制御部26は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致した場合(ステップS24でYES)、ロボットコントローラ20に接続された非常停止スイッチ40と携帯端末30に装着された非常停止スイッチ40とが同一のものであると判断する。つまり、この場合、システム制御部26は、ロボットコントローラ20に接続された非常停止スイッチ40が、携帯端末30に正しく装着されていると判断する。そして、システム制御部26は、ステップS25へ処理を移行させて、携帯端末30の操作に基づくロボット10の動作を許可する。これにより、ユーザは、携帯端末30を操作してロボット10の教示操作を行うことができる。そして、システム制御部26は、ステップS22へ処理を戻し、所定のサイクルで上記制御を繰り返す。 Further, if the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 match (YES in step S24), the system control unit 26 determines whether the identification code connected to the robot controller 20 It is determined that the emergency stop switch 40 and the emergency stop switch 40 attached to the mobile terminal 30 are the same. That is, in this case, the system control unit 26 determines that the emergency stop switch 40 connected to the robot controller 20 is correctly attached to the mobile terminal 30. Then, the system control unit 26 moves the process to step S25 and allows the robot 10 to operate based on the operation of the mobile terminal 30. Thereby, the user can operate the mobile terminal 30 to perform a teaching operation of the robot 10. Then, the system control unit 26 returns the process to step S22 and repeats the above control in a predetermined cycle.

以上説明した実施形態によれば、非常停止スイッチ40は、スイッチ本体部41と、取付部42と、識別コード部43と、を備える。スイッチ本体部41は、ロボット10の駆動を制御するロボットコントローラ20に有線接続されユーザの操作を受けてロボットコントローラ20の制御を非常停止状態に切り替える。取付部42は、ユーザの操作を受け付ける携帯端末30に対してスイッチ本体部41を着脱可能に取り付ける。識別コード部43は、取付部42を携帯端末30に取り付けた場合に携帯端末30が備えるカメラ31のレンズ311に対向する位置に設けられ、スイッチ本体部41を識別する識別コードをカメラ31で撮影可能な態様で表示する。 According to the embodiment described above, the emergency stop switch 40 includes a switch main body portion 41, a mounting portion 42, and an identification code portion 43. The switch main body 41 is connected by wire to the robot controller 20 that controls the drive of the robot 10, and switches the control of the robot controller 20 to an emergency stop state in response to a user's operation. The attachment portion 42 removably attaches the switch main body portion 41 to the mobile terminal 30 that receives user operations. The identification code part 43 is provided at a position facing the lens 311 of the camera 31 included in the mobile terminal 30 when the mounting part 42 is attached to the mobile terminal 30, and the identification code part 43 that identifies the switch body part 41 is photographed by the camera 31. Display in any possible manner.

これによれば、ユーザは、取付部42によって、非常停止スイッチ40のスイッチ本体部41をスマートフォンやタブレット端末等の携帯端末30に着脱可能に容易に取り付けることができる。そして、取付部42を携帯端末30に取り付けた場合、携帯端末30が備えるカメラ31のレンズ311に対向する位置には、識別コード部43が位置する。すなわち、カメラ31で撮影した画像内に識別コード部43が含まれていないということは、非常停止スイッチ40が携帯端末30に正しく装着されていないことを意味する。 According to this, the user can easily detachably attach the switch main body part 41 of the emergency stop switch 40 to the mobile terminal 30 such as a smartphone or a tablet terminal using the attaching part 42 . When the attachment part 42 is attached to the mobile terminal 30, the identification code part 43 is located at a position facing the lens 311 of the camera 31 included in the mobile terminal 30. That is, the fact that the identification code section 43 is not included in the image taken by the camera 31 means that the emergency stop switch 40 is not correctly attached to the mobile terminal 30.

一方、カメラ31で撮影した画像内に識別コード部43が含まれているということは、非常停止スイッチ40が携帯端末30に正しく装着されていることを意味する。そのため、携帯端末30又はロボットコントローラ20は、例えばカメラ31の撮影を一定間隔で実行し、その撮影した画像内に識別コード部43が含まれているか否かによって、非常停止スイッチ40が携帯端末30に装着されているか否かを判断することができる。このように、本発明によれば、スマートフォンやタブレット装置等の携帯端末30をロボット10の操作装置として使用する場合に、その携帯端末30に確実に非常停止スイッチ40を確実に装着されているようにすることができる。 On the other hand, the fact that the identification code section 43 is included in the image taken by the camera 31 means that the emergency stop switch 40 is correctly attached to the mobile terminal 30. Therefore, the mobile terminal 30 or the robot controller 20, for example, executes photography with the camera 31 at regular intervals, and depending on whether or not the identification code part 43 is included in the photographed image, the emergency stop switch 40 is activated on the mobile terminal 30. It can be determined whether the device is attached to the device or not. As described above, according to the present invention, when the mobile terminal 30 such as a smartphone or a tablet device is used as an operating device for the robot 10, it is possible to ensure that the emergency stop switch 40 is reliably attached to the mobile terminal 30. It can be done.

また、非常停止スイッチ40において、取付部42は、取付部42を携帯端末30に取り付けた場合にレンズ311から離間する方向へ突出した突出部421を有している。そして、識別コード部43は、突出部421の内側に面に設けられている。 Furthermore, in the emergency stop switch 40, the attachment portion 42 has a protrusion portion 421 that protrudes in a direction away from the lens 311 when the attachment portion 42 is attached to the mobile terminal 30. The identification code section 43 is provided on the inner surface of the protrusion 421.

これによれば、識別コード部43が突出部421の内側の面つまりカメラ31のレンズ311と対向する側の面に設けられていることから、非常停止スイッチ40を携帯端末30に取り付けた場合において、カメラ31のレンズ311から識別コード部43までの距離を確保し、その距離を一定に維持することができる。これにより、例えば識別コード部43がカメラ31のレンズ311の焦点距離よりも接近し過ぎることを防ぎ、携帯端末30のカメラ31による識別コード部43の撮影の精度を向上させることができる。 According to this, since the identification code part 43 is provided on the inner surface of the protruding part 421, that is, the surface facing the lens 311 of the camera 31, when the emergency stop switch 40 is attached to the mobile terminal 30, , it is possible to secure a distance from the lens 311 of the camera 31 to the identification code section 43 and maintain the distance constant. Thereby, for example, it is possible to prevent the identification code section 43 from coming too close to the camera 31 than the focal length of the lens 311 of the camera 31, and improve the accuracy of photographing the identification code section 43 by the camera 31 of the mobile terminal 30.

また、非常停止スイッチ40は、外部の光を識別コード部43へ導入可能な採光部422を更に備える。これによれば、採光部422から識別コード部43へ外光が導入されることによって、カメラ31の撮影に必要な光を確保することができる。そのため、これによればフラッシュやライト等の光源が無くても撮影に必要な光量を確保し易くなり、その結果、識別コード部43の撮影の精度、つまり識別コード部43に含まれる識別コードの認識精度を向上させることができる。 The emergency stop switch 40 further includes a lighting section 422 that can introduce external light into the identification code section 43. According to this, by introducing external light from the lighting section 422 to the identification code section 43, the light necessary for photographing with the camera 31 can be secured. Therefore, this makes it easier to secure the amount of light necessary for photography even without a light source such as a flash or light, and as a result, the accuracy of photography of the identification code section 43, that is, the accuracy of the identification code included in the identification code section 43. Recognition accuracy can be improved.

ここで、例えばスマートフォンなどの携帯端末は、フラッシュ用の光源を備えているものもある。しかしながら、このような光源は、一般的にレンズ311の近傍に設けられていることが多い。そのため、このようなフラッシュ用の光源を用いて識別コード部43を撮影すると、光源から識別コード部43までの距離が近すぎるため、光源からの光が強すぎていわゆる白飛びが生じ、その結果、識別コードの誤認識が生じて認識精度が低下してしまう可能性が高まる。そのため、本実施形態のように、カメラ31によって識別コード部43を接写する場合には、フラッシュ等の光源を用いずに撮影する方が有利である。 Here, for example, some mobile terminals such as smartphones are equipped with a light source for flash. However, such a light source is generally provided near the lens 311 in many cases. Therefore, when photographing the identification code section 43 using such a flash light source, the distance from the light source to the identification code section 43 is too short, and the light from the light source is too strong, resulting in so-called overexposure. , there is an increased possibility that the identification code will be misrecognized and the recognition accuracy will decrease. Therefore, when taking a close-up photo of the identification code section 43 with the camera 31 as in this embodiment, it is advantageous to take the photo without using a light source such as a flash.

これに対し、本実施形態によれば、非常停止スイッチ40は、識別コード部43へ外光を導入するための採光部422を備えていることにより、カメラ31の撮影に必要な光を確保することができる。これによれば、カメラ31は、フラッシュ等の光源を用いずに撮影することができるため、いわゆる白飛びが生じ難く、その結果、識別コード部43に含まれる識別コードの認識精度を向上させることができる。 In contrast, according to the present embodiment, the emergency stop switch 40 is provided with a lighting section 422 for introducing external light into the identification code section 43, thereby securing the light necessary for photographing with the camera 31. be able to. According to this, since the camera 31 can take pictures without using a light source such as a flash, so-called overexposure is less likely to occur, and as a result, the recognition accuracy of the identification code included in the identification code section 43 can be improved. I can do it.

また、例えば作業者が作業空間内に設置された照明等を付けずに暗所で操作しようとした場合、作業者は、操作対象となるロボット10の動作をはっきりと見ることができなくなるため、その操作には危険が伴う。これに対し、本実施形態によれば、作業空間が暗い場合には、採光部422から導入される光量が少なくなり、カメラ31による識別コード部43の撮影が適切に行われなくなる。つまり、本実施形態によれば、カメラ31により識別コード部43の撮影を適切に行うことができないような暗い環境下においてまでも、携帯端末30がロボット10の操作装置として機能してしまうことを防ぐことができ、その結果、安全性の向上が図られる。 Further, for example, if a worker tries to operate the robot 10 in a dark place without turning on the lights installed in the work space, the worker will not be able to clearly see the movement of the robot 10 that is the target of operation. Its operation is dangerous. In contrast, according to the present embodiment, when the work space is dark, the amount of light introduced from the lighting section 422 decreases, and the identification code section 43 is not properly photographed by the camera 31. In other words, according to the present embodiment, it is possible to prevent the mobile terminal 30 from functioning as an operating device for the robot 10 even in a dark environment where the identification code section 43 cannot be properly photographed by the camera 31. As a result, safety can be improved.

なお、カメラ31は、必要に応じて携帯端末30が備えるフラッシュ等の光源を用いて撮影しても良い。この場合、携帯端末30が備えるフラッシュ等の光源が輝度や発光時間を調整できるものであれば、携帯端末30は、その光源の輝度や発光時間等を調整して白飛びが生じないようにしても良い。 Note that the camera 31 may take pictures using a light source such as a flash included in the mobile terminal 30, if necessary. In this case, if the light source such as a flash included in the mobile terminal 30 can be adjusted in brightness and light emission time, the mobile terminal 30 adjusts the brightness and light emission time of the light source to prevent overexposure. Also good.

本実施形態のロボットシステム1は、ロボット10の駆動を制御するロボットコントローラ20と、カメラ31を有しロボットコントローラ20と無線通信可能な携帯端末30と、非常停止スイッチ40と、を備える。非常停止スイッチ40は、スイッチ本体部41と、取付部42と、識別コード部43と、を有する。スイッチ本体部41は、ロボットコントローラ20に有線接続されユーザの操作を受けてロボットコントローラ20の制御を非常停止状態に切り替える。取付部42は、携帯端末30に対してスイッチ本体部41を着脱可能に取り付ける。識別コード部43は、カメラ31のレンズ311に対向する位置に設けられスイッチ本体部41を識別する識別コードをカメラ31で撮影可能な態様で表示する。 The robot system 1 of this embodiment includes a robot controller 20 that controls the drive of the robot 10, a mobile terminal 30 that has a camera 31 and can communicate wirelessly with the robot controller 20, and an emergency stop switch 40. The emergency stop switch 40 includes a switch main body portion 41, a mounting portion 42, and an identification code portion 43. The switch main body 41 is connected to the robot controller 20 by wire, and switches the control of the robot controller 20 to an emergency stop state in response to a user's operation. The attachment portion 42 attaches the switch main body portion 41 to the mobile terminal 30 in a detachable manner. The identification code section 43 is provided at a position facing the lens 311 of the camera 31 and displays an identification code for identifying the switch body section 41 in a manner that can be photographed by the camera 31.

携帯端末30は、読取処理部33と、送信処理部34と、を有する。読取処理部33は、携帯端末30に非常停止スイッチ40が装着された場合に非常停止スイッチ40が備える識別コード部43をカメラ31で撮影してその撮影した画像から識別コード部43に含まれる識別コードを読み取る処理を行う。送信処理部34は、読取処理部33で読み取った識別コードをロボットコントローラ20に送信する処理を行う。 The mobile terminal 30 includes a reading processing section 33 and a transmission processing section 34. When the emergency stop switch 40 is attached to the mobile terminal 30, the reading processing unit 33 photographs the identification code section 43 included in the emergency stop switch 40 with the camera 31, and reads the identification included in the identification code section 43 from the photographed image. Performs the process of reading the code. The transmission processing section 34 performs a process of transmitting the identification code read by the reading processing section 33 to the robot controller 20.

そして、ロボットコントローラ20は、第1取得処理部23と、第2取得処理部24と、許可判断処理部25と、を有する。第1取得処理部23は、ロボットコントローラ20に有線接続された非常停止スイッチ40の識別コードをカメラ31で識別コード部43を撮影する方法とは異なる方法で取得する処理を行う。第2取得処理部24は、携帯端末30の送信処理部34から送信された識別コードを取得する処理を行う。許可判断処理部25は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致した場合に携帯端末30からの操作に基づくロボット10の駆動を許可する処理を行う。 The robot controller 20 includes a first acquisition processing section 23, a second acquisition processing section 24, and a permission determination processing section 25. The first acquisition processing section 23 performs processing for acquiring the identification code of the emergency stop switch 40 connected to the robot controller 20 by wire using a method different from the method of photographing the identification code section 43 with the camera 31. The second acquisition processing unit 24 performs a process of acquiring the identification code transmitted from the transmission processing unit 34 of the mobile terminal 30. The permission determination processing unit 25 allows the robot 10 to be driven based on the operation from the mobile terminal 30 when the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 match. Perform the processing to do.

これによれば、上述した非常停止スイッチ40を、スマートフォンやタブレット端末等の携帯端末30に容易に適用させることができる。すなわち、携帯端末30に非常停止スイッチ40を装着して操作装置として用いる場合、ロボットコントローラ20に実際に有線接続された非常停止スイッチ40と、携帯端末30に実際に装着された非常停止スイッチ40とが同一のものであることを確認する必要がある。 According to this, the above-described emergency stop switch 40 can be easily applied to the mobile terminal 30 such as a smartphone or a tablet terminal. That is, when the emergency stop switch 40 is attached to the mobile terminal 30 and used as an operating device, the emergency stop switch 40 actually connected to the robot controller 20 by wire and the emergency stop switch 40 actually attached to the mobile terminal 30 are separated. It is necessary to confirm that they are the same.

例えばあるロボットコントローラ20に有線接続された非常停止スイッチ40が、そのロボットコントローラ20に対応した携帯端末30とは異なる携帯端末に誤って装着されてしまった場合、ユーザは、非常停止スイッチ40を操作しても、目的とするロボット10を非常停止させることができない。つまりこの場合、ユーザは、実質的に非常停止機能を有さない携帯端末30を、操作装置として使用することになるため、安全性に問題が生じる。そのため、携帯端末30に非常停止スイッチ40を装着して操作装置として用いる場合、ロボットコントローラ20と、携帯端末30と、非常停止スイッチ40とを相互に紐付けする必要がある。 For example, if an emergency stop switch 40 connected by wire to a certain robot controller 20 is mistakenly attached to a mobile terminal different from the mobile terminal 30 corresponding to the robot controller 20, the user operates the emergency stop switch 40. However, the target robot 10 cannot be brought to an emergency stop. In other words, in this case, the user uses the mobile terminal 30, which does not substantially have an emergency stop function, as an operating device, which poses a safety problem. Therefore, when the emergency stop switch 40 is attached to the mobile terminal 30 and used as an operating device, it is necessary to link the robot controller 20, the mobile terminal 30, and the emergency stop switch 40 to each other.

これに対し、本構成によれば、ロボットコントローラ20において、第1取得処理部23は、ロボットコントローラ20に有線接続された又は有線接続される非常停止スイッチ40の識別コードを取得する。これにより、ロボットコントローラ20は、第1取得処理部23で取得した識別コードにより、ロボットコントローラ20と非常停止スイッチ40との紐付けを行うことができる。また、第2取得処理部24は、携帯端末30に実際に装着された非常停止スイッチ40の識別コードを取得する。これにより、ロボットコントローラ20は、第2取得処理部24で取得した識別コードにより、携帯端末30と非常停止スイッチ40との紐付けを行うことができる。 On the other hand, according to this configuration, in the robot controller 20, the first acquisition processing unit 23 acquires the identification code of the emergency stop switch 40 that is or is connected to the robot controller 20 by wire. Thereby, the robot controller 20 can link the robot controller 20 and the emergency stop switch 40 using the identification code acquired by the first acquisition processing section 23. The second acquisition processing unit 24 also acquires the identification code of the emergency stop switch 40 actually attached to the mobile terminal 30. Thereby, the robot controller 20 can link the mobile terminal 30 and the emergency stop switch 40 using the identification code acquired by the second acquisition processing section 24.

そして、許可判断処理部25は、第1取得処理部23で取得した識別コードと第2取得処理部24で取得した識別コードとが一致した場合、つまりロボットコントローラ20に有線接続された非常停止スイッチ40と、携帯端末30に装着された非常停止スイッチ40とが同一のものであると確認された場合に、携帯端末30からの操作に基づくロボット10の駆動を許可する。 Then, if the identification code acquired by the first acquisition processing unit 23 and the identification code acquired by the second acquisition processing unit 24 match, the permission determination processing unit 25 determines whether the emergency stop switch connected by wire to the robot controller 20 40 and the emergency stop switch 40 attached to the mobile terminal 30 are confirmed to be the same, the robot 10 is permitted to be driven based on the operation from the mobile terminal 30.

つまり、例えばあるロボットコントローラ20に有線接続された非常停止スイッチ40が、そのロボットコントローラ20に対応した携帯端末30とは異なる携帯端末に誤って装着されてしまった場合には、携帯端末30からの操作に基づくロボット10の駆動を許可されない。このため、携帯端末30に非常停止スイッチ40が装着されていなかったり、誤って他のロボットに対応した非常停止スイッチを装着してしまったりして、携帯端末30が実質的に非常停止機能を有していない場合には、その携帯端末30を操作装置として使用することができないため、安全性を確保することができる。 In other words, for example, if the emergency stop switch 40 connected to a certain robot controller 20 by wire is mistakenly attached to a mobile terminal different from the mobile terminal 30 corresponding to that robot controller 20, the Drive of the robot 10 based on the operation is not permitted. For this reason, if the emergency stop switch 40 is not installed on the mobile terminal 30 or if an emergency stop switch compatible with another robot is installed by mistake, the mobile terminal 30 may not actually have an emergency stop function. If not, the mobile terminal 30 cannot be used as an operating device, so safety can be ensured.

(第2実施形態)
次に、第2実施形態について図7を参照して説明する。第2実施形態では、第1取得処理部23による非常停止スイッチ40の識別コードの取得方法が、上記第1実施形態と異なる。
本実施形態の非常停止スイッチ40は、図7に示すように、上記第1実施形態の非常停止スイッチ40の構成に加えて、コネクタ401及び識別コード記憶部44を備えている。コネクタ401は、上記第1実施形態のコネクタ201に代替するものであり、例えば非常停止スイッチ40のスイッチ本体部41に設けられている。コネクタ201は、ロボットコントローラ20から延び出た接続線411を着脱可能に接続する。識別コード記憶部44は、非常停止スイッチ40のスイッチ本体部41の識別コードを記憶する。
(Second embodiment)
Next, a second embodiment will be described with reference to FIG. 7. In the second embodiment, the method of acquiring the identification code of the emergency stop switch 40 by the first acquisition processing unit 23 is different from the first embodiment.
As shown in FIG. 7, the emergency stop switch 40 of this embodiment includes a connector 401 and an identification code storage section 44 in addition to the configuration of the emergency stop switch 40 of the first embodiment. The connector 401 is a substitute for the connector 201 of the first embodiment, and is provided, for example, in the switch body 41 of the emergency stop switch 40. The connector 201 detachably connects a connection line 411 extending from the robot controller 20. The identification code storage section 44 stores the identification code of the switch body section 41 of the emergency stop switch 40.

そして、コネクタ401及び接続線411を介して非常停止スイッチ40がロボットコントローラ20に有線接続されると、第1取得処理部23は、識別コード記憶部44にアクセスして、識別コード記憶部44に記憶されている非常停止スイッチ40の識別コードを自動で取得する。つまり、識別コード記憶部44に記憶されている識別コードは、非常停止スイッチ40がロボットコントローラ20に有線接続された場合にロボットコントローラ20に自動で送信される。 Then, when the emergency stop switch 40 is wired connected to the robot controller 20 via the connector 401 and the connection line 411, the first acquisition processing section 23 accesses the identification code storage section 44 and stores the information in the identification code storage section 44. The stored identification code of the emergency stop switch 40 is automatically acquired. That is, the identification code stored in the identification code storage section 44 is automatically transmitted to the robot controller 20 when the emergency stop switch 40 is connected to the robot controller 20 by wire.

ここで、例えば一つの作業現場に複数台のロボット10が存在する場合、ユーザは、各ロボット10に対応させて複数の非常停止スイッチ40を準備することが考えられる。この場合、各ロボットコントローラ20は、それぞれ自己に実際に有線接続された非常停止スイッチ40の識別コードを予め登録しておくことで、他のロボットコントローラに接続された非常停止スイッチとの混同を防止することができる。この場合、ロボットコントローラ20に対する識別コードの登録は、例えばユーザが例えば携帯端末30や、ロボットコントローラ20に接続されたユーザインタフェースデバイス等を用いて手作業で行うことが考えられるが、この作業を手作業で行うのは煩雑である。 Here, for example, if a plurality of robots 10 are present at one work site, the user may prepare a plurality of emergency stop switches 40 corresponding to each robot 10. In this case, each robot controller 20 registers in advance the identification code of the emergency stop switch 40 actually connected to itself by wire to prevent confusion with an emergency stop switch connected to another robot controller. can do. In this case, it is conceivable that the user manually registers the identification code for the robot controller 20 using, for example, the mobile terminal 30 or a user interface device connected to the robot controller 20; It is complicated to do at work.

一方、本実施形態によれば、非常停止スイッチ40の識別コードは、ユーザが非常停止スイッチ40をロボットコントローラ20に接続するだけで、その非常停止スイッチ40の識別コードが自動でロボットコントローラ20に登録される。そのため、ユーザは、非常停止スイッチ40の識別コードの登録作業が不要となり、その結果、利便性の向上を図ることができる。 On the other hand, according to the present embodiment, the identification code of the emergency stop switch 40 is automatically registered in the robot controller 20 simply by the user connecting the emergency stop switch 40 to the robot controller 20. be done. Therefore, the user does not need to register the identification code of the emergency stop switch 40, and as a result, convenience can be improved.

また、本実施形態によれば、非常停止スイッチ40と、ロボット10及びロボットコントローラ20との対応関係を、予め設定しておく必要がない。つまり、ユーザは、非常停止スイッチ40を、あるロボットコントローラから他のロボットコントローラ20に接続し直すことで、その非常停止スイッチ40を新たに接続したロボットコントローラ20に紐付けすることができる。したがって、これによれば、1つの非常停止スイッチ40を複数のロボット10及びロボットコントローラ20に対応させることができるため、非常停止スイッチ40の流用性が増して、利便性の向上が図られる。 Furthermore, according to the present embodiment, there is no need to set the correspondence between the emergency stop switch 40, the robot 10, and the robot controller 20 in advance. That is, by reconnecting the emergency stop switch 40 from one robot controller to another robot controller 20, the user can link the emergency stop switch 40 to the newly connected robot controller 20. Therefore, according to this, one emergency stop switch 40 can be made compatible with a plurality of robots 10 and robot controllers 20, so the usability of the emergency stop switch 40 is increased and convenience is improved.

なお、上記説明した各実施形態は、上記し且つ図面に記載した各実施形態に限定されるものではなく、発明の要旨を逸脱しない範囲において適宜変更することができる。 The embodiments described above are not limited to the embodiments described above and illustrated in the drawings, and can be modified as appropriate without departing from the gist of the invention.

図面中、1はロボットシステム、10はロボット、20はロボットコントローラ、23は第1取得処理部、24は第2取得処理部、25は許可判断処理部、30は携帯端末、33は読取処理部、34は送信処理部、40は非常停止スイッチ、41はスイッチ本体部、42は取付部、421は突出部、422は開口部(採光部)、43は識別コード部、44は識別コード記憶部、を示す。 In the drawings, 1 is a robot system, 10 is a robot, 20 is a robot controller, 23 is a first acquisition processing section, 24 is a second acquisition processing section, 25 is a permission judgment processing section, 30 is a mobile terminal, and 33 is a reading processing section. , 34 is a transmission processing section, 40 is an emergency stop switch, 41 is a switch main body, 42 is a mounting section, 421 is a protrusion, 422 is an opening (lighting section), 43 is an identification code section, 44 is an identification code storage section , is shown.

Claims (3)

ユーザの操作を受けてロボットを非常停止状態に切り替えるスイッチ本体部と、
ユーザの操作を受け付ける携帯端末に対して前記スイッチ本体部を着脱可能に取り付ける取付部と、
前記取付部を前記携帯端末に取り付けた状態で前記スイッチ本体部を識別する識別コードを前記携帯端末が備えるカメラで撮影可能な態様で表示する識別コード部と、
を備え
前記取付部は、
前記取付部を前記携帯端末に取り付けた場合に前記カメラから離間する方向へ突出した突出部と、
前記突出部の一部に前記突出部の内部と外部とを連通して形成され、前記突出部の外部の光を前記突出部の内側へ導入可能な採光部として機能する開口部と、を有し、
前記識別コード部は、前記突出部の内側の面に設けられている、
非常停止スイッチ。
A switch body that switches the robot to an emergency stop state in response to a user's operation;
a mounting section that removably attaches the switch body to a mobile terminal that accepts user operations;
an identification code section that displays an identification code for identifying the switch main body in a state where the mounting section is attached to the mobile terminal in a manner that can be photographed with a camera included in the mobile terminal;
Equipped with
The mounting part is
a protruding portion that protrudes in a direction away from the camera when the attaching portion is attached to the mobile terminal;
An opening is formed in a part of the protrusion to communicate the inside and outside of the protrusion, and functions as a lighting part that can introduce light from outside the protrusion into the inside of the protrusion. death,
The identification code portion is provided on an inner surface of the protrusion.
Emergency stop switch.
前記識別コード部は、1次元コード又は2次元コードであって前記取付部に貼付又は直接印刷されることにより前記取付部に表示されている、
請求項1に記載の非常停止スイッチ。
The identification code section is a one-dimensional code or a two-dimensional code, and is displayed on the mounting section by being pasted or directly printed on the mounting section.
The emergency stop switch according to claim 1.
前記識別コード部は、前記取付部のうち前記カメラと対向する平坦面部分に設けられている、
請求項2に記載の非常停止スイッチ。
The identification code portion is provided on a flat surface portion of the mounting portion that faces the camera;
The emergency stop switch according to claim 2.
JP2021208215A 2018-09-20 2021-12-22 Emergency stop switch and robot system Active JP7367749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021208215A JP7367749B2 (en) 2018-09-20 2021-12-22 Emergency stop switch and robot system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018176207A JP7006550B2 (en) 2018-09-20 2018-09-20 Emergency stop switch and robot system
JP2021208215A JP7367749B2 (en) 2018-09-20 2021-12-22 Emergency stop switch and robot system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018176207A Division JP7006550B2 (en) 2018-09-20 2018-09-20 Emergency stop switch and robot system

Publications (3)

Publication Number Publication Date
JP2022028062A JP2022028062A (en) 2022-02-14
JP2022028062A5 JP2022028062A5 (en) 2023-02-24
JP7367749B2 true JP7367749B2 (en) 2023-10-24

Family

ID=69900511

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018176207A Active JP7006550B2 (en) 2018-09-20 2018-09-20 Emergency stop switch and robot system
JP2021208215A Active JP7367749B2 (en) 2018-09-20 2021-12-22 Emergency stop switch and robot system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018176207A Active JP7006550B2 (en) 2018-09-20 2018-09-20 Emergency stop switch and robot system

Country Status (1)

Country Link
JP (2) JP7006550B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102549292B1 (en) * 2022-06-09 2023-06-30 임형순 Repositionable Velcro Type Wireless Emergency Switch System
WO2024004163A1 (en) * 2022-06-30 2024-01-04 ファナック株式会社 Mechanical manipulation system for executing authentication process, and computer program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067576A (en) 2005-08-29 2007-03-15 Nec Corp Mobile terminal, content server, control program for them, and content providing and advertising service system
WO2017198580A1 (en) 2016-05-20 2017-11-23 Kuka Roboter Gmbh Mobile security basic control device comprising a coding device for a mobile terminal with multi-touchscreen and method for setting up a uniquely assigned control link
JP2017213645A (en) 2016-05-31 2017-12-07 株式会社アスコ Teaching device
JP2018072882A (en) 2016-10-24 2018-05-10 ファナック株式会社 Emergency stop system attachable to portable device
JP2018130803A (en) 2017-02-16 2018-08-23 ファナック株式会社 Operation command system for robot, tablet terminal and control method of tablet terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3602587B2 (en) * 1994-12-19 2004-12-15 オリンパス株式会社 Camera system and camera body
JP2004355195A (en) 2003-05-28 2004-12-16 Yaskawa Electric Corp Teaching operation device for robot
DE102010025781B4 (en) 2010-07-01 2022-09-22 Kuka Roboter Gmbh Portable safety input device for a robot controller
WO2014127822A1 (en) 2013-02-21 2014-08-28 Abb Technology Ltd An industrial robot system comprising an enabling unit and a plurality of general purpose devices and a method for controlling the robot system
JP6289837B2 (en) * 2013-08-23 2018-03-07 マクセルホールディングス株式会社 Skin condition measurement analysis information management system and skin condition measurement analysis information management method
JP6398237B2 (en) 2014-03-14 2018-10-03 オムロン株式会社 Radio control terminal, radio control device for control object, emergency stop control program
JP6511011B2 (en) 2016-05-11 2019-05-08 川崎重工業株式会社 Robot teaching device
DE102016211244B4 (en) 2016-06-23 2018-01-18 Kuka Roboter Gmbh Robotic handheld device network with a basic control position sensor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007067576A (en) 2005-08-29 2007-03-15 Nec Corp Mobile terminal, content server, control program for them, and content providing and advertising service system
WO2017198580A1 (en) 2016-05-20 2017-11-23 Kuka Roboter Gmbh Mobile security basic control device comprising a coding device for a mobile terminal with multi-touchscreen and method for setting up a uniquely assigned control link
JP2017213645A (en) 2016-05-31 2017-12-07 株式会社アスコ Teaching device
JP2018072882A (en) 2016-10-24 2018-05-10 ファナック株式会社 Emergency stop system attachable to portable device
JP2018130803A (en) 2017-02-16 2018-08-23 ファナック株式会社 Operation command system for robot, tablet terminal and control method of tablet terminal

Also Published As

Publication number Publication date
JP7006550B2 (en) 2022-01-24
JP2020044625A (en) 2020-03-26
JP2022028062A (en) 2022-02-14

Similar Documents

Publication Publication Date Title
JP7367749B2 (en) Emergency stop switch and robot system
CN106415413B (en) Programmable display, portable terminal device, data processing method
CN107921624B (en) Industrial remote operation robot system
US7863848B2 (en) Industrial robot system
JP4822116B2 (en) Vehicle and remote control device
US20180071913A1 (en) Robot system having teach pendant communicating with robot controller
WO2014103954A1 (en) Lens module and portable photography device
JP2007003646A (en) Camera system, lens unit and accessory
KR101779718B1 (en) Safety cane apparatus for blind people and control method thereof
US20190102519A1 (en) Targeting adapter for mobile scanning device
US9894226B2 (en) Information processing apparatus, setting condition specification method for image forming apparatus
KR102025832B1 (en) Smart cane
JP2017041417A (en) Electronic apparatus, control method thereof, and program
US9904828B2 (en) Portable information code reader
KR100958449B1 (en) The bar code scanner with function of picture-taking
EP1718066A2 (en) Thermal imaging device
KR20190132506A (en) Reading system and camera
JP2008278253A (en) Camera state display device
JP4331774B2 (en) Scanner device
JP6233737B2 (en) Motion detection device and control system
US20150185588A1 (en) Strobe device and image pick-up device provided with strobe device
EP3296918A1 (en) Reading device and portable device
JP2021127225A (en) Label reading device, delivery management device and erroneous delivery prevention system
JP2015094863A (en) Photographing device
JP7327946B2 (en) Wireless communication 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: 20211222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230228

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20230426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230925

R150 Certificate of patent or registration of utility model

Ref document number: 7367749

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150