JP5445266B2 - Positioning device, locus information storage method, program - Google Patents

Positioning device, locus information storage method, program Download PDF

Info

Publication number
JP5445266B2
JP5445266B2 JP2010072976A JP2010072976A JP5445266B2 JP 5445266 B2 JP5445266 B2 JP 5445266B2 JP 2010072976 A JP2010072976 A JP 2010072976A JP 2010072976 A JP2010072976 A JP 2010072976A JP 5445266 B2 JP5445266 B2 JP 5445266B2
Authority
JP
Japan
Prior art keywords
information
trajectory
data
variation
storage
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.)
Expired - Fee Related
Application number
JP2010072976A
Other languages
Japanese (ja)
Other versions
JP2011203202A (en
Inventor
豊 小野寺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2010072976A priority Critical patent/JP5445266B2/en
Publication of JP2011203202A publication Critical patent/JP2011203202A/en
Application granted granted Critical
Publication of JP5445266B2 publication Critical patent/JP5445266B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、測位装置において自己の移動軌跡を示す軌跡データを記憶する技術に関するものである。   The present invention relates to a technique for storing trajectory data indicating its own movement trajectory in a positioning device.

従来、GPS(Global Positioning System)衛星等の測位衛星から送られてくる電波を受信することによって、自己の現在位置を示す位置情報(緯度、経度、高度)を取得するナビゲーション装置等の測位装置においては、取得した位置情報を、測位装置の移動軌跡を示す軌跡データとして記憶する機能を備えたものが多い。   Conventionally, in a positioning device such as a navigation device that acquires position information (latitude, longitude, altitude) indicating its current position by receiving radio waves transmitted from a positioning satellite such as a GPS (Global Positioning System) satellite. Many of them have a function of storing the acquired position information as trajectory data indicating the movement trajectory of the positioning device.

ところで、一連の軌跡データからなる軌跡情報を記憶する際、取得した全ての位置情報を軌跡データとして記憶すると、軌跡情報の記憶に必要なメモリ容量が大きくなる。これに関し、例えば下記特許文献1には、自己の移動方向を所定の周期で取得し、取得した移動方向の変化量の積算値が閾値よりも大きくなったときにだけ軌跡データを記憶する技術が記載されている。つまり軌跡データを適切に間引くことによって、軌跡情報を圧縮することにより、軌跡情報の記憶に必要なメモリ容量を削減する技術が記載されている。   By the way, when storing the trajectory information including a series of trajectory data, if all the acquired position information is stored as trajectory data, the memory capacity required for storing the trajectory information increases. In this regard, for example, Patent Document 1 below discloses a technique for acquiring own movement direction in a predetermined cycle and storing trajectory data only when the integrated value of the obtained change amounts in the movement direction becomes larger than a threshold value. Have been described. That is, a technique for reducing the memory capacity necessary for storing the trajectory information by compressing the trajectory information by appropriately thinning out the trajectory data is described.

特開2004−125542号公報JP 2004-125542 A

しかしながら、上記特許文献1の技術においては、移動軌跡情報を構成する個々の軌跡データが、地図上における自己の現在位置を示す位置情報(緯度、経度)である。そのため、軌跡データを間引くことができない期間の移動軌跡を示す軌跡情報については圧縮することができないという問題があった。   However, in the technique of Patent Document 1, each piece of trajectory data constituting the movement trajectory information is position information (latitude and longitude) indicating its current position on the map. Therefore, there is a problem that the trajectory information indicating the movement trajectory during a period in which the trajectory data cannot be thinned cannot be compressed.

本発明は、かかる従来の課題に鑑みてなされたものであり、移動軌跡を示す軌跡データを間引かなくとも移動軌跡を示す軌跡情報を効率よく圧縮して記録することを目的とする。   The present invention has been made in view of such conventional problems, and an object thereof is to efficiently compress and record trajectory information indicating a movement trajectory without thinning out trajectory data indicating the movement trajectory.

前記課題を解決するため、請求項1記載の発明に係る測位装置にあっては、測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、自己の移動軌跡を示す軌跡情報を記憶する記憶手段と、前記測位手段により計測された位置情報を、第1の時間間隔で前記記憶手段に軌跡情報として記憶させる第1の記憶制御手段と、前記第1の記憶制御手段が第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる第2の記憶制御手段と、前記第2の記憶制御手段が第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する加算手段とを備え、前記第2の記憶制御手段は、前記加算手段による加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを備えたことを特徴とする。 In order to solve the above-described problem, in the positioning device according to the first aspect of the present invention, positioning means for receiving a radio wave transmitted from a positioning satellite and measuring its current position, and its own movement trajectory Storage means for storing the indicated trajectory information, first storage control means for storing the position information measured by the positioning means as trajectory information in the storage means at a first time interval, and the first storage control. While the means stores the position information as trajectory information in the storage means at the first time interval, the position fluctuation indicating the amount of change in the current position during the second time interval at the second time interval. A second storage control unit that stores information as trajectory information in the storage unit; and a plurality of position fluctuations that the second storage control unit should continuously store in the storage unit as trajectory information at a second time interval. By information Addition means for adding the change amount shown on the condition that the change amount indicated by the position change information on the subsequent side satisfies a predetermined criterion, the second storage control means, The position variation information indicating the amount of variation after the addition by the adding unit is stored as trajectory information in the storage unit, instead of a plurality of pieces of position variation information to which the variation amount is added. To do.

また、請求項2記載の発明に係る測位装置にあっては、前記加算手段は、前記後続する側の位置変動情報により示される前記変動量が、基準となる移動方向となす角度が閾値以下である移動方向を表すことを条件として、前記複数の位置変動情報により示される各々の前記変動量を加算し、前記基準となる移動方向は、前記記憶手段に軌跡情報として直前に記憶された位置変動情報により示される前記変動量であって、前記加算手段による加算が行われてない前記変動量により表される移動方向であることを特徴とする。 In the positioning device according to the second aspect of the present invention, the adding means is configured such that the angle formed by the variation amount indicated by the positional variation information on the subsequent side is a threshold or less is a threshold value. Each of the fluctuation amounts indicated by the plurality of position fluctuation information is added on condition that a certain movement direction is expressed, and the reference movement direction is the position fluctuation stored immediately before as trajectory information in the storage means. The moving direction is represented by the fluctuation amount indicated by the information and the fluctuation amount not added by the adding means.

また、請求項3記載の発明に係る軌跡情報記憶方法にあっては、測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、自己の移動軌跡を示す軌跡情報を記憶する記憶手段とを備えた測位装置において、前記測位手段により計測された位置情報を第1の時間間隔で前記記憶手段に軌跡情報として記憶させる工程と、前記第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる工程と、前記第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する工程とを含み、加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを特徴とする。 In the locus information storage method according to the third aspect of the present invention, positioning means for receiving a radio wave transmitted from a positioning satellite and measuring its current position, and locus information indicating its own movement locus And a storage device that stores the position information measured by the positioning device in the storage device as trajectory information at a first time interval, and the position at the first time interval. While the information is stored in the storage means as the trajectory information, the position fluctuation information indicating the fluctuation amount of the current position during the second time interval is stored as the trajectory information in the storage means at the second time interval. It shows a step of, the variation amount indicated by the plurality of positional variation information should continuously be stored as the locus information in the storage unit at a second time interval, the position change information of the subsequent side Adding the position fluctuation information indicating the fluctuation amount after the addition to a plurality of position fluctuation information to which the fluctuation amount is added. Instead, the information is stored in the storage means as trajectory information .

また、請求項4記載の発明に係るプログラムにあっては、測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、自己の移動軌跡を示す軌跡情報を記憶する記憶手段とを備えた測位装置が有するコンピュータを、前記測位手段により計測された位置情報を、第1の時間間隔で前記記憶手段に軌跡情報として記憶させる第1の記憶制御手段と、前記第1の記憶制御手段が第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる第2の記憶制御手段と、前記第2の記憶制御手段が第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する加算手段として機能させ、前記第2の記憶制御手段は、前記加算手段による加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを特徴とする。 In the program according to the fourth aspect of the invention, positioning means for receiving a radio wave transmitted from a positioning satellite and measuring its own current position, and trajectory information indicating its own movement trajectory are stored. A first storage control means for storing position information measured by the positioning means in the storage means as trajectory information at a first time interval; While the storage control unit stores the position information as trajectory information in the storage unit at the first time interval, the amount of change in the current position during the second time interval is calculated at the second time interval. a second storage control means for storing the positional fluctuation information indicating the trajectory information in the storage means, the second storage control unit to be continuously stored as locus information in the storage unit at a second time interval Functioning as addition means for adding the fluctuation amount indicated by the positional fluctuation information of a number on condition that the fluctuation quantity indicated by the positional fluctuation information on the subsequent side satisfies a predetermined criterion, The storage control means stores the position fluctuation information indicating the fluctuation amount after addition by the addition means in the storage means as trajectory information instead of the plurality of position fluctuation information to which the fluctuation amount is added. Features.

本発明によれば、移動軌跡を示す軌跡データを間引かなくとも移動軌跡を示す軌跡情報を効率よく圧縮して記録することが可能となる。   According to the present invention, it is possible to efficiently compress and record trajectory information indicating a movement trajectory without thinning out trajectory data indicating the movement trajectory.

本発明に係る測位装置を示すブロック図である。It is a block diagram which shows the positioning apparatus which concerns on this invention. RAMに確保される記憶領域を示す概念図である。It is a conceptual diagram which shows the memory area ensured in RAM. 絶対座標データのデータフォーマットを示す概念図である。It is a conceptual diagram which shows the data format of absolute coordinate data. 相対座標データのデータフォーマットを示す概念図である。It is a conceptual diagram which shows the data format of relative coordinate data. 位置計測期間におけるCPUの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of CPU in a position measurement period. 軌跡データ保存処理を示すフローチャートである。It is a flowchart which shows a locus | trajectory data preservation | save process.

以下、本発明の一実施形態について説明する。本実施形態は、GPS衛星を利用して位置計測(測位)を行うとともに、移動軌跡を記録する機能を備えた携帯型の測位装置に関するものである。   Hereinafter, an embodiment of the present invention will be described. The present embodiment relates to a portable positioning device that has a function of performing position measurement (positioning) using a GPS satellite and recording a movement trajectory.

図1は、本実施形態の測位装置1の電気的構成の概略を示すブロック図である。図1に示したように測位装置1は、制御部2と、制御部2に接続されたGPSモジュール3と、磁気センサ4、加速度センサ5、ディスプレイ6、キー入力部7、メモリコントローラ8とから構成されている。   FIG. 1 is a block diagram showing an outline of the electrical configuration of the positioning device 1 of the present embodiment. As shown in FIG. 1, the positioning device 1 includes a control unit 2, a GPS module 3 connected to the control unit 2, a magnetic sensor 4, an acceleration sensor 5, a display 6, a key input unit 7, and a memory controller 8. It is configured.

GPSモジュール3は、複数のGPS衛星(測位衛星)から送られてくる電波をGPSアンテナ3aにより受信することによって現在位置を計測し、自己の現在位置を示す位置情報、つまり緯度、経度、高度からなる絶対座標位置を取得する本実施形態における測位手段である。   The GPS module 3 measures the current position by receiving radio waves transmitted from a plurality of GPS satellites (positioning satellites) by the GPS antenna 3a, and calculates position information indicating its current position, that is, latitude, longitude, and altitude. It is the positioning means in this embodiment which acquires the absolute coordinate position which becomes.

GPSモジュール3は、主として測位衛星から送られている電波に重畳されているL1帯のC/Aコードを復調・解読して現在位置を演算する制御回路と、GPS衛星の捕捉に必要な衛星情報や、現在位置の演算に不可欠な測地系に関するデータ等を記憶するメモリと、GPS衛星の捕捉タイミングを得るために測位装置1の使用地域における現地時刻を高精度でカウントする時計回路とから構成される。   The GPS module 3 includes a control circuit that demodulates and decodes the L1 band C / A code superimposed mainly on radio waves transmitted from positioning satellites and calculates the current position, and satellite information necessary for capturing the GPS satellites. And a memory for storing data related to the geodetic system indispensable for the calculation of the current position, and a clock circuit for counting the local time in the area where the positioning device 1 is used with high accuracy in order to obtain the capture timing of the GPS satellite. The

GPSモジュール3は、取得した絶対座標位置を含むGPSデータを制御部2に供給する。なお、GPSデータには、年月日と時分秒とからなる測位時間と、測位精度を示す情報とが含まれる。測位精度を示す情報は、今回計測した現在位置が、現在位置の計測に際して4以上の衛星が捕捉できた場合における3次元の位置計測結果であるか、又は3衛星しか捕捉できなかった場合における2次元の位置計測結果であるかを示す情報である。   The GPS module 3 supplies GPS data including the acquired absolute coordinate position to the control unit 2. Note that the GPS data includes a positioning time consisting of a date and hour and minute, and information indicating positioning accuracy. The information indicating the positioning accuracy is the current position measured this time is a three-dimensional position measurement result when four or more satellites can be captured when measuring the current position, or 2 when only three satellites can be captured. This is information indicating whether the result is a dimension position measurement result.

磁気センサ4は、3軸方向の地磁気成分を検出し、検出結果を測位装置1が移動している間の移動方向(具体的には方位角)を示す移動方向情報として制御部2に供給する。なお、図示しないが、磁気センサ4の出力信号はアンプにより増幅され、A/D変換器によってデジタルの検出信号に変換された後、制御部2に供給される。   The magnetic sensor 4 detects the geomagnetic component in the triaxial direction, and supplies the detection result to the control unit 2 as movement direction information indicating a movement direction (specifically, an azimuth angle) while the positioning device 1 is moving. . Although not shown, the output signal of the magnetic sensor 4 is amplified by an amplifier, converted into a digital detection signal by an A / D converter, and then supplied to the controller 2.

加速度センサ5は、測位装置1における3軸方向の加速度を検出し、検出結果は、測位装置1が移動したときの移動量を示す移動量情報として制御部2に供給する。なお、図示しないが、加速度センサ5の出力信号もアンプにより増幅され、A/D変換器によってデジタルの検出信号に変換された後、制御部2に供給される。   The acceleration sensor 5 detects the acceleration in the triaxial direction in the positioning device 1 and supplies the detection result to the control unit 2 as movement amount information indicating the movement amount when the positioning device 1 moves. Although not shown, the output signal of the acceleration sensor 5 is also amplified by an amplifier, converted into a digital detection signal by an A / D converter, and then supplied to the control unit 2.

制御部2は、主としてCPU(Central Processing Unit)21と、ROM(Read Only Memory)22と、作業用のRAM(Random Access Memory)23とから構成される。制御部2は、ROM22に記憶されている種々のプログラムに従い測位装置1を制御する。ROM22には、制御部2に後述する処理を行わせることによって、CPU21を本実施形態において第1の記憶制御手段、第2の記憶制御手段、加算手段、判断手段として機能させる軌跡データ記録プログラム22aが記憶されている。   The control unit 2 mainly includes a CPU (Central Processing Unit) 21, a ROM (Read Only Memory) 22, and a working RAM (Random Access Memory) 23. The control unit 2 controls the positioning device 1 according to various programs stored in the ROM 22. The ROM 22 causes the control unit 2 to perform processing to be described later, thereby causing the CPU 21 to function as a first storage control unit, a second storage control unit, an addition unit, and a determination unit in this embodiment. Is remembered.

図2は、測位装置1が移動軌跡を記録している間において、RAM23に確保される記憶領域を示した概念図である。移動軌跡の記録中、RAM23には磁気センサ出力データ保存領域23aと、加速度センサ出力データ保存領域23b、GPSデータ保存領域23c、軌跡データ保存領域23dの各領域が確保される。なお、本実施形態においては、RAM23が、移動軌跡の記録中に軌跡データ保存領域23dを確保されることにより記憶手段として機能する。   FIG. 2 is a conceptual diagram showing a storage area secured in the RAM 23 while the positioning device 1 records the movement trajectory. During the recording of the movement locus, the RAM 23 is secured with the magnetic sensor output data storage area 23a, the acceleration sensor output data storage area 23b, the GPS data storage area 23c, and the locus data storage area 23d. In the present embodiment, the RAM 23 functions as a storage unit by securing the locus data storage area 23d during recording of the movement locus.

磁気センサ出力データ保存領域23aには、磁気センサ4から制御部2に供給された検出値のデータが保存され、加速度センサ出力データ保存領域23bには、加速度センサ5から制御部2に供給された検出値のデータが保存される。GPSデータ保存領域23cには、GPSモジュール3から制御部2に供給された緯度、経度、高度と測位精度等のGPSデータが保存される。   The detected value data supplied from the magnetic sensor 4 to the control unit 2 is stored in the magnetic sensor output data storage area 23a, and the acceleration sensor output data storage area 23b is supplied from the acceleration sensor 5 to the control unit 2. The detected value data is saved. GPS data such as latitude, longitude, altitude and positioning accuracy supplied from the GPS module 3 to the control unit 2 is stored in the GPS data storage area 23c.

軌跡データ保存領域23dには、測位装置1の移動軌跡を示す一連の軌跡データが一時的に保存される。軌跡データ保存領域23dに一時的に保存される軌跡データは絶対座標データと相対座標データとの2種類である。   In the locus data storage area 23d, a series of locus data indicating the movement locus of the positioning device 1 is temporarily saved. There are two types of trajectory data temporarily stored in the trajectory data storage area 23d: absolute coordinate data and relative coordinate data.

絶対座標データは、ある地点の地図上の絶対座標位置を示す軌跡データであり、GPSモジュール3により取得されたGPSデータを主としたデータである。   The absolute coordinate data is trajectory data indicating the absolute coordinate position on a map at a certain point, and is mainly data of GPS data acquired by the GPS module 3.

図3は、絶対座標データ101のデータフォーマットを示す概念図である。図3に示したように絶対座標データ101は、データ構造管理用領域と、動作種類管理用領域と、時間情報領域と、位置情報領域とからなる19Byteのデータである。   FIG. 3 is a conceptual diagram showing a data format of the absolute coordinate data 101. As shown in FIG. 3, the absolute coordinate data 101 is 19-byte data including a data structure management area, an operation type management area, a time information area, and a position information area.

データ構造管理用領域には3bitが割り当てられている。データ構造管理用領域には、軌跡データの種類を示すデータであって、当該軌跡データが絶対座標データ101であること、及び絶対座標データ101の精度(前述した測位精度)を示す識別データが記述される。   3 bits are allocated to the data structure management area. In the data structure management area, data indicating the type of the trajectory data, the trajectory data being the absolute coordinate data 101, and identification data indicating the accuracy of the absolute coordinate data 101 (the positioning accuracy described above) are described. Is done.

動作種類管理用領域には5bitが割り当てられている。動作種類管理用領域には、測位装置1の動作の種類、すなわち測位装置1の使用者が移動状態であるか、停止状態であるか、また移動状態である場合における動作の種類を示すデータが記述される。本実施形態において、移動状態である場合の動作の種類は、移動速度に応じた状態であり、測位装置1の使用者が歩行している状態、走っている状態、又は乗物に乗っている状態のいずれかである。   5 bits are allocated to the operation type management area. In the operation type management area, data indicating the type of operation of the positioning device 1, that is, the type of operation when the user of the positioning device 1 is in the moving state, in the stopped state, or in the moving state. Described. In this embodiment, the type of operation in the moving state is a state according to the moving speed, and the user of the positioning device 1 is walking, running, or riding a vehicle. One of them.

時間情報領域には6Byteが割り当てられている。時間情報領域には、位置計測が行われた時点の時刻を示す年、月、日、時、分、秒の各々のデータが各8bitで記述される。   6 bytes are allocated to the time information area. In the time information area, each year, month, day, hour, minute, and second data indicating the time when the position measurement is performed is described in 8 bits.

位置情報領域には12Byteが割り当てられている。位置情報領域には、経度領域(X1〜X4)、緯度領域(Y1〜Y4)、高度領域(Z1〜Z4)の各々のデータが32bitで記述される。位置情報領域に記述されるデータが本発明の位置情報に対応するデータである。   12 bytes are allocated to the position information area. In the position information area, each data of the longitude area (X1 to X4), the latitude area (Y1 to Y4), and the altitude area (Z1 to Z4) is described in 32 bits. Data described in the position information area is data corresponding to the position information of the present invention.

また、相対座標データは、ある地点を基準とした他の地点の相対的な位置を示す軌跡データであり、主としてCPU21により演算された、一定時間内における位置の変動量を主としたデータである。図4は、相対座標データ102のデータフォーマットを示す概念図である。図4に示したように相対座標データ102は、データ構造管理用領域と、動作種類管理用領域と、圧縮時間管理用領域と、単位管理領域と、移動量格納領域とからなる6Byteのデータである。   The relative coordinate data is trajectory data indicating the relative position of another point with respect to a certain point, and is mainly data calculated by the CPU 21 and the amount of change in the position within a certain time. . FIG. 4 is a conceptual diagram showing the data format of the relative coordinate data 102. As shown in FIG. 4, the relative coordinate data 102 is 6-byte data including a data structure management area, an operation type management area, a compression time management area, a unit management area, and a movement amount storage area. is there.

データ構造管理用領域には絶対座標データと同様に3bitが割り当てられており、データ構造管理用領域には、当該軌跡データが相対座標データ102であることを示す識別データが記述される。動作種類管理用領域にも絶対座標データと同様に5bitが割り当てられており、動作種類管理用領域には、前述した測位装置1の移動形態(使用者の状態)を示すデータが記述される。   Similar to the absolute coordinate data, 3 bits are assigned to the data structure management area, and identification data indicating that the trajectory data is the relative coordinate data 102 is described in the data structure management area. Similarly to the absolute coordinate data, 5 bits are allocated to the operation type management area, and data indicating the movement mode (user state) of the positioning device 1 described above is described in the operation type management area.

圧縮時間管理用領域には10bitが割り当てられている。圧縮時間管理用領域は、後述する軌跡データの圧縮時間を表すデータが記述される領域であり、圧縮時間は10bitで表現可能な0秒〜1,023秒の時間である。   10 bits are allocated to the compression time management area. The compression time management area is an area in which data representing the compression time of trajectory data, which will be described later, is described. The compression time is a time from 0 seconds to 1,023 seconds that can be expressed by 10 bits.

移動量格納領域には3Byteが割り当てられており、移動量格納領域には、ある地点をそれぞれ基準としたX,Y,Zの3軸方向のそれぞれの相対的な移動量(以下、相対移動量という。)がそれぞれ記述される。すなわち移動量格納領域は、3軸方向の相対移動量が個別に記述される3つの移動量格納領域(移動量格納領域:X、移動量格納領域:Y、移動量格納領域:Z)により構成されている。移動量格納領域の各領域には、1Byteで表現可能な符号付きのデータ、つまり−127〜217の3桁の数値が記述される。   3 bytes are allocated to the movement amount storage area, and the movement amount storage area has a relative movement amount (hereinafter referred to as a relative movement amount) in the X, Y, and Z directions with respect to a certain point as a reference. Each) is described. That is, the movement amount storage area is composed of three movement amount storage areas (movement amount storage area: X, movement amount storage area: Y, movement amount storage area: Z) in which the relative movement amounts in the three axis directions are individually described. Has been. In each area of the movement amount storage area, signed data that can be expressed in 1 byte, that is, a three-digit numerical value of −127 to 217 is described.

単位管理領域には6bitが割り当てられており、単位管理領域には、移動量格納領域に記述された相対移動量の単位を示すデータが記述される。すなわち単位管理領域は、3軸方向の相対移動量の単位が個別に記述される3つの単位管理領域(単位管理領域:X、単位管理領域:Y、単位管理領域:Z)により構成されている。単位管理領域の各領域に記述される単位は、10cm、1m、10m、100mの4種類のいずれかの単位である。移動量格納領域、及び単位管理領域に記述されるデータが本発明の位置変動情報に対応するデータである。   6 bits are allocated to the unit management area, and data indicating the unit of the relative movement amount described in the movement amount storage area is described in the unit management area. That is, the unit management area is composed of three unit management areas (unit management area: X, unit management area: Y, unit management area: Z) in which units of relative movement amounts in the three-axis directions are individually described. . The unit described in each area of the unit management area is one of four types of units of 10 cm, 1 m, 10 m, and 100 m. Data described in the movement amount storage area and the unit management area is data corresponding to the position variation information of the present invention.

一方、メモリコントローラ8は、測位装置1に装着された各種のメモリカードであるデータ記録媒体9と、制御部2(CPU21)との間におけるデータの入出力を制御する入出力インターフェースである。データ記録媒体9には、RAM23の軌跡データ保存領域23dにいったん蓄積された一連の軌跡データが所定のタイミングで記録される。   On the other hand, the memory controller 8 is an input / output interface that controls data input / output between the data recording medium 9 that is various memory cards mounted on the positioning device 1 and the control unit 2 (CPU 21). On the data recording medium 9, a series of trajectory data once accumulated in the trajectory data storage area 23d of the RAM 23 is recorded at a predetermined timing.

ディスプレイ6は、例えば液晶表示パネル、及び制御部2から供給される表示データに応じて液晶表示パネルを駆動し、種々の情報を液晶表示パネルに表示させる駆動回路とから構成される。ディスプレイ6には表示される情報には、データ記録媒体9に記録された一連の軌跡データに基づく移動軌跡を示す画像情報が含まれる。   The display 6 includes, for example, a liquid crystal display panel and a drive circuit that drives the liquid crystal display panel according to display data supplied from the control unit 2 and displays various information on the liquid crystal display panel. The information displayed on the display 6 includes image information indicating a movement locus based on a series of locus data recorded on the data recording medium 9.

キー入力部7は、電源スイッチ及び複数の操作スイッチから構成される。キー入力部7における操作スイッチの操作状態は、制御部2(CPU21)によって定常的にスキャンされる。   The key input unit 7 includes a power switch and a plurality of operation switches. The operation state of the operation switch in the key input unit 7 is regularly scanned by the control unit 2 (CPU 21).

次に、以上の構成からなる測位装置1の本発明に係る動作について説明する。まず、測位装置1における位置計測(測位)動作の概略について説明する。   Next, the operation | movement which concerns on this invention of the positioning apparatus 1 which consists of the above structure is demonstrated. First, an outline of position measurement (positioning) operation in the positioning device 1 will be described.

測位装置1は、一定の時間間隔で位置計測を行い自己位置を逐次計測する間、前述した絶対座標データ、又は相対座標データからなる軌跡データをRAM23の軌跡データ保存領域23dに保存する。なお、本実施形態において位置計測の間隔(測位間隔)は1秒である。   The positioning device 1 stores the trajectory data composed of the absolute coordinate data or the relative coordinate data described above in the trajectory data storage area 23d of the RAM 23 while measuring the position at regular time intervals and sequentially measuring the self-position. In the present embodiment, the position measurement interval (positioning interval) is 1 second.

また、測位装置1は、RAM23に保存した一連の軌跡データを、軌跡データ保存領域23dに空きがなくなった段階でデータ記録媒体9に随時転送して記録することにより、新たな軌跡データを繰り返し軌跡データ保存領域23dへ保存する。   In addition, the positioning device 1 repeats new trajectory data by transferring a series of trajectory data stored in the RAM 23 to the data recording medium 9 at any time when there is no more space in the trajectory data storage area 23d. Save to the data storage area 23d.

また、測位装置1は、位置計測中には、最初の軌跡データを含め一定の時間間隔(第1の時間間隔)で軌跡データとして絶対座標データを保存し、その間には、位置計測の間隔である1秒間隔(第2の時間間隔)で軌跡データとして相対座標データを繰り返し保存する。   In addition, during the position measurement, the positioning device 1 stores the absolute coordinate data as the trajectory data at a fixed time interval (first time interval) including the initial trajectory data. Relative coordinate data is repeatedly stored as trajectory data at a certain one second interval (second time interval).

さらに、測位装置1は、軌跡データとして相対座標データを繰り返し保存する間には、予め決められた条件に従って相対座標データを間引く直線圧縮を行う。なお、直線圧縮の具体的な方法については後述する。   Further, the positioning device 1 performs linear compression to thin out the relative coordinate data according to a predetermined condition while repeatedly storing the relative coordinate data as the trajectory data. A specific method of linear compression will be described later.

以下、測位装置1における具体的な動作を図5及び図6に従って説明する。図5及び図6は、測位装置1において位置計測が行われている間に、CPU21がROM22に記憶されている軌跡データ記録プログラム22aに従い実行する処理内容を示したフローチャートである。   Hereinafter, specific operations in the positioning device 1 will be described with reference to FIGS. 5 and 6. 5 and 6 are flowcharts showing the processing contents executed by the CPU 21 in accordance with the trajectory data recording program 22a stored in the ROM 22 while the position measurement is being performed in the positioning device 1. FIG.

図5に示したようにCPU21は、例えば使用者により所定の操作スイッチが操作されることにより位置計測を開始した後、絶対座標データの記憶タイミングであるか否かを確認する(ステップS1)。絶対座標データの記憶タイミングは、処理開始直後と、位置計測中に予め決められている一定の時間間隔で訪れるタイミングである。   As shown in FIG. 5, for example, the CPU 21 checks whether or not it is the storage timing of the absolute coordinate data after starting the position measurement by operating a predetermined operation switch by the user (step S <b> 1). The storage timing of the absolute coordinate data is a timing that comes immediately after the start of processing and at a predetermined time interval determined in advance during position measurement.

したがって、CPU21は、処理開始当初においては直ちに絶対座標要求フラグFに「1」をセットした後(ステップS2)、RTC(Real-Time Clock)によって次回の記憶タイミングに向けた一定時間Tのカウントを開始する(ステップS3)。なお、一定時間Tは数分〜30分程度の時間である。   Therefore, the CPU 21 immediately sets “1” to the absolute coordinate request flag F at the beginning of the processing (step S2), and then counts the fixed time T toward the next storage timing by RTC (Real-Time Clock). Start (step S3). The fixed time T is a time of about several minutes to 30 minutes.

引き続き、CPU21は移動計測を行う(ステップS4)。移動計測は、磁気センサ4と加速度センサ5とによって測位装置1の移動方向及び移動量を検出する処理である。移動計測に際してCPU21は、測位間隔(1秒)以下の一定時間内に、磁気センサ4の検出値データと、加速度センサ5との検出値データとを複数回取得し、取得した検出値データをRAM23の磁気センサ出力データ保存領域23aと加速度センサ出力データ保存領域23bとにそれぞれ保存(蓄積)する。   Subsequently, the CPU 21 performs movement measurement (step S4). The movement measurement is a process of detecting the movement direction and the movement amount of the positioning device 1 by the magnetic sensor 4 and the acceleration sensor 5. In the movement measurement, the CPU 21 acquires the detection value data of the magnetic sensor 4 and the detection value data of the acceleration sensor 5 a plurality of times within a fixed time of the positioning interval (1 second) or less, and the acquired detection value data is stored in the RAM 23. Are stored (accumulated) in the magnetic sensor output data storage area 23a and the acceleration sensor output data storage area 23b.

移動計測時における検出値データの取得数は、前述した測位装置1の動作の種類(停止状態、使用者が歩行している状態、走っている状態、又は乗物に乗っている状態)の判断や、後述する測位装置1の移動中における移動方向と移動距離との算出に十分な取得期間、及び取得数である。例えば検出値データの取得数は、一秒間に40サンプルである。   The number of detection value data acquired at the time of movement measurement is the judgment of the type of operation of the positioning device 1 described above (stop state, state in which the user is walking, state in which the user is running, or state in which the vehicle is riding) The acquisition period and the number of acquisitions are sufficient for calculating the movement direction and the movement distance during movement of the positioning device 1 to be described later. For example, the number of detected value data acquired is 40 samples per second.

その後、CPU21は、移動計測(検出値データの保存)が終了した時点で(ステップS5:YES)、保存した検出値データに基づいて、測位装置1における現在の動作の種類を判定する(ステップS6)。すなわちCPU21は、測位装置1の使用者が停止状態、歩行している状態、走っている状態、又は乗物に乗っている状態のいずれの状態であるかを判断する。なお、CPU21は判定結果を内部メモリに一時保存する。   After that, the CPU 21 determines the type of the current operation in the positioning device 1 based on the stored detection value data when the movement measurement (storage of the detection value data) ends (step S5: YES) (step S6). ). That is, the CPU 21 determines whether the user of the positioning device 1 is in a stopped state, a walking state, a running state, or a riding state. Note that the CPU 21 temporarily stores the determination result in the internal memory.

引き続き、CPU21はGPSデータを取得する(ステップS7)。すなわちCPU21は、GPSモジュール3に測位動作を行わせ、GPSモジュール3から供給されたGPSデータをRAM23のGPSデータ保存領域23cに保存する。   Subsequently, the CPU 21 acquires GPS data (step S7). That is, the CPU 21 causes the GPS module 3 to perform a positioning operation, and stores the GPS data supplied from the GPS module 3 in the GPS data storage area 23 c of the RAM 23.

次に、CPU21は軌跡データ保存処理を行う(ステップS8)。軌跡データ保存処理は、前述した絶対座標データ101(図3参照)、又は相対座標データ102(図4参照)を測位装置1の移動軌跡を示す軌跡データとしてRAM23の軌跡データ保存領域23dに保存する処理である。軌跡データ保存処理の詳細については後述する。   Next, the CPU 21 performs locus data storage processing (step S8). In the trajectory data storage process, the absolute coordinate data 101 (see FIG. 3) or the relative coordinate data 102 (see FIG. 4) is stored in the trajectory data storage area 23d of the RAM 23 as trajectory data indicating the movement trajectory of the positioning device 1. It is processing. Details of the trajectory data storage process will be described later.

その後、CPU21は、軌跡データ保存領域23dへの軌跡データの保存が可能な状態であり(ステップS9:YES)、かつ使用者から所定のスイッチ操作による位置計測の終了指示がなければ(ステップS11:NO)、ステップS1〜S8の処理を繰り返す。なお、軌跡データ保存領域23dへの軌跡データの保存が可能な状態とは、軌跡データ保存領域23dに新たな軌跡データの保存に必要な空き領域が存在する状態である。   Thereafter, the CPU 21 is in a state in which the trajectory data can be stored in the trajectory data storage area 23d (step S9: YES), and there is no instruction to end position measurement by a predetermined switch operation from the user (step S11: NO), the process of steps S1-S8 is repeated. The state in which the trajectory data can be stored in the trajectory data storage area 23d is a state in which a free area necessary for storing new trajectory data exists in the trajectory data storage area 23d.

また、ステップS1〜S8の処理を繰り返す間、CPU21は、絶対座標データの記憶タイミングが到来する毎に(ステップS1:YES)、絶対座標要求フラグFに「1」をセットするとともに、次回の絶対座標データの記憶タイミングに向けた一定時間Tのカウントを再び開始する(ステップS3)。   In addition, while repeating the processing of steps S1 to S8, the CPU 21 sets “1” to the absolute coordinate request flag F every time the storage timing of the absolute coordinate data comes (step S1: YES), and the next absolute The counting of the fixed time T toward the storage timing of the coordinate data is started again (step S3).

さらに、CPU21は、ステップS1〜S8の処理を繰り返す間、軌跡データ保存領域23dに新たな軌跡データを保存するだけの空きがなくなると(ステップS9:NO)、その時点で、軌跡データ保存領域23dに保存した一連の軌跡データをデータ記録媒体9に転送して記録する(ステップS10)。なお、一連の軌跡データのデータ記録媒体9への転送(記録)は、一定時間毎に行っても構わない。   Further, when the CPU 21 repeats the processes of steps S1 to S8, if there is no more space in the trajectory data storage area 23d to store new trajectory data (step S9: NO), the trajectory data storage area 23d at that time. A series of trajectory data stored in is transferred to the data recording medium 9 and recorded (step S10). The transfer (recording) of the series of trajectory data to the data recording medium 9 may be performed at regular intervals.

以後、CPU21は、再びステップS1〜S8の処理を返し、軌跡データ保存領域23dに新たな軌跡データを繰り返し保存する。そして、CPU21は、使用者から所定のスイッチ操作による位置計測の終了指示があった時点で(ステップS11:YES)、位置計測を終了する。   Thereafter, the CPU 21 returns the processing of steps S1 to S8 again, and repeatedly stores new trajectory data in the trajectory data storage area 23d. And CPU21 complete | finishes a position measurement, when the completion | finish instruction | indication of the position measurement by predetermined switch operation is received from the user (step S11: YES).

次に、前述した軌跡データ保存処理(ステップS8)の詳細を図6のフローチャートに従い説明する。   Next, details of the trajectory data storage process (step S8) will be described with reference to the flowchart of FIG.

軌跡データ保存処理においてCPU21は、ステップS7の処理でGPSデータの取得に成功していた場合(ステップS101:YES)、まず、絶対座標要求フラグFに「1」がセットされているか否かを確認する(ステップS102)。すなわちCPU21は、今回の処理タイミング(測位タイミング)で軌跡データとして保存すべきデータが絶対座標データである否かを確認する。   In the trajectory data saving process, when the GPS data has been successfully acquired in the process of step S7 (step S101: YES), first, the CPU 21 checks whether or not “1” is set in the absolute coordinate request flag F. (Step S102). That is, the CPU 21 confirms whether or not the data to be stored as the trajectory data is absolute coordinate data at the current processing timing (positioning timing).

位置計測の開始直後においては、絶対座標要求フラグFに「1」がセットされているため(ステップS101:YES)、CPU21は、ステップS7の処理で取得したGPSデータを含む絶対座標データを最初の軌跡データとして、RAM23の軌跡データ保存領域23dへ新規保存する(ステップS103)。   Immediately after the start of position measurement, “1” is set in the absolute coordinate request flag F (step S101: YES), so the CPU 21 uses the absolute coordinate data including the GPS data acquired in the process of step S7 as the first. As trajectory data, it is newly stored in the trajectory data storage area 23d of the RAM 23 (step S103).

このときCPU21は、絶対座標データの図3に示した各領域に以下のデータを記述する。すなわちCPU21は、データ構造管理用領域には、当該軌跡データが絶対座標データであること、及び測位精度を示す識別データを記述し、かつ動作種類管理用領域には、ステップS6で判定した動作の種類(停止状態、歩行している状態、走っている状態、乗物に乗っている状態のいずれか)を示すデータを記述する。また、CPU21は、時間情報領域には、ステップS7の処理で取得したGPSデータに含まれる時間データを記述し、位置情報領域には、ステップS7の処理で取得したGPSデータに含まれる位置データを記述する。   At this time, the CPU 21 describes the following data in each area shown in FIG. 3 of the absolute coordinate data. That is, the CPU 21 describes that the trajectory data is absolute coordinate data in the data structure management area and the identification data indicating the positioning accuracy, and the action type management area contains the action determined in step S6. Describe the data indicating the type (stopped, walking, running, or riding). Further, the CPU 21 describes the time data included in the GPS data acquired in step S7 in the time information area, and the position data included in the GPS data acquired in step S7 in the position information area. Describe.

しかる後、CPU21は、絶対座標要求フラグFを「0」にリセットする(ステップS105)。これによりCPU21は、軌跡データ保存処理を完了して図5のメインフローの処理に戻る。   Thereafter, the CPU 21 resets the absolute coordinate request flag F to “0” (step S105). Thus, the CPU 21 completes the trajectory data storage process and returns to the main flow process of FIG.

なお、位置計測の開始直後における最初の軌跡データ保存処理において、GPSモジュール3がGPSデータの取得に成功していなかった場合(ステップS101:NO)、軌跡データは未だ保存中ではないため(ステップS106:NO)、CPU21は、直ちに軌跡データ保存処理を中止し、図5のステップS3の処理に移行する。すなわち、最初の軌跡データとして絶対座標データを保存するため、GPSモジュール3による位置計測を繰り返し実行する。   If the GPS module 3 has not succeeded in acquiring GPS data in the first trajectory data storage process immediately after the start of position measurement (step S101: NO), the trajectory data is not yet stored (step S106). : NO), the CPU 21 immediately stops the trajectory data storage process and proceeds to the process of step S3 in FIG. That is, in order to save the absolute coordinate data as the first trajectory data, the position measurement by the GPS module 3 is repeatedly executed.

また、最初の軌跡データを保存した後、CPU21は、絶対座標データの記憶タイミングではない処理タイミングのときにおいては、以下の処理を行う。   In addition, after saving the first trajectory data, the CPU 21 performs the following processing at a processing timing that is not the absolute coordinate data storage timing.

まず、GPSデータの取得に成功している場合には(ステップS101:YES)、絶対座標要求フラグFは「0」にリセットされているので(ステップS102:NO)、CPU21は、GPSデータに基づく絶対座標データの保存に向けて、相対移動量を計算する(ステップS105)。   First, when the GPS data has been successfully acquired (step S101: YES), the absolute coordinate request flag F has been reset to “0” (step S102: NO), so the CPU 21 is based on the GPS data. A relative movement amount is calculated for storage of the absolute coordinate data (step S105).

ステップS105の処理においてCPU21が計算する相対移動量は、前回の計測位置から今回の計測位置までのX軸方向、Y軸方向、Z軸方向の相対な移動量である。したがって、CPU21は、例えば前回の処理タイミングで軌跡データとして保存した軌跡データが絶対座標データであった場合には、軌跡データ保存領域23dに記憶されている直前の絶対座標データによって示される計測位置を基準として相対移動量を計算する。   The relative movement amount calculated by the CPU 21 in the process of step S105 is a relative movement amount in the X-axis direction, the Y-axis direction, and the Z-axis direction from the previous measurement position to the current measurement position. Therefore, for example, when the trajectory data stored as trajectory data at the previous processing timing is absolute coordinate data, the CPU 21 determines the measurement position indicated by the immediately previous absolute coordinate data stored in the trajectory data storage area 23d. The relative movement amount is calculated as a reference.

なお、相対移動量の計算に際してCPU21は、X軸に経度の変化量を、Y軸に緯度の変化量を、Z軸に高度の変化量をそれぞれ対応させ、X軸は南から北への移動を正とし、Y軸は西から東への移動を正とし、Z軸は海面から上昇する方向を正とする計算を行う。   In calculating the relative movement amount, the CPU 21 associates the change amount of longitude with the X axis, the change amount of latitude with the Y axis, and the change amount of altitude with the Z axis, and the X axis moves from south to north. Is assumed to be positive, Y-axis is positive from west to east, and Z-axis is positive from the sea level.

また、ステップS105の処理においてCPU21は、今回取得しているGPSデータを、次回の処理タイミングでステップS105の処理、又は後述するステップS7の処理において使用する、前回の計測位置を示す計算用位置データとして内部メモリに一時記憶する。   Further, in the process of step S105, the CPU 21 uses the GPS data acquired this time at the next process timing in the process of step S105 or the process of step S7 described later, and the calculation position data indicating the previous measurement position. Is temporarily stored in the internal memory.

一方、絶対座標データの記憶タイミングではない処理タイミングにおいてGPSデータの取得に失敗していた場合(ステップS101:NO)、最初の軌跡データ(絶対座標データ)は既に保存されており、軌跡データが保存中であるので(ステップS106:YES)、CPU21は以下の処理を行う。   On the other hand, if GPS data acquisition has failed at a processing timing that is not the absolute coordinate data storage timing (step S101: NO), the first trajectory data (absolute coordinate data) has already been saved, and the trajectory data has been saved. Since it is in the middle (step S106: YES), the CPU 21 performs the following processing.

すなわち、CPU21は、図5の移動計測処理(ステップS4)でRAM23に保存した、磁気センサ4の複数の検出値データ、及び加速度センサ5の複数の検出値データに基づいて相対移動量を計算する(ステップS107)。   That is, the CPU 21 calculates the relative movement amount based on the plurality of detection value data of the magnetic sensor 4 and the plurality of detection value data of the acceleration sensor 5 stored in the RAM 23 in the movement measurement process (step S4) of FIG. (Step S107).

ステップS107の処理においてCPU21が計算する相対移動量は、前回の処理タイミングにおける自己位置と、今回の処理タイミングにおける自己位置との間のX軸方向、Y軸方向、Z軸方向の相対な移動量である。   The relative movement amount calculated by the CPU 21 in the process of step S107 is the relative movement amount in the X axis direction, the Y axis direction, and the Z axis direction between the self position at the previous process timing and the self position at the current process timing. It is.

ここで、前回の処理タイミングにおける自己位置は、前回の処理タイミングで軌跡データ保存領域23dに記憶された直前の絶対座標データ、又は前回の処理タイミングでステップS105の処理において内部メモリに一時記憶された計算用位置データ等により示される位置である。なお、ステップS107の処理においてもCPU21は、X軸方向の移動量を経度の変化量に、Y軸方向の移動量を緯度の変化量に、Z軸方向の移動量を高度の変化量にそれぞれ対応させ、X軸は南から北への移動を正とし、Y軸は西から東への移動を正とし、Z軸は海面から上昇する方向を正とする相対移動量を計算する。   Here, the self position at the previous processing timing is the absolute coordinate data immediately before stored in the trajectory data storage area 23d at the previous processing timing, or temporarily stored in the internal memory in the processing of step S105 at the previous processing timing. This is the position indicated by the position data for calculation. Even in the process of step S107, the CPU 21 sets the amount of movement in the X-axis direction as the amount of change in longitude, the amount of movement in the Y-axis direction as the amount of change in latitude, and the amount of movement in the Z-axis direction as the amount of change in altitude. Correspondingly, the relative movement amount is calculated with the X axis as positive from south to north, the Y axis as positive from west to east, and the Z axis as positive from the sea level.

また、ステップS107の処理においてCPU21は、その時点で内部メモリに一時記憶している前述した計算用位置データを、今回の処理タイミングにおける自己位置を示すデータ(絶対座標位置)に更新する。具体的には、内部メモリに一時記憶している計算用位置データを(x,y,z)とし、相対移動量をx(t),y(t),z(t)とすると、CPU21は、計算用位置データを(x+x(t),y+y(t),z+z(t))に更新する。ここで、更新された計算用位置データは、次回の処理タイミングにおいてGPSデータの取得に成功したときの前述したステップS105による相対移動量の計算、または、次回の処理タイミングにおいてGPSデータの取得に成功していないときのステップS107の処理による相対移動量の計算に際して使用される。   In the process of step S107, the CPU 21 updates the above-described calculation position data temporarily stored in the internal memory at that time to data (absolute coordinate position) indicating the self position at the current process timing. Specifically, assuming that the calculation position data temporarily stored in the internal memory is (x, y, z) and the relative movement amounts are x (t), y (t), z (t), the CPU 21 The position data for calculation is updated to (x + x (t), y + y (t), z + z (t)). Here, the updated calculation position data is obtained by calculating the relative movement amount at the above-described step S105 when the GPS data acquisition is successful at the next processing timing, or the GPS data acquisition succeeding at the next processing timing. It is used when calculating the relative movement amount by the process of step S107 when not.

そして、上述したようにステップS105、又はステップS107の処理によって相対移動量を算出した後、CPU21は、直線圧縮を行うか否かを判断する(ステップS108)。直線圧縮は、既説したように軌跡データを間引く、つまり軌跡データの記録数を削減するための処理である。直線圧縮の具体的な内容、及び直線圧縮をすべきか否かの判断基準については後述する。ただし、位置計測を開始した後の2回目の軌跡データ保存処理においてCPU21は、上記の判断基準とは関係なく直線圧縮を行うべきではないと判断し(ステップS108:NO)、以下の処理を行う。   Then, as described above, after calculating the relative movement amount by the processing of step S105 or step S107, the CPU 21 determines whether or not to perform linear compression (step S108). The linear compression is a process for thinning out the trajectory data as described above, that is, for reducing the number of recorded trajectory data. Specific contents of the linear compression and criteria for determining whether or not to perform the linear compression will be described later. However, in the second trajectory data storage process after the start of position measurement, the CPU 21 determines that linear compression should not be performed regardless of the above-described determination criteria (step S108: NO), and performs the following processing. .

まず、CPU21は、ステップS105、又はステップS107の処理で計算した3軸方向の相対移動量を、次回以降の軌跡データ保存処理で直線圧縮を行うか否かを判断する際に使用する相対座標ベクトルを表すデータ(以下、基準ベクトルデータという。)として内部メモリに一時記憶する(ステップS109)。   First, the CPU 21 uses the relative coordinate vector used when determining whether or not to perform linear compression in the subsequent trajectory data storage processing based on the relative movement amount in the three-axis direction calculated in the processing in step S105 or step S107. (Hereinafter referred to as reference vector data) is temporarily stored in the internal memory (step S109).

次に、CPU21は、ステップS105、又はステップS107の処理で計算した相対移動量を示す相対座標データを、RAM23の軌跡データ保存領域23dへ軌跡データとして新規保存する(ステップS110)。このときCPU21は、相対座標データの図4に示した各領域に以下のデータを記述する。   Next, the CPU 21 newly stores the relative coordinate data indicating the relative movement amount calculated in the process of step S105 or step S107 as the trajectory data in the trajectory data storage area 23d of the RAM 23 (step S110). At this time, the CPU 21 describes the following data in each area shown in FIG. 4 of the relative coordinate data.

すなわちCPU21は、データ構造管理用領域には、当該軌跡データが相対座標データであることを示す識別データを記述し、かつ動作種類管理用領域には、ステップS6で判定した動作の種類(停止状態、歩行している状態、走っている状態、乗物に乗っている状態のいずれか)を示すデータを記述する。また、CPU21は、圧縮時間管理用領域には、圧縮時間として「0秒」を記述するとともに、移動量領域には、ステップS105、又はステップS107の処理で計算した相対移動量を記述し、単位管理用領域には相対移動量の単位を示すデータを記述する。   That is, the CPU 21 describes identification data indicating that the trajectory data is relative coordinate data in the data structure management area, and the action type (stop state) determined in step S6 in the action type management area. , A state of walking, a state of running, or a state of riding a vehicle). Further, the CPU 21 describes “0 second” as the compression time in the compression time management area, and describes the relative movement amount calculated in the process of step S105 or step S107 in the movement amount area. In the management area, data indicating a unit of the relative movement amount is described.

これによりCPU21は、軌跡データ保存処理を完了して図5のメインフローの処理に戻る。   Thus, the CPU 21 completes the trajectory data storage process and returns to the main flow process of FIG.

一方、位置計測を開始した後の3回目以降の軌跡データ保存処理において、CPU21は、ステップS105、又はステップS107の処理によって相対移動量を計算した後には、以下に述べる第1及び第2の圧縮条件を共に満足するか否かを判断基準として直線圧縮を行うべきか否かを判断する(ステップS108)。   On the other hand, in the trajectory data storing process after the third time after the position measurement is started, the CPU 21 calculates the relative movement amount by the process of step S105 or step S107, and then performs the first and second compression described below. It is determined whether linear compression should be performed based on whether or not both conditions are satisfied (step S108).

すなわちCPU21は、第1及び第2の圧縮条件を共に満足する場合には直線圧縮を行うべきであると判断し、第1及び第2の圧縮条件の少なくとも一方を満足していない場合には、直線圧縮を行うべきではないと判断する。   That is, the CPU 21 determines that linear compression should be performed when both the first and second compression conditions are satisfied, and when not satisfying at least one of the first and second compression conditions, Judge that linear compression should not be performed.

第1の圧縮条件は、ステップS105、又はステップS107の処理によって計算した相対移動量により表される移動ベクトル(移動方向)と、その時点で内部メモリに一時記憶している基準ベクトルデータにより示される基準ベクトル(移動方向)とのなす角度が閾値以下であり、予め決められている角度よりも小さいことである。閾値は、例えば移動方向がほぼ等しいと判断できる程度の小さな角度である。なお、上記の基準ベクトルデータは、既説したように直前に行ったステップS109の処理で記憶した3軸方向の相対移動量により示される移動ベクトルである。   The first compression condition is indicated by a movement vector (movement direction) represented by the relative movement amount calculated by the processing in step S105 or step S107, and reference vector data temporarily stored in the internal memory at that time. The angle formed with the reference vector (movement direction) is equal to or smaller than a threshold value and is smaller than a predetermined angle. The threshold is a small angle such that the movement directions can be determined to be substantially equal, for example. The reference vector data is a movement vector indicated by the relative movement amount in the three-axis directions stored in the process of step S109 performed immediately before as described above.

また、第2の圧縮条件は、今回の処理タイミング(前回の軌跡データ保存処理時)における動作の種類が、前回の処理タイミングにおける動作の種類と同一であることである。なお、今回の処理タイミングにおける動作の種類は、内部メモリに一時保存されている動作の種類であり、前回の処理タイミングにおける動作の種類は、前回の処理タイミングで軌跡データとして保存された相対座標データに記述されている動作の種類である。   Further, the second compression condition is that the type of operation at the current processing timing (during the previous trajectory data storage process) is the same as the type of operation at the previous processing timing. The type of operation at the current processing timing is the type of operation temporarily stored in the internal memory, and the type of operation at the previous processing timing is relative coordinate data stored as trajectory data at the previous processing timing. Is the type of action described in.

そして、CPU21は、上記の判断基準に従い、直線圧縮を行うべきではないと判断した場合には(ステップS108:NO)、前述したステップS109、及びステップS110の処理を行う。すなわちCPU21は、今回の処理タイミングで取得した相対移動量を基準ベクトルデータとして内部メモリに一時記憶した後(ステップS109)、今回の処理タイミングで取得した相対移動量を示す相対座標データを、そのまま軌跡データとして新規保存する(ステップS110)。しかる後CPU21は、軌跡データ保存処理を完了して図5のメインフローの処理に戻る。   If the CPU 21 determines that linear compression should not be performed in accordance with the above-described determination criteria (step S108: NO), the CPU 21 performs the above-described steps S109 and S110. That is, the CPU 21 temporarily stores the relative movement amount acquired at the current processing timing as reference vector data in the internal memory (step S109), and then directly stores the relative coordinate data indicating the relative movement amount acquired at the current processing timing as a locus. Newly saved as data (step S110). Thereafter, the CPU 21 completes the trajectory data storage process and returns to the main flow process of FIG.

一方、CPU21は、上記の判断基準に従い、直線圧縮を行うべきであると判断した場合には(ステップS108:YES)、さらに、現在までの軌跡データの圧縮時間が、相対座標データの圧縮時間管理用領域に記述可能な最大圧縮時間に達しているか否かを判断する(ステップS111)。   On the other hand, when the CPU 21 determines that linear compression should be performed in accordance with the above-described determination criteria (step S108: YES), the compression time of the trajectory data up to the present is the compression time management of the relative coordinate data. It is determined whether or not the maximum compression time that can be described in the work area has been reached (step S111).

つまりステップS111の処理において、CPU21は、例えば前回の処理タイミングでRAM23の軌跡データ保存領域23dに保存した直前の相対座標データの圧縮時間管理用領域に「1,023秒」が記述されているか否かを判断する。   That is, in the processing of step S111, the CPU 21 determines whether “1,023 seconds” is described in the compression time management area of the relative coordinate data immediately before stored in the trajectory data storage area 23d of the RAM 23 at the previous processing timing, for example. Determine whether.

そして、CPU21は、現在までの軌跡データの圧縮時間が最大圧縮時間に達していなければ(ステップS111:NO)、まず、前回の処理タイミングでRAM23の軌跡データ保存領域23dに保存した直前の相対座標データにより示される3軸方向の相対移動量に、今回の処理タイミングで実際に取得した3軸方向の相対移動量を加算する計算を行う(ステップS112)。   If the compression time of the trajectory data up to the present has not reached the maximum compression time (step S111: NO), the CPU 21 first compares the relative coordinates immediately before being stored in the trajectory data storage area 23d of the RAM 23 at the previous processing timing. Calculation is performed to add the relative movement amount in the triaxial direction actually acquired at the current processing timing to the relative movement amount in the triaxial direction indicated by the data (step S112).

すなわち、CPU21は、前回の処理タイミングで保存した相対座標データにより示される3軸方向の相対移動量をx(t−1),y(t−1),z(t−1)とし、今回の処理タイミングで取得した実際の3軸方向の相対移動量をx(t),y(t),z(t)として、x(t−1)+x(t),y(t−1)+y(t),z(t−1)+z(t)を取得する。   That is, the CPU 21 sets x (t−1), y (t−1), and z (t−1) as the relative movement amounts in the three-axis directions indicated by the relative coordinate data stored at the previous processing timing, and this time. X (t-1) + x (t), y (t-1) + y () where x (t), y (t), and z (t) represent the actual relative movement amounts acquired at the processing timing in the three axes. t), z (t-1) + z (t) are acquired.

しかる後、CPU21は、加算後の3軸方向の相対移動量を示す相対座標データを、直前の相対座標データに上書きして、RAM23の軌跡データ保存領域23dに保存する(ステップS113)。また、ステップS113の処理に際してCPU21は、直前の相対座標データに上書きする相対座標データの圧縮時間管理用領域には、直前の相対座標データの圧縮時間管理用領域に記述されている圧縮時間に、測位間隔である1秒を加算した圧縮時間を記述する。これにより1回分の軌跡データが間引かれる。つまり上記ステップS112、及びステップS113の処理により直線圧縮が行われる。しかる後CPU21は、軌跡データ保存処理を完了して図5のメインフローの処理に戻る。   Thereafter, the CPU 21 overwrites the previous relative coordinate data with the relative coordinate data indicating the amount of relative movement in the three-axis direction after the addition, and stores it in the trajectory data storage area 23d of the RAM 23 (step S113). In the process of step S113, the CPU 21 sets the compression time described in the compression time management area of the previous relative coordinate data in the compression time management area of the relative coordinate data to be overwritten on the previous relative coordinate data. Describes the compression time obtained by adding 1 second, which is the positioning interval. As a result, the trajectory data for one time is thinned out. That is, linear compression is performed by the processing of step S112 and step S113. Thereafter, the CPU 21 completes the trajectory data storage process and returns to the main flow process of FIG.

一方、CPU21は、ステップS105、又はステップS107の処理で3軸方向の相対移動量を計算した後、直線圧縮を行うべきであると判断した場合であっても(ステップS108:YES)、前回の処理タイミングで軌跡データの圧縮時間が既に最大圧縮時間となっていたときには(ステップS111:YES)、前述したステップS109、及びステップS110の処理を行う。   On the other hand, even when the CPU 21 determines that linear compression should be performed after calculating the relative movement amount in the three-axis directions in the processing of step S105 or step S107 (step S108: YES), When the compression time of the trajectory data has already reached the maximum compression time at the processing timing (step S111: YES), the processing of step S109 and step S110 described above is performed.

すなわちCPU21は、既説したように、今回の処理タイミングで計算した3軸方向の相対移動量を示す相対座標データを基準ベクトルデータとして内部メモリに一時記憶した後(ステップS109)、今回の処理タイミングで取得した相対移動量を示す相対座標データを、そのまま軌跡データとして新規保存する(ステップS110)。   That is, as described above, the CPU 21 temporarily stores the relative coordinate data indicating the relative movement amount in the three-axis directions calculated at the current processing timing as reference vector data in the internal memory (step S109), and then the current processing timing. Relative coordinate data indicating the relative movement amount acquired in step 1 is newly stored as trajectory data as it is (step S110).

以後、CPU21は、上述した軌跡データ保存処理(図6)を含む一連の処理を繰り返し実行する。   Thereafter, the CPU 21 repeatedly executes a series of processes including the trajectory data storage process (FIG. 6) described above.

そして、上述したように位置計測中にデータ記録媒体9に記録された一連の軌跡データは、測位装置1においてディスプレイ6に移動軌跡を示す画像を表示する際、CPU21によって記録順(保存順)に読み出される。その際には、CPU21が、例えばディスプレイ6に表示した地図上に、各々の軌跡データにより示される複数の位置をドットで表示したり、各々の軌跡データにより示される複数の位置を記録順に線で連結したりすることにより、ディスプレイ6上に移動軌跡が表示される。   As described above, a series of trajectory data recorded on the data recording medium 9 during the position measurement is displayed in the recording order (storage order) by the CPU 21 when the positioning device 1 displays an image showing the movement trajectory on the display 6. Read out. At that time, the CPU 21 displays, for example, a plurality of positions indicated by the respective locus data by dots on a map displayed on the display 6 or a plurality of positions indicated by the respective locus data by lines in the recording order. By connecting them, the movement trajectory is displayed on the display 6.

また、移動軌跡の表示に際してCPU21は、軌跡データが前述した相対座標データである場合には、各々の相対座標データに対応する座標位置を、各々の相対座標データの直前に記憶された絶対座標データにより示される座標位置を基準とした計算によって求める。すなわちCPU21は、絶対座標データにより示される3軸方向の座標位置を、当該絶対座標データに続く一連の相対座標データにより示される3軸方向の移動量を順に加算することにより、一連の相対座標データに対応する座標位置を順に計算する。   Further, when displaying the movement locus, when the locus data is the relative coordinate data described above, the CPU 21 sets the coordinate position corresponding to each relative coordinate data to the absolute coordinate data stored immediately before each relative coordinate data. It calculates | requires by the calculation on the basis of the coordinate position shown by these. That is, the CPU 21 sequentially adds the movement amounts in the three axis directions indicated by the series of relative coordinate data following the absolute coordinate data to the coordinate positions in the three axis directions indicated by the absolute coordinate data, thereby obtaining a series of relative coordinate data. The coordinate positions corresponding to are sequentially calculated.

ここで、以上説明したように本実施形態の測位装置1においては、位置計測中に軌跡データを記録する際、一定時間T(数分〜30分程度)毎の測位タイミングでは軌跡データとして絶対座標データを保存し、それ以外の測位タイミングでは、軌跡データとして絶対座標データよりもデータ量が少ない相対座標データを保存する。   Here, as described above, in the positioning device 1 according to the present embodiment, when the trajectory data is recorded during the position measurement, the absolute coordinates are used as the trajectory data at the positioning timing every certain time T (several minutes to about 30 minutes). Data is stored, and relative coordinate data having a data amount smaller than that of absolute coordinate data is stored as trajectory data at other positioning timings.

したがって、一定時間毎に保存する軌跡データを除く、一定時間内に周期的に保存される個々の軌跡データのデータ量を削減することにより、移動軌跡を示す軌跡データを間引かなくとも、移動軌跡を示す軌跡情報を効率よく圧縮して記録することができる。   Therefore, by reducing the amount of individual trajectory data that is periodically saved within a certain period of time, excluding the trajectory data that is saved at regular intervals, the trajectory indicating the trajectory can be moved without thinning out the trajectory data. It is possible to efficiently compress and record the trajectory information indicating.

また、本実施形態においては、軌跡データとして相対座標データを保存する際には、CPU21が、内部メモリに一時記憶している基準ベクトルデータにより示される基準ベクトル(移動方向)とのなす角度が閾値以下である相対座標データを対象として直線圧縮を行い、軌跡データを間引くようにした。したがって、記録する軌跡データの数を削減することより、移動軌跡を示す軌跡情報をより高い圧縮効率で記録することができる。   In this embodiment, when the relative coordinate data is stored as the trajectory data, the angle formed by the CPU 21 with the reference vector (movement direction) indicated by the reference vector data temporarily stored in the internal memory is a threshold value. Linear compression was performed on the following relative coordinate data, and trajectory data was thinned out. Therefore, the trajectory information indicating the movement trajectory can be recorded with higher compression efficiency by reducing the number of trajectory data to be recorded.

なお、本実施形態においては、基準ベクトルが、相対座標データにより示される3軸方向の相対移動量によって表される3次元の移動方向ベクトルとした場合について説明した。しかし、基準ベクトルは、相対座標データにより示されるX軸方向とY軸方向の相対移動量によって表される2次元の移動方向ベクトルとしても構わない。   In the present embodiment, the case where the reference vector is a three-dimensional movement direction vector represented by the relative movement amount in the three-axis directions indicated by the relative coordinate data has been described. However, the reference vector may be a two-dimensional movement direction vector represented by a relative movement amount in the X-axis direction and the Y-axis direction indicated by the relative coordinate data.

さらに、本発明の実施に際して軌跡データを間引く場合には、本実施形態とは異なる方法、例えば背景技術として説明した方法によって軌跡データを間引くようにしても構わない。その場合であっても、移動軌跡を示す軌跡情報をより高い圧縮効率で記録することができる。   Furthermore, when the trajectory data is thinned out in the implementation of the present invention, the trajectory data may be thinned out by a method different from the present embodiment, for example, the method described as the background art. Even in this case, the trajectory information indicating the movement trajectory can be recorded with higher compression efficiency.

一方、本実施形態においては、軌跡データとして相対座標データを保存する際には、今回の処理タイミングと前回の処理タイミングにおける動作の種類と同一であることを条件として直線圧縮を行うようにした。そのため、動作の種類が変わった直後の位置、例えば測位装置1の使用者が止まっている状態から走り出した状態に変わった直後の位置を示す軌跡データ、つまり移動距離が大きく変化した直後の位置を示す軌跡データを確実に記録することができる。   On the other hand, in the present embodiment, when the relative coordinate data is stored as the trajectory data, linear compression is performed on condition that the type of operation at the current processing timing and the previous processing timing is the same. For this reason, the position immediately after the type of operation changes, for example, the locus data indicating the position immediately after the user of the positioning device 1 changes from the stopped state to the starting state, that is, the position immediately after the movement distance has largely changed. The trajectory data shown can be recorded reliably.

さらに、本実施形態においては、軌跡データとして相対座標データを保存する際には、現在までの軌跡データの圧縮時間が最大圧縮時間に達していないことを条件として直線圧縮を行うようにした。つまり直線圧縮の対象とする相対座標データの数(相対移動量の加算回数)を制限した。これにより、軌跡データとして記録された相対座標データによって示される座標位置の精度を向上させることができる。   Furthermore, in the present embodiment, when the relative coordinate data is stored as the trajectory data, linear compression is performed on the condition that the compression time of the trajectory data up to the present has not reached the maximum compression time. That is, the number of relative coordinate data to be subjected to linear compression (the number of additions of the relative movement amount) is limited. Thereby, the precision of the coordinate position shown by the relative coordinate data recorded as locus data can be improved.

なお、本実施形態では、軌跡データとして相対座標データを保存する処理タイミング(測位タイミング)において、GPSデータが取得できた場合には、無条件でGPSデータに基づいて取得した相対移動量を含む相対座標データを保存するようにした。しかし、本発明の実施に際しては、CPU21に以下の処理を行わせてもよい。   In the present embodiment, when GPS data can be acquired at the processing timing (positioning timing) for storing relative coordinate data as trajectory data, the relative movement amount acquired based on the GPS data unconditionally is included. Coordinate data was saved. However, in carrying out the present invention, the CPU 21 may perform the following processing.

例えば相対座標データを保存する処理タイミングでGPSデータが取得できた場合には、CPU21が、GPSデータの精度(測位精度)が高いか否か、つまりGPSデータが3次元の位置計測結果であるか否かをさらに確認する。そして、CPU21が、GPSデータの精度が高い場合には、GPSデータに基づいて取得した相対移動量を含む相対座標データを保存する処理を行う。逆に、GPSデータの精度が低い場合、つまりGPSデータが2次元の位置計測結果である場合には、CPU21が、磁気センサ4の複数の検出値データ、及び加速度センサ5の複数の検出値データに基づいて取得した相対移動量を含む相対座標データを保存する処理を行うにしてよい。   For example, when the GPS data can be acquired at the processing timing for storing the relative coordinate data, the CPU 21 determines whether the accuracy (positioning accuracy) of the GPS data is high, that is, whether the GPS data is a three-dimensional position measurement result. Confirm further. And when the accuracy of GPS data is high, CPU21 performs the process which preserve | saves the relative coordinate data containing the amount of relative movement acquired based on GPS data. Conversely, when the accuracy of the GPS data is low, that is, when the GPS data is a two-dimensional position measurement result, the CPU 21 performs a plurality of detection value data of the magnetic sensor 4 and a plurality of detection value data of the acceleration sensor 5. A process of storing relative coordinate data including the relative movement amount acquired based on the above may be performed.

また、上記のようにGPSデータの精度に応じて相対座標データの種類を変える場合、GPSデータの精度は、位置計測時に捕捉した衛星数によって決まる位置計測結果の種類ではなく、測位精度の低下率を示す数値であるDOP(Dilution of Precision)であっても構わない。   Also, when the type of relative coordinate data is changed according to the accuracy of GPS data as described above, the accuracy of GPS data is not the type of position measurement result determined by the number of satellites captured during position measurement, but the rate of decrease in positioning accuracy. DOP (Dilution of Precision) which is a numerical value indicating

また、本実施形態では携帯型の測位装置1に本発明を適用した場合について説明したが、本発明は、例えばデジタルカメラや携帯電話端末、腕時計等の電子機器に内蔵されている測位装置にも適用することができる。   In the present embodiment, the case where the present invention is applied to the portable positioning device 1 has been described. However, the present invention is also applied to a positioning device built in an electronic device such as a digital camera, a mobile phone terminal, or a wristwatch. Can be applied.

1 測位装置
2 制御部
3 GPSモジュール
3a GPSアンテナ
4 磁気センサ
5 加速度センサ
21 CPU
22 ROM
22a 軌跡データ記録プログラム
23 RAM
23a 磁気センサ出力データ保存領域
23b 加速度センサ出力データ保存領域
23d 軌跡データ保存領域
101 絶対座標データ
102 相対座標データ
DESCRIPTION OF SYMBOLS 1 Positioning device 2 Control part 3 GPS module 3a GPS antenna 4 Magnetic sensor 5 Acceleration sensor 21 CPU
22 ROM
22a Trajectory data recording program 23 RAM
23a Magnetic sensor output data storage area 23b Acceleration sensor output data storage area 23d Trajectory data storage area 101 Absolute coordinate data 102 Relative coordinate data

Claims (4)

測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、
自己の移動軌跡を示す軌跡情報を記憶する記憶手段と、
前記測位手段により計測された位置情報を、第1の時間間隔で前記記憶手段に軌跡情報として記憶させる第1の記憶制御手段と、
前記第1の記憶制御手段が第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる第2の記憶制御手段と
前記第2の記憶制御手段が第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する加算手段とを備え、
前記第2の記憶制御手段は、前記加算手段による加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを備えたことを特徴とする測位装置。
Positioning means for receiving radio waves sent from positioning satellites and measuring their current position;
Storage means for storing trajectory information indicating its own movement trajectory;
First storage control means for storing position information measured by the positioning means in the storage means as trajectory information at a first time interval;
While the first storage control means stores the position information in the storage means as trajectory information at the first time interval, the current position of the current position during the second time interval at the second time interval. Second storage control means for storing position fluctuation information indicating a fluctuation amount in the storage means as trajectory information ;
The amount of variation indicated by a plurality of position variation information that the second storage control unit should continuously store as trajectory information in the storage unit at a second time interval is indicated by position variation information on the subsequent side. Adding means for adding on the condition that the variation amount satisfies a predetermined criterion,
The second storage control unit stores position variation information indicating the variation amount after addition by the addition unit as trajectory information in the storage unit, instead of a plurality of position variation information to which the variation amount is added. positioning apparatus comprising the letting.
前記加算手段は、前記後続する側の位置変動情報により示される前記変動量が、基準となる移動方向となす角度が閾値以下である移動方向を表すことを条件として、前記複数の位置変動情報により示される各々の前記変動量を加算し、
前記基準となる移動方向は、前記記憶手段に軌跡情報として直前に記憶された位置変動情報により示される前記変動量であって、前記加算手段による加算が行われてない前記変動量により表される移動方向である
ことを特徴とする請求項1記載の測位装置。
The adding means is based on the plurality of position variation information on the condition that the variation amount indicated by the position variation information on the subsequent side represents a movement direction in which an angle with a reference movement direction is equal to or less than a threshold value. Add each said amount of variation shown,
The reference moving direction is represented by the fluctuation amount indicated by the position fluctuation information stored immediately before as the trajectory information in the storage means and not added by the addition means. It is a moving direction. The positioning apparatus of Claim 1 characterized by the above-mentioned.
測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、自己の移動軌跡を示す軌跡情報を記憶する記憶手段とを備えた測位装置において、
前記測位手段により計測された位置情報を第1の時間間隔で前記記憶手段に軌跡情報として記憶させる工程と、
前記第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる工程と
前記第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する工程とを含み、
加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを特徴とする軌跡情報記憶方法。
In a positioning device comprising a positioning means for receiving a radio wave sent from a positioning satellite and measuring its current position, and a storage means for storing trajectory information indicating its own movement trajectory,
Storing the position information measured by the positioning means as trajectory information in the storage means at a first time interval;
While the position information is stored as trajectory information in the storage means at the first time interval, position variation information indicating the amount of variation of the current position at the second time interval while the second time elapses. Storing in the storage means as trajectory information ;
The fluctuation amount indicated by a plurality of position fluctuation information to be continuously stored as trajectory information in the storage means at the second time interval is determined in advance as the fluctuation quantity indicated by the position fluctuation information on the subsequent side. And a step of adding on condition that the above-mentioned criteria are satisfied,
A trajectory information storage method characterized in that position variation information indicating the amount of variation after addition is stored as trajectory information in the storage means instead of a plurality of pieces of position variation information to which variation amounts are to be added .
測位衛星から送られてくる電波を受信し、自己の現在位置を計測する測位手段と、自己の移動軌跡を示す軌跡情報を記憶する記憶手段とを備えた測位装置が有するコンピュータを、
前記測位手段により計測された位置情報を、第1の時間間隔で前記記憶手段に軌跡情報として記憶させる第1の記憶制御手段と、
前記第1の記憶制御手段が第1の時間間隔で前記位置情報を前記記憶手段に軌跡情報として記憶させる間に、第2の時間間隔で、当該第2の時間が経過する間における現在位置の変動量を示す位置変動情報を前記記憶手段に軌跡情報として記憶させる第2の記憶制御手段と、
前記第2の記憶制御手段が第2の時間間隔で前記記憶手段に軌跡情報として連続して記憶させるべき複数の位置変動情報により示される前記変動量を、後続する側の位置変動情報により示される前記変動量が予め決められている基準を満たすことを条件として加算する加算手段として機能させ、
前記第2の記憶制御手段は、前記加算手段による加算後の変動量を示す位置変動情報を、変動量の加算対象となった複数の位置変動情報に代えて、前記記憶手段に軌跡情報として記憶させることを特徴とするプログラム。
A computer having a positioning device that includes a positioning unit that receives radio waves transmitted from a positioning satellite and measures its current position and a storage unit that stores trajectory information indicating its own trajectory.
First storage control means for storing position information measured by the positioning means in the storage means as trajectory information at a first time interval;
While the first storage control means stores the position information in the storage means as trajectory information at the first time interval, the current position of the current position during the second time interval at the second time interval. Second storage control means for storing position fluctuation information indicating a fluctuation amount in the storage means as trajectory information;
The amount of variation indicated by a plurality of position variation information that the second storage control unit should continuously store as trajectory information in the storage unit at a second time interval is indicated by position variation information on the subsequent side. Function as an adding means for adding on the condition that the variation amount satisfies a predetermined criterion;
The second storage control unit stores position variation information indicating the variation amount after addition by the addition unit as trajectory information in the storage unit, instead of a plurality of position variation information to which the variation amount is added. A program characterized by letting
JP2010072976A 2010-03-26 2010-03-26 Positioning device, locus information storage method, program Expired - Fee Related JP5445266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010072976A JP5445266B2 (en) 2010-03-26 2010-03-26 Positioning device, locus information storage method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010072976A JP5445266B2 (en) 2010-03-26 2010-03-26 Positioning device, locus information storage method, program

Publications (2)

Publication Number Publication Date
JP2011203202A JP2011203202A (en) 2011-10-13
JP5445266B2 true JP5445266B2 (en) 2014-03-19

Family

ID=44879990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010072976A Expired - Fee Related JP5445266B2 (en) 2010-03-26 2010-03-26 Positioning device, locus information storage method, program

Country Status (1)

Country Link
JP (1) JP5445266B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023391A (en) * 2015-08-07 2015-11-04 王宾 Active sound-light alarm audio and video monitoring GPS anti-lost device and monitoring method thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103340487A (en) * 2013-07-02 2013-10-09 厦门精图信息技术股份有限公司 Functional shoe system having real-time positioning function by applying satellite remote sensing and positioning method thereof
CN105160872B (en) * 2015-08-12 2018-01-19 中山大学 A kind of GPS track data intelligence acquisition method
CN113204240A (en) * 2021-04-30 2021-08-03 广东美房智高机器人有限公司 Operation track saving method for mobile robot

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0540440A (en) * 1991-08-06 1993-02-19 Pioneer Electron Corp Navigation device
JP2003289572A (en) * 2002-03-28 2003-10-10 Hitachi Software Eng Co Ltd Mobile terminal and position information management system
JP2008292248A (en) * 2007-05-23 2008-12-04 Denso Corp Route information generation device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105023391A (en) * 2015-08-07 2015-11-04 王宾 Active sound-light alarm audio and video monitoring GPS anti-lost device and monitoring method thereof

Also Published As

Publication number Publication date
JP2011203202A (en) 2011-10-13

Similar Documents

Publication Publication Date Title
JP4858608B2 (en) POSITIONING DEVICE, POSITIONING METHOD, PROGRAM, AND IMAGING DEVICE
US8862396B2 (en) Positioning device and positioning method
JP5464101B2 (en) POSITIONING DEVICE, POSITIONING METHOD, AND PROGRAM
JP4998543B2 (en) Positioning device, positioning method and program
CN100498224C (en) Satellite positioning apparatus and current position determining method and navigation device
EP1720037B1 (en) Location estimating apparatus and location estimating method
US20140046588A1 (en) Wearable electronic apparatus, data analyzer, and travel record control method
CN102449436A (en) Method and apparatus for accurate acquisition of inertial sensor data by compensating the relative processing delays between signal channels
US20160306050A1 (en) Electronic device, positioning control method and storage medium
JP5169919B2 (en) Electronic equipment, time difference data acquisition method, data structure of time difference data
CN108029092B (en) Positioning method and device for mobile terminal and mobile terminal
CN110440827B (en) Parameter error calibration method and device and storage medium
JP5445266B2 (en) Positioning device, locus information storage method, program
US20120315928A1 (en) Mobile terminal and location measurement method
CN109141348B (en) Electronic device, height measuring method, and recording medium
JP2013210866A (en) Magnetic data processing device, magnetic data processing method, magnetic data collection device, magnetic data collection method, and program
JP2010038799A (en) Positioning apparatus
JP2007003195A (en) Position detection device
KR101306367B1 (en) Magnetic sensor device and electronic compass apparatus
US11525678B2 (en) Use of offline algorithm to determine location from previous sensor data when location is requested
US20100019968A1 (en) Gps clocking device and time detection method
CN111397602A (en) High-precision positioning method and device integrating broadband electromagnetic fingerprint and integrated navigation
JP2000352583A (en) Date-specifying method
JP2009109203A (en) Positioning system, terminal device, information processing device, control method of positioning system, and control program of positioning system
JP5338836B2 (en) Location identification device, location identification method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131031

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131209

R150 Certificate of patent or registration of utility model

Ref document number: 5445266

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees