JP2021063770A - Device and method for measuring moving distance and program - Google Patents

Device and method for measuring moving distance and program Download PDF

Info

Publication number
JP2021063770A
JP2021063770A JP2019189863A JP2019189863A JP2021063770A JP 2021063770 A JP2021063770 A JP 2021063770A JP 2019189863 A JP2019189863 A JP 2019189863A JP 2019189863 A JP2019189863 A JP 2019189863A JP 2021063770 A JP2021063770 A JP 2021063770A
Authority
JP
Japan
Prior art keywords
movement
value
positioning
control unit
moving distance
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
JP2019189863A
Other languages
Japanese (ja)
Inventor
佑樹 尾下
Yuki Oshita
佑樹 尾下
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 JP2019189863A priority Critical patent/JP2021063770A/en
Publication of JP2021063770A publication Critical patent/JP2021063770A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a device and a method for measuring a moving distance and a program that can obtain a more proper moving distance easily.SOLUTION: A moving distance measuring device includes: a measurement unit for measuring a physical amount related to a moving amount; and a control unit for performing first addition processing of adding a positional difference value of a results of last twice positioning to an accumulated value of the moving distance of an own vehicle, calculating the moving amount on the basis of a result of measurement by the measuring unit in a period of time determined according to a predetermined condition, and performing second addition processing of adding the calculated moving amount to the accumulated value instead of performing the first addition processing. The control unit does not perform the first addition processing related to the difference value including the moving distance in the predetermined period of time.SELECTED DRAWING: Figure 3

Description

この発明は、移動距離計測装置、移動距離計測方法及びプログラムに関する。 The present invention relates to a moving distance measuring device, a moving distance measuring method and a program.

GPS(Global Positioning System)といった衛星測位システムを利用して現在位置を取得する衛星測位により、ユーザの移動状況をリアルタイムで取得することのできる移動距離計測装置がある。特に、ジョギングやウォーキングといったアクティビティを対象とした計測では、リアルタイムで現在位置や移動距離を表示させて、ユーザにアクティビティの進行状況を知らせることができる。 There is a movement distance measuring device that can acquire the movement status of a user in real time by satellite positioning that acquires the current position by using a satellite positioning system such as GPS (Global Positioning System). In particular, in measurement for activities such as jogging and walking, the current position and moving distance can be displayed in real time to inform the user of the progress of the activity.

しかしながら、高架下、トンネル、高層建築物の谷間といった、十分な数の測位衛星からの電波を精度よく受信できないエリアでは、衛星測位を行うことができない。一方で、加速度センサ及び地磁場センサなどを用いて、相対的な移動量を計測する技術が知られている。この場合、相対的な移動量を単純に積算していくと、計測誤差、特に移動距離だけではなく方向の誤差が累積して拡大しやすく、正確な位置からのずれが大きくなる傾向がある。そこで、衛星測位と併用されて精度のより高い情報を選択して現在位置を特定する技術がある(特許文献1)。 However, satellite positioning cannot be performed in areas where radio waves from a sufficient number of positioning satellites cannot be received accurately, such as under an elevated structure, a tunnel, or a valley of a high-rise building. On the other hand, there is known a technique for measuring a relative movement amount using an acceleration sensor, a geomagnetic field sensor, or the like. In this case, if the relative movement amounts are simply integrated, the measurement error, particularly not only the movement distance but also the direction error, tends to accumulate and expand, and the deviation from the accurate position tends to increase. Therefore, there is a technique for specifying the current position by selecting more accurate information in combination with satellite positioning (Patent Document 1).

特開2004−233186号公報Japanese Unexamined Patent Publication No. 2004-233186

しかしながら、複数種類の移動量計測値を併用して積算移動量を計数する場合には、利用される移動距離の取得特性に応じて適切に管理して加算を行わないと、得られる移動距離がおかしくなるという課題がある。 However, when counting the integrated movement amount by using a plurality of types of movement amount measurement values in combination, the movement distance obtained must be properly managed and added according to the acquisition characteristics of the movement distance to be used. There is a problem that it becomes strange.

この発明の目的は、容易により適切な移動距離を得ることのできる移動距離計測装置、移動距離計測方法及びプログラムを提供することにある。 An object of the present invention is to provide a moving distance measuring device, a moving distance measuring method, and a program capable of easily obtaining an appropriate moving distance.

上記目的を達成するため、本発明は、
移動量に係る物理量の計測を行う計測部と、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算処理を行い、所定の条件に基づいて定められる期間には、前記第1加算処理の代わりに、前記計測部の計測結果に基づいて移動量を算出して前記累積値に加算する第2加算処理を行う制御部と、
を備え、
前記制御部は、前記期間内の移動距離を含む前記差分値に係る前記第1加算処理を行わない
ことを特徴とする移動距離計測装置である。
In order to achieve the above object, the present invention
A measurement unit that measures physical quantities related to the amount of movement,
The first addition process of adding the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own machine is performed, and during the period determined based on the predetermined conditions, the first addition process is performed. Instead, a control unit that performs a second addition process that calculates the movement amount based on the measurement result of the measurement unit and adds it to the cumulative value.
With
The control unit is a movement distance measuring device characterized in that the first addition process relating to the difference value including the movement distance within the period is not performed.

本発明に従うと、容易により適切な移動距離を得ることができるという効果がある。 According to the present invention, there is an effect that a more appropriate moving distance can be easily obtained.

電子時計の正面図である。It is a front view of an electronic clock. 電子時計の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of an electronic clock. 第1加算処理における移動距離の取得及び第2加算処理における移動量の取得の切り替えの例を示す図である。It is a figure which shows the example of switching of acquisition of the movement distance in the 1st addition process and acquisition of the movement amount in the 2nd addition process. CPUと衛星電波受信処理部との間でのデータのやり取り及び処理を示すシーケンス図である。It is a sequence diagram which shows the exchange and processing of data between a CPU and a satellite radio wave reception processing unit. 電子時計の表示画面における移動距離の表示例を示す図である。It is a figure which shows the display example of the movement distance on the display screen of an electronic clock. 移動距離算出処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the movement distance calculation process. 移動距離算出処理の変形例を示すフローチャートである。It is a flowchart which shows the modification of the movement distance calculation processing.

以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本実施形態の移動距離計測装置である電子時計1の正面図である。
電子時計1は、本体部10と、バンド20とを備える電子腕時計である。バンド20は、本体部10をユーザの腕などに取り付けるためのものである。本体部10は、表示画面11と、押しボタンスイッチ12などを備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a front view of the electronic clock 1 which is the moving distance measuring device of the present embodiment.
The electronic clock 1 is an electronic wristwatch including a main body 10 and a band 20. The band 20 is for attaching the main body 10 to the user's arm or the like. The main body 10 includes a display screen 11, a push button switch 12, and the like.

表示画面11は、デジタル表示を行う。デジタル表示は、例えば、ドットマトリクス方式の液晶ディスプレイなどである。押しボタンスイッチ12は、ここでは1つが表示画面11に対して側面側に示されているが、複数あってもよく、また、表示画面11と同一の面内に位置するものがあってもよい。 The display screen 11 performs a digital display. The digital display is, for example, a dot matrix type liquid crystal display or the like. Although one pushbutton switch 12 is shown on the side surface side with respect to the display screen 11, there may be a plurality of pushbutton switches 12 or one located in the same plane as the display screen 11. ..

図2は、電子時計1の機能構成を示すブロック図である。
電子時計1は、CPU41(Central Processing Unit)(第2制御部)と、RAM42(Random Access Memory)(記憶部)と、表示部43と、操作受付部44と、計測部45と、発振回路46と、分周回路47と、計時回路48と、通信部49と、衛星電波受信処理部50と、メモリ60などを備える。
FIG. 2 is a block diagram showing a functional configuration of the electronic clock 1.
The electronic clock 1 includes a CPU 41 (Central Processing Unit) (second control unit), a RAM 42 (Random Access Memory) (storage unit), a display unit 43, an operation reception unit 44, a measurement unit 45, and an oscillation circuit 46. A frequency dividing circuit 47, a time measuring circuit 48, a communication unit 49, a satellite radio wave reception processing unit 50, a memory 60, and the like are provided.

CPU41は、各種演算を行って電子時計1の動作の統括制御を行うプロセッサである。CPU41は、後述の移動距離算出処理を実行する。 The CPU 41 is a processor that performs various operations to perform integrated control of the operation of the electronic clock 1. The CPU 41 executes the movement distance calculation process described later.

RAM42は、CPU41に作業用のメモリ空間を提供し、一時データを記憶する。RAM42には、計測期間内における積算された移動距離(累積値421)が記憶される。 The RAM 42 provides the CPU 41 with a working memory space and stores temporary data. The RAM 42 stores the accumulated movement distance (cumulative value 421) within the measurement period.

表示部43は、上述の表示画面11を有し、CPU41の制御に基づいて当該表示画面11にデジタル表示を行わせる。表示内容には、現在日時(時刻)が含まれる。また、CPU41は、現在時刻(日時)の表示に加えて又は一時的に代えて、移動距離やストップウォッチ機能に係る経過時間などの表示を表示部43に行わせてよい。また、現在日時の表示からは、一時的に時分以外の一部又は全部の表示が除かれてもよい。 The display unit 43 has the above-mentioned display screen 11, and causes the display screen 11 to perform digital display under the control of the CPU 41. The displayed contents include the current date and time (time). Further, the CPU 41 may cause the display unit 43 to display the travel distance, the elapsed time related to the stopwatch function, and the like in addition to or temporarily instead of displaying the current time (date and time). Further, the display of the current date and time may be temporarily excluded from the display of a part or all of the display other than the hour and minute.

操作受付部44は、上述の押しボタンスイッチ12を有し、外部からの入力操作を検出して入力信号としてCPU41に出力する。入力操作を受け付ける構成は、押しボタンスイッチ12に限られなくてもよい。例えば、操作受付部44は、表示画面11に重なって位置するタッチパネルを有していてもよいし、りゅうずを有していてもよい。 The operation receiving unit 44 has the above-mentioned push button switch 12, detects an input operation from the outside, and outputs the input signal to the CPU 41. The configuration for accepting an input operation is not limited to the push button switch 12. For example, the operation reception unit 44 may have a touch panel located so as to overlap the display screen 11, or may have a crown.

計測部45は、電子時計1(自機)の運動(移動量)に係る物理量の計測を行うセンサを有する。センサは、CPU41が計測データに基づいて移動距離、特に徒歩による歩行/走行距離を算出することができるもの又はその組み合わせであって、例えば、加速度センサ及び地磁場センサなどが挙げられる。 The measuring unit 45 has a sensor that measures a physical quantity related to the motion (movement amount) of the electronic clock 1 (own machine). The sensor is one in which the CPU 41 can calculate a moving distance, particularly a walking / running distance by walking, based on the measurement data, or a combination thereof, and examples thereof include an acceleration sensor and a geomagnetic field sensor.

発振回路46は、所定の周波数信号(クロック信号)を生成して出力する。発振回路46は、ここでは、例えば、水晶発振子を有する。分周回路47は、発振回路46からクロック信号が入力されて、必要な所望の周波数信号に変換(分周)してCPU41および計時回路48に出力する。変換、出力される周波数は複数であってよく、また、CPU41の制御などにより出力周波数の設定を変更することが可能であってもよい。 The oscillation circuit 46 generates and outputs a predetermined frequency signal (clock signal). The oscillation circuit 46 has, for example, a crystal oscillator here. In the frequency dividing circuit 47, a clock signal is input from the oscillation circuit 46, converted (divided) into a required desired frequency signal, and output to the CPU 41 and the timekeeping circuit 48. The frequency to be converted and output may be a plurality of frequencies, and the setting of the output frequency may be changed by the control of the CPU 41 or the like.

計時回路48は、分周回路47から入力された信号を計数して現在日時(時刻及び日付)を計数し、CPU41に出力する。なお、高精度の日時の計数をCPU41が行い、計時回路48はRTC(Real Time Clock)などであってもよい。 The timekeeping circuit 48 counts the signal input from the frequency dividing circuit 47, counts the current date and time (time and date), and outputs the signal to the CPU 41. The CPU 41 may count the date and time with high accuracy, and the timekeeping circuit 48 may be an RTC (Real Time Clock) or the like.

衛星電波受信処理部50は、測位衛星からの送信電波を受信して演算を行い、現在位置を算出する(測位に係る処理を行って)モジュールである。衛星電波受信処理部50は、受信部51と、制御部52(第1制御部)などを備える。受信部51は、図示略のアンテナを介して受信された測位衛星からの送信電波を捕捉し、受信を継続する(追尾する)ことができる。制御部52は、受信部51の動作を制御して必要な数の測位衛星からの信号を取得し、所定の演算を行うことで現在位置及び日時を算出する。制御部52は、CPU41と相互に信号のやり取りが可能であり、CPU41の命令に基づいて動作状態を制御し、また、算出された現在位置や日時を出力する。また、制御部52は、計測された現在位置の変化量(直近2回の測位により特定された位置の差分値)に基づいて移動距離を算出する。移動距離は、CPU41からのリセット(初期化)命令に応じて初期化(リセット)されたタイミング以降の値(差分値)が加算されて積算値521として保持される。また、この積算値521は、直近の移動距離が加算されるごとにCPU41に出力される。
CPU41及び制御部52が本実施形態の移動距離計測装置における制御部を構成する。
The satellite radio wave reception processing unit 50 is a module that receives radio waves transmitted from a positioning satellite, performs calculations, and calculates the current position (performs processing related to positioning). The satellite radio wave reception processing unit 50 includes a reception unit 51, a control unit 52 (first control unit), and the like. The receiving unit 51 can capture the transmitted radio wave from the positioning satellite received via the antenna (not shown) and continue (track) the reception. The control unit 52 controls the operation of the reception unit 51 to acquire a required number of signals from the positioning satellites, and calculates the current position and the date and time by performing a predetermined calculation. The control unit 52 can exchange signals with and from the CPU 41, controls the operating state based on the instructions of the CPU 41, and outputs the calculated current position and date and time. Further, the control unit 52 calculates the moving distance based on the measured change amount of the current position (difference value of the position specified by the last two positionings). The movement distance is held as an integrated value 521 by adding a value (difference value) after the timing of initialization (reset) in response to a reset (initialization) instruction from the CPU 41. Further, the integrated value 521 is output to the CPU 41 each time the latest travel distance is added.
The CPU 41 and the control unit 52 form a control unit in the movement distance measuring device of the present embodiment.

メモリ60は、フラッシュメモリなどの不揮発性メモリを有し、プログラム62、設定データや計測データ61を記憶保持する。プログラム62には、後述の移動距離算出処理に係るプログラムが含まれる。計測データ61には、保存された測位結果の履歴などが含まれる。継続的な測位によって得られた複数の現在位置データは、全てが記憶保持される必要はなく、動き出し及び停止の各タイミング及び進行方向が変化した場合における当該変化の特徴点を少なくとも含み、これら以外については適宜間引いて保持されてよい。メモリ60には、衛星電波受信処理部50の制御部52及びCPU41のいずれもがアクセス可能であるが、読み書きに必要な消費電力が電子時計1における各部の他の動作と比較して高いので、特にCPU41からの頻繁なアクセスは行われないこととされてよい。 The memory 60 has a non-volatile memory such as a flash memory, and stores and holds the program 62, setting data, and measurement data 61. The program 62 includes a program related to the movement distance calculation process described later. The measurement data 61 includes a history of stored positioning results and the like. The plurality of current position data obtained by continuous positioning do not have to be all stored in memory, and include at least the characteristic points of the change when the start and stop timings and the traveling direction change, and other than these. May be appropriately thinned out and retained. The memory 60 can be accessed by both the control unit 52 and the CPU 41 of the satellite radio wave reception processing unit 50, but the power consumption required for reading and writing is high as compared with other operations of each unit in the electronic clock 1. In particular, frequent access from the CPU 41 may not be performed.

次に、電子時計1における移動距離算出動作について説明する。
電子時計1では、衛星電波受信処理部50により所定時間間隔で測位が行われることで、当該所定時間間隔の間における移動距離(差分値)が求められる。緯度経度の値の差を平面距離に変換して距離を算出するには若干手間がかかるので、測位処理に応じて演算能力の高い衛星電波受信処理部50により算出させることで、CPU41の負荷の上昇を抑制することができる。また、一方で、計測部45の計測データに基づいて、所定時間内での移動距離を算出(移動計測)することができる。また、ここでは、例えば、1秒ごとに移動距離を算出して加算していくことで、移動経路に沿った合計の移動距離が求められる。
Next, the movement distance calculation operation in the electronic clock 1 will be described.
In the electronic clock 1, the satellite radio wave reception processing unit 50 performs positioning at predetermined time intervals to obtain a moving distance (difference value) between the predetermined time intervals. Since it takes some time to convert the difference between the latitude and longitude values into a plane distance and calculate the distance, the load on the CPU 41 can be calculated by the satellite radio wave reception processing unit 50 having high computing power according to the positioning process. The rise can be suppressed. On the other hand, the movement distance within a predetermined time can be calculated (movement measurement) based on the measurement data of the measurement unit 45. Further, here, for example, by calculating and adding the movement distance every second, the total movement distance along the movement route can be obtained.

ここでは、衛星電波受信処理部50で算出した移動距離である積算値521のデータがCPU41に出力されて、CPU41では、取得した当該積算値の値を更に積算して累積移動距離(累積値421)を算出する。衛星電波受信処理部50から送信されたデータのCPU41による受信は、当該CPU41の処理負荷に応じてしばしば省略され得る。そこで、CPU41は、移動距離(積算値)を受信して電子時計1(自機)の累積移動距離(累積値)に加算すると、衛星電波受信処理部50へ受信確認として積算値521の初期化命令を出力し、衛星電波受信処理部50は、初期化命令を受けて保持している積算値521を初期化してゼロとする。CPU41が積算値521のデータを受信せず、初期化命令が取得されなかった場合には、衛星電波受信処理部50では、次回取得された移動距離を初期化されていない積算値521の値に加算して保持する。その後この積算値521のデータがCPU41に出力されることで、CPU41は、取得しなかった前回の移動距離を含む合計の移動距離を取得する。 Here, the data of the integrated value 521, which is the travel distance calculated by the satellite radio wave reception processing unit 50, is output to the CPU 41, and the CPU 41 further integrates the acquired integrated value and the cumulative travel distance (cumulative value 421). ) Is calculated. The reception of the data transmitted from the satellite radio wave reception processing unit 50 by the CPU 41 can often be omitted depending on the processing load of the CPU 41. Therefore, when the CPU 41 receives the travel distance (integrated value) and adds it to the cumulative travel distance (cumulative value) of the electronic clock 1 (own machine), the satellite radio wave reception processing unit 50 initializes the integrated value 521 as reception confirmation. The command is output, and the satellite radio wave reception processing unit 50 initializes the integrated value 521 held in response to the initialization command to zero. If the CPU 41 does not receive the data of the integrated value 521 and the initialization command is not acquired, the satellite radio wave reception processing unit 50 sets the next acquired travel distance to the value of the uninitialized integrated value 521. Add and hold. After that, the data of the integrated value 521 is output to the CPU 41, so that the CPU 41 acquires the total travel distance including the previous travel distance that was not acquired.

衛星電波受信処理部50では、所定数(通常では4機)の測位衛星からの電波が受信できれば測位を行うことが可能であるが、空の広い範囲が塞がれる状況(トンネル内、高架下、建物内、地下及び高層ビル群の谷間など)では、通常の精度で測位を行うことが難しくなる(完全に現在位置が求められなくなる場合だけではなく、得られた位置の精度が所定の最低基準よりも低い場合も含む)。この場合、移動距離は算出されず、積算値521のデータもCPU41に出力されない。その後、通常の精度で測位が可能な状況に復帰すると、衛星電波受信処理部50では、復帰後最初の測位により得られた現在位置と、前回測位に成功した時の位置との差分、すなわち直線距離が得られることになる。測位ができなかった時間が短時間である場合には、得られた差分値と実際の移動距離(移動経路に沿った距離)との間に大きな差が生じることはほぼ想定されないが、測位ができなかった時間が長くなると、その間の移動方向の変化(カーブ、折れ曲がり、折り返しなど)の影響が無視できない可能性が上昇する。また、リアルタイムで移動距離の合計を表示画面11に表示させる場合、測位ができない間移動距離をユーザが知得することができない。 The satellite radio wave reception processing unit 50 can perform positioning if it can receive radio waves from a predetermined number (usually four) of positioning satellites, but the situation where a wide area of the sky is blocked (in a tunnel, under an elevated building). In buildings, underground and valleys of skyscrapers, etc., it becomes difficult to perform positioning with normal accuracy (not only when the current position cannot be completely determined, but also the accuracy of the obtained position is the specified minimum. Including cases lower than the standard). In this case, the moving distance is not calculated, and the data of the integrated value 521 is not output to the CPU 41. After that, when the situation returns to the state where positioning is possible with normal accuracy, the satellite radio wave reception processing unit 50 determines the difference between the current position obtained by the first positioning after the return and the position when the previous positioning was successful, that is, a straight line. The distance will be obtained. If the time during which positioning was not possible is short, it is unlikely that a large difference will occur between the obtained difference value and the actual travel distance (distance along the travel route), but positioning is possible. The longer the time that cannot be done, the more likely it is that the effects of changes in the direction of movement (curves, bends, folds, etc.) during that time cannot be ignored. Further, when the total movement distance is displayed on the display screen 11 in real time, the user cannot know the movement distance while positioning is not possible.

一方、計測部45の計測結果に基づく移動距離の計測(移動計測)は、電子時計1がユーザに保持されている限り継続される。ここでは、例えば、加速度センサの計測する加速度変化パターンに応じて移動歩数を特定し、当該移動歩数に対して1歩当たりの歩幅(所定の歩幅)の設定値を乗じることで、移動距離を算出する。歩幅は、例えば、身長などによって初期値が規定され、衛星電波受信処理部50により求められた移動距離と計測部45の計測結果に基づいて移動距離とを比較することで校正されてもよい。この計測では、移動方向の変化があっても移動距離の計測に影響しない。しかしながら、ユーザの状況や路面の状況などに応じて歩幅が変化し得るので、この変化に応じた誤差が生じやすい。 On the other hand, the measurement of the moving distance (moving measurement) based on the measurement result of the measuring unit 45 is continued as long as the electronic clock 1 is held by the user. Here, for example, the number of moving steps is specified according to the acceleration change pattern measured by the acceleration sensor, and the moving distance is calculated by multiplying the number of moving steps by the set value of the stride per step (predetermined stride). To do. The stride length may be calibrated by comparing the moving distance obtained by the satellite radio wave reception processing unit 50 with the moving distance based on the measurement result of the measuring unit 45, for example, the initial value is defined by the height or the like. In this measurement, even if there is a change in the moving direction, the measurement of the moving distance is not affected. However, since the stride length can change depending on the user's condition, the road surface condition, and the like, an error is likely to occur according to this change.

本実施形態の電子時計1では、衛星電波受信処理部50から得られる移動距離(積算値521)を優先的に利用して移動距離の累積値を算出し(第1加算処理)、所定の上限待機時間(上限時間)以内に衛星電波受信処理部50から積算値521が取得されなかった場合には、適切な積算値521が再度取得可能となるまで(測位の状態に係る所定の条件に基づいて)の期間、計測部45の計測結果に基づいて移動量を算出して、累積値421に加算する処理(第2加算処理)を第1加算処理の代わりに行う。 In the electronic clock 1 of the present embodiment, the cumulative value of the travel distance is calculated by preferentially using the travel distance (integrated value 521) obtained from the satellite radio wave reception processing unit 50 (first addition processing), and a predetermined upper limit is obtained. If the integrated value 521 is not acquired from the satellite radio wave reception processing unit 50 within the standby time (upper limit time), until an appropriate integrated value 521 can be acquired again (based on the predetermined conditions related to the positioning state). During the period of (), the movement amount is calculated based on the measurement result of the measurement unit 45, and the process of adding to the cumulative value 421 (second addition process) is performed instead of the first addition process.

図3は、第1加算処理における移動距離の取得及び第2加算処理における移動量の取得の切り替えの例を示す図である。
図3(a)において間隔dt(所定の時間間隔)で継続的に成功(○表示)している期間i1は、当該衛星測位による位置間の距離が移動距離としてCPU41により取得される。また、移動距離が取得されるごとに、衛星電波受信処理部50が保持する移動距離を初期化させる。衛星測位が失敗したりCPU41により正常に受信されなかったりしても(×表示。このタイミングでは移動距離(積算値521)が得られないので、第1加算処理は選択実行されない)、回数が2回以内、すなわち、前回の測位成功から間隔3dt(ここでは間隔dtの3倍(2以上の整数倍))以内で衛星測位に成功した場合(期間i2)には、前回の測位により得られた位置からの直線距離が取得されて、累積値421に加算される。しかしながら、間隔3dtの間に衛星測位に成功しなかった場合には上限待機時間(上述のように測位からCPU41による積算値521のデータの取得までタイムラグが生じ得るので、間隔3dtに対し、衛星電波受信処理部50の処理時間と、出力されたデータのCPU41入力タイムアウト時間を合計した追加時間αを考慮してよい)が経過したタイミングt1で、移動計測により間隔3dtの測位タイミング(上限時間に応じた測位のタイミング)以降の移動量の取得を行うように設定変更をする。そして、タイミングt1以降の期間i4では、間隔dtごとに移動計測の結果が取得される。
FIG. 3 is a diagram showing an example of switching between acquisition of the movement distance in the first addition process and acquisition of the movement amount in the second addition process.
In the period i1 that is continuously successful (displayed as ◯) at the interval dt (predetermined time interval) in FIG. 3A, the distance between the positions by the satellite positioning is acquired by the CPU 41 as the moving distance. Further, each time the moving distance is acquired, the moving distance held by the satellite radio wave reception processing unit 50 is initialized. Even if satellite positioning fails or is not received normally by the CPU 41 (x display. Since the moving distance (integrated value 521) cannot be obtained at this timing, the first addition process is not selectively executed), the number of times is 2. If satellite positioning is successful within the number of times, that is, within an interval of 3 dt (here, 3 times the interval dt (an integer multiple of 2 or more)) from the previous successful positioning (period i2), it was obtained by the previous positioning. The linear distance from the position is acquired and added to the cumulative value 421. However, if satellite positioning is not successful during the interval of 3 dt, a time lag may occur from the positioning to the acquisition of the data of the integrated value 521 by the CPU 41 as described above. At the timing t1 when the processing time of the reception processing unit 50 and the additional time α which is the sum of the CPU 41 input timeout time of the output data have elapsed), the positioning timing (depending on the upper limit time) of the interval 3 dt by the movement measurement Change the setting so that the amount of movement after (timing of positioning) is acquired. Then, in the period i4 after the timing t1, the result of the movement measurement is acquired for each interval dt.

なお、計測部45は、移動状況(停止、方向変更など)の判別にも用いられるので、衛星測位の成否にかかわらず継続的に行われる。図3(a)では、期間i3の移動距離は累積値421に加算されないこととして説明したが、継続的に移動歩数が計数されて、直近に取得された測位結果の測位タイミングからの期間i3の移動歩数に応じて移動距離が算出され、タイミングt1で累積値421に加算されてもよい。 Since the measurement unit 45 is also used for determining the movement status (stop, direction change, etc.), it is continuously performed regardless of the success or failure of satellite positioning. In FIG. 3A, it was explained that the movement distance of the period i3 is not added to the cumulative value 421, but the number of movement steps is continuously counted, and the movement distance of the period i3 from the positioning timing of the most recently acquired positioning result is The movement distance is calculated according to the number of movement steps, and may be added to the cumulative value 421 at the timing t1.

図3(b)に示すように、衛星測位の失敗が継続している間は(期間i5)、引き続き移動計測により得られた移動距離が累積値421に加算されていく。衛星測位に再び成功したタイミングt2では、前回の測位成功時の位置からの期間Ndtの間の直線距離が算出されてCPU41に出力される。したがって、衛星測位に基づく移動距離(積算値521)のデータの取得が再開された最初のタイミングでは、累積値421に加算済みの移動計測による移動距離との重複を避けるため、この取得された直線距離(移動計測による移動量が加算されていた期間の移動距離を含む差分値(積算値))を累積値421に加算せずに廃棄する。この場合でも、移動距離の取得に応じて、衛星電波受信処理部50が保持する移動距離を初期化させる。このタイミングt2までの期間i6の移動距離は、引き続き移動計測により得られた値が取得されてもよい。 As shown in FIG. 3B, while the satellite positioning failure continues (period i5), the movement distance obtained by the movement measurement is continuously added to the cumulative value 421. At the timing t2 when the satellite positioning is successful again, the linear distance between the period Ndt from the position at the time of the previous successful positioning is calculated and output to the CPU 41. Therefore, at the first timing when the acquisition of the travel distance (integrated value 521) data based on satellite positioning is resumed, this acquired straight line is used to avoid duplication with the travel distance due to the travel measurement already added to the cumulative value 421. The distance (difference value (integrated value) including the movement distance during the period in which the movement amount by the movement measurement was added) is discarded without being added to the cumulative value 421. Even in this case, the moving distance held by the satellite radio wave reception processing unit 50 is initialized according to the acquisition of the moving distance. As the moving distance of the period i6 up to the timing t2, the value obtained by the moving measurement may be continuously acquired.

2回連続して衛星測位に成功すると(タイミングt3)、積算値521も当該2回の測位間の値となるので、再開後、CPU41により2回目以降に積算値521が取得されるタイミングt3以降では(移動期間としては、期間i7。すなわち、移動計測による移動量が加算される期間はタイミングt2(タイミングt2を含む)まで)、累積値421にこの積算値521が加算される設定に戻され(切り替えられ)、入れ替わりで移動計測により求められた移動距離の累積値421への加算が中止される。すなわち、タイミングt1〜タイミングt2までの間(所定の条件に基づいて定められる期間)では、第1加算処理の代わりに第2加算処理が実行される。 If satellite positioning is successful twice in a row (timing t3), the integrated value 521 will also be the value between the two positionings. Therefore, after the restart, the CPU 41 will acquire the integrated value 521 from the second time onward after the timing t3. Then (the movement period is period i7. That is, the period in which the movement amount by movement measurement is added is up to timing t2 (including timing t2)), the setting is returned to the setting in which this integrated value 521 is added to the cumulative value 421. (Switched), the addition to the cumulative value 421 of the movement distance obtained by the movement measurement is stopped. That is, during the period from timing t1 to timing t2 (a period determined based on a predetermined condition), the second addition process is executed instead of the first addition process.

特には限られないが、移動計測に基づく移動量の算出の間隔は、測位結果に基づく移動距離の算出及び積算値521の更新周期(間隔dt)の整数倍(通常では1倍)で同期するとよい。累積値421への加算対象の移行がスムーズに行われ、不要な空白が生じない。 Although not particularly limited, when the interval for calculating the movement amount based on the movement measurement is synchronized with the calculation of the movement distance based on the positioning result and an integral multiple (usually 1 time) of the update cycle (interval dt) of the integrated value 521. Good. The transition of the addition target to the cumulative value 421 is smoothly performed, and no unnecessary blank is generated.

図4は、CPU41と衛星電波受信処理部50(制御部52)との間でのデータのやり取り及び処理を示すシーケンス図である。
CPU41から移動情報の継続取得を開始する要求が衛星電波受信処理部50に送られると、衛星電波受信処理部50で所定時間間隔dtでの測位が開始される。このとき、積算値521が初期化される。
FIG. 4 is a sequence diagram showing data exchange and processing between the CPU 41 and the satellite radio wave reception processing unit 50 (control unit 52).
When a request for starting continuous acquisition of movement information is sent from the CPU 41 to the satellite radio wave reception processing unit 50, the satellite radio wave reception processing unit 50 starts positioning at a predetermined time interval dt. At this time, the integrated value 521 is initialized.

2回以上続けて測位に成功すると、衛星電波受信処理部50では、移動距離を算出して積算値521に加算する。衛星電波受信処理部50(制御部52)は、積算値521のデータに適宜ステータスデータを加えてCPU41に出力する。ステータスデータには、ユーザの移動有無の判定や進行方向を変更したか否かなどの判定情報が含まれてよい。 If the positioning is successful two or more times in a row, the satellite radio wave reception processing unit 50 calculates the moving distance and adds it to the integrated value 521. The satellite radio wave reception processing unit 50 (control unit 52) appropriately adds status data to the data of the integrated value 521 and outputs the data to the CPU 41. The status data may include determination information such as determination of whether or not the user has moved and whether or not the direction of travel has been changed.

CPU41は、積算値521のデータを取得すると、累積値421に加算する。また、CPU41は、ステータスデータを用いて、現在位置の保存有無を判断する。また、CPU41が積算値521のデータを取得した間隔を計数するための計数値を初期化する。CPU41は、衛星電波受信処理部50に対し、積算値を初期化する要求を出力し、また、現在位置の保存が必要な場合には、保存信号を出力する。衛星電波受信処理部50では、入力された積算値の初期化命令に応じて積算値521を初期化してゼロに戻す。 When the CPU 41 acquires the data of the integrated value 521, it adds it to the cumulative value 421. Further, the CPU 41 uses the status data to determine whether or not the current position is saved. In addition, the counting value for counting the interval at which the CPU 41 has acquired the data of the integrated value 521 is initialized. The CPU 41 outputs a request for initializing the integrated value to the satellite radio wave reception processing unit 50, and outputs a save signal when it is necessary to save the current position. The satellite radio wave reception processing unit 50 initializes the integrated value 521 in response to the input initialization command of the integrated value and returns it to zero.

なお、計測部45の計測結果に基づいて、ユーザが歩行(走行)していないと判別された場合には、CPU41は、衛星電波受信処理部50から取得された移動距離を累積値421に加算しないこととしてもよい。測位衛星の移動などにより、時間の経過に応じてユーザが移動していなくても測位精度の範囲内で求められる現在位置が変化する場合がある。計測部45の計測結果との組み合わせにより、実際の移動を伴わない位置変化に伴う移動距離を累積値421に加算しないことができ、これにより、累積値421の算出精度を向上させることができる。また、CPU41は、歩行(走行)有無の判別結果を衛星電波受信処理部50に出力して、歩行していない間に測位の精度などにより生じた位置変化に応じた移動距離を、積算値521に加算させないように定めることができる。 If it is determined that the user is not walking (running) based on the measurement result of the measurement unit 45, the CPU 41 adds the movement distance acquired from the satellite radio wave reception processing unit 50 to the cumulative value 421. You may not do it. Due to the movement of the positioning satellite or the like, the current position required within the range of positioning accuracy may change according to the passage of time even if the user does not move. By combining with the measurement result of the measurement unit 45, it is possible not to add the movement distance due to the position change without the actual movement to the cumulative value 421, and thereby the calculation accuracy of the cumulative value 421 can be improved. Further, the CPU 41 outputs the determination result of the presence / absence of walking (running) to the satellite radio wave reception processing unit 50, and calculates the moving distance according to the position change caused by the accuracy of positioning or the like while not walking, as an integrated value 521. It can be decided not to add to.

衛星電波受信処理部50において測位に失敗すると、当該衛星電波受信処理部50からCPU41に対して積算値のデータの送信が行われない。CPU41では、測位結果取得間隔の計数が継続されて、この値が所定の上限値(上限待機時間に応じた値)に到達すると、CPU41は、移動計測による移動量の算出及び累積値421への加算に設定を切り替える。 If the satellite radio wave reception processing unit 50 fails in positioning, the satellite radio wave reception processing unit 50 does not transmit the integrated value data to the CPU 41. The CPU 41 continues counting the positioning result acquisition interval, and when this value reaches a predetermined upper limit value (value corresponding to the upper limit waiting time), the CPU 41 calculates the movement amount by the movement measurement and reaches the cumulative value 421. Switch the setting to addition.

移動計測による移動量の算出中に再び衛星電波受信処理部50で測位に成功すると、上記と同様に衛星電波受信処理部50では移動距離が算出され、積算値521に加算されてから、CPU41に出力される。CPU41では、この積算値521のデータを取得しても、一度はこの値を累積値421に加算せずに廃棄し、移動計測による移動量の算出及び累積値への加算を続ける。CPU41は、積算値の初期化命令と必要に応じて保存信号を出力し、衛星電波受信処理部50における積算値521の初期化を行わせる。続けて(又は間隔3dt以内に)測位に成功した場合には、衛星測位に基づく移動距離が累積値421に加算されるように設定が変更される。 If the satellite radio wave reception processing unit 50 succeeds in positioning again during the calculation of the movement amount by the movement measurement, the satellite radio wave reception processing unit 50 calculates the movement distance in the same manner as above, adds it to the integrated value 521, and then causes the CPU 41. It is output. Even if the CPU 41 acquires the data of the integrated value 521, it discards this value without adding it to the cumulative value 421 once, and continues to calculate the movement amount by the movement measurement and add it to the cumulative value. The CPU 41 outputs an initialization command for the integrated value and a storage signal as needed, and causes the satellite radio wave reception processing unit 50 to initialize the integrated value 521. If the positioning is successful (or within 3 dt of the interval), the setting is changed so that the travel distance based on satellite positioning is added to the cumulative value 421.

図5は、電子時計1の表示画面11における移動距離の表示例を示す図である。
図5(a)に示すように、例えば、表示画面11には、上段から下段に順番に累積の移動距離(累積値の値)、経過時間及び現在時刻が表示されている。また、衛星測位による移動距離の取得に失敗して移動計測により得られている累積値(期間内の更新値。期間終了時までの移動計測により得られた移動量が加算された累積値の表示への更新を含む)を表示させる場合には、図5(b)に示すように、併せてその旨を示す標識Mが示されて、ユーザが知得可能とされてよい。
FIG. 5 is a diagram showing a display example of the moving distance on the display screen 11 of the electronic clock 1.
As shown in FIG. 5A, for example, on the display screen 11, the cumulative movement distance (value of the cumulative value), the elapsed time, and the current time are displayed in order from the upper row to the lower row. In addition, the cumulative value obtained by the movement measurement after failing to acquire the movement distance by satellite positioning (updated value within the period. The cumulative value obtained by adding the movement amount obtained by the movement measurement until the end of the period is displayed. When displaying (including the update to), as shown in FIG. 5 (b), a sign M indicating that fact may also be indicated so that the user can know it.

図6は、電子時計1で実行される移動距離算出処理(本実施形態の移動距離計測方法を含む)のCPU41による制御手順を示すフローチャートである。この移動距離算出処理は、例えば、ユーザなどによる操作受付部44に対する入力操作により移動距離の計測命令が取得された場合に開始される。 FIG. 6 is a flowchart showing a control procedure by the CPU 41 of the moving distance calculation process (including the moving distance measuring method of the present embodiment) executed by the electronic clock 1. This movement distance calculation process is started when, for example, a movement distance measurement command is acquired by an input operation to the operation reception unit 44 by a user or the like.

移動距離算出処理が開始されると、CPU41は、衛星電波受信処理部50(制御部52)へ移動距離の継続取得を要求する(ステップS101;出力要求ステップ、出力要求手段)。具体的には、CPU41は、衛星電波受信処理部50により所定の時間間隔(1秒間隔)で測位を行い、所定の基準精度以上で位置が特定された場合に、前回の特定位置からの差分値を積算値521に加算してCPU41に送信するように要求する。このとき、CPU41は併せて累積値421を初期化してゼロとし、移動距離の優先取得に係る設定(取得設定)を衛星測位に定める。また、CPU41は、待機時間の計数を開始する(又は、外部タイマに計数を開始させる)。 When the movement distance calculation process is started, the CPU 41 requests the satellite radio wave reception processing unit 50 (control unit 52) to continuously acquire the movement distance (step S101; output request step, output request means). Specifically, the CPU 41 performs positioning by the satellite radio wave reception processing unit 50 at a predetermined time interval (1 second interval), and when the position is specified with a predetermined reference accuracy or higher, the difference from the previous specific position. It is requested that the value be added to the integrated value 521 and transmitted to the CPU 41. At this time, the CPU 41 also initializes the cumulative value 421 to zero, and sets the setting (acquisition setting) related to the priority acquisition of the moving distance in the satellite positioning. Further, the CPU 41 starts counting the standby time (or causes an external timer to start counting).

CPU41は、移動距離の計測終了命令が取得されたか否かを判別する(ステップS102)。取得されたと判別された場合には(ステップS102で“YES”)、CPU41は、衛星電波受信処理部50(制御部52)に対し、移動距離の取得を終了する要求を出力し(ステップS131)、移動距離算出処理を終了する。 The CPU 41 determines whether or not the movement distance measurement end command has been acquired (step S102). If it is determined that the distance has been acquired (“YES” in step S102), the CPU 41 outputs a request to the satellite radio wave reception processing unit 50 (control unit 52) to end the acquisition of the travel distance (step S131). , Ends the movement distance calculation process.

移動距離の計測終了命令が取得されていないと判別された場合には(ステップS102で“NO”)、CPU41は、衛星電波受信処理部から移動距離、すなわち、積算値521のデータが取得(入力)されたか否かを判別する(ステップS103)。取得されたと判別された場合には(ステップS103で“YES”)、CPU41は、取得設定が衛星測位であるか否かを判別する(ステップS104)。衛星測位であると判別された場合には(ステップS104で“YES”)、CPU41は、取得された積算値の値を累積値421に加算する(ステップS105;第1加算ステップ、第1加算手段)。CPU41は、表示部43に制御信号を出力し、累積値421を表示部43に表示させる(ステップS106)。CPU41は、衛星電波受信処理部50に対し、積算値521を初期化する命令を出力する(ステップS107;初期化命令ステップ、初期化命令手段)。それから、CPU41の処理は、ステップS102に戻る。 When it is determined that the movement distance measurement end command has not been acquired (“NO” in step S102), the CPU 41 acquires (inputs) the travel distance, that is, the data of the integrated value 521 from the satellite radio wave reception processing unit. ) Is determined (step S103). If it is determined that the acquisition has been made (“YES” in step S103), the CPU 41 determines whether or not the acquisition setting is satellite positioning (step S104). When it is determined that the satellite positioning is performed (“YES” in step S104), the CPU 41 adds the acquired integrated value value to the cumulative value 421 (step S105; first addition step, first addition means). ). The CPU 41 outputs a control signal to the display unit 43, and displays the cumulative value 421 on the display unit 43 (step S106). The CPU 41 outputs a command for initializing the integrated value 521 to the satellite radio wave reception processing unit 50 (step S107; initialization command step, initialization command means). Then, the process of the CPU 41 returns to step S102.

ステップS103の判別処理で、移動距離が取得されていないと判別された場合には(ステップS103で“NO”)、CPU41は、取得設定が衛星測位であるか否かを判別する(ステップS121)。衛星測位であると判別された場合には(ステップS121で“YES”)、CPU41は、計数している待機時間が上限待機時間を経過したか否かを判別する(ステップS122)。ここで、衛星電波受信処理部50に対して移動距離継続取得要求を出力して最初の移動距離を取得するまでには、測位衛星からの電波を捕捉する時間及び2回の受信が必要なので、初回の上限待機時間には、2回目以降の上限待機時間よりも長い時間(例えば、15秒)が設定されていてもよい。上限待機時間が経過していないと判別された場合には(ステップS122で“NO”)、CPU41の処理は、ステップS102に戻る。 If it is determined in the determination process of step S103 that the movement distance has not been acquired (“NO” in step S103), the CPU 41 determines whether or not the acquisition setting is satellite positioning (step S121). .. If it is determined that the satellite positioning is performed (“YES” in step S121), the CPU 41 determines whether or not the counting standby time has elapsed the upper limit standby time (step S122). Here, it takes time to capture the radio waves from the positioning satellite and two receptions before outputting the movement distance continuation acquisition request to the satellite radio wave reception processing unit 50 and acquiring the first movement distance. The first upper limit waiting time may be set to a longer time (for example, 15 seconds) than the second and subsequent upper limit waiting times. If it is determined that the upper limit waiting time has not elapsed (“NO” in step S122), the processing of the CPU 41 returns to step S102.

待機時間が上限待機時間を経過した(超えた)と判別された場合には(ステップS122で“YES”)、CPU41は、取得設定を計測部45による移動計測に切り替える(ステップS123)。それから、CPU41の処理は、ステップS124に移行する。ステップS121の判別処理で、取得設定が衛星測位ではないと判別された場合には(ステップS121で“NO”)、CPU41の処理は、ステップS124に移行する。 When it is determined that the waiting time has elapsed (exceeded) the upper limit waiting time (“YES” in step S122), the CPU 41 switches the acquisition setting to the movement measurement by the measuring unit 45 (step S123). Then, the process of the CPU 41 proceeds to step S124. If it is determined in the determination process of step S121 that the acquisition setting is not satellite positioning (“NO” in step S121), the process of the CPU 41 shifts to step S124.

ステップS124の処理に移行すると、CPU41は、単位時間(ここでは、1秒)が経過したか否かを判別する(ステップS124)。この単位時間は、単位時間間隔(1秒間隔)のクロック信号に応じて判断されてよい。単位時間が経過していないと判別された場合には(ステップS124で“NO”)、CPU41の処理は、ステップS102に戻る。 When the process proceeds to step S124, the CPU 41 determines whether or not a unit time (here, 1 second) has elapsed (step S124). This unit time may be determined according to the clock signal at the unit time interval (1 second interval). If it is determined that the unit time has not elapsed (“NO” in step S124), the processing of the CPU 41 returns to step S102.

単位時間が経過したと判別された場合には(ステップS124で“YES”)、CPU41は、計測部45から単位時間分の計測データを取得して、移動量を算出する(ステップS125)。なお、計測データ自体は単位時間のタイミングに限らずリアルタイムで取得されていてもよく、単位時間の経過したタイミングで直近の当該単位時間の移動量を算出する処理がなされてもよい。CPU41は、算出された移動量を累積値421に加算する(ステップS126、上記ステップS125、S126をまとめて第2加算ステップ、第2加算手段)。CPU41は、表示部43に制御信号を出力し、更新された累積値を表示画面11に表示させる(ステップS127)。このとき、CPU41は、表示画面に併せて移動計測による累積値の算出中であることを示す(又は測位結果に基づく累積値の算出中ではないことを示す。すなわち、現在いずれにより累積値を算出しているかを判別可能な)表示を行わせてよい。それから、CPU41の処理は、ステップS102に戻る。 When it is determined that the unit time has elapsed (“YES” in step S124), the CPU 41 acquires the measurement data for the unit time from the measurement unit 45 and calculates the movement amount (step S125). The measurement data itself may be acquired in real time, not limited to the timing of the unit time, and the processing for calculating the latest movement amount of the unit time may be performed at the timing when the unit time has elapsed. The CPU 41 adds the calculated movement amount to the cumulative value 421 (step S126, the above steps S125 and S126 are collectively the second addition step, the second addition means). The CPU 41 outputs a control signal to the display unit 43 and displays the updated cumulative value on the display screen 11 (step S127). At this time, the CPU 41 indicates that the cumulative value is being calculated by the movement measurement together with the display screen (or the cumulative value is not being calculated based on the positioning result. That is, the cumulative value is currently calculated by any of them. (It is possible to determine whether or not it is) may be displayed. Then, the process of the CPU 41 returns to step S102.

ステップS104の判別処理で、取得設定が衛星測位ではないと判別された場合には(ステップS104で“NO”)、CPU41は、取得設定を衛星測位に切り替える(ステップS111;切替ステップ、切替手段)。CPU41は、衛星電波受信処理部50(制御部52)に対し、積算値521を初期化する命令を出力する(ステップS112)。このとき、CPU41は、上述のように得られた積算値の値を累積値421に加算しない。それから、CPU41の処理は、ステップS124に移行する。なお、単位時間の経過は衛星測位と移動計測とで同一であるので、ステップS112の処理からステップS124の判別処理に移行して、“NO”に分岐するのは、衛星電波受信処理部50から出力された移動距離のCPU41による取得がCPU41の処理の過負荷などにより遅延した場合である。この場合には、取得された積算値に含まれる直近の単位時間の移動距離は、既に累積値に加算されていることになる。 If it is determined in the determination process of step S104 that the acquisition setting is not satellite positioning (“NO” in step S104), the CPU 41 switches the acquisition setting to satellite positioning (step S111; switching step, switching means). .. The CPU 41 outputs an instruction to initialize the integrated value 521 to the satellite radio wave reception processing unit 50 (control unit 52) (step S112). At this time, the CPU 41 does not add the value of the integrated value obtained as described above to the cumulative value 421. Then, the process of the CPU 41 proceeds to step S124. Since the passage of the unit time is the same for satellite positioning and mobile measurement, it is from the satellite radio wave reception processing unit 50 that the process of step S112 shifts to the discrimination process of step S124 and branches to "NO". This is a case where the acquisition of the output moving distance by the CPU 41 is delayed due to an overload of the processing of the CPU 41 or the like. In this case, the travel distance in the latest unit time included in the acquired integrated value has already been added to the cumulative value.

図7は、移動距離算出処理の変形例を示すフローチャートである。
この変形例の移動距離算出処理では、上記実施形態の移動距離算出処理におけるステップS126の処理がステップS126aの処理に置き換えられ、また、ステップS128、S129の処理が追加されている。また、処理の順番が一部変更されている。同一の処理内容については同一の符号を用いることとして詳しい説明を省略する。
FIG. 7 is a flowchart showing a modified example of the movement distance calculation process.
In the movement distance calculation process of this modification, the process of step S126 in the movement distance calculation process of the above embodiment is replaced with the process of step S126a, and the processes of steps S128 and S129 are added. In addition, the order of processing has been partially changed. The same code will be used for the same processing content, and detailed description thereof will be omitted.

ステップS104の判別処理で“NO”に分岐すると、CPU41の処理は、ステップS124に移行する。 When the process branches to "NO" in the determination process of step S104, the process of the CPU 41 shifts to step S124.

ステップS124の処理で、単位時間が経過していないと判別された場合には(ステップS124で“NO”)、CPU41の処理は、ステップS128に移行する。 If it is determined in the process of step S124 that the unit time has not elapsed (“NO” in step S124), the process of the CPU 41 proceeds to step S128.

ステップS124の処理で、“YES”に分岐し、計測部45の計測結果に基づいて移動量を算出すると(ステップS125)、CPU41は、移動量を累積値421に加算し、また、取得設定が移動計測に切り替えられてからの移動量の積算値、すなわち累積値421に加算された移動量の合計を計数する(ステップS126a)。CPU41は、ステップS127の処理を実行した後、処理をステップS128に移行させる。 When the process of step S124 branches to "YES" and the movement amount is calculated based on the measurement result of the measurement unit 45 (step S125), the CPU 41 adds the movement amount to the cumulative value 421, and the acquisition setting is set. The integrated value of the movement amount after switching to the movement measurement, that is, the total of the movement amount added to the cumulative value 421 is counted (step S126a). After executing the process of step S127, the CPU 41 shifts the process to step S128.

ステップS124、S127の処理からステップS128の処理に移行すると、CPU41は、直近のステップS103の判別処理で衛星測位に基づく移動距離の取得があったか(“YES”に分岐したか)否かを判別する(ステップS128)。取得がなかったと判別された場合には(ステップS128で“NO”)、CPU41の処理は、ステップS102に戻る。 When the process of steps S124 and S127 shifts to the process of step S128, the CPU 41 determines whether or not the movement distance has been acquired based on satellite positioning (branched to “YES”) in the latest determination process of step S103. (Step S128). If it is determined that there was no acquisition (“NO” in step S128), the processing of the CPU 41 returns to step S102.

衛星測位に基づく移動距離の取得があったと判別された場合には(ステップS128で“YES”)、CPU41は、当該衛星測位に基づいて得られた移動距離(衛星電波受信処理部50からの積算値521の送信再開の後最初に取得された積算値521)と、ステップS126aで算出された移動量の積算値(定められた期間内に累積値421に加算された移動量の合計)とを対応付けてRAM42に記憶させる(ステップS129)。記憶データには、更に、衛星測位の結果が取得されていなかった期間の時刻(日時)情報が対応付けられて記憶されてもよい。それから、CPU41の処理は、ステップS111に移行する。ステップS111、S112の処理がなされた後、CPU41の処理は、ステップS102に戻る。 When it is determined that the travel distance has been acquired based on the satellite positioning (“YES” in step S128), the CPU 41 determines the travel distance obtained based on the satellite positioning (integration from the satellite radio wave reception processing unit 50). The integrated value 521) first acquired after the transmission of the value 521 is resumed and the integrated value of the movement amount calculated in step S126a (the total of the movement amounts added to the cumulative value 421 within the specified period) are combined. It is stored in the RAM 42 in association with each other (step S129). The stored data may be further associated with time (date and time) information during the period in which the satellite positioning result was not acquired and stored. Then, the process of the CPU 41 shifts to step S111. After the processes of steps S111 and S112 are performed, the process of the CPU 41 returns to step S102.

このように並列に保持されたデータは、後に通信部49を介して外部機器(例えば、スマートフォン)に出力された後にユーザにより比較参照されることが可能であってよい。衛星測位が成功していたにもかかわらずCPU41が積算値データを連続して取得できなかった場合や、ユーザの移動方向が直線的であって離れた2点間の直線距離が実際の移動距離とほぼ等しい場合などには、得られている累積値(合計の移動距離)から、移動計測による移動量の合計の値を差し引いて代わりに衛星測位に基づく移動距離を加算することで、累積値を修正することができる。これらは、ユーザにより個々の状況が判断されて手動で選択がなされてもよいし、例えば、衛星測位による移動距離が移動量の積算値よりも大きい場合に差し替えるというような自動判別が行われてもよい。 The data held in parallel in this way may be able to be compared and referenced by the user after being output to an external device (for example, a smartphone) via the communication unit 49. When the CPU 41 cannot continuously acquire the integrated value data even though the satellite positioning is successful, or when the user's movement direction is linear and the linear distance between two distant points is the actual travel distance. If it is almost equal to, the cumulative value is obtained by subtracting the total value of the movement amount by movement measurement from the obtained cumulative value (total movement distance) and adding the movement distance based on satellite positioning instead. Can be modified. These may be manually selected based on the judgment of each situation by the user, or automatic determination such as replacement when the movement distance by satellite positioning is larger than the integrated value of the movement amount is performed. May be good.

以上のように、本実施形態の電子時計1は、移動量に係る物理量の計測を行う計測部45と、直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値421に加算する第1加算処理を行い、所定の条件に基づいて定められる期間には計測部45の計測結果に基づいて移動量を算出して、当該移動量を累積値421に加算する第2加算処理を前記第1加算処理の代わりに行う制御部(CPU41及び制御部52)と、を備える。制御部は、累積値421に加算される移動量の計測期間内の移動距離を含む差分値に係る第1加算処理を行わない。
このように、衛星測位に基づく直近2地点間の距離の累積計算による移動距離の算出に対し、直近2地点間の距離が取得できない状況で移動計測に基づく移動量を併用する場合には、移動計測から衛星測位に復帰する際に最初に得られる距離が移動計測に基づいて加算していた距離と中途半端に重複するので、これを廃棄することでより適切に積算移動距離を取得することができる。また、数値取得のリアルタイム性を適切に維持することができる。
また、移動計測の結果に基づいて絶対位置を算出し、再開直前の絶対位置と、再開後最初の測位結果により得られた現在位置との間には、絶対位置の計測誤差の累積値に応じた移動量のずれが含まれるので、異なる手法で得られた現在位置間の距離を利用しないことで、積算移動距離の精度を向上させることができる。
As described above, in the electronic clock 1 of the present embodiment, the difference value between the measurement unit 45 that measures the physical quantity related to the movement amount and the position of the result of the latest two positionings is the cumulative value of the movement distance of the own machine. A second addition process for adding to 421 is performed, a movement amount is calculated based on the measurement result of the measuring unit 45 during a period determined based on a predetermined condition, and the movement amount is added to the cumulative value 421. A control unit (CPU 41 and control unit 52) that performs the addition process in place of the first addition process is provided. The control unit does not perform the first addition process relating to the difference value including the movement distance within the measurement period of the movement amount added to the cumulative value 421.
In this way, when the movement amount based on the movement measurement is used together with the calculation of the movement distance by the cumulative calculation of the distance between the two latest points based on satellite positioning in the situation where the distance between the two latest points cannot be obtained, the movement is performed. Since the distance initially obtained when returning from measurement to satellite positioning overlaps halfway with the distance added based on the movement measurement, it is possible to obtain the integrated movement distance more appropriately by discarding this. it can. In addition, the real-time property of numerical value acquisition can be appropriately maintained.
In addition, the absolute position is calculated based on the result of the movement measurement, and the distance between the absolute position immediately before the restart and the current position obtained by the first positioning result after the restart depends on the cumulative value of the measurement error of the absolute position. Since the deviation of the movement amount is included, the accuracy of the integrated movement distance can be improved by not using the distance between the current positions obtained by different methods.

また、CPU41は、測位の状態(実際の測位の成否だけでなく、制御部52からCPU41への移動距離(積算値521)の送受信状態も含む)に係る所定の条件に基づいて第2加算処理により前記移動量を加算する期間を定める。すなわち、測位結果や移動距離が適正に取得されない場合に、柔軟に移動計測により得られた移動量を累積値421を加算する処理に切り替え、両者間の切り替え時に上述のように重複を生じさせないようにタイミング処理を行うので、積算移動距離の精度を向上させることができる。 Further, the CPU 41 performs a second addition process based on a predetermined condition relating to the positioning state (including not only the success or failure of the actual positioning but also the transmission / reception state of the moving distance (integrated value 521) from the control unit 52 to the CPU 41). The period for adding the movement amount is determined by. That is, when the positioning result or the movement distance is not properly acquired, the movement amount obtained by the movement measurement is flexibly switched to the process of adding the cumulative value 421 so as not to cause duplication as described above when switching between the two. Since the timing processing is performed, the accuracy of the integrated movement distance can be improved.

また、CPU41は、直近で差分値を取得した測位がなされてから上限基準時間(3dt+α)が経過するまでの間に差分値が得られなかった場合に、上限基準時間に応じた測位のタイミング、すなわち、ここでは間隔3d経過時の測位のタイミングに、累積値421に加算される移動量の取得期間を開始させ、この開始後に差分値が取得された場合、すなわち、測位に成功して得られた差分値がCPU41により取得された場合に、当該差分値の算出における2回目の測位のタイミングで、累積値421に加算される移動量の取得期間を終了させる。これにより、特に、測位復帰後最初に得られる積算値521(移動距離)に含まれる加算対象移動量との重複分を累積値421に加算しないように適切に調整することができるので、積算移動距離の精度を向上させることができる。 Further, when the difference value is not obtained between the time when the positioning for which the difference value is acquired most recently is performed and the time when the upper limit reference time (3dt + α) elapses, the CPU 41 determines the positioning timing according to the upper limit reference time. That is, here, when the acquisition period of the movement amount to be added to the cumulative value 421 is started at the timing of positioning when the interval 3d elapses, and the difference value is acquired after this start, that is, the positioning is successfully obtained. When the difference value is acquired by the CPU 41, the acquisition period of the movement amount to be added to the cumulative value 421 is terminated at the timing of the second positioning in the calculation of the difference value. As a result, in particular, it is possible to appropriately adjust so that the overlap with the amount of movement to be added included in the total value 521 (movement distance) first obtained after returning to positioning is not added to the cumulative value 421. The accuracy of the distance can be improved.

また、測位は、所定の時間間隔(間隔dt)で行われ、上限待機時間は、この時間間隔の2倍以上(ここでは3倍以上)である。少数回取得が飛んでも、初期化されない積算値521がその後取得されれば実質的な移動距離への影響は小さく、多くの場合には精度の低下につながらないので、若干のデータ取得の飛びは許容されてもよく、頻繁に移動計測へ切り替えるよりも安定して適切な移動距離の取得を継続することができる。 Further, positioning is performed at a predetermined time interval (interval dt), and the upper limit standby time is twice or more (here, three times or more) of this time interval. Even if the acquisition is skipped a small number of times, if the integrated value 521 that is not initialized is acquired after that, the effect on the actual travel distance is small, and in many cases it does not lead to a decrease in accuracy, so some data acquisition skips are allowed. It may be done, and it is possible to continue to acquire an appropriate movement distance in a stable manner rather than switching to the movement measurement frequently.

また、制御部としては、CPU41と衛星電波受信処理部50の制御部52とを有する。制御部52は、衛星測位に基づく移動距離(差分値)とその積算値521を算出する。CPU41は、制御部52に積算値521の出力を要求し、この出力された積算値521を取得した場合には、当該積算値521の値を累積値421に加算して、制御部52に積算値521の初期化を命令する。衛星電波受信処理部50の制御部52のCPUはCPU41と比較してスペックが高く設定されるので、制御部52で測位演算及び移動距離の算出をすることで、処理負荷を適度に分散させることができる。この場合、CPU41の負荷に応じて制御部52から移動距離の更新間隔で確実に移動距離を取得できない場合があり得る。このような場合を考慮して、制御部52では、積算値521を算出保持することで、若干の移動距離の取得の失敗の影響を受けずにより正確な累積値421(合計移動距離)を算出することができる。 Further, the control unit includes a CPU 41 and a control unit 52 of the satellite radio wave reception processing unit 50. The control unit 52 calculates the moving distance (difference value) based on satellite positioning and the integrated value 521. The CPU 41 requests the control unit 52 to output the integrated value 521, and when the output integrated value 521 is acquired, the CPU 41 adds the value of the integrated value 521 to the cumulative value 421 and integrates the integrated value 521 with the control unit 52. Command the initialization of the value 521. Since the CPU of the control unit 52 of the satellite radio wave reception processing unit 50 is set to have higher specifications than the CPU 41, the processing load can be appropriately distributed by performing the positioning calculation and the calculation of the moving distance in the control unit 52. Can be done. In this case, it may not be possible to reliably acquire the moving distance from the control unit 52 at the update interval of the moving distance according to the load of the CPU 41. In consideration of such a case, the control unit 52 calculates and holds the integrated value 521 to calculate a more accurate cumulative value 421 (total travel distance) without being affected by a slight failure to acquire the travel distance. can do.

また、CPU41は、直近で差分値を取得した測位がなされてから上限基準時間(3dt+α)が経過するまでの間、測位に応じた差分値(積算値521)が得られなかった場合には、第1加算処理を選択しない。すなわち、第2加算処理が選択されるまでの間に、測位動作が行われたはずであるにもかかわらず差分値の取得がなされなかった場合(測位結果が得られなかった場合又は測位結果が正常にCPU41により取得されなかった場合)には、第1加算処理も行わずに待機する。上述のように、制御部52にでは積算値521を算出保持しているので、CPU41の過負荷などで直近の移動距離が取得されなくてもその分の移動距離をすぐにまとめて取得可能となる。また、測位に失敗した場合でも、短い期間であれば、多くの場合移動距離はその間の直線距離で精度よく表される。したがって、CPU41の負荷をさらに上昇させることなく適切に移動距離が得られる。 Further, if the CPU 41 does not obtain the difference value (integrated value 521) according to the positioning between the time when the positioning for which the difference value is acquired most recently is performed and the time when the upper limit reference time (3dt + α) elapses, the CPU 41 does not obtain the difference value (integrated value 521). Do not select the first addition process. That is, when the difference value is not acquired even though the positioning operation should have been performed before the second addition process is selected (when the positioning result is not obtained or the positioning result is obtained). If it is not normally acquired by the CPU 41), it waits without performing the first addition process. As described above, since the control unit 52 calculates and holds the integrated value 521, even if the latest travel distance is not acquired due to an overload of the CPU 41 or the like, the travel distance for that amount can be acquired immediately at once. Become. Further, even if the positioning fails, the moving distance is often accurately represented by the straight line distance between them for a short period of time. Therefore, the moving distance can be appropriately obtained without further increasing the load on the CPU 41.

また、CPU41は、計測部45の計測結果に基づいてユーザの移動歩数を特定し、当該移動歩数に所定の歩幅を乗じて移動量を算出する。歩行や走行での移動の場合、タイヤの回転などのように安定して直接移動距離を算出するのが難しいので、移動歩数を特定する周知の技術を利用することができる。スカラー値である移動量のみの算出では、移動計測による移動量に応じて推定可能な現在位置を衛星測位による位置と切り離すことで、移動方向のずれの影響を小さく抑制して設定されている歩幅の誤差範囲内で適切な移動距離を得ることができる。 Further, the CPU 41 specifies the number of steps taken by the user based on the measurement result of the measuring unit 45, and multiplies the number of steps taken by a predetermined stride to calculate the amount of movement. In the case of movement by walking or running, it is difficult to calculate the direct movement distance in a stable manner such as the rotation of tires, so that a well-known technique for specifying the number of movement steps can be used. In the calculation of only the movement amount, which is a scalar value, the current position that can be estimated according to the movement amount by the movement measurement is separated from the position by satellite positioning, so that the influence of the deviation in the movement direction is suppressed to a small extent and the stride is set. It is possible to obtain an appropriate moving distance within the error range of.

また、電子時計1は表示部43を備え、CPU41は、表示部43に累積値421を表示させる。すなわち、積算により更新されていく累積値421を表示部43に表示させることで、リアルタイムに適切な精度の移動距離をユーザに知得させることができる。 Further, the electronic clock 1 includes a display unit 43, and the CPU 41 causes the display unit 43 to display a cumulative value 421. That is, by displaying the cumulative value 421 that is updated by the integration on the display unit 43, it is possible to make the user know the moving distance with appropriate accuracy in real time.

また、CPU41は、移動計測による移動量を累積値に加算して更新している期間内であるか否かを判別可能に、ここでは標識Mの有無を切り替えて累積値421の表示を行う。これにより、衛星測位に基づいて継続的に精度よく移動距離が算出されているか否かを知得させることができる。 Further, the CPU 41 can add the movement amount by the movement measurement to the cumulative value and determine whether or not it is within the updating period. Here, the presence or absence of the sign M is switched and the cumulative value 421 is displayed. This makes it possible to know whether or not the travel distance is continuously and accurately calculated based on satellite positioning.

また、電子時計1は、測位衛星からの電波を受信する衛星電波受信処理部50の受信部51を備える。このように、衛星電波受信処理部50とCPU41及び計測部45とが一体の電子時計1であっても、衛星電波受信処理部50による測位状況に応じて容易かつ適切に計測部45による移動量の計測を併用し、移動距離のリアルタイムでの計測において容易な構成で適切に算出されている移動距離の合計の表示を行わせることができる。
また、衛星電波受信処理部50の側での処理における判断制御を複雑化、本実施形態の移動距離計測の用途に専用化する必要がないので、衛星電波受信処理部50、ひいては衛星電波受信処理部50を備える電子時計1のコストの上昇を抑制することができる。
Further, the electronic clock 1 includes a receiving unit 51 of a satellite radio wave receiving processing unit 50 that receives radio waves from a positioning satellite. As described above, even if the electronic clock 1 in which the satellite radio wave reception processing unit 50, the CPU 41, and the measurement unit 45 are integrated, the amount of movement by the measurement unit 45 is easily and appropriately according to the positioning situation by the satellite radio wave reception processing unit 50. In combination with the measurement of, it is possible to display the total movement distance that is appropriately calculated with a simple configuration in the real-time measurement of the movement distance.
Further, since the judgment control in the processing on the side of the satellite radio wave reception processing unit 50 is complicated and it is not necessary to dedicate it to the application of the moving distance measurement of the present embodiment, the satellite radio wave reception processing unit 50 and eventually the satellite radio wave reception processing It is possible to suppress an increase in the cost of the electronic clock 1 including the unit 50.

また、本実施形態の移動距離計測方法(移動距離算出処理)は、直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値421に加算する第1加算ステップ、所定の条件に基づいて定められる期間に、第1加算ステップの代わりに、計測部45の計測結果に基づいて移動量を算出して累積値421に加算する第2加算ステップ、を含み、定められた期間は、当該期間内の移動距離を含む差分値に係る第1加算ステップが実行されないように定められる。
このように、移動計測から衛星測位に復帰する際に最初に得られる距離が移動計測に基づいて加算していた距離と中途半端に重複するので、この重複を含む部分を廃棄して(累積値421に加算せず)、2回目から加算を開始することで、より適切に積算移動距離を取得することができる。また、数値取得のリアルタイム性を適切に維持することができる。
Further, the moving distance measuring method (moving distance calculation process) of the present embodiment is a predetermined addition step of adding the difference value between the positions of the results of the last two positionings to the cumulative value 421 of the moving distance of the own machine. In the period determined based on the conditions of the above, instead of the first addition step, a second addition step of calculating the movement amount based on the measurement result of the measuring unit 45 and adding it to the cumulative value 421 is included. The period is determined so that the first addition step relating to the difference value including the travel distance within the period is not executed.
In this way, the distance initially obtained when returning from mobile measurement to satellite positioning overlaps halfway with the distance added based on mobile measurement, so the part containing this overlap is discarded (cumulative value). By starting the addition from the second time (without adding to 421), the integrated movement distance can be acquired more appropriately. In addition, the real-time property of numerical value acquisition can be appropriately maintained.

また、上記各ステップの処理を実行するプログラム62を電子時計1のコンピュータにインストールして実行させることで、容易に制御動作自体の負荷をかけずに移動距離の取得を適切に行うことができる。 Further, by installing the program 62 that executes the processing of each of the above steps on the computer of the electronic clock 1 and executing the program 62, it is possible to easily and appropriately acquire the moving distance without imposing a load on the control operation itself.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。
例えば、上記実施の形態では、加速度センサと地磁場センサの組み合わせでユーザの歩行状態を判別したが、他の計測部を利用してもよい。例えば、傾斜センサにより重力加速度の方法を特定して加速度センサの各方向成分を判別してもよい。 また、移動歩数と歩幅を乗じて移動量を計測するのに限られない。例えば、自転車の車輪の回転量を計測可能であってもよい。
The present invention is not limited to the above embodiment, and various modifications can be made.
For example, in the above embodiment, the walking state of the user is determined by the combination of the acceleration sensor and the geomagnetic field sensor, but another measuring unit may be used. For example, the method of gravitational acceleration may be specified by the tilt sensor to determine each direction component of the acceleration sensor. Further, the movement amount is not limited to the measurement of the movement amount by multiplying the number of movement steps and the stride length. For example, the amount of rotation of a bicycle wheel may be measurable.

また、上記実施の形態では、衛星電波受信処理部50から続けて3回測位結果に応じた移動距離(積算値521)が取得されなかった場合に移動計測に基づく移動量を累積値421に加算するように切り替えたが、3回に限られない。任意の回数であってよく、1回とすることもできる。 Further, in the above embodiment, when the movement distance (integrated value 521) according to the positioning result is not acquired three times in succession from the satellite radio wave reception processing unit 50, the movement amount based on the movement measurement is added to the cumulative value 421. I switched to doing it, but it is not limited to 3 times. It may be any number of times, and may be one time.

また、上記実施の形態では、衛星電波受信処理部50による測位間隔と移動計測による移動量の算出とがいずれも1秒間隔で行われることとしたが、これに限られるものではない。また、これらの時間間隔が互いに異なっていてもよい。なお、時間間隔が異なる場合で、衛星測位による移動距離(積算値)の累積値421への加算が再開される場合、移動距離の加算に隙間が生じないようにこのタイミングでのみ移動距離の算出間隔が変更されてもよい。 Further, in the above embodiment, the positioning interval by the satellite radio wave reception processing unit 50 and the calculation of the movement amount by the movement measurement are both performed at 1-second intervals, but the present invention is not limited to this. Moreover, these time intervals may be different from each other. If the time interval is different and the addition of the travel distance (integrated value) by satellite positioning to the cumulative value 421 is resumed, the travel distance is calculated only at this timing so that there is no gap in the addition of the travel distance. The interval may be changed.

また、上記実施の形態では、測位結果の取得が途切れた(続けて失敗した)後に、再開時の距離と移動計測による移動量の合計とを対応付けて記憶し、後に外部機器でのログの閲覧時などに修正可能としたが、電子時計1自体でログの確認及び修正が可能であってもよい。また、例えば、操作受付部44への所定のユーザ操作に基づいて計測中であっても両者の間で切替表示が可能とされてもよい。 Further, in the above embodiment, after the acquisition of the positioning result is interrupted (consecutively failed), the distance at the time of restart and the total amount of movement by the movement measurement are stored in association with each other, and later the log is stored in the external device. Although it is possible to correct it at the time of browsing, the log may be confirmed and corrected by the electronic clock 1 itself. Further, for example, switching display may be possible between the two even during measurement based on a predetermined user operation on the operation reception unit 44.

また、上記実施の形態では、表示部43の表示画面11にリアルタイムで表示を行わせることとしたが、必ず表示をさせなければならないわけではない。操作受付部44へのユーザの入力操作に基づいて、他の内容を表示するように切り替えられてもよいし、そもそも計測距離をリアルタイムで表示する機能がなくてもよい。 Further, in the above embodiment, the display screen 11 of the display unit 43 is displayed in real time, but it is not always necessary to display the display. It may be switched to display other contents based on the user's input operation to the operation reception unit 44, or there may be no function of displaying the measurement distance in real time in the first place.

また、上記実施の形態では、デジタル表示を行う表示画面11に累積値421を表示させることとしたが、その他の方法で表示が行われてもよく、例えば、指針などを動作させて累積値421を表示させてもよい。 Further, in the above embodiment, the cumulative value 421 is displayed on the display screen 11 that performs digital display, but the display may be performed by another method. For example, the cumulative value 421 is operated by operating a pointer or the like. May be displayed.

また、上記実施の形態では、累積値421を計数、表示させる点についてのみ示したが、操作入力に応じて又は自動で、スプリットタイムに応じた移動距離や、所定の計測時間ごとの移動距離(移動ペース)なども計数、表示が可能であってよい。 Further, in the above embodiment, only the point where the cumulative value 421 is counted and displayed is shown, but the moving distance according to the split time or the moving distance for each predetermined measurement time according to the operation input or automatically ( It may be possible to count and display the movement pace) and the like.

また、上記実施の形態では、衛星電波受信処理部50を電子時計1が備えるものとして説明したが、電子時計1とともにユーザに携帯される外部機器の衛星電波受信処理部から移動距離の積算値が取得されるものであってもよい。また、移動距離計測装置は、CPU41などの制御マイコンと計測部45とを備え、衛星電波受信処理部50が接続可能なモジュールであってもよい。 Further, in the above embodiment, the satellite radio wave reception processing unit 50 is described as being provided in the electronic clock 1, but the integrated value of the moving distance from the satellite radio wave reception processing unit of the external device carried by the user together with the electronic clock 1 is calculated. It may be acquired. Further, the moving distance measuring device may be a module including a control microcomputer such as a CPU 41 and a measuring unit 45, to which the satellite radio wave receiving processing unit 50 can be connected.

また、上記実施の形態では、電子時計1に累積値421を計数、表示させることとして説明したが、電子時計1以外の携帯型電子機器であってもよい。当該携帯型電子機器は、計時機能を有していてもいなくてもよい。 Further, in the above embodiment, the cumulative value 421 is counted and displayed on the electronic clock 1, but it may be a portable electronic device other than the electronic clock 1. The portable electronic device may or may not have a timekeeping function.

また、上記実施の形態では、移動距離算出処理に係るプログラム62のコンピュータ読み取り可能な媒体としてフラッシュメモリなどのメモリ60を例に挙げて説明したが、これに限定されない。その他のコンピュータ読み取り可能な媒体として、他の不揮発性メモリ、並びにCD−ROM及びDVDディスクなどの可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウェーブ(搬送波)も本発明に適用される。
その他、上記実施の形態で示した構成、処理内容及び手順などの具体的な細部は、本発明の趣旨を逸脱しない範囲に置いて適宜変更可能である。
Further, in the above embodiment, a memory 60 such as a flash memory has been described as an example as a computer-readable medium of the program 62 related to the movement distance calculation process, but the present invention is not limited to this. As other computer-readable media, other non-volatile memories and portable recording media such as CD-ROMs and DVD discs can be applied. A carrier wave is also applied to the present invention as a medium for providing data of a program according to the present invention via a communication line.
In addition, specific details such as the configuration, processing contents, and procedure shown in the above-described embodiment can be appropriately changed without departing from the spirit of the present invention.

本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
Although some embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and the equivalent scope thereof.
The inventions described in the claims originally attached to the application of this application are added below. The claims in the appendix are as specified in the claims originally attached to the application for this application.

[付記]
<請求項1>
移動量に係る物理量の計測を行う計測部と、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算処理を行い、所定の条件に基づいて定められる期間には前記計測部の計測結果に基づいて移動量を算出して、当該移動量を前記累積値に加算する第2加算処理を前記第1加算処理の代わりに行う制御部と、
を備え、
前記制御部は、前記期間内の移動距離を含む前記差分値に係る前記第1加算処理を行わない
ことを特徴とする移動距離計測装置。
<請求項2>
前記制御部は、前記測位の状態に係る前記所定の条件に応じて前記第2加算処理により前記移動量を加算する前記期間を定めることを特徴とする請求項1記載の移動距離計測装置。
<請求項3>
前記制御部は、直近の前記差分値の加算に係る測位から所定の上限時間が経過した場合に当該上限時間に応じた測位のタイミングに前記期間を開始させ、前記期間の開始後に前記差分値が得られた場合には、当該差分値における2回目の結果が得られた測位のタイミングで前記期間を終了させることを特徴とする請求項2記載の移動距離計測装置。
<請求項4>
前記測位は、所定の時間間隔で行われ、
前記上限時間は、前記時間間隔の2倍以上である
ことを特徴とする請求項3記載の移動距離計測装置。
<請求項5>
前記制御部は、第1制御部と、第2制御部とを有し、
前記第1制御部は、前記差分値とその積算値を算出し、
前記第2制御部は、前記第1制御部に前記積算値の出力を要求し、前記第1制御部から出力された前記積算値を取得した場合には、取得した前記積算値を前記累積値に加算して、前記第1制御部に前記積算値の初期化を命令する
ことを特徴とする請求項1〜4のいずれか一項に記載の移動距離計測装置。
<請求項6>
前記第2制御部は、直近の前記差分値の加算に係る測位から所定の上限時間が経過した場合に当該上限時間に応じた測位のタイミングに前記期間を開始させ、直近の前記差分値の加算に係る測位から前記上限時間が経過するまでの間、測位に応じた前記差分値が得られなかった場合には、前記第1加算処理を選択しないことを特徴とする請求項5記載の移動距離計測装置。
<請求項7>
前記制御部は、前記計測部の計測結果に基づいてユーザの移動歩数を特定し、当該移動歩数に所定の歩幅を乗じて前記移動量を算出することを特徴とする請求項1〜6のいずれか一項に記載の移動距離計測装置。
<請求項8>
表示部を備え、
前記制御部は、前記表示部に前記累積値を表示させる
ことを特徴とする請求項1〜7のいずれか一項に記載の移動距離計測装置。
<請求項9>
前記制御部は、前記期間内の更新値であるか否かを判別可能に前記累積値の表示を行うことを特徴とする請求項8記載の移動距離計測装置。
<請求項10>
測位衛星からの電波を受信する受信部を備えることを特徴とする請求項1〜9のいずれか一項に記載の移動距離計測装置。
<請求項11>
移動量に係る物理量の計測を行う計測部を備える移動距離計測装置の移動距離計測方法であって、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算ステップ、
所定の条件に基づいて定められる期間に、前記第1加算ステップの代わりに、前記計測部の計測結果に基づいて移動量を算出して前記累積値に加算する第2加算ステップ、
を含み、
前記期間は、当該期間内の移動距離を含む前記差分値に係る前記第1加算ステップが実行されないように定められる
ことを特徴とする移動距離計測方法。
<請求項12>
移動量に係る物理量の計測を行う計測部を備えるコンピュータを、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算手段、
所定の条件に基づいて定められる期間に、前記第1加算手段の代わりに、前記計測部の計測結果に基づいて移動量を算出して前記累積値に加算する第2加算手段、
として機能させ、
前記期間は、当該期間内の移動距離を含む前記差分値に係る前記第1加算手段による加算がなされないように定められる
ことを特徴とするプログラム。
[Additional Notes]
<Claim 1>
A measurement unit that measures physical quantities related to the amount of movement,
The first addition process is performed to add the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own machine, and the measurement result of the measurement unit is added during the period determined based on the predetermined conditions. A control unit that calculates a movement amount based on the movement amount and performs a second addition process of adding the movement amount to the cumulative value instead of the first addition process.
With
The control unit is a movement distance measuring device, characterized in that the first addition process related to the difference value including the movement distance within the period is not performed.
<Claim 2>
The moving distance measuring device according to claim 1, wherein the control unit determines the period for adding the moving amount by the second addition process according to the predetermined condition related to the positioning state.
<Claim 3>
The control unit starts the period at the timing of positioning according to the upper limit time when a predetermined upper limit time elapses from the positioning related to the latest addition of the difference value, and the difference value is set after the start of the period. The moving distance measuring device according to claim 2, wherein when obtained, the period is terminated at the timing of positioning at which the second result of the difference value is obtained.
<Claim 4>
The positioning is performed at predetermined time intervals,
The moving distance measuring device according to claim 3, wherein the upper limit time is at least twice the time interval.
<Claim 5>
The control unit includes a first control unit and a second control unit.
The first control unit calculates the difference value and its integrated value, and then
The second control unit requests the first control unit to output the integrated value, and when the integrated value output from the first control unit is acquired, the acquired integrated value is used as the cumulative value. The moving distance measuring device according to any one of claims 1 to 4, wherein the first control unit is instructed to initialize the integrated value in addition to the above.
<Claim 6>
When a predetermined upper limit time has elapsed from the latest positioning related to the addition of the difference value, the second control unit starts the period at the timing of positioning according to the upper limit time, and adds the latest difference value. The moving distance according to claim 5, wherein the first addition process is not selected when the difference value corresponding to the positioning is not obtained from the positioning according to the above to the elapse of the upper limit time. Measuring device.
<Claim 7>
Any of claims 1 to 6, wherein the control unit specifies the number of steps moved by the user based on the measurement result of the measuring unit, and calculates the amount of movement by multiplying the number of steps moved by a predetermined stride. The moving distance measuring device according to the first paragraph.
<Claim 8>
Equipped with a display
The moving distance measuring device according to any one of claims 1 to 7, wherein the control unit displays the cumulative value on the display unit.
<Claim 9>
The moving distance measuring device according to claim 8, wherein the control unit displays the cumulative value so that it can be determined whether or not the value is an updated value within the period.
<Claim 10>
The moving distance measuring device according to any one of claims 1 to 9, further comprising a receiving unit for receiving radio waves from a positioning satellite.
<Claim 11>
It is a moving distance measuring method of a moving distance measuring device provided with a measuring unit for measuring a physical quantity related to a moving amount.
The first addition step of adding the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own aircraft,
A second addition step, in which, instead of the first addition step, a movement amount is calculated based on the measurement result of the measurement unit and added to the cumulative value during a period determined based on a predetermined condition.
Including
The moving distance measuring method, wherein the period is determined so that the first addition step related to the difference value including the moving distance within the period is not executed.
<Claim 12>
A computer equipped with a measuring unit that measures the physical quantity related to the amount of movement,
The first addition means, which adds the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own aircraft.
A second addition means, which calculates a movement amount based on the measurement result of the measurement unit and adds it to the cumulative value, instead of the first addition means, during a period determined based on a predetermined condition.
To function as
The program is characterized in that the period is determined so that the difference value including the travel distance within the period is not added by the first addition means.

1 電子時計
10 本体部
11 表示画面
12 押しボタンスイッチ
20 バンド
41 CPU
42 RAM
43 表示部
44 操作受付部
45 計測部
46 発振回路
47 分周回路
48 計時回路
49 通信部
50 衛星電波受信処理部
51 受信部
52 制御部
60 メモリ
61 計測データ
62 プログラム
421 累積値
521 積算値
M 標識
dt 間隔
1 Electronic clock 10 Main unit 11 Display screen 12 Push button switch 20 Band 41 CPU
42 RAM
43 Display unit 44 Operation reception unit 45 Measurement unit 46 Oscillation circuit 47 Division circuit 48 Timekeeping circuit 49 Communication unit 50 Satellite radio wave reception processing unit 51 Reception unit 52 Control unit 60 Memory 61 Measurement data 62 Program 421 Cumulative value 521 Cumulative value M sign dt interval

Claims (12)

移動量に係る物理量の計測を行う計測部と、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算処理を行い、所定の条件に基づいて定められる期間には前記計測部の計測結果に基づいて移動量を算出して、当該移動量を前記累積値に加算する第2加算処理を前記第1加算処理の代わりに行う制御部と、
を備え、
前記制御部は、前記期間内の移動距離を含む前記差分値に係る前記第1加算処理を行わない
ことを特徴とする移動距離計測装置。
A measurement unit that measures physical quantities related to the amount of movement,
The first addition process is performed to add the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own machine, and the measurement result of the measurement unit is added during the period determined based on the predetermined conditions. A control unit that calculates a movement amount based on the movement amount and performs a second addition process of adding the movement amount to the cumulative value instead of the first addition process.
With
The control unit is a movement distance measuring device, characterized in that the first addition process related to the difference value including the movement distance within the period is not performed.
前記制御部は、前記測位の状態に係る前記所定の条件に応じて前記第2加算処理により前記移動量を加算する前記期間を定めることを特徴とする請求項1記載の移動距離計測装置。 The moving distance measuring device according to claim 1, wherein the control unit determines the period for adding the moving amount by the second addition process according to the predetermined condition related to the positioning state. 前記制御部は、直近の前記差分値の加算に係る測位から所定の上限時間が経過した場合に当該上限時間に応じた測位のタイミングに前記期間を開始させ、前記期間の開始後に前記差分値が得られた場合には、当該差分値における2回目の結果が得られた測位のタイミングで前記期間を終了させることを特徴とする請求項2記載の移動距離計測装置。 The control unit starts the period at the timing of positioning according to the upper limit time when a predetermined upper limit time elapses from the positioning related to the latest addition of the difference value, and the difference value is set after the start of the period. The moving distance measuring device according to claim 2, wherein when obtained, the period is terminated at the timing of positioning at which the second result of the difference value is obtained. 前記測位は、所定の時間間隔で行われ、
前記上限時間は、前記時間間隔の2倍以上である
ことを特徴とする請求項3記載の移動距離計測装置。
The positioning is performed at predetermined time intervals,
The moving distance measuring device according to claim 3, wherein the upper limit time is at least twice the time interval.
前記制御部は、第1制御部と、第2制御部とを有し、
前記第1制御部は、前記差分値とその積算値を算出し、
前記第2制御部は、前記第1制御部に前記積算値の出力を要求し、前記第1制御部から出力された前記積算値を取得した場合には、取得した前記積算値を前記累積値に加算して、前記第1制御部に前記積算値の初期化を命令する
ことを特徴とする請求項1〜4のいずれか一項に記載の移動距離計測装置。
The control unit includes a first control unit and a second control unit.
The first control unit calculates the difference value and its integrated value, and then
The second control unit requests the first control unit to output the integrated value, and when the integrated value output from the first control unit is acquired, the acquired integrated value is used as the cumulative value. The moving distance measuring device according to any one of claims 1 to 4, wherein the first control unit is instructed to initialize the integrated value in addition to the above.
前記第2制御部は、直近の前記差分値の加算に係る測位から所定の上限時間が経過した場合に当該上限時間に応じた測位のタイミングに前記期間を開始させ、直近の前記差分値の加算に係る測位から前記上限時間が経過するまでの間、測位に応じた前記差分値が得られなかった場合には、前記第1加算処理を選択しないことを特徴とする請求項5記載の移動距離計測装置。 When a predetermined upper limit time has elapsed from the latest positioning related to the addition of the difference value, the second control unit starts the period at the timing of positioning according to the upper limit time, and adds the latest difference value. The moving distance according to claim 5, wherein the first addition process is not selected when the difference value corresponding to the positioning is not obtained from the positioning according to the above to the elapse of the upper limit time. Measuring device. 前記制御部は、前記計測部の計測結果に基づいてユーザの移動歩数を特定し、当該移動歩数に所定の歩幅を乗じて前記移動量を算出することを特徴とする請求項1〜6のいずれか一項に記載の移動距離計測装置。 Any of claims 1 to 6, wherein the control unit specifies the number of steps moved by the user based on the measurement result of the measuring unit, and calculates the amount of movement by multiplying the number of steps moved by a predetermined stride. The moving distance measuring device according to the first paragraph. 表示部を備え、
前記制御部は、前記表示部に前記累積値を表示させる
ことを特徴とする請求項1〜7のいずれか一項に記載の移動距離計測装置。
Equipped with a display
The moving distance measuring device according to any one of claims 1 to 7, wherein the control unit displays the cumulative value on the display unit.
前記制御部は、前記期間内の更新値であるか否かを判別可能に前記累積値の表示を行うことを特徴とする請求項8記載の移動距離計測装置。 The moving distance measuring device according to claim 8, wherein the control unit displays the cumulative value so that it can be determined whether or not the value is an updated value within the period. 測位衛星からの電波を受信する受信部を備えることを特徴とする請求項1〜9のいずれか一項に記載の移動距離計測装置。 The moving distance measuring device according to any one of claims 1 to 9, further comprising a receiving unit for receiving radio waves from a positioning satellite. 移動量に係る物理量の計測を行う計測部を備える移動距離計測装置の移動距離計測方法であって、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算ステップ、
所定の条件に基づいて定められる期間に、前記第1加算ステップの代わりに、前記計測部の計測結果に基づいて移動量を算出して前記累積値に加算する第2加算ステップ、
を含み、
前記期間は、当該期間内の移動距離を含む前記差分値に係る前記第1加算ステップが実行されないように定められる
ことを特徴とする移動距離計測方法。
It is a moving distance measuring method of a moving distance measuring device provided with a measuring unit for measuring a physical quantity related to a moving amount.
The first addition step of adding the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own aircraft,
A second addition step, in which, instead of the first addition step, a movement amount is calculated based on the measurement result of the measurement unit and added to the cumulative value during a period determined based on a predetermined condition.
Including
The moving distance measuring method, wherein the period is determined so that the first addition step related to the difference value including the moving distance within the period is not executed.
移動量に係る物理量の計測を行う計測部を備えるコンピュータを、
直近2回の測位の結果の位置間の差分値を自機の移動距離の累積値に加算する第1加算手段、
所定の条件に基づいて定められる期間に、前記第1加算手段の代わりに、前記計測部の計測結果に基づいて移動量を算出して前記累積値に加算する第2加算手段、
として機能させ、
前記期間は、当該期間内の移動距離を含む前記差分値に係る前記第1加算手段による加算がなされないように定められる
ことを特徴とするプログラム。
A computer equipped with a measuring unit that measures the physical quantity related to the amount of movement,
The first addition means, which adds the difference value between the positions of the results of the last two positionings to the cumulative value of the movement distance of the own aircraft.
A second addition means, which calculates a movement amount based on the measurement result of the measurement unit and adds it to the cumulative value, instead of the first addition means, during a period determined based on a predetermined condition.
To function as
The program is characterized in that the period is determined so that the difference value including the travel distance within the period is not added by the first addition means.
JP2019189863A 2019-10-17 2019-10-17 Device and method for measuring moving distance and program Pending JP2021063770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019189863A JP2021063770A (en) 2019-10-17 2019-10-17 Device and method for measuring moving distance and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019189863A JP2021063770A (en) 2019-10-17 2019-10-17 Device and method for measuring moving distance and program

Publications (1)

Publication Number Publication Date
JP2021063770A true JP2021063770A (en) 2021-04-22

Family

ID=75486102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019189863A Pending JP2021063770A (en) 2019-10-17 2019-10-17 Device and method for measuring moving distance and program

Country Status (1)

Country Link
JP (1) JP2021063770A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115300891A (en) * 2022-08-29 2022-11-08 浪潮软件科技有限公司 Anti-cheating walking distance calculation method and tool
WO2022254680A1 (en) * 2021-06-04 2022-12-08 日本電気株式会社 Condition setting device, gait measurement system, measurement condition generating method, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022254680A1 (en) * 2021-06-04 2022-12-08 日本電気株式会社 Condition setting device, gait measurement system, measurement condition generating method, and recording medium
CN115300891A (en) * 2022-08-29 2022-11-08 浪潮软件科技有限公司 Anti-cheating walking distance calculation method and tool
CN115300891B (en) * 2022-08-29 2023-10-31 浪潮软件科技有限公司 Anti-cheating healthy walking distance calculation method and tool

Similar Documents

Publication Publication Date Title
JP7006080B2 (en) Movement state determination device, electronic clock, movement state determination method and program
JP5464101B2 (en) POSITIONING DEVICE, POSITIONING METHOD, AND PROGRAM
US10031488B2 (en) Radio wave receiver, radio-controlled timepiece, signal obtaining method and storage medium
JP2021063770A (en) Device and method for measuring moving distance and program
JP2023112161A (en) Satellite radio wave receiver, electronic timepiece, positioning control method and program
JP2023011006A (en) Satellite radio wave receiver, electronic timepiece, positioning information acquisition control method and program
US9226107B2 (en) Method of controlling mobile terminal apparatus and mobile terminal apparatus
US10816357B2 (en) Display device, electronic timepiece, display method, and computer-readable recording medium
JP6702285B2 (en) Satellite radio receiver, electronic clock, positioning control method and program
EP3460527B1 (en) Satellite radiowave receiving device, electronic timepiece, method for controlling positioning operations, and program
JP2018132303A (en) Satellite radio wave receiver, electronic clock, positioning control method and program
JP6766837B2 (en) Satellite radio receiver, electronic clock and positioning control method
US11175636B2 (en) Satellite radio wave receiving device, electronic timepiece, method, and non-transitory computer-readable storage medium
JP6398623B2 (en) Positioning device, radio clock, current position calculation method, and program
JP6992360B2 (en) Position measuring device, electronic clock, position correction method and program
JP6759900B2 (en) Local time setting acquisition device, electronic clock, local time setting acquisition method, and program
JP2019168281A (en) Electronic apparatus, method for calculating time of arrival to destination, controller, and control program
JP6819180B2 (en) Display devices, electronic clocks, display processing methods, and programs
JP6930161B2 (en) Electronic clock, reception operation control method and program
CN117518220A (en) Body-worn device, movement information acquisition control method, and recording medium
JP6493574B2 (en) Radio wave receiver, radio wave clock, signal acquisition method and program
JP2021156649A (en) Electronic apparatus, moving speed acquisition method, and control program
CN114979941A (en) Communication device, method for determining travel distance correlation value, and recording medium
JP2007024579A (en) Motion data display controller, mobile type equipment and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221012

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231219

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20240123