JP7127316B2 - Robot, robot control method and program - Google Patents

Robot, robot control method and program Download PDF

Info

Publication number
JP7127316B2
JP7127316B2 JP2018053820A JP2018053820A JP7127316B2 JP 7127316 B2 JP7127316 B2 JP 7127316B2 JP 2018053820 A JP2018053820 A JP 2018053820A JP 2018053820 A JP2018053820 A JP 2018053820A JP 7127316 B2 JP7127316 B2 JP 7127316B2
Authority
JP
Japan
Prior art keywords
motion
collision
movable
robot
unit
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
JP2018053820A
Other languages
Japanese (ja)
Other versions
JP2019166580A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2018053820A priority Critical patent/JP7127316B2/en
Publication of JP2019166580A publication Critical patent/JP2019166580A/en
Application granted granted Critical
Publication of JP7127316B2 publication Critical patent/JP7127316B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Toys (AREA)
  • Manipulator (AREA)

Description

本発明は、ロボット、ロボットの制御方法及びプログラムに関する。 The present invention relates to a robot, a robot control method, and a program.

ユーザの行動に対して、自律的に動作するロボットが知られている。例えば、特許文献1のロボット(疑似生物機器)は、特定人からの許可動作を認識すると、その特定人に戯れる行動を実行する。 Robots that operate autonomously in response to user actions are known. For example, when the robot (pseudo-biological device) disclosed in Patent Document 1 recognizes a motion permitted by a specific person, it performs a playful action toward the specific person.

特開2003-190651号公報Japanese Patent Application Laid-Open No. 2003-190651

しかしながら、特許文献1のロボットは、ユーザが、意図せず、ロボットに衝突すると、ロボットの所定の動作によって、ユーザに過大な力が掛かるおそれがある。 However, if the user unintentionally collides with the robot of Patent Document 1, there is a risk that excessive force will be applied to the user due to the predetermined movement of the robot.

本発明は、前記の事情に鑑みてなされたものであり、所定の対象からの衝突に対して、所定の対象に過大な力が掛かるおそれの小さい動作を実行するロボット、ロボットの制御方法及びプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides a robot, a robot control method, and a program for executing an action with a small risk of applying excessive force to a predetermined object in response to a collision from the predetermined object. intended to provide

前記目的を達成するため、本発明に係るロボットの一様態は、
動部を駆動する駆動手段と、
所定の対象からの衝突を検出する衝突検出手段と、
前記衝突検出手段により前記衝突が検出された場合、衝突した前記所定の対象を含む所定の領域を前記可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する動作生成手段と、
前記動作生成手段により生成された前記動作に基づいて、前記駆動手段を制御する駆動制御手段と、
を備える、
ことを特徴とする。
In order to achieve the above object, one aspect of the robot according to the present invention is
a driving means for driving the movable part;
collision detection means for detecting a collision from a predetermined object;
When the collision is detected by the collision detection means, a predetermined area including the predetermined target with which the collision has occurred is set as an operation prohibited area of the movable section, and an operation of the movable section that avoids the operation prohibited area is generated. a motion generating means for
drive control means for controlling the drive means based on the motion generated by the motion generation means;
comprising
It is characterized by

前記目的を達成するため、本発明に係るロボットの制御方法の一様態は、
所定の対象からの衝突を検出する工程と、
前記衝突が検出された場合、前記所定の対象を含む所定の領域をロボットの可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する工程と、
生成された前記動作に基づいて、前記可動部を駆動する工程と、
を含む、
ことを特徴とする。
In order to achieve the above object, one aspect of the robot control method according to the present invention includes:
detecting a collision from a given target;
setting a predetermined area including the predetermined target as an operation prohibited area of the movable part of the robot when the collision is detected, and generating an operation of the movable part that avoids the operation prohibited area ;
driving the movable part based on the generated motion;
including,
It is characterized by

前記目的を達成するため、本発明に係るプログラムの一様態は、
ロボットを制御するコンピュータを、
所定の対象からの衝突を検出する衝突検出手段、
前記衝突検出手段により前記衝突が検出された場合、前記所定の対象を含む所定の領域を前記ロボットの可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する動作生成手段、
前記動作生成手段が生成した前記動作に基づいて、前記可動部を駆動する駆動手段を制御する駆動制御手段、
として機能させる、
ことを特徴とする。
In order to achieve the above object, one aspect of the program according to the present invention is
The computer that controls the robot,
Collision detection means for detecting a collision from a predetermined object;
When the collision is detected by the collision detection means, a predetermined area including the predetermined object is set as an operation prohibited area of the movable portion of the robot, and an operation of the movable portion that avoids the operation prohibited area is generated. a motion generating means for
drive control means for controlling drive means for driving the movable portion based on the motion generated by the motion generation means;
to function as
It is characterized by

本発明によれば、所定の対象からの衝突に対して、所定の対象に過大な力が掛かるおそれの小さい動作を実行するロボット、ロボットの制御方法及びプログラムを提供できる。 Advantageous Effects of Invention According to the present invention, it is possible to provide a robot, a robot control method, and a program that perform an action with little risk of applying excessive force to a predetermined object in response to a collision from the predetermined object.

本発明の実施の形態に係るロボットを示す正面図である。1 is a front view showing a robot according to an embodiment of the invention; FIG. 本発明の実施の形態に係るロボットを示す上面図である。1 is a top view showing a robot according to an embodiment of the invention; FIG. 本発明の実施の形態に係るロボットのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the robot which concerns on embodiment of this invention. 本発明の実施の形態に係るロボットの腕部の動作を示す正面図である。FIG. 4 is a front view showing motions of the arms of the robot according to the embodiment of the present invention; 本発明の実施の形態に係るロボットの腕部の動作を示す側面図である。FIG. 4 is a side view showing motion of the arm of the robot according to the embodiment of the present invention; 本発明の実施の形態に係るロボットの頭部の動作を示す正面図である。FIG. 4 is a front view showing motion of the head of the robot according to the embodiment of the present invention; 本発明の実施の形態に係るロボットの頭部の動作を示す側面図である。FIG. 4 is a side view showing motion of the head of the robot according to the embodiment of the present invention; 本発明の実施の形態に係るロボットの構成を示すブロック図である。1 is a block diagram showing the configuration of a robot according to an embodiment of the present invention; FIG. 本発明の実施の形態に係る所定の対象からの衝突の位置と方向とのうちの少なくとも1つを示す正面図である。FIG. 4 is a front view showing at least one of the position and direction of collision from a predetermined object according to the embodiment of the present invention; 図9に示す衝突の位置と方向とのうちの少なくとも1つを上方から見て、衝突の位置から衝突の方向とは反対方向を中心として所定の極角の範囲内の領域を示す上面図である。FIG. 10 is a top view showing an area within a predetermined polar angle range centered in a direction opposite to the direction of the collision from the position of the collision, as seen from above at least one of the positions and directions of the collision shown in FIG. 9 ; be. 図9に示す衝突の位置と方向とのうちの少なくとも1つを右側から見て、衝突の位置から衝突の方向とは反対方向を中心として所定の極角の範囲内の領域を示す側面図である。FIG. 10 is a side view showing an area within a predetermined polar angle range centered on a direction opposite to the direction of the collision from the position of the collision when at least one of the positions and directions of the collision shown in FIG. 9 is viewed from the right side; be. 本発明の実施の形態に係る頭部に右方向から衝突した場合の可動部の動作方向を示す正面図である。FIG. 10 is a front view showing the direction of movement of the movable portion when the head is collided from the right side according to the embodiment of the present invention; 本発明の実施の形態に係る、胴体部に前方右側に左右方向に対して所定の角度から衝突した場合における、可動部が所定の極角の範囲内の領域から遠ざかる方向に動作した複数の状態を示す上面図である。A plurality of states in which the movable part moves away from the area within the range of the predetermined polar angle when the body section is collided with the front right side at a predetermined angle with respect to the left-right direction, according to the embodiment of the present invention. It is a top view showing 本発明の実施の形態に係る、胴体部に前方右側に左右方向に対して所定の角度から衝突した場合における、可動部の動作方向を示す上面図である。FIG. 10 is a top view showing the direction of movement of the movable part when the body part is collided with the front right side at a predetermined angle with respect to the left-right direction according to the embodiment of the present invention; 本発明の実施の形態に係る、右側の腕部に前方右側に左右方向に対して所定の角度から衝突した場合における、可動部の動作方向を示す上面図である。FIG. 10 is a top view showing the direction of movement of the movable portion when the right arm is collided with the front right side from a predetermined angle with respect to the left-right direction according to the embodiment of the present invention; 本発明の実施の形態に係る所定の対象からの衝突に対する動作処理を示すフローチャートである。4 is a flow chart showing operation processing for a collision from a predetermined object according to the embodiment of the present invention; 本発明の実施の形態に係る動作方向設定処理を示すフローチャートである。4 is a flowchart showing operation direction setting processing according to the embodiment of the present invention; 本発明の実施の形態に係る動作方向情報の例を示す図である。It is a figure which shows the example of the operation|movement direction information which concerns on embodiment of this invention.

図面を参照して、本発明の実施の形態に係るロボット100を説明する。 A robot 100 according to an embodiment of the present invention will be described with reference to the drawings.

ロボット100は、人を模した形状を有し、所定の対象の行動に対して種々の所定の動作を実行する。ここで、所定の対象は、人(例えば、ロボット100のユーザ)、動物、他のロボット等である。 The robot 100 has a human-like shape and performs various predetermined actions in response to predetermined target actions. Here, the predetermined target is a person (for example, a user of the robot 100), an animal, another robot, or the like.

ロボット100は、図1、図2に示すように、胴体部102と、一対の腕部104と、頭部108と、を備える。また、ロボット100は、胴体部102と一対の腕部104のそれぞれとを連結している一対の肩関節部105と、胴体部102と頭部108とを連結している首関節部109と、胴体部102の下部にロボット100を移動する図示しない移動部と、を備える。なお、理解を容易にするために、図1の上下方向をロボット100の上下方向、図1の左右方向をロボット100の左右方向として説明する。また、図1の正面方向(紙面の手前側)を前方、図1の背面方向(紙面の奥側)を後方として説明する。 The robot 100 includes a body 102, a pair of arms 104, and a head 108, as shown in FIGS. The robot 100 also includes a pair of shoulder joints 105 connecting the body 102 and the pair of arms 104 respectively, a neck joint 109 connecting the body 102 and the head 108, A moving part (not shown) for moving the robot 100 is provided below the body part 102 . 1 is the vertical direction of the robot 100, and the horizontal direction of FIG. 1 is the horizontal direction of the robot 100 for easy understanding. Also, the front direction in FIG. 1 (the front side of the paper) will be described as the front, and the back direction in FIG. 1 (the back side of the paper) will be described as the rear.

図3は、ロボット100のハードウェア構成を示す。ロボット100は、制御部120と記憶部150とバッテリ155と可動部160と駆動部170と加速度センサ180とを備える。 FIG. 3 shows the hardware configuration of the robot 100. As shown in FIG. The robot 100 includes a control section 120 , a storage section 150 , a battery 155 , a movable section 160 , a driving section 170 and an acceleration sensor 180 .

制御部120は、胴体部102内に設けられ、ロボット100の各部の動作を制御する。制御部120は、CPU(Central Processing Unit)122とメモリ124とから構成される。メモリ124は、例えば、ROM(Read Only Memory)とRAM(Random Access Memory)とを有する。制御部120の機能は、CPU122がメモリ124に記憶されたプログラムを実行することによって実現される。 The control unit 120 is provided inside the body unit 102 and controls the operation of each unit of the robot 100 . The control unit 120 is composed of a CPU (Central Processing Unit) 122 and a memory 124 . The memory 124 has, for example, ROM (Read Only Memory) and RAM (Random Access Memory). The functions of control unit 120 are implemented by CPU 122 executing a program stored in memory 124 .

記憶部150は、制御部120がロボット100の各部を制御するためのデータを記憶する。記憶部150は、後述する、衝突を判別するためのしきい値、可動部160を選択するための予め設定された距離、ロボット動作情報、移動量情報、遅延時間情報等を記憶している。記憶部150は、例えば、ROMとRAMとを有する。 The storage unit 150 stores data for the control unit 120 to control each unit of the robot 100 . The storage unit 150 stores a threshold value for determining a collision, a preset distance for selecting the movable unit 160, robot operation information, movement amount information, delay time information, and the like, which will be described later. The storage unit 150 has, for example, a ROM and a RAM.

バッテリ155は、胴体部102内に設けられ、ロボット100の各部に電力を供給する蓄電池から構成される。 The battery 155 is provided in the body section 102 and is composed of a storage battery that supplies electric power to each section of the robot 100 .

可動部160は、胴体部102に対して動かすことができる部位である。具体的には、図1、図2に示す一対の腕部104と頭部108が、可動部160として機能する。本実施の形態では、図1、図2に示すように、腕部104の自由端104aが下方を、頭部108の自由端108aが上方を向いた状態を、ロボット100の初期状態(電源投入直後の状態)とする。 The movable part 160 is a part that can be moved with respect to the body part 102 . Specifically, the pair of arm portion 104 and head portion 108 shown in FIGS. 1 and 2 function as movable portion 160 . In this embodiment, as shown in FIGS. 1 and 2, the state in which the free end 104a of the arm 104 faces downward and the free end 108a of the head 108 faces upward is defined as the initial state of the robot 100 (when the power is turned on). state immediately after).

腕部104のそれぞれは、前後方向に延びる可動軸162aと左右方向に延びる可動軸162bとを中心に回転可能である。換言すれば、腕部104のそれぞれは、互いに直交する可動軸162aと可動軸162bとのそれぞれを中心に回転可能である。 Each of the arms 104 is rotatable around a movable shaft 162a extending in the front-rear direction and a movable shaft 162b extending in the left-right direction. In other words, each of the arms 104 is rotatable about a movable shaft 162a and a movable shaft 162b that are orthogonal to each other.

本実施の形態では、腕部104のそれぞれは、可動軸162aと可動軸162bとのいずれか一方を中心に回転する。具体的には、腕部104は、図4に示すように、左右方向に腕部104の自由端104aを向けるように可動軸162aを中心に回転するか、図5に示すように、前後方向に腕部104の自由端104aを向けるように可動軸162bを中心に回転する。肩関節部105には、図示しない溝部が設けられ、肩関節部105と腕部104とが干渉しない構成とされている。 In the present embodiment, each arm 104 rotates about one of movable shaft 162a and movable shaft 162b. Specifically, the arm portion 104 rotates about the movable shaft 162a so that the free end 104a of the arm portion 104 faces in the horizontal direction as shown in FIG. 4, or rotates in the front-rear direction as shown in FIG. The free end 104a of the arm 104 rotates about the movable shaft 162b so that the free end 104a of the arm 104 faces toward the left. The shoulder joint portion 105 is provided with a groove (not shown) so that the shoulder joint portion 105 and the arm portion 104 do not interfere with each other.

図2に戻り、頭部108は、前後方向に延びる可動軸164a(ロール軸)と、左右方向に延びる可動軸164b(ピッチ軸)と、を中心に回転可能である。すなわち、頭部108は、互いに直交する可動軸164aと可動軸164bとのそれぞれを中心に回転可能である。 Returning to FIG. 2, the head 108 is rotatable around a movable axis 164a (roll axis) extending in the front-rear direction and a movable axis 164b (pitch axis) extending in the left-right direction. That is, the head 108 is rotatable around a movable axis 164a and a movable axis 164b that are perpendicular to each other.

本実施の形態では、頭部108は、可動軸164aと可動軸164bとのいずれか一方を中心に回転する。頭部108は、図6に示すように、左右方向に頭部108の自由端108aを向けるように可動軸164aを中心に回転するか、図7に示すように、前後方向に頭部108の自由端108aを向けるように可動軸164bを中心に回転する。 In the present embodiment, head 108 rotates around either one of movable shaft 164a and movable shaft 164b. The head 108 rotates around a movable shaft 164a so that the free end 108a of the head 108 faces in the left-right direction as shown in FIG. It rotates about the movable shaft 164b so that the free end 108a faces.

図3に戻り、駆動部170は、図示しないモータ、アクチュエータ等の駆動部材から構成される。駆動部170は、例えば、図1、図2に示す肩関節部105のそれぞれと首関節部109とに設けられ、可動部160を駆動する。具体的には、駆動部170は、可動部160の可動軸162a、162b、164a、164bを回転させる。駆動部170は駆動手段として機能する。 Returning to FIG. 3, the driving section 170 is composed of driving members such as a motor and an actuator (not shown). The driving section 170 is provided, for example, in each of the shoulder joint section 105 and the neck joint section 109 shown in FIGS. Specifically, the drive section 170 rotates the movable shafts 162 a , 162 b , 164 a and 164 b of the movable section 160 . The driving section 170 functions as driving means.

図3に戻り、加速度センサ180は、ロボット100に生じる加速度と加速方向とを測定する。加速度センサ180は、例えば、図1、図2に示す胴体部102と頭部108とに設けられる。加速度センサ180は、後述する衝突検出部125と共に衝突検出部手段として機能する。 Returning to FIG. 3, the acceleration sensor 180 measures the acceleration and acceleration direction generated in the robot 100 . The acceleration sensors 180 are provided, for example, on the body portion 102 and the head portion 108 shown in FIGS. The acceleration sensor 180 functions as collision detection section means together with the collision detection section 125, which will be described later.

次に、図8~15を参照して、ロボット100の機能的な構成について説明する。ロボット100は、各部を制御する制御部120と、データを記憶する記憶部150と、胴体部102に対して動かすことができる部位である可動部160と、可動部160を駆動する駆動部170と、ロボット100に生じる加速度と加速方向とを測定する加速度センサ180と、を備える。 Next, the functional configuration of the robot 100 will be described with reference to FIGS. 8 to 15. FIG. The robot 100 includes a control section 120 that controls each section, a storage section 150 that stores data, a movable section 160 that can be moved relative to the body section 102, and a drive section 170 that drives the movable section 160. , and an acceleration sensor 180 that measures the acceleration occurring in the robot 100 and the acceleration direction.

制御部120は、図8に示すように、衝突検出部125と動作生成部130と駆動制御部145とを備える。 The controller 120 includes a collision detector 125, a motion generator 130, and a drive controller 145, as shown in FIG.

制御部120の衝突検出部125は、加速度センサ180が測定した加速度と加速方向とに基づいて、所定の対象からの衝突を検出する。また、衝突検出部125は、加速度センサ180が測定した加速度と加速方向とに基づいて、図9に示すような、所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つを判別する。衝突検出部125と加速度センサ180とは、衝突検出手段として機能する。 A collision detection unit 125 of the control unit 120 detects a collision from a predetermined object based on the acceleration measured by the acceleration sensor 180 and the acceleration direction. Further, the collision detection unit 125 detects at least one of the position P and the direction S of collision from a predetermined object as shown in FIG. 9 based on the acceleration and direction of acceleration measured by the acceleration sensor 180 discriminate. The collision detector 125 and the acceleration sensor 180 function as collision detection means.

図8に戻り、衝突検出部125は、対象判別部126と衝突判別部127と衝突算出部128とを有する。 Returning to FIG. 8 , the collision detection section 125 has an object determination section 126 , a collision determination section 127 and a collision calculation section 128 .

衝突検出部125の対象判別部126は、加速度センサ180が出力した加速度の値を表す信号と加速方向を表す信号とを受信する。対象判別部126は、受信した信号が表す加速度の値と加速方向とが、ロボット100の動作による加速度の値と加速方向とであるか、所定の対象からの行動による加速度の値と加速方向とであるか、を判別する。対象判別部126は、例えば、ロボット100の動作と加速度センサ180が測定した加速度の値と加速方向とが関連付けられているロボット動作情報と、受信した信号が表す加速度の値と加速方向とを比較することによって、ロボット100の動作による加速度の値と加速方向とであるか、所定の対象からの行動による加速度の値と加速方向とであるか、を判別する。ロボット動作情報は、ロボット100の動作による加速度と加速方向とが、加速度センサ180によって測定され、予め記憶部150に記憶されている。 The object determination unit 126 of the collision detection unit 125 receives the signal representing the acceleration value and the signal representing the direction of acceleration output from the acceleration sensor 180 . The object determination unit 126 determines whether the acceleration value and the acceleration direction represented by the received signal are the acceleration value and the acceleration direction due to the action of the robot 100, or the acceleration value and the acceleration direction due to the action of the predetermined object. Determine whether or not The object determination unit 126 compares, for example, the robot motion information in which the motion of the robot 100, the acceleration value measured by the acceleration sensor 180, and the acceleration direction are associated with each other, and the acceleration value and the acceleration direction represented by the received signal. By doing so, it is determined whether the acceleration value and the acceleration direction are due to the action of the robot 100 or the acceleration value and the acceleration direction are due to the action of a predetermined object. As the robot motion information, the acceleration and acceleration direction due to the motion of the robot 100 are measured by the acceleration sensor 180 and stored in advance in the storage unit 150 .

対象判別部126は、所定の対象からの行動による加速度の値と加速方向とであると判別した場合、加速度センサ180が出力した加速度の値と加速方向とを表す加速度情報を生成して、衝突判別部127に出力する。 When the object determination unit 126 determines that the acceleration value and the acceleration direction are due to an action from a predetermined object, the object determination unit 126 generates acceleration information representing the acceleration value and the acceleration direction output by the acceleration sensor 180 to prevent the collision. Output to determination unit 127 .

衝突検出部125の衝突判別部127は、所定の対象からの行動による加速度と加速方向とが、所定の対象からの衝突によるものであるか否か、判別する。具体的には、衝突判別部127は、対象判別部126から出力された加速度情報が表す加速度の値が予め設定されたしきい値よりも大きい場合に、所定の対象からの衝突であると判別する。衝突判別部127は、所定の対象からの衝突であると判別した場合、加速度情報を衝突算出部128に出力する。 The collision determination unit 127 of the collision detection unit 125 determines whether or not the acceleration and acceleration direction due to the action from the predetermined object are due to the collision from the predetermined object. Specifically, when the acceleration value represented by the acceleration information output from the object determination unit 126 is greater than a preset threshold value, the collision determination unit 127 determines that the collision is from a predetermined object. do. The collision determination unit 127 outputs acceleration information to the collision calculation unit 128 when determining that the collision is from a predetermined object.

衝突検出部125の衝突算出部128は、加速度センサ180が測定した加速度から所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つを求める。衝突算出部128は、例えば、頭部108に設けられた加速度センサ180と胴体部102に設けられた加速度センサ180とが出力した加速度と加速方向との差から、所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つを求める。衝突算出部128は、求められた所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つを表す衝突情報を生成し、動作生成部130に出力する。 The collision calculator 128 of the collision detector 125 obtains at least one of the position P and the direction S of the collision from the predetermined object from the acceleration measured by the acceleration sensor 180 . For example, the collision calculation unit 128 calculates the position of the collision from the predetermined object from the difference between the acceleration output by the acceleration sensor 180 provided in the head 108 and the acceleration sensor 180 provided in the body 102 and the acceleration direction. At least one of P and direction S is determined. The collision calculator 128 generates collision information representing at least one of the determined position P and direction S of the collision from the predetermined object, and outputs the collision information to the motion generator 130 .

動作生成部130は、所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つに基づいて、可動部160の動作を生成する。本実施の形態では、動作生成部130は、所定の対象を含む所定の領域を可動部160の動作禁止領域として設定して、動作禁止領域を避けるように可動部160の動作を生成する。これにより、ロボット100は、所定の対象に接触せず、所定の対象に過大な力が掛かるおそれの少ない動作を実行できる。動作禁止領域を避ける方向については、後述する。 The motion generator 130 generates a motion of the movable part 160 based on at least one of the position P and the direction S of the collision from the predetermined object. In the present embodiment, motion generating section 130 sets a predetermined area including a predetermined target as the motion prohibited area of movable section 160, and generates motion of movable section 160 so as to avoid the motion prohibited area. As a result, the robot 100 does not come into contact with the predetermined target, and can perform an action with little possibility of applying excessive force to the predetermined target. Directions for avoiding the operation prohibited area will be described later.

動作生成部130は、距離判別部131と選択部132と動作方向設定部133と移動量設定部134と遅延時間設定部135と生成部136とを有する。 The motion generation unit 130 has a distance determination unit 131 , a selection unit 132 , a motion direction setting unit 133 , a movement amount setting unit 134 , a delay time setting unit 135 and a generation unit 136 .

動作生成部130の距離判別部131は、衝突の位置Pと可動部160との距離を求める。具体的には、距離判別部131は、衝突情報が表す衝突の位置Pと可動部160の可動軸162a、162b、164a、164bの中心との距離を求める。距離判別部131は、可動部160と求められた距離を関連付けた距離情報を生成し、選択部132と移動量設定部134と遅延時間設定部135とに出力する。 The distance determination unit 131 of the motion generation unit 130 obtains the distance between the collision position P and the movable unit 160 . Specifically, the distance determination unit 131 obtains the distances between the collision position P indicated by the collision information and the centers of the movable shafts 162 a , 162 b , 164 a , 164 b of the movable part 160 . Distance determination section 131 generates distance information that associates movable section 160 with the obtained distance, and outputs the information to selection section 132 , movement amount setting section 134 , and delay time setting section 135 .

動作生成部130の選択部132は、動作させる可動部160を選択する。選択部132は、例えば、距離判別部131が出力した距離情報から、予め設定された距離よりも短い距離に関連付けられた可動部160を選択する。理解を容易にするために、以下では、全ての可動部160(すなわち一対の腕部104と頭部108と)が、選択されたものとして説明する。 The selection unit 132 of the motion generation unit 130 selects the movable unit 160 to operate. For example, the selection unit 132 selects the movable unit 160 associated with a distance shorter than a preset distance from the distance information output by the distance determination unit 131 . For ease of understanding, all movable parts 160 (ie, the pair of arms 104 and the head 108) are described below as being selected.

選択部132は、選択された可動部160を表す選択情報を生成し、動作方向設定部133と移動量設定部134と遅延時間設定部135とに出力する。 Selecting section 132 generates selection information representing selected movable section 160 and outputs it to motion direction setting section 133 , movement amount setting section 134 , and delay time setting section 135 .

動作生成部130の動作方向設定部133は、選択部132によって選択された可動部160の動作方向を設定する。動作方向設定部133は、選択情報が表す可動部160と衝突情報が表す衝突の方向Sから、選択された可動部160の動作方向として、動作禁止領域を避ける動作方向を設定する。 The motion direction setting section 133 of the motion generation section 130 sets the motion direction of the movable section 160 selected by the selection section 132 . The motion direction setting unit 133 sets, as the motion direction of the selected movable part 160 from the movable part 160 indicated by the selection information and the collision direction S indicated by the collision information, an action direction for avoiding the motion prohibited area.

具体的には、動作方向設定部133は、可動部160の動作方向として、図10、図11に示す衝突の位置Pから衝突の方向Sとは反対方向Tを中心として所定の極角(例えば、φ=90°)の範囲内の領域B(動作禁止領域)から遠ざかる方向に、可動部160の自由端を向ける方向を設定する。 Specifically, the operation direction setting unit 133 sets the operation direction of the movable unit 160 by a predetermined polar angle (for example, , φ=90°), the direction in which the free end of the movable portion 160 is directed is set in the direction away from the area B (operation prohibited area).

例えば、所定の対象が、初期状態のロボット100の頭部108に、右方向から衝突した場合、動作方向設定部133は、図12に示すように、頭部108の自由端108aが領域B(動作禁止領域)から遠ざかる方向(左方向)を向くように、頭部108の可動軸164aを中心に前方から見て反時計回りに回転させる方向を、頭部108の動作方向として設定する。また、動作方向設定部133は、腕部104の動作方向として、腕部104の自由端104aが領域B(動作禁止領域)から遠ざかる方向(左方向)を向くように、腕部104の可動軸162aを中心に前方から見て時計回りに回転させる方向を設定する。これにより、ロボット100は、所定の対象への接触を避け、所定の対象に過大な力が掛かるおそれを小さくできる。なお、図12における破線は、初期状態の頭部108と腕部104を示している。 For example, when a predetermined object collides with the head 108 of the robot 100 in the initial state from the right direction, the motion direction setting unit 133 sets the free end 108a of the head 108 to the region B ( The movement direction of the head 108 is set so that the head 108 rotates counterclockwise about the movable shaft 164a of the head 108 as viewed from the front so that the head 108 faces away from the motion prohibited area (left direction). Further, the movement direction setting unit 133 sets the movable axis of the arm 104 so that the free end 104a of the arm 104 faces away from the region B (movement prohibited region) (to the left) as the movement direction of the arm 104. The direction of clockwise rotation around 162a is set as viewed from the front. As a result, the robot 100 can avoid contact with the predetermined target and reduce the possibility of applying excessive force to the predetermined target. The dashed lines in FIG. 12 indicate the head 108 and arm 104 in the initial state.

また、領域B(動作禁止領域)から遠ざかる方向に可動部160の自由端を向ける方向が複数存在する場合、動作方向設定部133は、可動部160の動作方向として、衝突の位置Pから遠ざかる方向に、可動部160の自由端を向ける方向を設定する。 Further, when there are a plurality of directions in which the free end of the movable portion 160 is directed away from the region B (operation prohibited region), the motion direction setting portion 133 selects the direction away from the collision position P as the motion direction of the movable portion 160. , the direction in which the free end of the movable portion 160 is directed is set.

例えば、図13に示すように、所定の対象が、初期状態のロボット100の胴体部102の前方右側に左右方向に対して所定の角度(例えば、30°)から衝突した場合、領域B(動作禁止領域)から遠ざかる方向に可動部160の自由端を向ける方向は、複数存在する。なお、図13における破線は、可動部160のそれぞれが領域B(動作禁止領域)から遠ざかる方向に動作した複数の状態を示している。 For example, as shown in FIG. 13, when a predetermined object collides with the front right side of the body portion 102 of the robot 100 in the initial state from a predetermined angle (for example, 30°) with respect to the horizontal direction, region B (movement There are a plurality of directions in which the free end of the movable portion 160 is directed away from the prohibited area). The dashed lines in FIG. 13 indicate a plurality of states in which each of the movable parts 160 moves away from the region B (operation prohibited region).

この場合、動作方向設定部133は、図13における右側の腕部104の自由端104aが衝突の位置Pから遠ざかる方向(後方)に向くように、右側の腕部104の可動軸162bを中心に右方向から見て反時計回りに回転させる方向を、右側の腕部104動作方向として設定する。これにより、ロボット100は、所定の対象への接触をより避け、所定の対象に過大な力が掛かるおそれをより小さくできる。 In this case, the motion direction setting unit 133 rotates the movable shaft 162b of the right arm 104 so that the free end 104a of the right arm 104 in FIG. The direction of counterclockwise rotation when viewed from the right direction is set as the operation direction of the right arm 104 . As a result, the robot 100 can further avoid contact with the predetermined target, and can reduce the risk of excessive force being applied to the predetermined target.

左側の腕部104と頭部108とは、いずれの方向(後方と左方向と)に動作しても、可動部160の自由端が衝突の位置Pから遠ざかる方向に向くが、動作方向設定部133は、可動部160の動作方向を、複数の可動部160の自由端が同じ方向を向く方向に設定することが好ましい。すなわち、動作方向設定部133は、左側の腕部104と頭部108とが、図14に示すように、それぞれの自由端104a、108aが、右側の腕部104の自由端104aが向く方向(後方)と同じ方向に向くように、左側の腕部104と頭部108の動作方向を設定することが好ましい。この場合、動作方向設定部133は、左側の腕部104の動作方向として、左側の腕部104の可動軸162bを中心に右方向から見て反時計回りに回転させる方向を設定する。また、動作方向設定部133は、頭部108の動作方向として、頭部108の可動軸164bを中心に右方向から見て時計回りに回転させる方向を設定する。ロボット100は、複数の可動部160の自由端を同じ方向を向けることにより、所定の対象、例えばロボット100のユーザに対して、衝突したことをより明確に知らせることができる。 The left arm 104 and the head 108 move in either direction (rearward or leftward), the free end of the movable part 160 faces away from the collision position P, but the motion direction setting part 133 preferably sets the operating direction of the movable parts 160 so that the free ends of the plurality of movable parts 160 face the same direction. 14, the motion direction setting unit 133 is configured so that the free ends 104a and 108a of the left arm 104 and the head 108 face the direction ( It is preferable to set the direction of motion of the left arm 104 and head 108 so that they face in the same direction as the back). In this case, the motion direction setting unit 133 sets, as the motion direction of the left arm 104, a direction in which the left arm 104 rotates counterclockwise about the movable shaft 162b when viewed from the right. Further, the motion direction setting unit 133 sets, as the motion direction of the head 108, a direction in which the head 108 is rotated clockwise about the movable shaft 164b as viewed from the right direction. By orienting the free ends of the plurality of movable parts 160 in the same direction, the robot 100 can more clearly inform a predetermined target, for example, the user of the robot 100, of the collision.

さらに、動作方向設定部133は、可動部160の動作方向として、複数の可動部160の自由端が同じ方向を向く方向に設定する場合、衝突の方向Sを可動軸162aと可動軸162bと、可動軸164aと可動軸164bとの方向に対する成分に分解し、分解された成分のうち最も大きな成分を有する方向に、可動部160の自由端を向ける方向を、可動部160の動作方向として設定してもよい。 Furthermore, when the motion direction setting unit 133 sets the direction in which the free ends of the plurality of movable portions 160 face the same direction as the motion direction of the movable portions 160, the direction S of collision is set to the movable shaft 162a and the movable shaft 162b. The direction in which the free end of the movable portion 160 is directed to the direction having the largest component among the separated components is set as the operation direction of the movable portion 160. may

例えば、所定の対象が、初期状態における右側の腕部104の前方右側に左右方向に対して所定の角度(例えば、30°)から衝突した場合、図15に示すように、衝突の方向Sを可動軸162aと可動軸162bと、可動軸164aと可動軸164bとの方向に対する成分に分解し、最も大きな成分S1を有する方向(左方向)に、一対の腕部104と頭部108の自由端104a、108aを向ける方向を、可動部160の動作方向として設定してもよい。この場合、動作方向設定部133は、一対の腕部104の動作方向として、腕部104の可動軸162aを中心に前方から見て時計回りに回転させる方向を設定する。また、動作方向設定部133は、頭部108の動作方向として、頭部108の可動軸164aを中心に前方から見て反時計回りに回転させる方向を設定する。これにより、ロボット100は、所定の対象からの衝突を、より和らげることができる。なお、所定の対象が、初期状態における右側の腕部104の前方右側に左右方向に対して所定の角度(例えば、30°)から衝突した場合、動作方向設定部133は、一対の腕部104と頭部108との動作方向を、それぞれの自由端104a、108aが後方を向く方向に設定してもよい。 For example, when a predetermined object collides with the front right side of the right arm 104 in the initial state from a predetermined angle (for example, 30°) with respect to the left-right direction, the collision direction S is changed as shown in FIG. The free ends of the pair of arms 104 and the head 108 are arranged in the direction (leftward direction) having the largest component S1 of the components corresponding to the directions of the movable shafts 162a and 162b and the movable shafts 164a and 164b. The direction in which 104 a and 108 a are directed may be set as the operation direction of movable section 160 . In this case, the motion direction setting unit 133 sets, as the motion directions of the pair of arms 104, a direction in which the arms 104 are rotated clockwise about the movable shaft 162a when viewed from the front. The motion direction setting unit 133 also sets, as the motion direction of the head 108, a direction in which the head 108 is rotated about the movable shaft 164a counterclockwise when viewed from the front. As a result, the robot 100 can further soften the collision from the predetermined target. Note that when a predetermined object collides with the front right side of the right arm 104 in the initial state from a predetermined angle (eg, 30°) with respect to the left-right direction, the motion direction setting unit 133 sets the pair of arms 104 and the head 108 may be set so that their free ends 104a, 108a face rearward.

動作方向設定部133は、可動部160と設定された可動部160の動作方向とを関連付けた動作方向設定情報を生成し、生成部136に出力する。 The motion direction setting unit 133 generates motion direction setting information that associates the movable portion 160 with the set motion direction of the movable portion 160 , and outputs the motion direction setting information to the generation portion 136 .

図8に戻り、動作生成部130の移動量設定部134は、選択された可動部160の移動量(回転量)を設定する。移動量設定部134は、選択情報が表す可動部160と、距離情報が表す衝突の位置Pと可動部160との距離と、から、選択された可動部160の移動量を設定する。例えば、移動量設定部134は、距離と移動量とが関連付けられている移動量情報を参照して、選択された可動部160の移動量を、距離判別部131により求められた衝突の位置Pと可動部160との距離が短い順に大きく、設定する。これにより、所定の対象、例えばロボット100のユーザに対して、より柔軟な動きを見せることができる。移動量情報は、予め記憶部150に記憶されている。 Returning to FIG. 8 , the movement amount setting unit 134 of the motion generation unit 130 sets the movement amount (rotation amount) of the selected movable part 160 . The movement amount setting unit 134 sets the movement amount of the selected movable part 160 based on the movable part 160 represented by the selection information and the distance between the collision position P and the movable part 160 represented by the distance information. For example, the movement amount setting unit 134 refers to the movement amount information in which the distance and the movement amount are associated, and sets the movement amount of the selected movable part 160 to the collision position P obtained by the distance determination unit 131 . and the movable portion 160 are set to be larger in order of shorter distance. As a result, a predetermined target, for example, the user of the robot 100 can show more flexible movements. The movement amount information is stored in the storage unit 150 in advance.

移動量設定部134は、可動部160と設定された移動量とを関連付けた移動量設定情報を生成し、生成部136に出力する。 Movement amount setting section 134 generates movement amount setting information that associates movable section 160 with the set movement amount, and outputs the information to generation section 136 .

動作生成部130の遅延時間設定部135は、選択された可動部160における、所定の対象からの衝突から可動部160の動作の開始までの時間(以下では、遅延時間と記載)を設定する。遅延時間設定部135は、選択情報が表す可動部160と、距離情報が表す衝突の位置Pと可動部160との距離と、から、選択された可動部160の遅延時間を設定する。例えば、遅延時間設定部135は、距離と遅延時間とが関連付けられている遅延時間情報を参照して、選択された可動部160の遅延時間を、距離判別部131により求められた衝突の位置Pと可動部160との距離が短い順に短く、設定する。これにより、例えばロボット100のユーザに対して、より柔軟な動きを見せることができる。遅延時間情報は、予め記憶部150に記憶されている。 The delay time setting unit 135 of the motion generation unit 130 sets the time from the collision from the predetermined target to the start of motion of the selected movable unit 160 (hereinafter referred to as delay time). The delay time setting unit 135 sets the delay time of the selected movable part 160 based on the movable part 160 represented by the selection information and the distance between the collision position P and the movable part 160 represented by the distance information. For example, the delay time setting unit 135 refers to the delay time information in which the distance and the delay time are associated, and sets the delay time of the selected movable unit 160 to the collision position P obtained by the distance determination unit 131 . and the distance from the movable portion 160 is shorter. As a result, for example, the user of the robot 100 can see more flexible movements. The delay time information is stored in the storage unit 150 in advance.

遅延時間設定部135は、可動部160と設定された遅延時間とを関連付けた遅延時間設定情報を生成し、生成部136に出力する。 Delay time setting section 135 generates delay time setting information that associates movable section 160 with the set delay time, and outputs the information to generating section 136 .

動作生成部130の生成部136は、動作方向設定部133が出力した動作方向設定情報と、移動量設定部134が出力した移動量設定情報と、遅延時間設定部135が出力した延時間設定情報と、から、可動部160の動作を生成する。生成部136は、可動部160と、設定された動作方向と移動量と遅延時間とを関連付けた動作情報を生成し、駆動制御部145に出力する。 The generation unit 136 of the motion generation unit 130 receives the motion direction setting information output by the motion direction setting unit 133, the movement amount setting information output by the movement amount setting unit 134, and the extension time setting information output by the delay time setting unit 135. , and the operation of the movable part 160 is generated. The generation unit 136 generates motion information that associates the movable unit 160 with the set motion direction, movement amount, and delay time, and outputs the motion information to the drive control unit 145 .

制御部120の駆動制御部145は、生成部136が出力した動作情報に基づいて、駆動部170を制御する。駆動制御部145により制御された駆動部170は、可動部160を駆動する。 The drive control section 145 of the control section 120 controls the drive section 170 based on the motion information output by the generation section 136 . The drive section 170 controlled by the drive control section 145 drives the movable section 160 .

以上のように、ロボット100は、可動部160の動作方向として、動作禁止領域を避ける動作方向が設定され、所定の対象に過大な力が掛かるおそれを小さくできる。また、ロボット100は、複数の可動部160の自由端を同じ方向を向けることにより、例えばロボット100のユーザに対して、衝突したことをより明確に知らせることができる。 As described above, in the robot 100, the movement direction of the movable part 160 is set so as to avoid the movement prohibited area, thereby reducing the possibility that an excessive force is applied to the predetermined target. In addition, by orienting the free ends of the plurality of movable parts 160 in the same direction, the robot 100 can, for example, more clearly inform the user of the robot 100 of the collision.

次に、図16に示すフローチャートを参照して、以上のように構成されたロボット100の所定の対象からの衝突に対する動作処理について説明する。ロボット100は、ユーザが図示しない電源をONすると、初期状態で待機し、所定の対象の行動に対して種々の所定の動作を実行する。 Next, operation processing for a collision from a predetermined object of the robot 100 configured as described above will be described with reference to the flowchart shown in FIG. When the user turns on the power (not shown), the robot 100 waits in an initial state and performs various predetermined actions in response to predetermined target actions.

まず、加速度センサ180が加速度を検出すると、加速度センサ180は、検出された加速度の値を表す信号と加速方向を表す信号とを衝突検出部125の対象判別部126に送信する(ステップS101)。 First, when the acceleration sensor 180 detects acceleration, the acceleration sensor 180 transmits a signal representing the detected acceleration value and a signal representing the acceleration direction to the object determination section 126 of the collision detection section 125 (step S101).

信号を受信した対象判別部126は、受信した信号が表す加速度の値と加速方向とが、ロボット100の動作による加速度の値と加速方向とであるか、所定の対象からの行動による加速度の値と加速方向とであるかを判別する(ステップS102)。記憶部150に記憶されており、ロボット100の動作と加速度センサ180が測定した加速度の値と加速方向とが関連付けられているロボット動作情報と、受信した信号が表す加速度の値と加速方向とを比較し、受信した信号が表す加速度の値と加速方向とがロボット動作情報に存在しない場合に、対象判別部126は、所定の対象からの行動による加速度の値と加速方向とであると判別する。 Upon receiving the signal, the object determination unit 126 determines whether the acceleration value and the acceleration direction represented by the received signal are the acceleration value and the acceleration direction due to the action of the robot 100, or determine the acceleration value due to the action of the predetermined object. and the direction of acceleration (step S102). The robot motion information stored in the storage unit 150, in which the motion of the robot 100, the acceleration value measured by the acceleration sensor 180, and the acceleration direction are associated with each other, and the acceleration value and the acceleration direction represented by the received signal. If the acceleration value and the acceleration direction represented by the received signal do not exist in the robot motion information, the object determination unit 126 determines that the acceleration value and the acceleration direction are due to an action from a predetermined object. .

受信した信号が表す加速度の値と加速方向とが所定の対象からの行動による加速度の値と加速方向とであると判別された場合(ステップS102;YES)、対象判別部126は、加速度センサ180が出力した加速度の値と加速方向とを表す加速度情報を生成して、衝突判別部127に出力する。受信した信号が表す加速度の値と加速方向とがロボット100の動作による加速度の値と加速方向とであると判別された場合(ステップS102;NO)、動作処理は加速度の検出(ステップS101)に戻る。 If it is determined that the acceleration value and the acceleration direction represented by the received signal are the acceleration value and the acceleration direction due to the action of the predetermined target (step S102; YES), the target determination unit 126 detects the acceleration sensor 180. generates acceleration information representing the acceleration value and the direction of acceleration output by , and outputs the acceleration information to the collision determination unit 127 . If it is determined that the acceleration value and acceleration direction indicated by the received signal are the acceleration value and acceleration direction due to the motion of the robot 100 (step S102; NO), the motion processing proceeds to acceleration detection (step S101). return.

衝突検出部125の衝突判別部127は、対象判別部126が出力した加速度情報から、所定の対象からの行動による加速度と加速方向とが所定の対象からの衝突であるか否か判別する(ステップS103)。衝突判別部127は、加速度情報が表す加速度の値が、記憶部150に記憶されている予め設定されたしきい値よりも大きい場合に、所定の対象からの衝突であると判別する。所定の対象からの衝突であると判別された場合(ステップS103;YES)、衝突判別部127は、加速度情報を衝突算出部128に出力する。所定の対象からの衝突でないと判別された場合(ステップS103;NO)、動作処理は加速度の検出(ステップS101)に戻る。 The collision determination unit 127 of the collision detection unit 125 determines from the acceleration information output by the object determination unit 126 whether or not the acceleration and the acceleration direction due to the action from the predetermined object are the collision from the predetermined object (step S103). The collision determination unit 127 determines that the collision is from a predetermined object when the acceleration value represented by the acceleration information is greater than a preset threshold value stored in the storage unit 150 . When it is determined that the collision is from a predetermined object (step S103; YES), the collision determination section 127 outputs acceleration information to the collision calculation section 128. FIG. If it is determined that the collision is not from a predetermined object (step S103; NO), the operation processing returns to acceleration detection (step S101).

衝突検出部125の衝突算出部128は、衝突判別部127が出力した加速度情報から、所定の対象からの衝突の位置Pと方向Sとのうちの少なくとも1つを求める(ステップS104)。具体的には、衝突算出部128は、頭部108に設けられた加速度センサ180と胴体部102に設けられた加速度センサ180とが出力した加速度と加速方向との差から、衝突の位置Pと方向Sとのうちの少なくとも1つを求める。衝突算出部128は、求められた衝突の位置Pと方向Sとのうちの少なくとも1つを表す衝突情報を生成し、動作生成部130の距離判別部131と動作方向設定部133に出力する。 The collision calculation unit 128 of the collision detection unit 125 obtains at least one of the position P and the direction S of the collision from the predetermined object from the acceleration information output by the collision determination unit 127 (step S104). Specifically, the collision calculator 128 calculates the collision position P and the At least one of the direction S is determined. The collision calculation unit 128 generates collision information representing at least one of the obtained collision position P and direction S, and outputs the collision information to the distance determination unit 131 and the movement direction setting unit 133 of the movement generation unit 130 .

次に、動作生成部130の距離判別部131は、衝突算出部128が出力した衝突情報から、衝突の位置Pと可動部160との距離を求める(ステップS105)。距離判別部131は、可動部160と求められた距離とを関連付けた距離情報を生成し、選択部132と移動量設定部134と遅延時間設定部135とに出力する。 Next, the distance determination unit 131 of the motion generation unit 130 obtains the distance between the collision position P and the movable unit 160 from the collision information output by the collision calculation unit 128 (step S105). Distance determination section 131 generates distance information that associates movable section 160 with the obtained distance, and outputs the information to selection section 132 , movement amount setting section 134 , and delay time setting section 135 .

動作生成部130の選択部132は、距離判別部131が出力した距離情報から、動作させる可動部160を選択する(ステップS106)。選択部132は、距離情報から、予め設定された距離よりも短い距離に関連付けられた可動部160を選択する。ここでは、全ての可動部160(すなわち一対の腕部104と頭部108と)が、選択されたものとして説明する。選択部132は、選択された可動部160を表す選択情報を生成し、動作方向設定部133と移動量設定部134と遅延時間設定部135とに出力する。 The selection unit 132 of the motion generation unit 130 selects the movable unit 160 to be operated from the distance information output by the distance determination unit 131 (step S106). The selection unit 132 selects the movable unit 160 associated with a distance shorter than the preset distance from the distance information. Here, it is assumed that all movable parts 160 (that is, the pair of arms 104 and head 108) are selected. Selecting section 132 generates selection information representing selected movable section 160 and outputs it to motion direction setting section 133 , movement amount setting section 134 , and delay time setting section 135 .

次に、動作生成部130の動作方向設定部133は、選択部132が出力した選択情報と衝突算出部128が出力した衝突情報とから、選択部132により選択された可動部160の動作方向を設定する(ステップS107)。動作方向設定部133は、可動部160と設定された可動部160の動作方向とを関連付けた動作方向設定情報を生成し、生成部136に出力する。ステップS107の詳細については、後述する。 Next, the motion direction setting unit 133 of the motion generation unit 130 selects the motion direction of the movable unit 160 selected by the selection unit 132 based on the selection information output by the selection unit 132 and the collision information output by the collision calculation unit 128. Set (step S107). The motion direction setting unit 133 generates motion direction setting information that associates the movable portion 160 with the set motion direction of the movable portion 160 , and outputs the motion direction setting information to the generation portion 136 . Details of step S107 will be described later.

一方、動作生成部130の移動量設定部134は、選択部132が出力した選択情報と距離判別部131が出力した距離情報とから、選択部132により選択された可動部160の移動量(回転量)を設定する(ステップS108)。移動量設定部134は、記憶部150に記憶されており、距離と移動量とが関連付けられている移動量情報を参照して、選択された可動部160の移動量を、衝突の位置Pと可動部160との距離が短い順に大きく、設定する。移動量設定部134は、可動部160と設定された移動量とを関連付けた移動量設定情報を生成し、生成部136に出力する。 On the other hand, the movement amount setting unit 134 of the motion generation unit 130 uses the selection information output by the selection unit 132 and the distance information output by the distance determination unit 131 to determine the amount of movement (rotation) of the movable unit 160 selected by the selection unit 132 . amount) is set (step S108). The movement amount setting unit 134 refers to the movement amount information stored in the storage unit 150 and in which the distance and the movement amount are associated, and sets the movement amount of the selected movable part 160 to the collision position P. The distance to the movable part 160 is set to be larger in order of shorter distance. Movement amount setting section 134 generates movement amount setting information that associates movable section 160 with the set movement amount, and outputs the information to generation section 136 .

また、動作生成部130の遅延時間設定部135は、選択部132が出力した選択情報と距離判別部131が出力した距離情報とから、選択部132により選択された可動部160の遅延時間を設定する(ステップS109)。遅延時間設定部135は、記憶部150に記憶されており、距離と遅延時間とが関連付けられている遅延時間情報を参照して、選択された可動部160の遅延時間を、衝突の位置Pと可動部160との距離が短い順に短く、設定する。遅延時間設定部135は、可動部160と設定された遅延時間とを関連付けた遅延時間設定情報を生成し、生成部136に出力する。 Further, the delay time setting unit 135 of the motion generation unit 130 sets the delay time of the movable unit 160 selected by the selection unit 132 based on the selection information output by the selection unit 132 and the distance information output by the distance determination unit 131. (step S109). The delay time setting unit 135 refers to the delay time information stored in the storage unit 150, in which the distance and the delay time are associated, and sets the delay time of the selected movable part 160 to the position P of the collision. The shorter the distance to the movable part 160, the shorter it is set. Delay time setting section 135 generates delay time setting information that associates movable section 160 with the set delay time, and outputs the information to generating section 136 .

動作生成部130の生成部136は、動作方向設定情報と移動量設定情報と延時間設定情報とから可動部160の動作を生成する(ステップS110)。生成部136は、可動部160と、設定された動作方向と移動量と遅延時間と、を関連付けた動作情報を生成し、駆動制御部145に出力する。 The generation unit 136 of the motion generation unit 130 generates the motion of the movable part 160 from the motion direction setting information, the movement amount setting information, and the delay time setting information (step S110). The generation unit 136 generates motion information that associates the movable unit 160 with the set motion direction, movement amount, and delay time, and outputs the motion information to the drive control unit 145 .

駆動制御部145は、動作生成部130の生成部136が出力した動作情報に基づいて、駆動部170を制御する(ステップS111)。そして、可動部160は、駆動部170によって駆動され、生成された動作を実行する(ステップS112)。ユーザが電源をOFFにするまで、所定の対象からの衝突に対する動作処理は繰り返される(ステップS113;NO)。ユーザが電源をOFFにすると(ステップS113;YES)、所定の対象からの衝突に対する動作処理は終了する。 The drive control unit 145 controls the drive unit 170 based on the motion information output by the generation unit 136 of the motion generation unit 130 (step S111). Then, the movable part 160 is driven by the driving part 170 to perform the generated motion (step S112). The action process for a collision from a predetermined object is repeated until the user turns off the power (step S113; NO). When the user turns off the power (step S113; YES), the action process for the collision from the predetermined object ends.

図17を参照して、動作方向設定処理(ステップS107)について説明する。まず、動作生成部130の動作方向設定部133は、衝突算出部128が出力した衝突情報が表す衝突の方向Sから、衝突の位置Pから衝突の方向Sとは反対方向Tを中心として所定の極角(例えば、φ=90°)の範囲内の領域B(動作禁止領域)を設定する(ステップS201)。 The operation direction setting process (step S107) will be described with reference to FIG. First, the motion direction setting unit 133 of the motion generating unit 130 determines a predetermined direction from the collision position P to the direction T opposite to the collision direction S from the collision direction S represented by the collision information output by the collision calculation unit 128. A region B (operation prohibited region) within a polar angle (for example, φ=90°) is set (step S201).

次に、動作方向設定部133は、可動部160のそれぞれについて、可動部160の動作可能な方向の中から、領域B(動作禁止領域)から遠ざかる方向に可動部160の自由端を向ける動作方向を選択する。そして、動作方向設定部133は、図18に示すような、可動部160のそれぞれにおいて選択された動作方向を組み合わせて、関連付けた動作方向情報を生成する(ステップS202)。動作方向設定部133は、動作方向情報に表される動作方向の組み合わせが1つの場合(ステップS203;NO)、可動部160の動作方向として、動作方向情報に表されている動作方向を設定する(ステップS209)。 Next, the motion direction setting unit 133 directs the free end of each of the movable portions 160 in the direction away from the region B (motion prohibited region) from among the directions in which the movable portions 160 can operate. to select. Then, the movement direction setting unit 133 combines the movement directions selected in each of the movable parts 160 as shown in FIG. 18 and generates associated movement direction information (step S202). When there is one combination of motion directions represented by the motion direction information (step S203; NO), motion direction setting unit 133 sets the motion direction represented by the motion direction information as the motion direction of movable unit 160. (Step S209).

動作方向設定部133は、動作方向情報に表される動作方向の組み合わせが複数存在する場合(ステップS203;YES)、動作方向情報に表されている動作方向の組み合わせの中から、すべての可動部160の動作方向が、衝突の位置Pから遠ざかる方向に可動部160の自由端を向ける動作方向となっている動作方向の組み合わせを選択し、動作方向情報を更新する(ステップS204)。動作方向設定部133は、更新された動作方向情報に表される動作方向の組み合わせが1つの場合(ステップS205;NO)、可動部160の動作方向として、動作方向情報に表されている動作方向を設定する(ステップS209)。 When there are a plurality of combinations of motion directions represented by the motion direction information (step S203; YES), the motion direction setting unit 133 selects all movable parts from among the combinations of motion directions represented by the motion direction information. A combination of motion directions in which the motion direction of the movable portion 160 directs the free end of the movable portion 160 away from the collision position P is selected, and motion direction information is updated (step S204). When there is one combination of motion directions represented by the updated motion direction information (step S205; NO), motion direction setting unit 133 selects the motion direction represented by the motion direction information as the motion direction of movable unit 160. is set (step S209).

動作方向設定部133は、更新された動作方向情報に表されている動作方向の組み合わせが複数存在する場合(ステップS205;YES)、更新された動作方向情報の組み合わせの中から、可動部160の自由端が同じ方向を向く動作方向となっている動作方向の組み合わせを選択し、動作方向情報を再度更新する(ステップS206)。動作方向設定部133は、再度更新された動作方向情報に表される動作方向の組み合わせが1つの場合(ステップS207;NO)、可動部160の動作方向として、動作方向情報に表されている動作方向を設定する(ステップS209)。 If there are a plurality of combinations of motion directions indicated in the updated motion direction information (step S205; YES), the motion direction setting unit 133 selects the motion direction of the movable portion 160 from among the combinations of the updated motion direction information. A combination of motion directions in which the free ends face the same direction is selected, and the motion direction information is updated again (step S206). When there is one combination of motion directions represented by the updated motion direction information (step S207; NO), motion direction setting unit 133 selects the motion represented by the motion direction information as the motion direction of movable unit 160. A direction is set (step S209).

動作方向設定部133は、再度更新された動作方向情報に表されている動作方向の組み合わせが複数存在する場合(ステップS207;YES)、衝突の方向Sを可動軸162aと可動軸162bと、可動軸164aと可動軸164bと、の方向に対する成分に分解する。次に、動作方向設定部133は、再度更新された動作方向情報の組み合わせの中から、最も大きな成分S1を有する方向に、可動部160の自由端を向ける動作方向の組み合わせ選択する(ステップS208)。そして、動作方向設定部133は、最も大きな成分S1を有する方向に、可動部160の自由端を向ける動作方向の組み合わせを、可動部160の動作方向として設定する(ステップS209)。 If there are a plurality of combinations of motion directions indicated in the updated motion direction information (step S207; YES), the motion direction setting unit 133 sets the collision direction S to the movable It is decomposed into components with respect to the directions of the axis 164a and the movable axis 164b. Next, the movement direction setting unit 133 selects a combination of movement directions for directing the free end of the movable part 160 in the direction having the largest component S1 from among the combinations of movement direction information updated again (step S208). . Then, the motion direction setting unit 133 sets a combination of motion directions in which the free end of the movable portion 160 is directed in the direction having the largest component S1 as the motion direction of the movable portion 160 (step S209).

以上のように、ロボット100の可動部160は、所定の対象からの衝突に対して、動作禁止領域を避けて動作し、ロボット100は、所定の対象からの衝突に対して、所定の対象に過大な力が掛かるおそれの少ない動作を実行できる。また、ロボット100は、複数の可動部160の自由端を同じ方向を向けることにより、所定の対象に対して、衝突したことをより明確に知らせることができる。さらに、ロボット100は、衝突の位置Pと可動部160との距離に基づいて、可動部160の移動量を変えることができ、例えばロボット100のユーザに対して、より柔軟な動きを見せることができる。ロボット100は、衝突の位置Pと可動部160との距離に基づいて遅延時間を設定でき、例えばロボット100のユーザに対して、より柔軟な動きを見せることができる。 As described above, the movable part 160 of the robot 100 operates avoiding the motion prohibited area in response to a collision from a predetermined object, and the robot 100 responds to a collision from a predetermined object. It is possible to perform an operation with little possibility of applying excessive force. In addition, by directing the free ends of the plurality of movable parts 160 in the same direction, the robot 100 can more clearly notify the predetermined target of the collision. Furthermore, the robot 100 can change the amount of movement of the movable part 160 based on the distance between the collision position P and the movable part 160, so that the user of the robot 100 can move more flexibly. can. The robot 100 can set the delay time based on the distance between the collision position P and the movable part 160, so that the user of the robot 100 can see more flexible movements.

以上、本発明の実施の形態を説明したが、本発明の要旨を逸脱しない範囲で種々の変更が可能である。 Although the embodiments of the present invention have been described above, various modifications are possible without departing from the gist of the present invention.

例えば、衝突検出部125は、所定の対象からの衝突の大きさを検出してもよく、動作生成部130の移動量設定部134は、衝突の大きさに応じて、可動部160の移動量を大きくしてもよい。また、動作生成部130の選択部132は、衝突の大きさに基づいて、選択する可動部160の個数を変えてもよい。衝突の大きさは、例えば、頭部108に設けられた加速度センサ180と胴体部102に設けられた加速度センサ180とが測定した加速度の平均値である。さらに、動作生成部130は、所定の条件が満たされた場合に、動作禁止領域の設定を解除することが好ましい。所定の条件としては、所定の対象からの衝突からの所定の時間(例えば、5秒)の経過、衝突とは異なる所定の対象の行動の検出等が挙げられる。 For example, the collision detection unit 125 may detect the magnitude of collision from a predetermined object, and the movement amount setting unit 134 of the motion generation unit 130 determines the movement amount of the movable unit 160 according to the magnitude of the collision. can be increased. Also, the selection unit 132 of the motion generation unit 130 may change the number of movable units 160 to be selected based on the magnitude of the collision. The magnitude of the collision is, for example, the average value of the accelerations measured by the acceleration sensor 180 provided on the head 108 and the acceleration sensor 180 provided on the body 102 . Furthermore, it is preferable that the motion generator 130 cancels the setting of the motion prohibited area when a predetermined condition is satisfied. Predetermined conditions include elapse of a predetermined time (for example, 5 seconds) after a collision from a predetermined object, detection of behavior of a predetermined object other than collision, and the like.

ロボット100の可動部160は2軸で駆動されているが、可動部160は3軸以上で駆動されてもよい。 Although the movable part 160 of the robot 100 is driven by two axes, the movable part 160 may be driven by three or more axes.

制御部120の機能は、専用のシステムによらず、通常の情報携帯端末、パーソナルコンピュータ等を用いて実行可能である。たとえば、前述の動作を実行するためのコンピュータプログラムを、コンピュータが読み取り可能な記録媒体に格納して配布し、このコンピュータプログラムをパーソナルコンピュータ等にインストールすることにより、前述の処理を実行する情報端末を構成してもよい。また、インターネット等の通信ネットワーク上のサーバ装置が有する記憶装置にこのコンピュータプログラムを格納しておき、通常の情報処理端末などがダウンロード等することで情報処理装置を構成してもよい。 The functions of the control unit 120 can be executed using a normal information portable terminal, a personal computer, or the like, without depending on a dedicated system. For example, by storing and distributing a computer program for executing the above-described operations in a computer-readable recording medium and installing this computer program in a personal computer or the like, an information terminal that executes the above-described processes can be created. may be configured. Alternatively, the computer program may be stored in a storage device of a server device on a communication network such as the Internet, and may be downloaded by an ordinary information processing terminal to constitute an information processing device.

また、制御部120の機能を、OS(Operating System)とアプリケーションプログラムとの分担、又は、OSとアプリケーションプログラムとの協働により実現する場合などには、アプリケーションプログラム部分のみを記録媒体や記憶装置に格納してもよい。 Also, when the functions of the control unit 120 are realized by sharing the functions of the OS (Operating System) and application programs, or by cooperation between the OS and application programs, only the application program part is stored in a recording medium or storage device. may be stored.

さらに、搬送波にコンピュータプログラムを重畳し、通信ネットワークを介して配信することも可能である。例えば、通信ネットワーク上の掲示板(BBS:Bulletin Board System)に、コンピュータプログラムを掲示し、ネットワークを介してこのコンピュータプログラムを配信してもよい。そして、このコンピュータプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、上述の処理を実行できるように構成してもよい。 Furthermore, it is also possible to superimpose a computer program on a carrier wave and distribute it via a communication network. For example, the computer program may be posted on a bulletin board system (BBS) over a communications network and distributed over the network. Then, the above-described processing may be performed by activating this computer program and executing it in the same manner as other application programs under the control of the OS.

以上、本発明の好ましい実施形態について説明したが、本発明は係る特定の実施の形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲とが含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to such specific embodiments, and the present invention includes the invention described in the claims and the scope of equivalents thereof. is included. The invention described in the original claims of the present application is appended below.

(付記)
(付記1)
可動部と、
前記可動部を駆動する駆動手段と、
所定の対象からの衝突を検出する衝突検出手段と、
前記衝突検出手段により前記衝突が検出された場合、衝突した前記所定の対象を含む所定の領域を避ける前記可動部の動作を生成する動作生成手段と、
前記動作生成手段により生成された前記動作に基づいて、前記駆動手段を制御する駆動制御手段と、
を備える、
ことを特徴とするロボット。
(Appendix)
(Appendix 1)
a movable part;
a driving means for driving the movable portion;
collision detection means for detecting a collision from a predetermined object;
a motion generating means for generating a motion of the movable part to avoid a predetermined area including the predetermined target with which the collision has been detected when the collision is detected by the collision detecting means;
drive control means for controlling the drive means based on the motion generated by the motion generation means;
comprising
A robot characterized by:

(付記2)
前記動作生成手段は、衝突した前記所定の対象を含む前記所定の領域を前記可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の前記動作を生成する、
ことを特徴とする付記1に記載のロボット。
(Appendix 2)
The motion generating means sets the predetermined area including the predetermined target with which the collision has occurred as a motion prohibited area of the movable part, and generates the motion of the movable part that avoids the motion prohibited area.
The robot according to appendix 1, characterized by:

(付記3)
前記動作生成手段は、前記衝突の位置と方向とのうちの少なくとも1つに基づいて、前記可動部の動作方向を設定する動作方向設定部を有し、
前記動作方向設定部は、前記可動部の前記動作禁止領域として、前記衝突の位置から前記衝突の方向とは反対方向を中心として所定の極角の範囲内の領域を設定して、前記動作禁止領域を避けるように前記可動部の自由端を向ける方向を設定する、
ことを特徴とする付記2に記載のロボット。
(Appendix 3)
The motion generating means has a motion direction setting section that sets the motion direction of the movable portion based on at least one of the collision position and direction,
The motion direction setting unit sets, as the motion prohibited region of the movable portion, a region within a range of a predetermined polar angle centered on a direction opposite to the direction of the crash from the position of the collision. setting a direction to direct the free end of the movable part so as to avoid the area;
The robot according to appendix 2, characterized by:

(付記4)
前記動作方向設定部は、前記可動部の前記動作方向として、前記衝突の位置から遠ざかるように前記可動部の前記自由端を向ける方向を設定する、
ことを特徴とする付記3に記載のロボット。
(Appendix 4)
The motion direction setting unit sets, as the motion direction of the movable portion, a direction in which the free end of the movable portion is directed away from the collision position.
The robot according to appendix 3, characterized by:

(付記5)
前記動作生成手段は、
前記可動部と前記衝突の位置との距離を求める距離判別部と、
前記距離判別部により求められた前記距離から前記可動部の移動量を設定する移動量設定部と、
を有する、
ことを特徴とする付記3又は4に記載のロボット。
(Appendix 5)
The action generating means is
a distance determination unit that determines the distance between the movable part and the collision position;
a movement amount setting unit that sets the movement amount of the movable part from the distance obtained by the distance determination unit;
having
The robot according to appendix 3 or 4, characterized by:

(付記6)
複数の前記可動部を備える、
ことを特徴とする付記5に記載のロボット。
(Appendix 6)
comprising a plurality of said movable parts,
The robot according to appendix 5, characterized by:

(付記7)
前記動作方向設定部は、前記複数の可動部の前記自由端が同じ方向を向くように前記複数の可動部の前記動作方向を設定する、
ことを特徴とする付記6に記載のロボット。
(Appendix 7)
The motion direction setting unit sets the motion directions of the plurality of movable portions such that the free ends of the plurality of movable portions face the same direction.
The robot according to appendix 6, characterized by:

(付記8)
前記複数の可動部は、互いに直交する可動軸を有し、前記可動軸を中心に回転し、
前記動作方向設定部は、
前記衝突の方向を前記複数の可動軸の方向に対する成分に分解し、分解された前記成分のうちの最も大きな成分を有する前記複数の可動軸の方向に、前記複数の可動部の前記自由端を向けるように前記複数の可動部の前記動作方向を設定する、
ことを特徴とする付記6又は7に記載のロボット。
(Appendix 8)
the plurality of movable parts have movable axes orthogonal to each other and rotate about the movable axes;
The motion direction setting unit
The collision direction is resolved into components with respect to the directions of the plurality of movable axes, and the free ends of the plurality of movable parts are moved in the direction of the plurality of movable axes having the largest component among the resolved components. setting the direction of motion of the plurality of movable parts to face
The robot according to appendix 6 or 7, characterized by:

(付記9)
前記移動量設定部は、前記距離判別部が求めた前記距離が短い順に、前記複数の可動部の前記移動量を大きくする、
ことを特徴とする付記6乃至8の何れか1つに記載のロボット。
(Appendix 9)
The movement amount setting unit increases the movement amounts of the plurality of movable parts in ascending order of the distance obtained by the distance determination unit.
9. The robot according to any one of Appendices 6 to 8, characterized by:

(付記10)
前記動作生成手段は、前記衝突から前記複数の可動部の前記動作の開始までの遅延時間を設定する遅延時間設定部を有する、
ことを特徴とする付記6乃至9の何れか1つに記載のロボット。
(Appendix 10)
The motion generating means has a delay time setting unit that sets a delay time from the collision to the start of the motion of the plurality of movable parts,
10. The robot according to any one of Appendices 6 to 9, characterized in that:

(付記11)
前記遅延時間設定部は、前記距離判別部が求めた前記距離が短い順に、前記衝突から前記複数の可動部の前記動作の開始までの前記遅延時間を短く設定する、
ことを特徴とする付記10に記載のロボット。
(Appendix 11)
The delay time setting unit sets the delay time from the collision to the start of the operation of the plurality of movable parts in order of shortest distance obtained by the distance determination unit.
11. The robot according to appendix 10, characterized by:

(付記12)
前記動作生成手段は、前記距離判別部が求めた前記距離に基づいて、動作する前記複数の可動部を選択する選択部を有する、
ことを特徴とする付記6乃至11の何れか1つに記載のロボット。
(Appendix 12)
The motion generation means has a selection unit that selects the plurality of movable parts to operate based on the distance obtained by the distance determination unit,
12. The robot according to any one of appendices 6 to 11, characterized in that:

(付記13)
前記移動量設定部は、前記衝突検出手段が検出した前記衝突の大きさに応じて、前記複数の可動部の前記移動量を大きくする、
ことを特徴とする付記6乃至12の何れか1つに記載のロボット。
(Appendix 13)
The movement amount setting unit increases the movement amounts of the plurality of movable parts according to the magnitude of the collision detected by the collision detection means.
13. The robot according to any one of appendices 6 to 12, characterized in that:

(付記14)
前記動作生成手段は、所定の条件が満たされた場合に前記動作禁止領域の設定を解除する、
ことを特徴とする付記2乃至13の何れか1つに記載のロボット。
(Appendix 14)
The action generating means cancels the setting of the action prohibited area when a predetermined condition is satisfied.
14. The robot according to any one of appendices 2 to 13, characterized in that:

(付記15)
前記所定の条件は、前記衝突から所定の時間が経過した場合に満たされる、
ことを特徴とする付記14に記載のロボット。
(Appendix 15)
the predetermined condition is satisfied when a predetermined time has elapsed since the collision;
15. The robot according to appendix 14, characterized by:

(付記16)
前記衝突検出手段は、
加速度センサと、
前記加速度センサが測定した加速度と加速方向とに基づいて、前記衝突の位置と方向とのうちの少なくとも1つを判別する衝突検出部と、
を有する、
ことを特徴とする付記1乃至15の何れか1つに記載のロボット。
(Appendix 16)
The collision detection means is
an acceleration sensor;
a collision detection unit that determines at least one of the position and direction of the collision based on the acceleration measured by the acceleration sensor and the acceleration direction;
having
16. The robot according to any one of Appendices 1 to 15, characterized by:

(付記17)
前記所定の対象は、人又は動物又は他のロボットを含む、
ことを特徴とする付記1乃至16の何れか1つに記載のロボット。
(Appendix 17)
the predetermined target includes a human or animal or other robot;
17. The robot according to any one of appendices 1 to 16, characterized by:

(付記18)
前記動作生成手段により生成された前記動作は、前記可動部にあたかも柔軟性があるように見せる動作である、
ことを特徴とする付記1乃至17の何れか1つに記載のロボット。
(Appendix 18)
The motion generated by the motion generating means is a motion that makes the movable part look as if it has flexibility.
18. The robot according to any one of appendices 1 to 17, characterized in that:

(付記19)
所定の対象からの衝突を検出する工程と、
前記衝突が検出された場合、前記所定の対象を含む所定の領域を避ける可動部の動作を生成する工程と、
生成された前記動作に基づいて、前記可動部を駆動する工程と、
を含む、
ことを特徴とするロボットの制御方法。
(Appendix 19)
detecting a collision from a given target;
generating a motion of the movable part to avoid a predetermined area containing the predetermined target when the collision is detected;
driving the movable part based on the generated motion;
including,
A robot control method characterized by:

(付記20)
ロボットを制御するコンピュータを、
所定の対象からの衝突を検出する衝突検出手段、
前記衝突検出手段により前記衝突が検出された場合、前記所定の対象を含む所定の領域を避ける可動部の動作を生成する動作生成手段、
前記動作生成手段が生成した前記動作に基づいて、前記可動部を駆動する駆動手段を制御する駆動制御手段、
として機能させる、
ことを特徴とするプログラム。
(Appendix 20)
The computer that controls the robot,
Collision detection means for detecting a collision from a predetermined object;
motion generation means for generating a motion of the movable part to avoid a predetermined area including the predetermined target when the collision is detected by the collision detection means;
drive control means for controlling drive means for driving the movable portion based on the motion generated by the motion generation means;
to function as
A program characterized by

100・・・ロボット、102・・・胴体部、104・・・腕部、104a,104b・・・自由端、105・・・肩関節部、108・・・頭部、109・・・首関節部、120・・・制御部、122・・・CPU、124・・・メモリ、125・・・衝突検出部、126・・・対象判別部、127・・・衝突判別部、128・・・衝突算出部、130・・・動作生成部、131・・・距離判別部、132・・・選択部、133・・・動作方向設定部、134・・・移動量設定部、135・・・遅延時間設定部、136・・・生成部、145・・・駆動制御部、150・・・記憶部、155・・・バッテリ、160・・・可動部、162a,162b,164a,164b・・・可動軸、170・・・駆動部、180・・・加速度センサ、B・・・領域、P・・・衝突の位置、S・・・衝突の方向、S1・・・衝突の方向を可動軸の方向に分解した最も大きい成分、T・・・衝突の方向とは反対方向、φ・・・極角 DESCRIPTION OF SYMBOLS 100... Robot, 102... Body part, 104... Arm part, 104a, 104b... Free end, 105... Shoulder joint part, 108... Head part, 109... Neck joint Unit 120 Control unit 122 CPU 124 Memory 125 Collision detection unit 126 Object determination unit 127 Collision determination unit 128 Collision Calculation unit 130 Motion generation unit 131 Distance determination unit 132 Selection unit 133 Motion direction setting unit 134 Movement amount setting unit 135 Delay time Setting unit 136 Generation unit 145 Drive control unit 150 Storage unit 155 Battery 160 Movable unit 162a, 162b, 164a, 164b Movable axis , 170... Drive unit, 180... Acceleration sensor, B... Area, P... Collision position, S... Collision direction, S1... Collision direction in the direction of the movable axis. Largest resolved component, T: direction opposite to direction of collision, φ: polar angle

Claims (19)

動部を駆動する駆動手段と、
所定の対象からの衝突を検出する衝突検出手段と、
前記衝突検出手段により前記衝突が検出された場合、衝突した前記所定の対象を含む所定の領域を前記可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する動作生成手段と、
前記動作生成手段により生成された前記動作に基づいて、前記駆動手段を制御する駆動制御手段と、
を備える、
ことを特徴とするロボット。
a driving means for driving the movable part;
collision detection means for detecting a collision from a predetermined object;
When the collision is detected by the collision detection means, a predetermined area including the predetermined target with which the collision has occurred is set as an operation prohibited area of the movable section, and an operation of the movable section that avoids the operation prohibited area is generated. a motion generating means for
drive control means for controlling the drive means based on the motion generated by the motion generation means;
comprising
A robot characterized by:
前記動作生成手段は、前記衝突の位置と方向とのうちの少なくとも1つに基づいて、前記可動部の動作方向を設定する動作方向設定部を有し、
前記動作方向設定部は、前記可動部の前記動作禁止領域として、前記衝突の位置から前記衝突の方向とは反対方向を中心として所定の極角の範囲内の領域を設定して、前記動作禁止領域を避けるように前記可動部の自由端を向ける方向を設定する、
ことを特徴とする請求項に記載のロボット。
The motion generating means has a motion direction setting section that sets the motion direction of the movable portion based on at least one of the collision position and direction,
The motion direction setting unit sets, as the motion prohibited region of the movable portion, a region within a range of a predetermined polar angle centered on a direction opposite to the direction of the crash from the position of the collision. setting a direction to direct the free end of the movable part so as to avoid the area;
The robot according to claim 1 , characterized by:
前記動作方向設定部は、前記可動部の前記動作方向として、前記衝突の位置から遠ざかるように前記可動部の前記自由端を向ける方向を設定する、
ことを特徴とする請求項に記載のロボット。
The motion direction setting unit sets, as the motion direction of the movable portion, a direction in which the free end of the movable portion is directed away from the collision position.
3. The robot according to claim 2 , characterized by:
前記動作生成手段は、
前記可動部と前記衝突の位置との距離を求める距離判別部と、
前記距離判別部により求められた前記距離から前記可動部の移動量を設定する移動量設定部と、
を有する、
ことを特徴とする請求項又はに記載のロボット。
The action generating means is
a distance determination unit that determines the distance between the movable part and the collision position;
a movement amount setting unit that sets the movement amount of the movable part from the distance obtained by the distance determination unit;
having
4. The robot according to claim 2 or 3 , characterized in that:
複数の前記可動部を備える、
ことを特徴とする請求項に記載のロボット。
comprising a plurality of said movable parts,
5. The robot according to claim 4 , characterized in that:
前記動作方向設定部は、前記複数の可動部の前記自由端が同じ方向を向くように前記複数の可動部の前記動作方向を設定する、
ことを特徴とする請求項に記載のロボット。
The motion direction setting unit sets the motion directions of the plurality of movable portions such that the free ends of the plurality of movable portions face the same direction.
6. The robot according to claim 5 , characterized in that:
前記複数の可動部は、互いに直交する可動軸を有し、前記可動軸を中心に回転し、
前記動作方向設定部は、
前記衝突の方向を前記複数の可動軸の方向に対する成分に分解し、分解された前記成分のうちの最も大きな成分を有する前記複数の可動軸の方向に、前記複数の可動部の前記自由端を向けるように前記複数の可動部の前記動作方向を設定する、
ことを特徴とする請求項又はに記載のロボット。
the plurality of movable parts have movable axes orthogonal to each other and rotate about the movable axes;
The motion direction setting unit
The direction of the collision is resolved into components with respect to the directions of the plurality of movable axes, and the free ends of the plurality of movable parts are moved in the direction of the plurality of movable axes having the largest component among the resolved components. setting the direction of motion of the plurality of movable parts to face
7. The robot according to claim 5 or 6 , characterized in that:
前記移動量設定部は、前記距離判別部が求めた前記距離が短い順に、前記複数の可動部の前記移動量を大きくする、
ことを特徴とする請求項乃至の何れか1項に記載のロボット。
The movement amount setting unit increases the movement amounts of the plurality of movable parts in ascending order of the distance obtained by the distance determination unit.
8. The robot according to any one of claims 5 to 7 , characterized in that:
前記動作生成手段は、前記衝突から前記複数の可動部の前記動作の開始までの遅延時間を設定する遅延時間設定部を有する、
ことを特徴とする請求項乃至の何れか1項に記載のロボット。
The motion generating means has a delay time setting unit that sets a delay time from the collision to the start of the motion of the plurality of movable parts,
9. The robot according to any one of claims 5 to 8 , characterized in that:
前記遅延時間設定部は、前記距離判別部が求めた前記距離が短い順に、前記衝突から前記複数の可動部の前記動作の開始までの前記遅延時間を短く設定する、
ことを特徴とする請求項に記載のロボット。
The delay time setting unit sets the delay time from the collision to the start of the operation of the plurality of movable parts in order of shortest distance obtained by the distance determination unit.
10. The robot according to claim 9 , characterized by:
前記動作生成手段は、前記距離判別部が求めた前記距離に基づいて、動作する前記複数の可動部を選択する選択部を有する、
ことを特徴とする請求項乃至10の何れか1項に記載のロボット。
The motion generation means has a selection unit that selects the plurality of movable parts to operate based on the distance obtained by the distance determination unit,
11. The robot according to any one of claims 5 to 10 , characterized in that:
前記移動量設定部は、前記衝突検出手段が検出した前記衝突の大きさに応じて、前記複数の可動部の前記移動量を大きくする、
ことを特徴とする請求項乃至11の何れか1項に記載のロボット。
The movement amount setting unit increases the movement amount of the plurality of movable parts according to the magnitude of the collision detected by the collision detection means.
12. The robot according to any one of claims 5 to 11 , characterized in that:
前記動作生成手段は、所定の条件が満たされた場合に前記動作禁止領域の設定を解除する、
ことを特徴とする請求項乃至12の何れか1項に記載のロボット。
The action generating means cancels the setting of the action prohibited area when a predetermined condition is satisfied.
13. The robot according to any one of claims 1 to 12 , characterized in that:
前記所定の条件は、前記衝突から所定の時間が経過した場合に満たされる、
ことを特徴とする請求項13に記載のロボット。
the predetermined condition is satisfied when a predetermined time has elapsed since the collision;
14. The robot according to claim 13 , characterized by:
前記衝突検出手段は、
加速度センサと、
前記加速度センサが測定した加速度と加速方向とに基づいて、前記衝突の位置と方向とのうちの少なくとも1つを判別する衝突検出部と、
を有する、
ことを特徴とする請求項1乃至14の何れか1項に記載のロボット。
The collision detection means is
an acceleration sensor;
a collision detection unit that determines at least one of the position and direction of the collision based on the acceleration measured by the acceleration sensor and the acceleration direction;
having
15. The robot according to any one of claims 1 to 14 , characterized in that:
前記所定の対象は、人又は動物又は他のロボットを含む、
ことを特徴とする請求項1乃至15の何れか1項に記載のロボット。
the predetermined target includes a human or animal or other robot;
16. The robot according to any one of claims 1 to 15 , characterized in that:
前記動作生成手段により生成された前記動作は、前記可動部にあたかも柔軟性があるように見せる動作である、
ことを特徴とする請求項1乃至16の何れか1項に記載のロボット。
The motion generated by the motion generating means is a motion that makes the movable part look as if it has flexibility.
17. The robot according to any one of claims 1 to 16 , characterized in that:
所定の対象からの衝突を検出する工程と、
前記衝突が検出された場合、前記所定の対象を含む所定の領域をロボットの可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する工程と、
生成された前記動作に基づいて、前記可動部を駆動する工程と、
を含む、
ことを特徴とするロボットの制御方法。
detecting a collision from a given target;
setting a predetermined area including the predetermined target as an operation prohibited area of the movable part of the robot when the collision is detected, and generating an operation of the movable part that avoids the operation prohibited area ;
driving the movable part based on the generated motion;
including,
A robot control method characterized by:
ロボットを制御するコンピュータを、
所定の対象からの衝突を検出する衝突検出手段、
前記衝突検出手段により前記衝突が検出された場合、前記所定の対象を含む所定の領域を前記ロボットの可動部の動作禁止領域として設定して、前記動作禁止領域を避ける前記可動部の動作を生成する動作生成手段、
前記動作生成手段が生成した前記動作に基づいて、前記可動部を駆動する駆動手段を制御する駆動制御手段、
として機能させる、
ことを特徴とするプログラム。
The computer that controls the robot,
Collision detection means for detecting a collision from a predetermined object;
When the collision is detected by the collision detection means, a predetermined area including the predetermined object is set as an operation prohibited area of the movable portion of the robot, and an operation of the movable portion that avoids the operation prohibited area is generated. a motion generating means for
drive control means for controlling drive means for driving the movable portion based on the motion generated by the motion generation means;
to function as
A program characterized by
JP2018053820A 2018-03-22 2018-03-22 Robot, robot control method and program Active JP7127316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018053820A JP7127316B2 (en) 2018-03-22 2018-03-22 Robot, robot control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018053820A JP7127316B2 (en) 2018-03-22 2018-03-22 Robot, robot control method and program

Publications (2)

Publication Number Publication Date
JP2019166580A JP2019166580A (en) 2019-10-03
JP7127316B2 true JP7127316B2 (en) 2022-08-30

Family

ID=68105992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018053820A Active JP7127316B2 (en) 2018-03-22 2018-03-22 Robot, robot control method and program

Country Status (1)

Country Link
JP (1) JP7127316B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024047382A (en) * 2022-09-26 2024-04-05 カシオ計算機株式会社 Device control device, device, device control method and program

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004243427A (en) 2003-02-12 2004-09-02 Yaskawa Electric Corp Robot control device and robot control method
JP2005059161A (en) 2003-08-18 2005-03-10 Univ Waseda Robot control device
WO2008004487A1 (en) 2006-07-04 2008-01-10 Panasonic Corporation Apparatus and method for controlling robot arm, robot, and robot arm control program
JP2010069585A (en) 2008-09-19 2010-04-02 Yaskawa Electric Corp Device and method for detecting collision, and device for controlling robot
JP2010188515A (en) 2009-01-26 2010-09-02 Fanuc Ltd Production system having cooperating process area between human and robot
WO2013027250A1 (en) 2011-08-19 2013-02-28 株式会社安川電機 Robot system, robot, and robot control device
JP2017226044A (en) 2016-06-23 2017-12-28 カシオ計算機株式会社 Robot, control method, and program of the robot
WO2018029267A1 (en) 2016-08-10 2018-02-15 Joanneum Research Forschungsgesellschaft Mbh Robotic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6016394A (en) * 1983-07-08 1985-01-28 株式会社日立製作所 Contact sensor and method of controlling robot
JP3327205B2 (en) * 1998-03-30 2002-09-24 松下電器産業株式会社 Robot control method and device
KR20150080050A (en) * 2013-12-30 2015-07-09 전자부품연구원 Collision sensing apparatus of articulated robot and method using the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004243427A (en) 2003-02-12 2004-09-02 Yaskawa Electric Corp Robot control device and robot control method
JP2005059161A (en) 2003-08-18 2005-03-10 Univ Waseda Robot control device
WO2008004487A1 (en) 2006-07-04 2008-01-10 Panasonic Corporation Apparatus and method for controlling robot arm, robot, and robot arm control program
JP2010069585A (en) 2008-09-19 2010-04-02 Yaskawa Electric Corp Device and method for detecting collision, and device for controlling robot
JP2010188515A (en) 2009-01-26 2010-09-02 Fanuc Ltd Production system having cooperating process area between human and robot
WO2013027250A1 (en) 2011-08-19 2013-02-28 株式会社安川電機 Robot system, robot, and robot control device
JP2017226044A (en) 2016-06-23 2017-12-28 カシオ計算機株式会社 Robot, control method, and program of the robot
WO2018029267A1 (en) 2016-08-10 2018-02-15 Joanneum Research Forschungsgesellschaft Mbh Robotic device

Also Published As

Publication number Publication date
JP2019166580A (en) 2019-10-03

Similar Documents

Publication Publication Date Title
EP2933069B1 (en) Omnidirectional wheeled humanoid robot based on a linear predictive position and velocity controller
JP3968501B2 (en) Robot self-position identification system and self-position identification method
US10293486B2 (en) Omnidirectional wheeled humanoid robot based on a linear predictive position and velocity controller
JP2008302496A (en) Device and method for controlling robot arm, robot, and control program of the robot arm
KR20120082881A (en) Robotic apparatus implementing collision avoidance scheme and associated methods
CN113070881A (en) Robot motion control method and device and robot
JP2007181888A (en) Communication robot system
US12023811B2 (en) Robot control device and robot control method
CN112936278A (en) Man-machine cooperation control method and device for robot and robot
JP7127316B2 (en) Robot, robot control method and program
JP7036399B2 (en) Autonomous mobile robots, their control devices and motion control programs
CN111061215B (en) Method and device for controlling robot to get rid of poverty and robot
JP7172399B2 (en) Control device, robot, control method and program
JP5633166B2 (en) Robot and control method thereof
JP7160118B2 (en) Control device, control method, program
JP2021077311A (en) Human-computer interaction system and human-computer interaction method
KR102422355B1 (en) An remote control system based on augmented reality for underater robot sterilization robot based on 3d environmental recognition
Mortezapoor et al. CoboDeck: A Large-Scale haptic VR system using a collaborative mobile robot
Bolder et al. Visually guided whole body interaction
JP2008200763A (en) Control device for manipulator for working
Matsumoto et al. The essential components of human-friendly robot systems
CN115003463A (en) Robot simulation device
JP7309371B2 (en) robot control system
Kuan et al. Challenges in VR-based robot teleoperation
KR102251308B1 (en) Haptic controller and system and method for providing haptic feedback using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220304

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220801

R150 Certificate of patent or registration of utility model

Ref document number: 7127316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150