JPS63265312A - Searching method for traveling route - Google Patents

Searching method for traveling route

Info

Publication number
JPS63265312A
JPS63265312A JP62100740A JP10074087A JPS63265312A JP S63265312 A JPS63265312 A JP S63265312A JP 62100740 A JP62100740 A JP 62100740A JP 10074087 A JP10074087 A JP 10074087A JP S63265312 A JPS63265312 A JP S63265312A
Authority
JP
Japan
Prior art keywords
area
data
route
line segment
traveling
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
Application number
JP62100740A
Other languages
Japanese (ja)
Inventor
Hidetoshi Nogo
野吾 英俊
Hitoshi Komoriya
均 小森谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62100740A priority Critical patent/JPS63265312A/en
Publication of JPS63265312A publication Critical patent/JPS63265312A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0268Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
    • G05D1/0274Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means using mapping information stored in a memory device

Abstract

PURPOSE:To obtain a free and shortest traveling route by obtaining the data on a boundary line between two traveling areas as the continuous traveling areas and deciding a traveling route based on the relationship among the boundary line data, a start point and an end point. CONSTITUTION:A CPU 3 searches the traveling areas continuous toward an end point area from a start point area or vice versa and obtains the traveling route data via the traveling route conversion if the continuous traveling area are obtained. Then the CPU 3 obtains the boundary line coordinates of the continuous traveling areas with the area searching data 22 and defines an overlapping area in the Y axis direction as the boundary line data. Therefore the boundary lines l1-l9 among the traveling areas are obtained in the form of a sequence an the range of X and Y coordinates are stored in the area 22 as the boundary line data of the prescribed value. The route points are obtained by the traveling route conversion via the lines l1-l9 and the range of the boundary line data is limited. The limited segments are corrected by six patterns and processes repetitively until they are all turned into points.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第18図) 発明が解決しようとする問題点 問題点を解決するための手段(第1図)作用 実施例 (a)全体動作の説明 、 (第2図、第3図、第4図、第5図、第6図、第7
図) (b)走行領域探索処理の説明 (第8図、第9図、第10図、第11図)(c)移動経
路変換処理の説明・ (第12図、第13図、第14図、 第15図、第16図、第17図) (d)他の実施例の説明 発明の効果 〔概要〕 地図上で複数の走行領域を探索し、始点と終点を接続す
る連続した走行領域を探索し、更に連続した走行領域よ
り移動経路をえる移動経路探索方法において、連続走行
領域として走行領域間の境界線データを求め、境界線デ
ータと始点、終点との関係か・ら移動経路を決定するこ
とによって、自由で且つ最短の移動経路を求めるように
したものである。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Fig. 18) Problems to be solved by the invention Means for solving the problems (Fig. 1) Working examples (a ) Explanation of the overall operation, (Fig. 2, Fig. 3, Fig. 4, Fig. 5, Fig. 6, Fig. 7)
(Figure) (b) Explanation of the driving area search process (Figures 8, 9, 10, and 11) (c) Explanation of the travel route conversion process (Figures 12, 13, and 14) , Fig. 15, Fig. 16, Fig. 17) (d) Description of other embodiments Effects of the invention [Summary] A plurality of driving areas are searched on a map, and a continuous driving area connecting the starting point and the ending point is searched. In the travel route search method, which searches for and then determines the travel route from continuous travel areas, boundary line data between travel areas is determined as a continuous travel area, and the travel route is determined from the relationship between the boundary line data and the start point and end point. By doing this, the free and shortest travel route can be found.

〔産業上の利用分野〕[Industrial application field]

本発明は、自走車等の移動体の移動経路を障害物等の移
動環境を記述した地図を参照して探索する移動経路探索
方法に関する。
The present invention relates to a travel route search method for searching a travel route of a mobile object such as a self-propelled vehicle by referring to a map that describes the travel environment such as obstacles.

オフィスや工場などにおいて、自走車が搬送の自動化の
ため広く利用されている。
Self-propelled vehicles are widely used in offices and factories to automate transportation.

このような自走車の移動経路は、一般に経路をテープや
マークで設定し、自走車がこのテープやマークを検出し
て経路を走行する形式が採られている。
The travel route of such a self-propelled vehicle is generally set using a tape or mark, and the self-propelled vehicle detects the tape or mark and travels along the route.

しかしながら、テープ等で経路を設定するものでは、経
路が固定化され、オフィス等のレイアウトの変更が顯繁
に行われる場合には、テープ等の移設というやっかいな
手間を要す。
However, in the case where the route is set using tape or the like, the route is fixed, and when the layout of an office or the like is frequently changed, the troublesome work of relocating the tape or the like is required.

このため、オフィス等で障害物を避けて任意の経路を走
行する自立型自走車が求められており、特にその移動経
路の探索技術の開発が要求されている。
For this reason, there is a need for autonomous self-propelled vehicles that can travel along arbitrary routes while avoiding obstacles in offices and the like, and there is a particular need for the development of technology for searching routes.

〔従来の技術〕[Conventional technology]

係る経路の探索は、障害物の位置と形をデータベース化
して地図として保持し、自走車の位置と状態を参照する
ことによって実行されるものであった。
Such route searches were performed by creating a database of the positions and shapes of obstacles, storing it as a map, and referring to the position and status of the self-propelled vehicle.

この地図から移動経路を探索する方法として、従来第1
8図に示すものが知られている(例えば、情報処理学会
第32回合国大会論文番号5N−6参照)。
Conventionally, the first method of searching for travel routes from this map was
The one shown in FIG. 8 is known (for example, see Paper No. 5N-6 of the 32nd Annual Conference of the Information Processing Society of Japan).

即ち、第18図(A)に示す如く、2つの障害物OBI
、OB2をデータとして有する地図1に対し、始点がP
s、終点がPfと与えられた場合には、先づ地図1から
第18図(B)の如く地図■の領域の障害物OBI、O
B2を除いた領域を長方形の走行領域(走行できる領域
)A、B、C1DSESFに分割し、領域A−F間を接
続するネットワークを作る。
That is, as shown in FIG. 18(A), two obstacles OBI
, OB2 as data, the starting point is P
s, and the end point is given as Pf, first the obstacles OBI, O in the area of the map ■ from map 1 to FIG.
The area excluding B2 is divided into rectangular driving areas (driving areas) A, B, and C1DSESF, and a network connecting areas A to F is created.

次に、領域A−Fのネットワークを探索し、複数の連続
する走行領域を求める。この場合、PsからPfへ向か
う領域(経路)は、(ACF)、(ACDEF)、(A
BDCF)、(ABDEF)の4つである。
Next, the network of areas A to F is searched to find a plurality of continuous driving areas. In this case, the area (route) from Ps to Pf is (ACF), (ACDEF), (A
There are four types: BDCF) and (ABDEF).

更にそれぞれの領域経路から走行経路r1〜r4を第1
8図(C)の如く生成し、各々に対し距離等によるコス
ト評価を行い、第18図(D)の如く経路r4を決定す
る。
Furthermore, the travel routes r1 to r4 are first selected from each region route.
The route r4 is generated as shown in FIG. 8(C), the cost is evaluated based on distance, etc. for each route, and the route r4 is determined as shown in FIG. 18(D).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来技術においては、始点Psと終点PIを
接続する連続した走行領域を求めた後の、移動経路は領
域や壁等に並行に一義的に決定するものであった。
In such conventional technology, after finding a continuous travel area connecting the starting point Ps and the ending point PI, the moving route is uniquely determined in parallel to the area, wall, etc.

このため、係る経路しか採ることができず、領域内で自
由に特に最短経路を得ることができないという問題があ
った。
For this reason, there is a problem in that only such routes can be taken, and it is not possible to freely obtain the shortest route within the area.

本発明は、求めた走行領域から自由に且つ最短の経路を
容易に得ることのできる移動経路探索方法を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a travel route search method that can freely and easily obtain the shortest route from the determined travel area.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図(A)に示す地図1の障害物OBI〜OB5を除
いた領域の分割された走行領域を調べ、第1図(B)の
ように、始点psと終点prを結ぶ連続した走行領域(
第1図(A)のB、C,D、E、F、G、H)を探索し
、これらの走行領域間の境界線をデータとする。
The divided driving area of the map 1 shown in FIG. 1(A) excluding obstacles OBI to OB5 is examined, and as shown in FIG. 1(B), a continuous driving area connecting the starting point ps and the ending point pr. (
B, C, D, E, F, G, H) in FIG. 1(A) are searched, and the boundaries between these travel areas are used as data.

次に、この境界線と始点、終点との関係から移動経路と
決定するようにしている。
Next, a travel route is determined based on the relationship between this boundary line, the starting point, and the ending point.

〔作用〕[Effect]

本発明では、探索した走行領域そのものを用いるのでな
く、その境界線を用いて経路を決定している。即ち、始
点と終点を結ぶ移動経路は必ずこの境界線を順に通過し
ていく必要がある。
In the present invention, the route is determined not by using the searched travel area itself, but by using its boundaries. That is, the movement route connecting the starting point and the ending point must always pass through this boundary line in order.

従って、線分である境界線と始点、終点の関係より自由
で且つ最短な経路を容易に決定することができる。
Therefore, a free and shortest route can be easily determined based on the relationship between the boundary line, which is a line segment, the starting point, and the ending point.

尚、図において走行領域を軸(X軸方向に平行に分割し
たもの)を用いているが、これは連続する走行領域を軸
方向に探索するだけで容易に探索できるようにしたもの
であり、これに限られることはない。
In addition, although the running area is used as an axis (divided parallel to the X-axis direction) in the figure, this makes it possible to easily search a continuous running area by simply searching in the axial direction. It is not limited to this.

〔実施例〕〔Example〕

(a)全体動作の説明 第2図は本発明のための一実施例ブロック図である。 (a) Explanation of overall operation FIG. 2 is a block diagram of one embodiment of the present invention.

図中、2はメモリであり、地図データと探索データを格
納するものであり、第5図で後述する如く、地図1上の
障害物の位置を座標で持つ障害物データエリア20、第
6図で後述する如く、地図1・上の分割した各走行領域
をデータとして持つ走行領域データエリア21、第10
図で後述する如く走行領域の探索によって得られた領域
探索データのエリア22、及び移動経路の決定により得
た経路データの格納エリア23とを含むものである。
In the figure, 2 is a memory that stores map data and search data, and as will be described later in FIG. As will be described later, the driving area data area 21 and the 10th area have each divided driving area on the map 1 as data.
As will be described later in the figure, it includes an area 22 for area search data obtained by searching the travel area, and a storage area 23 for route data obtained by determining the travel route.

3はCPU (プロセッサ)であり、始点Ps、終点P
fや障害物位置が入力され、障害物データ、走行領域デ
ータの作成や、走行領域の探索処理(第7図、第9図、
第11図)と、移動経路の決定処理(第12図)を行い
、求めた経路データを自走車に指令するもの、4は無線
インターフェイス部であり、求めた経路データやその他
の指令を無線により自走車へ与えるものである。
3 is a CPU (processor), which has a starting point Ps and an ending point P
f and obstacle positions are input, and the creation of obstacle data, driving area data, and driving area search processing (Figs. 7, 9,
(Fig. 11) and a unit that performs the travel route determination process (Fig. 12) and instructs the self-propelled vehicle with the determined route data. 4 is a wireless interface unit that wirelessly transmits the determined route data and other commands. This applies to self-propelled vehicles.

第3図及び第4図は本発明の一実施例地図(環境)デー
タの説明図、第5図は本発明の一実施例障害物データの
説明図、第6図は本発明の一実施例走行領域データの説
明図である。
3 and 4 are explanatory diagrams of map (environment) data according to one embodiment of the present invention, FIG. 5 is an explanatory diagram of obstacle data according to one embodiment of the present invention, and FIG. 6 is an explanatory diagram of one embodiment of the present invention. FIG. 3 is an explanatory diagram of driving area data.

全体の領域やそこに存在する障害物の位置や大きさは、
二次元の地図上に表すことができる。そこで、第3図(
A)に示す如く、XSY座標系で全体領域を示し、障害
物は、地図上の座標で占める範囲を表す。
The position and size of the entire area and obstacles that exist there,
It can be represented on a two-dimensional map. Therefore, Figure 3 (
As shown in A), the entire area is shown in the XSY coordinate system, and the range occupied by the obstacle is shown in the coordinates on the map.

このためには、予じめ用意しであるX−Y座標系の地図
1に対し、障害物OBI〜OB5の位置座標を入力すれ
ばよい。
To do this, the position coordinates of the obstacles OBI to OB5 may be input to the map 1 of the X-Y coordinate system prepared in advance.

一方、経路を探索する際には、走行する物体に大きさが
あるため、障害物の範囲を走行物体の大きさで拡張して
、走行物体を点と考えると都合がよい。例えば走行物体
の最小通過可能幅が60C11の場合には、障害物の範
囲を30am外側に拡張する。これにより、幅60(至
)以下の領域は通行不能となり、走行物体より狭い領域
は探索されなくなる。第3図(A)の様に障害物(斜線
部)が存在する環境の、障害物データでの通行不能範囲
は、第3図(B)のように斜線部に点線部を加えたもの
として仮定される。
On the other hand, when searching for a route, since moving objects have different sizes, it is convenient to expand the range of obstacles by the size of the moving object and consider the moving object as a point. For example, if the minimum passable width of a running object is 60C11, the range of the obstacle is expanded to the outside by 30 am. As a result, areas with a width of 60 mm or less become impassable, and areas narrower than the running object are no longer searched. In an environment where obstacles (shaded area) exist as shown in Figure 3 (A), the impassable range based on the obstacle data is calculated as the hatched area plus the dotted line area as shown in Figure 3 (B). It is assumed.

そして、これにより得られた領域を軸方向に所定間隔で
分割し、各XならびにY座標に存在する障害物領域に含
まれる線分の集合として障害物データを表す。
The area thus obtained is divided at predetermined intervals in the axial direction, and obstacle data is expressed as a set of line segments included in the obstacle area existing at each X and Y coordinate.

例えば、第3図(B)の障害物が配置された、XSY1
0m四方の空間を1単位の地図上に表した場合に第5図
のような障害物データとなる。
For example, XSY1 where the obstacles shown in FIG. 3(B) are placed.
When a space of 0 m square is represented on a map of 1 unit, the obstacle data is as shown in Fig. 5.

即ち、X軸の100cm(In)毎にY軸方向の通行不
能域の始端Ysiと終端Yfiを、Y軸の1001毎に
X軸方向の通行不能域の始端Xsiと終端Xfiを障害
物データとしてエリア2oに格納する。この時、障害物
領域の拡張により範囲が重なった場合は、まとめて一つ
の範囲として扱う。
That is, the starting point Ysi and the ending point Yfi of the impassable area in the Y-axis direction are set for every 100 cm (In) of the X-axis, and the starting point Xsi and the ending point Xfi of the impassable area in the X-axis direction are used as obstacle data for every 1001 cm (In) of the Y-axis. Store in area 2o. At this time, if the ranges overlap due to expansion of the obstacle area, they are treated as one range.

図でobxと表しであるのが、X方向に領域を分割した
ものであり、obyがY方向である。例エバ、obx2
(7)(200、(650,800))は、X座標が2
00の所ではY座標650がら800の間に通行不能領
域があることを示し、この他にX座標が200の所では
、Y座標0がら3o、200から450.970から1
000(7)間が通行不能領域である。
In the figure, obx represents the region divided in the X direction, and oby represents the Y direction. Example Eva, obx2
(7) (200, (650, 800)) has an X coordinate of 2
00 indicates that there is an impassable area between Y coordinates 650 and 800, and in addition, at an X coordinate of 200, the Y coordinate is 0 to 3o, 200 to 450, and 970 to 1
The area between 000(7) is an impassable area.

環境データのうち障害物のない走行可能な範囲を示した
のが、走行領域データである。
Of the environmental data, driving area data indicates the range in which the vehicle can travel without obstacles.

このデータは、障害物データを比較し、障害物のない範
囲をまとめることによって作成している。
This data is created by comparing obstacle data and summarizing the range without obstacles.

従って、第4図(A)、(B)に示す様に障害物の輪郭
の延長線で、走行が可能な領域を分割した様になってい
る。
Therefore, as shown in FIGS. 4(A) and 4(B), the area in which the vehicle can run is divided by an extension of the outline of the obstacle.

走行領域データは、第4図(A)に示す様にX軸方向に
、第4図(B)に示すようにY軸方向にそれぞれ他の軸
と平行に領域分割して作成する。
The travel area data is created by dividing the area in the X-axis direction as shown in FIG. 4(A) and in the Y-axis direction as shown in FIG. 4(B) in parallel to other axes.

即ち、第6図に示すように、第4図(A)に示すX軸方
向に沿って平行に走行領域FXI、FX2a・・・を分
割したものについては、分割した領域FXI、F X 
2 a−・のX軸上の始端Xn、終端Xn′と、Y軸上
の始端Yn、終端Yn’が走行領域データである。同様
に第4図(B)に示すY軸方向に沿って平行に走行領域
FYI、FY2a・−を分割したものについては、分割
した領域FYI、F Y 2 a−・のY軸上の始端Y
 n %終端Yn’と、X軸上の始端Xn、終端Xn’
が走行領域データである。これらは、エリア21に格納
される。
That is, as shown in FIG. 6, when the traveling areas FXI, FX2a, etc. are divided in parallel along the X-axis direction shown in FIG. 4(A), the divided areas FXI, FX
The starting end Xn and ending point Xn' on the X-axis of 2a-., and the starting end Yn and ending point Yn' on the Y-axis are running area data. Similarly, when the running areas FYI, FY2a- are divided parallel to the Y-axis direction shown in FIG. 4(B), the starting end Y on the Y-axis of the divided areas FYI, FY2a-.
n % end Yn', start end Xn on the X axis, end Xn'
is the driving area data. These are stored in area 21.

例えば、第6図のFXIのデータは第4図(A)゛の左
端の長方形FXIを示しており、X座標が40から12
0で、Y座標が40から970の範囲が走行領域である
ことを表している。
For example, the FXI data in Figure 6 shows the leftmost rectangle FXI in Figure 4 (A), and the X coordinate is from 40 to 12.
0, which indicates that the range of Y coordinates from 40 to 970 is the driving area.

このようにして、CPU3に入力された障害物の座標は
第5図の如くの障害物データに演算され、メモリ2のエ
リア20に格納され、この障害物データを用いてCPU
3は第6図の走行領域データをX、Y軸について作成し
、メモリ2のエリア21に格納しておく。
In this way, the coordinates of the obstacle input to the CPU 3 are calculated into obstacle data as shown in FIG. 5, and stored in the area 20 of the memory 2.
3 creates the travel area data of FIG. 6 for the X and Y axes and stores it in the area 21 of the memory 2.

このような障害物の位置は前もってわかっているため、
実際に自走車の走行以前に、これらを地図データとして
メモリ2に用意しておく。
Since the location of such obstacles is known in advance,
These are prepared in the memory 2 as map data before the self-propelled vehicle actually runs.

このような地図データ(環境データ)をもとに、次の2
段階に分けて経路探索を行う。
Based on such map data (environmental data), the following two
Route search is performed in stages.

一つは走行領域データから、通過すべき領域の境界線を
探索し、経路となる可能性のある移動領域を決定する処
理(走行領域探索処理)である。
One is a process (driving area search process) in which a boundary line of an area to be passed is searched from the driving area data to determine a movement area that has a possibility of becoming a route.

そしてもう・一つは通過する境界線のデータから経路点
を求めることにより、移動領域を移動経路へ変換する処
理(移動経路変換処理)である。
The other is a process of converting a moving area into a moving route (moving route conversion process) by finding route points from the data of the boundary lines to be passed.

第7図は本発明の一実施例探索処理フロー図である。FIG. 7 is a flowchart of a search process according to an embodiment of the present invention.

(a−1)CPU3に自走車の始点Psと終点Pfの座
標が入力されると、メモリ2のエリア21の走行領域デ
ータを参照し、始点Psの属する走行領域と、終点pr
の属する走行領域を求める。
(a-1) When the coordinates of the starting point Ps and the ending point Pf of the self-propelled vehicle are input to the CPU 3, the driving area data in the area 21 of the memory 2 is referred to, and the driving area to which the starting point Ps belongs and the ending point pr
Find the travel area to which .

即ち、始点領域と終点領域の同定を行う。That is, the starting point area and the ending point area are identified.

例えば、第1図(A)のように始点Ps、終点Pfが与
えられると、第4図(A)のX方向のものに対しては、
始点領域はFXI、終点領域はFX9b、第4図(B)
のY方向のものに対しては、始点領域はFY5a、終点
領域はFY8bとなる。
For example, if the starting point Ps and ending point Pf are given as shown in FIG. 1(A), for the X direction in FIG. 4(A),
The starting point area is FXI, the ending point area is FX9b, Figure 4 (B)
For those in the Y direction, the starting point area is FY5a and the ending point area is FY8b.

この始点領域及び終点領域が連続領域の探索開始領域と
なる。
The starting point area and the ending point area become search start areas for continuous areas.

(a−2)次に、CPU3は始点領域から終点領域に向
かって連続する走行領域を探索する走行領域探索処理を
行う。この内容は(b)で説明する。
(a-2) Next, the CPU 3 performs a driving area search process to search for a continuous driving area from the starting point area to the ending point area. This content will be explained in (b).

ここで、連続する走行領域が探索されれば、(存在すれ
ば)これによって(c)で説明する移動経路変換処理を
行い移動経路データを得る。逆に連続する走行領域が存
在しないと判断すると、始点からの連続領域は発見でき
ないと判定する。
Here, if a continuous travel area is searched (if it exists), the travel route conversion process described in (c) is performed based on this search to obtain travel route data. Conversely, if it is determined that there is no continuous travel area, it is determined that a continuous area from the starting point cannot be found.

(a −3)次に、CPU3は終点領域から始点領域に
向かって連続する走行領域を(b)で説明する処理で探
索する。
(a-3) Next, the CPU 3 searches for a continuous running area from the end point area to the start point area by the process described in (b).

前述と同様、連続する走行領域が存在すれば、これによ
って(C)で説明する移動経路変換処理で移動経路デー
タを得る。逆に連続する走行領域が存在しないと判断す
ると、終点からの連続領域は発見できないと判定する。
As described above, if there is a continuous travel area, travel route data is obtained by the travel route conversion process described in (C). Conversely, if it is determined that there is no continuous travel area, it is determined that a continuous area from the end point cannot be found.

(a−4)CPU3は、このようにして経路データを求
め、メモリ2のエリア23に格納し、経路は1つであっ
たかを調べる。即ち、始点からの探索又は終点からの探
索のいずれか一方でしか経路データが得られなかったか
を判定する。
(a-4) The CPU 3 thus obtains the route data, stores it in the area 23 of the memory 2, and checks whether there is only one route. That is, it is determined whether route data was obtained only by searching from the starting point or searching from the ending point.

経路が1つであれば、これを移動経路として採用し、終
了する。
If there is only one route, this is adopted as the movement route and the process ends.

(a−5)一方、CPU3は経路が1つでないと判定す
ると、経路は始点からの探索と終点からの探索との2つ
えられているから、この2つの経路が同一であるかを調
べる。
(a-5) On the other hand, if the CPU 3 determines that there is not one route, since there are two routes, one searching from the starting point and the other searching from the ending point, it checks whether these two routes are the same.

同一であれば、これを移動経路として採用する。If they are the same, this is adopted as the travel route.

(a−6)一方、2つの経路が同一でなければ、CPU
3はいずれか一方を選択する。
(a-6) On the other hand, if the two routes are not the same, the CPU
3 select either one.

このためCPU3は、2つの経路の各々の距離を計算し
、距離の短い方を移動経路として採用し、終了する。
Therefore, the CPU 3 calculates the distance of each of the two routes, selects the shorter distance as the travel route, and ends the process.

このように、探索は始点から終点方向と、終点から始点
方向の二回行い、距離の短い方を経路として採用してい
る。これは、経路探索において、最適解である可能性の
高い候補データからチェックしているが、一つの経路が
発見された時点で探索を終了しているので、反対方向か
らの探索により、別の経路の可能性を調べるためのもの
である。
In this way, the search is performed twice, from the starting point to the ending point and from the ending point to the starting point, and the one with the shorter distance is adopted as the route. This is because when searching for a route, the candidate data that is most likely to be the optimal solution is checked, but since the search ends when one route is discovered, searching from the opposite direction will result in another This is to investigate route possibilities.

(b)走行領域探索処理の説明 第8図は本発明の一実施例走行領域探索処理フロー図、
第9図及び第1O図は本発明の一実施例探索動作説明図
である。
(b) Description of driving area search process FIG. 8 is a flowchart of driving area searching process according to an embodiment of the present invention.
FIG. 9 and FIG. 1O are explanatory diagrams of a search operation according to an embodiment of the present invention.

■ CPU3は、第7図のステップ(a−1)で得尼探
索開始領域の座標をAs、探索終了領域の座標をAeに
セットする。
(2) In step (a-1) of FIG. 7, the CPU 3 sets the coordinates of the search start area to As and the coordinates of the search end area to Ae.

この探索は始点と終点の位置関係によりX軸方向から行
うかY軸方向から行うかを決定する。
Whether this search is performed from the X-axis direction or the Y-axis direction is determined depending on the positional relationship between the starting point and the ending point.

第9図に示すように、始点Ps、終点Pfの2点を結ん
だ直線の傾きを求め、傾きに近い軸方向から探索を行う
As shown in FIG. 9, the inclination of a straight line connecting two points, the starting point Ps and the ending point Pf, is determined, and the search is performed from the axial direction closest to the inclination.

即ち、第9図(A)ではX軸、第9図(B)ではY軸方
向から行い、第9図(A)では第6図のX軸方向の走行
領域データが、第9図(B)では第6図のY軸方向の走
行領域データが用いられる。
That is, in FIG. 9(A), the traveling area data in the X-axis direction and in FIG. 9(B) are from the Y-axis direction, and in FIG. 9(A), the traveling area data in the X-axis direction in FIG. ), the travel area data in the Y-axis direction shown in FIG. 6 is used.

前述の例では、ステップ(a −2)では、AsにFX
I、AeにFY9bの座標が、ステップ(a−3)では
、AsにFY9bSAeにFXIの座標がセットされる
In the above example, in step (a-2), As is FX
The coordinates of FY9b are set in I and Ae, and in step (a-3), the coordinates of FXI are set in As and FY9bSAe.

そして、CPU3は探索ポインタN=1(初期値)とし
、AsをANに代入する。
Then, the CPU 3 sets the search pointer N to 1 (initial value) and assigns As to AN.

■ CPU3は、終了領域AeにANが等しいかを調べ
、等しくないと、終了領域Aeに達していないため、隣
接する領域を走行領域データエリア21 (第6図)を
参照して検索する。
(2) The CPU 3 checks whether AN is equal to the end area Ae, and if not, the end area Ae has not been reached, and the CPU 3 searches for an adjacent area by referring to the travel area data area 21 (FIG. 6).

この時終了領域に向けて軸方向に座標を単調増加又は単
調減少して選択を行っている。
At this time, selection is performed by monotonically increasing or decreasing the coordinates in the axial direction toward the end region.

そして、CPU3は隣接する移動(走行)領域があるか
を判定する。これはX軸の始端(又は終端)が領域AN
のX軸の終端(又は始端)に一致し、且つY軸の範囲が
領域ANのY軸の範囲と重なるものを探す。
Then, the CPU 3 determines whether there is an adjacent movement (traveling) area. This means that the start (or end) of the X axis is the area AN
, and whose Y-axis range overlaps with the Y-axis range of the area AN.

■ 移動領域があると判定されると、探索された領域は
複数かを判定する。
■ If it is determined that there is a moving area, it is determined whether there are multiple searched areas.

複数でなければ、ステップ■に飛ぶ。If there are not more than one, jump to step ■.

一方、移動領域の候補となる隣接した走行領域が複数存
在する場合には、始点と終点を結ぶ直線に近い領域から
候補として選択し、他はキューに格納しておく。
On the other hand, if there are a plurality of adjacent travel areas that are candidates for the moving area, the areas closest to the straight line connecting the starting point and the ending point are selected as candidates, and the others are stored in a queue.

■ 次に、CPU3は次の領域を探索すべく、探索ポイ
ンタN@N+1に更新する。
(2) Next, the CPU 3 updates the search pointer to N@N+1 in order to search the next area.

■ 次に、CPU3は選択した領域を連続領域として、
メモリ2のエリア22に格納し、これをANに代入して
、ステップ■に戻る。
■ Next, the CPU 3 sets the selected area as a continuous area.
Store it in area 22 of memory 2, assign it to AN, and return to step (2).

■ 一方、ステップ■で移動領域がなしと判定されると
、経路が袋小路に飛び込んだことになる。
(2) On the other hand, if it is determined in step (2) that there is no moving area, this means that the route has entered a dead end.

このため、CPU3はステップ■で以前に捨ててキュー
に格納した要素(領域)があるかを調べる。
Therefore, the CPU 3 checks in step (2) whether there is an element (area) that was previously discarded and stored in the queue.

あれば、最前の要素のポインタMを探索ポインタNとし
、これ以降の探索してエリア22に格納したデータ(選
択領域)を解放し、捨てて、そのキューの領域を選択領
域としステップ■の選択領域の格納に飛ぶ。
If so, the pointer M of the foremost element is set as the search pointer N, the data (selection area) searched for after this point and stored in area 22 is released and discarded, and the area of the queue is set as the selection area and selection in step (■) is made. Fly to storage area.

一方、キューに要素がなければ、連続領域はこれ以上探
索できないので、連VteTI域不存在として、終了す
る。
On the other hand, if there is no element in the queue, the continuous area cannot be searched any further, so it is assumed that the continuous VteTI area does not exist, and the process ends.

■ 一方、ステップ■でANが終了領域Aeに一致した
と判定すると、領域探索が終了領域まで行われたことに
なり、終了する。この時、メモリ2のエリア22には始
点と終点を結ぶ連続領域が格納されたことになる。
(2) On the other hand, if it is determined in step (2) that AN matches the end area Ae, it means that the area search has been performed up to the end area and ends. At this time, a continuous area connecting the starting point and the ending point is stored in the area 22 of the memory 2.

例えば、第10図(A)の如く、障害物OBI〜OB5
が配置され、始点Ps、終点Pfが与えられると、始点
Psと終点Pfを結ぶ連続領域は″ 第10図(A)の
如く、FX2a−FX3b−FX4 b−FX5−FX
6 b−FX7 b−FX8 b−FX9aとなる。
For example, as shown in Figure 10 (A), obstacles OBI to OB5
is placed and given the starting point Ps and the ending point Pf, the continuous area connecting the starting point Ps and the ending point Pf is ``FX2a-FX3b-FX4 b-FX5-FX as shown in Figure 10 (A).
6 b-FX7 b-FX8 b-FX9a.

この探索では、軸方向に座標が単調増加もしくは、単調
減少するものだけを選んでいる。したがって、座標値が
目標を超えた時点で探索は失敗し、次の候補を調べる。
In this search, only those whose coordinates monotonically increase or decrease in the axial direction are selected. Therefore, when the coordinate value exceeds the target, the search fails and the next candidate is examined.

すべての候補について接続の可能性を調べ、その方向で
経路が発見できない場合には、もう一つの軸方向でも同
じように探索を行う。
The possibility of connection is checked for all candidates, and if a route cannot be found in that direction, a similar search is performed in the other axis direction.

両輪方向からの探索で、経路が発見できない場合には、
最初に調べた軸方向について、移動できるすべての領域
を候補として探索を行う。
If the route cannot be found by searching from both wheels,
In the first axis direction, all movable regions are searched as candidates.

つまり、S字状の経路や、一度目積地から遠ざかるよう
な経路となる領域についても調べる。
In other words, areas that become S-shaped routes or routes that move away from the destination are also investigated.

この際、一度通過した境界線にはフラグを付け、探索が
無限ループに陥らないようにしている。
At this time, a flag is attached to the boundary line that has been passed once to prevent the search from falling into an infinite loop.

以上のような領域探索上の制限は、求める経路をできる
だけ最短にするために行っている。
The above-mentioned restrictions on the area search are made in order to make the route to be found as short as possible.

次に求められた走行領域の連続から通過すべき境界線の
データ(ラインデータ)を求める。
Next, the data (line data) of the boundary line to be passed is determined from the determined continuation of the driving area.

これは、CPU3が前述のエリア22の連続する走行領
域の境界線座標を求め、Y軸方向の重なる範囲を境界線
データとする。
In this case, the CPU 3 determines the boundary line coordinates of continuous driving areas of the aforementioned area 22, and sets the overlapping range in the Y-axis direction as boundary line data.

従って、第10図(B)、(C)に示す如く、走行領域
の境界線J、−1,がシーケンスとして得られ、これら
はそのX座標と、Y座標の範囲が第10図(C)の如く
境界線データとしてエリア22に格納される。
Therefore, as shown in FIGS. 10(B) and 10(C), the boundary lines J, -1, of the running area are obtained as a sequence, and the ranges of their X and Y coordinates are as shown in FIG. 10(C). This is stored in area 22 as boundary line data.

得られた境界線のシーケンスは、冗長性のある境界デー
タから作成されているため、データの圧縮を行える場合
がある。即ち、実際には一つと見なされるような領域中
に存在する境界データは、それが何本存在しても、その
両端の線分データ以外は不要である。なぜなら、両端の
データで求める経路が規定されてしまうからである。
Because the resulting sequence of boundaries is created from redundant boundary data, data compression may be possible. That is, no matter how many pieces of boundary data exist in a region that is actually considered to be one, data other than line segment data at both ends are unnecessary. This is because the route to be sought is defined by the data at both ends.

第10図のように移動領域が求まった場合を考えてみる
。この移動領域中の境界線のシーケンスは、第10図(
C)のように表される。この時、X座標が600.72
0.820である三つの線分lい1..1.は同じ矩形
の領域中に存在する。
Consider the case where the moving area is determined as shown in FIG. The sequence of boundaries in this moving region is shown in Figure 10 (
C). At this time, the X coordinate is 600.72
Three line segments that are 0.820 1. .. 1. exist in the same rectangular area.

従ってこの三つのデータを、領域の両端にある二つのデ
ータ(線分l4、fig)で代表することができる。
Therefore, these three pieces of data can be represented by two pieces of data (line segment l4, fig) at both ends of the area.

第11図はこのためのデータ圧縮フロー図である。FIG. 11 is a data compression flow diagram for this purpose.

先づ、CPU3は線分ポインタNを初期値「1」とする
First, the CPU 3 sets the line segment pointer N to an initial value "1".

次に、N番目の線分データ1、N+1番目の線分データ
を入力する。
Next, Nth line segment data 1 and N+1th line segment data are input.

このN+1番目の線分データが最後の線分データ(図で
は2.)かを判定し、最後の線分データなら、終了する
It is determined whether this N+1-th line segment data is the last line segment data (2. in the figure), and if it is the last line segment data, the process ends.

最後の線分データでなければ、N+2番の線分データを
入力し、3線分の範囲(図ではY軸方向の範囲)が同じ
かを判定し、同じでなければ、線分省略せず、次の線分
の判定のためNをN+1とし、上述のN番目の線分デー
タ入力に戻る。
If it is not the last line segment data, enter the N+2 line segment data, determine whether the range of the three line segments (range in the Y-axis direction in the figure) is the same, and if they are not the same, do not omit the line segment. , N is set to N+1 to determine the next line segment, and the process returns to inputting the Nth line segment data described above.

一方、同じであれば、中間のN+12番目のデータ(線
分)を削除し、同様に上述のN番目の線分データの入力
に戻る。
On the other hand, if they are the same, the intermediate N+12th data (line segment) is deleted and the process returns to inputting the Nth line segment data as described above.

このようにして得られた最終的な線分は11、Itz、
13.14、l2、Rh5R,、l、であり、与えられ
た二点を接続するためには、上記の線分を順に通過する
ことが必要である。
The final line segment obtained in this way is 11, Itz,
13.14, l2, Rh5R,, l, and in order to connect two given points, it is necessary to pass through the above line segments in order.

これらの線分(境界線)データと始点Ps、終点Pfの
座標は次の(C)で説明する経路変換処理のためエリア
22に領域探索データとして格納される。
These line segment (boundary line) data and the coordinates of the starting point Ps and ending point Pf are stored as area search data in the area 22 for the route conversion process described in the next (C).

(C)移動経路変換処理の説明 次にこのような線分を用いて経路点を求める。(C) Explanation of movement route conversion process Next, route points are determined using such line segments.

経路点は得られた移動領域内でできるだけ短くなるよう
に次のようにして決定される。
The route points are determined as follows so as to be as short as possible within the obtained movement area.

先づ、通過線分の修正を行う。即ち、連続する3つの通
過線分もしくは通過点の関係から、境界線データの範囲
をさらに限定する。
First, the passing line segment is corrected. That is, the range of the boundary line data is further limited based on the relationship between three consecutive passing line segments or passing points.

第12図及び第13図は係る通過線分修正説明図である
FIGS. 12 and 13 are explanatory views of such passing line segment correction.

先づ、3つの線分Ll((XI、Yl 1)、(Xi、
Yl2))、L2  ((X2、Y21)、(X2、Y
22))、L3 1X3、YS 1)、(X3、Y32
))について関係を考えると、以下の6つのパターンが
ある。
First, three line segments Ll ((XI, Yl 1), (Xi,
Yl2)), L2 ((X2, Y21), (X2, Y
22)), L3 1X3, YS 1), (X3, Y32
)) When considering the relationship, there are the following six patterns.

パターン1;第12図(A)のように最初の二つの線分
L1、L2を投影した線分が最後の線分L3を完全に包
含する場合:この場合は、中間の線分L2は不要であり
、中間の線分L2は省略する。
Pattern 1: As shown in Figure 12 (A), when the line segment projected from the first two line segments L1 and L2 completely encompasses the last line segment L3: In this case, the middle line segment L2 is unnecessary. , and the middle line segment L2 is omitted.

即ち、線分L3の線上の、線分L1の両端と線分L2の
両端を通過する線の交点YS1、YS2、YLI、YL
2を求め、・これと線分L3を比較すればよい。
That is, the intersection points YS1, YS2, YLI, YL on the line segment L3 that pass through both ends of the line segment L1 and both ends of the line segment L2.
2 and compare it with line segment L3.

この時、YSx(YSI、YS2) 、YLx(9L1
、YL2)は次式によって求まる。
At this time, YSx (YSI, YS2), YLx (9L1
, YL2) is determined by the following equation.

YSx−(Y21−Yl x)X (X3−XI)/(
X2−XI)+Y1x  −−−−−−11)YLx=
 (Y22−Ylx)X (X3−Xi)/(X 2−
 X 1 ) + Y 2 x  −−−−−−−(2
)但し、Xは1又は2である。
YSx-(Y21-Yl x)X (X3-XI)/(
X2−XI)+Y1x −−−−−−11) YLx=
(Y22-Ylx)X (X3-Xi)/(X 2-
X 1 ) + Y 2 x −−−−−−−(2
) However, X is 1 or 2.

従って、図よりXI<X2、YXI<YX2であるとき
、 YSI<Y31かつY32<YLI・−・・−・(3)
であれば、線L2を省略する。
Therefore, from the figure, when XI<X2 and YXI<YX2, YSI<Y31 and Y32<YLI...(3)
If so, line L2 is omitted.

パターン2;第12図(B)のように投影した線分(Y
S2、YL2)、(YSI、YLl)が、最後の線分に
包含される場合;この場合は、データの省略は生じない
Pattern 2: Line segments (Y
S2, YL2), (YSI, YLl) are included in the last line segment; in this case, no data is omitted.

これは(1)、(2)式よりYSx、YLxを求め、 Y31<YSIかつYL2<Y32−・・−(4)であ
ることにより判定できる。
This can be determined by finding YSx and YLx from equations (1) and (2) and determining that Y31<YSI and YL2<Y32--(4).

パターン3;第13図(A)のように投影した線分が、
最後の線分L3よりY座標が大きい場合;この場合は、
中間の線分L2はそのY座標の最小の点(X2、Y21
)に圧縮される。
Pattern 3: The line segments projected as shown in Figure 13 (A) are
If the Y coordinate is larger than the last line segment L3; in this case,
The intermediate line segment L2 is the minimum point of its Y coordinate (X2, Y21
).

これは、最初と最後の線分L1、L3上の点を結ぶ総て
の直線は、中間の線分L2よりY座標の小さい領域を通
過するので、移動可能領域内においては、この最小点(
X2、Y21)を通過するのが最短となるからである。
This is because all straight lines connecting the points on the first and last line segments L1 and L3 pass through an area with a smaller Y coordinate than the middle line segment L2, so within the movable area, this minimum point (
This is because passing through X2, Y21) is the shortest time.

この条件は(1)式のYS2が、 YS 1 <YS 2−−一−−・−(5)であること
により判定される。
This condition is determined by the fact that YS2 in equation (1) satisfies YS 1 <YS 2 - - - (5).

パターン4;第13図(B)のように線分がL3よりY
座標の小さいところに投影される場合;この場合は、パ
ターン3とは逆に、データは線分L2のY座標最大(X
2、Y22)の点に修正される。
Pattern 4: As shown in Figure 13 (B), the line segment is from L3 to Y
When projected onto a location with small coordinates; in this case, contrary to pattern 3, the data is projected at the maximum Y coordinate (X
2, Y22).

この条件は、同様に(2)式のYLIがYLI<Y31
−・・・・−(6) である。
This condition also means that YLI in equation (2) is YLI<Y31
−・・・・−(6) It is.

パターン5;第13図(C)のように投影された線分が
、最後の線分L3の最大値と交差する場合には、中間の
線分L2は図のように、左右の線分L1、L3の最大値
を結んだ直線との交点NPから最小端(X2、Y21)
までにデータが修正される。
Pattern 5: When the projected line segment intersects the maximum value of the last line segment L3 as shown in FIG. , the minimum end (X2, Y21) from the intersection NP with the straight line connecting the maximum values of L3
The data will be corrected by.

この条件は同様に、 YS 2<YS 2<YL 1・・−・・−(7)ヤあ
る。
Similarly, this condition is YS 2 < YS 2 < YL 1 (7).

交点NPの座標は、 である。The coordinates of the intersection NP are It is.

パターン6;第13図(D)に示すようにパターン5と
反対に最小値と交差する場合;この場合は図の如く、中
間の線分L2は左右の線分L1、L3の最小端を結んだ
直線との交点NPから最大端(X2、Y22)までに修
正される。
Pattern 6: As shown in Fig. 13 (D), when intersecting the minimum value in the opposite way to pattern 5; in this case, as shown in the figure, the middle line segment L2 connects the minimum ends of the left and right line segments L1 and L3. It is corrected from the intersection point NP with the ellipsoid to the maximum end (X2, Y22).

この条件は、 YS2<YS 1<YLI  −・・・−・(9)であ
り、交点NPの座標は、 である。
This condition is YS2<YS1<YLI-- (9), and the coordinates of the intersection NP are as follows.

ここに述べた修正の例は、データが線分で与えられてい
る場合について示したが、いずれかのデータが点で表さ
れている場合についても、同じように考える。
Although the example of modification described here is shown for the case where the data is given as a line segment, the case where any of the data is represented as a point is considered in the same way.

そして、全ての線分が点になるまで処理を繰り返す。Then, the process is repeated until all line segments become points.

第14図は係る通過線分修正処理フロー図である。FIG. 14 is a flowchart of the passing line segment correction process.

(C−1)CPU3は、続出ポインタNを初期値「1」
とする。
(C-1) The CPU 3 sets the successive pointer N to the initial value "1"
shall be.

(C−2)CPU3は、メモリ2のエリア22からN番
目のデータDn、N+1番目のデータDn+1を入力す
る。
(C-2) The CPU 3 inputs the Nth data Dn and the N+1st data Dn+1 from the area 22 of the memory 2.

そして、入力したN+1番目のデータ[)n+1が終点
かを調べる。
Then, it is checked whether the input N+1-th data [)n+1 is the end point.

(C−3)次にCPU3は、メモリ2のエリア22から
N+2番目のデータDn+2を入力する。
(C-3) Next, the CPU 3 inputs the N+2nd data Dn+2 from the area 22 of the memory 2.

そして、3つのデータD n s D n + 1、D
n+2より、(1)、(2)弐によりYSx、YLxを
求め、大小比較により、(3)、(4)、(5)、(6
)、(7)、(9)式のいずれかの関係かを調ベパター
ン1〜6に分類する。
Then, three data D n s D n + 1, D
From n+2, find YSx and YLx using (1) and (2)2, and then compare the sizes to find (3), (4), (5), and (6).
), (7), and (9) are classified into survey patterns 1 to 6.

(C−4)パターン2の関係であれば前述のデータの省
略、圧縮を行わないので、NをN+1にして、ステップ
(C−2)に戻る。
(C-4) If the relationship is pattern 2, the aforesaid data is not omitted or compressed, so N is set to N+1 and the process returns to step (C-2).

パターン3〜6の関係であれば、中間線分であるN+1
番目のデータDn+1を上述の如く修正又は圧縮し、N
をN+1にして、ステップ<C−2)に戻る。
For patterns 3 to 6, the middle line segment N+1
Modify or compress the data Dn+1 as described above, and
is set to N+1 and returns to step <C-2).

更にパターン1の関係の関係であればデータDn+1を
省略して、ステップ(C−2)に戻る。
Further, if the relationship is as shown in pattern 1, data Dn+1 is omitted and the process returns to step (C-2).

(C−5)一方、ステップ(C−2)で(N+1)番目
のデータ[)n+1が終点であれば、終点まで線分修正
を行ったから終了する。
(C-5) On the other hand, if the (N+1)th data [)n+1 is the end point in step (C-2), the line segment has been corrected up to the end point, so the process ends.

実際には、1度この処理を行った後、修正データを用い
て再度行い、点データに変換されるまで何回も行う。
In reality, this process is performed once and then again using the corrected data, and is repeated many times until the data is converted into point data.

次に第10図(B)の実例を点に変換する動作について
第15図乃至第17図の経路変換動作説明図により説明
する。
Next, the operation of converting the example shown in FIG. 10(B) into points will be explained with reference to the route conversion operation explanatory diagrams of FIGS. 15 to 17.

先づ、第10図(B)の例において、第15図(A)の
ように、始点Ps1線分lい12の間で関係を調べると
、第13図(C)のパターン5の関係のため、線分11
の下方を省略し、第15図(B)の1 、 /の如<X
+を修正する。
First, in the example of FIG. 10(B), if we examine the relationship between the starting point Ps1 and line segment 12 as shown in FIG. 15(A), we will find that the relationship of pattern 5 in FIG. 13(C) is Therefore, line segment 11
The lower part is omitted, and 1 in Figure 15 (B), /
Correct +.

次に、第15図(B)の線分1 、 l、12、l。Next, line segments 1, l, 12, l in FIG. 15(B).

の関係を調べると、第13図(C)のパターン5の関係
のため、線分i、の下方を省略し、第15図(C)の1
2′の如’C1zを修正する。
When examining the relationship, it is found that the lower part of line
Correct C1z as in 2'.

次に、第15図(C)の線分1 tT、ll、!。Next, line segment 1 tT,ll,! in FIG. 15(C). .

の関係を調べると、第13図(C)のパターン5の関係
のため、線分βSの下方を省略し、第15図(D)の7
!3′の如<ZXを修正する。
When examining the relationship, it is found that because of the relationship of pattern 5 in FIG. 13(C), the lower part of line segment βS is omitted, and 7 in FIG. 15(D)
! 3' Modify <ZX.

次に第15図(D)の線分Z 、/、I14、l、の関
係を調べると第13図(D)のパターン6の関係のため
、線分14の上方を省略し、第16図(A)の141の
如く14を修正する。
Next, when examining the relationship between line segments Z, /, I14, l in FIG. 15(D), the upper part of line segment 14 is omitted because it is the relationship of pattern 6 in FIG. 13(D), and as shown in FIG. Modify 14 as in 141 of (A).

次に、第16図(A)の線分14/、lS、l。Next, line segment 14/, lS, l in FIG. 16(A).

の関係を調べると、第12図(A)のパターン1の関係
のため第15図(B)の如く、線分lSを省略する。
When examining the relationship, the line segment IS is omitted as shown in FIG. 15(B) because it is the relationship of pattern 1 in FIG. 12(A).

次に、第16図(B)の如く線分Z 41、lb、β、
の関係を調べると、第13図(C)のパターン5の関係
のため線分l、の下方を省略し、第16図(C)の16
1の如<lbを修正する。
Next, as shown in FIG. 16(B), line segment Z 41, lb, β,
When examining the relationship, the lower part of line segment l is omitted because of the relationship of pattern 5 in FIG.
Correct <lb as in 1.

更に、第16図(C)の如く、線分16′、18、l、
の関係を調べると、第12図(B)のパターン2の関係
のため、線分!、はそのままとする。
Furthermore, as shown in FIG. 16(C), line segments 16', 18, l,
When we examine the relationship, we find that because of the relationship of pattern 2 in Figure 12 (B), the line segment! , is left as is.

最後に第16図(C)の如く線分18.21、終点Pf
の関係を調べると、第12図(C)のパターン2の関係
のため、線分!、を省略して第16図(D)に示す如く
する。
Finally, as shown in Figure 16(C), line segment 18.21, end point Pf
When we examine the relationship, we find that because of the relationship of pattern 2 in Figure 12 (C), the line segment! , are omitted as shown in FIG. 16(D).

従って、1回の処理で、経路データは、始点Ps1線分
g、L、1 、 /1.iH、l、14L、1 、 l
、18、終点Pfに変換される。
Therefore, in one process, the route data is converted to the starting point Ps1 line segment g,L,1,/1. iH, l, 14L, 1, l
, 18, is converted to the end point Pf.

次に、前述と同様に第17図(A)の如く線分修正を行
うと、線分1 、 /、l、/、(2、r、18が省略
され、線分!、′、N 、 /は小さくなってlI″、
!、″となり線分は第17図(B)のように11#、l
、#しか残らない。
Next, when line segments are corrected as shown in FIG. 17(A) in the same way as described above, line segments 1, /, l, /, (2, r, 18 are omitted, line segments !, ', N, / becomes smaller and becomes lI'',
! ,'', and the line segments are 11#, l as shown in Figure 17 (B).
, only # remains.

更に、第17図(C)の如く線分修正を行うと、第17
図(D)の如く経路点P1のみが得られ、Ps、、Pl
、Pfが経路データとなる。
Furthermore, if the line segment is corrected as shown in Fig. 17 (C), the 17th
As shown in Figure (D), only the path point P1 is obtained, Ps, , Pl
, Pf becomes route data.

(d)他の実施例の説明 上述の実施例では、始点Psと終点Pfの両方から第7
図の如く探索しているが、片方からであってもよく、又
X軸方向の探索例で説明したがY軸方向であってもよい
(d) Description of other embodiments In the above embodiment, the seventh
Although the search is performed as shown in the figure, the search may be performed from one side, and although the search example has been explained in the X-axis direction, it may be performed in the Y-axis direction.

又、自走車への経路指令を例に説明したが、一般車両の
経路通知に利用してもよく、自走ロボットに限られない
Furthermore, although the explanation has been given using route commands to self-propelled vehicles as an example, the present invention may also be used to notify routes of general vehicles, and is not limited to self-propelled robots.

以上本発明を実施例により説明したが、本発明は本発明
の主旨に従い種々の変形が可能であり、本発明からこれ
らを排除するものではない。
Although the present invention has been described above using examples, the present invention can be modified in various ways according to the gist of the present invention, and these are not excluded from the present invention.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、境界線を用いてい
るので、線分孝始点、終点との関係を調べるだけで自由
で且つ最短な経路をえることができるという効果を奏す
る他に、線分と点の関係を調べるから容易に移動経路か
えられるという効果も奏する。
As explained above, according to the present invention, since boundary lines are used, it is possible to obtain a free and shortest route by simply examining the relationship between the starting point and the ending point of the line segment. , since the relationship between line segments and points is investigated, the travel route can be easily changed.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例ブロック図、第3図及び第4
図は地図データの説明図、第5図は障害物データの説明
図、 第6図は走行領域データの説明図、 第7図は本発明の一実施例探索処理フロー図、第8図は
本発明の一実施例走行領域探索処理フロー図、 第9図及び第10図は探索動作説明図、第11図は本発
明の一実施例データ圧縮フロー図、 第12図及び第13図は通過線分修正説明図、第14図
は本発明の一実施例通過線分修正処理フロー図、 第15図乃至第17図は本発明による経Pr変換動作説
明図、 第18図は従来技術の説明図である。 図中、1−地図、    2−・−・メモリ、3−・−
CPU、   Ps  −始点、Pf  −・・・終点
Figure 1 is a diagram explaining the principle of the present invention, Figure 2 is a block diagram of an embodiment of the present invention, Figures 3 and 4.
Fig. 5 is an explanatory diagram of map data, Fig. 5 is an explanatory diagram of obstacle data, Fig. 6 is an explanatory diagram of driving area data, Fig. 7 is a flowchart of search processing in an embodiment of the present invention, and Fig. 8 is an illustration of the book A flowchart of a driving area search process according to an embodiment of the invention. FIGS. 9 and 10 are explanatory diagrams of the search operation. FIG. 11 is a flowchart of data compression according to an embodiment of the invention. FIGS. 12 and 13 are passing lines. Fig. 14 is a flowchart of passing line correction processing according to an embodiment of the present invention. Figs. 15 to 17 are explanatory diagrams of the Pr conversion operation according to the present invention. Fig. 18 is an explanatory diagram of the prior art. It is. In the figure, 1-Map, 2--Memory, 3--
CPU, Ps - start point, Pf -... end point.

Claims (1)

【特許請求の範囲】 障害物を除く領域を複数の走行領域に分割した地図(1
)から与えられた始点Psと終点Pfを接続する連続し
た走行領域を探索するステップと、該探索した連続する
走行領域を用いて該始点Psと終点Pfを接続する移動
経路を決定するステップとを有する移動経路探索方法に
おいて、該連続した走行領域として、該走行領域間の境
界線データを求め、 該境界線データと始点Ps、終点Pfとの関係を調べる
ことによって、移動経路を決定するようにしたことを 特徴とする移動経路探索方法。
[Claims] A map (1
), and a step of determining a travel route connecting the starting point Ps and the ending point Pf using the searched continuous traveling area. In the travel route searching method, the travel route is determined by determining boundary line data between the travel areas as the continuous travel area, and examining the relationship between the boundary line data, the starting point Ps, and the ending point Pf. A travel route search method characterized by the following.
JP62100740A 1987-04-23 1987-04-23 Searching method for traveling route Pending JPS63265312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62100740A JPS63265312A (en) 1987-04-23 1987-04-23 Searching method for traveling route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62100740A JPS63265312A (en) 1987-04-23 1987-04-23 Searching method for traveling route

Publications (1)

Publication Number Publication Date
JPS63265312A true JPS63265312A (en) 1988-11-01

Family

ID=14281959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62100740A Pending JPS63265312A (en) 1987-04-23 1987-04-23 Searching method for traveling route

Country Status (1)

Country Link
JP (1) JPS63265312A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296229A (en) * 1998-02-13 1999-10-29 Komatsu Ltd Vehicle guide device
JP2002502997A (en) * 1998-02-03 2002-01-29 シーメンス アクチエンゲゼルシヤフト Path planning method of mobile unit for surface work
JPWO2004052597A1 (en) * 2002-12-10 2006-04-06 本田技研工業株式会社 Robot control apparatus, robot control method, and robot control program
JP2006239844A (en) * 2005-03-04 2006-09-14 Sony Corp Obstacle avoiding device, obstacle avoiding method, obstacle avoiding program and mobile robot device
JP2008004078A (en) * 2006-06-20 2008-01-10 Samsung Electronics Co Ltd Method, apparatus and medium for building grid map of mobile robot, and method, apparatus and medium for cell decomposition using the same
JP2008047095A (en) * 2006-08-18 2008-02-28 Samsung Electronics Co Ltd Method of dividing coverage area for robot and device thereof
WO2008032673A1 (en) * 2006-09-11 2008-03-20 Hitachi, Ltd. Moving device
JP2008097632A (en) * 1998-02-13 2008-04-24 Komatsu Ltd Guiding system for vehicle
US8045418B2 (en) 2006-03-29 2011-10-25 Kabushiki Kaisha Toshiba Position detecting device, autonomous mobile device, method, and computer program product
JP2016099957A (en) * 2014-11-26 2016-05-30 株式会社シーイーシー Information processing apparatus and program
JP2019053507A (en) * 2017-09-14 2019-04-04 東芝映像ソリューション株式会社 Travel route planning device, method, program, and moving body

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002502997A (en) * 1998-02-03 2002-01-29 シーメンス アクチエンゲゼルシヤフト Path planning method of mobile unit for surface work
JP2008097632A (en) * 1998-02-13 2008-04-24 Komatsu Ltd Guiding system for vehicle
JPH11296229A (en) * 1998-02-13 1999-10-29 Komatsu Ltd Vehicle guide device
JPWO2004052597A1 (en) * 2002-12-10 2006-04-06 本田技研工業株式会社 Robot control apparatus, robot control method, and robot control program
JP2006239844A (en) * 2005-03-04 2006-09-14 Sony Corp Obstacle avoiding device, obstacle avoiding method, obstacle avoiding program and mobile robot device
US8045418B2 (en) 2006-03-29 2011-10-25 Kabushiki Kaisha Toshiba Position detecting device, autonomous mobile device, method, and computer program product
JP4664326B2 (en) * 2006-06-20 2011-04-06 三星電子株式会社 Region separation method, apparatus, and medium using grid map of mobile robot
JP2008004078A (en) * 2006-06-20 2008-01-10 Samsung Electronics Co Ltd Method, apparatus and medium for building grid map of mobile robot, and method, apparatus and medium for cell decomposition using the same
US8060254B2 (en) 2006-06-20 2011-11-15 Samsung Electronics Co., Ltd. Method, apparatus, and medium for building grid map in mobile robot and method, apparatus, and medium for cell decomposition that uses grid map
JP2008047095A (en) * 2006-08-18 2008-02-28 Samsung Electronics Co Ltd Method of dividing coverage area for robot and device thereof
US7933686B2 (en) 2006-08-18 2011-04-26 Samsung Electronics Co., Ltd. Method of dividing coverage area for robot and device thereof
JP4680955B2 (en) * 2006-08-18 2011-05-11 三星電子株式会社 Mobile robot region separation method and apparatus
WO2008032673A1 (en) * 2006-09-11 2008-03-20 Hitachi, Ltd. Moving device
US8239084B2 (en) 2006-09-11 2012-08-07 Hitachi, Ltd. Moving device
JP2016099957A (en) * 2014-11-26 2016-05-30 株式会社シーイーシー Information processing apparatus and program
JP2019053507A (en) * 2017-09-14 2019-04-04 東芝映像ソリューション株式会社 Travel route planning device, method, program, and moving body

Similar Documents

Publication Publication Date Title
CN107436148B (en) Robot navigation method and device based on multiple maps
EP1122626B1 (en) Intersection display method, and map display unit and recording medium for realizing the method
US8286122B2 (en) Method, system, and computer product for forming a graph structure that describes free and occupied areas
KR20180100194A (en) Method for recognizing path deviation, terminal and storage medium
EP1335315A2 (en) Dual Dijkstra search for planning multiple paths
JPS63265312A (en) Searching method for traveling route
US8145425B2 (en) Navigation device and navigation method
JPH0567034B2 (en)
CN110220528A (en) A kind of two-way dynamic path planning method of automatic Pilot unmanned vehicle based on A star algorithm
WO2005093372A1 (en) Navigation system and course guiding method
KR20140055134A (en) Apparatus and method for planning path of robot, and the recording media storing the program for performing the said method
JP2009053849A (en) Path search system, path search method, and autonomous traveling body
CN109163732B (en) High-precision road calculation matching method and system based on intersection
US5119317A (en) Routing method and system
JP2009053561A (en) Map creating system and map creating method for autonomous moving apparatus
JP3279034B2 (en) Operation management control apparatus and method
JPS63200208A (en) Method for searching moving route
JPH0688732A (en) Navigation apparatus for vehicle
JP2827895B2 (en) Operation system for self-propelled robot
CN113932825B (en) Robot navigation path width acquisition system, method, robot and storage medium
JPS63265310A (en) Searching method for traveling route
JP2543848B2 (en) Autonomous mobile
JPH04340607A (en) Optimum route determining device
JP2004110286A (en) Agv route searching method and its program
CN115509240A (en) Path planning method based on passable area