JP2011227807A - Route search system, route search method, and mobile body - Google Patents
Route search system, route search method, and mobile body Download PDFInfo
- Publication number
- JP2011227807A JP2011227807A JP2010098606A JP2010098606A JP2011227807A JP 2011227807 A JP2011227807 A JP 2011227807A JP 2010098606 A JP2010098606 A JP 2010098606A JP 2010098606 A JP2010098606 A JP 2010098606A JP 2011227807 A JP2011227807 A JP 2011227807A
- Authority
- JP
- Japan
- Prior art keywords
- grid
- search
- distance
- potential field
- potential
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 32
- 238000004364 calculation method Methods 0.000 claims description 47
- 238000010586 diagram Methods 0.000 description 11
- 230000007423 decrease Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Navigation (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
本発明は、経路探索システム、経路探索方法、及び移動体に関する。 The present invention relates to a route search system, a route search method, and a moving object.
グリッド空間において、最短経路探索を行う技術が提案されている。このような経路探索技術が、特許文献1乃至5に開示されている。例えば特許文献1に開示された移動体の経路生成装置では、移動体や障害物の情報を用いて移動領域内のグリッドマップを生成し、それぞれの相対位置関係から引力ポテンシャル、斥力ポテンシャルを計算する。そして、これらポテンシャルの合成ポテンシャルに基づきマップ内での経路探索を行い、ローカルミニマムを判定して経路を生成する。
A technique for searching for the shortest path in a grid space has been proposed. Such route search techniques are disclosed in
しかしながら、グリッド空間において経路探索を行う技術では、理想的な最短経路とは大きく異なる経路が最短経路として生成されることがあるという問題があった。 However, the technique for searching for a route in the grid space has a problem that a route that is significantly different from the ideal shortest route may be generated as the shortest route.
この問題点を説明するため、図10(A)を参照して、グリッド空間における一般的な経路探索手法について説明する。図において、移動始点のグリッドSから、移動終点のグリッドGへと向けて、経路を探索する。なお、図において左下方向への斜線により示すグリッドは、障害物などにより移動が禁止されるグリッドを示す。 In order to explain this problem, a general route search method in the grid space will be described with reference to FIG. In the figure, a route is searched from the grid S at the movement start point toward the grid G at the movement end point. In the figure, a grid indicated by a diagonal line in the lower left direction indicates a grid in which movement is prohibited due to an obstacle or the like.
ここでの経路探索では、前後左右のグリッド及び斜め方向に位置する周囲のグリッドを次に選択可能なグリッドとする。そして、現在のグリッドから周囲の各グリッドまでのグリッド間距離に基づいて、移動始点から移動終点へと至る経路の経路長が最短となるように、当該経路を構成するグリッドを順次決定していく。このため、図10(A)の例では、前後左右のグリッド間の距離と斜め方向に位置するグリッド間の距離をそれぞれ例えば5及び7とした場合、グリッドSから探索を開始して、白抜き矢印により示す方向のグリッドが、経路を構成するグリッドとして順次決定されていく。この際、探索される経路の経路長が、グリッド間距離の総和として表現される。 In this route search, the front / rear / right / left grid and the surrounding grid located in the diagonal direction are set as grids that can be selected next. Based on the distance between the grids from the current grid to the surrounding grids, the grids constituting the route are sequentially determined so that the route length from the movement start point to the movement end point is the shortest. . For this reason, in the example of FIG. 10A, when the distance between the front and rear, left and right grids and the distance between the diagonally located grids are set to 5 and 7, for example, the search is started from the grid S, The grid in the direction indicated by the arrow is sequentially determined as a grid constituting the route. At this time, the route length of the searched route is expressed as the sum of the distances between the grids.
これに対して、グリッドSからグリッドGへと至る最適な経路の例を図10(C)に示す。すなわち、グリッドSからグリッドGへと至る理想的な経路は、図10(C)に示すような直線になるが、このような最適な経路に対して図10(A)に示した経路は大きく異なったものになる。 On the other hand, an example of the optimum route from the grid S to the grid G is shown in FIG. That is, the ideal route from the grid S to the grid G is a straight line as shown in FIG. 10C, but the route shown in FIG. It will be different.
これは、経路探索の計算過程で、前後左右及び斜めに位置するグリッドに関して、グリッド間の距離の総和として経路長を表現しているために、経路長の距離分解能がグリッド間距離まで粗くなってしまい、その結果、理想的な経路とは大きく異なる経路が生成されてしまうためである。換言すると、グリッド単位で離散化しているために、経路長の計算数値がグリッドごとに丸め込まれてしまい、グリッド空間の離散誤差が蓄積することで、局所的には最適であるが、全体最適とはならない経路が生成されてしまうためである。 This is because the route length is expressed as the sum of the distances between the grids in the calculation process of the route search in the front, rear, left, right, and diagonal positions, so that the distance resolution of the route length becomes rough to the distance between the grids. As a result, a route significantly different from the ideal route is generated. In other words, because it is discretized in units of grids, the calculated numerical value of the path length is rounded for each grid, and accumulation of discrete errors in the grid space is optimal locally, but overall optimization This is because a route that should not be generated is generated.
従って、本発明は、上述した課題を解決して、理想的な最短経路により近い経路を生成可能な経路探索システム、経路探索方法、及び移動体を提供することを目的とする。 Therefore, an object of the present invention is to provide a route search system, a route search method, and a mobile body that can solve the above-described problems and can generate a route closer to an ideal shortest route.
本発明に係る第一の態様の経路探索システムは、移動領域を、各グリッドを区切る周囲の枠をグリッドのエッジとする、複数の格子状のグリッドに分割し、移動始点と移動終点の間を結ぶグリッド系列を探索する経路探索システムであって、障害物が占有し、移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶する地図情報記憶部と、前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成する距離ポテンシャル生成部と、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択する探索グリッド決定部と、前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算する局所ポテンシャル場計算部と、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するグリッド探索方向決定部と、を備えるものである。 The route search system according to the first aspect of the present invention divides a moving region into a plurality of grid-like grids, with the surrounding frame separating each grid as an edge of the grid, and between the movement start point and the movement end point. A route search system for searching a grid sequence to be connected, a map information storage unit storing a grid map in which an entry prohibition grid in which an obstacle occupies and a moving body is prohibited is set, and from the movement start point A distance potential generation unit that generates a potential value according to a distance and a potential value according to a distance from the obstacle to generate a distance potential value of each grid of the grid map, and a previous search target grid The next search grid to which the determined grid search vector enters next is determined as the next search grid to be searched next, and the previous grid A search grid determining unit that selects the first and second grids adjacent to the next search grid as local potential field calculation grids for the next search grid according to the direction of the grid search vector; and the next search grid A local potential field having vertices based on a relative change in the distance potential value of the local potential field calculation grid with respect to a distance potential value of the local potential field, and a local potential field calculation unit for calculating a local potential field for the next search grid; The point on the edge when the grid search vector determined in the previous search target grid enters the next search grid is the base of the search branch, and the direction in which the potential value of the local potential field has the steepest gradient, Extend the search branch in the direction of descending the gradient, The direction of the search branches extended, in which and a grid search direction determination section for determining a grid search vector in the next search grid.
このように次探索グリッドについて、局所ポテンシャル場を計算し、計算した局所ポテンシャル場での勾配に応じて次探索グリッドのエッジ間の探索枝を求め、その探索枝の方向をグリッド探索ベクトルとして決定し、そのグリッド探索ベクトルから、さらに続く次の探索対象グリッドを探索していくことで、従来手法と比較して次探索グリッドの決定をより詳細に行うことができるため、この結果、理想的な最短経路により近い経路を生成することができる。例えば、図10に示した例では、従来技術による探索結果が図10(A)に示されるのに対して、本発明にかかる経路探索システムによる探索結果は図10(B)に示される。 Thus, the local potential field is calculated for the next search grid, the search branch between the edges of the next search grid is obtained according to the gradient in the calculated local potential field, and the direction of the search branch is determined as the grid search vector. By searching the next search target grid from the grid search vector, the next search grid can be determined in more detail compared to the conventional method. A route closer to the route can be generated. For example, in the example shown in FIG. 10, the search result by the prior art is shown in FIG. 10A, whereas the search result by the route search system according to the present invention is shown in FIG.
また、前記局所ポテンシャル場計算部は、前記局所ポテンシャル場として、前記次探索グリッドの距離ポテンシャル値の二乗と、前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の二乗と、の差に応じて定まる頂点を持つ、円錐ポテンシャル場を計算するものとしてもよい。 Further, the local potential field calculation unit, as the local potential field, a vertex determined according to the difference between the square of the distance potential value of the next search grid and the square of the distance potential value of the grid for local potential field calculation It is also possible to calculate a conical potential field having
さらにまた、前記グリッド探索方向決定部は、前記探索枝の前記基点から前記局所ポテンシャル場の前記頂点へと向かう直線上の点であって、前記基点が位置するエッジとは異なる前記次探索グリッドの他のエッジ上に位置する点を、前記探索枝の端点として求め、前記探索枝の前記基点から前記端点へと向かう方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するものとしてもよい。 Furthermore, the grid search direction determination unit is a point on a straight line from the base point of the search branch to the vertex of the local potential field, and is different from the edge where the base point is located. A point located on another edge may be obtained as an end point of the search branch, and a direction from the base point of the search branch toward the end point may be determined as a grid search vector in the next search grid.
また、前記距離ポテンシャル生成部は、隣接グリッド間の移動コストとして所定の値を定め、前記移動始点から目標グリッドへと至るグリッド系列を探索して、探索した当該グリッド系列についての前記移動コストの総和を求め、当該総和値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記目標グリッドの距離ポテンシャル値を算出するものとしてもよい。 Further, the distance potential generation unit determines a predetermined value as a movement cost between adjacent grids, searches for a grid series from the movement start point to a target grid, and sums the movement costs for the searched grid series. The total potential value and the potential value corresponding to the distance from the obstacle may be added to calculate the distance potential value of the target grid.
本発明に係る第二の態様の経路探索方法は、移動領域内の移動始点から移動終点へと移動する移動体の経路探索方法であって、前記移動領域を、各グリッドを区切る周囲の枠をグリッドのエッジとする、複数の格子状のグリッドに分割したグリッドマップを用いて表して、障害物が占有し、前記移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶するステップと、前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成するステップと、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択するステップと、決定した前記次探索グリッドと、選択した前記局所ポテンシャル場計算用グリッドについて、前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算するステップと、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、計算した前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するステップと、前記グリッド探索ベクトルが決定されたグリッド系列を、前記移動始点と移動終点の間を結ぶ経路として出力するステップと、を有するものである。これにより、理想的な最短経路により近い経路を生成することができる。 A route search method according to a second aspect of the present invention is a route search method for a moving body that moves from a movement start point to a movement end point in a movement region, and the movement region is divided into surrounding frames that divide each grid. A grid map that is represented by a grid map divided into a plurality of grid-like grids as an edge of the grid and in which an entry prohibition grid that is occupied by an obstacle and prohibited from entering the moving body is set is stored. Adding a potential value according to a distance from the moving start point and a potential value according to a distance from the obstacle, and generating a distance potential value of each grid of the grid map; The next search grid to be searched next is determined as the next grid to which the grid search vector determined in the previous search target grid enters next. And selecting the first and second grids adjacent to the next search grid as local potential field calculation grids for the next search grid according to the direction of the grid search vector, and the determined next For the search grid and the selected local potential field calculation grid, a local potential field having vertices based on a relative change in the distance potential value of the local potential field calculation grid with respect to the distance potential value of the next search grid, Calculating the local potential field for the next search grid, and calculating the point on the edge when the grid search vector determined in the previous search target grid enters the next search grid as a base point of the search branch Potency of local potential field Extending the search branch in a direction in which the gradient value has the steepest gradient and descending the gradient, and determining the direction of the extended search branch as a grid search vector in the next search grid; and Outputting a grid sequence for which a search vector is determined as a path connecting the movement start point and the movement end point. As a result, a route closer to the ideal shortest route can be generated.
本発明に係る第三の態様の移動体は、移動領域を、各グリッドを区切る周囲の枠をグリッドのエッジとする、複数の格子状のグリッドに分割し、移動始点と移動終点の間を結ぶグリッド系列を経路として探索し、当該経路に従って移動する移動体であって、障害物が占有し、移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶する地図情報記憶部と、前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成する距離ポテンシャル生成部と、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択する探索グリッド決定部と、前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算する局所ポテンシャル場計算部と、前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するグリッド探索方向決定部と、を備えるものである。これにより、理想的な最短経路により近い経路を生成することができる。 The moving body according to the third aspect of the present invention divides the moving region into a plurality of grid-like grids having the surrounding frames dividing each grid as the edges of the grid, and connects between the moving start point and the moving end point. A map information storage unit that stores a grid map that searches for a grid series as a route and moves according to the route, and is configured with an entry prohibition grid in which an obstacle occupies and entry of the mobile object is prohibited Adding a potential value according to the distance from the moving start point and a potential value according to the distance from the obstacle, and generating a distance potential generating unit as a distance potential value of each grid of the grid map; The next adjacent search grid that the grid search vector determined in the previous search target grid enters next is determined as the next search target grid. And a search grid determining unit that selects the first and second grids adjacent to the next search grid as local potential field calculation grids for the next search grid according to the direction of the grid search vector. A local potential field having a vertex based on a relative change in the distance potential value of the local potential field calculation grid with respect to the distance potential value of the next search grid, the local potential field calculating a local potential field for the next search grid A direction in which the potential value of the local potential field has the steepest gradient with a point on the edge when the grid search vector determined in the previous search grid enters the next search grid as a search branch base point And the search in the direction of descending the gradient The extended, the direction of the search branches extended the one in which and a grid search direction determination section for determining a grid search vector in the next search grid. As a result, a route closer to the ideal shortest route can be generated.
本発明によれば、理想的な最短経路により近い経路を生成可能な経路探索システム、経路探索方法、及び移動体を提供することができる。 According to the present invention, it is possible to provide a route search system, a route search method, and a moving body that can generate a route closer to an ideal shortest route.
実施の形態1.
以下、図面を参照して本発明の実施の形態について説明する。
図1を参照して、本実施の形態に係る移動体の一例であるロボットの構成を説明する。図1は、ロボット100の構成を模式的に示す外観図である。本実施の形態では、ロボット100が、自律移動する移動ロボットとして説明する。
Embodiments of the present invention will be described below with reference to the drawings.
With reference to FIG. 1, the structure of the robot which is an example of the mobile body which concerns on this Embodiment is demonstrated. FIG. 1 is an external view schematically showing the configuration of the
ロボット100は、車輪2と、筐体3と、センサ5と、を備えている。筐体3の内部には、車輪2と接続されたモータ、及びモータを駆動するためのバッテリなどが設けられている。このモータがロボット100を駆動するための駆動機構となる。モータを駆動することによって、車輪2が回転して、ロボット100が移動する。ロボット100は、例えば、人間の歩行速度と同程度の速度で移動する。さらに、頭部1には、CCDカメラやレーザセンサなどを有するセンサ5が設けられている。センサ5はロボット100に周囲に存在する障害物や人間などを検知する。
The
ロボット100には、制御部110が設けられている。制御部110は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、通信用のインタフェイスなどを有する演算処理装置である。また、制御部110は、着脱可能なHDD、光ディスク、光磁気ディスク等を有し、各種プログラムや制御パラメータなどを記憶し、そのプログラムやデータを必要に応じてメモリ(不図示)等に供給する。制御部110は、物理的に一つの構成に限られるものではない。
The
制御部110は、ロボット100が移動する移動経路を生成する。そして、その移動経路に沿ってロボット100が移動するよう、車輪2を駆動するためのモータ等を制御する。ロボット100は車輪型の移動ロボットに限らず、歩行型やその他の移動ロボットでもよい。ロボット100は自己位置推定を行なって移動する移動体であってもよい。
The
制御部110は、移動環境中にある移動始点から移動終点までの移動経路を探索する。ロボット100は、移動始点から移動を開始する。そして、移動経路に沿って移動していき、移動終点まで移動したら停止する。すなわち、制御部110は、移動始点から移動終点までの移動経路を探索する経路探索システムとして機能する。
The
次に、図2を参照して、ロボット100の制御系を説明する。図2は、ロボット100の制御部110を示すブロック図である。制御部110は、ロボット100が移動する経路を決定するための演算処理を実行する。
Next, the control system of the
図2に示すように、制御部110は、地図情報記憶部111と、距離ポテンシャル生成部112と、探索グリッド決定部113と、局所ポテンシャル場計算部114と、グリッド探索ベクトル決定部115と、を備えている。
As shown in FIG. 2, the
地図情報記憶部111は、ロボット100が移動する移動領域中の地図情報を記憶している。例えば、移動する環境中に存在する壁、机などの障害物の座標を記憶している。そして、地図情報記憶部111は、移動領域を2次元のグリッドによって表現している。
The map
また、地図情報記憶部111は、移動領域を縦横のグリッド線で分割して、格子状のグリッドによって表している。さらに、地図情報には、障害物などの情報に基づいて、進入禁止グリッドが設定されている。障害物が占有する位置には、ロボット100が移動することができない。このため、その障害物の位置に対応するグリッドは、進入禁止グリッドとなる。
In addition, the map
従って、地図情報記憶部111には、進入禁止グリッドと進入可能グリッドとから構成されるグリッドマップが記憶される。グリッドサイズは、移動領域の大きさやコンピュータの処理速度に応じて決定される。経路探索では、ロボット100の移動始点に対応するグリッドから移動終点に対応するグリッドまでのグリッド系列(最適経路)が探索される。
Therefore, the map
図3(A)に示すように、グリッドは、縦横に区切られた、各格子の領域を示す。図に示す例では、4つのグリッドA、B、C、Dが示されている。グリッドのエッジは、グリッドの周囲の枠を示す。図に示す例では、例えばグリッドAのエッジは、4つのエッジa1、a2、a3、a4となる。また、ある任意の1つのグリッドは、上下左右の4つのグリッドと隣接する。すなわち、移動領域の端以外のグリッドでは、上方向、下方向、左方向、右方向の4近傍のグリッドが隣接していることになる。 As shown in FIG. 3A, the grid indicates a region of each lattice that is partitioned vertically and horizontally. In the example shown in the figure, four grids A, B, C, and D are shown. The edge of the grid indicates a frame around the grid. In the example shown in the figure, for example, the edges of the grid A are four edges a1, a2, a3, and a4. One arbitrary grid is adjacent to the four grids on the top, bottom, left, and right. That is, in the grids other than the end of the moving region, the four neighboring grids in the upward direction, the downward direction, the left direction, and the right direction are adjacent to each other.
また、図3(B)に示すように、ある1つのグリッドに関して、そのエッジ上の1つの点と、他の異なるエッジ上の1つの点と、を結ぶ直線をエッジ間の探索枝とする。探索枝が延びている方向を示すベクトルを、グリッド探索ベクトルとする。すなわち、グリッド探索ベクトルは、探索枝の方向(傾き)を示す。図に示す例では、点Qjと点Qj+1とを結ぶ直線がエッジ間の探索枝となり、この探索枝の方向がグリッド探索ベクトルとなる。グリッド探索ベクトルが隣接グリッドのエッジ上に進入した場合に、この進入点(グリッド探索ベクトルとエッジとの交点)は、エッジを介して隣接するグリッドにおける、探索枝の始点となる。経路探索の過程では、エッジ上における探索枝の端点の座標と、その探索枝の角度(グリッド探索ベクトル)とが、情報として保持される。なお、探索枝の角度は、これら端点の座標値から求めることができる。 Further, as shown in FIG. 3B, for a certain grid, a straight line connecting one point on the edge and one point on another different edge is set as a search branch between the edges. A vector indicating the direction in which the search branch extends is defined as a grid search vector. That is, the grid search vector indicates the direction (slope) of the search branch. In the example shown in the figure, a straight line connecting the point Q j and the point Q j + 1 is a search branch between edges, and the direction of this search branch is a grid search vector. When the grid search vector enters the edge of the adjacent grid, this entry point (intersection of the grid search vector and the edge) becomes the start point of the search branch in the grid adjacent via the edge. In the route search process, the coordinates of the end points of the search branch on the edge and the angle of the search branch (grid search vector) are stored as information. The angle of the search branch can be obtained from the coordinate values of these end points.
距離ポテンシャル生成部112は、グリッドマップ内のグリッドに対して、移動始点からの距離と、障害物からの距離と、に基づいて、距離ポテンシャルを生成する。まず、距離ポテンシャル生成部112は、グリッドマップ内の各グリッドに対して、移動始点からの距離に応じたポテンシャル値を設定する。ここでは、移動始点のグリッドには値を0として設定し、移動始点から離れるほど大きくなるポテンシャル値を算出し、これらポテンシャル値を各グリッドに設定する。例えば、隣接グリッドへ移動するために要するコストとして、グリッド間距離などの適当な値を定める。そして、ダイクストラ法やA*(スター)アルゴリズムなどの公知の探索アルゴリズムを用いて、移動始点から目標グリッドまでの最短経路を探索する。そして、その探索した経路上のグリッドについてのコストの総和を求め(すなわち、移動始点から目標グリッドまでの経路長に応じた値)、その総和値を、目標グリッドの距離ポテンシャル値として設定する。
The distance
また、距離ポテンシャル生成部112は、障害物が存在する場合には、その障害物からの距離に応じたポテンシャル値を算出し、移動始点からの距離に応じて設定したポテンシャル値に加算する。例えば、障害物グリッドからの距離に応じて単調に減少するポテンシャル関数を考え、進入可能グリッドの各グリッドに対してポテンシャル関数で計算される値の総和をその位置のポテンシャル値とするポテンシャル場を生成する。ただし、障害物グリッド自体には、ある一定のポテンシャル値(障害物でないグリッドに設定されるポテンシャル値と比較して十分大きな正の値であって、無限大と見なして処理する。)を設定する。なお、距離ポテンシャル生成部112による障害物からの距離に応じて設定する距離ポテンシャル値の算出手法については、従来公知のポテンシャル法を用いて行えばよく、ここでは、その詳細な説明を省略する。
In addition, when there is an obstacle, the distance
探索グリッド決定部113は、前回探索対象となったグリッドについて決定したグリッド探索ベクトルから、次に探索するグリッドを決定し、また、その決定したグリッドについての局所ポテンシャル場の計算に利用するグリッドを選択する。より具体的には、前回決定したグリッド探索ベクトルがエッジを交差して進入する隣接グリッドを、次に探索対象とするグリッドとして決定する(以下、次探索グリッドと称する場合がある。)。そして、その決定した次探索グリッドの隣接グリッドのうちで、前記グリッド探索ベクトルの延長上にある複数のグリッドを、局所ポテンシャル場の計算用グリッドとして選択する(以下、局所ポテンシャル場計算用グリッドと称する場合がある。)。なお、局所ポテンシャル場の計算用グリッドは、次探索グリッドの前後左右に隣接するグリッドから選択される。
The search
図4は、探索グリッド決定部113による探索グリッドの決定及び局所ポテンシャル場計算用グリッドの選択方法を説明するための図である。図に示す例では、3×3のグリッドが示されている。ここで、説明の簡略化のため、各グリッドを次のように座標で識別して、説明する。例えば、左上隅のノードを(1,1)のグリッドとして、右下隅のノードを(3,3)とする。また、(1,1)のグリッドの1つ下のノードを(2,1)のグリッドとし、(1,1)のグリッドの1つ下のグリッドを(1,2)とする。このように座標を用いて、各グリッドを識別する。なお、図4に示す例では、紙面右方向をx軸正方向とし、上方向をy軸正方向とするグローバル座標系での処理を示す。このため、ここでは、グローバル座標系での、探索枝の端点の座標と、その探索枝の角度とが、RAMなどの一時記憶部に保持されている。
FIG. 4 is a diagram for explaining how the search
図4(A)に示す例では、まず、グリッド(2,1)内の矢印により示す探索方向(グリッド探索ベクトル)から、次探索グリッドとしてグリッド(2,2)を決定する。そして、グリッド探索ベクトルのx、y成分に注目し、x>0、y>0であることから、グリッド(1,2)、グリッド(2,3)を局所ポテンシャル場計算用グリッドとして選択する。また、図4(B)に示す例では、次探索グリッドとしてグリッド(2,2)を決定し、x>0、y<0であることから、グリッド(2,3)、グリッド(3,2)を局所ポテンシャル場計算用グリッドとして選択する。このように、グリッド探索ベクトルの成分(矢印の入射角度)に応じて、次探索グリッドと、局所ポテンシャル場計算用グリッドと、が選択される。 In the example shown in FIG. 4A, first, the grid (2, 2) is determined as the next search grid from the search direction (grid search vector) indicated by the arrow in the grid (2, 1). Then, paying attention to the x and y components of the grid search vector and x> 0 and y> 0, the grid (1, 2) and the grid (2, 3) are selected as the local potential field calculation grid. In the example shown in FIG. 4B, since the grid (2, 2) is determined as the next search grid and x> 0 and y <0, the grid (2, 3) and the grid (3, 2) are determined. ) Is selected as the grid for calculating the local potential field. Thus, the next search grid and the local potential field calculation grid are selected according to the component of the grid search vector (the incident angle of the arrow).
なお、グリッド探索ベクトルのx、y成分について、x=0、y=0である場合には、図4(A)に示した場合と同じようにして2つの局所ポテンシャル場計算用グリッドを選択するものとしてもよいし、或いは、図4(B)に示した場合と同じようにして2つの局所ポテンシャル場計算用グリッドを選択するものとしてもよい。図4に示す例では、例えば、グリッド(2,2)と、グリッド(2,3)又はグリッド(3,2)のいずれか1つのグリッドと、を選択すればよい。なお、グリッド(2,3)又はグリッド(3,2)のいずれか1つの障害物グリッドある場合には、障害物グリッドでない他のグリッドを選択するようにしてもよい。 When x = 0 and y = 0 for the x and y components of the grid search vector, two local potential field calculation grids are selected in the same manner as shown in FIG. Alternatively, two local potential field calculation grids may be selected in the same manner as in the case shown in FIG. In the example illustrated in FIG. 4, for example, the grid (2, 2) and any one of the grid (2, 3) or the grid (3, 2) may be selected. In addition, when there exists any one obstacle grid of a grid (2, 3) or a grid (3, 2), you may make it select the other grid which is not an obstacle grid.
詳細は後述するが、グリッド(2,1)について計算する局所ポテンシャル場を用いて、グリッド(2,1)内のグリッド探索ベクトルが決定される。決定したグリッド探索ベクトルから次探索グリッドが決定される。 Although details will be described later, a grid search vector in the grid (2, 1) is determined using a local potential field calculated for the grid (2, 1). The next search grid is determined from the determined grid search vector.
局所ポテンシャル場計算部114は、次探索グリッドについての局所ポテンシャル場を、次探索グリッドの距離ポテンシャル値に対する局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づいて計算する。ここでは、局所ポテンシャル場として、円錐ポテンシャル場を計算する。また、円錐ポテンシャル場の頂点を、次探索グリッドのポテンシャル値の二乗と、局所ポテンシャル場計算用グリッドのポテンシャル値の二乗との差に応じて定める。
The local potential
図5は、局所ポテンシャル場の計算方法を説明するための図である。図に示す例では、局所ポテンシャル場としての円錐ポテンシャル場を計算するための、3つのグリッドA、B、Cが示されている。なお、図5では、次探索グリッドをグリッドA、局所ポテンシャル場計算用グリッドをグリッドB及びグリッドCとして、これら3つのグリッドのエッジが互いに交差する点を、座標系の原点と定める。すなわち、局所ポテンシャル場の計算においては、決定される次探索グリッドと、選択される局所ポテンシャル場計算用グリッドと、から定まるローカル座標系での処理を行う。 FIG. 5 is a diagram for explaining a local potential field calculation method. In the example shown in the figure, three grids A, B, and C for calculating a conical potential field as a local potential field are shown. In FIG. 5, the next search grid is grid A, the local potential field calculation grids are grid B and grid C, and the point where the edges of these three grids intersect with each other is determined as the origin of the coordinate system. That is, in the calculation of the local potential field, processing is performed in a local coordinate system determined from the determined next search grid and the selected local potential field calculation grid.
図5に示す例では、グリッドAのエッジa1上の点Q1(xq,yq)に対して、その傾きが負である探索枝(実線の矢印で示す。)が進入したものとする(すなわち、グリッド探索ベクトルの成分について、グローバル座標系でのx、yについてdy/dx<0。)。このとき、上述したようにして、グリッドAが次探索グリッドとなり、局所ポテンシャル場計算用グリッドとしてグリッドB、Cが選択される。局所ポテンシャル場計算部114は、グリッドAのポテンシャル値PAと、グリッドB、Cのポテンシャル値PB、PCを利用して、グリッドAについての局所ポテンシャル場PNを計算する。
In the example shown in FIG. 5, it is assumed that a search branch (indicated by a solid line arrow) having a negative slope enters a point Q1 (x q , y q ) on the edge a1 of the grid A (shown by a solid arrow). That is, for the components of the grid search vector, dy / dx <0 for x and y in the global coordinate system. At this time, as described above, the grid A becomes the next search grid, and the grids B and C are selected as the local potential field calculation grid. The local potential
局所ポテンシャル場PNは、以下の数(1)を用いて表される。
数(1)により示される局所ポテンシャル場は、その頂点Ocが以下の数(2)で示される、円錐ポテンシャル場である。また、数(1)において、Δdはグリッドサイズ(エッジの大きさ)を示している。
なお、局所ポテンシャル場計算用グリッドとして選択されたグリッドB、Cについて、そのいずれか1のグリッドが障害物グリッドである場合には、円錐ポテンシャル場を算出するのに代えて、平面ポテンシャル場を計算するものとする。例えば、局所ポテンシャル場計算用グリッドとして選択されたグリッドBが障害物グリッドである場合には、上記の数(1)で示される局所ポテンシャル場に代えて、グリッドAのポテンシャル値PAと、グリッドCのポテンシャル値PCとを直線補間し、その直線補間された値からなる平面ポテンシャル場を、局所ポテンシャル場とする。また、グリッドB、Cがともに障害物グリッドである場合には、経路探索による解は無いと判定して、探索を打ち切るようにしてもよい。 If any one of the grids B and C selected as the local potential field calculation grid is an obstacle grid, a planar potential field is calculated instead of calculating the conical potential field. It shall be. For example, when the grid B selected as the local potential field calculation grid is an obstacle grid, the potential value P A of the grid A and the grid are replaced with the local potential field represented by the number (1) above. The potential value PC of C is linearly interpolated, and a planar potential field formed by the linearly interpolated value is defined as a local potential field. If both grids B and C are obstacle grids, it may be determined that there is no solution by route search and the search may be aborted.
ここで、図6を参照して、円錐ポテンシャル場の導出について補足する。
図に示す例では、円錐ポテンシャル場を計算するための、3つのグリッドA、B、Cが示されている。なお、グリッド探索ベクトル(不図示)が、グリッドAのエッジ上に進入し、その進入点がQ1であるものとする。また、ローカル座標系の原点を、Oとする。
Here, with reference to FIG. 6, the derivation of the conical potential field will be supplemented.
In the example shown in the figure, three grids A, B and C for calculating the conical potential field are shown. It is assumed that a grid search vector (not shown) enters on the edge of the grid A, and the entry point is Q1. The origin of the local coordinate system is O.
まず、Oを原点とするローカル座標系でのグリッドA、B、Cの各位置A(x,y)、B(x,y)、C(x,y)を、それぞれ以下の数(3)、(4)、(5)により示す。
次に、円錐ポテンシャルの頂点Ocを中心として、各グリッドのポテンシャル値に関して以下の数(6)、(7)、(8)を定義する。なお、以下では、頂点Ocのx、y座標値を単にOcx、Ocyとして表記し、グリッドAの位置のx、y座標値を単にAx、Ayとして表記して説明する。
そして、数(6)−数(7)を計算して、以下の数(9)を得る。
また、数(6)−数(8)を計算して、以下の数(10)を得る。
従って、数(9)及び数(10)から、以下の数(11)に示すように、円錐ポテンシャルの頂点Ocを求める。
従って、数(11)の頂点Ocから、以下の数(12)で示す円錐ポテンシャルPが定まる。
Also, the number (6) −number (8) is calculated to obtain the following number (10).
Therefore, the vertex Oc of the conical potential is obtained from the numbers (9) and (10) as shown in the following number (11).
Therefore, the cone potential P shown by the following number (12) is determined from the vertex Oc of the number (11).
図2に戻って説明を続ける。
グリッド探索ベクトル決定部115は、前回決定したグリッド探索ベクトルが進入するエッジ上の点を探索枝の基点として、計算した局所ポテンシャル場のポテンシャル値が最急勾配となる方向(ポテンシャル値の変化が最も急となる方向)であって、その勾配を降る方向(ポテンシャル値が小さくなる方向)に、探索枝を延ばす。グリッド探索ベクトル決定部115は、延ばした探索枝の方向を、グリッド探索ベクトルとして決定する。この決定したグリッド探索ベクトルはRAMなどの一時記憶部に保持され、次に探索対象とするグリッドを決定する際の情報として利用される。
Returning to FIG. 2, the description will be continued.
The grid search
図7は、グリッド探索ベクトルの決定方法を説明するための図である。図では、現在の探索対象グリッドをグリッドAとし、局所ポテンシャル場としての円錐ポテンシャルが計算されている。なお、円錐ポテンシャル場は、グリッドA、B、Cの各ポテンシャル値に基づいて計算され、Ocは円錐ポテンシャル場の頂点を示す。 FIG. 7 is a diagram for explaining a grid search vector determination method. In the figure, the current search target grid is grid A, and a conical potential as a local potential field is calculated. Note that the conical potential field is calculated based on the potential values of the grids A, B, and C, and Oc indicates the apex of the conical potential field.
図7において、前回決定したグリッド探索ベクトルがグリッドAのエッジa1に進入し、その進入点を点Q1とする。グリッドAにおいて、点Q1を探索枝の基点として、局所ポテンシャル場における最急勾配方向で、降る方向へと探索枝を延ばす。詳細は後述するが、点Q1から延ばした探索枝がグリッドAのエッジa3に到達した場合に、このエッジa3上の交点を点Q2として、点Q1から点Q2へと向かう探索枝の方向が、局所ポテンシャル場における最急勾配方向であって、かつ、降る方向となる。 In FIG. 7, the previously determined grid search vector enters the edge a1 of the grid A, and the entry point is defined as a point Q1. In the grid A, with the point Q1 as the base point of the search branch, the search branch is extended in the direction of descending in the steepest gradient direction in the local potential field. Although the details will be described later, when the search branch extending from the point Q1 reaches the edge a3 of the grid A, the direction of the search branch from the point Q1 to the point Q2 with the intersection point on the edge a3 as the point Q2, It is the steepest gradient direction in the local potential field and the falling direction.
円錐ポテンシャル場において、最急勾配方向に降る方向は、エッジ上の基点から円錐の頂点へと向かう直線の方向に相当する(この直線は、円錐の円周に対して直角に交わる。)。すなわち、探索枝は、エッジ上の基点から円錐ポテンシャル場の頂点へと向かう方向へと延びる。探索枝の端点Q2は、基点Q1から円錐ポテンシャル場の頂点へと向かう直線上であって、かつ、エッジa3上に位置する点となる。点Q2の座標は、例えば、以下の方法により求めることができる。 In the cone potential field, the direction descending in the steepest gradient direction corresponds to the direction of a straight line from the base point on the edge to the apex of the cone (this line intersects at right angles to the circumference of the cone). That is, the search branch extends in a direction from the base point on the edge toward the apex of the conical potential field. The end point Q2 of the search branch is a point on the straight line from the base point Q1 to the apex of the conical potential field and on the edge a3. The coordinates of the point Q2 can be obtained by the following method, for example.
まず、円錐ポテンシャル場の頂点Ocは、以下の数(13)により与えられる。
以下の数(14)は、円錐ポテンシャル場の頂点の座標と、点Q1の座標と、点Q2の座標と、の関係を示す直線方程式である。円錐ポテンシャル場の頂点と点Q1を結ぶ直線と、点Q1と点Q2を結ぶ直線と、は互いに平行となる。このため、この直線方程式を利用して、点Q2の座標(Q2x,Q2y)を求めることができる。
また、点Q1と点Q2は、それぞれエッジ上に位置する点であるため、例えば、Q2x−Q1x=Δdという関係を利用して、以下の数(15)に示すようにして、点Q2の座標を求めることができる。
従って、図7に示す例では、エッジa1上の基点Q1の座標と、円錐ポテンシャル場の頂点の座標Ocとから、エッジa2上の点Q2の座標を求める。そして、エッジa1上の基点Q1とエッジa2上の点Q2とを結ぶ直線をエッジ間の探索枝として、この探索枝の方向を、グリッド探索ベクトルとして決定することができる。 Therefore, in the example shown in FIG. 7, the coordinates of the point Q2 on the edge a2 are obtained from the coordinates of the base point Q1 on the edge a1 and the coordinates Oc of the vertex of the conical potential field. Then, a straight line connecting the base point Q1 on the edge a1 and the point Q2 on the edge a2 can be determined as a search branch between edges, and the direction of the search branch can be determined as a grid search vector.
なお、図7に示した例では、グリッドAは、他のグリッドと比べてより移動終点に近いグリッドであり、グリッドBは他のグリッドと比べてより壁に近いグリッドであり、グリッドCは、他のグリッドと比べてより移動始点に近いグリッドであり、各グリッドのポテンシャル値について、PC<PB<PAが成立するような状況を示している。このような状況を反映した円錐ポテンシャル場が、図7に例示されている。すなわち、円錐ポテンシャル場の頂点Ocは、探索枝の基点Q1から見て、より移動始点へと近づく方向であって、かつ、障害物から離れる方向に位置するものとして算出されている。従って、グリッドAへと進入したグリッド探索ベクトルは、計算した局所ポテンシャル場によって、その方向が障害物から遠ざかる方向へと曲げられる。 In the example shown in FIG. 7, the grid A is a grid closer to the movement end point than the other grids, the grid B is a grid closer to the wall than the other grids, and the grid C is This is a grid closer to the movement start point than other grids, and shows a situation where P C <P B <P A holds for the potential value of each grid. A conical potential field reflecting such a situation is illustrated in FIG. That is, the vertex Oc of the conical potential field is calculated as being located in a direction closer to the movement start point and away from the obstacle as viewed from the base point Q1 of the search branch. Accordingly, the grid search vector that has entered the grid A is bent in a direction away from the obstacle by the calculated local potential field.
次に、図8を参照して、経路探索処理のフローについて説明する。
まず、制御部110は、グリッド空間において、移動始点のグリッドと、移動終点のグリッドを設定する(S101)。
Next, the flow of the route search process will be described with reference to FIG.
First, the
次に、距離ポテンシャル生成部112は、グリッドマップ内の各グリッドに対して、移動終点や障害物からの距離に応じたポテンシャル値を設定し、距離ポテンシャルを生成する(S102)。
Next, the distance
次に、探索グリッド決定部113は、前回決定したグリッド探索ベクトルから、次に探索するグリッドを決定し、また、その決定したグリッドについての局所ポテンシャル場の計算に利用するグリッドを選択する(S103)。
Next, the search
次に、局所ポテンシャル場計算部114は、決定した次探索グリッドについて、次探索グリッドのポテンシャル値と、選択した局所ポテンシャル場計算用グリッドの各ポテンシャル値と、に基づいて、局所ポテンシャル場を計算する(S104)。
Next, the local potential
次に、グリッド探索ベクトル決定部115は、局所ポテンシャル場を計算した次探索グリッドにおいて、前回決定したグリッド探索ベクトルがエッジに進入する点を探索枝の基点として、ポテンシャル値が最急勾配方向で降る方向に探索枝を延ばし、その延ばした探索枝の方向を、次探索グリッドの次に探索対象とするグリッドを決定するための、新たなグリッド探索ベクトルとして決定する(S105)。
Next, in the next search grid in which the local potential field is calculated, the grid search
制御部110は、グリッド探索ベクトルが示す次探索グリッドが移動始点のグリッドであるか否かを判定し、移動始点のグリッドに到達したか否かを判定する(S106)。判定の結果、到達していない場合には、ステップS103〜S105の処理を繰り返して、順次、グリッドを探索していく。一方で、判定の結果、到達した場合には、制御部110は、移動始点へと到達するまでに探索したグリッドの系列を出力する。すなわち、このグリッド系列を、移動終点と移動始点との間の経路として生成する。
The
以上説明したように本実施の形態によれば、従来のポテンシャル法によるグリッド探索のように、隣接グリッドのうちで最小のポテンシャル値を有するグリッドを単純に選択するものではなく、次に探索対象となるグリッドにおいてエッジ間の探索枝を求め、その探索枝の方向をグリッド探索ベクトルとした上で、そのグリッド探索ベクトルから次の探索対象グリッドを順次決定していくものである。ここで、グリッド探索ベクトルの決定に際しては、隣接グリッドのポテンシャル値をも考慮した局所ポテンシャル場を計算し、距離ポテンシャル値からより詳細なポテンシャル場を局所的に計算している。そして、局所ポテンシャル場において、ポテンシャル値が最急勾配方向で降る方向に、探索枝を延ばすことを特徴とするものである。 As described above, according to the present embodiment, unlike the grid search by the conventional potential method, the grid having the smallest potential value among the adjacent grids is not simply selected. In this grid, search branches between edges are obtained, the direction of the search branch is set as a grid search vector, and the next search target grid is sequentially determined from the grid search vector. Here, when determining the grid search vector, a local potential field is calculated in consideration of the potential value of the adjacent grid, and a more detailed potential field is calculated locally from the distance potential value. In the local potential field, the search branch is extended in the direction in which the potential value falls in the steepest gradient direction.
図9は、本実施の形態による効果をより具体的に説明するための図である。
図9(A)は、グリッド間の距離を利用して経路長が最短となる経路を求める、従来手法による経路探索結果を示している。求められたグリッドの系列は、直線により示す最適な経路とは大きく異なるものである。
これに対して図9(B)は、本実施の形態による経路探索結果を示している。求められたグリッドの系列は、直線により示す最適な経路に、より近い経路となる。
FIG. 9 is a diagram for more specifically explaining the effect of the present embodiment.
FIG. 9A shows a route search result according to a conventional method in which a route having the shortest route length is obtained using the distance between grids. The obtained grid sequence is significantly different from the optimum path indicated by the straight line.
On the other hand, FIG. 9B shows a route search result according to the present embodiment. The obtained grid series is closer to the optimum path indicated by the straight line.
従来のポテンシャル法を用いた経路探索手法では、単に、隣接グリッドのうちで最小のポテンシャルを有するグリッドの選択を繰り返していき、移動終点のグリッドに到達した場合には、探索を終了するものである。
これに対して本実施の形態では、基本的に全探索を行う経路探索手法(ダイクストラ法など)を用いて距離ポテンシャルを生成しているためにローカルミニマムを回避することができ、かつ、理想的な最短経路により近い経路を生成することができる。
In the route search method using the conventional potential method, the selection of the grid having the smallest potential among the adjacent grids is simply repeated, and the search is terminated when the grid of the movement end point is reached. .
In contrast, in the present embodiment, a local potential can be avoided because a distance potential is generated using a route search method (such as Dijkstra method) that basically performs a full search, and is ideal. A route closer to the shortest route can be generated.
また、特許文献1に示されるような従来のポテンシャル法を用いた経路生成技術では、ローカルミニマムを回避することを目的として、予め設定したポテンシャル場自体を合成ポテンシャルで補正するものである。
これに対して本実施の形態では、予め生成したポテンシャル場自体を補正するものではなく、経路探索の過程において、各探索グリッドについて、その詳細な局所ポテンシャル場を求めるものである。すなわち、予め生成したポテンシャル値を利用して、局所的に詳細な解を求めながら経路探索を行うことを特徴とする。このように局所的に詳細なポテンシャル値を求めることで、より最適解に近い経路を探索可能とする。
Further, in the path generation technique using the conventional potential method as disclosed in
On the other hand, in the present embodiment, the potential field itself generated in advance is not corrected, but a detailed local potential field is obtained for each search grid in the course of the route search. In other words, a route search is performed while obtaining a detailed solution locally using a potential value generated in advance. Thus, by finding a detailed potential value locally, a route closer to the optimum solution can be searched.
上述した実施の形態では、移動始点から移動終点に至る移動領域内に障害物が存在する場合における経路探索の例を説明したが、本発明はこれに限定されず、障害物の有無に依存せず、より理想的な経路を生成することができる。 In the above-described embodiment, the example of the route search in the case where there is an obstacle in the movement region from the movement start point to the movement end point has been described, but the present invention is not limited to this and depends on the presence or absence of the obstacle. Therefore, a more ideal route can be generated.
また、上述した実施の形態では、移動終点のグリッドから移動始点のグリッドへと向けて探索を行う場合を例に説明したが、移動始点のグリッドから移動終点のグリッドへと向けて探索を行うようにしてもよく、任意の2地点間を結ぶ経路探索技術に適用可能である。 In the above-described embodiment, the case where the search is performed from the movement end point grid toward the movement start point grid has been described as an example. However, the search is performed from the movement start point grid toward the movement end point grid. In other words, the present invention is applicable to a route search technique that connects two arbitrary points.
また、移動始点や障害物からの距離に応じたポテンシャル値を負の値として設定した場合には、局所ポテンシャル場において、ポテンシャル値が最急勾配方向で登る方向に探索枝を延ばし、その延ばした探索の方向をグリッド探索ベクトルとして決定すればよい。 In addition, when the potential value according to the distance from the movement start point and the obstacle is set as a negative value, the search branch is extended in the direction in which the potential value climbs in the steepest gradient direction in the local potential field, and the extension is extended. The search direction may be determined as a grid search vector.
なお、上述した処理によって求めた経路に対して、さらに補間処理を行うものとしてもよい。本発明により生成される経路は、より最短経路に近いものであるため、このような経路をもとに補間処理を行うことで、より最適かつ滑らかな経路を生成することができる。 Note that interpolation processing may be further performed on the path obtained by the above-described processing. Since the route generated by the present invention is closer to the shortest route, it is possible to generate a more optimal and smooth route by performing interpolation processing based on such a route.
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
2 車輪、
3 筐体、
5 センサ、
100 ロボット、
110 制御部、
111 地図情報記憶部、
112 距離ポテンシャル生成部、
113 探索グリッド決定部、
114 局所ポテンシャル場計算部、
115 グリッド探索ベクトル決定部、
2 wheels,
3 housing,
5 sensors,
100 robots,
110 control unit,
111 Map information storage unit,
112 distance potential generator,
113 Search grid determination unit,
114 Local potential field calculator,
115 grid search vector determination unit,
Claims (6)
障害物が占有し、移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶する地図情報記憶部と、
前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成する距離ポテンシャル生成部と、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択する探索グリッド決定部と、
前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算する局所ポテンシャル場計算部と、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するグリッド探索方向決定部と、を備える
経路探索システム。 A route search system that divides a moving region into a plurality of grid-like grids, with a surrounding frame that divides each grid as an edge of the grid, and searches for a grid sequence that connects between a moving start point and a moving end point,
A map information storage unit for storing a grid map in which an entry prohibition grid in which an obstacle occupies and entry of a moving object is prohibited is stored;
A distance potential generator that adds a potential value according to a distance from the moving start point and a potential value according to a distance from the obstacle, and generates a distance potential value of each grid of the grid map;
The next search grid that the grid search vector determined in the previous search target grid enters next is determined as the next search grid to be searched next, and is adjacent to the next search grid according to the direction of the grid search vector. A search grid determining unit that selects the first and second grids to be used as a local potential field calculation grid for the next search grid;
A local potential field having a vertex based on a relative change in the distance potential value of the local potential field calculation grid with respect to the distance potential value of the next search grid, the local potential field calculating a local potential field for the next search grid A calculation unit;
The point on the edge when the grid search vector determined in the previous search target grid enters the next search grid is the base of the search branch, and the direction in which the potential value of the local potential field has the steepest gradient, A path search system comprising: a grid search direction determination unit that extends the search branch in a direction of descending the gradient, and determines a direction of the extended search branch as a grid search vector in the next search grid.
前記局所ポテンシャル場として、前記次探索グリッドの距離ポテンシャル値の二乗と、前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の二乗と、の差に応じて定まる頂点を持つ、円錐ポテンシャル場を計算する
ことを特徴とする請求項1に記載の経路探索システム。 The local potential field calculator is
Calculating a conical potential field having a vertex determined according to a difference between the square of the distance potential value of the next search grid and the square of the distance potential value of the local potential field calculation grid as the local potential field. The route search system according to claim 1.
前記探索枝の前記基点から前記局所ポテンシャル場の前記頂点へと向かう直線上の点であって、前記基点が位置するエッジとは異なる前記次探索グリッドの他のエッジ上に位置する点を、前記探索枝の端点として求め、前記探索枝の前記基点から前記端点へと向かう方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定する
ことを特徴とする請求項1又は2に記載の経路探索システム。 The grid search direction determination unit
A point on a straight line from the base point of the search branch to the vertex of the local potential field, the point located on the other edge of the next search grid different from the edge on which the base point is located, 3. The route search system according to claim 1, wherein the route search system is obtained as an end point of a search branch, and a direction from the base point of the search branch toward the end point is determined as a grid search vector in the next search grid.
隣接グリッド間の移動コストとして所定の値を定め、前記移動始点から目標グリッドへと至るグリッド系列を探索して、探索した当該グリッド系列についての前記移動コストの総和を求め、当該総和値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記目標グリッドの距離ポテンシャル値を算出する
ことを特徴とする請求項1乃至3いずれか1項に記載の経路探索システム。 The distance potential generator is
A predetermined value is defined as a movement cost between adjacent grids, a grid series from the movement start point to the target grid is searched, a total of the movement costs for the searched grid series is obtained, the total value, The route search system according to any one of claims 1 to 3, wherein a distance potential value of the target grid is calculated by adding a potential value corresponding to a distance from an obstacle.
前記移動領域を、各グリッドを区切る周囲の枠をグリッドのエッジとする、複数の格子状のグリッドに分割したグリッドマップを用いて表して、障害物が占有し、前記移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶するステップと、
前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成するステップと、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択するステップと、
決定した前記次探索グリッドと、選択した前記局所ポテンシャル場計算用グリッドについて、前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算するステップと、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、計算した前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するステップと、
前記グリッド探索ベクトルが決定されたグリッド系列を、前記移動始点と移動終点の間を結ぶ経路として出力するステップと、を有する
経路探索方法。 A route search method for a moving body that moves from a movement start point to a movement end point in a movement area,
The moving area is represented by using a grid map divided into a plurality of grid-like grids with the surrounding frame separating each grid as an edge of the grid, occupied by obstacles, and entry of the moving object is prohibited. Storing a grid map in which an entry prohibition grid is set;
Adding a potential value according to a distance from the moving start point and a potential value according to a distance from the obstacle, and generating a distance potential value of each grid of the grid map;
The next search grid that the grid search vector determined in the previous search target grid enters next is determined as the next search grid to be searched next, and is adjacent to the next search grid according to the direction of the grid search vector. Selecting the first and second grids as local potential field calculation grids for the next search grid;
For the determined next search grid and the selected local potential field calculation grid, a local potential field having a vertex based on a relative change in the distance potential value of the local potential field calculation grid with respect to the distance potential value of the next search grid. Calculating a local potential field for the next search grid;
The point on the edge when the grid search vector determined in the previous search target grid enters the next search grid is used as the base point of the search branch, and the calculated potential value of the local potential field is in the direction in which the steepest gradient is obtained. Extending the search branch in the direction of descending the gradient, and determining the direction of the extended search branch as a grid search vector in the next search grid;
Outputting a grid sequence for which the grid search vector is determined as a path connecting the movement start point and the movement end point.
障害物が占有し、移動体の進入が禁止される進入禁止グリッドが設定されたグリッドマップを記憶する地図情報記憶部と、
前記移動始点からの距離に応じたポテンシャル値と、前記障害物からの距離に応じたポテンシャル値と、を加算して、前記グリッドマップの各グリッドの距離ポテンシャル値として生成する距離ポテンシャル生成部と、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが次に進入する隣接グリッドを、次に探索対象とする次探索グリッドとして決定すると共に、前記グリッド探索ベクトルの向きに応じて、前記次探索グリッドに隣接する第1及び第2のグリッドを、当該次探索グリッドについての局所ポテンシャル場計算用グリッドとして選択する探索グリッド決定部と、
前記次探索グリッドの距離ポテンシャル値に対する前記局所ポテンシャル場計算用グリッドの距離ポテンシャル値の相対変化に基づく頂点を持つ局所ポテンシャル場であって、前記次探索グリッドについての局所ポテンシャル場を計算する局所ポテンシャル場計算部と、
前回探索対象グリッドにおいて決定されたグリッド探索ベクトルが前記次探索グリッドに進入する際のエッジ上の点を探索枝の基点として、前記局所ポテンシャル場のポテンシャル値が最急勾配となる方向であって、当該勾配を降る方向に当該探索枝を延ばし、当該延ばした探索枝の方向を、前記次探索グリッドにおけるグリッド探索ベクトルとして決定するグリッド探索方向決定部と、を備える
移動体。 The moving area is divided into a plurality of grid-like grids with the surrounding frame separating each grid as the edge of the grid, and a grid series connecting the moving start point and the moving end point is searched as a route and moved according to the route. A moving object,
A map information storage unit for storing a grid map in which an entry prohibition grid in which an obstacle occupies and entry of a moving object is prohibited is stored;
A distance potential generator that adds a potential value according to a distance from the moving start point and a potential value according to a distance from the obstacle, and generates a distance potential value of each grid of the grid map;
The next search grid that the grid search vector determined in the previous search target grid enters next is determined as the next search grid to be searched next, and is adjacent to the next search grid according to the direction of the grid search vector. A search grid determining unit that selects the first and second grids to be used as a local potential field calculation grid for the next search grid;
A local potential field having a vertex based on a relative change in the distance potential value of the local potential field calculation grid with respect to the distance potential value of the next search grid, the local potential field calculating a local potential field for the next search grid A calculation unit;
The point on the edge when the grid search vector determined in the previous search target grid enters the next search grid is the base of the search branch, and the direction in which the potential value of the local potential field has the steepest gradient, A grid search direction determination unit that extends the search branch in a direction of descending the gradient and determines a direction of the extended search branch as a grid search vector in the next search grid.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010098606A JP2011227807A (en) | 2010-04-22 | 2010-04-22 | Route search system, route search method, and mobile body |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010098606A JP2011227807A (en) | 2010-04-22 | 2010-04-22 | Route search system, route search method, and mobile body |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011227807A true JP2011227807A (en) | 2011-11-10 |
Family
ID=45043055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010098606A Pending JP2011227807A (en) | 2010-04-22 | 2010-04-22 | Route search system, route search method, and mobile body |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011227807A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013239035A (en) * | 2012-05-15 | 2013-11-28 | Toyota Motor Corp | Route planning method for movable body |
US8861506B2 (en) | 2011-12-27 | 2014-10-14 | Apple Inc. | Shortest path determination for large graphs |
CN104613976A (en) * | 2014-08-26 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Path determination method and device |
KR101576608B1 (en) | 2014-04-24 | 2015-12-15 | 버츄얼빌더스 주식회사 | Distance potential field calculating system and providing method thereof |
CN105204511A (en) * | 2015-10-13 | 2015-12-30 | 王红军 | Decision-making method for autonomous movement of object |
JP2016057236A (en) * | 2014-09-11 | 2016-04-21 | 安川情報システム株式会社 | Self position estimation system and method for estimating self position |
CN106020197A (en) * | 2016-06-30 | 2016-10-12 | 苏州坤厚自动化科技有限公司 | Potential-energy-field-based robot path tracking algorithm |
JP2018185633A (en) * | 2017-04-25 | 2018-11-22 | トヨタ自動車株式会社 | Autonomous mobile body |
JP2019035661A (en) * | 2017-08-15 | 2019-03-07 | トヨタテクニカルディベロップメント株式会社 | Route search device, route search method, and route search program |
CN109443363A (en) * | 2018-11-09 | 2019-03-08 | 厦门大学 | Certainty of dividing and ruling path optimizing algorithm |
JP2019175369A (en) * | 2018-03-29 | 2019-10-10 | 株式会社豊田自動織機 | Travel route generation device for cleaning robot |
JP2019212079A (en) * | 2018-06-06 | 2019-12-12 | 株式会社日立製作所 | Autonomous mobile device |
JP6678831B1 (en) * | 2019-03-12 | 2020-04-08 | 三菱電機株式会社 | Control device and control method |
CN112214921A (en) * | 2020-10-27 | 2021-01-12 | 上海工程技术大学 | Three-dimensional slope stability evaluation method based on stress vector |
CN113190010A (en) * | 2021-05-08 | 2021-07-30 | 珠海市一微半导体有限公司 | Edge obstacle-detouring path planning method, chip and robot |
CN113791610A (en) * | 2021-07-30 | 2021-12-14 | 河南科技大学 | Global path planning method for mobile robot |
CN115509216A (en) * | 2021-06-21 | 2022-12-23 | 广州视源电子科技股份有限公司 | Path planning method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05274037A (en) * | 1992-03-27 | 1993-10-22 | Mitsubishi Heavy Ind Ltd | Route generating method for moving robot |
JP2003029833A (en) * | 2001-07-19 | 2003-01-31 | Japan Atom Energy Res Inst | Method for generating autonomic traveling path of traveling object |
JP2005032196A (en) * | 2003-07-11 | 2005-02-03 | Japan Science & Technology Agency | System for planning path for moving robot |
JP2006350776A (en) * | 2005-06-17 | 2006-12-28 | Honda Motor Co Ltd | Traveling object route generating device |
JP2009025974A (en) * | 2007-07-18 | 2009-02-05 | Toyota Motor Corp | Route planning device and method, cost evaluation device, and traveling object |
-
2010
- 2010-04-22 JP JP2010098606A patent/JP2011227807A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05274037A (en) * | 1992-03-27 | 1993-10-22 | Mitsubishi Heavy Ind Ltd | Route generating method for moving robot |
JP2003029833A (en) * | 2001-07-19 | 2003-01-31 | Japan Atom Energy Res Inst | Method for generating autonomic traveling path of traveling object |
JP2005032196A (en) * | 2003-07-11 | 2005-02-03 | Japan Science & Technology Agency | System for planning path for moving robot |
JP2006350776A (en) * | 2005-06-17 | 2006-12-28 | Honda Motor Co Ltd | Traveling object route generating device |
JP2009025974A (en) * | 2007-07-18 | 2009-02-05 | Toyota Motor Corp | Route planning device and method, cost evaluation device, and traveling object |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9500487B2 (en) | 2011-12-27 | 2016-11-22 | Apple Inc. | Shortest path determination for large graphs |
US8861506B2 (en) | 2011-12-27 | 2014-10-14 | Apple Inc. | Shortest path determination for large graphs |
JP2013239035A (en) * | 2012-05-15 | 2013-11-28 | Toyota Motor Corp | Route planning method for movable body |
KR101576608B1 (en) | 2014-04-24 | 2015-12-15 | 버츄얼빌더스 주식회사 | Distance potential field calculating system and providing method thereof |
CN104613976B (en) * | 2014-08-26 | 2017-12-15 | 腾讯科技(深圳)有限公司 | Determine the method and device in path |
CN104613976A (en) * | 2014-08-26 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Path determination method and device |
JP2016057236A (en) * | 2014-09-11 | 2016-04-21 | 安川情報システム株式会社 | Self position estimation system and method for estimating self position |
CN105204511A (en) * | 2015-10-13 | 2015-12-30 | 王红军 | Decision-making method for autonomous movement of object |
CN105204511B (en) * | 2015-10-13 | 2018-01-09 | 王红军 | A kind of decision-making technique of object autonomous |
CN106020197A (en) * | 2016-06-30 | 2016-10-12 | 苏州坤厚自动化科技有限公司 | Potential-energy-field-based robot path tracking algorithm |
JP2018185633A (en) * | 2017-04-25 | 2018-11-22 | トヨタ自動車株式会社 | Autonomous mobile body |
JP2019035661A (en) * | 2017-08-15 | 2019-03-07 | トヨタテクニカルディベロップメント株式会社 | Route search device, route search method, and route search program |
JP2019175369A (en) * | 2018-03-29 | 2019-10-10 | 株式会社豊田自動織機 | Travel route generation device for cleaning robot |
JP7107757B2 (en) | 2018-06-06 | 2022-07-27 | 株式会社日立製作所 | Autonomous mobile device |
JP2019212079A (en) * | 2018-06-06 | 2019-12-12 | 株式会社日立製作所 | Autonomous mobile device |
CN112136090B (en) * | 2018-06-06 | 2024-03-26 | 株式会社日立制作所 | Autonomous mobile apparatus |
CN112136090A (en) * | 2018-06-06 | 2020-12-25 | 株式会社日立制作所 | Autonomous moving device |
CN109443363A (en) * | 2018-11-09 | 2019-03-08 | 厦门大学 | Certainty of dividing and ruling path optimizing algorithm |
JP6678831B1 (en) * | 2019-03-12 | 2020-04-08 | 三菱電機株式会社 | Control device and control method |
CN112214921B (en) * | 2020-10-27 | 2022-02-18 | 上海工程技术大学 | Three-dimensional slope stability evaluation method based on stress vector |
CN112214921A (en) * | 2020-10-27 | 2021-01-12 | 上海工程技术大学 | Three-dimensional slope stability evaluation method based on stress vector |
CN113190010A (en) * | 2021-05-08 | 2021-07-30 | 珠海市一微半导体有限公司 | Edge obstacle-detouring path planning method, chip and robot |
CN113190010B (en) * | 2021-05-08 | 2024-04-05 | 珠海一微半导体股份有限公司 | Edge obstacle detouring path planning method, chip and robot |
CN115509216A (en) * | 2021-06-21 | 2022-12-23 | 广州视源电子科技股份有限公司 | Path planning method and device, computer equipment and storage medium |
CN113791610A (en) * | 2021-07-30 | 2021-12-14 | 河南科技大学 | Global path planning method for mobile robot |
CN113791610B (en) * | 2021-07-30 | 2024-04-26 | 河南科技大学 | Global path planning method for mobile robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2011227807A (en) | Route search system, route search method, and mobile body | |
CN107436148B (en) | Robot navigation method and device based on multiple maps | |
JP7219812B2 (en) | Terrain-aware step planning system | |
US9207678B2 (en) | Method and apparatus for constructing map for mobile robot | |
CN108241370B (en) | Method and device for acquiring obstacle avoidance path through grid map | |
JP5998816B2 (en) | Route search method, route search device, robot control device, robot, and program | |
JP4251545B2 (en) | Route planning system for mobile robot | |
JP5685380B2 (en) | Route generation apparatus using grid map and operation method thereof | |
KR20210014065A (en) | Artificial intelligence deep learning target detection and velocity potential field algorithm based obstacle avoidance and autonomous navigation technique | |
JP2022511322A (en) | Dynamic stochastic exercise plan | |
CN108241369B (en) | Method and device for avoiding static obstacle for robot | |
CN107179082B (en) | Autonomous exploration method and navigation method based on fusion of topological map and measurement map | |
US11960297B2 (en) | Robot generating map based on multi sensors and artificial intelligence and moving based on map | |
JP2009053849A (en) | Path search system, path search method, and autonomous traveling body | |
KR101598385B1 (en) | Autonomous driving method and robot using recognition scene based on straight line information | |
KR20150144730A (en) | APPARATUS FOR RECOGNIZING LOCATION MOBILE ROBOT USING KEY POINT BASED ON ADoG AND METHOD THEREOF | |
CN113050632A (en) | Map exploration method and chip for robot to explore unknown area and robot | |
CN110597265A (en) | Recharging method and device for sweeping robot | |
EP2589933B1 (en) | Navigation device, method of predicting a visibility of a triangular face in an electronic map view | |
CN112237403B (en) | Covering path generation method for cleaning device and cleaning device | |
CN114343490B (en) | Robot cleaning method, robot, and storage medium | |
JP2007257094A (en) | Method for creating path, moving element and moving element control system | |
JP2010026727A (en) | Autonomous moving device | |
US20210200232A1 (en) | Method of generating scan path of autonomous mobile robot and computing device | |
JP5831356B2 (en) | Route planning method for moving objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120604 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130619 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130702 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131105 |