[go: up one dir, main page]

JP2003266349A - Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device - Google Patents

Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device

Info

Publication number
JP2003266349A
JP2003266349A JP2002075145A JP2002075145A JP2003266349A JP 2003266349 A JP2003266349 A JP 2003266349A JP 2002075145 A JP2002075145 A JP 2002075145A JP 2002075145 A JP2002075145 A JP 2002075145A JP 2003266349 A JP2003266349 A JP 2003266349A
Authority
JP
Japan
Prior art keywords
environment map
grid
map
environment
movement
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.)
Withdrawn
Application number
JP2002075145A
Other languages
Japanese (ja)
Inventor
Takeshi Ohashi
武史 大橋
Kotaro Sabe
浩太郎 佐部
Kenta Kawamoto
献太 河本
Atsushi Okubo
厚志 大久保
Masaki Fukuchi
正樹 福地
Steffen Gutmann
グットマン ステファン
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2002075145A priority Critical patent/JP2003266349A/en
Publication of JP2003266349A publication Critical patent/JP2003266349A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Image Analysis (AREA)
  • Manipulator (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

(57)【要約】 【課題】 ロボット装置等の限られた計算リソース及び
メモリリソースを考慮し、環境地図の保持及び更新に関
するコストを低減した環境認識方法、その装置、そのプ
ログラム、その記録媒体及び環境認識装置搭載型ロボッ
ト装置を提供する。 【解決手段】 環境地図400は、複数のグリッド40
1に仕切られており、ロボット装置403が障害物と認
識する複数のグリッド402を有し、ロボット装置40
3を中心とした周囲の地図情報である。ロボット装置4
03が移動した場合、その差分移動量が入力され、その
差分移動量がグリッド401の大きさよりも大きいとき
は地図情報を更新する。また、所定の方角からロボット
装置が向く方角を示す姿勢情報からロボット装置403
が向く方角が移動した場合に、その差分移動角が入力さ
れ姿勢情報を更新する。
(57) Abstract: An environment recognition method, an apparatus, a program, a recording medium, and a method for reducing the cost of maintaining and updating an environment map in consideration of limited computational resources and memory resources of a robot apparatus and the like. Provide a robot device equipped with an environment recognition device. An environment map includes a plurality of grids.
1 and a plurality of grids 402 that the robot apparatus 403 recognizes as obstacles.
It is map information of the surroundings centering on 3. Robot device 4
When 03 moves, the difference movement amount is input. When the difference movement amount is larger than the size of the grid 401, the map information is updated. Also, the robot device 403 is obtained from the posture information indicating the direction in which the robot device faces from a predetermined direction.
Is moved, the difference movement angle is input and the posture information is updated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、周囲の環境を認識
して障害物等を回避するための位置認識方法、その装
置、そのプログラム、その記録媒体及び位置認識装置搭
載型ロボット装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position recognition method for recognizing a surrounding environment and avoiding obstacles, an apparatus therefor, a program therefor, a recording medium therefor, and a robot apparatus equipped with a position recognition apparatus.

【0002】[0002]

【従来の技術】電気的又は磁気的な作用を用いて人間
(生物)の動作に似た運動を行う機械装置を「ロボッ
ト」という。我が国においてロボットが普及し始めたの
は、1960年代末からであるが、その多くは、工場に
おける生産作業の自動化・無人化等を目的としたマニピ
ュレータ及び搬送ロボット等の産業用ロボット(Indust
rialRobot)であった。
2. Description of the Related Art A mechanical device that makes a movement similar to that of a human being (organism) using electric or magnetic action is called a "robot". Robots started to spread in Japan from the end of the 1960s, but most of them are industrial robots such as manipulators and transfer robots (Industrial Robots) for the purpose of automating and unmanning production work in factories.
rialRobot).

【0003】最近では、人間のパートナーとして生活を
支援する、即ち住環境その他の日常生活上の様々な場面
における人的活動を支援する実用ロボットの開発が進め
られている。このような実用ロボットは、産業用ロボッ
トとは異なり、人間の生活環境の様々な局面において、
個々に個性の相違した人間、又は様々な環境への適応方
法を自ら学習する能力を備えている。例えば、犬又は猫
のように4足歩行の動物の身体メカニズム及びその動作
を模した「ペット型」ロボット、或いは、2足直立歩行
を行う人間等の身体メカニズム及びその動作をモデルに
してデザインされた「人間型」又は「人間形」ロボット
(Humanoid Robot)等のロボット装置は、既に実用化さ
れつつある。
Recently, practical robots have been developed to support life as a human partner, that is, to support human activities in various situations such as living environment and other daily life. Unlike an industrial robot, such a practical robot is used in various aspects of the human living environment.
It has the ability to self-learn how to adapt to individuals with different personalities or various environments. For example, it is designed by using a “pet type” robot that imitates the body mechanism and movement of a quadruped animal such as a dog or a cat, or a body mechanism and movement of a human walking two legs upright. Robot devices such as “humanoid” or “humanoid” robots (Humanoid Robots) are already in practical use.

【0004】これらのロボット装置は、産業用ロボット
と比較して、例えばエンターテインメント性を重視した
様々な動作等を行うことができるため、エンターテイン
メントロボットと呼称される場合もある。また、そのよ
うなロボット装置には、外部からの情報及び内部の状態
に応じて自律的に動作するものがある。
These robot devices are sometimes called entertainment robots because they can perform various operations, etc., with emphasis on entertainment, as compared with industrial robots. Further, some of such robot devices operate autonomously in accordance with information from the outside and internal states.

【0005】ところで、自律型ロボット装置において、
自身の周りの環境を認識して経路計画を立て、それに応
じて移動する能力は言うまでもなく重要である。従来、
移動ロボット装置においては、環境全体の地図を保持し
たり、ロボット装置の微少移動又は姿勢の変更に際して
環境地図が更新されている。
By the way, in the autonomous robot apparatus,
Needless to say, the ability to recognize the environment around oneself, plan a route, and move accordingly. Conventionally,
In the mobile robot device, a map of the entire environment is held, or the environment map is updated when the robot device is slightly moved or the posture is changed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
ロボット装置においては、保存するデータ量が多くなる
と共に地図更新コスト及びメモリコピーコストが高くな
り、リソースの限られたロボット装置には不向きである
という問題点がある。
However, in the conventional robot apparatus, the amount of data to be stored increases and the map update cost and the memory copy cost also increase, which is not suitable for a robot apparatus having limited resources. There is a problem.

【0007】本発明は、このような従来の実情に鑑みて
提案されたものであり、ロボット装置等の限られた計算
リソース及びメモリリソースを考慮し、環境地図の保持
及び更新に関するコストを低減した位置認識方法、その
装置、そのプログラム、その記録媒体及び位置認識装置
搭載型ロボット装置を提供することを目的とする。
The present invention has been proposed in view of such a conventional situation, and in view of the limited calculation resources and memory resources of a robot device or the like, the cost for holding and updating the environment map has been reduced. An object of the present invention is to provide a position recognition method, its device, its program, its recording medium, and a position recognition device-mounted robot device.

【0008】[0008]

【課題を解決するための手段】上述した目的を達成する
ために、本発明に係る位置認識方法は、所定の環境内を
移動する移動体の位置を上記所定の環境に対応する環境
地図上の位置として認識する位置認識方法であって、上
記環境地図は所定の大きさのグリッドにより仕切られ、
上記移動体の移動に伴い、移動範囲が上記グリッド内の
場合は上記環境地図を保持し、移動範囲が上記グリッド
を越える場合は上記環境地図を上記グリッド単位で移動
させて更新することを特徴とする。
In order to achieve the above-mentioned object, a position recognition method according to the present invention is arranged such that the position of a moving body moving in a predetermined environment is displayed on an environment map corresponding to the predetermined environment. A position recognition method for recognizing as a position, wherein the environment map is partitioned by a grid of a predetermined size,
With the movement of the moving body, when the movement range is within the grid, the environment map is retained, and when the movement range exceeds the grid, the environment map is moved by the grid unit and updated. To do.

【0009】本発明においては、グリッドに仕切られた
環境地図を保有し、移動範囲がグリッドの大きさを越え
た場合のみ環境地図をグリッド単位で移動させて環境地
図を更新するため、保有するデータ量を削減することが
できると共に移動範囲がグリッドを越えない場合は、環
境地図を更新する必要がなく、計算コスト及び情報のメ
モリへのコピーコストを低減することができる。
In the present invention, since the environment map is divided into grids and the environment map is moved by the grid unit to update the environment map only when the movement range exceeds the size of the grid, the data to be held is retained. When the amount of movement can be reduced and the movement range does not exceed the grid, it is not necessary to update the environment map, and the calculation cost and the information copying cost to the memory can be reduced.

【0010】また、上記移動体の向きは上記環境地図を
固定して該環境地図上での方向として認識するため、移
動体の向きの情報(姿勢情報)を環境地図とは別に記憶
し、移動に伴い向きが変更されない場合は、姿勢情報の
更新をする必要がない。
Further, since the direction of the moving body is recognized as the direction on the environment map by fixing the environment map, information on the direction of the moving body (posture information) is stored separately from the environment map, and the moving body moves. If the orientation is not changed due to, there is no need to update the posture information.

【0011】更に、上記環境地図及び/又は上記グリッ
ドの大きさを変更する工程を有するため、例えば、環境
地図の精度をあまり必要としない場合においては、装置
の動作中においても、装置を停止させることなく、地図
を小さくするか、又はグリッドの大きさ(解像度)を大
きくすることにより、環境地図の更新時における計算コ
スト及びメモリコピーコストを更に低減することができ
る。
Further, since there is a step of changing the size of the environment map and / or the grid, for example, when the accuracy of the environment map is not required so much, the apparatus is stopped even during the operation of the apparatus. Without making the map smaller or increasing the size (resolution) of the grid, the calculation cost and the memory copy cost at the time of updating the environment map can be further reduced.

【0012】更にまた、移動体の移動に伴い、移動前後
の差分移動量及び差分移動角が入力されるため、計算量
が少なく且つ精度が高い環境地図及び姿勢情報を得るこ
とがきる。
Furthermore, since the difference movement amount and the difference movement angle before and after the movement are input as the moving body moves, it is possible to obtain an environment map and posture information with a small amount of calculation and high accuracy.

【0013】本発明に係る位置認識装置は、所定の環境
内を移動する移動体の位置を上記所定の環境に対応する
環境地図上の位置として認識する位置認識装置であっ
て、上記環境地図を記憶する記憶手段と、上記移動体の
移動に伴い、上記環境地図を更新する地図更新手段とを
有し、上記環境地図は所定の大きさのグリッドにより仕
切られ、上記地図更新手段は、上記移動体の移動に伴
い、移動範囲が上記グリッド内の場合は上記環境地図を
保持し、移動範囲が上記グリッドを越える場合は上記環
境地図を上記グリッド単位で移動させて更新するもので
あることを特徴とする。
A position recognition device according to the present invention is a position recognition device for recognizing a position of a moving body moving in a predetermined environment as a position on an environment map corresponding to the predetermined environment. It has storage means for storing and map updating means for updating the environment map with the movement of the mobile body, the environment map being partitioned by a grid of a predetermined size, and the map updating means for moving the movement. When the movement range is within the grid due to the movement of the body, the environment map is retained, and when the movement range exceeds the grid, the environment map is moved by the grid unit and updated. And

【0014】本発明に係るロボット装置は、供給された
入力情報に基づいて動作を行うロボット装置であって、
所定の環境内を移動する移動体の位置を上記所定の環境
に対応する環境地図上の位置として認識する位置認識装
置が搭載され、上記位置認識装置は、上記環境地図を記
憶する記憶手段と、上記移動体の移動に伴い、上記環境
地図を更新する地図更新手段とを有し、上記環境地図は
所定の大きさのグリッドにより仕切られ、上記地図更新
手段は、上記移動体の移動に伴い、移動範囲が上記グリ
ッド内の場合は上記環境地図を保持し、移動範囲が上記
グリッドを越える場合は上記環境地図を上記グリッド単
位で移動させて更新することを特徴とする。
A robot device according to the present invention is a robot device which operates based on supplied input information,
A position recognizing device for recognizing the position of a moving body moving in a predetermined environment as a position on the environment map corresponding to the predetermined environment is mounted, and the position recognizing device includes a storage unit for storing the environment map, With the movement of the mobile body, it has a map update means for updating the environment map, the environment map is partitioned by a grid of a predetermined size, the map update means, with the movement of the mobile body, When the movement range is within the grid, the environment map is retained, and when the movement range exceeds the grid, the environment map is moved and updated in units of the grid.

【0015】また、操作盤上に上記地図情報及び上記姿
勢情報を出力する出力手段を有するため、例えば、ユー
ザが遠隔操作する際に、その操作盤を使用し、環境地図
及び姿勢情報を表示させることにより、移動体、即ちロ
ボット装置の周辺の障害物情報等を容易に把握すること
ができ、操作性を向上することができる。
Further, since the operation panel has output means for outputting the map information and the attitude information, for example, when the user remotely operates, the operation panel is used to display the environment map and the attitude information. This makes it possible to easily grasp information about obstacles around the moving body, that is, the robot device, and improve operability.

【0016】更に、可動脚ユニットを有し、上記地図更
新手段は上記可動脚ユニットが移動する毎にその移動量
が入力されるか、又は左右2つの脚部ユニットからなる
可動脚ユニットを有し、上記地図更新手段は、上記脚部
ユニットの何れか1つが移動する毎にその移動量が入力
されることにより、例えば車輪を有するロボット装置で
あればその回転数から移動量が容易に算出でき、また、
2足又は4足のロボット装置であればその歩数から移動
量を容易に算出することができると共に、移動していな
いときは更新作業を行わずにすむため、環境地図更新の
際の無駄な計算コスト及びメモリコピーコストを削減す
ることができる。
Further, the map updating means has a movable leg unit, and the movement amount is input each time the movable leg unit moves, or the map updating means has a movable leg unit composed of two left and right leg units. The map updating means inputs the movement amount each time any one of the leg units moves, so that the movement amount can be easily calculated from the number of revolutions of a robot device having wheels, for example. ,Also,
With a two- or four-legged robot device, the amount of movement can be easily calculated from the number of steps, and when it is not moving, updating work is unnecessary, so useless calculation when updating the environment map. The cost and the memory copy cost can be reduced.

【0017】[0017]

【発明の実施の形態】以下、本発明を適用した具体的な
実施の形態について、図面を参照しながら詳細に説明す
る。この実施の形態は、位置認識装置を搭載した2足歩
行のロボット装置に適用したものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Specific embodiments to which the present invention is applied will be described below in detail with reference to the drawings. This embodiment is applied to a bipedal robot device equipped with a position recognition device.

【0018】ロボット装置が環境内を自由に動き回りた
い場合、ロボット装置を中心(原点)としたロボット中
心地図情報(環境地図)を作成する必要があるが、環境
地図は、ロボット装置の移動に伴い、時々刻々と更新す
る必要がある。ロボット装置のような限られたリソース
を有する装置においては、地図更新の際には、なるべく
メモリを小さくすることが好ましい。このため、本実施
の形態においては、環境地図を所定の大きさのグリッド
に分割し、移動が小さいとき(移動範囲がグリッド内で
あるとき)は、環境地図を更新せず、メモリコピーを不
要とするものである。ロボット装置の移動前後の差分移
動量(移動距離)は、例えば車輪を有するロボット装置
の場合はその車輪の回転から容易に算出することができ
る。また、本実施の形態のように、2足のロボット装置
においては、その歩数から移動距離を容易に算出するこ
とができる。
If the robot unit wants to move freely in the environment, it is necessary to create robot center map information (environment map) centered on the robot unit (origin). , Need to be updated from time to time. In a device having limited resources such as a robot device, it is preferable to make the memory as small as possible when updating the map. Therefore, in the present embodiment, the environment map is divided into grids of a predetermined size, and when the movement is small (when the movement range is within the grid), the environment map is not updated and memory copy is unnecessary. It is what The differential movement amount (movement distance) before and after the movement of the robot device can be easily calculated from the rotation of the wheel in the case of a robot device having wheels, for example. Further, as in the present embodiment, in a bipedal robot device, the moving distance can be easily calculated from the number of steps.

【0019】図1は、本発明の実施の形態におけるロボ
ット装置の概略を示すブロック図である。図1に示すよ
うに、ロボット装置1の頭部ユニット250には、2台
のCCDカメラ200R,200Lが設けられ、このC
CDカメラ200R,200Lの後段には、ステレオ画
像処理装置210が設けられている。2台のCCDカメ
ラ(以下、右目200R、左目200Lという。)によ
り撮像された右目画像201R、左目画像201Lは、
ステレオ画像処理装置210に入力される。ステレオ画
像処理装置210は、各画像201R,201Lの視差
情報(disparity data)(距離情報)を計算し、カラー
画像(YUV:輝度Y、UV色差)202及び視差画像
(YDR:輝度Y、視差D、信頼度R)203をフレー
ム毎に左右交互に算出する。ここで、視差とは、空間中
のある点が左目及び右目に写像される点の違いを示し、
そのカメラからの距離に応じて変化するものである。
FIG. 1 is a block diagram showing an outline of a robot apparatus according to an embodiment of the present invention. As shown in FIG. 1, the head unit 250 of the robot apparatus 1 is provided with two CCD cameras 200R and 200L.
A stereo image processing device 210 is provided behind the CD cameras 200R and 200L. The right eye image 201R and the left eye image 201L captured by two CCD cameras (hereinafter, referred to as right eye 200R and left eye 200L) are
It is input to the stereo image processing device 210. The stereo image processing apparatus 210 calculates disparity information (disparity data) (distance information) of each of the images 201R and 201L, and a color image (YUV: luminance Y, UV color difference) 202 and a parallax image (YDR: luminance Y, parallax D). , Reliability R) 203 is calculated alternately for each frame. Here, the parallax indicates the difference between the points at which a certain point in space is mapped to the left eye and the right eye,
It changes according to the distance from the camera.

【0020】このカラー画像202及び視差画像203
はロボット装置1の体幹部260に内蔵されたCPU
(制御部)220に入力される。また、ロボット装置1
の各関節にはアクチュエータ230が設けられており、
CPU220からの指令となる制御信号231が供給さ
れて、その指令値に応じてモータを駆動する。各関節
(アクチュエータ)には、ポテンショメータが取り付け
られ、その時のモータの回転角がCPUに送られる。こ
のアクチュエータに取り付けられたポテンショメータ、
足底に取り付けられたタッチセンサ及び体幹部に取り付
けられたジャイロ・センサ等の各センサ240は、現在
の関節角度、設置情報、及び姿勢情報等の現在のロボッ
ト装置の状態を計測し、センサデータ241としてCP
U220へ出力する。CPU220は、ステレオ画像処
理装置210からのカラー画像202及び視差画像20
3と、アクチュエータの全ての関節角度等のセンサデー
タ241とが入力され、後述するソフトウェア構成を実
現する。
This color image 202 and parallax image 203
Is a CPU built in the trunk 260 of the robot apparatus 1.
(Control unit) 220 is input. Also, the robot device 1
An actuator 230 is provided at each joint of
A control signal 231 serving as a command from the CPU 220 is supplied, and the motor is driven according to the command value. A potentiometer is attached to each joint (actuator), and the rotation angle of the motor at that time is sent to the CPU. Potentiometer attached to this actuator,
Each sensor 240 such as a touch sensor attached to the sole of the foot and a gyro sensor attached to the torso measures the current state of the robot device such as the current joint angle, installation information, and posture information, and the sensor data CP as 241
Output to U220. The CPU 220 includes the color image 202 and the parallax image 20 from the stereo image processing device 210.
3 and the sensor data 241 such as all joint angles of the actuator are input to realize the software configuration described later.

【0021】本実施の形態のソフトウェアは、オブジェ
クト単位で構成され、ロボット装置の位置、移動量、周
囲の障害物、及び環境地図等を認識し、ロボット装置が
最終的に取るべき行動についての行動列を出力する各種
認識処理等を行うものである。なお、ロボット装置の位
置を示す座標として、例えば、後述するランドマーク等
の特定の物体等に基づく所定位置を座標の原点としたワ
ールド基準系のカメラ座標系(以下、絶対座標ともい
う。)と、ロボット装置自身を中心(座標の原点)とし
たロボット中心座標系(以下、相対座標ともいう。)と
の2つの座標を使用する。
The software of the present embodiment is configured in units of objects, recognizes the position, movement amount, obstacles around the robot apparatus, environment map, etc. of the robot apparatus, and takes action about the action that the robot apparatus should finally take. It is for performing various recognition processes for outputting a column. As the coordinates indicating the position of the robot device, for example, a camera coordinate system of a world reference system (hereinafter also referred to as absolute coordinates) having a predetermined position based on a specific object such as a landmark described later as an origin of the coordinates. , And a robot center coordinate system (hereinafter, also referred to as relative coordinates) centered on the robot apparatus itself (origin of coordinates).

【0022】図2は、本実施の形態におけるロボット装
置のソフトウェアの構成を示す模式図である。同図にお
いて、丸で表されているのが、オブジェクト又はプロセ
スと呼ばれるエンティティである。オブジェクト同士が
非同期に通信し合うことで、システム全体が動作する。
各オブジェクトはメッセージ通信と共有メモリを使用し
たオブジェクト間通信方法によりデータの受け渡し及び
プログラムの起動(Invoke)を行っている。
FIG. 2 is a schematic diagram showing a software configuration of the robot apparatus according to this embodiment. In the figure, the circles represent entities called objects or processes. The entire system operates by communicating objects asynchronously.
Each object transfers data and activates a program (Invoke) by an inter-object communication method using message communication and shared memory.

【0023】図2に示すように、ソフトウェア300
は、キネマティックオドメトリ(Kinematics Odometr
y)KINE310、平面抽出部(Plane Extractor)P
LEX320、障害物グリッド算出部(Occupancy Gri
d)OG330、ランドマーク位置検出部(Landmark Se
nsor)CLS340、絶対座標算出部(Localization)
LZ350及び行動決定部(Situated behavior Laye
r)SBL360から構成され、各オブジェクト単位に
て処理がなされる。これらのソフトウェアの詳細な構成
及び動作については後述する。また、ロボット装置につ
いての詳細な構成及び動作についても後述する。
As shown in FIG. 2, software 300
Kinematics Odometr
y) KINE310, Plane Extractor P
LEX320, Obstacle grid calculator (Occupancy Gri
d) OG330, landmark position detector (Landmark Se
nsor) CLS340, absolute coordinate calculation unit (Localization)
LZ350 and Situated behavior Laye
r) It is composed of the SBL 360, and processing is performed for each object. The detailed configuration and operation of these software will be described later. The detailed configuration and operation of the robot device will also be described later.

【0024】ここで、先ず、上述したロボット装置1に
搭載される本発明の実施の形態における位置認識装置に
ついて説明する。本実施の形態の位置認識装置は、障害
物グリッド算出部(Occupancy Grid)OG330を有す
る。即ち、本実施の形態の位置認識装置は、ロボット装
置1の障害物グリッド算出部OG330と同様の構成及
び動作を有する。
First, the position recognizing device according to the embodiment of the present invention mounted on the robot device 1 will be described. The position recognition device according to the present embodiment has an obstacle grid calculation unit (Occupancy Grid) OG330. That is, the position recognition device of the present embodiment has the same configuration and operation as the obstacle grid calculation unit OG330 of the robot device 1.

【0025】上述した如く、CCDカメラ200L,2
00Rによって取り込まれた映像は、ステレオ画像処理
装置210に入力され、左右画像201R,201Lの
視差情報(距離情報)からカラー画像(YUV)202
及び視差画像(YDR)203が算出されてCPU22
0に入力される。また、ロボット装置1に複数個設けら
れた各センサからのセンサデータ240が入力される。
図2に示すように、これらの視差情報及び視差画像から
なる画像データ301と、センサデータ302とがキネ
マティックオドメトリKINE310に入力される。
As described above, the CCD cameras 200L, 2
The video captured by 00R is input to the stereo image processing device 210, and the color image (YUV) 202 is obtained from the parallax information (distance information) of the left and right images 201R and 201L.
And the parallax image (YDR) 203 is calculated and the CPU 22
Input to 0. In addition, sensor data 240 from each of the plurality of sensors provided in the robot apparatus 1 is input.
As shown in FIG. 2, the image data 301 including the parallax information and the parallax image and the sensor data 302 are input to the kinematic odometry KINE 310.

【0026】キネマティックオドメトリKINE310
は、画像データ301及びセンサデータ302からなる
入力データに基づいてロボット中心座標系の移動量(オ
ドメトリ)を算出する。このオドメトリ301は、絶対
座標算出部LZ350に入力されると共に障害物グリッ
ド算出部OG330に入力される。
Kinematic odometry KINE310
Calculates the movement amount (odometry) of the robot central coordinate system based on the input data composed of the image data 301 and the sensor data 302. The odometry 301 is input to the absolute coordinate calculation unit LZ350 and the obstacle grid calculation unit OG330.

【0027】図3は、本実施の形態の位置認識装置(ロ
ボット装置)にて認識される環境地図を示す模式図であ
る。図3に示すように、環境地図400は、ロボット装
置(移動体)403を中心とした周囲の地図情報である
環境地図(ロボット中心座標系での地図情報)であり、
所定の大きさのグリッド410に分割されている。そし
て、ロボット装置403が移動すると、常にロボット装
置403が環境地図400の中心に位置する中心グリッ
ド401内に位置するように更新されるものである。こ
の図3に示す環境地図400及びグリッド410の大き
さは、必要に応じて適宜変更することができる。即ち、
例えば、精細な環境地図が不要であるとき等は、環境地
図400を小さくするか、又はグリッド410の大きさ
を大きくして解像度を下げることにより、計算量及びメ
モリコピーコスト等を小さくすることができる。
FIG. 3 is a schematic diagram showing an environment map recognized by the position recognition device (robot device) of the present embodiment. As shown in FIG. 3, the environment map 400 is an environment map (map information in the robot center coordinate system) that is surrounding map information centered around the robot device (moving body) 403.
It is divided into a grid 410 of a predetermined size. Then, when the robot device 403 moves, the robot device 403 is constantly updated so as to be positioned within the central grid 401 located at the center of the environment map 400. The sizes of the environment map 400 and the grid 410 shown in FIG. 3 can be appropriately changed as needed. That is,
For example, when a fine environment map is unnecessary, the environment map 400 may be made smaller, or the grid 410 may be made larger to reduce the resolution, thereby reducing the amount of calculation and the memory copy cost. it can.

【0028】また、図3において、ハッチングして示す
グリッド402は、障害物として認識される最小単位の
領域(障害物占有領域)を示す。位置認識装置における
障害物の認識方法としては、例えば、ステレオカメラ等
による視差画像から求める方法、レンジファインダー等
の電波の跳ね返りを利用する方法、及び超音波センサ等
の距離測定センサによる方法等がある。そして、これら
の方法により認識された障害物の位置を位置認識装置が
環境地図のグリッドの属性として認識(表示)する。本
実施の形態においては、障害物情報は、後述する平面抽
出部PLEX320から入力される。
Further, in FIG. 3, a hatched grid 402 shows a minimum unit area (obstacle occupied area) recognized as an obstacle. As a method of recognizing an obstacle in the position recognizing device, for example, a method of obtaining from a parallax image by a stereo camera, a method of using rebound of radio waves such as a range finder, and a method of using a distance measuring sensor such as an ultrasonic sensor . Then, the position recognition device recognizes (displays) the position of the obstacle recognized by these methods as an attribute of the grid of the environment map. In the present embodiment, the obstacle information is input from the plane extraction unit PLEX320 described later.

【0029】位置認識装置(障害物グリッド算出部OG
330)は、上述したように、データ画像及びセンサデ
ータが入力されるキネマティックオドメトリKINE3
10からオドメトリ314が入力されると、予めメモリ
(記憶手段)内に格納されていた環境地図を更新する。
メモリ内には、ロボット装置403を中心としたロボッ
ト装置の周囲の障害物等の情報を有する地図情報である
環境地図400と共に、この地図上においてのロボット
装置(移動体)の向きを示す姿勢情報404を有するも
のである。姿勢情報404は、所定の方角、例えばx軸
方向又はy軸方向からロボット装置403が向く方角を
示すものである。そして、ロボット装置の姿勢の変化及
び移動等に伴って、図3に示す予め認識している環境地
図及び姿勢方向の情報を更新する更新手段を有する。更
新手段は、ロボット装置等の移動体の移動に伴い、移動
範囲がグリッド内の場合は環境地図を保持し、移動範囲
がグリッドを越える場合は環境地図をグリッド単位で移
動させて更新するものである。
Position recognition device (obstacle grid calculation unit OG
330) is the kinematic odometry KINE3 to which the data image and the sensor data are input, as described above.
When the odometry 314 is input from 10, the environment map previously stored in the memory (storage unit) is updated.
In the memory, together with the environment map 400, which is map information having information about obstacles around the robot device centering on the robot device 403, and posture information indicating the orientation of the robot device (moving body) on this map. 404. The posture information 404 indicates a direction in which the robot device 403 faces from a predetermined direction, for example, the x-axis direction or the y-axis direction. Further, it has an updating means for updating the previously recognized environment map and the information on the posture direction shown in FIG. 3 according to the change and movement of the posture of the robot apparatus. The updating means retains the environment map when the moving range is within the grid due to the movement of the moving body such as the robot device, and moves and updates the environment map in grid units when the moving range exceeds the grid. is there.

【0030】先ず、環境地図の更新方法について説明す
る。本発明の位置認識装置においては、上述したよう
に、ロボット装置等の移動量の大きさによっては環境地
図を更新しない。
First, a method for updating the environment map will be described. In the position recognition device of the present invention, as described above, the environment map is not updated depending on the amount of movement of the robot device or the like.

【0031】図4(a),(b)及び(c),(d)は
移動量に応じた環境地図の更新方法を示す図であって、
夫々環境地図を更新しない場合及び環境地図を更新する
場合の環境地図を示す模式図である。図4(a)に示す
ように、環境地図500における中心グリッド501内
にロボット装置503が位置している。ハッチングして
示すグリッド502は障害物領域を示す。このロボット
装置503の移動量505が小さく、図4(b)に示す
ように、ロボット装置503の位置が移動後のロボット
装置506においても、そのロボット506の位置が中
心グリッド501内であった場合、環境地図500は更
新しない。この場合は、中心グリッド501内における
ロボット装置の移動位置情報だけを更新する。
FIGS. 4 (a), (b), (c), and (d) are diagrams showing a method of updating the environment map according to the movement amount.
It is a schematic diagram which shows an environment map when not updating an environment map and when updating an environment map, respectively. As shown in FIG. 4A, the robot device 503 is located in the center grid 501 in the environment map 500. A hatched grid 502 indicates an obstacle area. When the movement amount 505 of the robot device 503 is small and the position of the robot device 503 is in the center grid 501 even in the robot device 506 after the movement, as shown in FIG. 4B. , The environment map 500 is not updated. In this case, only the movement position information of the robot device in the central grid 501 is updated.

【0032】一方、図4(a)と同様に、図4(c)に
示すように、環境地図500における中心グリッド50
1内に位置したロボット装置503の移動量515が大
きく中心グリッド501を越えた場合、図4(d)に示
すように、移動後のロボット装置513が環境地図の中
心グリッド511に位置するように、移動したグリッド
の数だけ環境地図500をシフトさせて更新して更新環
境地図510を得る。
On the other hand, similarly to FIG. 4A, as shown in FIG. 4C, the central grid 50 in the environment map 500 is shown.
When the movement amount 515 of the robot device 503 located in the position 1 greatly exceeds the central grid 501, the robot device 513 after the movement is positioned on the central grid 511 of the environment map as shown in FIG. 4D. , The environment map 500 is shifted and updated by the number of moved grids to obtain the updated environment map 510.

【0033】即ち、障害物領域として認識される大きさ
の最小単位であるグリッドの大きさをCS(Cell Siz
e)、グリッド内のロボット装置の位置を(Bx,B
y)、ロボット装置の2次元方向の移動量を(dx,d
y)とすると、グリッドのシフトの大きさ(Sx,S
y)は下記数式(1)で示される。
That is, the size of the grid, which is the minimum unit of the size recognized as the obstacle area, is CS (Cell Siz
e), the position of the robot device in the grid is (Bx, B
y), the movement amount of the robot device in the two-dimensional direction is (dx, d
y), the magnitude of the grid shift (Sx, S
y) is represented by the following mathematical expression (1).

【0034】[0034]

【数1】 [Equation 1]

【0035】ここで、上記数式(1)において、[]
は、ガウス記号であって、[]内の値を超えない最大の
整数値を示すものとする。また、グリッド内のロボット
位置(Rx,Ry)は、下記数式(2)で示される。
Here, in the above equation (1), []
Is a Gaussian symbol and represents the maximum integer value that does not exceed the value in []. The robot position (Rx, Ry) in the grid is represented by the following mathematical expression (2).

【0036】[0036]

【数2】 [Equation 2]

【0037】上記数式(1)及び数式(2)の値を図5
に示す。図5(a)に示すように、ロボット装置603
は、グリッドサイズCSを有する複数個のグリッドに分
割された環境地図600における中心グリッド601内
に位置している。環境地図600内にはハッチングして
示す障害物領域を示す複数個のグリッド602を有す
る。ここで、中心グリッド601内の例えば図中左下隅
の点607をグリッド601内のロボット装置603の
位置原点とすることができる。このロボット装置603
の位置は、原点607からの距離として位置(Bx,B
y)として表すことができる。このロボット装置603
が移動量(dx,dy)605の移動をしてグリッド6
08に移動した場合、移動後のロボット装置613の位
置は、(Bx+dx,By+dy)として表すことがで
きる。
The values of the above equations (1) and (2) are shown in FIG.
Shown in. As shown in FIG. 5A, the robot device 603
Are located in the central grid 601 in the environment map 600 divided into a plurality of grids having a grid size CS. The environment map 600 has a plurality of grids 602 that indicate obstacle areas shown by hatching. Here, for example, a point 607 at the lower left corner in the drawing in the central grid 601 can be set as the position origin of the robot device 603 in the grid 601. This robot device 603
Is the position (Bx, B) as the distance from the origin 607.
can be represented as y). This robot device 603
Moves the moving amount (dx, dy) 605 and moves to the grid 6
When moved to 08, the position of the robot apparatus 613 after the movement can be represented as (Bx + dx, By + dy).

【0038】ロボット装置603が移動量(dx,d
y)605の移動をした場合、環境地図シフト量(S
x,Sy)は、上記数式(1)から算出することができ
る。ここで、更新環境地図610において、環境地図6
00をx軸方向のシフト量Sx及びy軸方向のシフト量
Syだけ、夫々x軸方向の移動量dx及びy軸方向の移
動量dyとは逆方向に環境地図をシフトさせたものとし
て更新することができる。なお、ここでは、ロボット装
置の移動量(dx,dy)は右向きを正とし、環境地図
のシフト量(Sx,Sy)は、移動方向とは逆方向であ
る左向きを正としている。
The robot device 603 moves the moving amount (dx, d
y) When moving 605, the environmental map shift amount (S
x, Sy) can be calculated from the above equation (1). Here, in the updated environment map 610, the environment map 6
00 is updated by shifting the environment map by the shift amount Sx in the x-axis direction and the shift amount Sy in the y-axis direction, which are shifted in the opposite directions to the shift amount dx in the x-axis direction and the shift amount dy in the y-axis direction, respectively. be able to. In addition, here, the movement amount (dx, dy) of the robot device is positive in the right direction, and the shift amount (Sx, Sy) of the environment map is positive in the left direction which is the opposite direction to the movement direction.

【0039】こうして移動後のロボット装置613は、
更新環境地図610の中心グリッド611に位置する。
ここで、移動後のロボット装置613の環境地図シフト
後の更新環境地図610の中心グリッド611における
ロボット位置(Ax,Ay)は、移動前のロボット装置
603のシフト前環境地図600の中心グリッド601
におけるロボット位置(Bx,By)と、グリッド内移
動量(Rx,Ry)615とからロボット位置(Ax,
Ay)=(Bx+Rx,By+Ry)=(Bx+dx−
CS×Sx,By+dy−CS×Sy)として算出する
ことができる。
In this way, the robot apparatus 613 after moving is
It is located on the central grid 611 of the updated environment map 610.
Here, the robot position (Ax, Ay) in the center grid 611 of the updated environment map 610 after shifting the environment map of the robot apparatus 613 after movement is the center grid 601 of the pre-shift environment map 600 of the robot apparatus 603 before movement.
From the robot position (Bx, By) and the in-grid movement amount (Rx, Ry) 615, the robot position (Ax, By)
Ay) = (Bx + Rx, By + Ry) = (Bx + dx−
It can be calculated as CS × Sx, By + dy−CS × Sy).

【0040】次に、ロボット装置の姿勢方向の情報の更
新について説明する。図6(a)及び(b)は、姿勢方
向の夫々更新前後の様子を示す模式図である。ロボット
装置の姿勢情報に関しては、環境地図を固定した座標系
に対する角度として示すことができる、即ち、ロボット
装置が姿勢方向dαだけ変化させた場合、ロボット装置
の姿勢方向の情報のみが更新され、環境地図は更新され
ない。
Next, updating of information on the posture direction of the robot device will be described. FIGS. 6A and 6B are schematic views showing the states before and after updating the posture direction. Regarding the posture information of the robot device, the environment map can be shown as an angle with respect to the fixed coordinate system, that is, when the robot device changes only the posture direction dα, only the information of the posture direction of the robot device is updated to change the environment. The map is not updated.

【0041】即ち、図6(a)に示すように、障害物領
域である複数個のグリッド702を有する環境地図70
0における中心グリッド701に位置するロボット装置
703において、移動前のロボット姿勢方向704をα
とする。姿勢方向αは、例えば時計回りを正とし、y軸
からの傾き又はx軸からの傾き等として示すことができ
る。ここで、ロボット装置703が姿勢回転角度dαで
回転した場合、図6(b)に示すように、移動後のロボ
ット姿勢方向(姿勢情報)714は、α+dαとして示
すことができる。
That is, as shown in FIG. 6A, the environment map 70 having a plurality of grids 702 which are obstacle regions.
In the robot apparatus 703 located on the central grid 701 at 0, the robot posture direction 704 before the movement is α
And The posture direction α can be shown as a tilt from the y-axis or a tilt from the x-axis, with the clockwise direction being positive, for example. Here, when the robot device 703 rotates at the posture rotation angle dα, the robot posture direction (posture information) 714 after movement can be represented as α + dα, as shown in FIG. 6B.

【0042】図7は、本実施の形態の効果を示す図であ
る。本実施の形態においては、図7に示すように、環境
地図及びロボット装置自身の姿勢方向の情報の更新、即
ちキネマティックオドメトリKINE801から障害物
グリッド算出部803への移動量(オドメトリ)802
の受け渡しは、所定の時間毎に自動的に行うこともでき
るが、ロボット装置が1歩歩く毎に行うようにする。こ
のことにより、移動していないときは更新作業をしない
ようにし、更新作業を行うことによる計算コスト及びメ
モリコピーコストをなくすことでロボット装置の例えば
CPU等の負荷を低減することができる。また、ソフト
ウェアの構成がオブジェクト単位で処理を行うような場
合は、受け渡すデータは、ロボット装置の移動差分量・
回転差分量(dx,dy,dα)のみでよく、ロボット
装置の絶対座標及び絶対角度を受け渡すよりもデータ量
が少なく、且つ高い精度を得ることができる。
FIG. 7 is a diagram showing the effect of the present embodiment. In this embodiment, as shown in FIG. 7, the environment map and the information on the posture direction of the robot apparatus itself are updated, that is, the movement amount (odometry) 802 from the kinematic odometry KINE 801 to the obstacle grid calculation unit 803.
The delivery can be performed automatically every predetermined time, but is performed every time the robot apparatus walks one step. As a result, it is possible to reduce the load of the robot device, for example, the CPU, by not performing the update work when not moving and by eliminating the calculation cost and the memory copy cost due to the update work. Also, if the software configuration is such that processing is performed on an object-by-object basis, the data to be transferred is
Only the rotation difference amount (dx, dy, dα) is required, and the data amount is smaller than that when the absolute coordinate and the absolute angle of the robot device are transferred, and high accuracy can be obtained.

【0043】また、エンタテーメントロボット装置が位
置認識以外の処理を行う場合、例えば音声認識及び顔認
識等、位置認識と直接関係がなく、位置認識のプライオ
リティを下げてもよい場合がある。このような場合にお
いて、位置認識装置(位置認識のオブジェクト)を停止
すると、位置認識のプライオリティが高くなった際に、
停止していた間に移動があったりする等して、停止前の
位置認識結果と整合が取れなくなるという問題(Kid
Nap問題)が生じる。従って、位置認識のプライオリ
ティを下げてよい場合においては、環境地図のグリッド
の大きさCSを大きくするか、又は環境地図サイズの大
きさ自身を小さくするかすることにより、位置認識のオ
ブジェクトを停止することなく、CPUのリソースを低
減することができる。
Further, when the entertainment robot apparatus performs processing other than position recognition, there are cases where the priority of position recognition may be lowered because it is not directly related to position recognition, such as voice recognition and face recognition. In such a case, if the position recognition device (object of position recognition) is stopped, when the priority of position recognition becomes high,
There is a problem that the position recognition result before the stop cannot be matched due to movement during the stop (Kid
Nap problem) occurs. Therefore, when the priority of the position recognition may be lowered, the position recognition object is stopped by increasing the size CS of the environment map grid or by decreasing the size of the environment map size itself. It is possible to reduce the CPU resource without doing so.

【0044】更に、以上説明したような処理で得られる
環境地図及びロボット装置の姿勢情報を図8に示す操作
盤に表示することができる。図8は、例えばユーザがロ
ボット装置の遠隔操作時に使用する操作盤を示す模式図
である。図8に示すように、操作盤900には、ロボッ
ト装置のカメラ画像901及び環境地図910が表示さ
れる。操作盤900には、その他、例えばロボット装置
913を移動させる操作ボタン920等が備えられてい
る。なお、本図においては、カメラ画像901は、その
画像をトレースして模式的に示すものである。
Furthermore, the environment map and the posture information of the robot device obtained by the above-described processing can be displayed on the operation panel shown in FIG. FIG. 8 is a schematic diagram showing an operation panel used by a user for remote control of the robot apparatus, for example. As shown in FIG. 8, a camera image 901 of the robot apparatus and an environment map 910 are displayed on the operation panel 900. In addition, the operation panel 900 is provided with, for example, operation buttons 920 for moving the robot apparatus 913. In the figure, the camera image 901 schematically shows the image traced.

【0045】移動ロボット装置の重要な利用方法として
は、自律動作以外にユーザが遠隔操作をする利用方法が
ある。従来、ロボットの操作盤にロボット装置に装備さ
れたカメラによって得られる画像を表示するものがあ
る。しかしながら、特に、視野の限られたカメラだけで
はユーザがロボット装置周辺の環境を把握してロボット
装置を操作することは困難であった。しかし、本実施の
形態のように、ロボット装置913に装備されたCCD
等のカメラからのカメラ画像901のみのデータで遠隔
操作する従来のロボット制御よりも、遠隔操作用の操作
盤900に環境地図910を表示することによって、ロ
ボット制御の操作性が飛躍的に向上する。
As an important usage method of the mobile robot apparatus, there is a usage method in which the user remotely operates in addition to the autonomous operation. 2. Description of the Related Art Conventionally, there is one that displays an image obtained by a camera mounted on a robot device on a control panel of the robot. However, in particular, it is difficult for the user to operate the robot apparatus by grasping the environment around the robot apparatus only with a camera having a limited field of view. However, as in the present embodiment, the CCD installed in the robot device 913
By displaying the environment map 910 on the operation panel 900 for remote control, the operability of robot control is dramatically improved, as compared with the conventional robot control in which remote control is performed using only the camera image 901 from the camera. .

【0046】ここで、上述の実施の形態においては、ロ
ボットの姿勢情報が変化しても環境地図を更新しないも
のとして説明したが、通常、ロボット装置においてはC
CDカメラ等の撮像装置は頭部ユニット前面に設けられ
ており、カメラ画像901はロボット装置の前方の画像
を表示する。従って、姿勢情報が変化してロボット装置
の向きが例えば180°回転した場合、カメラ画像と環
境地図との方向が逆になる。よって、姿勢情報が、例え
ば90°等、所定の角度以上回転した場合は、この回転
に伴い環境地図を回転さて進行方向が図中の略上方向と
なるように表示することにより、更にロボット制御の操
作性が向上する。
Here, in the above-mentioned embodiment, it is explained that the environment map is not updated even if the posture information of the robot changes, but normally, in the robot apparatus, C is used.
An imaging device such as a CD camera is provided on the front of the head unit, and a camera image 901 displays an image in front of the robot device. Therefore, when the orientation information changes and the orientation of the robot device is rotated by 180 °, for example, the directions of the camera image and the environment map are reversed. Therefore, when the posture information is rotated by a predetermined angle such as 90 ° or more, the environment map is rotated in accordance with this rotation and the traveling direction is displayed so as to be substantially the upward direction in the figure, thereby further controlling the robot. Operability is improved.

【0047】次に、上述した図2に示すロボット装置1
のソフトウェアの構成及び動作について詳細に説明す
る。図9は、図2に示すソフトウェア300の動作を示
すフローチャートである。
Next, the robot device 1 shown in FIG. 2 described above.
The configuration and operation of the software will be described in detail. FIG. 9 is a flowchart showing the operation of the software 300 shown in FIG.

【0048】図2に示すソフトウェア300のキネマテ
ィックオドメトリKINE310には、上述したよう
に、画像データ301及びセンサデータ302が入力さ
れる。この画像データ301は、カラー画像及びステレ
オカメラによる視差画像である。また、センサデータ
は、ロボット装置の関節角等のデータである。キネマテ
ィックオドメトリKINE310は、これらの入力デー
タ301,302を受け取り、メモリに格納されていた
それまでの画像及びセンサデータを更新する(ステップ
S101)。
As described above, the image data 301 and the sensor data 302 are input to the kinematic odometry KINE 310 of the software 300 shown in FIG. This image data 301 is a color image and a parallax image from a stereo camera. The sensor data is data such as the joint angle of the robot device. The kinematic odometry KINE 310 receives these input data 301 and 302, and updates the image and sensor data stored so far in the memory (step S101).

【0049】次に、これら画像データ301とセンサデ
ータ302との時間的な対応を取る(ステップS102
−1)。即ち、画像データ301の画像が撮像された時
間におけるセンサデータ302の関節角を割り出す。次
いで、この関節角のデータを使用してロボット装置1が
中心に固定されたロボット中心座標系を頭部ユニットに
設けられたカメラの座標系へ変換する(ステップS10
2−2)。この場合、本実施の形態においては、ロボッ
ト中心座標系からカメラ座標系の同時変換行列等を導出
し、この同時変換行列311とこれに対応する画像デー
タとを画像認識を行うオブジェクトへ送信する。即ち、
同時変換行列311及びこれに対応する視差画像312
を平面抽出部PLEX320へ出力し、同時変換行列3
11及びカラー画像313をランドマークセンサ部CL
S340へ出力する。
Next, the image data 301 and the sensor data 302 are temporally correlated (step S102).
-1). That is, the joint angle of the sensor data 302 at the time when the image of the image data 301 is captured is calculated. Next, using this joint angle data, the robot central coordinate system in which the robot apparatus 1 is fixed to the center is converted into the coordinate system of the camera provided in the head unit (step S10).
2-2). In this case, in the present embodiment, the simultaneous conversion matrix and the like of the camera coordinate system are derived from the robot center coordinate system, and this simultaneous conversion matrix 311 and the image data corresponding thereto are transmitted to the object that performs image recognition. That is,
Simultaneous conversion matrix 311 and corresponding parallax image 312
To the plane extraction unit PLEX320, and the simultaneous conversion matrix 3
11 and the color image 313 in the landmark sensor section CL
Output to S340.

【0050】また、センサデータ302から得られる歩
行パラメータと、足底センサを使用した歩数のカウント
数とからロボット装置1の移動量を算出し、ロボット装
置1のロボット装置中心座標系における移動量を算出す
る。以下、ロボット装置中心座標系の移動量をオドメト
リともいう。このオドメトリ314を障害物グリッド算
出部OG330及び絶対座標算出部LZ350へ出力す
る。
Further, the movement amount of the robot apparatus 1 is calculated from the walking parameters obtained from the sensor data 302 and the number of steps counted using the sole sensor, and the movement amount of the robot apparatus 1 in the robot apparatus central coordinate system is calculated. calculate. Hereinafter, the amount of movement of the robot device central coordinate system is also referred to as odometry. The odometry 314 is output to the obstacle grid calculation unit OG330 and the absolute coordinate calculation unit LZ350.

【0051】平面抽出部PLEX320は、キネマティ
ックオドメトリKINE310にて算出された同時変換
行列311と、これに対応するステレオカメラから得ら
れる視差画像312とが入力されると、それまでメモリ
に格納されていたこれらのデータを更新する(ステップ
S103)。そして、ステレオカメラのキャリブレーシ
ョンパラメータ等を使用して視差画像312から3次元
の位置データ(レンジデータ)を算出する(ステップS
104−1)。次いで、このレンジデータからハフ変換
等を使用して、例えば壁及びテーブル等の平面を除く平
面を平面として抽出する。また、座標変換行列311か
らロボット装置1の足底が接地している平面との対応を
取り、床面を選択し、床面上にない点、例えば所定の閾
値よりも高い位置にあるもの等を障害物として床面から
の距離を算出し、この障害物情報(obstacle)321を
障害物グリッド算出部330に出力する(ステップS1
04−2)。
The plane extraction unit PLEX 320 receives the simultaneous conversion matrix 311 calculated by the kinematic odometry KINE 310 and the parallax image 312 obtained from the stereo camera corresponding thereto, and is stored in the memory until then. Also, these data are updated (step S103). Then, three-dimensional position data (range data) is calculated from the parallax image 312 using the calibration parameters of the stereo camera (step S).
104-1). Then, using the Hough transform or the like, the planes other than the planes such as the wall and the table are extracted as the planes from the range data. Further, by taking a correspondence from the coordinate transformation matrix 311 with a plane where the sole of the robot apparatus 1 is in contact with the ground, selecting a floor surface, a point that is not on the floor surface, for example, a position higher than a predetermined threshold value, etc. Is used as an obstacle to calculate the distance from the floor surface, and the obstacle information (obstacle) 321 is output to the obstacle grid calculation unit 330 (step S1).
04-2).

【0052】障害物グリッド算出部OG330では、上
述したように、キネマティックオドメトリKINE31
0にて算出されたオドメトリ314と、平面抽出部PL
EX320にて算出された障害物の観測情報(障害物情
報)321とが入力されると、メモリに格納されていた
それまでのデータを更新する(ステップS105)。そ
して、床面上に障害物があるか否かの確率を保持する障
害物グリッドを確率的手法により更新する(ステップS
106)。
In the obstacle grid calculation unit OG330, as described above, the kinematic odometry KINE31.
Odometry 314 calculated at 0 and plane extraction unit PL
When the obstacle observation information (obstacle information) 321 calculated by the EX 320 is input, the data stored up to that point stored in the memory is updated (step S105). Then, the obstacle grid holding the probability of whether or not there is an obstacle on the floor is updated by the stochastic method (step S
106).

【0053】この障害物グリッド算出部OG330は、
ロボット装置1を中心とした例えば周囲4mの障害物情
報、即ち、上述した環境地図と、ロボット装置1の向く
方角を示す姿勢情報とを保持しており、上述の方法によ
り、環境地図を更新し、この更新した認識結果(障害物
情報331)を出力することにより、上位レイヤ、即
ち、本実施の形態においては、経路計画決定部SBL3
60にて障害物を回避する計画を作成することができ
る。
This obstacle grid calculation unit OG330
For example, information about an obstacle around the robot device 1 around 4 m, that is, the environment map described above, and posture information indicating the direction in which the robot device 1 faces are held, and the environment map is updated by the method described above. By outputting the updated recognition result (obstacle information 331), the upper layer, that is, the route plan determination unit SBL3 in the present embodiment.
At 60, a plan to avoid obstacles can be created.

【0054】ランドマークセンサCLS340は、キネ
マティックオドメトリKINE310から同時変換行列
311及びカラー画像313が入力されると、予めメモ
リ内に格納されていたこれらのデータを更新する(ステ
ップS107)。そして、カラー画像313の画像処理
を行って、予め認識しているカラーランドマークを検出
する。このカラーランドマークのカラー画像313上で
の位置及び大きさをカメラ座標系での位置に変換する。
更に、同時変換行列311を使用し、カラーランドマー
クのカメラ座標系での位置をロボット中心位置座標系に
おける位置に変換し、ロボット中心位置座標系における
カラーランドマーク位置の情報(カラーランドマーク相
対位置情報)341を絶対座標算出部LZ350に出力
する(ステップS108)。
When the simultaneous conversion matrix 311 and the color image 313 are input from the kinematic odometry KINE 310, the landmark sensor CLS 340 updates these data stored in advance in the memory (step S107). Then, the color image 313 is subjected to image processing to detect a color landmark recognized in advance. The position and size of this color landmark on the color image 313 are converted into the position on the camera coordinate system.
Further, using the simultaneous conversion matrix 311, the position of the color landmark in the camera coordinate system is converted into the position in the robot center position coordinate system, and the information of the color landmark position in the robot center position coordinate system (color landmark relative position The information) 341 is output to the absolute coordinate calculation unit LZ350 (step S108).

【0055】絶対座標算出部LZ350は、キネマティ
ックオドメトリKINE310からのオドメトリ314
と、ランドマークセンサ部CLS340からのカラーラ
ンドマーク相対位置情報341とが入力されると、予め
メモリ内に格納されていたこれらのデータが更新される
(ステップS109)。そして、絶対座標算出部LZ3
50が予め認識しているカラーランドマークの絶対座標
(ワールド座標系での位置)、カラーランドマーク相対
位置情報341、及びオドメトリ314を使用し、確率
的手法によりロボット装置の絶対座標(ワールド座標系
での位置)を算出する。そして、この絶対座標位置35
1を経路計画決定部SBL360に出力する。
The absolute coordinate calculation unit LZ350 uses the odometry 314 from the kinematic odometry KINE310.
And the color landmark relative position information 341 from the landmark sensor unit CLS340 are input, these data stored in advance in the memory are updated (step S109). Then, the absolute coordinate calculation unit LZ3
50 uses the absolute coordinates (position in the world coordinate system) of the color landmarks, the relative position information 341 of the color landmarks, and the odometry 314 that the 50 recognizes in advance, and uses the probabilistic method to determine the absolute coordinates (world coordinate system) of the robot device. Position) is calculated. And this absolute coordinate position 35
1 is output to the route plan determination unit SBL360.

【0056】経路計画決定部SBL360は、障害物グ
リッド算出部OG330から障害物グリッド情報331
が入力され、絶対座標算出部LZ350から絶対座標位
置351が入力されると、予めメモリに格納されていた
これらのデータが更新される(ステップS111)。そ
して、経路計画決定部SBL360障害物グリッド算出
部OG330からの障害物情報331により、ロボット
装置1の周囲に存在する障害物に関する認識結果を取得
し、絶対座標算出部LZ350から現在のロボット装置
1の絶対座標を取得することにより、絶対座標系又はロ
ボット装置中心のロボット中心座標系で与えられた目標
地点に対して障害物に衝突せずに歩行可能な経路を生成
し、経路に応じて経路を遂行する動作コマンドを発行す
る。即ち、入力データから状況に応じてロボット装置1
が取るべき行動を決定し、その行動列を出力する(ステ
ップS112)。
The route plan determining unit SBL360 receives the obstacle grid information 331 from the obstacle grid calculating unit OG330.
Is input and the absolute coordinate position 351 is input from the absolute coordinate calculation unit LZ350, these data stored in advance in the memory are updated (step S111). Then, the recognition result regarding the obstacle existing around the robot apparatus 1 is acquired from the obstacle information 331 from the route plan determination unit SBL360 obstacle grid calculation unit OG330, and the current coordinate of the robot apparatus 1 is acquired from the absolute coordinate calculation unit LZ350. By acquiring the absolute coordinates, a path that can be walked without colliding with an obstacle is generated for the target point given in the absolute coordinate system or the robot center coordinate system centered on the robot device, and the route is set according to the route. Issue an action command to perform. That is, from the input data, the robot device 1 can be used according to the situation.
Determines the action to be taken by the user and outputs the action sequence (step S112).

【0057】また、人間によるナビゲーションの場合に
は、障害物グリッド算出部OG330からロボット装置
の周囲に存在する障害物に関する認識結果及び絶対座標
算出部LZ350からの現在のロボット装置の位置の絶
対座標をユーザに提供し、このユーザからの入力に応じ
て動作コマンドを発行させる。
In the case of human navigation, the obstacle grid calculation unit OG330 shows the recognition result regarding the obstacles existing around the robot apparatus and the absolute coordinate of the current position of the robot apparatus from the absolute coordinate calculation unit LZ350. It is provided to the user and the operation command is issued in response to the input from the user.

【0058】図10は、上述のソフトウェアに入力され
るデータの流れを模式的に示す図である。なお、図10
において、図1及び図2に示す構成と同一構成要素には
同一符号を伏してその詳細な説明は省略する。
FIG. 10 is a diagram schematically showing the flow of data input to the above software. Note that FIG.
2, the same components as those shown in FIGS. 1 and 2 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0059】顔検出部FDT(FaceDetecto
r)371は、画像フレーム中から顔領域を検出するオ
ブジェクトであり、カメラ等の画像入力装置からカラー
画像202を受け取り、それを例えば9段階のスケール
画像に縮小変換する。この全ての画像の中から顔に相当
する矩形領域を探索する。重なりあった候補領域を削減
して最終的に顔と判断された領域に関する位置、大き
さ、及び特徴量等の情報372を出力して、顔識別部F
I(FaceIdentify)377へ送る。
Face detection unit FDT (FaceDetecto)
r) 371 is an object that detects a face area in the image frame, receives the color image 202 from an image input device such as a camera, and reduces and converts the color image 202 into, for example, a nine-step scale image. A rectangular area corresponding to the face is searched from all the images. The face identification unit F outputs the information 372 such as the position, size, and feature amount regarding the area finally determined to be the face by reducing the overlapping candidate areas.
I (Face Identification) 377.

【0060】顔識別部FI377は、検出された顔画像
を識別するオブジェクトであり、顔の領域を示す矩形領
域画像からなる情報372を顔検出部FDT371から
受け取り、この顔画像がメモリに格納されている手持ち
の人物辞書のうちでどの人物に相当するかを比較して人
物の識別を行う。そして、顔検出部EDT371から受
け取った顔画像の顔画像領域の位置、大きさ情報と共に
人物のID情報378をDIL379に出力する。
The face identifying section FI377 is an object for identifying the detected face image, receives information 372 consisting of a rectangular area image indicating the area of the face from the face detecting section FDT371, and stores this face image in the memory. The person is identified by comparing which person in the existing person dictionary corresponds to. Then, the ID information 378 of the person is output to the DIL 379 together with the position and size information of the face image area of the face image received from the face detection unit EDT371.

【0061】色認識部MCT(MultiColorT
racker)373は、色認識を行うオブジェクトで
あり、カメラ等の画像入力装置からカラー画像202を
受け取り、予め保有している複数のカラー・モデル情報
に基づいて色領域を抽出し、連続した領域に分割する。
色認識部MCT373は、分割した各領域の位置、大き
さ及び特徴量等の情報374を距離情報付加部DIL
(DistanceInformationLinke
r)379に出力する。
Color recognition unit MCT (MultiColorT)
The racker) 373 is an object for performing color recognition, receives the color image 202 from an image input device such as a camera, extracts a color area based on a plurality of color model information held in advance, and forms a continuous area. To divide.
The color recognition unit MCT 373 provides information 374 such as the position, size, and feature amount of each divided area to the distance information addition unit DIL.
(DistanceInformationLinke
r) Output to 379.

【0062】動き検出部MDT(MotionDete
ctor)375は、画像の中で動いている部分を検出
するオブジェクトであり、検出した動き領域の情報37
6を距離情報付加部DIL379に出力する。
Motion detection unit MDT (MotionDete)
(ctor) 375 is an object for detecting a moving portion in the image, and information 37 of the detected moving area.
6 is output to the distance information adding unit DIL379.

【0063】距離情報付加部DIL379は、入力され
た2次元の情報に距離情報を付加して3次元の情報を出
力するオブジェクトであり、顔検出部FI377からの
ID情報378、色認識部MCT373からの分割した
各領域の位置、大きさ及び特徴量等の情報374並びに
動き検出部MDT375からの動き領域の情報376に
距離情報を付加して3次元情報380を短期記憶部ST
M(ShortTermMemory)381に出力す
る。
The distance information addition unit DIL379 is an object that adds distance information to the input two-dimensional information and outputs three-dimensional information. The ID information 378 from the face detection unit FI377 and the color recognition unit MCT373. The distance information is added to the information 374 such as the position, size, and feature amount of each of the divided areas and the information 376 of the moving area from the motion detecting unit MDT375 to add the three-dimensional information 380 to the short-term storage unit ST.
The data is output to the M (Short Term Memory) 381.

【0064】短期記憶部STM381は、ロボット装置
1の外部環境に関する情報を比較的短い時間だけ保持す
るオブジェクトであり、ArthurDecoder
(図示せず)から音声認識結果(単語、音源方向、確信
度)を受け取り、色認識部MCT373から肌色の領域
の位置、大きさと顔領域の位置、大きさを受け取り、顔
識別部FI377から人物のID情報等を受け取る。ま
た、ロボット装置1の機体上の各センサからロボット装
置の首の方向(関節角)を受け取る。そして、これらの
認識結果及びセンサ出力を統合的に使って、現在どこに
どの人物がいて、しゃべった言葉がどの人物のものであ
り、その人物とはこれまでにどんな対話を行ったのかと
いう情報を保存する。こうした物体、即ちターゲットに
関する物理情報と時間方向でみたイベント(履歴)を出
力として、経路計画決定部(状況依存行動階層)(SB
L)360等の上位モジュールに渡す。
The short-term storage unit STM381 is an object that holds information about the external environment of the robot apparatus 1 for a relatively short time, and is an ArthurDecoder.
The voice recognition result (word, sound source direction, certainty factor) is received from (not shown), the position and size of the flesh color area and the position and size of the face area are received from the color recognition unit MCT373, and the face recognition unit FI377 receives the person. Receives ID information and the like. Further, the direction (joint angle) of the neck of the robot apparatus is received from each sensor on the body of the robot apparatus 1. Then, by using these recognition results and sensor outputs in an integrated manner, it is possible to obtain information about which person is currently in which person, the spoken word belongs to which person, and what kind of dialogue has been performed with that person so far. save. The physical information about such an object, that is, the target, and the event (history) viewed in the time direction are output, and the route plan determination unit (situation-dependent action hierarchy) (SB
L) Pass it to a higher-level module such as 360.

【0065】経路計画決定部SBLは、上述の短期記憶
部STM381からの情報を基にロボット装置1の行動
(状況に依存した行動)を決定するオブジェクトであ
る。複数の行動を同時に評価したり、実行したりするこ
とができる。また、行動を切り替えて機体をスリープ状
態にしておき、別の行動を起動することができる。
The route plan determination unit SBL is an object that determines the action (action depending on the situation) of the robot apparatus 1 based on the information from the above-mentioned short-term storage unit STM381. Multiple actions can be evaluated and performed simultaneously. In addition, the action can be switched to put the aircraft in a sleep state, and another action can be activated.

【0066】以下、上述した各オブジェクトについて更
に詳細に説明する。平面抽出部PLEX320は、同時
変換行列311と、これに対応する図11に示す左目画
像201L及び右目画像201Rから得られた視差画像
312を受け取り、以下の図12に示す処理手順にした
がって障害物を認識する。
The above objects will be described in more detail below. The plane extraction unit PLEX320 receives the simultaneous conversion matrix 311, and the parallax image 312 corresponding to the left-eye image 201L and the right-eye image 201R shown in FIG. 11 corresponding to the simultaneous transformation matrix 311, and removes an obstacle according to the processing procedure shown in FIG. 12 below. recognize.

【0067】先ず、平面抽出部PLEX320は、同時
変換行列311とこれに対応する視差画像312を受け
取る(ステップS61)。例えば、ステレオ視(ステレ
オカメラ)等による方法、又はレンジセンサ等の操作に
よって得られた視差画像312(又は距離画像)は、適
切なキャリブレーションに基づく変換により、3次元デ
ータに容易に変換することができ、この3次元データの
配列が生成される。即ち、視差画像312からレンズ歪
みとステレオの取り付け誤差を吸収したキャリブレーシ
ョンパラメータを利用して、画素毎にカメラ座標から見
た3次元の位置データ(x,y,z)を距離画像として
生成する(ステップS62)。このとき各3次元データ
は、視差画像又は距離画像等の入力画像における信頼度
等から得られる信頼度パラメータを個別に有し、この信
頼度パラメータにより選別されて入力される。
First, the plane extraction unit PLEX 320 receives the simultaneous conversion matrix 311 and the parallax image 312 corresponding thereto (step S61). For example, a parallax image 312 (or a distance image) obtained by a method such as stereoscopic vision (stereo camera) or an operation of a range sensor or the like should be easily converted into three-dimensional data by conversion based on appropriate calibration. And an array of this three-dimensional data is generated. That is, three-dimensional position data (x, y, z) viewed from the camera coordinates for each pixel is generated as a distance image using a calibration parameter that absorbs lens distortion and stereo attachment error from the parallax image 312. (Step S62). At this time, each three-dimensional data individually has a reliability parameter obtained from the reliability or the like in an input image such as a parallax image or a distance image, and is selected and input by this reliability parameter.

【0068】この選別された3次元データ群からランダ
ムにデータをサンプリングし、ハフ変換により平面を推
定する。即ち、法線ベクトルの向きを(θ,φ)、原点
からの距離をdとしたときの平面パラメータ(θ,φ,
d)を算出し、平面パラメータを投票空間(θ,Ψ,
d)=(θ,φcosθ,d)に直接投票して平面を推
定する。これにより、画像中の支配的な平面のパラメー
タを検出する(ステップS63)。この平面のパラメー
タは図13に示すパラメータ空間(θ,φ)(投票空
間)のヒストグラムにより検出される。パラメータの投
票が小さいいと障害物、大きいと平面上のものと見なす
ことができる。
Data is randomly sampled from the selected three-dimensional data group, and the plane is estimated by Hough transform. That is, when the direction of the normal vector is (θ, φ) and the distance from the origin is d, the plane parameter (θ, φ,
d) is calculated, and the plane parameters are converted into voting spaces (θ, Ψ,
Directly vote for d) = (θ, φ cos θ, d) to estimate the plane. Thereby, the parameters of the dominant plane in the image are detected (step S63). The parameters of this plane are detected by the histogram of the parameter space (θ, φ) (voting space) shown in FIG. A small parameter vote can be regarded as an obstacle, and a large parameter vote can be regarded as on a plane.

【0069】投票の際は、3次元データに付随する信頼
度パラメータ又は平面パラメータの算出方法等により、
1票の投票に対して異なる重み付けをして、投票値を異
ならせると共に、投票値の分布から得られるピーク値を
推定するために、ピーク値近傍における重み付き平均処
理等をすることにより、信頼度の高いデータを推定する
ことができる。そして、この平面パラメータを初期パラ
メータとしてイタレーションを行い、平面を決定するこ
とで、更に信頼度が高い平面を決定することができる。
また、最終的に決定される平面を算出した3次元データ
に付随する信頼度パラメータ及びイタレーションにおけ
る残差誤差等を使用して平面の信頼度を算出し、この平
面信頼度を平面のデータと共に出力することにより、後
段の処理が行い易くなる。このように、平面抽出は、投
票、即ちヒストグラムに基づく確率密度関数の推定によ
り3次元データから、その3次元データに含まれる支配
的な平面のパラメータを決定する確率論的方法で行われ
る。こうして得られた平面のパラメータ使用すれば、元
々画像から得られた距離の測定点が平面上からどれくら
いの距離であるかが分かる。
At the time of voting, according to the calculation method of the reliability parameter or the plane parameter associated with the three-dimensional data,
By assigning different weights to the votes of one vote to make the voting values different, and by estimating the peak value obtained from the distribution of the voting values, weighted averaging in the vicinity of the peak value, etc. It is possible to estimate highly accurate data. Then, by performing iteration using this plane parameter as an initial parameter to determine the plane, it is possible to determine the plane with higher reliability.
In addition, the reliability of the plane is calculated using the reliability parameter associated with the three-dimensional data for which the finally determined plane is calculated, the residual error in the iteration, etc. The output facilitates the subsequent processing. As described above, the plane extraction is performed by a probabilistic method of determining the dominant plane parameters included in the three-dimensional data by voting, that is, estimating the probability density function based on the histogram. By using the parameters of the plane thus obtained, it is possible to know how far from the plane the measurement point of the distance originally obtained from the image is.

【0070】次に、カメラ座標系の同時変換行列311
から図14に示すようにロボットの足底接地面への変換
を求める(ステップS64)。これにより、カメラ座標
系で表現される接地平面のパラメータの算出が行われ
る。そして、前記ステップS63での画像による平面の
検出と、前記ステップS64での足底接地平面の照合か
ら、画像中の平面パラメータから床面に相当するものを
選択する(ステップS65)。
Next, the simultaneous conversion matrix 311 of the camera coordinate system
To conversion of the robot to the ground contact surface of the sole of the foot as shown in FIG. 14 (step S64). As a result, the parameters of the ground plane expressed in the camera coordinate system are calculated. Then, based on the detection of the plane in the image in step S63 and the collation of the sole grounding plane in step S64, the one corresponding to the floor surface is selected from the plane parameters in the image (step S65).

【0071】次に、前記ステップS65にて選択された
平面パラメータを使って、元の距離画像から平面上に載
っている点を選択する(ステップS66)。これは下記
数式(3)、数式(4)を使用して、平面からの距離d
が閾値Dthより小さい事を使って判断する。
Then, using the plane parameters selected in step S65, points on the plane are selected from the original range image (step S66). This is calculated by using the following formulas (3) and (4), and the distance d from the plane is
Is smaller than the threshold value D th .

【0072】[0072]

【数3】 [Equation 3]

【0073】[0073]

【数4】 [Equation 4]

【0074】図15には、閾値Dthを1cmとした範囲
で選択された測定点(×印)を示す。この図15にて、
黒く抜かれている点が平面と判断されなかった点であ
る。
FIG. 15 shows the measurement points (marked with X) selected within the range where the threshold value D th is 1 cm. In this FIG.
The black dots are points that were not judged to be flat.

【0075】したがって、前記ステップS66にて平面
上(床面)上に載っている点以外の点(床面上に無い
点)を障害物としてステップS67にて認識することが
できる。これらの判断結果は床平面上の点(x、y)と
その高さzで表現される。例えば、高さz<0は、平面
より凹んでいる点を示す。
Therefore, points (points not on the floor) other than the points lying on the plane (floor) in step S66 can be recognized as obstacles in step S67. These judgment results are expressed by a point (x, y) on the floor plane and its height z. For example, the height z <0 indicates a point that is recessed from the plane.

【0076】これにより、高さがロボットより高い障害
物点はそれをくぐることができるので障害物ではないと
いう判断も可能とすることができる。
As a result, an obstacle point having a height higher than that of the robot can pass through it, so that it can be determined that the obstacle point is not an obstacle.

【0077】また、ロボットビュー(図16の(a))
から得た床面抽出画像(図16の(b))の高さzを0
(z=0)となるように座標変換すれば、図16の
(c)に示すように、平面上の2次元の位置で床か障害
物かを表現することができる。
Further, the robot view ((a) of FIG. 16)
The height z of the floor surface extraction image ((b) of FIG. 16) obtained from FIG.
If the coordinates are converted so that (z = 0), it is possible to represent a floor or an obstacle at a two-dimensional position on a plane as shown in (c) of FIG.

【0078】このように、障害物認識装置は、多数の測
定点を使って平面の検出を行うために安定した平面を抽
出できる。また、画像から得られる平面候補をロボット
の姿勢から得られる床面パラメータと照合することで正
しい平面を選択できる。また、障害物を認識するのでは
なく、実質的には床面を認識するので障害物の形状や大
きさに因らない認識が可能である。また、床面からの距
離で障害物を表現するので細かい段差や凹みまで検出す
ることができる。またロボットの大きさを考慮して跨い
だり、くぐったりする判断も容易である。さらに、2次
元床面上の障害物表現となるので経路計画などに既存の
移動ロボットで用いられる手法が適用可能であるし、3
次元の表現より高速に演算できる。
In this way, the obstacle recognition device can detect a stable plane because it detects a plane using a large number of measurement points. In addition, the correct plane can be selected by comparing the plane candidates obtained from the image with the floor surface parameters obtained from the posture of the robot. Moreover, since the floor surface is substantially recognized instead of recognizing the obstacle, it is possible to recognize the obstacle irrespective of the shape or size of the obstacle. Further, since the obstacle is represented by the distance from the floor surface, it is possible to detect even a small step or a recess. In addition, it is easy to determine whether to cross over or pass through considering the size of the robot. Furthermore, since it represents an obstacle on a two-dimensional floor surface, the method used by existing mobile robots can be applied to route planning and the like.
It can be operated faster than dimensional representation.

【0079】障害物グリッド算出部OG330は、上述
したように、所定の大きさのグリッドに分割された、ロ
ボット中心座標系の地図情報である環境地図と、例えば
環境地図上においてx軸方向又はy軸方向等の所定の方
角からロボット装置が向く方角を示す姿勢情報とを有し
ている。また、環境地図は、障害物情報が平面抽出部P
LEXから入力され、障害物として認識されているグリ
ッド(障害物占有領域)を有する。この障害物グリッド
算出部OG330は、ロボット装置が移動すると、即
ち、オドメトリ314が入力されると、予めメモリ内に
格納されていた環境地図及び姿勢情報を、ロボット装置
の姿勢の変化(差分移動角)及び移動距離(差分移動
量)に伴って、予め認識している環境地図及び姿勢方向
の情報を更新する。ここで、差分移動量がグリッドサイ
ズより小さければ環境地図を更新せず、移動量がグリッ
ドのサイズを超える場合は環境地図を更新する。また、
環境地図及びそのグリッドの大きさを必要に応じて適宜
変更することにより、計算量及びメモリコピーコスト等
を低減することができる。
The obstacle grid calculation unit OG330, as described above, is an environment map which is the map information of the robot central coordinate system divided into grids of a predetermined size and, for example, the x-axis direction or y on the environment map. It has attitude information indicating a direction in which the robot device faces from a predetermined direction such as an axial direction. In the environment map, the obstacle information is the plane extraction unit P.
It has a grid (obstacle occupied area) that is input from the LEX and is recognized as an obstacle. When the robot apparatus moves, that is, when the odometry 314 is input, the obstacle grid calculation unit OG330 uses the environment map and the attitude information stored in the memory in advance to change the attitude of the robot apparatus (differential movement angle). ) And the movement distance (difference movement amount), the previously recognized environment map and posture direction information are updated. Here, if the difference movement amount is smaller than the grid size, the environment map is not updated, and if the movement amount exceeds the grid size, the environment map is updated. Also,
By appropriately changing the size of the environment map and its grid as necessary, the amount of calculation, the memory copy cost, etc. can be reduced.

【0080】ランドマーク位置検出部CLS340は、
図17に示すように、例えば、グリーン部分1001、
ピンク部分1002、又はブルー部分1003等のカラ
ーを有する人工的なカラーランドマーク1004を含む
環境において、ロボット装置1のセンサ情報と、ロボッ
ト装置1が行った動作情報によって、ロボット装置の自
己位置(位置及び姿勢)を同定する。
The landmark position detector CLS340 is
As shown in FIG. 17, for example, the green portion 1001,
In an environment including an artificial color landmark 1004 having a color such as a pink portion 1002 or a blue portion 1003, the robot device 1's self-position (position) is determined by the sensor information of the robot device 1 and the motion information performed by the robot device 1. And posture).

【0081】例えば、2次元的な作業空間上では、略等
間隔状にグリッド(x,y)を設け、各グリッドの位置
l(localization)毎にロボット装置が存在する確率p
(l)を管理する。この存在確率p(l)は、ロボット
装置の移動(move)、即ち内界観測情報a、又はラ
ンドマークの観測、即ち外界観測情報sの入力に応じて
更新される。
For example, in a two-dimensional work space, grids (x, y) are provided at substantially equal intervals, and the probability p that a robot device exists for each position l (localization) of each grid.
Manage (l). The existence probability p (l) is updated in response to the movement of the robot apparatus, that is, the internal observation information a, or the observation of the landmark, that is, the external observation information s.

【0082】存在確率p(l)は、ロボット装置の以前
の状態、即ち自己位置l'における存在確率p(l')
と、以前の状態l'において移動aを行ったときに状態
lになるという遷移確率p(l|a,l')に依拠す
る。即ち、これまでの各状態l'になる確率p(l')
と、状態l'において移動aを行ったときに状態lにな
るという遷移確率p(l|a,l')の積を加算してい
く(若しくは積分する)ことによって、現在の状態、即
ち自己位置lになるという存在確率p(l)に収束す
る。従って、外界観測結果としてのロボット装置の移動
aが観測されたときには、各グリッドでは、下記数式
(5)に従ってロボット装置の存在確率p(l)を更新
することができる。
The existence probability p (l) is the existence probability p (l ') at the previous state of the robot apparatus, that is, at the self position l'.
And the transition probability p (l | a, l ′) that the state becomes l when the movement a is performed in the previous state l ′. That is, the probability p (l ') of each state l'
And adding (or integrating) the products of transition probabilities p (l | a, l ′) that the state 1 is obtained when the movement a is performed in the state l ′. It converges to the existence probability p (l) that the position is 1. Therefore, when the movement “a” of the robot apparatus is observed as the external observation result, the existence probability p (l) of the robot apparatus can be updated in each grid according to the following mathematical expression (5).

【0083】[0083]

【数5】 [Equation 5]

【0084】また、状態、即ち自己位置lにロボット装
置が存在するという存在確率p(l)は、存在確率p
(l)とこの状態lにおいてランドマークを観察すると
いう遷移確率p(s|l)に依拠する。したがって、状
態lにおいてランドマークの観測、即ち外界観測情報s
が入力された場合には、下式に従ってロボット装置の存
在確率p(l)を更新することができる。但し、下記数
式(6)に示すように右辺では、正規化のため、ランド
マークを観察するという確率p(s)で除して正規化し
ている。
Further, the existence probability p (l) that the robot device exists in the state, that is, the self position l is
(L) and the transition probability p (s | l) of observing a landmark in this state l. Therefore, in the state 1, the landmark observation, that is, the external observation information s
When is input, the existence probability p (l) of the robot device can be updated according to the following equation. However, as shown in the following mathematical expression (6), the right side is normalized for normalization by dividing by the probability p (s) of observing the landmark.

【0085】[0085]

【数6】 [Equation 6]

【0086】図18は、マルコフ・ローカリゼーション
と拡張カルマン・フィルタを併用した本実施形態に係る
ランドマークセンサCLS(自己位置同定システム)3
40の機能構成を模式的に示している。同図に示すよう
に、このランドマークセンサCLS340は、マルコフ
・ローカリゼーション部(ML)342と、拡張カルマ
ン・フィルタ部(EKL)343と、拡張カルマン・フ
ィルタ部343の動作を制御するEKL制御部344と
で構成されている。
FIG. 18 shows a landmark sensor CLS (self-position identification system) 3 according to the present embodiment, which uses both Markov localization and extended Kalman filter.
The functional configuration of 40 is schematically shown. As shown in the figure, the landmark sensor CLS340 includes a Markov localization unit (ML) 342, an extended Kalman filter unit (EKL) 343, and an EKL control unit 344 that controls the operations of the extended Kalman filter unit 343. It consists of and.

【0087】マルコフ・ローカリゼーション部342
は、作業空間内の自分の位置を離散的なグリッド上の自
己位置確率密度分布として保持し、ランドマークの観測
に関する外界観測情報sと、ロボット装置自身の動作に
関する内界観測情報aを入力して、自己位置確率密度分
布の更新を行う。そして、各時刻において、自己位置確
率密度分布の最も高い値を持つグリッドを自己位置の推
定結果としてEKL制御部344に出力する。
Markov localization unit 342
Holds its own position in the work space as a self-position probability density distribution on a discrete grid, and inputs external observation information s regarding the observation of landmarks and internal observation information a regarding the movement of the robot device itself. Then, the self-position probability density distribution is updated. Then, at each time point, the grid having the highest value of the self-position probability density distribution is output to the EKL control unit 344 as the self-position estimation result.

【0088】図19は、マルコフ・ローカリゼーション
部342により求められた各グリッド上での自己位置確
率密度分布を表している。同図では、各グリッドにおけ
る確率密度を濃淡により表現している。最も色が濃い、
即ち自己位置確率密度分布が最も高い値を有するグリッ
ドが自己位置の推定結果となる。
FIG. 19 shows the self-position probability density distribution on each grid obtained by the Markov localization unit 342. In the figure, the probability density in each grid is represented by shading. Darkest color,
That is, the grid having the highest value of the self-position probability density distribution becomes the self-position estimation result.

【0089】このマルコフ・ローカリゼーションによる
自己位置同定は、センサのノイズに対してロバストであ
り、同定解の精度は粗いが解の収束速度が速いことを主
な特徴とする。
The self-position identification by this Markov localization is robust against the noise of the sensor, and is characterized mainly in that the accuracy of the identification solution is coarse but the convergence speed of the solution is fast.

【0090】一方、図18に示す拡張カルマン・フィル
タ部343は、自己位置を状態変数[x,y,θ]を実
測値として保持し、環境内に設置されたカラーランドマ
ーク1004を観測すると、ランドマークからの相対位
置に基づいて自己位置を推定する。また、自身の動作情
報を観測すると、その動作情報に基づいて状態量の推定
を行う。
On the other hand, the extended Kalman filter unit 343 shown in FIG. 18 holds its own position as a measured value of the state variable [x, y, θ] and observes the color landmark 1004 installed in the environment, The self-position is estimated based on the relative position from the landmark. Further, when observing its own motion information, the state quantity is estimated based on the motion information.

【0091】拡張カルマン・フィルタ部343は、ロボ
ット装置自身の動作情報aと状態、即ち、自己位置lと
の関係を規定した状態モデルと、自己位置lとランドマ
ークの観測情報sとの関係を規定した観測モデルとで構
成されている。
The extended Kalman filter unit 343 shows the relationship between the motion information a of the robot apparatus itself and the state, that is, the state model defining the relationship between the self position l and the observation position s of the self position l and the landmark. It consists of a specified observation model.

【0092】状態モデルは、ロボット装置が状態(自己
位置)lにおいて動作aを行った場合における理論的な
状態lを与える遷移関数F(l,a)を備えている。実
際には理論的な状態lに対してノイズ成分wが重畳され
ることから、ロボット装置の状態lは状態モデルにより
下記数式(7)のように収束する。
The state model has a transition function F (l, a) that gives a theoretical state 1 when the robot apparatus performs the action a in the state (self position) l. In reality, since the noise component w is superimposed on the theoretical state 1, the state 1 of the robot apparatus converges according to the following equation (7) according to the state model.

【0093】[0093]

【数7】 [Equation 7]

【0094】また、観測モデルは、ロボット装置が状
態、即ち自己位置iにおいて、ある既知の環境Env
(例えばランドマークの位置など)に関する観測の理論
値sを与える観測関数H(Env,l)を備えている。
実際には観測の理論値に対してノイズ成分vが重畳され
ることから、観測値sは観測モデルにより下記数式
(8)のように収束する。
Further, the observation model is such that the robot device is in a state, that is, in the self position i, in a known environment Env.
It is provided with an observation function H (Env, l) that gives a theoretical value s of observation (for example, the position of a landmark).
Since the noise component v is actually superimposed on the theoretical value of the observation, the observed value s converges according to the following equation (8) according to the observation model.

【0095】[0095]

【数8】 [Equation 8]

【0096】なお、状態l並びに観測sに重畳されるそ
れぞれのノイズw及びvは、ここではゼロを中央値とす
るガウス分布として仮定する。
The noises w and v superimposed on the state 1 and the observation s are assumed to be Gaussian distributions with a median of zero.

【0097】ロボット装置自身の動作情報aと自己位置
lとの関係を規定した状態モデルと自己位置lとランド
マークの観測情報sとの関係を規定した観測モデルを備
えた拡張カルマン・フィルタ部343において、動作情
報aは内界観測結果として、ランドマークの観測情報s
は外界観測結果として、夫々既知である。従って、ロボ
ット装置の自己位置同定を、ロボット装置の状態lをロ
ボット装置の動作情報a及び観測情報sにより推定する
という問題に帰着することができる。ここでは、ロボッ
ト装置の動作a、状態l、及び観測sをそれぞれ下記に
示すガウス分布として表現することができる。
An extended Kalman filter unit 343 having a state model defining the relationship between the motion information a of the robot apparatus itself and the self-position l and an observation model defining the relationship between the self-position l and the observation information s of the landmark. In the above, the operation information a is the observation information s of the landmark as the internal observation result.
Are known as external observation results. Therefore, the self-position identification of the robot device can be reduced to the problem of estimating the state 1 of the robot device from the motion information a and the observation information s of the robot device. Here, the operation a, the state l, and the observation s of the robot device can be expressed as a Gaussian distribution shown below.

【0098】[0098]

【数9】 [Equation 9]

【0099】ある時点でのロボット装置の状態lがある
中央値と及び共分散を有するガウス分布をとるものとし
て推定する。そして、ロボット装置の動作aが観測され
たときには、状態lの推定値に関する中央値並びに共分
散を下記数式(10−1),(10−2)により更新す
ることができる。
It is estimated that the state 1 of the robot apparatus at a certain time point has a Gaussian distribution having a certain median value and covariance. Then, when the motion a of the robot apparatus is observed, the median value and the covariance regarding the estimated value of the state 1 can be updated by the following mathematical expressions (10-1) and (10-2).

【0100】[0100]

【数10】 [Equation 10]

【0101】ここで、▽F,▽Fは、下記とする。Here, ∇F l and ∇F a are as follows.

【0102】[0102]

【数11】 [Equation 11]

【0103】同様に、ある時点でのロボット装置の状態
lがある中央値及び共分散を有するガウス分布をとるも
のとして推定する。そして、ランドマークの観測情報s
が観測されたときには、状態lの推定値に関する中央値
並びに共分散を下記数式(12−1),(12−2)に
より更新することができる。
Similarly, the state 1 of the robot apparatus at a certain point of time is estimated as taking a Gaussian distribution having a certain median and covariance. And the landmark observation information s
When is observed, the median and covariance regarding the estimated value of the state 1 can be updated by the following mathematical formulas (12-1) and (12-2).

【0104】[0104]

【数12】 [Equation 12]

【0105】ここで、各パラメータは下記とする。Here, each parameter is as follows.

【0106】[0106]

【数13】 [Equation 13]

【0107】拡張カルマン・フィルタ343はセンサ情
報に対するロバスト性に優れているので、拡張カルマン
・フィルタ部343の推定結果は、ランドマークセンサ
CLS340全体の出力としている。
Since the extended Kalman filter 343 is excellent in robustness to sensor information, the estimation result of the extended Kalman filter unit 343 is the output of the entire landmark sensor CLS340.

【0108】EKL制御部344は、マルコフ・ローカ
リゼーション部342の出力結果に応じて拡張カルマン
・フィルタ部344の動作を制御する。より具体的に
は、マルコフ・ローカリゼーション部342の自己位置
推定結果に基づいて、ランドマークの観測情報sに関す
る妥当性を検証する。観測情報sの妥当性は、マルコフ
・ローカリゼーション部342において最大の存在確率
となるグリッド位置mlpにおいてランドマークを観測
する確率p(s|mlp)が所定の閾値パラメータth
reshobsを越えたかどうかで判断することができ
る。
The EKL control section 344 controls the operation of the extended Kalman filter section 344 according to the output result of the Markov localization section 342. More specifically, the validity of the landmark observation information s is verified based on the self-position estimation result of the Markov localization unit 342. The validity of the observation information s is that the probability p (s | mlp) of observing a landmark at the grid position mlp, which is the maximum existence probability in the Markov localization unit 342, is a predetermined threshold parameter th.
It can be judged by whether or not it exceeds the resh obs .

【0109】グリッド位置mlpにおいてランドマーク
を観測する確率p(s|mlp)が閾値パラメータth
reshobsを下回る場合には、センサ・ノイズに対し
てロバストなマルコフ・ローカリゼーション部342に
おいてさえ、センサ・ノイズのために同定解が充分に収
束していないことが推測される。このような場合、セン
サ・ノイズに対するロバスト性が低い拡張カルマン・フ
ィルタ部343において自己位置を推定しても、精度が
高い解が得られず、むしろ演算時間を浪費するだけであ
る。このため、観測情報sが妥当でないと判断された場
合には、切換器345を用いて拡張カルマン・フィルタ
部343への外界観測情報s、即ちランドマークの観測
情報の入力を遮断して、拡張カルマン・フィルタ部34
3における自己位置推定値の更新を停止させる。
The probability p (s | mlp) of observing a landmark at the grid position mlp is the threshold parameter th.
When it is less than resh obs , it is estimated that even in the Markov localization unit 342 that is robust against sensor noise, the identification solution does not sufficiently converge due to sensor noise. In such a case, even if the self-position is estimated in the extended Kalman filter unit 343, which has low robustness against sensor noise, a highly accurate solution cannot be obtained, and rather the calculation time is wasted. Therefore, when it is determined that the observation information s is not appropriate, the input of the external observation information s, that is, the observation information of the landmark, to the extended Kalman filter unit 343 is blocked using the switch 345, and the extension is performed. Kalman filter unit 34
The update of the self-position estimation value in 3 is stopped.

【0110】また、EKL制御部344は、拡張カルマ
ン・フィルタ部343の自己位置推定結果の妥当性も検
証する。自己位置推定結果の妥当性は、推定された状態
lの中央値及び共分散を用いて、マルコフ・ローカリゼ
ーション部342から出力される存在確率p(l)との
分布比較テストにより判断することができる。分布比較
テストの一例は、カイ自乗テストchi−square
−test(ml,ekf)である。
The EKL control section 344 also verifies the validity of the self-position estimation result of the extended Kalman filter section 343. The validity of the self-position estimation result can be determined by a distribution comparison test with the existence probability p (l) output from the Markov localization unit 342, using the estimated median and covariance of the state l. . An example of the distribution comparison test is the chi-square test chi-square.
-Test (ml, ekf).

【0111】分布比較テストによりマルコフ・ローカリ
ゼーション部342と拡張カルマン・フィルタ部343
との各確率分布が類似していない場合には、センサ・ノ
イズに対するロバスト性が低い拡張カルマン・フィルタ
部343における自己位置推定値の方が、センサ・ノイ
ズの影響により妥当でないと判断することができる。こ
のような場合、EKL制御部344は拡張カルマン・フ
ィルタ部343の再初期化を行わせる。何故ならば、拡
張カルマン・フィルタは再復帰に多大な時間を要するか
らである。
By the distribution comparison test, the Markov localization unit 342 and the extended Kalman filter unit 343.
If the probability distributions of and are not similar, it may be determined that the self-position estimation value in the extended Kalman filter unit 343, which has low robustness to sensor noise, is not valid due to the influence of sensor noise. it can. In such a case, the EKL control unit 344 causes the extended Kalman filter unit 343 to be reinitialized. This is because the extended Kalman filter requires a great deal of time to restore again.

【0112】次に、ランドマークセンサCLS340の
動作について説明する。図20は、ランドマークセンサ
CLS340の動作を示すフローチャートである。図2
0に示すように、ロボット装置1の移動に関する内界観
測情報aがランドマークセンサCLS340に入力され
ると、まずマルコフ・ローカリゼーション部342にお
いて、上記数式(5)を用いて自己位置推定値の更新処
理が行われる(ステップS201)。次いで、拡張カル
マン・フィルタ部343において、上記数式数(10)
を用いて自己位置推定値の更新処理が行われる(ステッ
プS202)。
Next, the operation of the landmark sensor CLS340 will be described. FIG. 20 is a flowchart showing the operation of the landmark sensor CLS340. Figure 2
As shown in 0, when the inner-field observation information a relating to the movement of the robot apparatus 1 is input to the landmark sensor CLS340, the Markov localization unit 342 first updates the self-position estimation value using the above mathematical expression (5). Processing is performed (step S201). Then, in the extended Kalman filter unit 343, the above mathematical formula (10)
Is used to update the self-position estimation value (step S202).

【0113】また、ランドマークの観測に関する外界観
測情報sがランドマークセンサCLS340に入力され
ると、まずマルコフ・ローカリゼーション部342にお
いて、上記数式(6)を用いて、自己位置推定値の更新
処理が行われる(ステップS211)。
When the outside world observation information s regarding the observation of the landmark is input to the landmark sensor CLS340, first, in the Markov localization unit 342, the self-position estimation value is updated by using the above equation (6). It is performed (step S211).

【0114】マルコフ・ローカリゼーション部342の
出力結果は、EKL制御部344に入力されて、観測情
報sの妥当性が検証される(ステップS212)。観測
情報sの妥当性は、マルコフ・ローカリゼーション部3
42において最大の存在確率となるグリッド位置mlp
においてランドマークを観測する確率p(s|mlp)
が所定の閾値パラメータthreshobsを越えたかど
うかで判断することができる。
The output result of the Markov localization unit 342 is input to the EKL control unit 344, and the validity of the observation information s is verified (step S212). The validity of the observation information s is based on the Markov localization section 3
The grid position mlp having the maximum existence probability at 42
Probability of observing landmarks at p (s | mlp)
Can exceed the predetermined threshold parameter thresh obs .

【0115】グリッド位置mlpにおいてランドマーク
を観測する確率p(s|mlp)が閾値パラメータth
reshobsを下回る場合には、センサ・ノイズに対し
てロバストなマルコフ・ローカリゼーション部342に
おいてさえ、センサ・ノイズのために同定解が充分に収
束していないことが推測される。このような場合、セン
サ・ノイズに対するロバスト性が低い拡張カルマン・フ
ィルタ部343において自己位置を推定しても、精度の
よい解が得られず、むしろ演算時間を浪費するだけであ
る。このため、観測情報sが妥当でないと判断された場
合には、切換器345を用いて拡張カルマン・フィルタ
部343への外界観測情報s、即ちランドマークの観測
情報の入力を遮断して、拡張カルマン・フィルタ部34
3における自己位置推定値の更新を停止させる。
The probability p (s | mlp) of observing a landmark at the grid position mlp is the threshold parameter th.
When it is less than resh obs , it is estimated that even in the Markov localization unit 342 that is robust against sensor noise, the identification solution does not sufficiently converge due to sensor noise. In such a case, even if the extended Kalman filter unit 343, which has low robustness to sensor noise, estimates the self-position, an accurate solution cannot be obtained, but rather the calculation time is wasted. Therefore, when it is determined that the observation information s is not appropriate, the input of the external observation information s, that is, the observation information of the landmark, to the extended Kalman filter unit 343 is blocked using the switch 345, and the extension is performed. Kalman filter unit 34
The update of the self-position estimation value in 3 is stopped.

【0116】他方、観測情報sを検証した結果、妥当性
を満たす、即ちグリッド位置mlpにおいてランドマー
クを観測する確率p(s|mlp)が閾値パラメータt
hreshobsを上回る場合には、さらに拡張カルマン
・フィルタ部343において、上記数式(12−1),
(12−2)を用いて更新処理が行われる(ステップS
213)。
On the other hand, as a result of verifying the observation information s, the probability p (s | mlp) that satisfies the validity, that is, the landmark is observed at the grid position mlp, is the threshold parameter t.
If it exceeds hresh obs , the extended Kalman filter unit 343 further calculates the above-mentioned mathematical expression (12-1),
The update process is performed using (12-2) (step S
213).

【0117】拡張カルマン・フィルタ部343による自
己位置推定の結果は、EKL制御部344に入力され
て、その妥当性が検証される(ステップS214)。拡
張カルマン・フィルタ部343による自己位置推定結果
の妥当性は、推定された状態lの中央値及び共分散を用
いて、マルコフ・ローカリゼーション部342から出力
される存在確率p(l)との分布比較テストにより判断
することができる。分布比較テストの一例は、カイ自乗
テストchi−square−test(ml,ek
f)である。
The result of self-position estimation by the extended Kalman filter unit 343 is input to the EKL control unit 344 and its validity is verified (step S214). The validity of the self-position estimation result by the extended Kalman filter unit 343 is determined by comparing the distribution with the existence probability p (l) output from the Markov localization unit 342, using the estimated median and covariance of the state l. Can be judged by the test. An example of a distribution comparison test is a chi-square test chi-square-test (ml, ek
f).

【0118】分布比較テストによりマルコフ・ローカリ
ゼーション部342と拡張カルマン・フィルタ部343
それぞれの確率分布が類似していない場合には、センサ
・ノイズに対するロバスト性が低い拡張カルマン・フィ
ルタ部343における自己位置推定値の方が、センサ・
ノイズの影響により妥当でないと判断することができ
る。このような場合、EKL制御部344は拡張カルマ
ン・フィルタ部343の再初期化を行わせる(ステップ
S215)。何故ならば、拡張カルマン・フィルタは再
復帰に多大な時間を要するからである。
By the distribution comparison test, the Markov localization unit 342 and the extended Kalman filter unit 343.
When the respective probability distributions are not similar, the self-position estimation value in the extended Kalman filter unit 343, which has low robustness to sensor noise, is the sensor position.
It can be judged to be invalid due to the influence of noise. In such a case, the EKL control unit 344 causes the extended Kalman filter unit 343 to be re-initialized (step S215). This is because the extended Kalman filter requires a great deal of time to restore again.

【0119】このようにして、ランドマークセンサCL
S340では、広い範囲で比較的短い探索時間で探索を
行う大域探索と高精度だが探索時間を要する局所的探索
とを併用して、高精度で、高速且つロバストな自己位置
同定を行うことができる。
In this way, the landmark sensor CL
In S340, it is possible to perform high-accuracy, high-speed, and robust self-localization by using both the global search, which performs a search in a relatively short search time in a wide range, and the local search, which has a high accuracy but requires a search time. .

【0120】経路計画決定部SBL360は、障害物グ
リッド算出部OG330からの障害物情報331によ
り、ロボット装置1の周囲に存在する障害物に関する認
識結果を取得し、絶対座標算出部LZ350から現在の
ロボット装置1の絶対座標を取得することにより、絶対
座標系又はロボット装置中心のロボット中心座標系で与
えられた目標地点に対して障害物に衝突せずに歩行可能
な経路を生成し、経路に応じて経路を遂行する動作コマ
ンドを発行する。即ち、入力データから状況に応じてロ
ボット装置1が取るべき行動を決定し、その行動列を出
力する。ここで、障害物グリッド算出部OG330の、
障害物情報331に基づいた処理については後述する。
The route plan determination unit SBL360 acquires the recognition result regarding the obstacles existing around the robot apparatus 1 from the obstacle information 331 from the obstacle grid calculation unit OG330, and the current robot is calculated from the absolute coordinate calculation unit LZ350. By acquiring the absolute coordinates of the device 1, a path that can be walked without colliding with an obstacle to a target point given in the absolute coordinate system or the robot center coordinate system of the robot device center is generated, Issue an operation command to carry out the route. That is, the action to be taken by the robot apparatus 1 is determined from the input data according to the situation, and the action sequence is output. Here, in the obstacle grid calculation unit OG330,
The processing based on the obstacle information 331 will be described later.

【0121】障害物グリッド算出部OG330からの障
害物情報331により生成される障害物地図上の点は、
図21に示すように以下の3つの種類に分類される。
The points on the obstacle map generated by the obstacle information 331 from the obstacle grid calculation unit OG330 are
As shown in FIG. 21, it is classified into the following three types.

【0122】第1の点は、障害物の存在する点(図中の
黒色で表される点)である。第2の点は、自由空間(障
害物が存在しない空間)上の点(図中の白で表される
点)である。そして、第3の点は、未観測領域上の点
(図中の斜線で表される点)である。
The first point is a point where an obstacle exists (point shown in black in the figure). The second point is a point (point represented by white in the figure) on the free space (space where no obstacle exists). Then, the third point is a point on the unobserved region (point indicated by the diagonal line in the figure).

【0123】次に、前記経路計画決定部SBL360が
採用する経路計画アルゴリズムを図22のフローチャー
トに示し、以下に詳細を説明する。
Next, the route planning algorithm adopted by the route plan determining unit SBL360 is shown in the flowchart of FIG. 22, and the details will be described below.

【0124】先ず、現在位置から目的位置までを結ぶ直
線経路の周辺の障害物地図が作成されるように、視線を
目的地方向に向ける(ステップS71)。そして距離画
像を観測し、距離計測を行い、障害物地図を作成(更
新)する(ステップS72)。
First, the line of sight is directed toward the destination so that an obstacle map around a straight route connecting the current position to the target position is created (step S71). Then, the distance image is observed, the distance is measured, and the obstacle map is created (updated) (step S72).

【0125】次に、生成された障害物地図において、未
観測領域と自由空間領域を移動可能領域とみなして経路
計画を行う(ステップS73)。
Next, in the generated obstacle map, the unobserved area and the free space area are regarded as the movable area and the route is planned (step S73).

【0126】この経路計画としては、例えば経路全体の
コストを最小化するA探索(Asearch)いう方法を
用いる。このA探索は、評価関数としてfを用い、h
関数が許容的であるような最良優先探索である。いかな
るヒューリスティック関数に対しても効率最適という点
を用いている。
[0126] As the path planning, for example, A * search (A * search) that minimizes the cost of the entire route using the method referred to. In this A * search, f is used as the evaluation function, and h
It is a best-first search in which the function is admissible. We use the point of efficiency optimization for any heuristic function.

【0127】このステップS73にて例えばA探索を
適用することにより生成された経路が移動可能であるな
否かをステップS74にてチェックし、障害物を回避す
ることのできる経路が計画できなかった場合(NO)に
は、これ以上観測を続けても移動可能な経路が得られる
可能性がないため、その旨を告げて経路計画を終了する
(ステップS75)。
In step S73, it is checked in step S74 whether or not the route generated by applying the A * search is movable, and the route that can avoid the obstacle cannot be planned. In the case of (NO), there is no possibility that a movable route can be obtained even if the observation is continued any more, so that is notified and the route planning ends (step S75).

【0128】ステップS73にて移動可能経路が例えば
前記A探索を適用して計画できた場合(YES)に
は、ステップS76に進み、出力された経路上に未観測
領域が含まれるか否かを検索する。このステップS76
にて経路上に未観測領域が含まれなかった場合(NO)
には、ステップS77にて目的地までの経路計画として
移動可能経路を出力する。ステップS76にて未観測領
域が含まれる場合(YES)には、ステップS78に進
んで現在位置から未観測領域までの歩数を計算し、その
歩数が閾値を超えるか否かをチェックする。
In step S73, if the movable route can be planned by applying, for example, the A * search (YES), the process proceeds to step S76 and whether or not an unobserved region is included in the output route. To search. This step S76
If no unobserved area is included in the route (NO)
, A movable route is output as a route plan to the destination in step S77. If the unobserved region is included in step S76 (YES), the process proceeds to step S78, the step count from the current position to the unobserved region is calculated, and it is checked whether the step count exceeds a threshold value.

【0129】ステップS78において歩数が閾値を超え
る場合(YES)には、ステップS79により未知領域
までの移動可能経路を出力してから、ステップS71の
処理に戻る。一方、ステップS78において未知観測領
域までの歩数が閾値に満たない場合(NO)は、未観測
領域が距離観測されるように視線方向の制御を行って再
観測を行い(ステップS80)、再び障害物地図の更新
を行う。
If the step count exceeds the threshold value in step S78 (YES), the movable route to the unknown area is output in step S79, and the process returns to step S71. On the other hand, when the number of steps to the unknown observation region is less than the threshold value in step S78 (NO), the line-of-sight direction is controlled so that the unobserved region is observed by distance (step S80), and the obstacle is detected again. Update the physical map.

【0130】以上のような経路計画アルゴリズムを採用
した経路計画決定部SBL360は、未観測領域と自由
空間領域を移動可能領域とみなして経路計画を行い、出
力された経路上に含まれる未観測領域部のみを再観測す
ることにより、目的地に移動する際に不必要な観測及び
距離画像計算処理を行わなわず、効率的で短時間に移動
経路計画を生成することが可能となる。
The route plan determination unit SBL360 which adopts the route planning algorithm as described above, considers the unobserved region and the free space region as the movable region, performs the route planning, and outputs the unobserved region included on the route. By re-observing only a part, it is possible to generate a moving route plan efficiently and in a short time without performing unnecessary observation and distance image calculation processing when moving to a destination.

【0131】以下、本発明の実施の形態における上述し
た位置認識装置を搭載した2足歩行タイプのロボット装
置について詳細に説明する。この人間型のロボット装置
は、住環境その他の日常生活上の様々な場面における人
的活動を支援する実用ロボットであり、内部状態(怒
り、悲しみ、喜び、楽しみ等)に応じて行動できるほ
か、人間が行う基本的な動作を表出できるエンターテイ
ンメントロボットである。
Hereinafter, a bipedal walking type robot device equipped with the above-described position recognition device according to the embodiment of the present invention will be described in detail. This humanoid robot device is a practical robot that supports human activities in various situations in the living environment and other daily life, and can act according to internal conditions (anger, sadness, joy, enjoyment, etc.), It is an entertainment robot that can express the basic actions that humans perform.

【0132】図23に示すように、ロボット装置1は、
体幹部ユニット2の所定の位置に頭部ユニット3が連結
されると共に、左右2つの腕部ユニット4R/Lと、左
右2つの脚部ユニット5R/Lが連結されて構成されて
いる(但し、R及びLの各々は、右及び左の各々を示す
接尾辞である。以下において同じ。)。
As shown in FIG. 23, the robot apparatus 1 has
The head unit 3 is connected to a predetermined position of the trunk unit 2, and two left and right arm units 4R / L and two left and right leg units 5R / L are connected (however, provided. Each of R and L is a suffix indicating each of right and left. The same applies below.).

【0133】このロボット装置1が具備する関節自由度
構成を図24に模式的に示す。頭部ユニット3を支持す
る首関節は、首関節ヨー軸101と、首関節ピッチ軸1
02と、首関節ロール軸103という3自由度を有して
いる。
FIG. 24 schematically shows the joint degree-of-freedom structure of the robot apparatus 1. The neck joint supporting the head unit 3 includes a neck joint yaw axis 101 and a neck joint pitch axis 1.
02 and the neck joint roll shaft 103 have three degrees of freedom.

【0134】また、上肢を構成する各々の腕部ユニット
4R/Lは、肩関節ピッチ軸107と、肩関節ロール軸
108と、上腕ヨー軸109と、肘関節ピッチ軸110
と、前腕ヨー軸111と、手首関節ピッチ軸112と、
手首関節ロール軸113と、手部114とで構成され
る。手部114は、実際には、複数本の指を含む多関節
・多自由度構造体である。ただし、手部114の動作
は、ロボット装置1の姿勢制御や歩行制御に対する寄与
や影響が少ないので、本明細書ではゼロ自由度と仮定す
る。したがって、各腕部は7自由度を有するとする。
Further, each arm unit 4R / L constituting the upper limb has a shoulder joint pitch axis 107, a shoulder joint roll axis 108, an upper arm yaw axis 109, and an elbow joint pitch axis 110.
, Forearm yaw axis 111, wrist joint pitch axis 112,
It is composed of a wrist joint roll shaft 113 and a hand portion 114. The hand portion 114 is actually a multi-joint / multi-degree-of-freedom structure including a plurality of fingers. However, since the motion of the hand portion 114 has little contribution or influence to the posture control and the walking control of the robot apparatus 1, it is assumed that the degree of freedom is zero in this specification. Therefore, each arm has seven degrees of freedom.

【0135】また、体幹部ユニット2は、体幹ピッチ軸
104と、体幹ロール軸105と、体幹ヨー軸106と
いう3自由度を有する。
The trunk unit 2 has three degrees of freedom: the trunk pitch axis 104, the trunk roll axis 105, and the trunk yaw axis 106.

【0136】また、下肢を構成する各々の脚部ユニット
5R/Lは、股関節ヨー軸115と、股関節ピッチ軸1
16と、股関節ロール軸117と、膝関節ピッチ軸11
8と、足首関節ピッチ軸119と、足首関節ロール軸1
20と、足部121とで構成される。本明細書中では、
股関節ピッチ軸116と股関節ロール軸117の交点
は、ロボット装置1の股関節位置を定義する。人体の足
部121は、実際には多関節・多自由度の足底を含んだ
構造体であるが、ロボット装置1の足底は、ゼロ自由度
とする。したがって、各脚部は、6自由度で構成され
る。
Further, each leg unit 5R / L constituting the lower limb has a hip joint yaw axis 115 and a hip joint pitch axis 1
16, a hip joint roll shaft 117, and a knee joint pitch shaft 11
8, ankle joint pitch axis 119, and ankle joint roll axis 1
20 and a foot 121. In this specification,
The intersection of the hip joint pitch axis 116 and the hip joint roll axis 117 defines the hip joint position of the robot apparatus 1. The foot 121 of the human body is actually a structure including a multi-joint, multi-degree-of-freedom foot, but the foot of the robot apparatus 1 has zero degrees of freedom. Therefore, each leg has 6 degrees of freedom.

【0137】以上を総括すれば、ロボット装置1全体と
しては、合計で3+7×2+3+6×2=32自由度を
有することになる。ただし、エンターテインメント向け
のロボット装置1が必ずしも32自由度に限定されるわ
けではない。設計・制作上の制約条件や要求仕様等に応
じて、自由度、即ち関節数を適宜増減することができる
ことはいうまでもない。
In summary, the robot apparatus 1 as a whole has a total of 3 + 7 × 2 + 3 + 6 × 2 = 32 degrees of freedom. However, the robot device 1 for entertainment is not necessarily limited to 32 degrees of freedom. It is needless to say that the degree of freedom, that is, the number of joints, can be appropriately increased or decreased in accordance with design / production constraints, required specifications, and the like.

【0138】上述したようなロボット装置1がもつ各自
由度は、実際にはアクチュエータを用いて実装される。
外観上で余分な膨らみを排してヒトの自然体形状に近似
させること、2足歩行という不安定構造体に対して姿勢
制御を行うことなどの要請から、アクチュエータは小型
且つ軽量であることが好ましい。
Each degree of freedom of the robot apparatus 1 as described above is actually implemented by using an actuator.
It is preferable that the actuator be small and lightweight in view of demands such as eliminating extra bulges in appearance and approximating the shape of a natural human body, and performing posture control for an unstable structure such as bipedal walking. .

【0139】図25には、ロボット装置1の制御システ
ム構成を模式的に示している。同図に示すように、ロボ
ット装置1は、ヒトの四肢を表現した体幹部ユニット
2,頭部ユニット3,腕部ユニット4R/L,脚部ユニ
ット5R/Lと、各ユニット間の協調動作を実現するた
めの適応制御を行う制御ユニット10とで構成される。
FIG. 25 schematically shows the control system configuration of the robot apparatus 1. As shown in the figure, the robot device 1 performs a coordinated operation between the trunk unit 2, the head unit 3, the arm unit 4R / L, the leg unit 5R / L, which represent human limbs, and the respective units. And a control unit 10 that performs adaptive control for realizing the above.

【0140】ロボット装置1全体の動作は、制御ユニッ
ト10によって統括的に制御される。制御ユニット10
は、CPU(Central Processing Unit)や、DRA
M、フラッシュROM等の主要回路コンポーネント(図
示しない)で構成される主制御部11と、電源回路やロ
ボット装置1の各構成要素とのデータやコマンドの授受
を行うインターフェイス(何れも図示しない)などを含
んだ周辺回路12とで構成される。
The overall operation of the robot apparatus 1 is controlled by the control unit 10. Control unit 10
Is a CPU (Central Processing Unit) or DRA
An interface (not shown) for exchanging data and commands with the main control unit 11 including main circuit components (not shown) such as M and flash ROM, and the power supply circuit and each component of the robot apparatus 1. And the peripheral circuit 12 including.

【0141】本発明を実現するうえで、この制御ユニッ
ト10の設置場所は、特に限定されない。図25では体
幹部ユニット2に搭載されているが、頭部ユニット3に
搭載してもよい。あるいは、ロボット装置1外に制御ユ
ニット10を配備して、ロボット装置1の機体とは有線
又は無線で交信するようにしてもよい。
In implementing the present invention, the installation place of the control unit 10 is not particularly limited. Although it is mounted on the trunk unit 2 in FIG. 25, it may be mounted on the head unit 3. Alternatively, the control unit 10 may be provided outside the robot apparatus 1 to communicate with the body of the robot apparatus 1 in a wired or wireless manner.

【0142】図24に示したロボット装置1内の各関節
自由度は、それぞれに対応するアクチュエータによって
実現される。即ち、頭部ユニット3には、首関節ヨー軸
101、首関節ピッチ軸102、首関節ロール軸103
の各々を表現する首関節ヨー軸アクチュエータA、首
関節ピッチ軸アクチュエータA、首関節ロール軸アク
チュエータAが配設されている。
The degree of freedom of each joint in the robot apparatus 1 shown in FIG. 24 is realized by an actuator corresponding to each joint. That is, the head unit 3 includes a neck joint yaw axis 101, a neck joint pitch axis 102, and a neck joint roll axis 103.
, A neck joint yaw axis actuator A 2 , a neck joint pitch axis actuator A 3 , and a neck joint roll axis actuator A 4 are provided.

【0143】また、頭部ユニット3には、外部の状況を
撮像するためのCCD(Charge Coupled Device)カメ
ラが設けられているほか、前方に位置する物体までの距
離を測定するための距離センサ、外部音を集音するため
のマイク、音声を出力するためのスピーカ、使用者から
の「撫でる」や「叩く」といった物理的な働きかけによ
り受けた圧力を検出するためのタッチセンサ等が配設さ
れている。
Further, the head unit 3 is provided with a CCD (Charge Coupled Device) camera for picking up an image of an external situation, and a distance sensor for measuring a distance to an object located in front, A microphone for collecting external sound, a speaker for outputting voice, a touch sensor for detecting the pressure received by the physical action of the user such as "stroking" or "striking" are provided. ing.

【0144】また、体幹部ユニット2には、体幹ピッチ
軸104、体幹ロール軸105、体幹ヨー軸106の各
々を表現する体幹ピッチ軸アクチュエータA、体幹ロ
ール軸アクチュエータA、体幹ヨー軸アクチュエータ
が配設されている。また、体幹部ユニット2には、
このロボット装置1の起動電源となるバッテリを備えて
いる。このバッテリは、充放電可能な電池によって構成
されている。
The trunk unit 2 includes a trunk pitch axis actuator A 5 , a trunk roll axis actuator A 6 , which expresses the trunk pitch axis 104, trunk roll axis 105, and trunk yaw axis 106, respectively. A trunk yaw axis actuator A 7 is provided. Also, in the trunk unit 2,
The robot apparatus 1 is provided with a battery as a power source. This battery is composed of a chargeable / dischargeable battery.

【0145】また、腕部ユニット4R/Lは、上腕ユニ
ット4R/Lと、肘関節ユニット4R/Lと、前腕
ユニット4R/Lに細分化されるが、肩関節ピッチ軸
107、肩関節ロール軸108、上腕ヨー軸109、肘
関節ピッチ軸110、前腕ヨー軸111、手首関節ピッ
チ軸112、手首関節ロール軸113の各々表現する肩
関節ピッチ軸アクチュエータA、肩関節ロール軸アク
チュエータA、上腕ヨー軸アクチュエータA10、肘
関節ピッチ軸アクチュエータA11、肘関節ロール軸ア
クチュエータA12、手首関節ピッチ軸アクチュエータ
13、手首関節ロール軸アクチュエータA14が配備
されている。
The arm unit 4R / L is subdivided into an upper arm unit 4 1 R / L, an elbow joint unit 4 2 R / L, and a forearm unit 4 3 R / L. 107, shoulder joint roll axis 108, upper arm yaw axis 109, elbow joint pitch axis 110, forearm yaw axis 111, wrist joint pitch axis 112, wrist joint roll axis 113, respectively, shoulder joint pitch axis actuator A 8 , shoulder joint roll An axis actuator A 9 , an upper arm yaw axis actuator A 10 , an elbow joint pitch axis actuator A 11 , an elbow joint roll axis actuator A 12 , a wrist joint pitch axis actuator A 13 , and a wrist joint roll axis actuator A 14 are provided.

【0146】また、脚部ユニット5R/Lは、大腿部ユ
ニット5R/Lと、膝ユニット5 R/Lと、脛部ユ
ニット5R/Lに細分化されるが、股関節ヨー軸11
5、股関節ピッチ軸116、股関節ロール軸117、膝
関節ピッチ軸118、足首関節ピッチ軸119、足首関
節ロール軸120の各々を表現する股関節ヨー軸アクチ
ュエータA16、股関節ピッチ軸アクチュエータ
17、股関節ロール軸アクチュエータA18、膝関節
ピッチ軸アクチュエータA19、足首関節ピッチ軸アク
チュエータA20、足首関節ロール軸アクチュエータA
21が配備されている。各関節に用いられるアクチュエ
ータA,A・・・は、より好ましくは、ギア直結型で
旦つサーボ制御系をワンチップ化してモータ・ユニット
内に搭載したタイプの小型ACサーボ・アクチュエータ
で構成することができる。
Also, the leg unit 5R / L is used for the thigh unit.
Knit 51R / L and knee unit 5 TwoR / L and shin
Knit 5ThreeAlthough it is subdivided into R / L, the hip joint yaw axis 11
5, hip pitch axis 116, hip roll axis 117, knee
Joint pitch axis 118, ankle joint pitch axis 119, ankle function
Hip joint yaw axis actuation expressing each of the knot roll axes 120
Player A16, Hip joint pitch axis actuator
A17, Hip joint roll axis actuator A18,Knee joint
Pitch axis actuator A19, Ankle joint pitch axis
Cheetah A20, Ankle joint roll axis actuator A
21Has been deployed. Actuator used for each joint
Data ATwo, AThreeIs more preferably a direct gear type
Motor unit with integrated servo control system in one chip
Small type AC servo actuator mounted inside
Can be composed of

【0147】体幹部ユニット2、頭部ユニット3、各腕
部ユニット4R/L、各脚部ユニット5R/Lなどの各
機構ユニット毎に、アクチュエータ駆動制御部の副制御
部20,21,22R/L,23R/Lが配備されてい
る。さらに、各脚部ユニット5R/Lの足底が着床した
か否かを検出する接地確認センサ30R/Lを装着する
とともに、体幹部ユニット2内には、姿勢を計測する姿
勢センサ31を装備している。
For each mechanical unit such as the trunk unit 2, the head unit 3, each arm unit 4R / L, each leg unit 5R / L, etc., the sub-control units 20, 21, 22R / of the actuator drive control unit are provided. L, 23R / L are deployed. Furthermore, a ground contact confirmation sensor 30R / L that detects whether or not the sole of each leg unit 5R / L has landed is attached, and a posture sensor 31 that measures a posture is provided in the trunk unit 2. is doing.

【0148】接地確認センサ30R/Lは、例えば足底
に設置された近接センサ又はマイクロ・スイッチなどで
構成される。また、姿勢センサ31は、例えば、加速度
センサとジャイロ・センサの組み合わせによって構成さ
れる。
The ground contact confirmation sensor 30R / L is composed of, for example, a proximity sensor or a micro switch installed on the sole of the foot. Further, the posture sensor 31 is composed of, for example, a combination of an acceleration sensor and a gyro sensor.

【0149】接地確認センサ30R/Lの出力によっ
て、歩行・走行などの動作期間中において、左右の各脚
部が現在立脚又は遊脚何れの状態であるかを判別するこ
とができる。また、姿勢センサ31の出力により、体幹
部分の傾きや姿勢を検出することができる。
By the output of the ground contact confirmation sensor 30R / L, it is possible to determine whether each of the left and right legs is currently standing or free leg during an operation period such as walking or running. Further, the output of the posture sensor 31 can detect the inclination and posture of the trunk.

【0150】主制御部11は、各センサ30R/L,3
1の出力に応答して制御目標をダイナミックに補正する
ことができる。より具体的には、副制御部20,21,
22R/L,23R/Lの各々に対して適応的な制御を
行い、ロボット装置1の上肢、体幹、及び下肢が協調し
て駆動する全身運動パターンを実現できる。
The main control section 11 uses the sensors 30R / L, 3
The control target can be dynamically corrected in response to the output of 1. More specifically, the sub control units 20, 21,
By performing adaptive control on each of 22R / L and 23R / L, it is possible to realize a whole-body movement pattern in which the upper limbs, the trunk, and the lower limbs of the robot apparatus 1 are cooperatively driven.

【0151】ロボット装置1の機体上での全身運動は、
足部運動、ZMP(Zero Moment Point)軌道、体幹運
動、上肢運動、腰部高さなどを設定するとともに、これ
らの設定内容にしたがった動作を指示するコマンドを各
副制御部20,21,22R/L,23R/Lに転送す
る。そして、各々の副制御部20,21,・・・等で
は、主制御部11からの受信コマンドを解釈して、各ア
クチュエータA,A・・・等に対して駆動制御信号
を出力する。ここでいう「ZMP」とは、歩行中の床反
力によるモーメントがゼロとなる床面上の点のことであ
り、また、「ZMP軌道」とは、例えばロボット装置1
の歩行動作期間中にZMPが動く軌跡を意味する。な
お、ZMPの概念並びにZMPを歩行ロボットの安定度
判別規範に適用する点については、Miomir Vukobratovi
c著“LEGGED LOCOMOTION ROBOTS”(加藤一郎外著『歩
行ロボットと人工の足』(日刊工業新聞社))に記載さ
れている。
The whole body motion of the robot apparatus 1 on the body is
Foot control, ZMP (Zero Moment Point) trajectory, trunk movement, upper limb movement, waist height, etc. are set, and commands for instructing movements according to these setting contents are issued to the sub-control units 20, 21, 22R. / L, 23R / L. The sub-control units 20, 21, ... Interpret the received commands from the main control unit 11 and output drive control signals to the actuators A 2 , A 3 ,. . The “ZMP” mentioned here is a point on the floor surface where the moment due to the floor reaction force during walking becomes zero, and the “ZMP trajectory” is, for example, the robot device 1
Means a locus of movement of the ZMP during the walking motion period. Regarding the concept of ZMP and the application of ZMP to the stability criterion of walking robots, see Miomir Vukobratovi.
c "LEGGED LOCOMOTION ROBOTS" (Ichiro Kato, "Walking Robot and Artificial Feet" (Nikkan Kogyo Shimbun)).

【0152】以上のように、ロボット装置1は、各々の
副制御部20,21,・・・等が、主制御部11からの
受信コマンドを解釈して、各アクチュエータA,A
・・・に対して駆動制御信号を出力し、各ユニットの駆
動を制御している。これにより、ロボット装置1は、目
標の姿勢に安定して遷移し、安定した姿勢で歩行でき
る。
As described above, in the robot apparatus 1, each sub-control unit 20, 21, ... Interprets the received command from the main control unit 11 and each actuator A 2 , A 3
A drive control signal is output to ... to control the drive of each unit. As a result, the robot apparatus 1 makes a stable transition to the target posture and can walk in a stable posture.

【0153】また、ロボット装置1における制御ユニッ
ト10では、上述したような姿勢制御のほかに、加速度
センサ、タッチセンサ、接地確認センサ等の各種セン
サ、及びCCDカメラからの画像情報、マイクからの音
声情報等を統括して処理している。制御ユニット10で
は、図示しないが加速度センサ、ジャイロ・センサ、タ
ッチセンサ、距離センサ、マイク、スピーカなどの各種
センサ、各アクチュエータ、CCDカメラ及びバッテリ
が各々対応するハブを介して主制御部11と接続されて
いる。
Further, in the control unit 10 of the robot apparatus 1, in addition to the posture control as described above, various sensors such as an acceleration sensor, a touch sensor, a ground contact confirmation sensor, image information from a CCD camera, and sound from a microphone. Information is handled in a centralized manner. In the control unit 10, although not shown, various sensors such as an acceleration sensor, a gyro sensor, a touch sensor, a distance sensor, a microphone, a speaker, actuators, CCD cameras, and batteries are connected to the main control unit 11 via corresponding hubs. Has been done.

【0154】主制御部11は、上述の各センサから供給
されるセンサデータや画像データ及び音声データを順次
取り込み、これらをそれぞれ内部インターフェイスを介
してDRAM内の所定位置に順次格納する。また、主制
御部11は、バッテリから供給されるバッテリ残量を表
すバッテリ残量データを順次取り込み、これをDRAM
内の所定位置に格納する。DRAMに格納された各セン
サデータ、画像データ、音声データ及びバッテリ残量デ
ータは、主制御部11がこのロボット装置1の動作制御
を行う際に利用される。
The main controller 11 sequentially takes in sensor data, image data, and audio data supplied from the above-mentioned sensors, and sequentially stores them in a predetermined position in the DRAM through the internal interface. Further, the main control unit 11 sequentially takes in the battery remaining amount data representing the battery remaining amount supplied from the battery, and stores this in the DRAM.
It is stored in a predetermined position inside. Each sensor data, image data, voice data, and battery remaining amount data stored in the DRAM are used when the main control unit 11 controls the operation of the robot apparatus 1.

【0155】主制御部11は、ロボット装置1の電源が
投入された初期時、制御プログラムを読み出し、これを
DRAMに格納する。また、主制御部11は、上述のよ
うに主制御部11よりDRAMに順次格納される各セン
サデータ、画像データ、音声データ及びバッテリ残量デ
ータに基づいて自己及び周囲の状況や、使用者からの指
示及び働きかけの有無などを判断する。
The main control section 11 reads the control program and stores it in the DRAM at the initial stage when the robot apparatus 1 is powered on. In addition, the main control unit 11 uses the sensor data, the image data, the audio data, and the battery remaining amount data that are sequentially stored in the DRAM from the main control unit 11 as described above, based on the self and surrounding conditions and the user. Judging whether or not there are instructions and how to work.

【0156】さらに、主制御部11は、この判断結果及
びDRAMに格納した制御プログラムに基づいて自己の
状況に応じて行動を決定するとともに、当該決定結果に
基づいて必要なアクチュエータを駆動させることにより
ロボット装置1に、いわゆる「身振り」、「手振り」と
いった行動をとらせる。
Further, the main control section 11 determines an action according to its own situation based on this determination result and the control program stored in the DRAM, and drives a necessary actuator based on the determination result. The robot apparatus 1 is caused to take actions such as so-called “gesture” and “hand gesture”.

【0157】このようにしてロボット装置1は、制御プ
ログラムに基づいて自己及び周囲の状況を判断し、使用
者からの指示及び働きかけに応じて自律的に行動でき
る。
In this way, the robot apparatus 1 can judge the self and surrounding conditions based on the control program, and can act autonomously in accordance with instructions and actions from the user.

【0158】ところで、このロボット装置1は、内部状
態に応じて自律的に行動することができる。そこで、ロ
ボット装置1における制御プログラムのソフトウェア構
成例について、図26乃至図31を用いて説明する。
By the way, the robot apparatus 1 can act autonomously according to the internal state. Therefore, a software configuration example of the control program in the robot apparatus 1 will be described with reference to FIGS. 26 to 31.

【0159】図26において、デバイス・ドライバ・レ
イヤ40は、制御プログラムの最下位層に位置し、複数
のデバイス・ドライバからなるデバイス・ドライバ・セ
ット41から構成されている。この場合、各デバイス・
ドライバは、CCDカメラやタイマ等の通常のコンピュ
ータで用いられるハードウェアに直接アクセスすること
を許されたオブジェクトであり、対応するハードウェア
からの割り込みを受けて処理を行う。
In FIG. 26, the device driver layer 40 is located in the lowest layer of the control program and is composed of a device driver set 41 consisting of a plurality of device drivers. In this case, each device
The driver is an object that is allowed to directly access hardware used in a normal computer such as a CCD camera and a timer, and receives an interrupt from the corresponding hardware to perform processing.

【0160】また、ロボティック・サーバ・オブジェク
ト42は、デバイス・ドライバ・レイヤ40の最下位層
に位置し、例えば上述の各種センサやアクチュエータA
、A・・・等のハードウェアにアクセスするための
インターフェイスを提供するソフトウェア群でなるバー
チャル・ロボット43と、電源の切換えなどを管理する
ソフトウェア群でなるパワーマネージャ44と、他の種
々のデバイス・ドライバを管理するソフトウェア群でな
るデバイス・ドライバ・マネージャ45と、ロボット装
置1の機構を管理するソフトウェア群でなるデザインド
・ロボット46とから構成されている。
The robotic server object 42 is located in the lowest layer of the device driver layer 40, and for example, the various sensors and actuators A described above are used.
2 , a virtual robot 43 that is a software group that provides an interface for accessing hardware such as A 3, ..., a power manager 44 that is a software group that manages switching of power supplies, and various other types. The device driver manager 45 is a software group that manages the device driver, and the designed robot 46 is a software group that manages the mechanism of the robot apparatus 1.

【0161】マネージャ・オブジェクト47は、オブジ
ェクト・マネージャ48及びサービス・マネージャ49
から構成されている。オブジェクト・マネージャ48
は、ロボティック・サーバ・オブジェクト42、ミドル
・ウェア・レイヤ50、及びアプリケーション・レイヤ
51に含まれる各ソフトウェア群の起動や終了を管理す
るソフトウェア群であり、サービス・マネージャ49
は、メモリカードに格納されたコネクションファイルに
記述されている各オブジェクト間の接続情報に基づいて
各オブジェクトの接続を管理するソフトウェア群であ
る。
The manager object 47 includes an object manager 48 and a service manager 49.
It consists of Object manager 48
Is a software group that manages activation and termination of each software group included in the robotic server object 42, the middleware layer 50, and the application layer 51, and the service manager 49.
Is a software group that manages the connection of each object based on the connection information between each object described in the connection file stored in the memory card.

【0162】ミドル・ウェア・レイヤ50は、ロボティ
ック・サーバ・オブジェクト42の上位層に位置し、画
像処理や音声処理などのこのロボット装置1の基本的な
機能を提供するソフトウェア群から構成されている。ま
た、アプリケーション・レイヤ51は、ミドル・ウェア
・レイヤ50の上位層に位置し、当該ミドル・ウェア・
レイヤ50を構成する各ソフトウェア群によって処理さ
れた処理結果に基づいてロボット装置1の行動を決定す
るためのソフトウェア群から構成されている。
The middle wear layer 50 is located in the upper layer of the robotic server object 42 and is composed of a software group that provides basic functions of the robot apparatus 1 such as image processing and voice processing. There is. Further, the application layer 51 is located above the middleware layer 50, and the middleware layer 50
It is composed of a software group for determining the action of the robot apparatus 1 based on the processing result processed by each software group forming the layer 50.

【0163】なお、ミドル・ウェア・レイヤ50及びア
プリケーション・レイヤ51の具体なソフトウェア構成
をそれぞれ図27に示す。
FIG. 27 shows specific software configurations of the middleware layer 50 and the application layer 51, respectively.

【0164】ミドル・ウェア・レイヤ50は、図27に
示すように、騒音検出用、温度検出用、明るさ検出用、
音階認識用、距離検出用、姿勢検出用、タッチセンサ
用、動き検出用及び色認識用の各信号処理モジュール6
0〜68並びに入力セマンティクスコンバータモジュー
ル69などを有する認識系70と、出力セマンティクス
コンバータモジュール78並びに姿勢管理用、トラッキ
ング用、モーション再生用、歩行用、転倒復帰用、LE
D点灯用及び音再生用の各信号処理モジュール71〜7
7などを有する出力系79とから構成されている。
The middleware layer 50, as shown in FIG. 27, is for noise detection, temperature detection, brightness detection,
Each signal processing module 6 for scale recognition, distance detection, posture detection, touch sensor, motion detection, and color recognition
A recognition system 70 having 0 to 68 and an input semantics converter module 69, an output semantics converter module 78, and posture management, tracking, motion reproduction, walking, fall recovery, LE
Signal processing modules 71 to 7 for D lighting and sound reproduction
And an output system 79 having 7 or the like.

【0165】認識系70の各信号処理モジュール60〜
68は、ロボティック・サーバ・オブジェクト42のバ
ーチャル・ロボット43によりDRAMから読み出され
る各センサデータや画像データ及び音声データのうちの
対応するデータを取り込み、当該データに基づいて所定
の処理を施して、処理結果を入力セマンティクスコンバ
ータモジュール69に与える。ここで、例えば、バーチ
ャル・ロボット43は、所定の通信規約によって、信号
の授受或いは変換をする部分として構成されている。
Each signal processing module 60 of the recognition system 70
68 captures corresponding data of each sensor data, image data, and audio data read from the DRAM by the virtual robot 43 of the robotic server object 42, performs a predetermined process based on the data, The processing result is given to the input semantics converter module 69. Here, for example, the virtual robot 43 is configured as a portion that exchanges or converts a signal according to a predetermined communication protocol.

【0166】入力セマンティクスコンバータモジュール
69は、これら各信号処理モジュール60〜68から与
えられる処理結果に基づいて、「うるさい」、「暑
い」、「明るい」、「ボールを検出した」、「転倒を検
出した」、「撫でられた」、「叩かれた」、「ドミソの
音階が聞こえた」、「動く物体を検出した」又は「障害
物を検出した」などの自己及び周囲の状況や、使用者か
らの指令及び働きかけを認識し、認識結果をアプリケー
ション・レイヤ41に出力する。
The input semantics converter module 69 detects "noisy", "hot", "bright", "ball detected", and "fall" based on the processing results given from the respective signal processing modules 60 to 68. The user and surroundings, such as "Yes", "Stabbed", "Struck", "I heard Domiso scale", "A moving object was detected", or "An obstacle was detected", and the user. It recognizes the command and the action from, and outputs the recognition result to the application layer 41.

【0167】アプリケーション・レイヤ51は、図28
に示すように、行動モデルライブラリ80、行動切換モ
ジュール81、学習モジュール82、感情モデル83及
び本能モデル84の5つのモジュールから構成されてい
る。
The application layer 51 is shown in FIG.
As shown in FIG. 5, the action model library 80, the action switching module 81, the learning module 82, the emotion model 83, and the instinct model 84 are composed of five modules.

【0168】行動モデルライブラリ80には、図29に
示すように、「バッテリ残量が少なくなった場合」、
「転倒復帰する」、「障害物を回避する場合」、「感情
を表現する場合」、「ボールを検出した場合」などの予
め選択されたいくつかの条件項目にそれぞれ対応させ
て、それぞれ独立した行動モデルが設けられている。
In the behavior model library 80, as shown in FIG. 29, "when the battery level is low",
Independently corresponding to some preselected condition items such as "returning from a fall", "avoiding obstacles", "expressing emotions", "detecting a ball", etc. A behavior model is provided.

【0169】そして、これら行動モデルは、それぞれ入
力セマンティクスコンバータモジュール69から認識結
果が与えられたときや、最後の認識結果が与えられてか
ら一定時間が経過したときなどに、必要に応じて後述の
ように感情モデル83に保持されている対応する情動の
パラメータ値や、本能モデル84に保持されている対応
する欲求のパラメータ値を参照しながら続く行動をそれ
ぞれ決定し、決定結果を行動切換モジュール81に出力
する。
Each of these behavior models will be described later as needed when a recognition result is given from the input semantics converter module 69 or when a certain time has passed since the last recognition result was given. As described above, each subsequent action is determined with reference to the corresponding emotional parameter value held in the emotion model 83 and the corresponding desire parameter value held in the instinct model 84, and the decision result is determined by the action switching module 81. Output to.

【0170】なお、この実施の形態の場合、各行動モデ
ルは、次の行動を決定する手法として、図30に示すよ
うな1つのノード(状態)NODE〜NODEから
他のどのノードNODE〜NODEに遷移するかを
各ノードNODE〜NODEに間を接続するアーク
ARC〜ARCn1に対してそれぞれ設定された遷移
確率P〜Pに基づいて確率的に決定する有限確率オ
ートマトンと呼ばれるアルゴリズムを用いる。
In the case of this embodiment, each behavior model uses one node (state) NODE 0 to NODE n as shown in FIG. 30 to determine any other node NODE 0 as a method for determining the next behavior. ˜NODE n , a finite probability that determines probabilistically based on the transition probabilities P 1 to P n respectively set for the arcs ARC 1 to ARC n1 connecting the nodes NODE 0 to NODE n. An algorithm called an automaton is used.

【0171】具体的に、各行動モデルは、それぞれ自己
の行動モデルを形成するノードNODE〜NODE
にそれぞれ対応させて、これらノードNODE〜NO
DE 毎に図23に示すような状態遷移表90を有して
いる。
Specifically, each behavior model is
NODE that forms the behavior model of the child0~ NODEn
To correspond to each of these nodes NODE0~ NO
DE nEach has a state transition table 90 as shown in FIG.
There is.

【0172】この状態遷移表90では、そのノードNO
DE〜NODEにおいて遷移条件とする入力イベン
ト(認識結果)が「入力イベント名」の列に優先順に列
記され、その遷移条件についてのさらなる条件が「デー
タ名」及び「データ範囲」の列における対応する行に記
述されている。
In this state transition table 90, the node NO.
Input events (recognition results) that are transition conditions in DE 0 to NODE n are listed in order of priority in the column of “input event name”, and further conditions regarding the transition conditions are listed in the columns of “data name” and “data range”. It is described in the corresponding line.

【0173】したがって、図31の状態遷移表90で表
されるノードNODE100では、「ボールを検出(B
ALL)」という認識結果が与えられた場合に、当該認
識結果とともに与えられるそのボールの「大きさ(SIZ
E)」が「0から1000」の範囲であることや、「障害物を
検出(OBSTACLE)」という認識結果が与えられた場合
に、当該認識結果とともに与えられるその障害物までの
「距離(DISTANCE)」が「0から100」の範囲であること
が他のノードに遷移するための条件となっている。
Therefore, in the node NODE 100 represented by the state transition table 90 of FIG. 31, "the ball is detected (B
ALL) ”is given, the“ size (SIZ) of the ball given together with the recognition result is given.
"E)" is in the range of "0 to 1000" and the recognition result of "obstacle detection (OBSTACLE)" is given, the "distance (DISTANCE) to the obstacle given together with the recognition result is given. ) ”Is in the range of“ 0 to 100 ”is a condition for transition to another node.

【0174】また、このノードNODE100では、認
識結果の入力がない場合においても、行動モデルが周期
的に参照する感情モデル83及び本能モデル84にそれ
ぞれ保持された各情動及び各欲求のパラメータ値のう
ち、感情モデル83に保持された「喜び(Joy)」、
「驚き(Surprise)」又は「悲しみ(Sadness)」の何
れかのパラメータ値が「50から100」の範囲であるとき
には他のノードに遷移することができるようになってい
る。
Further, in this node NODE 100 , even when there is no recognition result input, the parameter values of each emotion and each desire held in the emotion model 83 and the instinct model 84, which the behavior model periodically refers to, are stored. Among them, "Joy" held by emotion model 83,
When the parameter value of either "Surprise" or "Sadness" is in the range of "50 to 100", it is possible to transit to another node.

【0175】また、状態遷移表90では、「他のノード
ヘの遷移確率」の欄における「遷移先ノード」の行にそ
のノードNODE〜NODEから遷移できるノード
名が列記されているとともに、「入力イベント名」、
「データ名」及び「データの範囲」の列に記述された全
ての条件が揃ったときに遷移できる他の各ノードNOD
〜NODEへの遷移確率が「他のノードヘの遷移
確率」の欄内の対応する箇所にそれぞれ記述され、その
ノードNODE〜NODEに遷移する際に出力すべ
き行動が「他のノードヘの遷移確率」の欄における「出
力行動」の行に記述されている。なお、「他のノードヘ
の遷移確率」の欄における各行の確率の和は100
[%]となっている。
Further, in the state transition table 90, the node names that can transit from the nodes NODE 0 to NODE n are listed in the row of “transition destination node” in the column of “transition probability to other node”, and “ Input event name ",
Each other node NOD that can transit when all the conditions described in the columns of "data name" and "data range" are met
The transition probabilities from E 0 to NODE n are respectively described in the corresponding locations in the “transition probabilities to other nodes” section, and the action to be output when transitioning to the nodes NODE 0 to NODE n is “other It is described in the row of “output action” in the column of “transition probability to node”. In addition, the sum of the probabilities of each row in the column of "probability of transition to other node" is 100.
It is [%].

【0176】したがって、図31の状態遷移表90で表
されるノードNODE100では、例えば「ボールを検
出(BALL)」し、そのボールの「SIZE(大き
さ)」が「0から1000」の範囲であるという認識結果が
与えられた場合には、「30[%]」の確率で「ノードN
ODE120(node 120)」に遷移でき、そのとき「A
CTION1」の行動が出力されることとなる。
Therefore, in the node NODE 100 represented by the state transition table 90 of FIG. 31, for example, "ball is detected (BALL)" and the "SIZE" of the ball is in the range of "0 to 1000". If the recognition result that is, is given, there is a probability of "30 [%]"
ODE 120 (node 120) ", at that time" A
The action of “CATION 1” will be output.

【0177】各行動モデルは、それぞれこのような状態
遷移表90として記述されたノードNODE〜 NO
DEが幾つも繋がるようにして構成されており、入力
セマンティクスコンバータモジュール69から認識結果
が与えられたときなどに、対応するノードNODE
NODEの状態遷移表を利用して確率的に次の行動を
決定し、決定結果を行動切換モジュール81に出力する
ようになされている。
Each behavior model has nodes NODE 0 to NO described as such a state transition table 90.
DE n are configured to be connected to each other, and when a recognition result is given from the input semantics converter module 69, the corresponding nodes NODE 0 to
The next action is stochastically determined using the state transition table of NODE n , and the determination result is output to the action switching module 81.

【0178】図20に示す行動切換モジュール81は、
行動モデルライブラリ80の各行動モデルからそれぞれ
出力される行動のうち、予め定められた優先順位の高い
行動モデルから出力された行動を選択し、当該行動を実
行すべき旨のコマンド(以下、行動コマンドという。)
をミドル・ウェア・レイヤ50の出力セマンティクスコ
ンバータモジュール78に送出する。なお、この実施の
形態においては、図29において下側に表記された行動
モデルほど優先順位が高く設定されている。
The action switching module 81 shown in FIG.
Among the actions output from the action models of the action model library 80, the action output from the action model having a predetermined high priority is selected, and a command to execute the action (hereinafter, action command That.)
To the output semantics converter module 78 of the middleware layer 50. Note that, in this embodiment, the behavior model shown on the lower side in FIG. 29 has a higher priority.

【0179】また、行動切換モジュール81は、行動完
了後に出力セマンティクスコンバータモジュール78か
ら与えられる行動完了情報に基づいて、その行動が完了
したことを学習モジュール82、感情モデル83及び本
能モデル84に通知する。
Further, the action switching module 81 notifies the learning module 82, the emotion model 83, and the instinct model 84 that the action is completed based on the action completion information given from the output semantics converter module 78 after the action is completed. .

【0180】一方、学習モジュール82は、入力セマン
ティクスコンバータモジュール69から与えられる認識
結果のうち、「叩かれた」や「撫でられた」など、使用
者からの働きかけとして受けた教示の認識結果を入力す
る。
On the other hand, the learning module 82 inputs the recognition result of the teaching received as an action from the user such as “struck” or “stabbed” among the recognition results given from the input semantics converter module 69. To do.

【0181】そして、学習モジュール82は、この認識
結果及び行動切換えモジュール71からの通知に基づい
て、「叩かれた(叱られた)」ときにはその行動の発現
確率を低下させ、「撫でられた(誉められた)」ときに
はその行動の発現確率を上昇させるように、行動モデル
ライブラリ70における対応する行動モデルの対応する
遷移確率を変更する。
Then, based on the recognition result and the notification from the action switching module 71, the learning module 82 reduces the probability of the action to be expressed when "struck (scared)" and "stabbed ( Praised) ”, the corresponding transition probability of the corresponding behavior model in the behavior model library 70 is changed so as to increase the occurrence probability of that behavior.

【0182】他方、感情モデル83は、「喜び(Jo
y)」、「悲しみ(Sadness)」、「怒り(Anger)」、
「驚き(Surprise)」、「嫌悪(Disgust)」及び「恐
れ(Fear)」の合計6つの情動について、各情動毎にそ
の情動の強さを表すパラメータを保持している。そし
て、感情モデル83は、これら各情動のパラメータ値
を、それぞれ入力セマンティクスコンバータモジュール
69から与えられる「叩かれた」及び「撫でられた」な
どの特定の認識結果や、経過時間及び行動切換モジュー
ル81からの通知などに基づいて周期的に更新する。
On the other hand, the emotion model 83 is "joy (Jo
y) ”,“ Sadness ”,“ Anger ”,
With respect to a total of 6 emotions of “Surprise”, “Disgust”, and “Fear”, a parameter indicating the strength of the emotion is held for each emotion. Then, the emotion model 83 gives specific recognition results such as “struck” and “stabbed” given from the input semantics converter module 69 to the parameter values of these emotions, the elapsed time and the action switching module 81. It is updated periodically based on notifications from etc.

【0183】具体的には、感情モデル83は、入力セマ
ンティクスコンバータモジュール69から与えられる認
識結果と、そのときのロボット装置1の行動と、前回更
新してからの経過時間となどに基づいて所定の演算式に
より算出されるそのときのその情動の変動量を△E
[t]、現在のその情動のパラメータ値をE[t]、そ
の情動の感度を表す係数をkとして、下記数式(1
4)によって次の周期におけるその情動のパラメータ値
E[t+1]を算出し、これを現在のその情動のパラメ
ータ値E[t]と置き換えるようにしてその情動のパラ
メータ値を更新する。また、感情モデル83は、これと
同様にして全ての情動のパラメータ値をにより更新す
る。
Specifically, the emotion model 83 is determined based on the recognition result given from the input semantics converter module 69, the action of the robot apparatus 1 at that time, the elapsed time from the last update, and the like. The amount of change in emotion at that time calculated by the arithmetic expression is ΔE
[T], E [t] of the current parameter value of the emotion, the coefficient representing the sensitivity of the emotion as k e, the following equation (1
The parameter value E [t + 1] of the emotion in the next cycle is calculated by 4), and the parameter value of the emotion is updated by replacing this with the current parameter value E [t] of the emotion. Further, the emotion model 83 updates the parameter values of all emotions in the same manner as above.

【0184】[0184]

【数14】 [Equation 14]

【0185】なお、各認識結果や出力セマンティクスコ
ンバータモジュール78からの通知が各情動のパラメー
タ値の変動量△E[t]にどの程度の影響を与えるかは
予め決められており、例えば「叩かれた」といった認識
結果は「怒り」の情動のパラメータ値の変動量△E
[t]に大きな影響を与え、「撫でられた」といった認
識結果は「喜び」の情動のパラメータ値の変動量△E
[t]に大きな影響を与えるようになっている。
The degree of influence of each recognition result and the notification from the output semantics converter module 78 on the variation amount ΔE [t] of the parameter value of each emotion is predetermined, and for example, “beating” is performed. The recognition result such as “ta” is the variation amount ΔE of the parameter value of the emotion of “anger”
[T] has a great influence, and the recognition result such as “struck” is the variation amount ΔE of the parameter value of the emotion of “joy”.
It has a great influence on [t].

【0186】ここで、出力セマンティクスコンバータモ
ジュール78からの通知とは、いわゆる行動のフィード
バック情報(行動完了情報)であり、行動の出現結果の
情報であり、感情モデル83は、このような情報によっ
ても感情を変化させる。これは、例えば、「叫ぶ」とい
った行動により怒りの感情レベルが下がるといったよう
なことである。なお、出力セマンティクスコンバータモ
ジュール78からの通知は、上述した学習モジュール8
2にも入力されており、学習モジュール82は、その通
知に基づいて行動モデルの対応する遷移確率を変更す
る。
Here, the notification from the output semantics converter module 78 is so-called action feedback information (action completion information), which is information about the appearance result of an action, and the emotion model 83 is also based on such information. Change emotions. This is, for example, that the behavior level of anger is lowered by the action of "screaming". The notification from the output semantics converter module 78 is sent to the learning module 8 described above.
2 is also input, and the learning module 82 changes the corresponding transition probability of the behavior model based on the notification.

【0187】なお、行動結果のフィードバックは、行動
切換モジュール81の出力(感情が付加された行動)に
よりなされるものであってもよい。
The feedback of the action result may be performed by the output of the action switching module 81 (action added with emotion).

【0188】一方、本能モデル84は、「運動欲(exer
cise)」、「愛情欲(affection)」、「食欲(appetit
e)」及び「好奇心(curiosity)」の互いに独立した4
つの欲求について、これら欲求毎にその欲求の強さを表
すパラメータを保持している。そして、本能モデル84
は、これらの欲求のパラメータ値を、それぞれ入力セマ
ンティクスコンバータモジュール69から与えられる認
識結果や、経過時間及び行動切換モジュール81からの
通知などに基づいて周期的に更新する。
On the other hand, the instinct model 84 is "exercise desire (exer
cise), “affection”, “appetite”
e) ”and“ curiosity ”independent of each other 4
For each desire, a parameter indicating the strength of the desire is held for each of these desires. And the instinct model 84
Updates the parameter values of these desires periodically based on the recognition result provided from the input semantics converter module 69, the elapsed time, the notification from the action switching module 81, and the like.

【0189】具体的には、本能モデル84は、「運動
欲」、「愛情欲」及び「好奇心」については、認識結
果、経過時間及び出力セマンティクスコンバータモジュ
ール78からの通知などに基づいて所定の演算式により
算出されるそのときのその欲求の変動量をΔI[k]、
現在のその欲求のパラメータ値をI[k]、その欲求の
感度を表す係数kとして、所定周期で下記数式(1
5)を用いて次の周期におけるその欲求のパラメータ値
I[k+1]を算出し、この演算結果を現在のその欲求
のパラメータ値I[k]と置き換えるようにしてその欲
求のパラメータ値を更新する。また、本能モデル84
は、これと同様にして「食欲」を除く各欲求のパラメー
タ値を更新する。
Specifically, the instinct model 84 determines a predetermined "movement desire", "love desire", and "curiosity" based on the recognition result, the elapsed time, the notification from the output semantics converter module 78, and the like. The fluctuation amount of the desire at that time calculated by the arithmetic expression is ΔI [k],
Let I [k] be the current parameter value of the desire and a coefficient k i representing the sensitivity of the desire, and the following mathematical expression (1
5) is used to calculate the parameter value I [k + 1] of the desire in the next cycle, and the calculation result is replaced with the current parameter value I [k] of the desire to update the parameter value of the desire. . Also, the instinct model 84
Updates the parameter values of each desire except "appetite" in the same manner.

【0190】[0190]

【数15】 [Equation 15]

【0191】なお、認識結果及び出力セマンティクスコ
ンバータモジュール78からの通知などが各欲求のパラ
メータ値の変動量△I[k]にどの程度の影響を与える
かは予め決められており、例えば出力セマンティクスコ
ンバータモジュール78からの通知は、「疲れ」のパラ
メータ値の変動量△I[k]に大きな影響を与えるよう
になっている。
The degree of influence of the recognition result and the notification from the output semantics converter module 78 on the variation amount ΔI [k] of the parameter value of each desire is predetermined, and for example, the output semantics converter is used. The notification from the module 78 has a great influence on the fluctuation amount ΔI [k] of the “tiredness” parameter value.

【0192】なお、本実施の形態においては、各情動及
び各欲求(本能)のパラメータ値がそれぞれ0から10
0までの範囲で変動するように規制されており、また係
数k 、kの値も各情動及び各欲求毎に個別に設定さ
れている。
In this embodiment, each emotional influence is
And each desire (instinct) parameter value is 0 to 10
It is regulated to fluctuate within the range of 0, and
A few k e, KiThe value of is also set individually for each emotion and each desire.
Has been.

【0193】一方、ミドル・ウェア・レイヤ50の出力
セマンティクスコンバータモジュール78は、図27に
示すように、上述のようにしてアプリケーション・レイ
ヤ51の行動切換モジュール81から与えられる「前
進」、「喜ぶ」、「鳴く」又は「トラッキング(ボール
を追いかける)」といった抽象的な行動コマンドを出力
系79の対応する信号処理モジュール71〜77に与え
る。
On the other hand, the output semantics converter module 78 of the middleware layer 50, as shown in FIG. 27, is "forward" and "happy" given from the action switching module 81 of the application layer 51 as described above. , An abstract action command such as “squeal” or “tracking (chasing the ball)” is given to the corresponding signal processing modules 71 to 77 of the output system 79.

【0194】そしてこれら信号処理モジュール71〜7
7は、行動コマンドが与えられると当該行動コマンドに
基づいて、その行動をするために対応するアクチュエー
タに与えるべきサーボ指令値や、スピーカから出力する
音の音声データ及び又はLEDに与える駆動データを生
成し、これらのデータをロボティック・サーバ・オブジ
ェクト42のバーチャル・ロボット43及び信号処理回
路を順次介して対応するアクチュエータ又はスピーカ又
はLEDに順次送出する。
Then, these signal processing modules 71 to 7
When an action command is given, 7 generates a servo command value to be given to a corresponding actuator to take the action, sound data of sound output from a speaker, and / or drive data given to the LED, based on the action command. Then, these data are sequentially transmitted to the corresponding actuator or speaker or LED via the virtual robot 43 of the robotic server object 42 and the signal processing circuit.

【0195】このようにしてロボット装置1は、上述し
た制御プログラムに基づいて、自己(内部)及び周囲
(外部)の状況や、使用者からの指示及び働きかけに応
じた自律的な行動ができる。
In this way, the robot apparatus 1 can perform an autonomous action according to its own (internal) and surrounding (external) conditions, and instructions and actions from the user, based on the control program described above.

【0196】このような制御プログラムは、ロボット装
置が読取可能な形式で記録された記録媒体を介して提供
される。制御プログラムを記録する記録媒体としては、
磁気読取方式の記録媒体(例えば、磁気テープ、フレキ
シブルディスク、磁気カード)、光学読取方式の記録媒
体(例えば、CD−ROM、MO、CD−R、DVD)
等が考えられる。記録媒体には、半導体メモリ(いわゆ
るメモリカード(矩形型、正方形型など形状は問わな
い。)、ICカード)等の記憶媒体も含まれる。また、
制御プログラムは、いわゆるインターネット等を介して
提供されてもよい。
Such a control program is provided via a recording medium recorded in a format readable by the robot apparatus. As a recording medium for recording the control program,
Recording medium of magnetic reading system (for example, magnetic tape, flexible disk, magnetic card), recording medium of optical reading system (for example, CD-ROM, MO, CD-R, DVD)
Etc. are possible. The recording medium also includes a storage medium such as a semiconductor memory (so-called memory card (rectangular type, square type, or any shape), IC card) or the like. Also,
The control program may be provided via the so-called Internet or the like.

【0197】これらの制御プログラムは、専用の読込ド
ライバ装置、又はパーソナルコンピュータ等を介して再
生され、有線又は無線接続によってロボット装置1に伝
送されて読み込まれる。また、ロボット装置1は、半導
体メモリ、又はICカード等の小型化された記憶媒体の
ドライブ装置を備える場合、これら記憶媒体から制御プ
ログラムを直接読み込むこともできる。
These control programs are reproduced via a dedicated read driver device, a personal computer or the like, transmitted to the robot device 1 by a wired or wireless connection, and read. Further, when the robot device 1 includes a drive device for a miniaturized storage medium such as a semiconductor memory or an IC card, the control program can be directly read from the storage medium.

【0198】[0198]

【発明の効果】以上詳細に説明したように本発明に係る
位置認識方法は、所定の環境内を移動する移動体の位置
を上記所定の環境に対応する環境地図上の位置として認
識する位置認識方法であって、上記環境地図は所定の大
きさのグリッドにより仕切られ、上記移動体の移動に伴
い、移動範囲が上記グリッド内の場合は上記環境地図を
保持し、移動範囲が上記グリッドを越える場合は上記環
境地図を上記グリッド単位で移動させて更新するので、
移動体の移動範囲はグリッドを越えない場合は環境地図
の更新が不要となり、更新の際の計算量及びメモリコピ
ーコストを低減することができると共に、環境地図が所
定の大きさに仕切られたグリッドからなるため、データ
量を低減することができる。
As described in detail above, the position recognition method according to the present invention recognizes the position of a moving body moving in a predetermined environment as a position on the environment map corresponding to the predetermined environment. In the method, the environment map is partitioned by a grid of a predetermined size, and when the moving body moves, if the moving range is within the grid, the environment map is retained and the moving range exceeds the grid. In that case, since the above environment map is moved and updated in the above grid units,
If the moving range of the moving body does not exceed the grid, it is not necessary to update the environment map, the calculation amount and memory copy cost at the time of update can be reduced, and the environment map is divided into a grid of a predetermined size. Therefore, the amount of data can be reduced.

【0199】本発明に係るロボット装置は、供給された
入力情報に基づいて動作を行うロボット装置であって、
所定の環境内を移動する移動体の位置を上記所定の環境
に対応する環境地図上の位置として認識する位置認識装
置が搭載され、上記位置認識装置は、上記環境地図を記
憶する記憶手段と、上記移動体の移動に伴い、上記環境
地図を更新する地図更新手段とを有し、上記環境地図は
所定の大きさのグリッドにより仕切られ、上記地図更新
手段は、上記移動体の移動に伴い、移動範囲が上記グリ
ッド内の場合は上記環境地図を保持し、移動範囲が上記
グリッドを越える場合は上記環境地図を上記グリッド単
位で移動させるため、ロボットが移動した際の環境地図
更新の際、ロボット装置の移動範囲がグリッドを越えな
い場合は環境地図を更新しないため、ロボット装置にお
ける不要な演算量をなくし、ロボット装置にかかる負荷
を低減することができると共に、グリッド単位で環境地
図の情報を記憶するため、ロボット装置が保有するデー
タ量が削減できる。
The robot device according to the present invention is a robot device which operates based on the input information supplied,
A position recognizing device for recognizing the position of a moving body moving in a predetermined environment as a position on the environment map corresponding to the predetermined environment is mounted, and the position recognizing device includes a storage unit for storing the environment map, With the movement of the mobile body, it has a map update means for updating the environment map, the environment map is partitioned by a grid of a predetermined size, the map update means, with the movement of the mobile body, When the movement range is within the grid, the environment map is retained, and when the movement range exceeds the grid, the environment map is moved in units of the grid. Therefore, when updating the environment map when the robot moves, the robot Since the environment map is not updated when the movement range of the device does not exceed the grid, it is possible to eliminate unnecessary calculation amount in the robot device and reduce the load on the robot device. With wear, to store the information of the environment map grid units, it reduces the amount of data that the robot device's.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態におけるロボット装置の概
略を示すブロック図である。
FIG. 1 is a block diagram showing an outline of a robot apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態におけるロボット装置のソ
フトウェアの構成を示す模式図である。
FIG. 2 is a schematic diagram showing a software configuration of the robot apparatus according to the embodiment of the present invention.

【図3】本発明の実施の形態における位置認識装置(ロ
ボット装置)にて表示される環境地図を示す模式図であ
る。
FIG. 3 is a schematic diagram showing an environment map displayed by the position recognition device (robot device) according to the embodiment of the present invention.

【図4】(a),(b)及び(c),(d)は本発明の
実施の形態における位置認識装置の移動量に応じた環境
地図の更新方法を示す図であって、夫々環境地図を更新
しない場合及び環境地図を更新する場合の環境地図を示
す模式図である。
4 (a), (b), (c), and (d) are diagrams showing a method for updating an environment map according to a movement amount of a position recognition device according to an embodiment of the present invention. It is a schematic diagram which shows an environment map when not updating a map and when updating an environment map.

【図5】本発明の実施の形態における位置認識装置にお
ける環境地図更新の際の各移動量を示す模式図である。
FIG. 5 is a schematic diagram showing each movement amount when updating the environment map in the position recognition device in the embodiment of the present invention.

【図6】(a)及び(b)は、本発明の実施の形態にお
ける位置認識装置における姿勢方向の夫々更新前後の様
子を示す模式図である。
6 (a) and 6 (b) are schematic views showing states before and after updating the posture direction in the position recognition device according to the embodiment of the present invention.

【図7】本発明の実施の形態における位置認識装置にお
ける効果を説明する模式図である。
FIG. 7 is a schematic diagram illustrating effects of the position recognition device according to the embodiment of the present invention.

【図8】環境地図及び姿勢情報を表示した操作盤を示す
模式図である。
FIG. 8 is a schematic diagram showing an operation panel displaying an environment map and attitude information.

【図9】本発明の実施の形態におけるロボット装置のソ
フトウェアの動作を示すフローチャートである。
FIG. 9 is a flowchart showing an operation of software of the robot device according to the embodiment of the present invention.

【図10】同ソフトウェアに入力されるデータの流れを
示す模式図である。
FIG. 10 is a schematic diagram showing a flow of data input to the software.

【図11】平面抽出部PLEXに入力される視差画像の
生成を説明するための図である。
[Fig. 11] Fig. 11 is a diagram for describing generation of a parallax image input to the plane extraction unit PLEX.

【図12】平面抽出部PLEXが障害物を認識する処理
手順を示すフローチャートである。
FIG. 12 is a flowchart showing a processing procedure in which the plane extraction unit PLEX recognizes an obstacle.

【図13】平面検出部PLEXが検出する平面パラメー
タを示す図である。
FIG. 13 is a diagram showing plane parameters detected by a plane detector PLEX.

【図14】カメラ座標系から足底接地平面座標系への変
換処理を説明するための図である。
FIG. 14 is a diagram for explaining a conversion process from a camera coordinate system to a foot sole contact plane coordinate system.

【図15】平面抽出部PLEXにて抽出された平面上の
点を示す図である。
FIG. 15 is a diagram showing points on a plane extracted by a plane extraction unit PLEX.

【図16】ロボットビューから床面を抽出し、更に座標
変換して2次元(床平面)乗に障害物を表現したことを
示す図である。
FIG. 16 is a diagram showing that the floor surface is extracted from the robot view, and the coordinates are further converted to express an obstacle in a two-dimensional (floor plane) square.

【図17】ランドマークセンサCLSにおけるカラーラ
ンドマークを示す模式図である。
FIG. 17 is a schematic diagram showing a color landmark in a landmark sensor CLS.

【図18】ランドマークセンサCLSの構成を模式的に
示すブロック図である。
FIG. 18 is a block diagram schematically showing a configuration of a landmark sensor CLS.

【図19】マルコフ・ローカリゼーション部により求め
られた各グリッド上での自己位置確率密度分布を示す模
式図である。
FIG. 19 is a schematic diagram showing a self-position probability density distribution on each grid obtained by the Markov localization unit.

【図20】ランドマークセンサCLS340の動作を示
すフローチャートである。
FIG. 20 is a flowchart showing an operation of the landmark sensor CLS340.

【図21】障害物情報により生成された障害物地図上
に、現在位置から目的位置までの経路を示す模式図であ
る。
FIG. 21 is a schematic diagram showing a route from a current position to a destination position on an obstacle map generated by obstacle information.

【図22】経路計画アルゴリズムを示すフローチャート
である。
FIG. 22 is a flowchart showing a route planning algorithm.

【図23】本発明の実施の形態におけるロボット装置の
外観構成を示す斜視図である。
FIG. 23 is a perspective view showing an external configuration of a robot device according to an embodiment of the present invention.

【図24】同ロボット装置の自由度構成モデルを模式的
に示す図である。
FIG. 24 is a diagram schematically showing a degree-of-freedom configuration model of the robot apparatus.

【図25】同ロボット装置の回路構成を示すブロック図
である。
FIG. 25 is a block diagram showing a circuit configuration of the robot apparatus.

【図26】同ロボット装置のソフトウェア構成を示すブ
ロック図である。
FIG. 26 is a block diagram showing a software configuration of the robot apparatus.

【図27】同ロボット装置のソフトウェア構成における
ミドル・ウェア・レイヤの構成を示すブロック図であ
る。
FIG. 27 is a block diagram showing a configuration of a middle wear layer in the software configuration of the robot apparatus.

【図28】同ロボット装置のソフトウェア構成における
アプリケーション・レイヤの構成を示すブロック図であ
る。
FIG. 28 is a block diagram showing a configuration of an application layer in the software configuration of the robot apparatus.

【図29】アプリケーション・レイヤの行動モデルライ
ブラリの構成を示すブロック図である。
FIG. 29 is a block diagram showing a configuration of an application layer behavior model library.

【図30】同ロボット装置の行動決定のための情報とな
る有限確率オートマトンを説明する図である。
FIG. 30 is a diagram illustrating a finite probability automaton that is information for determining the action of the robot apparatus.

【図31】有限確率オートマトンの各ノードに用意され
た状態遷移表を示す図である。
FIG. 31 is a diagram showing a state transition table prepared in each node of the finite probability automaton.

【符号の説明】[Explanation of symbols]

1 ロボット装置、250 頭部ユニット、200R,
200L CCDカメラ、201R 右目画像、201
L 左目画像、202 カラー画像、203視差画像、
210 ステレオ画像処理装置、220 CPU、23
0 アクチュエータ、231 制御信号、240 セン
サ、241 センサデータ、260体幹部、300 ソ
フトウェア、310 キネマティックオドメトリKIN
E310、320 平面抽出部PLEX、330 障害
物グリッド算出部OG、340 ランドマーク位置検出
部CLS、350 絶対座標算出部LZ、360 行動
決定部SBL、400,500,510,600,61
0,700 環境地図、401,501,601,70
1 中心グリッド、402,502,602障害物グリ
ッド、403,503,506,513,603,70
3 ロボット装置、410 グリッド、404 情報、
900 操作盤
1 robot device, 250 head unit, 200R,
200L CCD camera, 201R right eye image, 201
L left eye image, 202 color image, 203 parallax image,
210 stereo image processing device, 220 CPU, 23
0 actuator, 231 control signal, 240 sensor, 241 sensor data, 260 trunk, 300 software, 310 kinematic odometry KIN
E310, 320 Plane extraction unit PLEX, 330 Obstacle grid calculation unit OG, 340 Landmark position detection unit CLS, 350 Absolute coordinate calculation unit LZ, 360 Action determination unit SBL, 400, 500, 510, 600, 61
0,700 environment map, 401,501,601,70
1 Center grid, 402, 502, 602 Obstacle grid, 403, 503, 506, 513, 603, 70
3 robot device, 410 grid, 404 information,
900 operation panel

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河本 献太 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 大久保 厚志 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 福地 正樹 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 (72)発明者 ステファン グットマン 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 3C007 AS36 CS08 KS11 KS12 KS18 KT03 KT11 MT14 WA03 WA13 WB16 WB21 5B050 AA10 BA07 BA17 EA05 EA07 EA13 5B057 AA05 CA12 CB12 CD02 CH01 DA07 DB02 DC08 5H301 AA01 AA10 BB14 CC03 CC06 DD01 DD06 DD17 GG09 GG29   ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Kenta Kawamoto             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation (72) Inventor Atsushi Okubo             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation (72) Inventor Masaki Fukuchi             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation (72) Inventor Stefan Goodman             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation F-term (reference) 3C007 AS36 CS08 KS11 KS12 KS18                       KT03 KT11 MT14 WA03 WA13                       WB16 WB21                 5B050 AA10 BA07 BA17 EA05 EA07                       EA13                 5B057 AA05 CA12 CB12 CD02 CH01                       DA07 DB02 DC08                 5H301 AA01 AA10 BB14 CC03 CC06                       DD01 DD06 DD17 GG09 GG29

Claims (25)

【特許請求の範囲】[Claims] 【請求項1】 所定の環境内を移動する移動体の位置を
上記所定の環境に対応する環境地図上の位置として認識
する位置認識方法であって、 上記環境地図は所定の大きさのグリッドにより仕切ら
れ、 上記移動体の移動に伴い、移動範囲が上記グリッド内の
場合は上記環境地図を保持し、移動範囲が上記グリッド
を越える場合は上記環境地図を上記グリッド単位で移動
させて更新することを特徴とする位置認識方法。
1. A position recognition method for recognizing a position of a moving body moving in a predetermined environment as a position on an environment map corresponding to the predetermined environment, wherein the environment map is a grid of a predetermined size. If the moving area is partitioned and the moving range is within the grid due to the movement of the moving body, the environment map is retained, and if the moving range exceeds the grid, the environment map is moved by the grid unit and updated. A position recognition method characterized by.
【請求項2】 上記環境地図の中心グリッド内に移動体
が位置するように上記環境地図を制御することを特徴と
する請求項1記載の位置認識方法。
2. The position recognition method according to claim 1, wherein the environment map is controlled so that the moving body is located within a central grid of the environment map.
【請求項3】 上記移動体の向きは上記環境地図を固定
して該環境地図上での方向として認識することを特徴と
する請求項1記載の位置認識方法。
3. The position recognizing method according to claim 1, wherein the direction of the moving body is fixed as the environment map and is recognized as a direction on the environment map.
【請求項4】 上記環境地図及び/又は上記グリッドの
大きさを変更する工程を有することを特徴とする請求項
1記載の位置認識方法。
4. The position recognition method according to claim 1, further comprising the step of changing the size of the environment map and / or the grid.
【請求項5】 上記移動範囲は、移動前後の差分移動量
であることを特徴とする請求項1記載の位置認識方法。
5. The position recognition method according to claim 1, wherein the movement range is a difference movement amount before and after movement.
【請求項6】 操作盤上に上記環境地図を出力する工程
を有することを特徴とする請求項1記載の位置認識方
法。
6. The position recognition method according to claim 1, further comprising the step of outputting the environment map on an operation panel.
【請求項7】 上記移動体の移動に伴い、上記移動体の
向きが変更した場合はその移動前後の差分移動角により
上記環境地図上での方向を認識することを特徴とする請
求項3記載の位置認識方法。
7. The method according to claim 3, wherein when the direction of the moving body is changed along with the movement of the moving body, the direction on the environment map is recognized based on a difference moving angle before and after the movement. Position recognition method.
【請求項8】 所定の環境内を移動する移動体の位置を
上記所定の環境に対応する環境地図上の位置として認識
する位置認識装置であって、 上記環境地図を記憶する記憶手段と、 上記移動体の移動に伴い、上記環境地図を更新する地図
更新手段とを有し、 上記環境地図は所定の大きさのグリッドにより仕切ら
れ、 上記地図更新手段は、上記移動体の移動に伴い、移動範
囲が上記グリッド内の場合は上記環境地図を保持し、移
動範囲が上記グリッドを越える場合は上記環境地図を上
記グリッド単位で移動させて更新するものであることを
特徴とする位置認識装置。
8. A position recognition device for recognizing the position of a moving body moving in a predetermined environment as a position on the environment map corresponding to the predetermined environment, and a storage means for storing the environment map, A map updating means for updating the environment map according to the movement of the mobile body, wherein the environment map is partitioned by a grid of a predetermined size, and the map updating means moves along with the movement of the mobile body. A position recognition device, characterized in that when the range is within the grid, the environment map is retained, and when the movement range exceeds the grid, the environment map is moved and updated in units of the grid.
【請求項9】 上記地図更新手段は、上記環境地図の中
心グリッド内に移動体が位置するように上記環境地図を
更新することを特徴とする請求項8記載の位置認識装
置。
9. The position recognition device according to claim 8, wherein the map updating means updates the environment map so that the moving body is located within a central grid of the environment map.
【請求項10】 上記記憶手段は、上記移動体の向きを
上記環境地図を固定して該環境地図上での方向として認
識した姿勢情報を記憶することを特徴とする請求項8記
載の位置認識装置。
10. The position recognition according to claim 8, wherein the storage unit stores posture information in which the orientation of the moving body is fixed as the environment map and is recognized as a direction on the environment map. apparatus.
【請求項11】 上記環境地図及び/又は上記グリッド
の大きさを変更する変更手段を有することを特徴とする
請求項1記載の位置認識装置。
11. The position recognition device according to claim 1, further comprising changing means for changing a size of the environment map and / or the grid.
【請求項12】 上記移動範囲は、移動前後の差分移動
量であることを特徴とする請求項8記載の位置認識装
置。
12. The position recognition device according to claim 8, wherein the movement range is a difference movement amount before and after movement.
【請求項13】 操作盤上に上記環境地図を出力する出
力手段を有することを特徴とする請求項8記載の位置認
識装置。
13. The position recognition device according to claim 8, further comprising output means for outputting the environment map on an operation panel.
【請求項14】 上記移動体の移動に伴い、上記移動体
の向きが変更した場合はその移動前後の差分移動角が入
力されこの差分移動角により上記姿勢情報を更新する姿
勢情報更新手段を有することを特徴とする請求項10記
載の位置認識装置。
14. When the direction of the moving body is changed as the moving body moves, a difference moving angle before and after the movement is input, and the posture information updating means updates the posture information based on the difference moving angle. The position recognition device according to claim 10, wherein
【請求項15】 供給された入力情報に基づいて動作を
行うロボット装置であって、 所定の環境内を移動する移動体の位置を上記所定の環境
に対応する環境地図上の位置として認識する位置認識装
置を搭載し、 上記位置認識装置は、上記環境地図を記憶する記憶手段
と、上記移動体の移動に伴い上記環境地図を更新する地
図更新手段とを有し、 上記環境地図は、所定の大きさのグリッドにより仕切ら
れ、 上記地図更新手段は、上記移動体の移動に伴い、移動範
囲が上記グリッド内の場合は上記環境地図を保持し、移
動範囲が上記グリッドを越える場合は上記環境地図を上
記グリッド単位で移動させて更新するものであることを
特徴とするロボット装置。
15. A robot device that operates based on supplied input information, and a position for recognizing the position of a moving body moving in a predetermined environment as a position on an environment map corresponding to the predetermined environment. A recognition device is mounted, and the position recognition device has a storage unit that stores the environment map, and a map updating unit that updates the environment map with the movement of the moving body. Partitioned by a grid of a size, the map updating means holds the environment map when the moving range is within the grid as the moving body moves, and the environment map when the moving range exceeds the grid. A robot apparatus for moving and updating in units of the grid.
【請求項16】 上記地図更新手段は、上記環境地図の
中心グリッド内に移動体が位置するように上記環境地図
を更新することを特徴とする請求項15記載のロボット
装置。
16. The robot apparatus according to claim 15, wherein the map updating means updates the environment map so that the moving body is located within a central grid of the environment map.
【請求項17】 上記記憶手段は、上記移動体の向きを
上記環境地図を固定して該環境地図上での方向として認
識した姿勢情報を記憶することを特徴とする請求項15
記載のロボット装置。
17. The storage means stores posture information in which the direction of the moving body is recognized as a direction on the environment map by fixing the environment map.
Robot device described.
【請求項18】 上記環境地図及び/又は上記グリッド
の大きさを変更する変更手段を有することを特徴とする
請求項15記載のロボット装置。
18. The robot apparatus according to claim 15, further comprising changing means for changing the size of the environment map and / or the grid.
【請求項19】 上記移動範囲は、移動前後の差分移動
量であることを特徴とする請求項15記載のロボット装
置。
19. The robot apparatus according to claim 15, wherein the movement range is a difference movement amount before and after movement.
【請求項20】 操作盤上に上記環境地図を出力する出
力手段を有することを特徴とする請求項15記載のロボ
ット装置。
20. The robot apparatus according to claim 15, further comprising output means for outputting the environment map on an operation panel.
【請求項21】 可動脚ユニットを有し、上記地図更新
手段は上記可動脚ユニットが移動する毎にその移動量が
入力されることを特徴とする請求項15記載のロボット
装置。
21. The robot apparatus according to claim 15, further comprising a movable leg unit, wherein the map updating means inputs a movement amount each time the movable leg unit moves.
【請求項22】 左右2つの脚部ユニットからなる可動
脚ユニットを有し、上記地図更新手段は、上記脚部ユニ
ットの何れか1つが移動する毎にその移動量が入力され
ることを特徴とする請求項15記載のロボット装置。
22. A movable leg unit having two left and right leg units is provided, and the map updating means inputs a movement amount each time any one of the leg units moves. The robot apparatus according to claim 15.
【請求項23】 上記移動体の移動に伴い、上記移動体
の向きが変更した場合はその移動前後の差分移動角が入
力されこの差分移動角により上記姿勢情報を更新する姿
勢情報更新手段を有することを特徴とする請求項17記
載のロボット装置。
23. When the direction of the moving body is changed along with the movement of the moving body, a difference movement angle before and after the movement is input, and the posture information updating means updates the posture information based on the difference movement angle. The robot apparatus according to claim 17, wherein:
【請求項24】 所定の環境内を移動する移動体の位置
を上記所定の環境に対応する環境地図上の位置として認
識する動作をコンピュータに実行させるためのプログラ
ムであって、 上記環境地図は所定の大きさのグリッドにより仕切ら
れ、 上記移動体の移動に伴い、移動範囲が上記グリッド内の
場合は上記環境地図を保持し、移動範囲が上記グリッド
を越える場合は上記環境地図を上記グリッド単位で移動
させて更新することを特徴とするプログラム。
24. A program for causing a computer to execute an operation of recognizing a position of a moving body moving in a predetermined environment as a position on an environment map corresponding to the predetermined environment, wherein the environment map is a predetermined one. When the moving range is within the grid, the environment map is retained when the moving body moves, and when the moving range exceeds the grid, the environmental map is divided by the grid unit. A program characterized by moving and updating.
【請求項25】 所定の環境内を移動する移動体の位置
を上記所定の環境に対応する環境地図上の位置として認
識する動作をコンピュータに実行させるためのプログラ
ムを記録したコンピュータ読み取り可能な記録媒体であ
って、 上記環境地図は所定の大きさのグリッドにより仕切ら
れ、 上記移動体の移動に伴い、移動範囲が上記グリッド内の
場合は上記環境地図を保持し、移動範囲が上記グリッド
を越える場合は上記環境地図を上記グリッド単位で移動
させて更新することを特徴とするプログラムを記録した
記録媒体。
25. A computer-readable recording medium recording a program for causing a computer to execute an operation of recognizing a position of a moving body moving in a predetermined environment as a position on an environment map corresponding to the predetermined environment. The environment map is partitioned by a grid of a predetermined size, and when the moving body moves, the environment map is retained when the moving range is within the grid, and the moving range exceeds the grid. Is a recording medium having a program recorded thereon, which is characterized in that the environment map is moved and updated in units of the grid.
JP2002075145A 2002-03-18 2002-03-18 Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device Withdrawn JP2003266349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002075145A JP2003266349A (en) 2002-03-18 2002-03-18 Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002075145A JP2003266349A (en) 2002-03-18 2002-03-18 Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device

Publications (1)

Publication Number Publication Date
JP2003266349A true JP2003266349A (en) 2003-09-24

Family

ID=29204332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002075145A Withdrawn JP2003266349A (en) 2002-03-18 2002-03-18 Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device

Country Status (1)

Country Link
JP (1) JP2003266349A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326944A (en) * 2004-05-12 2005-11-24 Hitachi Ltd Apparatus and method for generating map image by laser measurement
JP2006000954A (en) * 2004-06-16 2006-01-05 Sony Corp Robot apparatus control system and control method
JP2006163558A (en) * 2004-12-03 2006-06-22 Yaskawa Electric Corp Mobile trolley control device
JP2008197884A (en) * 2007-02-13 2008-08-28 Toyota Motor Corp Environmental map generation method and mobile robot
KR100916977B1 (en) * 2007-07-02 2009-09-14 한국전자통신연구원 Hierarchical Control Method According to Function of Environment Map for Moving Objects
JP2009223628A (en) * 2008-03-17 2009-10-01 Toyota Motor Corp Mobile robot and method for generating environment map
JP2010127646A (en) * 2008-11-25 2010-06-10 Toshiba Corp Device, method, and program for selecting route
US8239084B2 (en) 2006-09-11 2012-08-07 Hitachi, Ltd. Moving device
CN103119627A (en) * 2010-09-20 2013-05-22 高通股份有限公司 An adaptable framework for cloud assisted augmented reality
US8593451B2 (en) 2010-02-09 2013-11-26 Samsung Electronics Co., Ltd. Apparatus and method for generating octree based 3D map
US9207678B2 (en) 2013-05-07 2015-12-08 Hanwha Techwin Co., Ltd. Method and apparatus for constructing map for mobile robot
CN106541404A (en) * 2016-11-03 2017-03-29 四川阿泰因机器人智能装备有限公司 A kind of Robot visual location air navigation aid
KR101912001B1 (en) 2012-01-12 2018-10-25 인터내셔널 비지네스 머신즈 코포레이션 Method and apparatus for navigating a plurality of robots
JP2019169125A (en) * 2018-02-23 2019-10-03 タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited Context based path planning for vector navigation in hexagonal spatial maps
WO2020111012A1 (en) 2018-11-30 2020-06-04 Sony Corporation Controller, control method, and program
CN112557076A (en) * 2020-11-29 2021-03-26 中国航空工业集团公司洛阳电光设备研究所 Automatic inspection test comparison system and method for high-low temperature products to be tested
WO2021135248A1 (en) * 2019-12-24 2021-07-08 苏州科瓴精密机械科技有限公司 Traversal method and system, robot, and readable storage medium
JP2021128690A (en) * 2020-02-17 2021-09-02 トーヨーカネツ株式会社 AGV pathfinding server, AGV pathfinding system, AGV pathfinding method, program, and recording medium
WO2021177540A1 (en) * 2020-03-04 2021-09-10 엘지전자 주식회사 Mobile robot and control method therefor
JP2024501191A (en) * 2020-12-30 2024-01-11 ベリティ アーゲー System and method for estimating pose of a localization device using reflective landmarks and other features
US12301779B2 (en) 2020-01-27 2025-05-13 Sony Group Corporation Imaging control device and imaging control method
US12358139B2 (en) 2021-05-19 2025-07-15 Fanuc Corporation Robot system
JP7789782B2 (en) 2020-12-30 2025-12-22 ベリティ アーゲー Systems and methods for estimating the pose of a location device using reflective landmarks and other features - Patents.com

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326944A (en) * 2004-05-12 2005-11-24 Hitachi Ltd Apparatus and method for generating map image by laser measurement
JP2006000954A (en) * 2004-06-16 2006-01-05 Sony Corp Robot apparatus control system and control method
JP2006163558A (en) * 2004-12-03 2006-06-22 Yaskawa Electric Corp Mobile trolley control device
US8239084B2 (en) 2006-09-11 2012-08-07 Hitachi, Ltd. Moving device
JP2008197884A (en) * 2007-02-13 2008-08-28 Toyota Motor Corp Environmental map generation method and mobile robot
US7987021B2 (en) 2007-02-13 2011-07-26 Toyota Jidosha Kabushiki Kaisha Environment map generating method and mobile robot
KR100916977B1 (en) * 2007-07-02 2009-09-14 한국전자통신연구원 Hierarchical Control Method According to Function of Environment Map for Moving Objects
JP2009223628A (en) * 2008-03-17 2009-10-01 Toyota Motor Corp Mobile robot and method for generating environment map
JP2010127646A (en) * 2008-11-25 2010-06-10 Toshiba Corp Device, method, and program for selecting route
US8593451B2 (en) 2010-02-09 2013-11-26 Samsung Electronics Co., Ltd. Apparatus and method for generating octree based 3D map
US9633447B2 (en) 2010-09-20 2017-04-25 Qualcomm Incorporated Adaptable framework for cloud assisted augmented reality
JP2013541096A (en) * 2010-09-20 2013-11-07 クゥアルコム・インコーポレイテッド An adaptive framework for cloud-assisted augmented reality
JP2015144474A (en) * 2010-09-20 2015-08-06 クゥアルコム・インコーポレイテッドQualcomm Incorporated An adaptive framework for cloud-assisted augmented reality
KR101548834B1 (en) 2010-09-20 2015-08-31 퀄컴 인코포레이티드 An adaptable framework for cloud assisted augmented reality
US9495760B2 (en) 2010-09-20 2016-11-15 Qualcomm Incorporated Adaptable framework for cloud assisted augmented reality
CN103119627B (en) * 2010-09-20 2017-03-08 高通股份有限公司 Adaptability framework for cloud assist type Augmented Reality
CN103119627A (en) * 2010-09-20 2013-05-22 高通股份有限公司 An adaptable framework for cloud assisted augmented reality
KR101912001B1 (en) 2012-01-12 2018-10-25 인터내셔널 비지네스 머신즈 코포레이션 Method and apparatus for navigating a plurality of robots
US9207678B2 (en) 2013-05-07 2015-12-08 Hanwha Techwin Co., Ltd. Method and apparatus for constructing map for mobile robot
CN106541404A (en) * 2016-11-03 2017-03-29 四川阿泰因机器人智能装备有限公司 A kind of Robot visual location air navigation aid
JP2019169125A (en) * 2018-02-23 2019-10-03 タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited Context based path planning for vector navigation in hexagonal spatial maps
US11797023B2 (en) 2018-11-30 2023-10-24 Sony Group Corporation Controller, control method, and program
WO2020111012A1 (en) 2018-11-30 2020-06-04 Sony Corporation Controller, control method, and program
WO2021135248A1 (en) * 2019-12-24 2021-07-08 苏州科瓴精密机械科技有限公司 Traversal method and system, robot, and readable storage medium
US12332650B2 (en) 2019-12-24 2025-06-17 Suzhou Cleva Precision Machinery AND Technology Co., Ltd. Traversal method and system, robot, and readable storage medium
US12301779B2 (en) 2020-01-27 2025-05-13 Sony Group Corporation Imaging control device and imaging control method
JP7484042B2 (en) 2020-02-17 2024-05-16 トーヨーカネツ株式会社 AGV route search server, AGV route search system, AGV route search method, program, and recording medium
JP2021128768A (en) * 2020-02-17 2021-09-02 トーヨーカネツ株式会社 AGV pathfinding server, AGV pathfinding system, AGV pathfinding method, program, and recording medium
JP2021128690A (en) * 2020-02-17 2021-09-02 トーヨーカネツ株式会社 AGV pathfinding server, AGV pathfinding system, AGV pathfinding method, program, and recording medium
KR20210112104A (en) * 2020-03-04 2021-09-14 엘지전자 주식회사 Moving robot and method for controlling thereof
KR102361982B1 (en) * 2020-03-04 2022-02-11 엘지전자 주식회사 Moving robot and method for controlling thereof
WO2021177540A1 (en) * 2020-03-04 2021-09-10 엘지전자 주식회사 Mobile robot and control method therefor
CN112557076A (en) * 2020-11-29 2021-03-26 中国航空工业集团公司洛阳电光设备研究所 Automatic inspection test comparison system and method for high-low temperature products to be tested
JP2024501191A (en) * 2020-12-30 2024-01-11 ベリティ アーゲー System and method for estimating pose of a localization device using reflective landmarks and other features
JP7789782B2 (en) 2020-12-30 2025-12-22 ベリティ アーゲー Systems and methods for estimating the pose of a location device using reflective landmarks and other features - Patents.com
US12358139B2 (en) 2021-05-19 2025-07-15 Fanuc Corporation Robot system

Similar Documents

Publication Publication Date Title
JP3945279B2 (en) Obstacle recognition apparatus, obstacle recognition method, obstacle recognition program, and mobile robot apparatus
JP2003266345A (en) Route planning device, route planning method, route planning program, and mobile robot device
US12131529B2 (en) Virtual teach and repeat mobile manipulation system
JP2003266349A (en) Position recognition method, device therefor, program therefor, recording medium therefor, and robot device equipped with position recognition device
EP1541295A1 (en) Environment identification device, environment identification method, and robot device
JP3994950B2 (en) Environment recognition apparatus and method, path planning apparatus and method, and robot apparatus
US20040230340A1 (en) Behavior controlling apparatus, behavior control method, behavior control program and mobile robot apparatus
JP4609584B2 (en) Robot device, face recognition method, and face recognition device
JP4016180B2 (en) Planar extraction method, apparatus thereof, program thereof, recording medium thereof, and imaging apparatus
JP4032793B2 (en) Charging system, charging control method, robot apparatus, charging control program, and recording medium
JP2004110802A (en) Environment identification device, environment identification method, program and recording medium, and robot device
JP3855812B2 (en) Distance measuring method, apparatus thereof, program thereof, recording medium thereof, and robot apparatus mounted with distance measuring apparatus
JP3714268B2 (en) Robot device
Brooks et al. Sensing and manipulating built-for-human environments
US12315301B2 (en) Engagement detection and attention estimation for human-robot interaction
JP4535096B2 (en) Planar extraction method, apparatus thereof, program thereof, recording medium thereof, and imaging apparatus
Kemp et al. Humanoids
Kim et al. Providing services using network-based humanoids in a home environment
Yam-Viramontes et al. Implementation of a natural user interface to command a drone
JP2003271958A (en) Image processing method, device thereof, program thereof, recording medium thereof, and robot device mounted with image processing device
Jayawardana et al. Train a robot to climb staircase using vision-base system
JP2005271137A (en) Robot apparatus and control method thereof
CN120363199A (en) Method and device for planning movement of mechanical arm, storage medium and computer program product
JP2004299006A (en) Robot apparatus and method of presenting face recognition status by robot apparatus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050607