JPS6311987A - Searching of map data - Google Patents

Searching of map data

Info

Publication number
JPS6311987A
JPS6311987A JP61156886A JP15688686A JPS6311987A JP S6311987 A JPS6311987 A JP S6311987A JP 61156886 A JP61156886 A JP 61156886A JP 15688686 A JP15688686 A JP 15688686A JP S6311987 A JPS6311987 A JP S6311987A
Authority
JP
Japan
Prior art keywords
data
current location
map
intersection
vehicle
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
JP61156886A
Other languages
Japanese (ja)
Inventor
雅幸 細井
福島 敦彦
隆 柏崎
斉 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pioneer Corp
Original Assignee
Pioneer Electronic Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP61156886A priority Critical patent/JPS6311987A/en
Priority to US07/069,085 priority patent/US4924402A/en
Publication of JPS6311987A publication Critical patent/JPS6311987A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Traffic Control Systems (AREA)
  • Instructional Devices (AREA)
  • Navigation (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 炎血且1 本発明は、地図データのサーチ方法に関し、特に車載ナ
ビゲーション装置において地図の道路上の各位置及び交
差点位置が数値化されて記憶された地図データのサーチ
方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a search method for map data, and particularly to a search method for map data in which each position on a road and intersection position on a map is digitized and stored in an in-vehicle navigation device. It is related to.

1且且」 近年、地図情報をメモリに記憶しておき、その地図情報
をメモリから読み出して車両の現在地とともに表示装置
に表示させることにより、車両を所定の目的地に誘導す
る車載ナビゲーション装置が研究、開発されている。
In recent years, there has been research into in-vehicle navigation devices that guide a vehicle to a predetermined destination by storing map information in a memory, reading the map information from the memory, and displaying the map information along with the vehicle's current location on a display device. , has been developed.

かかるナビゲーション装置では、車両に搭載された走行
距離センサや方位センサ等の出力データに基づいて車両
の走行距離や方位を検出し、これに基づいて時々刻々と
変化する車両の現在地を推測することにより、ディスプ
レイに表示されている地図上への現在地の表示が行なわ
れる。
Such navigation devices detect the vehicle's travel distance and direction based on output data from a travel distance sensor, a direction sensor, etc. mounted on the vehicle, and estimate the vehicle's current location, which changes from moment to moment, based on this. , the current location is displayed on the map displayed on the display.

この場合、現在地は常に地図の道路上に表示されるのが
好ましく、そのために車両の現在地に最も近い道路や交
差点への引込みが行なわれる。この引込みを行なうため
には、現在地に最も近い道路や交差点を地図データ中か
らサーチする作業が必要となるが、サーチエリアが広い
とサーチに時間がかかってしまい、車両の走行に伴い時
々刻々と変化する現在地をスムーズに表示できないこと
になる。
In this case, it is preferable that the current location is always displayed on the road on the map, so that the vehicle is guided to the road or intersection closest to the current location. In order to perform this pull-in, it is necessary to search the map data for the road or intersection closest to the current location, but if the search area is wide, the search will take a long time, and the This means that the changing current location cannot be displayed smoothly.

1匪五且I 本発明は、上述した点に鑑みなされたもので、サーチの
高速化を図り、車両の現在地のスムーズな表示を可能と
した地図データのサーチ方法を提供することを目的とす
る。
The present invention has been made in view of the above-mentioned points, and an object of the present invention is to provide a map data search method that speeds up the search and enables smooth display of the current location of a vehicle. .

本発明による地図データのナーブ方法は、地図の道路上
の各位置及び交差点位置を数値化して地図データとして
記憶する際、地図を細分化してエリア単位で記憶してお
き、車両の現在地から道路上の最近傍位置又は最近情交
差点をサーチするときは、現在地が属するエリア単位で
行なうことを特徴としている。
The method for navigating map data according to the present invention is that when each position on the road and intersection position on the map is digitized and stored as map data, the map is subdivided and stored in area units, and When searching for the nearest location or the closest intersection, the search is performed in units of areas to which the current location belongs.

実−一思一一出 以下、本発明の実施例を図に基づいて説明する。Fruit - one thought, one appearance Embodiments of the present invention will be described below based on the drawings.

第1図は、本発明に係る車載ナビゲーション装置の構成
を示すブロック図である。同図においで、1は地磁気に
基づいて車両の方位データを出力するための地磁気セン
サ、2は車両の角速度を検出するための角速度センサ、
3は車両の移動距離を検出するための走行距離センサ、
4は緯度及び経度情報等から車両の現在地を検出するた
めのGP3 (Global Po5itionino
 System)Ii置であり、これら各センサ(装置
)の出力はシステムコントローラ5に供給される。
FIG. 1 is a block diagram showing the configuration of an in-vehicle navigation device according to the present invention. In the figure, 1 is a geomagnetic sensor for outputting vehicle azimuth data based on geomagnetism, 2 is an angular velocity sensor for detecting the angular velocity of the vehicle,
3 is a mileage sensor for detecting the distance traveled by the vehicle;
4 is GP3 (Global Po5tionino) for detecting the current location of the vehicle from latitude and longitude information, etc.
The output of each of these sensors (devices) is supplied to the system controller 5.

システムコントローラ5は、各センサ(装置)1〜4の
出力を入力としA10 (アナログ/ディジタル)変換
等を行なうインターフェース6と、種々の画像データ処
理を行なうとともにインターフェース6から順次送られ
てくる各センサ(装置)1〜4の出力データに基づいて
車両の移動量等を演算するcpu <中央処理回路)7
と、このCPU7の各種の処理プログラムやその仙必要
な情報が予め古き込まれたROM(リード・オンリ、メ
モリ)8と、プログラムを実行する上で必要な情報の書
込み及び読出しが行なわれるRAM(ランダム・アクセ
ス・メモリ)9と、いわゆるCD−ROM、ICカード
等からなり、ディジタル化(数値化)された地図情報が
記録された記録媒体10と、V −RA M (Vid
eo RAM)等からなるグラフィックメモリ11と、
CPU7から送られてくる地図等のグラフィックデータ
をグラフィックメモリ11に描画しかつ画像としてCR
T等のディスプレイ12に表示すべく制御するグラフィ
ックコントローラ13とから構成されている。入力装置
14はキーボード等からなり、使用者によるキー人力に
より各種の指令等をシステムコント0−ラ5に対して発
する。
The system controller 5 has an interface 6 which inputs the outputs of each sensor (device) 1 to 4 and performs A10 (analog/digital) conversion, etc., and a system controller 5 which processes various image data and receives outputs from each sensor sequentially from the interface 6. (Device) CPU that calculates the amount of movement of the vehicle, etc. based on the output data of 1 to 4 <Central processing circuit) 7
, a ROM (read-only memory) 8 in which various processing programs of the CPU 7 and necessary information are stored in advance, and a RAM (read-only memory) 8 in which information necessary for executing the programs is written and read. a random access memory) 9, a recording medium 10 consisting of a so-called CD-ROM, an IC card, etc., on which digitized (numerical) map information is recorded, and a V-RAM (Vid
a graphic memory 11 consisting of a
Graphic data such as a map sent from the CPU 7 is drawn in the graphic memory 11 and CR as an image.
It is comprised of a graphic controller 13 that controls the display 12 such as T. The input device 14 consists of a keyboard or the like, and various commands are issued to the system controllers 0 to 5 by the user's keystrokes.

記録媒体10には地図情報が記録されるのであるが、そ
のデータ構造について以下に説明する。
Map information is recorded on the recording medium 10, and its data structure will be explained below.

先ず、第2図(A)に示すように、日本全図を例えば1
6384 (=2’ )[m]四方(7)メツシュに分
割し、このときの1つのメツシュをテリトリ−と呼ぶ。
First, as shown in Figure 2 (A), the entire map of Japan is divided into, for example, 1
It is divided into 6384 (=2') [m] square (7) meshes, and one mesh at this time is called a territory.

テリトリ−はテリ1へり−No、(TX。The territory is Terri 1 (TX).

Ty)で識別され、各テリトリ−には例えば図の左下の
テリトリ−を基準にテリトリ−No、が付与される。テ
リトリ−No、は現在地(Crntx。
Ty), and each territory is assigned a territory number based on, for example, the lower left territory in the figure. Territory No. is the current location (Crntx.

Crnty)より求まる。テリトリ−は本データ構造の
中で最も大きな管理単位となる。地図データファイル全
体の構成が第2図(B)に示されており、テリトリ−I
Dファイルには、第2図(C)に示すように、テリトリ
−No、(Tx、Ty)のファイルにおける先頭アドレ
ス、テリトリ−の左下の緯度(実数)、テリトリ−の左
下の経度(実数)、地磁気の偏角(実数)等のデータが
各テリトリ−毎に書き込まれている。
Crnty). Territory is the largest management unit in this data structure. The entire structure of the map data file is shown in Figure 2 (B).
As shown in Figure 2 (C), the D file contains the territory number, the start address in the file for (Tx, Ty), the latitude of the bottom left of the territory (real number), and the longitude of the bottom left of the territory (real number). , geomagnetic declination (real number), and other data are written for each territory.

テリトリ−ファイルは本データ構造において最も重要な
ファイルであり、各種の地図データや地図描画に必要な
データが書き込まれている。第3図(A)において、ナ
ビID及びセクションテーブルがナビゲーションにおけ
る道路及び交差点検索用ファイル、ピクチャーIDが表
示管理用ファイル、道路セクションデータから交差点デ
ータまでが実際の地図データである。地図データは、第
3図(B)に示すように、互層構造となっており、最下
層が川、海、湖等のポリゴンデータ、その上が道路、鉄
道等のラインデータ、その上が各種マーク等のキャラク
タデータ、その上が地名等の文字データ、そして最上層
が交差点データとなっている。最上層の交差点データは
後述する交差点引込みのために用いられるデータであり
、ディスプレイ上には表示されない。
The territory file is the most important file in this data structure, and various map data and data necessary for map drawing are written therein. In FIG. 3A, the navigation ID and section table are files for searching roads and intersections in navigation, the picture ID is a file for display management, and the data from road section data to intersection data is actual map data. As shown in Figure 3 (B), the map data has an alternating layer structure, with the bottom layer being polygon data for rivers, oceans, lakes, etc., the top layer being line data for roads, railways, etc., and the top layer being various types of data. Character data such as marks, etc., above that is character data such as place names, and the top layer is intersection data. The intersection data on the top layer is data used for intersection drawing, which will be described later, and is not displayed on the display.

次に、第4図(A>に示すように、1つのテリトリ−の
中を例えば256分割し、これにより得られる1 02
4 (2” )[m]四方のメツシュをユニットと呼ぶ
。このユニットも同様にユニットNo、(Nx、Ny)
で管理され、そのNo。
Next, as shown in FIG. 4 (A>), one territory is divided into, for example, 256 parts, and the resulting
4 (2”) [m] square mesh is called a unit.This unit also has unit number, (Nx, Ny)
Managed by, its no.

(’Nx、Ny)は現在地(Crntx 、 Crnt
y )より求まる。ユニットは中間的な管理単位で、地
図情報はこの単位で記録され、ユニットが256個集ま
ってテリトリ−ファイルを構成する。地図描写の際はこ
の単位を基に行なわれるので、描画の基本単位と言うこ
とができる。ナビIDファイルには、第4図(B)に示
すように、ユニットN00(Nx、Ny>のファイルに
おけるライン先頭アドレス、交差点先頭アドレス、道路
セクション先頭アドレス、交差点先頭アドレス等のデー
タが各ユニット毎に書き込まれている。
('Nx, Ny) is the current location (Crntx, Crnt
y). A unit is an intermediate management unit, and map information is recorded in this unit, and a collection of 256 units constitutes a territory file. Maps are drawn based on this unit, so it can be called the basic unit of drawing. As shown in Figure 4 (B), the Navi ID file contains data such as the line start address, intersection start address, road section start address, and intersection start address in the file for unit N00 (Nx, Ny>) for each unit. is written in.

更に、第5図(△)に示すように、1つのユニット内を
例えば16分割し、これにより得られる256 (28
)[m]四方のメツシュをセクションと呼ぶ。このセク
ションも同様にセクションNo、(Sx、Sy)で管理
され、そのNo、(Sx、Sy)は現在地(Crntx
 、 Crnty )より求まる。セクションは最も小
さい管理単位であり、この範囲内の線分(l!!分の繋
りで道路等が表わされる)や交差点の情報が第5図(B
)、(C)に示す如くセクションテーブルとして、更に
第6図<A>、(B)及び第7図(△>、(B)に示す
如くセクションデータとしてテリトリ−ファイルに登録
されている。
Furthermore, as shown in FIG. 5 (△), one unit is divided into, for example, 16, resulting in 256
) [m] square mesh is called a section. This section is similarly managed by section No. (Sx, Sy), and the current location (Crntx) is
, Crnty). A section is the smallest management unit, and information on line segments (roads, etc. are represented by connections of l!! minutes) and intersections within this range is shown in Figure 5 (B
) and (C) as section tables, and as section data as shown in FIG. 6 <A>, (B) and FIG. 7 (Δ>, (B)) in the territory file.

また、第3図(A)に示すように、テリトリ−ファイル
内には表示管理用のピクチャーIDというファイルがあ
る。本丈施例では、地図データの縮尺が例えば2.5万
分の1,5万分の1,10万分の1の3種類に設定され
ており、実際の地図データとしては、最も縮尺の大きい
2.5万分の1のものだけを持っている。各縮尺の地図
は、第8図〜第10図の各図(A>に示すように、エリ
アに分割され、このエリアはエリアN o 、  (A
 nx。
Furthermore, as shown in FIG. 3(A), the territory file includes a file called picture ID for display management. In this example, the scale of the map data is set to three types, for example, 1/25,000, 1/50,000, and 1/100,000, and the actual map data is set to 2, which is the largest scale. I only have one in 50,000. The map of each scale is divided into areas as shown in each figure (A> of FIGS. 8 to 10), and this area is divided into areas N o , (A
nx.

Any)で管理される。エリアNo、  <Anx、 
Any)は現在地(Crntx 、 Crnty )よ
り求まる。縮尺が2.5万分の1の場合、エリアNo、
とユニットNo、は同じであり、5万分の1の場合は1
つのエリアがユニットファイル4個分となり、10万分
の1の場合は1つのエリアがユニット16個分となる。
Any). Area No. <Anx,
Any) is determined from the current location (Crntx, Crnty). If the scale is 1/25,000, area No.
and unit number are the same, and in the case of 1/50,000, it is 1
One area corresponds to 4 unit files, and in the case of 1/100,000, one area corresponds to 16 units.

また、各縮尺のピクチャーIDには、第8図〜第10図
の各図(B)にそれぞれ示すように、その縮尺の地図を
表示するのに必要なポリゴン、ライン、キャラクタ、文
字データの先頭アドレスとデータサイズが記録されてい
る。
In addition, the picture ID of each scale includes the beginning of polygon, line, character, and character data necessary to display the map of that scale, as shown in each figure (B) of Figures 8 to 10. Address and data size are recorded.

続いて、ポリゴンデータとラインデータについて説明す
る。ポリゴンデータとラインデータは、第11図(A>
及び第12図(A>に示すように、始点と終点で表わさ
れる繋りのあるベクトル(線分)で表わされる。ここで
、最も縮尺の大きい2゜5万分の1の地図データで5万
分の1や10万分の1の地図を表現すると、始点・終点
間が縮まるのでディスプレイ上で見た限りでは、全ての
点を表示しなくても差し支えないことがある。このこと
を考慮に入れて、ディスプレイ上に表示した場合に、見
た目上省略しても差し支えない点の情報を、第11図(
B)及び第12図(B)に示すように、予めポリゴン及
びラインデータの各間引きビットに入れておく。そして
、各縮尺の表示時に間引きビットをチェックして必要に
応じて間引きビットに情報が入っている点を除く、いわ
ゆる間引きを行なうことにより、表示する線分(ベクト
ル)数を減らすことができる。
Next, polygon data and line data will be explained. The polygon data and line data are shown in Figure 11 (A>
As shown in Figure 12 (A>), it is represented by a connected vector (line segment) represented by a starting point and an ending point. If you represent a map with a scale of 1/100,000 or 1/100,000, the distance between the starting point and the ending point will shrink, so it may not be necessary to display all the points based on what you see on the display.Taking this into consideration Figure 11 (
B) and as shown in FIG. 12(B), each thinning bit of polygon and line data is entered in advance. Then, the number of line segments (vectors) to be displayed can be reduced by checking the thinning bits when displaying each scale and removing points containing information in the thinning bits as necessary.

また、第13図(A>に示すように、1ユニツト内に存
在する交差点の全てに通し番号(x n、 yn)が付
されている。ところで、交差点には、直交型、Y字路、
5支路等種々あるが、特に方位の似た道路が複数入って
いる交差点では、この交差点を通過したときに、センサ
の精度、計0誤差、地図精度等により道路の選択を誤り
、ディスプレイ上に現在地が表示されている道路と実際
に走行している道路とが一致しない状態が生ずる可能性
がある。そこで、このような交差点に対しては、第13
図(B)に示すように、交差点のyli易度を示す難易
度データを交差点データ中の難易度ビットにいれておく
。そして、交差点を通過するときには、この難易度デー
タに基づいた処理を行なえば、誤った道路の選択を防止
できるのである。その処理に関しては後で説明する。
Furthermore, as shown in Figure 13 (A>), all the intersections within one unit are given serial numbers (x n, yn).
There are various types of roads, such as 5 branch roads, but especially at intersections where there are multiple roads with similar directions, when passing through this intersection, the sensor accuracy, total error, map accuracy, etc. may cause you to select the wrong road, and the screen may appear. There is a possibility that the road on which the current location is displayed does not match the road on which the driver is actually driving. Therefore, for such intersections, the 13th
As shown in Figure (B), difficulty data indicating the yli difficulty of the intersection is stored in the difficulty bit in the intersection data. When passing through an intersection, by performing processing based on this difficulty level data, it is possible to prevent the wrong road from being selected. The processing will be explained later.

次に、地図データの表示に関して、グラフィックメモリ
11として例えばV−RAMを用いた場合について説明
する。表示の構成としては、第14図(A)に示すよう
に、512(ドツト)X512(ドツト)のV−RAM
上で画面を16分割し、それぞれのエリアに独立した1
枚の地図を表示するようにする。1エリアは128くド
ツト)X128(ドツト)の1ユニツトであり、更に1
6分割することにより1エリアは32(ドツト)×32
(ドツト)の1セクシヨンとなる(第14図(B)、(
C)を参照)。実際の車載ディスプレイには、第14図
(A)の中央の4両面に相当する256(ドツト)X2
56(ドツト)のエリア(太線で囲ったエリア)が表示
され、このエリアがV−RAM上を移動することによっ
て車両の現在地の動きを表現する。
Next, regarding the display of map data, a case will be described in which, for example, a V-RAM is used as the graphic memory 11. As shown in FIG. 14(A), the display configuration is a 512 (dot) x 512 (dot) V-RAM.
The screen above is divided into 16 areas, and each area has an independent 1
Display multiple maps. 1 area is 1 unit of 128 dots) x 128 (dots), and 1 unit
By dividing into 6 areas, 1 area is 32 (dots) x 32
(dot) (Figure 14 (B), (
(See C). An actual in-vehicle display has 256 (dots)
A 56 (dot) area (encircled by a thick line) is displayed, and this area moves on the V-RAM to express the movement of the vehicle's current location.

次に、CPU7によって実行される基本的な手順を第1
5図のフローチャートに従って説明する。
Next, the basic steps executed by the CPU 7 are explained in the first
This will be explained according to the flowchart in FIG.

CPU7は、先ず最初にプログラムを実行させるための
イニシャライズを行ないくステップS1)、しかる後車
両の現在地がセットされているか否かを判断する(ステ
ップ32)。現在地がセットされていない場合は、現在
地セットルーチンの実行くステップS3)、例えば入力
装@14でのキー人力による現在地のセットが行なわれ
る。次に、走行距離を零にしくステップS4)、続いて
入力装置14からのキー人力が有るが否かの判断を行な
う(ステップ35)。
The CPU 7 first performs initialization to execute the program (step S1), and then determines whether the current location of the vehicle has been set (step 32). If the current location has not been set, a current location setting routine is executed (step S3), in which the current location is manually set using keys on the input device @14, for example. Next, the mileage is reduced to zero (step S4), and it is then determined whether there is any key input from the input device 14 (step S35).

キー人力が無い場合は、ディスプレイ12上に現在地周
辺の地図表示を行なうとともに車両の現在位置及びその
方位を例えば車両マークにてこの地図上に表示し、車両
が移動したらその移動に伴い地図をスクロールさせ、更
に現在グラフィックメモリ11上にある地図データの範
囲を車両位置が越えそうなときには、記録媒体10から
必要な地図データを読み出してディスプレイ12上に表
示する(ステップS6)。
If there is no key personnel available, a map of the area around the current location is displayed on the display 12, and the current location of the vehicle and its direction are displayed on this map using, for example, a vehicle mark, and when the vehicle moves, the map scrolls as the vehicle moves. Furthermore, when the vehicle position is likely to exceed the range of the map data currently on the graphic memory 11, the necessary map data is read out from the recording medium 10 and displayed on the display 12 (step S6).

キー人力が有ると、その入力データに応じて現在地の再
セット(ステップS7)、センサ補正(ステップS8)
、目的地セット(ステップ89)及び地図の拡大・縮小
(ステップ510)の各ルーチンを実行する。
If there is key human power, the current location is reset (step S7) and sensor correction (step S8) according to the input data.
, destination setting (step 89), and map enlargement/reduction (step 510) routines are executed.

また、CPU7はタイマーによる割込みにより、第16
図に示すように、一定時間間隔で地磁気センサ1及び角
速度センサ2の各出力データに基づいて車両の方位を常
に計篩する処理を行なう(ステップS11.512)。
In addition, the CPU 7 receives an interrupt from the timer, and the 16th
As shown in the figure, a process is performed in which the direction of the vehicle is constantly determined based on the output data of the geomagnetic sensor 1 and the angular velocity sensor 2 at regular time intervals (step S11.512).

cpu7は更に、走行距離センサ3よりデータが入力さ
れた場合は、走行距離センサによる割込み処理を行なう
。この割込み処理では、第17図に示すように、走行距
離と方位からの現在地の算出(ステップ513)、右折
、左折の判定(ステップ514)、道路への引込み(ス
テップ515)、交差点引込み(スナップ816)、走
行距離による引込み(ステップ517)が実行される。
Furthermore, when data is input from the mileage sensor 3, the CPU 7 performs interrupt processing by the mileage sensor. In this interrupt process, as shown in FIG. 17, the current location is calculated from the travel distance and direction (step 513), right turn or left turn is determined (step 514), turning to the road (step 515), intersection drawing (snap), etc. 816), and retraction based on mileage (step 517) is performed.

なお、このステップ313〜ステツプ817における各
処理に□関しては、後で詳細に説明する。
Note that each process in steps 313 to 817 will be explained in detail later.

また、GPS装置4より得られる緯度、経度データは、
第18図に示すように、GPSデータ受信割込みにより
処理され、現在地データとして座標変換される(ステッ
プ818)。
In addition, the latitude and longitude data obtained from the GPS device 4 are
As shown in FIG. 18, the data is processed by a GPS data reception interrupt, and the coordinates are converted as current location data (step 818).

車両の走行距離は走行距離センサ3の出力から求められ
る。この走行距離センサ3としては、例えば、車のいわ
ゆるスピードメータケーブルの回転数(JIS規格では
、637回転/Km)より1回転の距離を積分すること
により走行距離を求める構成のものが用いられるが、セ
ンサ3の精度により得られる走行距離に誤差が生ずるこ
とは避けられない。また、センサ3の精度だ(プではな
く、地図の精度、タイヤの空気圧の変化、或はスリップ
等も走行距離の誤差の要因となる。従って、走行距離の
補正を度々行なわないと、正確に距離を求めることがで
きなくなってしまうことになる。
The travel distance of the vehicle is determined from the output of the travel distance sensor 3. As this mileage sensor 3, for example, a sensor configured to calculate the mileage by integrating the distance of one revolution from the rotation speed of the car's so-called speedometer cable (637 revolutions/Km according to the JIS standard) is used. , it is inevitable that errors will occur in the travel distance obtained due to the accuracy of the sensor 3. Also, the accuracy of the sensor 3 (not the map accuracy, changes in tire air pressure, slip, etc.) are also factors in the error in the mileage. Therefore, unless you correct the mileage frequently, it will not be accurate. This makes it impossible to calculate the distance.

このため、走行距離センサ3の出力より得た実測の距離
と地図データより得た距離とから距離補正係数rsを求
め、この補正係数rsを用いて距離補正を行なうことに
より、走行距離を常に正確に検出できるのである。
Therefore, by calculating the distance correction coefficient rs from the actual measured distance obtained from the output of the mileage sensor 3 and the distance obtained from the map data, and performing distance correction using this correction coefficient rs, the mileage can always be accurately determined. It can be detected.

また、車両の方位は地磁気センサ1の出力から求められ
る。この方位検出方法に関しては、本出願人等による特
願昭60−282341号明細書等に記載されている。
Further, the direction of the vehicle is determined from the output of the geomagnetic sensor 1. This azimuth detection method is described in Japanese Patent Application No. 60-282341 filed by the present applicant and others.

この地磁気センサ1の示す北は磁北であり、地図北では
ない。このため、磁北が地図北に対してずれていた場合
、第19図に示すように、基準位置から一定距離だけ走
行したときに地磁気センサ1の出力から得られる推測現
在地P1は実際の現在地P2に対してずれを生じること
になる。そのため、地磁気センサ1より求めた方位を地
図方位に変換する作業が必要となる。
The north indicated by this geomagnetic sensor 1 is magnetic north, not map north. Therefore, if the magnetic north is deviated from the map north, the estimated current location P1 obtained from the output of the geomagnetic sensor 1 when traveling a certain distance from the reference position will be different from the actual current location P2, as shown in FIG. This will result in a deviation. Therefore, it is necessary to convert the orientation determined by the geomagnetic sensor 1 into a map orientation.

この変換作業は、第20図に示すように、2次元幾何の
座標変換で求まる回転角、即ち方位補正係数θSによっ
て行なわれる。この方位補正係数θSは地域により変化
し、更に地磁気センサ1を車体に取り付けたときに生じ
る取付は誤差によっても変わる。この方位補正係数θS
は、第21図に示すように、当該係数を零として位置の
わかっている2点間を走行し、慣性航法により求められ
た現在地と到着点との誤差により求めることができる。
As shown in FIG. 20, this conversion work is performed using a rotation angle determined by two-dimensional geometric coordinate conversion, that is, an orientation correction coefficient θS. This azimuth correction coefficient θS varies depending on the region, and the mounting error that occurs when the geomagnetic sensor 1 is attached to the vehicle body also varies depending on the error. This direction correction coefficient θS
As shown in FIG. 21, the coefficient can be set to zero and the vehicle travels between two points whose positions are known, and can be determined from the error between the current location and the arrival point determined by inertial navigation.

この方位補正係数θSを用いて方位補正を行なうことに
より、車両の方位を常に正確に検出できるのである。
By correcting the direction using this direction correction coefficient θS, the direction of the vehicle can always be accurately detected.

なお、距離補正係数rs及び方位補正係数θSの算出方
法は、本出願人等による特願昭60−282344号明
細書等に記載されている。
Note that the method for calculating the distance correction coefficient rs and the direction correction coefficient θS is described in the specification of Japanese Patent Application No. 1982-282344 by the present applicant and others.

次に、CPU 7によって実行される走行距離センサ3
による割込み処理の手順を、第22図のフローチャート
に従って説明する。走行距離センサ3の出力データによ
り、現在地の推測地点が随時計口されており、現在地H
Hルーチンとして、本ルーチンが所定のタイミングで呼
び出される。
Next, the mileage sensor 3 executed by the CPU 7
The interrupt processing procedure will be explained according to the flowchart of FIG. 22. Based on the output data of the mileage sensor 3, the current location is estimated at any time, and the current location H
This routine is called as the H routine at a predetermined timing.

CPU7は先ず、単位距離10を走ったか否かを判断す
る(ステップS20>。ここに、単位距離とは、車両が
実際に走行した一定の道程を言い、例えば20 [m]
に設定されている。そして、一定走行距離毎に本ルーチ
ンが実行され、先ず地図データとの関係即ち、第23図
に示す如く最近傍線分りまでの距111jj1m、その
線分りの地図北となす角度θn等を求め、更にほぼ等距
離に2本以上の線分があるときは、その旨をフラグで示
す(ステップ521)。その伯、近傍交差点の有無など
をここで求めるようにしても良い。続いて、距離ρmが
予め設定した閾値fJthを超えたか否かを判断する(
ステップ522)。超えていなければ、はぼその線分近
傍に現在地があるとして、誤差分IJmの修正を行なう
くステップ523)。この誤差分子Jmは、走行距離セ
ン1す3の検出誤差、地図データのデジタイズ誤差等に
起因するものである。
First, the CPU 7 determines whether or not the vehicle has traveled a unit distance of 10 (step S20). Here, the unit distance refers to a certain distance actually traveled by the vehicle, for example, 20 [m].
is set to . Then, this routine is executed every certain distance traveled, and first, the relationship with the map data, that is, the distance 111jj1m to the nearest line segment, the angle θn between that line segment and the north of the map, etc., as shown in Fig. 23, are determined. When there are two or more line segments approximately equidistant, this fact is indicated with a flag (step 521). It is also possible to determine the number of intersections, presence or absence of nearby intersections, etc. here. Next, it is determined whether the distance ρm exceeds a preset threshold fJth (
Step 522). If not, the error IJm is corrected, assuming that the current location is in the vicinity of that line segment (step 523). This error numerator Jm is caused by a detection error of the mileage sensor 1-3, a digitization error of the map data, and the like.

この修正を行なうのは、次の現在地の認識のためには、
それらの誤差をキャンセルしておく必要があるためであ
る。この後、後述層るパターン引込みルーチンに進む。
This correction is done in order to recognize the current location next time.
This is because it is necessary to cancel those errors. Thereafter, the process proceeds to a pattern drawing routine to be described later.

一方、距離j1mが閾値r thを超えている場合は、
次に車両がカーブ(右折又は左折)したか否かを判断す
る(ステップ524)。カーブの検出方法については、
後で別に述べる。カーブしなかった場合、地磁気センサ
1の出力データから得られた車両の進行方位θと線分り
の角度θnの差を設定基準値θthと比較する(ステッ
プ525)。1θ−θnl>θthならば、何もせずに
パターン引込みルーチンに進む。このケースとしては、
例えば、1字路をつき当り方向に進んだり、或は地図デ
ータとして記憶されていない道を走っているような場合
が考えられる。続いて、近傍にY字路等、より小さい角
度をもった難易度の高い交差点があるか否かを判断する
(ステップ826)。近傍に例えばY字路がある場合に
は、現在走っている道路とは別の道路に引き込んでしま
う可能性があるので、何もせずにパターン引込みルーチ
ンに進む。
On the other hand, if the distance j1m exceeds the threshold r th,
Next, it is determined whether the vehicle has made a curve (turn right or left) (step 524). For information on how to detect curves,
This will be discussed separately later. If the curve does not occur, the difference between the vehicle's traveling direction θ obtained from the output data of the geomagnetic sensor 1 and the line segment angle θn is compared with a set reference value θth (step 525). If 1θ-θnl>θth, the process proceeds to the pattern pull-in routine without doing anything. In this case,
For example, there may be cases where the user is heading towards the end of a crossroads, or driving on a road that is not stored as map data. Next, it is determined whether there is a more difficult intersection with a smaller angle, such as a Y-junction, in the vicinity (step 826). If there is a Y-junction nearby, for example, there is a possibility that the vehicle will be drawn into a road different from the one on which it is currently running, so the process proceeds to the pattern drawing routine without doing anything.

交差点の難易度を示すデータは、地図を数値化する際に
予め第13図(B)に示す如く交差点データの難易度ビ
ットに挿入されているので、CPU7はステップS26
でこのビットをチェックすれば良いのである。
Since the data indicating the difficulty level of the intersection is inserted in advance into the difficulty level bit of the intersection data as shown in FIG. 13(B) when the map is digitized, the CPU 7
All you have to do is check this bit.

以上の2つの条件が当てはまらないときは、センサ等の
誤差が生じて道路データから外れつつあると判断し、こ
の場合は、現在地の修正、即ち道路データへの引込みを
行なう(ステップ527)。
If the above two conditions do not apply, it is determined that an error has occurred in the sensor or the like and the road data is starting to deviate from the road data. In this case, the current location is corrected, that is, it is included in the road data (step 527).

新しい現在地の堆測点P cpdは、第24図に示すよ
うに、センサ出力から求めた前回推測地点Ppρdから
の相対関係より演算された現在推定地点Pcpより、最
近傍線分L1.:おろした垂線と交わる点とし、表示等
を変更する。距離jm及び現在推定地点PCpの座標(
X m、 Y m)はその地点における修正値として、
後で述べるパターン引込みルーチンで使用するため記憶
される。
As shown in FIG. 24, the new current location measurement point P cpd is determined by the nearest line segment L1. : Set as the point that intersects with the vertical line drawn down, and change the display, etc. Distance jm and coordinates of current estimated point PCp (
X m, Y m) are the correction values at that point,
It is stored for use in the pattern acquisition routine described later.

ステップ824で力、−ブしたと判断した場合、交差点
引込みルーチンに入る。先ず、前回交差点としてH7B
した地点からの走行距離ρCを求め、この走行距離ρC
に対して一定[i a cを乗じたものを、交差点検出
閾値u Cthとする(ステップ328)。一定値aC
は走行距離センサ3の精度に関連した値で、倒λば0.
0B程度の値とする。
If it is determined in step 824 that the force has been released, the intersection pull-in routine is entered. First of all, the previous intersection was H7B.
Find the traveling distance ρC from the point where the travel distance ρC
is multiplied by a constant [i a c to be the intersection detection threshold u Cth (step 328). Constant value aC
is a value related to the accuracy of the mileage sensor 3, and λ is 0.
The value should be about 0B.

地図データとして入っている交差点データに対し、現在
地Pcpから各交差点までの距5Jcを求め  ・(ス
テップS29> 、J c <fJ cthなる交差点
が存在するか否かを判断する(ステップ530)。
The distance 5Jc from the current location Pcp to each intersection is determined from the intersection data included as map data (step S29), and it is determined whether there is an intersection where J c <fJ cth (step 530).

ステップS30では、一定距離範囲(例えば、数百1m
]程度)以内か否かの判断も行なう。ここで、交差点が
存在しなかった場合には、パターン引込みルーチンに進
む。また、近傍交差点が複数あり、かつ交差点までの距
離IJcが同程度で近傍交差点を特定できないと判断(
ステップ531)した場合も、パターン引込みルーチン
に進む。
In step S30, a certain distance range (for example, several hundred meters)
] It is also judged whether or not it is within the range (degree). Here, if no intersection exists, the process proceeds to a pattern pull-in routine. In addition, it is determined that there are multiple nearby intersections and the distances IJc to the intersections are about the same, so it is not possible to identify the nearby intersections (
If step 531) is performed, the process also proceeds to the pattern pull-in routine.

近傍交差点が特定された場合、その交差点を新しい現在
地推測地点P cpdとして引込みを行なう(ステップ
532)。この際、交差点までの距離fJc及び現在地
Pcpの座標(X c、 Y c)は引込み母として記
憶される。また、現在地推測地点P cpdを新しい認
識交差点として記憶(更新)する。これにより、車両の
現在地がディスプレイ12上に表示されている地図の道
路上から外れた場合に、強制的に地図上の交差点上に車
両の現在地をのせろ、いわゆる交差点引込みが行なわれ
るのである。
If a nearby intersection is specified, that intersection is selected as a new current location estimation point P cpd (step 532). At this time, the distance fJc to the intersection and the coordinates (X c, Y c) of the current location Pcp are stored as a pull-in base. Furthermore, the estimated current location point P cpd is stored (updated) as a new recognized intersection. As a result, when the current location of the vehicle deviates from the road on the map displayed on the display 12, the current location of the vehicle is forcibly placed on the intersection on the map, so-called intersection pulling is performed.

続いて、前回認識した交差点の座標、そこからの修正値
の和及び現在地の座標に基づいて距離及び方位の補正係
数rs、θSを更新する(ステップ533)。このよう
に、交差点を認識する毎又は交差点間の距離が長い場合
には一定路1!tllpだけ走行する毎に、距離及び方
位の補正係数rs、θSの更新を行なえば、より精度の
高い現在地推測が可能となる。
Next, the distance and direction correction coefficients rs and θS are updated based on the coordinates of the intersection recognized last time, the sum of correction values therefrom, and the coordinates of the current location (step 533). In this way, every time an intersection is recognized or when the distance between intersections is long, the number of roads is 1! If the distance and direction correction coefficients rs and θS are updated every time the vehicle travels by tllp, it becomes possible to estimate the current location with higher accuracy.

次に、パターン引込みについて説明する。このルーチン
は一定路1!tNpoだけ走った時点で実行される。距
離fJ poは、例えば1000 [m]という値であ
る。なお、ステップ831で交差点認識が行なわれた場
合には、走行距離はリセットされる。
Next, pattern pull-in will be explained. This routine is constant! It is executed after running for tNpo. The distance fJ po has a value of 1000 [m], for example. Note that if intersection recognition is performed in step 831, the travel distance is reset.

一定路!11ρpoだけ走行する間に、最近傍線分まで
の距離fJmが、n=jl po/if o  [回]
測定されることになり、n個の誤差修正量eiがデータ
として記憶されている。更に、1回の測定に対し、前回
測定時の誤差修正量e i−1と今回の誤差修正量ei
 との差を、変化1ici  (ei −ei−1)と
して計算しておくものとする。
A constant path! While traveling 11ρpo, the distance fJm to the nearest line segment is n=jl po/if o [times]
The n error correction amounts ei are stored as data. Furthermore, for one measurement, the error correction amount e i-1 from the previous measurement and the current error correction amount ei
It is assumed that the difference between the two values is calculated as a change 1ici (ei - ei-1).

一定路j5jpoだけ走ったと判断したら(ステップ5
34)、変化量C1の値のばらつきについて計算しくス
テップ535)、続いてその偏差α。
When it is determined that you have run only a certain distance j5jpo (step 5)
34), step 535) to calculate the variation in the value of the amount of change C1, and then the deviation α.

6)。そして、この値αを予め定めた閾値αthhと比
較する(ステップ537)。この値αは、各センサの検
出誤差、走行距離等を考慮して求めたものである。α〉
αthhの場合、引込み不可能と判断し、パターン引込
みは行なわない。一方、αくαthhの場合、更に現在
引込みが行なわれているか否かを判断しくステップ83
8)、引込みが行なわれていない場合、即ち道路データ
から外れた位置に現在地がある場合、現在地の最近傍線
分への引込みを行なう(ステップ$39)。更に、閾値
αthhと同様に定められた閾値αtMと比較しくステ
ップ540) 、α〈α11+9のときには、距離及び
方位の補正係数rs、O3を更新する(ステップ541
)。
6). This value α is then compared with a predetermined threshold αthh (step 537). This value α is determined by taking into account detection errors of each sensor, travel distance, and the like. α〉
In the case of αthh, it is determined that pull-in is not possible, and pattern pull-in is not performed. On the other hand, if α is αthhh, it is further determined in step 83 whether or not retraction is currently being performed.
8) If the pull-in has not been performed, that is, if the current location is located outside the road data, the pull-in is performed to the line segment closest to the current location (step $39). Furthermore, compared with the threshold αtM determined in the same way as the threshold αthh, in step 540), when α<α11+9, the distance and direction correction coefficients rs and O3 are updated (step 541).
).

以上の方法で、一度道路から外れたところを走行した後
、他の道路に再引込みを行なうことが可能となる。すな
わち、デジタイズされていない道路を走行し、再びデジ
タイズされた通路を走行すると、一定距離を走った時点
でその道路が認識され、精度の良い現在地推測が可能と
なる。また、一定距離J poに対し、より良い距離U
tについて偏差計算を行ない、距1!1fJpoを短く
とって精度を上げ、応答時間を類くすることも可能であ
る。第25図(A)、(B)に、その様子を示す。
With the above method, it is possible to re-enter another road after driving off the road. In other words, if the vehicle travels on a road that has not been digitized and then travels again on a digitized path, the road will be recognized after a certain distance has been traveled, making it possible to accurately estimate the current location. Also, for a constant distance J po, a better distance U
It is also possible to calculate the deviation with respect to t and shorten the distance 1!1fJpo to improve accuracy and make the response times similar. The situation is shown in FIGS. 25(A) and 25(B).

以上のようにして、最近情交差点への引込みや最近傍線
分への引込みが行なわれるのであるが、この引込みを行
なうためには、現在地に最も近い道路(最近傍線分)や
交差点く最近情交差点)を探し出す作業が必要となる。
As described above, pulling to the nearest intersection or drawing to the nearest neighboring line segment is performed. ) is required.

この最近情交差点や最近傍線分をサーチする作業は、線
分や交差点データの吊が多い、即ちサーチエリアが広い
と、時間がかかってしまい、萌々刻々と変化する現在地
をスムーズに表示できないことになる。ところが、本実
施例においては、第2図〜第5図に示したデータ構造か
ら明らかなように、現在地からのサーチエリアをできる
だけ小さくし、かつそのエリアに入る線分や交差点のデ
ータを管理するデータ(セクションデータ、セクション
テーブル)を持たせていることにより、最小単位のセク
ションをサーチエリアとしてその中から線分や交差点を
サーチすることができるので、サーチに要する時間を短
縮できるのである。以下、CPU7によって実行される
現在地から最近傍線分と最近情交差点をサーチする手順
を、第26図のフローチャートに従って説明する。
Searching for the latest intersection or nearest line segment requires a lot of line segment or intersection data, that is, if the search area is wide, it takes time, and the current location, which changes constantly, cannot be displayed smoothly. become. However, in this embodiment, as is clear from the data structures shown in FIGS. 2 to 5, the search area from the current location is made as small as possible, and the data of line segments and intersections that fall into that area are managed. By having data (section data, section table), it is possible to search for line segments and intersections within the minimum unit section as a search area, thereby reducing the time required for the search. The procedure executed by the CPU 7 to search for the nearest line segment and nearest intersection from the current location will be described below with reference to the flowchart of FIG. 26.

CPLj7は先ず、現在地(crntx 、 cril
ty )からテリトリ−No、(Tx、Ty)、lニッ
トNo、(Nx、Ny)、セクションNo、(Sx。
CPLj7 first displays the current location (crntx, cril
ty) to Territory No., (Tx, Ty), lnit No., (Nx, Ny), Section No., (Sx.

Sy)をそれぞれ求める〈ステップ850〜552)。(Steps 850 to 552).

これは、各エリアが2 単位で分割されているので、簡
単な演算(割算)で求めることができる。次に、セクシ
ョンを勺−チェリアとして、この中に存在する線分と交
差点データをセクションテーブルとセクションデータを
参照することによりロードする(ステップ353〜55
5)。ロードしたデータを基に、現在地がらサーチエリ
ア内の全ての線分までの距離(線分に対する垂線の長さ
)、全ての交差点までの距離を計算し、それらを比較す
ることによって最近傍線分と最近情交差点を得ることが
できる(ステップ856)。サーチを行なう際のスピー
ドは、線分の本数や交差点の個数に比例するが、前述し
たデータ構造に基づくサーチ方式によれば、サーチエリ
ア(セクション)が小さく、計算の対象となる線分の本
数や交差点の個数が少ないので、高速サーチが可能とな
るのである。
This can be determined by a simple calculation (division) since each area is divided into 2 units. Next, the section is set as a cheria, and the line segments and intersection data existing in this section are loaded by referring to the section table and section data (steps 353 to 55).
5). Based on the loaded data, calculate the distance from the current location to all line segments in the search area (the length of the perpendicular to the line segment) and the distance to all intersections, and compare them to find the nearest line segment. A recent intersection point can be obtained (step 856). The speed of searching is proportional to the number of line segments and the number of intersections, but according to the search method based on the data structure described above, the search area (section) is small and the number of line segments to be calculated is proportional to the number of line segments and intersections. Since there are fewer intersections and intersections, high-speed searches are possible.

ところで、ナビゲーションシステムにおいては、種々の
縮尺の地図データを表示する際、全ての縮尺の地図デー
タを持っていると、表示は簡単にしかも高速に行なえる
が、その半面データサイズが大きくなるというデメリッ
1−がある。逆に配も縮尺の大きい地図データだけを持
っていてその他の縮尺を単純な縮小によって表わす場合
、データサイズは小さくなるが表示が遅くなるという欠
点を持つ。
By the way, when displaying map data at various scales in a navigation system, if you have map data at all scales, the display can be done easily and quickly, but on the other hand, the disadvantage is that the data size increases. There is 1-. On the other hand, if the map has only large-scale map data and other scales are represented by simple reduction, the data size will be smaller but the display will be slower.

これに対し、本実施例においては、第8図〜第10図に
示したデータ構造から明らかなように、データサイズを
小さくするために最も縮尺の大きい地図データだけを持
ち、更に他の縮尺のデータを表示する際は表示用の管理
ファイル及び間引きデータを用いることによって表示の
高速化を図っている。以下、第27図のフローチャート
に従って、CPU7によって実行される地図の拡大・縮
小の手順を説明する。
In contrast, in this embodiment, as is clear from the data structure shown in FIGS. 8 to 10, in order to reduce the data size, only the map data of the largest scale is included, and in addition, map data of other scales are included. When displaying data, display management files and thinned data are used to speed up the display. Hereinafter, the procedure for enlarging/reducing the map executed by the CPU 7 will be explained according to the flowchart of FIG. 27.

CPU 7は先ず、表示すべき縮尺が入力装置9からキ
ー人力されたことを判別すると(ステップ560) 、
現在地(Crntx 、 Crnty )から縮尺に対
応したエリアN o 、  (Anx、△ny>を求め
〈ステップ861〜563)、続いてその縮尺のピクチ
ャーIDを参照しくステップ364〜866)、先頭ア
ドレスとデータサイズによって地図データをロードして
V−RAM上の16個のエリアにそれぞれ描画する(ス
テップ567)。このように、表示管理用のピクチャー
IDによって、表示すべき識別された地図データの参照
が(縮尺が小さくなるに従って表示する道路、地名等を
重要なものに絞る)ができるので、表示の高速化が実現
できるのである。
When the CPU 7 first determines that the scale to be displayed has been manually entered from the input device 9, (step 560),
Find the area No, (Anx, △ny>) corresponding to the scale from the current location (Crntx, Crnty) (steps 861-563), then refer to the picture ID of that scale (steps 364-866), and calculate the start address and data. The map data is loaded depending on the size and drawn in each of the 16 areas on the V-RAM (step 567). In this way, the picture ID for display management makes it possible to reference the identified map data to be displayed (as the scale becomes smaller, the displayed roads, place names, etc. are narrowed down to important ones), which speeds up the display. can be realized.

また、ポリゴンとラインデータに対しては、第11図及
び第12図で説明したように、表示を省略しても差し支
えない点の間引きビットにはその旨の情報が入れである
ので、5万分の1や10万分の1の地図の描画の際に、
この間引きビットをチェックしくステップ568)、間
引きの対象となっている点を除いて描画する(ステップ
569)。このように、地図の縮小の際、ディスプレイ
に表示した場合に、見た目上省略しても差し支えない点
を間引いて表示を行なうことにより、表示する線分の数
を減すことができるので、表示のより高速化が図れるの
である。
Also, for polygon and line data, as explained in Figures 11 and 12, information to that effect is included in the thinning bits of points that can be omitted from display, so When drawing maps of 1/100,000 or 1/100,000,
The thinned out bits are checked (step 568), and the points targeted for thinning are drawn (step 569). In this way, when the map is reduced, the number of line segments to be displayed can be reduced by thinning out the points that can be visually omitted when displayed on the display. This makes it possible to achieve faster speeds.

なお、上記実施例では、ポリゴンとラインデータに間引
きビットを設け、表示を省略しても差し支えない点の間
引きビットにはその旨の情報が入れるようにしたが、ポ
リゴンとラインのデータを等間隔でプロットしておき、
表示の際に所定の規則(例えば、縮尺5万分の1の場合
1つ飛び、10万分の1の場合4つ飛び等)に従って間
引くようにしても良く、同様の効果が得られる。
Note that in the above embodiment, a thinning bit is provided for polygon and line data, and information to that effect is entered in the thinning bit for points that can be omitted from display. Plot it with
The same effect can be obtained by thinning out images according to a predetermined rule (for example, skipping by one in the case of a scale of 1/50,000, skipping by four in the case of a scale of 1/100,000, etc.) at the time of display.

次に、第22図のフローチャートにおけるステップ82
4のカーブ(右折・左折)の判断方法について説明する
Next, step 82 in the flowchart of FIG.
The method for determining the curve (right turn/left turn) in No. 4 will be explained.

基本的には、方位センサである例えば地磁気センサ1の
出力データに基づいて右折・左折を判別し、曲がったこ
とを検出した場合に、ステップ828以降の処理によっ
て交差点引込みを行なうのである。しかしながら、地磁
気センサ1は外乱に弱く、踏切通過時、鉄橋通過時、自
車の側を大きな車(例えば、トラック、バス)が通過し
た際、その出力データに大きな誤差が含まれることにな
る。このデータをそのまま右折・左折判断に利用すると
、直進しているところで曲がったと誤認して、交差点で
もないのに交差点引込みを行なってしまい、現在地が正
しい位置からずれてしまうことになる。
Basically, a right turn or a left turn is determined based on the output data of the azimuth sensor, for example, the geomagnetic sensor 1, and when a turn is detected, the intersection is pulled through the process from step 828 onwards. However, the geomagnetic sensor 1 is sensitive to external disturbances, and its output data will contain a large error when a large vehicle (for example, a truck or a bus) passes by the vehicle, such as when passing through a railroad crossing or a railway bridge. If this data is used as it is to judge whether to turn right or left, the vehicle will mistakenly think that the vehicle has turned when it was traveling straight and will pull into the intersection even though it is not even an intersection, causing the current location to deviate from the correct location.

そこで、本実施例においては、曲がったことを判断する
のに、曲率半径と車速を判断基準に入れることにより、
正確な右折・左折の判断を可能としている。以下、CP
U7によって実行される右折・左折の判断方法の手順に
ついて、第28図のフローチャートに従って説明する。
Therefore, in this embodiment, the radius of curvature and vehicle speed are included in the criteria to determine whether the vehicle has turned.
This makes it possible to accurately judge whether to turn right or left. Below, C.P.
The procedure of the right-turn/left-turn judgment method executed by U7 will be explained according to the flowchart of FIG. 28.

CPU7は先ず、ある一定距離(例えば、15 [m]
 )を走行した際に一定角(例えば、40度)以上向が
ったときをカーブ(右折又は左折)したと判断する(ス
テップ370)。しかし、カーブしたときにそのときの
曲率半径Rが判断基準最小回転半径である一定値Rmi
n  (例えば、3.5 [m] )以下のときは、そ
のデータは間違っていると判断し、カーブしたとは判定
しない(ステップ571)。
First, the CPU 7 moves from a certain distance (for example, 15 [m]
) when the vehicle turns at a certain angle (for example, 40 degrees) or more, it is determined that the vehicle has made a curve (turn right or left) (step 370). However, when the curve is made, the radius of curvature R at that time is a constant value Rmi which is the minimum radius of rotation for the judgment criterion.
n (for example, 3.5 [m]) or less, it is determined that the data is wrong and it is not determined that the curve is curved (step 571).

これは、自動車の最小回転半径以下では曲がれないから
である。更に、車速Sがある判断基準最高速度である一
定速度3max((例えば、40[Km/h])以上の
場合は、交差点を曲がることは通常は考えられないので
、この速度以上では、カーブしたとは判定しない(ステ
ップ572)。また、右折・左折の判定は、例えば、東
を方位0度、北を方位90度、西を方位180度、南を
方位270度とすると、その方位の増減によって行なう
ことができる(ステップ573)。すなわち、方位が増
える方向が左折(ステップ574)、方位が減る方向が
右折(ステップ575)となるので、これにより右折・
左折を判断できるのである。
This is because the vehicle cannot turn below its minimum turning radius. Furthermore, if the vehicle speed S exceeds a certain maximum judgment standard speed of 3max (e.g. 40 [Km/h]), it is normally unthinkable to turn at an intersection; (Step 572).Also, to determine whether to turn right or left, for example, if east is 0 degrees, north is 90 degrees, west is 180 degrees, and south is 270 degrees, then the direction is increased or decreased. (Step 573).In other words, the direction in which the bearing increases is a left turn (Step 574), and the direction in which the bearing decreases is a right turn (Step 575).
It is possible to determine a left turn.

なお、曲率半径Rは、第29図に示すように、ある点a
における車両の方位とその点aから一定距離1だけ走行
した点すにおける車両の方位とのなす角度をθ[ラジア
ン]とすると、j=R・θであるから、この式を変形し
て得られる次式R=fJ/θ から求めることができる。
Note that the radius of curvature R is determined at a certain point a, as shown in FIG.
If the angle between the vehicle's direction at point A and the vehicle's direction at point A, which has traveled a certain distance 1 from point a, is θ [radian], then j=R・θ, so it can be obtained by transforming this equation. It can be determined from the following formula R=fJ/θ.

また、第22図のフローに沿った処理によって行なわれ
る交差点引込み等により、現在地がディスプレィ上に表
示されている地図の道路上に常に位置するように制御さ
れるが、例えば交差点間の距離が長い場合には、その間
現在地の微小修正が行なわれるのであるが、センサの精
度、計算1L地図精度等による距離誤差により、前回引
込んだ交差点からの実際の現在地と地図上の現在地とに
距離差が生じ、その誤差は交差点間の距離が長い程大き
くなる。このような場合、次に引込みを行なうべき交差
点の近傍に複数の交差点が近接して複数あると、間違っ
た交差点に引込みを行なう可能性がある。そこで、本実
施例では、交差点間において一定距離だけ走行したら、
いわゆる走行距離による引込みを行なうようにしている
。以下、その手順を第30図のフローチャートに従って
説明する。
In addition, the current location is controlled so that it is always located on the road shown on the map displayed on the display by the intersection pull-in, etc. performed by the process according to the flow shown in Figure 22. However, for example, if the distance between intersections is long, If so, the current location will be slightly corrected during that time, but due to distance errors due to sensor accuracy, calculated 1L map accuracy, etc., there may be a distance difference between the actual current location from the last intersection and the current location on the map. This error increases as the distance between intersections increases. In such a case, if there are a plurality of intersections close to each other in the vicinity of the intersection where the vehicle should pull in next, there is a possibility that the vehicle will pull in at the wrong intersection. Therefore, in this embodiment, after traveling a certain distance between intersections,
We are trying to pull in based on so-called mileage. Hereinafter, the procedure will be explained according to the flowchart of FIG. 30.

先ず初期値を設定する(ステップ880)。この初期値
としては、ある確定した現在地が必要となるが、これは
使用者が最初に設定するか、交差点など確定した点へ引
き込んだ場合の現在地を利用できるし、またすでに確定
した現在地ならば不N発性メモリにそのデータを登録し
ておけば、一度だけセットすれば良いことになる。この
確定した現在地で走行距離をゼロリセットしくステップ
581)、交差点を曲がったか(ステップ582)、一
定距離を走ったかくステップ583)を常に監視しなが
ら、一定距離走ったときに、地図データに基づいてゼロ
リセッ1〜した地図上の点く前回検出位置)からこの一
定距離の点を求めてその点に現在地を変更し引込みを行
なう(ステップ584)。一定距離を走る間は、見掛は
上一番近い線分に垂線をおろし、その交点に引込みを行
なうことにより(ステップ585)、ディスプレイ上に
表示された地図の道路上に車両の現在地をのせることが
できる。車両が曲がったことを検出した場合には、交差
点引込みを行なう(ステップ886)。この交差点引込
みは先述した通りである。
First, initial values are set (step 880). As this initial value, a fixed current location is required, but this can be set by the user first, or the current location when pulling into a fixed point such as an intersection can be used, or if the current location has already been fixed, If the data is registered in the non-Normal memory, it only needs to be set once. The mileage is reset to zero at this confirmed current location (Step 581), whether the user turns at an intersection (Step 582), or whether the driver has traveled a certain distance (Step 583). A point at a certain distance from the previously detected position on the zero-reset map is found, the current location is changed to that point, and the pull-in is performed (step 584). While driving a certain distance, the vehicle's current location is drawn on the road on the map displayed on the display by drawing a perpendicular line to the line segment closest to the top and drawing it to the intersection (step 585). can be set. If it is detected that the vehicle has turned, the intersection pull-in is performed (step 886). This intersection lead-in is as described above.

なお、交差点で曲がったという判断にも、この走行距離
による引込みが有効に使える。すなわち、交差点間の距
離と走行距離により曲がった交差点を地図データより判
断できるのである。
In addition, the distance traveled can be effectively used to determine whether the vehicle has turned at an intersection. In other words, it is possible to determine a curved intersection from the map data based on the distance between the intersections and the travel distance.

及」1と1里 以上説明したように、本発明によれば、地図の道路上の
各位置及び交差点位置を数値化して地図データとして記
憶する際、地図を細分化してエリア単位で記憶しておき
、車両の現在地から道路上の最近傍位置又は最近例文着
点をサーブするときは、現在地が属するエリア単位で行
なうことにより、最近傍位置又は最近傍交差点のサーチ
に要する演算時間等を大幅に短縮できるので、サーチの
高速化が可能となり、車両の走行に伴い現在地をスムー
ズに表示できることになる。
As explained above, according to the present invention, when each position on the road and the intersection position on the map is digitized and stored as map data, the map is subdivided and stored in area units. When serving the nearest position on the road or the most recent example sentence destination from the vehicle's current location, by doing so in units of areas to which the current location belongs, the calculation time required to search for the nearest location or nearest intersection can be greatly reduced. Since the search time can be shortened, the search speed can be increased, and the current location can be displayed smoothly as the vehicle travels.

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

第1図は本発明に係る車載ナビゲーション装置の構成を
示すブロック図、第2図(A)〜(C)乃至第13図(
A)、(B)は第1図における記録媒体に記憶される地
図情報のデータ構造を示す図、第14図く、A)〜(C
)はV−RAM上の画面構成を示す図、第15図乃至第
18図は第1図におけるCPLIによって実行される基
本的な手順を示すフローチャート、第19図乃至第21
図は方位補正係数θSの求め方を示す図、第22図はC
PUによって実行される交差点引込みルーチン及びパタ
ーン引込みルーチンの手順を示すフローチャート、第2
3図及び第24図は地図上の現在地と最近傍線分との位
置関係を示す図、第25図は道路への引込みを行なう伯
の方法を示す図、第26図は最近傍線分及び交差点をサ
ーチする手順を示すフローチャート、第27図は地図の
拡大・縮小の手順を示すフローチャート、第28図は右
折・左折の判定方法の手順を示すフローチャート、第2
9図は曲率半径の求め方を示す図、第30図は走行距離
(こよる引込み方法の手順を示すフローチャートである
。 主要部分の符号の説明
FIG. 1 is a block diagram showing the configuration of an in-vehicle navigation device according to the present invention, and FIGS. 2(A) to 13(C) to 13(
A) and (B) are diagrams showing the data structure of the map information stored in the recording medium in FIG. 1, and FIG.
) is a diagram showing the screen configuration on the V-RAM, FIGS. 15 to 18 are flowcharts showing the basic procedures executed by the CPLI in FIG. 1, and FIGS. 19 to 21 are
The figure shows how to obtain the direction correction coefficient θS, and Fig. 22 shows C
Flowchart showing the procedure of the intersection drawing routine and the pattern drawing routine executed by the PU, 2nd
Figures 3 and 24 are diagrams showing the positional relationship between the current location on the map and the nearest line segment, Figure 25 is a diagram showing Haku's method of drawing into a road, and Figure 26 is a diagram showing the positional relationship between the current location on the map and the nearest line segment, and Figure 26 is a diagram showing the nearest line segment and intersection. 27 is a flowchart showing the procedure for enlarging/reducing the map; FIG. 28 is a flowchart showing the procedure for determining whether to turn right or left;
Fig. 9 is a diagram showing how to obtain the radius of curvature, and Fig. 30 is a flowchart showing the procedure for retracting the travel distance. Explanation of symbols of main parts

Claims (1)

【特許請求の範囲】[Claims] 地図の道路上の各位置及び交差点位置を数値化して地図
データとして記憶する際、前記地図を細分化してエリア
単位で記憶しておき、車両の現在地から前記道路上の最
近傍位置又は最近傍交差点をサーチするときは、前記現
在地が属するエリア単位で行なうことを特徴とする地図
データのサーチ方法。
When each position on the road and the intersection position on the map are digitized and stored as map data, the map is subdivided and stored in area units, and the nearest position on the road or the nearest intersection from the current location of the vehicle is A search method for map data, characterized in that when searching for , the search is performed in units of areas to which the current location belongs.
JP61156886A 1986-07-02 1986-07-02 Searching of map data Pending JPS6311987A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61156886A JPS6311987A (en) 1986-07-02 1986-07-02 Searching of map data
US07/069,085 US4924402A (en) 1986-07-02 1987-07-02 Method for identifying current position of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61156886A JPS6311987A (en) 1986-07-02 1986-07-02 Searching of map data

Publications (1)

Publication Number Publication Date
JPS6311987A true JPS6311987A (en) 1988-01-19

Family

ID=15637540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61156886A Pending JPS6311987A (en) 1986-07-02 1986-07-02 Searching of map data

Country Status (1)

Country Link
JP (1) JPS6311987A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01250816A (en) * 1988-03-31 1989-10-05 Sony Corp Vehicle navigation method
JPH01162614U (en) * 1988-04-28 1989-11-13
US5353034A (en) * 1991-11-08 1994-10-04 Sanden Corporation Position information inputting apparatus for a vehicle travel guide system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6175212A (en) * 1984-09-21 1986-04-17 Hitachi Ltd Vehicle travel guide device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6175212A (en) * 1984-09-21 1986-04-17 Hitachi Ltd Vehicle travel guide device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01250816A (en) * 1988-03-31 1989-10-05 Sony Corp Vehicle navigation method
JPH01162614U (en) * 1988-04-28 1989-11-13
US5353034A (en) * 1991-11-08 1994-10-04 Sanden Corporation Position information inputting apparatus for a vehicle travel guide system

Similar Documents

Publication Publication Date Title
KR100266882B1 (en) Navigation device
US6487496B2 (en) Mobile navigation apparatus with route deviation indication
US6567744B1 (en) In-vehicle navigation apparatus
JP3941499B2 (en) Vehicle position detection device and vehicle position detection method
JP2008175716A (en) Navigation system for specifying one&#39;s own vehicle position based on altitude variation, and its method
JPH0875488A (en) Sub-route setting device and navigation device
JP4835413B2 (en) Vehicle navigation device
JPS6312096A (en) Recognition of current location for vehicle
JPS6311813A (en) Recognition of present location for vehicle
JP5538131B2 (en) Car navigation system
JPH04213019A (en) Position detection accuracy determination method and vehicle guidance device using the method
JPS6311985A (en) Display of map data
JPS6311987A (en) Searching of map data
JP4074598B2 (en) Navigation device and current position calculation method
JP2005274186A (en) Acceleration calculation method of navigation device
JPS63115004A (en) Present place estimating method for vehicle
JP2005121425A (en) Route searching method for navigation system
JP3064752B2 (en) Route guidance device for vehicles
JP2665588B2 (en) Vehicle right / left turn determination method
JPS6311988A (en) Recognition of current location for vehicle
JPS6311986A (en) Display of map data
JP4520870B2 (en) Navigation device and current position display method
JPS6312097A (en) Updating of sensor correction coefficient
JPS6312098A (en) Updating of sensor correction coefficient
JP3599421B2 (en) Current position calculation device