JP2014174736A - Electronic apparatus and program - Google Patents

Electronic apparatus and program Download PDF

Info

Publication number
JP2014174736A
JP2014174736A JP2013046800A JP2013046800A JP2014174736A JP 2014174736 A JP2014174736 A JP 2014174736A JP 2013046800 A JP2013046800 A JP 2013046800A JP 2013046800 A JP2013046800 A JP 2013046800A JP 2014174736 A JP2014174736 A JP 2014174736A
Authority
JP
Japan
Prior art keywords
speed
travel
pitch
traveling
input
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
JP2013046800A
Other languages
Japanese (ja)
Inventor
Ayumi Matsumoto
亜弓 松本
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments Inc
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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP2013046800A priority Critical patent/JP2014174736A/en
Publication of JP2014174736A publication Critical patent/JP2014174736A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Distances Traversed On The Ground (AREA)

Abstract

PROBLEM TO BE SOLVED: To accept an input of only a combination of accurate input values.SOLUTION: An input switch 107 receives a set of a travelling pitch as the number of steps per a predetermined time and a travelling speed as a running speed or walking speed. A processing section 101 calculates the stride on the basis of the set of the travelling pitch and the travelling speed input to the input switch 107. A storage section 103 stores an upper limit threshold indicating the upper limit of the stride and a lower limit threshold indicating the lower limit of the stride. On the basis of the calculated stride and the upper limit threshold and lower limit threshold stored in the storage section 103, the processing section 101 determines whether or not to accept the input of the set of the travelling pitch and the travelling speed input to the input switch 107.

Description

本発明は、電子機器およびプログラムに関する。   The present invention relates to an electronic device and a program.

従来より、携帯型電子機器に加速度センサ等を搭載し、ユーザの走行又は歩行による速度を算出する機器が知られている(例えば、特許文献1参照)。このような機器では、時間計測手段と、歩数計測手段とを備え、設定された歩幅と、計測された時間および歩数とに基づいてユーザの平均速度を算出して報知する。   2. Description of the Related Art Conventionally, there has been known a device in which an acceleration sensor or the like is mounted on a portable electronic device and a speed of a user traveling or walking is calculated (see, for example, Patent Document 1). Such a device includes a time measuring means and a step count measuring means, and calculates and notifies the average speed of the user based on the set step length, the measured time and the number of steps.

しかしながら、特許文献1に記載の技術では、予めユーザの固有の歩幅値を入力する必要がある。ユーザは、自身の歩幅値を認識していない場合は入力することが出来ないため、何らかの方法で自身の歩幅値を認識する作業を強いられる。   However, in the technique described in Patent Document 1, it is necessary to input a user's unique stride value in advance. Since the user cannot input his / her own stride value unless he / she recognizes his / her stride value, the user is forced to recognize his / her stride value by some method.

例えば、歩幅は、速度(m/分)をピッチ(歩/分)で除算することで算出することができる。そこで、携帯型電子機器は、ユーザから歩行速度と歩行ピッチとの入力を受け付けることで、歩幅値を算出することができる。   For example, the stride can be calculated by dividing the speed (m / min) by the pitch (steps / min). Therefore, the portable electronic device can calculate the stride value by receiving the input of the walking speed and the walking pitch from the user.

実開平2−59419号公報Japanese Utility Model Publication No. 2-59419

しかしながら、単独では現実的な速度と、単独では現実的なピッチとが入力された場合においても、算出する歩幅が非現実的な値になるという問題がある。例えば、速度300m/分は現実的な速度である。また、ピッチ60歩/分も現実的なピッチである。しかしながら、この値に基づいて算出した歩幅は5mとなり、現実的な歩幅ではない。すなわち、入力された速度とピッチとの組み合わせは正確ではない。このように、不正確な入力値の組み合わせの入力を受け付ける可能性があるという問題がある。   However, there is a problem that the calculated stride becomes an unrealistic value even when a realistic speed alone and a realistic pitch alone are input. For example, a speed of 300 m / min is a realistic speed. Also, a pitch of 60 steps / minute is a realistic pitch. However, the stride calculated based on this value is 5 m, which is not a realistic stride. That is, the combination of the input speed and pitch is not accurate. Thus, there exists a problem that there exists a possibility that the input of the combination of an incorrect input value may be received.

そこで、本発明は上述の事情を鑑みてなされたものであり、より正確な入力値の組み合わせのみ入力を受け付けることができる電子機器およびプログラムを提供することを目的とする。   Therefore, the present invention has been made in view of the above-described circumstances, and an object thereof is to provide an electronic device and a program that can accept only a combination of more accurate input values.

本発明は、所定時間あたりの歩数である走行ピッチと走行する速度または歩行する速度である走行速度との組が入力される入力部と、前記入力部に入力された前記走行ピッチと前記走行速度との組に基づいて歩幅を算出する算出部と、歩幅の上限値を示す上限閾値と歩幅の下限値を示す下限閾値とを記憶する記憶部と、前記算出部が算出した前記歩幅と、前記記憶部が記憶する前記上限閾値と前記下限閾値とに基づいて、前記入力部に入力された前記走行ピッチと前記走行速度との組の入力を受け付けるか否かを判定する判定部と、を備えることを特徴とする電子機器である   The present invention provides an input unit to which a set of a traveling pitch that is the number of steps per predetermined time and a traveling speed that is a traveling speed or a walking speed is input, and the traveling pitch and the traveling speed that are input to the input unit A calculation unit that calculates a stride based on a set of, a storage unit that stores an upper limit threshold that indicates an upper limit value of the stride and a lower limit threshold that indicates a lower limit value of the stride, the stride calculated by the calculation unit, A determination unit that determines whether to accept an input of a set of the travel pitch and the travel speed input to the input unit based on the upper limit threshold and the lower limit threshold stored in the storage unit; It is an electronic device characterized by

また、本発明は、前記走行ピッチと前記走行速度との関係を示す関係データを記憶する関係データ記憶部と、前記判定部が入力を受け付けると判定した前記走行ピッチと前記走行速度との組に基づいて、前記記憶部に記憶されている前記関係データを補正する補正部と、前記関係データ記憶部に記憶された前記関係データに基づいて、計測されたユーザの走行ピッチから前記ユーザの走行速度を算出する速度算出部と、を備えることを特徴とする電子機器である。   The present invention also relates to a set of a relationship data storage unit that stores relationship data indicating a relationship between the travel pitch and the travel speed, and the travel pitch and the travel speed that the determination unit determines to accept input. Based on the measured travel pitch of the user based on the relationship data stored in the relationship data storage unit, a correction unit that corrects the relationship data stored in the storage unit based on the travel speed of the user An electronic device comprising: a speed calculation unit that calculates

また、本発明は、前記判定部が入力を受け付けると判定した前記走行ピッチと前記走行速度との複数の組に基づいて、走行ピッチと走行速度との関係を示す関係データを生成する生成部と、前記生成部が生成した前記関係データを記憶する関係データ記憶部と、前記関係データ記憶部に記憶された前記関係データに基づいて、計測されたユーザの走行ピッチから前記ユーザの走行速度を算出する速度算出部と、を備えることを特徴とする電子機器である。   According to another aspect of the present invention, there is provided a generating unit that generates relational data indicating a relationship between the traveling pitch and the traveling speed based on a plurality of sets of the traveling pitch and the traveling speed that are determined to be received by the determination unit. The travel speed of the user is calculated from the measured travel pitch of the user on the basis of the relation data storage section that stores the relation data generated by the generation section and the relation data stored in the relation data storage section. An electronic device comprising a speed calculating unit.

また、本発明は、前記速度算出部が算出した走行速度に基づいて、前記ユーザが走行した距離または歩行した距離である走行距離を算出する走行距離算出部を備えることを特徴とする電子機器である。   According to another aspect of the present invention, there is provided an electronic apparatus including a travel distance calculation unit that calculates a travel distance that is a distance traveled by the user or a distance traveled based on the travel speed calculated by the speed calculation unit. is there.

また、本発明は、前記速度算出部が算出した走行速度に基づいて、前記ユーザの歩行するペースまたは走行するペースである走行ペースを算出するペース算出部を備えることを特徴とする電子機器である。   In addition, the present invention is an electronic apparatus comprising a pace calculation unit that calculates a travel pace that is the pace of the user walking or the pace of travel based on the travel speed calculated by the speed calculation unit. .

また、本発明の電子機器において、前記記憶部は、走行ピッチと走行速度との関係を示すテーブルデータを記憶することを特徴とする。   In the electronic device of the present invention, the storage unit stores table data indicating a relationship between a traveling pitch and a traveling speed.

また、本発明の電子機器において、前記速度算出部は、前記ユーザの走行速度に代えて、前記ユーザの歩行するペースまたは走行するペースである走行ペースを算出することを特徴とする。   In the electronic device of the present invention, the speed calculation unit calculates a travel pace that is a pace at which the user walks or travels instead of the travel speed of the user.

また、本発明は、コンピュータに、入力された、所定時間あたりの歩数である走行ピッチと走行する速度または歩行する速度である走行速度との組に基づいて歩幅を算出する算出ステップと、前記算出ステップで算出した前記歩幅と、記憶部が記憶する歩幅の上限値を示す上限閾値と歩幅の下限値を示す下限閾値とに基づいて、前記入力された前記走行ピッチと前記走行速度との組の入力を受け付けるか否かを判定する判定ステップと、を実行させるためのプログラムである。   According to another aspect of the present invention, there is provided a calculation step of calculating a stride based on a combination of a travel pitch, which is the number of steps per predetermined time, and a travel speed, which is a travel speed, or a walk speed, which is input to a computer; Based on the stride calculated in step, the upper limit threshold indicating the upper limit of the stride stored in the storage unit, and the lower limit threshold indicating the lower limit of the stride, a set of the input travel pitch and travel speed And a determination step for determining whether to accept an input.

本発明によれば、入力部には、所定時間あたりの歩数である走行ピッチと走行する速度または歩行する速度である走行速度との組が入力される。また、算出部は、入力部に入力された走行ピッチと走行速度との組に基づいて歩幅を算出する。また、記憶部は、歩幅の上限値を示す上限閾値と歩幅の下限値を示す下限閾値とを記憶する。また、判定部は、算出部が算出した歩幅と、記憶部が記憶する上限閾値と下限閾値とに基づいて、入力部に入力された走行ピッチと走行速度との組の入力を受け付けるか否かを判定する。これにより、より正確な入力値の組み合わせのみ入力を受け付けることができる。   According to the present invention, a set of a traveling pitch that is the number of steps per predetermined time and a traveling speed that is a traveling speed or a walking speed is input to the input unit. The calculation unit calculates the stride based on the set of the travel pitch and the travel speed input to the input unit. Further, the storage unit stores an upper limit threshold value indicating the upper limit value of the stride and a lower limit threshold value indicating the lower limit value of the stride. Whether or not the determination unit accepts an input of a set of the travel pitch and the travel speed input to the input unit based on the stride calculated by the calculation unit and the upper and lower thresholds stored in the storage unit. Determine. Thereby, only a more accurate combination of input values can be accepted.

本発明の第1の実施形態における腕時計の構成を示したブロック図である。It is the block diagram which showed the structure of the wristwatch in the 1st Embodiment of this invention. 本発明の第1の実施形態における走行ピッチと走行速度との関係を示すプロットデータである。It is plot data which shows the relationship between the driving pitch and driving speed in the 1st Embodiment of this invention. 本発明の第1の実施形態における記憶部が記憶する、走行ピッチと走行速度との関係を示す関係データの一例である。It is an example of the relationship data which shows the relationship between driving | running | working pitch and driving speed which the memory | storage part in the 1st Embodiment of this invention memorize | stores. 本発明の第1の実施形態における関係式の補正方法を説明するための図である。It is a figure for demonstrating the correction method of the relational expression in the 1st Embodiment of this invention. 本発明の第1の実施形態における腕時計が実行する関係式補正処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the relational expression correction | amendment process which the wristwatch in the 1st Embodiment of this invention performs. 本発明の第1の実施形態における腕時計が実行する速度算出処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the speed calculation process which the wristwatch in the 1st Embodiment of this invention performs. 本発明の第2の実施形態における記憶部が記憶する、走行ピッチと走行速度との関係を示す関係データの一例である。It is an example of the relationship data which shows the relationship between driving | running | working pitch and driving speed which the memory | storage part in the 2nd Embodiment of this invention memorize | stores. 本発明の第2の実施形態における関係式の生成方法を説明するための図である。It is a figure for demonstrating the production | generation method of the relational expression in the 2nd Embodiment of this invention. 本発明の第2の実施形態における腕時計が実行する関係式生成処理の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the relational expression production | generation process which the wristwatch in the 2nd Embodiment of this invention performs.

(第1の実施形態)
以下、本発明の第1の実施形態について、図面を参照しながら説明する。本実施形態では、電子機器の一例として、腕時計の例を用いて説明する。図1は、本実施形態における腕時計100の構成を示したブロック図である。腕時計100は、ユーザの走行ピッチを計測し、計測した走行ピッチからユーザの走行速度を算出して表示する電子時計である。走行ピッチとは、所定時間(例えば、1分)あたりの歩数である。走行速度とは、歩行する速度または走行する速度である。腕時計100は、走行ピッチを計測するための計測(クロノグラフ)モードと、腕時計100の設定を変更するためのセットアップモードとの2つの動作モードを有する。図示する例では、腕時計100は、処理部101(速度算出部、取得部、補正部、走行距離算出部、ペース算出部)と、表示部102と、記憶部103と、電源104と、走行検出部105と、加速度センサ106と、入力スイッチ107(取得部)と、分周部108と、水晶発振部109とを備える。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In this embodiment, an example of a wristwatch will be described as an example of an electronic device. FIG. 1 is a block diagram illustrating a configuration of a wristwatch 100 according to the present embodiment. The wristwatch 100 is an electronic timepiece that measures a user's travel pitch and calculates and displays the user's travel speed from the measured travel pitch. The traveling pitch is the number of steps per predetermined time (for example, 1 minute). The traveling speed is a walking speed or a traveling speed. The wristwatch 100 has two operation modes: a measurement (chronograph) mode for measuring a running pitch, and a setup mode for changing settings of the wristwatch 100. In the illustrated example, the wristwatch 100 includes a processing unit 101 (speed calculation unit, acquisition unit, correction unit, travel distance calculation unit, pace calculation unit), display unit 102, storage unit 103, power supply 104, and travel detection. Unit 105, acceleration sensor 106, input switch 107 (acquisition unit), frequency dividing unit 108, and crystal oscillation unit 109.

処理部101は、腕時計100が備える各部の制御を行う中央処理装置である。例えば、処理部101は、入力スイッチ107に入力された走行ピッチと走行速度との組に基づいて歩幅を算出する。また、記憶部103が記憶する走行ピッチと走行速度との関係を示す関係データに基づいて、走行検出部105が計測したユーザの走行ピッチからユーザの走行速度を算出する。また、処理部101は、実際の走行ピッチと当該ピッチ測定時に測定された実際の速度との組に基づいて、記憶部103に記憶されている関係データを補正する。また、処理部101は、算出した走行速度に基づいて、ユーザの走行距離を算出する。走行距離とは、歩行した距離または走行した距離である。また、処理部101は、算出した走行速度に基づいて、走行ペースを算出する。走行ペースは、走行するペースまたは歩行するペースであり、走行速度の逆数である。また、処理部101は、走行に関する情報を表示部102に表示させる。走行に関する情報は、例えば、走行時間、歩数、走行ピッチ、走行速度、走行距離、または走行ペース等である。走行時間は、歩行した時間または走行した時間である。   The processing unit 101 is a central processing unit that controls each unit included in the wristwatch 100. For example, the processing unit 101 calculates the stride based on the set of the travel pitch and the travel speed input to the input switch 107. Further, based on the relational data indicating the relation between the traveling pitch and the traveling speed stored in the storage unit 103, the traveling speed of the user is calculated from the traveling pitch of the user measured by the traveling detection unit 105. Further, the processing unit 101 corrects the relational data stored in the storage unit 103 based on the set of the actual traveling pitch and the actual speed measured at the time of the pitch measurement. Further, the processing unit 101 calculates the user's travel distance based on the calculated travel speed. The travel distance is a walked distance or a traveled distance. Further, the processing unit 101 calculates a travel pace based on the calculated travel speed. The running pace is the pace of running or walking, and is the reciprocal of the running speed. In addition, the processing unit 101 causes the display unit 102 to display information related to traveling. The information related to travel is, for example, travel time, number of steps, travel pitch, travel speed, travel distance, travel pace, or the like. The running time is the time spent walking or running.

表示部102は、例えば液晶ディスプレイであり、時刻や、走行に関する情報等を表示する。記憶部103は、ROM(Read Only Memory、読み出し専用メモリ)105やRAM(Random Access Memory、ランダムアクセスメモリ)106から構成され、走行ピッチと走行速度との関係を示す関係データを記憶する。また、記憶部103は、現実的な歩幅の上限値を示す上限閾値と、現実的な歩幅の下限値を示す下限閾値とを記憶する。例えば、記憶部103は、現実的な歩幅の上限値を示す上限閾値200cmと、現実的な歩幅の下限値を示す下限閾値50cmとを記憶している。   The display unit 102 is, for example, a liquid crystal display, and displays time, information related to traveling, and the like. The storage unit 103 includes a ROM (Read Only Memory) 105 and a RAM (Random Access Memory) 106, and stores relational data indicating the relation between the running pitch and the running speed. The storage unit 103 also stores an upper limit threshold value that indicates the upper limit value of the actual stride and a lower limit threshold value that indicates the lower limit value of the actual stride. For example, the storage unit 103 stores an upper limit threshold value 200 cm indicating the upper limit value of the actual stride and a lower limit threshold value 50 cm indicating the lower limit value of the actual stride length.

なお、記憶部103が記憶する現実的な歩幅の上限値を示す上限閾値と、現実的な歩幅の下限値を示す下限閾値とは、ユーザが任意に設定できるようにしてもよく、腕時計100の設定に応じて値が変化するようにしてもよい。例えば、腕時計100の設定として、ユーザが歩行時に用いる「歩行モード」が設定されている場合、記憶部103が記憶する現実的な歩幅の上限値を示す上限閾値を100cmと設定し、現実的な歩幅の下限値を示す下限閾値を50cmと設定するようにしてもよい。また、腕時計100の設定として、ユーザが走行時に用いる「走行モード」が設定されている場合、記憶部103が記憶する現実的な歩幅の上限値を示す上限閾値を200cmと設定し、現実的な歩幅の下限値を示す下限閾値を50cmと設定するようにしてもよい。また、腕時計100の設定は、「走行モード」や「歩行モード」に限らず、「ユーザの年齢」や「ユーザの性別」を用いてもよい。また、腕時計100の設定である「ユーザの年齢」や「ユーザの性別」に応じて、記憶部103が記憶する現実的な歩幅の上限値を示す上限閾値と、現実的な歩幅の下限値を示す下限閾値とが変化するようにしてもよい。なお、上限閾値および下限閾値の値は上記の例に限らず、現実的な歩幅を示すことができる値であればどのような値でもよい。   The upper limit threshold value indicating the upper limit value of the actual stride stored in the storage unit 103 and the lower limit threshold value indicating the lower limit value of the actual stride length may be arbitrarily set by the user. The value may be changed according to the setting. For example, when the “walking mode” used when the user walks is set as the setting of the wristwatch 100, the upper limit threshold value indicating the upper limit value of the actual stride stored in the storage unit 103 is set to 100 cm, The lower limit threshold value indicating the lower limit value of the stride may be set to 50 cm. Further, when “travel mode” used by the user during travel is set as the setting of the wristwatch 100, the upper limit threshold value indicating the upper limit value of the actual stride stored in the storage unit 103 is set to 200 cm. The lower limit threshold value indicating the lower limit value of the stride may be set to 50 cm. The setting of the wristwatch 100 is not limited to the “running mode” or the “walking mode”, but “user age” or “user gender” may be used. Further, the upper limit threshold value indicating the upper limit value of the actual stride stored in the storage unit 103 and the lower limit value of the actual stride length are stored in accordance with the “user age” and “user gender” which are the settings of the wristwatch 100. The lower threshold value shown may be changed. Note that the values of the upper limit threshold and the lower limit threshold are not limited to the above example, and may be any values as long as they can indicate a realistic stride.

電源104は、腕時計100が備える各部に電力を供給する。加速度センサ106は、加速度を検出する。走行検出部105は、加速度センサ106が検出する加速度に基づいて、ユーザの走行ピッチを計測する。例えば、走行検出部105は、走行または歩行に関する体動に基づく加速度(着地に関する情報など)に基づいて、ユーザの走行ピッチを計測する。具体的には、走行検出部105は、加速度センサ106が検出する加速度から走行時または歩行時における体の振動を検出して歩数を計測する。そして、走行検出部105は、計測された走行時間と計測した歩数とに基づいて走行ピッチを計測する。   The power source 104 supplies power to each unit included in the wristwatch 100. The acceleration sensor 106 detects acceleration. The traveling detection unit 105 measures the traveling pitch of the user based on the acceleration detected by the acceleration sensor 106. For example, the travel detection unit 105 measures the travel pitch of the user based on acceleration (information related to landing) based on body movement related to travel or walking. Specifically, the traveling detection unit 105 detects the vibration of the body during traveling or walking from the acceleration detected by the acceleration sensor 106 and measures the number of steps. Then, the traveling detection unit 105 measures the traveling pitch based on the measured traveling time and the measured number of steps.

入力スイッチ107は、外部から操作可能なスイッチにより構成されており、入力を受け付ける入力部である。例えば、入力スイッチ107は、ユーザの実際の走行ピッチと実際の走行の速さとの組の入力を受け付ける。走行の速さとは、歩行する速さまたは走行する速さであり、例えば、走行速度や走行ペースである。また、入力スイッチ107は、ユーザの性別の入力を受け付ける。水晶発振部109は、所定周波数の信号を出力する。分周部108は、水晶発振部109の出力信号を所定分周比で分周して処理部101用の規準クロック信号や計時用の時計信号を出力する。処理部101、分周部108および水晶発振部109が時間を計測する計時部である。計時部は、ユーザの走行時間を計測するストップウォッチ機能や、現在の時刻を計時する時計機能を実現する。   The input switch 107 is configured by a switch that can be operated from the outside, and is an input unit that receives an input. For example, the input switch 107 accepts an input of a set of a user's actual traveling pitch and actual traveling speed. The traveling speed is a walking speed or a traveling speed, for example, a traveling speed or a traveling pace. The input switch 107 accepts an input of the user's gender. The crystal oscillation unit 109 outputs a signal having a predetermined frequency. The frequency divider 108 divides the output signal of the crystal oscillating unit 109 by a predetermined frequency dividing ratio and outputs a reference clock signal for the processing unit 101 and a clock signal for timing. The processing unit 101, the frequency dividing unit 108, and the crystal oscillation unit 109 are time measuring units that measure time. The timekeeping unit implements a stopwatch function that measures the user's travel time and a clock function that measures the current time.

図2は、走行ピッチと走行速度との関係を示すプロットデータである。本図に示す走行ピッチと走行速度とのプロットデータ201により、走行ピッチと走行速度との間には相関が見られることがわかった。例えば、一般的に、人が歩行または走行する場合において、速く走る(または歩く)動作の時は、走行ピッチが高くなり、遅く走る(または歩く)動作の時は、走行ピッチが低くなる、といった傾向がある。このため、所定の関係式を予め用意することで、走行ピッチから走行速度を導き出すことができる。よって、本実施形態による記憶部103は、走行ピッチと走行速度との関係を示す関係データを予め記憶している。   FIG. 2 is plot data showing the relationship between the running pitch and the running speed. From the plot data 201 of the running pitch and the running speed shown in this figure, it was found that there was a correlation between the running pitch and the running speed. For example, in general, when a person is walking or running, the running pitch is high when running fast (or walking), and the running pitch is low when running slowly (or walking). Tend. For this reason, the traveling speed can be derived from the traveling pitch by preparing a predetermined relational expression in advance. Therefore, the storage unit 103 according to the present embodiment stores relation data indicating the relation between the travel pitch and the travel speed in advance.

次に、記憶部103が記憶する、走行ピッチと走行速度との関係を示す関係データについて説明する。図3は、本実施形態における記憶部103が記憶する、走行ピッチと走行速度との関係を示す関係データの一例である。図示するように、記憶部103は、走行ピッチから走行速度を換算するための式(以下、関係式とする。)を、男性と女性それぞれについて記憶している。関係式は、一次式「走行速度V=(傾き)×走行ピッチP−(オフセット)」である。本図において、状態が「工場出荷状態(初期状態)」に対応する関係式は、記憶部103が工場出荷時に記憶している初期状態の関係式である。男性に対応する初期状態の関係式は、傾きがa1でありオフセットがb1である。また、女性に対応する初期状態の関係式は、傾きがa2でありオフセットb2である。 Next, relationship data indicating the relationship between the travel pitch and the travel speed stored in the storage unit 103 will be described. FIG. 3 is an example of relationship data indicating the relationship between the travel pitch and the travel speed stored in the storage unit 103 according to the present embodiment. As shown in the figure, the storage unit 103 stores an expression for converting the traveling speed from the traveling pitch (hereinafter referred to as a relational expression) for each of the male and the female. The relational expression is a linear expression “traveling speed V = (slope) × traveling pitch P− (offset)”. In the drawing, the relational expression corresponding to the state “factory shipment state (initial state)” is the relational expression of the initial state stored in the storage unit 103 at the time of factory shipment. In the relational expression in the initial state corresponding to males, the slope is a 1 and the offset is b 1 . In the relational expression in the initial state corresponding to the female, the inclination is a 2 and the offset is b 2 .

また、状態が「ユーザによるデータ設定後」に対応する関係式は、補正後の関係式である。処理部101は、ユーザの実際の走行ピッチと実際の走行速度との組に基づいて、初期状態の関係式を補正する。図4は、本実施形態における関係式の補正方法を説明するための図である。本図に示すグラフの横軸は走行ピッチであり、縦軸は走行速度である。本図に示す点線301は、初期状態の関係式である。また、本図に示す実線302は、補正後の関係式である。処理部101は、実際の走行ピッチと実際の走行速度との組(実際の走行ピッチ,実際の走行速度)303を通るように、初期状態の関係式301のオフセットを変更する。なお、このとき、処理部101は、初期状態の関係式301の傾きは変更しない。例えば、図3に示す例では、処理部101は、男性に対応する初期状態の関係式のオフセットをb1からユーザ係数bs1に変更して関係式を補正している。また、処理部101は、女性に対応する初期状態の関係式のオフセットをb2からユーザ係数bs2に変更して関係式を補正している。なお、記憶部103に記憶されている補正後の関係式は、入力スイッチ107からマニュアル入力により変更が可能である。 The relational expression corresponding to the state “after data setting by the user” is a corrected relational expression. The processing unit 101 corrects the relational expression in the initial state based on the set of the user's actual traveling pitch and actual traveling speed. FIG. 4 is a diagram for explaining a correction method of the relational expression in the present embodiment. The horizontal axis of the graph shown in this figure is the travel pitch, and the vertical axis is the travel speed. A dotted line 301 shown in the figure is a relational expression in an initial state. In addition, a solid line 302 shown in the drawing is a corrected relational expression. The processing unit 101 changes the offset of the relational expression 301 in the initial state so as to pass through a set (actual travel pitch, actual travel speed) 303 of the actual travel pitch and the actual travel speed. At this time, the processing unit 101 does not change the inclination of the relational expression 301 in the initial state. For example, in the example illustrated in FIG. 3, the processing unit 101 corrects the relational expression by changing the offset of the relational expression in the initial state corresponding to male from b 1 to the user coefficient b s1 . Further, the processing unit 101 corrects the relational expression by changing the offset of the relational expression in the initial state corresponding to the female from b 2 to the user coefficient b s2 . The corrected relational expression stored in the storage unit 103 can be changed by manual input from the input switch 107.

ユーザの実際の走行ピッチと実際の走行速度との組は、ユーザにより入力スイッチ107に入力される。これにより、関係式を補正または生成する際に、ユーザは実際に走行する必要がない。しかしながら、単独では現実的な走行ピッチと、単独では現実的な走行速度の組が入力されたとしても、2つの組み合わせによっては非現実的である場合が考えられる。例えば、速度300m/分は現実的な速度である。また、ピッチ60歩/分も現実的なピッチである。しかしながら、この値に基づいて算出した歩幅は5mとなり、現実的な歩幅ではない。すなわち、入力された速度とピッチとの組み合わせは正確ではない。   A set of the user's actual traveling pitch and actual traveling speed is input to the input switch 107 by the user. This eliminates the need for the user to actually travel when correcting or generating the relational expression. However, even if a pair of a realistic traveling pitch and a realistic traveling speed alone is input, there are cases where the two combinations are unrealistic. For example, a speed of 300 m / min is a realistic speed. Also, a pitch of 60 steps / minute is a realistic pitch. However, the stride calculated based on this value is 5 m, which is not a realistic stride. That is, the combination of the input speed and pitch is not accurate.

非現実的な、ユーザの実際の走行ピッチと実際の走行速度との組が入力された場合、処理部101によって補正された補正後の関係式も非現実的な関係式となる可能性がある。そこで、本実施形態では、処理部101は、入力スイッチ107に入力されたユーザの実際の走行ピッチと実際の走行速度との組は現実的な値か否かを判定し、現実的な場合には入力を受け付けると判定し、それ以外の場合には入力を受け付けないと判定する。そして、処理部101は、入力を受け付けると判定した、ユーザの実際の走行ピッチと実際の走行速度との組を用いて、関係式の補正を行う。   When an unrealistic set of the user's actual traveling pitch and actual traveling speed is input, the corrected relational expression corrected by the processing unit 101 may also be an unrealistic relational expression. . Therefore, in the present embodiment, the processing unit 101 determines whether or not the set of the actual traveling pitch and the actual traveling speed of the user input to the input switch 107 is a realistic value. Is determined to accept input, and otherwise it is determined not to accept input. And the process part 101 correct | amends a relational expression using the group of a user's actual driving | running pitch and the actual driving | running | working speed which determined having received an input.

次に、本実施形態における腕時計100が、関係式を補正する関係式補正処理について説明する。図5は、本実施形態における腕時計100が実行する関係式補正処理の処理手順を示したフローチャートである。腕時計100は、セットアップモード時に、本関係式補正処理を実行する。ユーザは、セットアップモード時に、関係式補正処理に必要なデータを入力スイッチ107に入力する。   Next, a relational expression correction process in which the wristwatch 100 according to the present embodiment corrects a relational expression will be described. FIG. 5 is a flowchart illustrating a processing procedure of the relational expression correction process executed by the wristwatch 100 according to the present embodiment. The wristwatch 100 executes the relational expression correction process in the setup mode. The user inputs data necessary for the relational expression correction process to the input switch 107 in the setup mode.

(ステップS101)処理部101は、性別(男性または女性)を選択可能に表示部102に表示し、性別の選択入力を受け付ける。ユーザは、入力スイッチ107により性別を選択する。その後、ステップS102の処理に進む。
(ステップS102)処理部101は、ユーザの実際の走行ピッチと実際の走行速度との組の入力を受け付ける表示を表示部102に表示する。ユーザは、入力スイッチ107により、実際の走行ピッチと実際の走行速度との組を入力する。その後、ステップS103の処理に進む。
(ステップS103)処理部101は、ステップS102の処理で入力スイッチ107に入力された、実際の走行ピッチと実際の走行速度との組に基づいて、歩幅を算出する。その後、ステップS104の処理に進む。例えば、歩幅は、実際の走行速度(m/分)を実際の走行ピッチ(歩/分)で除算することで算出することができる。
(Step S101) The processing unit 101 displays gender (male or female) on the display unit 102 so as to be selectable, and accepts a gender selection input. The user selects gender using the input switch 107. Thereafter, the process proceeds to step S102.
(Step S102) The processing unit 101 displays on the display unit 102 a display for accepting an input of a set of the user's actual traveling pitch and actual traveling speed. The user inputs a set of an actual travel pitch and an actual travel speed using the input switch 107. Thereafter, the process proceeds to step S103.
(Step S103) The processing unit 101 calculates the stride based on the set of the actual travel pitch and the actual travel speed input to the input switch 107 in the process of step S102. Thereafter, the process proceeds to step S104. For example, the stride can be calculated by dividing the actual travel speed (m / min) by the actual travel pitch (steps / min).

(ステップS104)処理部101は、記憶部103が記憶している歩幅の上限値を示す上限閾値と、歩幅の下限値を示す下限閾値とを読み出す。その後、ステップS105の処理に進む。
(ステップS105)処理部101は、ステップS103の処理で算出した歩幅は、ステップS104の処理で読み出した上限閾値以下かつ下限閾値以上であるか否かを判定する。ステップS103の処理で算出した歩幅は、ステップS104の処理で読み出した上限閾値以下かつ下限閾値以上であると処理部101が判定した場合にはステップS107の処理に進み、それ以外の場合にはステップS106の処理に進む。
(Step S104) The processing unit 101 reads an upper limit threshold value indicating the upper limit value of the stride and a lower limit threshold value indicating the lower limit value of the stride stored in the storage unit 103. Thereafter, the process proceeds to step S105.
(Step S105) The processing unit 101 determines whether or not the stride calculated in the process of step S103 is equal to or less than the upper limit threshold read out in the process of step S104. If the processing unit 101 determines that the stride calculated in the process of step S103 is equal to or less than the upper limit threshold read out in the process of step S104 and equal to or greater than the lower limit threshold, the process proceeds to the process of step S107. The process proceeds to S106.

(ステップS106)処理部101は、ステップS102の処理で入力スイッチ107に入力された実際の走行ピッチと実際の走行速度との組の入力を受け付けない。また、処理部101は、入力されたた実際の走行ピッチと実際の走行速度との組は非現実的な値であり、入力を受け付けないことを示す表示を表示部102に表示させる。その後、ステップS102の処理に戻る。   (Step S106) The processing unit 101 does not accept an input of a set of the actual traveling pitch and the actual traveling speed input to the input switch 107 in the process of Step S102. In addition, the processing unit 101 causes the display unit 102 to display a display indicating that the set of the input actual traveling pitch and actual traveling speed is an unreal value and does not accept the input. Thereafter, the process returns to step S102.

(ステップS107)処理部101は、ステップS102の処理で入力スイッチ107に入力された実際の走行ピッチと実際の走行速度との組の入力を受け付ける。その後、ステップS108の処理に進む。
(ステップS108)処理部101は、ステップS107において入力を受け付けた実際の走行ピッチと実際の走行速度との組を用いて、関係式を補正する。具体的には、まず、処理部101は、ステップS101において入力された性別に対応する初期状態の関係式を記憶部103から読み出す。次に、処理部101は、入力を受け付けた実際の走行ピッチと実際の走行速度との組を通るように、読みだした関係式のオフセットを変更して関係式を補正する。そして、処理部101は、補正した関係式を、補正後の関係式として記憶部103に書き込む。その後、関係式補正処理を終了する。
(Step S107) The processing unit 101 receives an input of a set of an actual traveling pitch and an actual traveling speed input to the input switch 107 in the process of step S102. Thereafter, the process proceeds to step S108.
(Step S <b> 108) The processing unit 101 corrects the relational expression using the set of the actual traveling pitch and the actual traveling speed that have been input in step S <b> 107. Specifically, first, the processing unit 101 reads the initial state relational expression corresponding to the gender input in step S <b> 101 from the storage unit 103. Next, the processing unit 101 corrects the relational expression by changing the offset of the read relational expression so that it passes through the set of the actual traveling pitch and the actual traveling speed that have received the input. Then, the processing unit 101 writes the corrected relational expression in the storage unit 103 as a corrected relational expression. Thereafter, the relational expression correction process is terminated.

次に、本実施形態における腕時計100が、走行ピッチから走行速度を算出する速度算出処理について説明する。図6は、本実施形態における腕時計100が実行する速度算出処理の処理手順を示したフローチャートである。腕時計100は、計測モード時に、本速度算出処理を実行する。   Next, a speed calculation process in which the wristwatch 100 according to the present embodiment calculates a travel speed from the travel pitch will be described. FIG. 6 is a flowchart showing a processing procedure of speed calculation processing executed by the wristwatch 100 according to the present embodiment. The wristwatch 100 executes the speed calculation process in the measurement mode.

(ステップS201)処理部101は、性別(男性または女性)を選択可能に表示部102に表示し、性別の選択入力を受け付ける。ユーザは、入力スイッチ107により性別を選択する。その後、ステップS202の処理に進む。
(ステップS202)処理部101は、入力スイッチ107から計測を開始する指示が入力されたか否かを判定する。計測を開始する指示が入力された場合はステップS203の処理に進み、計測を開始する指示が入力されていない場合はステップS202の処理へ戻る。
(ステップS203)処理部101は、ストップウォッチ機能により走行時間の計測を開始する。その後、ステップS204の処理に進む。
(ステップS204)処理部101は、走行検出部105による歩数の計測を開始する。その後、ステップS205の処理に進む。
(ステップS205)処理部101は、算出タイミングになったか否かを判定する。算出タイミングは、予め設定された、走行に関する情報を算出するタイミングであり、例えば、毎秒である。処理部101は、算出タイミングになった場合は、ステップS206の処理に進む。一方、処理部101は、算出タイミングになっていない場合は、ステップS211の処理に進む。
(Step S201) The processing unit 101 displays a sex (male or female) on the display unit 102 so as to be selectable, and accepts a gender selection input. The user selects gender using the input switch 107. Thereafter, the process proceeds to step S202.
(Step S202) The processing unit 101 determines whether or not an instruction to start measurement is input from the input switch 107. If an instruction to start measurement is input, the process proceeds to step S203. If an instruction to start measurement is not input, the process returns to step S202.
(Step S203) The processing unit 101 starts measuring the travel time by the stopwatch function. Thereafter, the process proceeds to step S204.
(Step S <b> 204) The processing unit 101 starts measuring the number of steps by the travel detection unit 105. Thereafter, the process proceeds to step S205.
(Step S205) The processing unit 101 determines whether or not the calculation timing has come. The calculation timing is a preset timing for calculating information related to traveling, for example, every second. When the calculation timing comes, the processing unit 101 proceeds to the process of step S206. On the other hand, when it is not the calculation timing, the processing unit 101 proceeds to the process of step S211.

(ステップS206)走行検出部105は、計測した歩数を計測した走行時間で除算することにより、走行ピッチを算出する。その後、ステップS207の処理に進む。
(ステップS207)処理部101は、ステップS206において算出した走行ピッチから走行速度を算出する。具体的には、処理部101は、記憶部103から補正後の関係式を読み出し、読み出した関係式に算出した走行ピッチを代入して走行速度を算出する。なお、処理部101は、補正後の関係式が記憶部103に記憶されていない場合は、ステップS101において入力された性別に対応する初期状態の関係式を用いて走行ピッチから走行速度を算出する。その後、ステップS208の処理に進む。
(Step S206) The traveling detection unit 105 calculates a traveling pitch by dividing the measured number of steps by the measured traveling time. Thereafter, the process proceeds to step S207.
(Step S207) The processing unit 101 calculates a traveling speed from the traveling pitch calculated in step S206. Specifically, the processing unit 101 reads the corrected relational expression from the storage unit 103, and calculates the traveling speed by substituting the calculated traveling pitch into the read relational expression. If the corrected relational expression is not stored in the storage unit 103, the processing unit 101 calculates the traveling speed from the traveling pitch using the initial state relational expression corresponding to the gender input in step S101. . Thereafter, the process proceeds to step S208.

(ステップS208)処理部101は、ステップS207において算出した走行速度に、計測した時間を乗算することにより走行距離を算出する。その後、ステップS209の処理に進む。
(ステップS209)処理部101は、ステップS207において算出した走行速度の逆数を取ることにより、走行ペースを算出する。その後、ステップS210の処理に進む。
(ステップS210)処理部101は、走行に関する情報を表示部102に表示する。走行に関する情報とは、計測した歩数、計測した走行時間、走行ピッチ、走行速度、走行距離および走行ペースである。その後、ステップS211の処理に進む。
(ステップS211)処理部101は、入力スイッチ107から計測を終了する指示が入力されたか否かを判定する。処理部101は、計測を終了する指示が入力された場合は、ストップウォッチの計測及び歩数の計測を終了し、速度算出処理を終了する。一方、処理部101は、計測を終了する指示が入力されていない場合は、ステップS205の処理へ戻る。
(Step S208) The processing unit 101 calculates a travel distance by multiplying the travel speed calculated in Step S207 by the measured time. Thereafter, the process proceeds to step S209.
(Step S209) The processing unit 101 calculates a travel pace by taking the reciprocal of the travel speed calculated in step S207. Thereafter, the process proceeds to step S210.
(Step S <b> 210) The processing unit 101 displays information related to traveling on the display unit 102. The information related to travel is the measured number of steps, the measured travel time, the travel pitch, the travel speed, the travel distance, and the travel pace. Thereafter, the process proceeds to step S211.
(Step S211) The processing unit 101 determines whether or not an instruction to end measurement is input from the input switch 107. When an instruction to end the measurement is input, the processing unit 101 ends the stopwatch measurement and the step count measurement, and ends the speed calculation process. On the other hand, when the instruction to end the measurement is not input, the processing unit 101 returns to the process of step S205.

上述したとおり、本実施形態では、記憶部103は、現実的な歩幅の上限閾値と下限閾値とを記憶している、そして、処理部101は、入力スイッチ107に入力された実際の走行ピッチと実際の走行速度との組に基づいて歩幅を算出し、この歩幅が上限閾値以下かつ下限閾値以上である場合には、実際の走行ピッチと実際の走行速度との組の入力を受け付け、それ以外の場合には入力を受け付けない。これにより、現実的な値の入力のみを受け付けることができる。   As described above, in the present embodiment, the storage unit 103 stores the upper limit threshold and the lower limit threshold of the actual stride, and the processing unit 101 uses the actual running pitch input to the input switch 107 and The stride is calculated based on the set with the actual travel speed. If this stride is less than or equal to the upper limit threshold and greater than or equal to the lower limit threshold, the input of the set of the actual travel pitch and the actual travel speed is accepted. In the case of, input is not accepted. Thereby, only the input of a realistic value can be accepted.

また、本実施形態では、記憶部103が、走行ピッチと走行速度との関係を示す関係データを予め記憶している。そして、処理部101は、記憶部103が記憶している関係データに基づいて、走行検出部105が計測した走行ピッチから走行速度を算出する。これにより、固定値である歩幅を用いず、計測した走行ピッチをもとに走行速度を直接算出可能であるため、走行状況(または歩行状況)に高度に応じた処理ができ、誤差の少ない走行速度を算出することができる。   Moreover, in this embodiment, the memory | storage part 103 has memorize | stored beforehand the relationship data which show the relationship between a driving pitch and driving speed. Then, the processing unit 101 calculates a travel speed from the travel pitch measured by the travel detection unit 105 based on the relational data stored in the storage unit 103. As a result, it is possible to directly calculate the running speed based on the measured running pitch without using the fixed stride, so it is possible to perform processing according to the altitude according to the running situation (or walking situation) and run with less error. The speed can be calculated.

また、処理部101は、処理部101が入力を受け付けた、実際の走行ピッチと実際の走行速度との組に基づいて、記憶部103が記憶する関係式を補正する。これにより、現実的な値に基づいて関係式を補正することができる。また、ユーザに合った走行ピッチと走行速度の関係が設定され、設定された関係に基づき走行ピッチから走行速度を求めるため、走行ピッチの変動による歩幅の変化を吸収し、より正確な走行速度を算出することが可能となる。これにより、より正確な走行距離や走行ペースの算出も可能となる。   Further, the processing unit 101 corrects the relational expression stored in the storage unit 103 based on the set of the actual traveling pitch and the actual traveling speed that the processing unit 101 has received the input. Thereby, the relational expression can be corrected based on a realistic value. In addition, the relationship between the travel pitch and the travel speed suitable for the user is set, and the travel speed is obtained from the travel pitch based on the set relationship. It is possible to calculate. This makes it possible to calculate a more accurate travel distance and travel pace.

(第2の実施形態)
次に、本発明の第2の実施形態について、図面を参照しながら説明する。本実施形態における腕時計100は、第1の実施形態における腕時計100と同様の構成である。本実施形態と第1の実施形態とで異なる点は、処理部101(生成部)が、複数の実際の走行ピッチと実際の走行速度との組から、関係式を生成する点である。処理部101は、生成した関係式を用いて、走行検出部105が計測した走行ピッチから走行速度を算出する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to the drawings. The wristwatch 100 in the present embodiment has the same configuration as the wristwatch 100 in the first embodiment. The difference between the present embodiment and the first embodiment is that the processing unit 101 (generating unit) generates a relational expression from a set of a plurality of actual traveling pitches and actual traveling speeds. The processing unit 101 calculates a traveling speed from the traveling pitch measured by the traveling detection unit 105 using the generated relational expression.

図7は、本実施形態における記憶部103が記憶する、走行ピッチと走行速度との関係を示す関係データの一例である。図示するように、記憶部103は、走行ピッチから走行速度を換算するための一次式を記憶している。本実施形態における、状態が「工場出荷状態(初期状態)」に対応する初期状態の関係式は、第1の実施形態と同様である。また、状態が「ユーザによるデータ設定後」に対応する関係式は、処理部101が複数の実際の走行ピッチと実際の走行速度との組から生成した関係式である。   FIG. 7 is an example of relationship data indicating the relationship between the travel pitch and the travel speed, which is stored in the storage unit 103 according to the present embodiment. As shown in the figure, the storage unit 103 stores a linear expression for converting the traveling speed from the traveling pitch. In this embodiment, the relational expression of the initial state corresponding to the “factory shipment state (initial state)” is the same as that of the first embodiment. Further, the relational expression corresponding to the state “after data setting by the user” is a relational expression generated by the processing unit 101 from a set of a plurality of actual traveling pitches and actual traveling speeds.

図8は、本実施形態における関係式の生成方法を説明するための図である。本図に示すグラフの横軸は走行ピッチであり、縦軸は走行速度である。本図に示す実線702は、生成後の関係式である。処理部101は、複数の実際の走行ピッチと実際の走行速度との組(実際の走行ピッチ,実際の走行速度)701a〜cから最小二乗法により近似直線(一次式)を求め、求めた一次式を生成後の関係式とする。なお、701a〜cから最小二乗法で傾きを求め、701bの通常走行の組を通るようにオフセットを求めるようにしてもよい。本図に示す例では、処理部101は、速く走行したときの走行ピッチと走行速度との組701aと、通常走行したときの走行ピッチと走行速度との組701bと、遅く走行したときの走行ピッチと走行速度との組701cとの3点に基づいて、関係式を生成している。例えば、図7に示す例では、処理部101は、傾きがユーザ係数asでありオフセットがユーザ係数bsである一次式「走行速度V=as×走行ピッチP−bs」を生成している。なお、記憶部103に記憶されている生成後の関係式は、入力スイッチ107からマニュアル入力により変更が可能である。 FIG. 8 is a diagram for explaining a relational expression generation method in the present embodiment. The horizontal axis of the graph shown in this figure is the travel pitch, and the vertical axis is the travel speed. A solid line 702 shown in the figure is a relational expression after generation. The processing unit 101 obtains an approximate straight line (primary expression) from a set of a plurality of actual travel pitches and actual travel speeds (actual travel pitch, actual travel speed) 701a to 701c by the least square method, and obtains the obtained primary Let the expression be the relational expression after generation. It should be noted that the slope may be obtained from the 701a to 701c by the least square method, and the offset may be obtained so as to pass through the normal traveling group 701b. In the example shown in this figure, the processing unit 101 includes a set 701a of travel pitch and travel speed when traveling fast, a pair 701b of travel pitch and travel speed when traveling normally, and travel when traveling slowly. A relational expression is generated based on three points of the set 701c of pitch and traveling speed. For example, in the example illustrated in FIG. 7, the processing unit 101 generates a linear expression “traveling speed V = a s × traveling pitch P−b s ” in which the slope is the user coefficient a s and the offset is the user coefficient b s. ing. The relational expression after generation stored in the storage unit 103 can be changed by manual input from the input switch 107.

ユーザの実際の走行ピッチと実際の走行速度との複数の組は、ユーザにより入力スイッチ107に入力される。これにより、関係式を補正または生成する際に、ユーザは実際に走行する必要がない。しかしながら、第1の実施形態と同様、単独では現実的な走行ピッチと、単独では現実的な走行速度の組が入力されたとしても、2つの組み合わせによっては非現実的である場合が考えられる。   A plurality of sets of the user's actual traveling pitch and actual traveling speed are input to the input switch 107 by the user. This eliminates the need for the user to actually travel when correcting or generating the relational expression. However, as in the first embodiment, even if a pair of a realistic traveling pitch alone and a realistic traveling speed alone is input, there may be cases where the two combinations are unrealistic.

非現実的な、ユーザの実際の走行ピッチと実際の走行速度との組が入力された場合、処理部101によって補正された補正後の関係式も非現実的な関係式となる可能性がある。そこで、本実施形態においても、第1の実施形態と同様、処理部101は、入力スイッチ107に入力されたユーザの実際の走行ピッチと実際の走行速度との組は現実的な値か否かを判定し、現実的な場合には入力を受け付けると判定し、それ以外の場合には入力を受け付けないと判定する。そして、処理部101は、入力を受け付けると判定した、ユーザの実際の走行ピッチと実際の走行速度との複数の組を用いて、関係式の補正を行う。   When an unrealistic set of the user's actual traveling pitch and actual traveling speed is input, the corrected relational expression corrected by the processing unit 101 may also be an unrealistic relational expression. . Therefore, in this embodiment as well, as in the first embodiment, the processing unit 101 determines whether the set of the user's actual traveling pitch and actual traveling speed input to the input switch 107 is a realistic value. If it is realistic, it is determined that the input is accepted. In other cases, it is determined that the input is not accepted. And the process part 101 correct | amends a relational expression using the several group of a user's actual driving | running pitch and actual driving | running speed which it determined with accepting an input.

次に、本実施形態における腕時計100が、関係式を生成する関係式生成処理について説明する。図9は、本実施形態における腕時計100が実行する関係式生成処理の処理手順を示したフローチャートである。腕時計100は、セットアップモード時に、本関係式生成処理を実行する。ユーザは、セットアップモード時に、関係式補正処理に必要なデータを入力スイッチ107に入力する。   Next, a relational expression generation process in which the wristwatch 100 according to the present embodiment generates a relational expression will be described. FIG. 9 is a flowchart showing the processing procedure of the relational expression generation processing executed by the wristwatch 100 according to this embodiment. The wristwatch 100 executes the relational expression generation process in the setup mode. The user inputs data necessary for the relational expression correction process to the input switch 107 in the setup mode.

ステップS301〜S306までの処理は、上述したステップS102〜S107までの処理と同様であるため、説明を省略する。
(ステップS307)処理部101は、ステップS306に続いて、ステップS301〜S306までの処理により、走行ピッチと走行速度との入力を所定回数α(ただし、αは2以上の整数。)受け付けたか否かを判定する。所定回数α入力を受け付けた場合はステップS308の処理に進み、所定回数α入力を受け付けていない場合はステップS301の処理へ戻る。
(ステップS308)処理部101は、ステップS301〜S306までの処理を所定回数α繰り返すことにより入力を受け付けた、α個の走行ピッチと走行速度との組から関係式を生成する。具体的には、処理部101は、入力を受け付けたα個の走行ピッチと走行速度との組を用いて、最小二乗法により走行ピッチから走行速度を換算する一次式を生成する。そして、処理部101は、生成した一次式を生成後の関係式として記憶部103に書き込む。その後、関係式生成処理を終了する。
Since the processing from step S301 to S306 is the same as the processing from step S102 to S107 described above, description thereof is omitted.
(Step S307) After step S306, the processing unit 101 has received a predetermined number of times α (where α is an integer equal to or greater than 2) by the processes from step S301 to step S306. Determine whether. If the predetermined number of α inputs have been received, the process proceeds to step S308. If the predetermined number of α inputs have not been received, the process returns to step S301.
(Step S308) The processing unit 101 generates a relational expression from a set of α traveling pitches and traveling speeds, which has received an input by repeating the processes of steps S301 to S306 a predetermined number of times. Specifically, the processing unit 101 generates a linear expression for converting the traveling speed from the traveling pitch by the least square method using the set of α traveling pitches and traveling speeds that have received the input. Then, the processing unit 101 writes the generated primary expression in the storage unit 103 as a relational expression after generation. Thereafter, the relational expression generation process ends.

本実施形態における、走行ピッチから走行速度を求める速度算出処理は、第1の実施形態と同様である。   The speed calculation process for determining the travel speed from the travel pitch in the present embodiment is the same as in the first embodiment.

上述したとおり、本実施形態では、処理部101は、複数の実際の走行ピッチと実際の走行速度との組に基づいて、走行ピッチと走行速度との関係を示す関係式を生成する。これにより、ユーザに合った走行ピッチと走行速度との関係が設定され、設定された関係に基づき走行ピッチから走行速度を求めるため、走行ピッチの変動による歩幅の変化を吸収し、より正確な走行速度を算出することが可能となる。これにより、より正確な走行距離や走行ペースの算出も可能となる。   As described above, in the present embodiment, the processing unit 101 generates a relational expression indicating a relationship between the travel pitch and the travel speed based on a set of a plurality of actual travel pitches and actual travel speeds. As a result, the relationship between the travel pitch and the travel speed suitable for the user is set, and the travel speed is obtained from the travel pitch based on the set relationship. The speed can be calculated. This makes it possible to calculate a more accurate travel distance and travel pace.

なお、上述した第1の実施形態および第2の実施形態における腕時計100が備える各部の機能全体あるいはその一部は、これらの機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   It should be noted that all or some of the functions of the units included in the wristwatch 100 according to the first embodiment and the second embodiment described above are recorded on a computer-readable recording medium with a program for realizing these functions. The program recorded on the recording medium may be read by a computer system and executed. Here, the “computer system” includes an OS and hardware such as peripheral devices.

また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶部のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。   The “computer-readable recording medium” refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, and a CD-ROM, and a storage unit such as a hard disk built in the computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory inside a computer system serving as a server or a client in that case may be included and a program that holds a program for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、本発明の実施形態について説明したが、本発明は、上記実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

例えば、上述した実施形態では、走行ピッチと走行速度との関係を示す関係式を一次式としたが、これに限らない。例えば、走行ピッチと走行速度との関係を示す関係式は、二次式や三次式等であってもよい。
また、上述した実施形態では、記憶部103は、走行ピッチと走行速度との関係を示す関係式を記憶しているが、これに限らず。例えば、関係データとして、走行ピッチと走行速度との関係を示すテーブルデータを記憶してもよい。
For example, in the above-described embodiment, the relational expression indicating the relation between the traveling pitch and the traveling speed is the primary expression, but the present invention is not limited to this. For example, the relational expression indicating the relation between the traveling pitch and the traveling speed may be a quadratic expression or a cubic expression.
In the above-described embodiment, the storage unit 103 stores a relational expression indicating the relationship between the travel pitch and the travel speed, but is not limited thereto. For example, table data indicating the relationship between the travel pitch and the travel speed may be stored as the relationship data.

また、上述した実施形態では、走行検出部105は、走行時間と計測した歩数とに基づいて走行ピッチを算出しているが、これに限らず、加速度センサ106が検出する加速度に基づく着地に関する情報(走行(または歩行)信号に関する情報)を用いて走行ピッチを算出すればよい。例えば、走行検出部105は、一歩一歩のインターバル(時間間隔)を測ることにより、走行ピッチを算出してもよい。
また、上述した実施形態では、処理部101は、計測した走行ピッチから走行速度を算出しているが、これに限らず、走行速度に代えて走行ペースを走行ピッチから算出してもよい。
また、上述した実施形態では、電子機器として腕時計100を例に説明したが、例えば、歩数計や携帯電話機、スマートフォン等、ユーザが携帯できるものであれば他の電子機器であってもよい。
In the above-described embodiment, the travel detection unit 105 calculates the travel pitch based on the travel time and the measured number of steps. However, the present invention is not limited to this, and information related to landing based on the acceleration detected by the acceleration sensor 106. The travel pitch may be calculated using (information on the travel (or walking) signal). For example, the traveling detection unit 105 may calculate the traveling pitch by measuring an interval (time interval) step by step.
In the embodiment described above, the processing unit 101 calculates the travel speed from the measured travel pitch. However, the present invention is not limited thereto, and the travel pace may be calculated from the travel pitch instead of the travel speed.
In the above-described embodiment, the wristwatch 100 is described as an example of the electronic device. However, other electronic devices may be used as long as the user can carry them, such as a pedometer, a mobile phone, and a smartphone.

100・・・腕時計、101・・・処理部、102・・・表示部、103・・・記憶部、104・・・電源、105・・・走行検出部、106・・・加速度センサ、107・・・入力スイッチ、108・・・分周部、109・・・水晶発振部   DESCRIPTION OF SYMBOLS 100 ... Wristwatch 101 ... Processing part 102 ... Display part 103 ... Memory | storage part 104 ... Power supply 105 ... Traveling detection part 106 ... Accelerometer 107 ..Input switches, 108 ... frequency divider, 109 ... crystal oscillator

Claims (8)

所定時間あたりの歩数である走行ピッチと走行する速度または歩行する速度である走行速度との組が入力される入力部と、
前記入力部に入力された前記走行ピッチと前記走行速度との組に基づいて歩幅を算出する算出部と、
歩幅の上限値を示す上限閾値と歩幅の下限値を示す下限閾値とを記憶する記憶部と、
前記算出部が算出した前記歩幅と、前記記憶部が記憶する前記上限閾値と前記下限閾値とに基づいて、前記入力部に入力された前記走行ピッチと前記走行速度との組の入力を受け付けるか否かを判定する判定部と、
を備えることを特徴とする電子機器。
An input unit for inputting a set of a running pitch that is the number of steps per predetermined time and a running speed that is a running speed or a walking speed;
A calculation unit that calculates a stride based on a set of the traveling pitch and the traveling speed input to the input unit;
A storage unit for storing an upper limit threshold value indicating an upper limit value of the stride and a lower limit threshold value indicating a lower limit value of the stride;
Whether to accept an input of a set of the traveling pitch and the traveling speed input to the input unit based on the stride calculated by the calculating unit, and the upper limit threshold and the lower limit threshold stored in the storage unit A determination unit for determining whether or not,
An electronic device comprising:
前記走行ピッチと前記走行速度との関係を示す関係データを記憶する関係データ記憶部と、
前記判定部が入力を受け付けると判定した前記走行ピッチと前記走行速度との組に基づいて、前記記憶部に記憶されている前記関係データを補正する補正部と、
前記関係データ記憶部に記憶された前記関係データに基づいて、計測されたユーザの走行ピッチから前記ユーザの走行速度を算出する速度算出部と、
を備えることを特徴とする請求項1に記載の電子機器。
A relational data storage unit for storing relational data indicating a relation between the traveling pitch and the traveling speed;
A correction unit that corrects the relationship data stored in the storage unit based on a set of the traveling pitch and the traveling speed that the determination unit determines to accept input;
Based on the relation data stored in the relation data storage unit, a speed calculation unit that calculates the user's travel speed from the measured user's travel pitch;
The electronic apparatus according to claim 1, further comprising:
前記判定部が入力を受け付けると判定した前記走行ピッチと前記走行速度との複数の組に基づいて、走行ピッチと走行速度との関係を示す関係データを生成する生成部と、
前記生成部が生成した前記関係データを記憶する関係データ記憶部と、
前記関係データ記憶部に記憶された前記関係データに基づいて、計測されたユーザの走行ピッチから前記ユーザの走行速度を算出する速度算出部と、
を備えることを特徴とする請求項1に記載の電子機器。
Based on a plurality of sets of the traveling pitch and the traveling speed determined to be received by the determination unit, a generating unit that generates relational data indicating a relationship between the traveling pitch and the traveling speed;
A relational data storage unit for storing the relational data generated by the generation unit;
Based on the relation data stored in the relation data storage unit, a speed calculation unit that calculates the user's travel speed from the measured user's travel pitch;
The electronic apparatus according to claim 1, further comprising:
前記速度算出部が算出した走行速度に基づいて、前記ユーザが走行した距離または歩行した距離である走行距離を算出する走行距離算出部
を備えることを特徴とする請求項1から3いずれか1項に記載の電子機器。
The travel distance calculation part which calculates the travel distance which is the distance which the said user traveled or the distance which walked based on the travel speed which the said speed calculation part calculated is provided. The electronic device as described in.
前記速度算出部が算出した走行速度に基づいて、前記ユーザの歩行するペースまたは走行するペースである走行ペースを算出するペース算出部
を備えることを特徴とする請求項1から4いずれか1項に記載の電子機器。
5. The apparatus according to claim 1, further comprising: a pace calculation unit that calculates a travel pace that is a pace at which the user walks or travels based on the travel speed calculated by the speed calculation unit. The electronic device described.
前記記憶部は、走行ピッチと走行速度との関係を示すテーブルデータを記憶する
ことを特徴とする請求項1から5いずれか1項に記載の電子機器。
The electronic device according to claim 1, wherein the storage unit stores table data indicating a relationship between a travel pitch and a travel speed.
前記速度算出部は、前記ユーザの走行速度に代えて、前記ユーザの歩行するペースまたは走行するペースである走行ペースを算出する
ことを特徴とする請求項1から6いずれか1項に記載の電子機器。
The electronic device according to any one of claims 1 to 6, wherein the speed calculation unit calculates a travel pace that is a pace at which the user walks or travels instead of the travel speed of the user. machine.
コンピュータに、
入力された、所定時間あたりの歩数である走行ピッチと走行する速度または歩行する速度である走行速度との組に基づいて歩幅を算出する算出ステップと、
前記算出ステップで算出した前記歩幅と、記憶部が記憶する歩幅の上限値を示す上限閾値と歩幅の下限値を示す下限閾値とに基づいて、前記入力された前記走行ピッチと前記走行速度との組の入力を受け付けるか否かを判定する判定ステップと、
を実行させるためのプログラム。
On the computer,
A calculation step for calculating a stride based on a set of the input travel pitch that is the number of steps per predetermined time and the travel speed that is the traveling speed or the walking speed;
Based on the stride calculated in the calculating step, an upper limit threshold indicating the upper limit of the stride stored in the storage unit, and a lower limit threshold indicating the lower limit of the stride, the input travel pitch and the travel speed A determination step of determining whether or not to accept a pair of inputs;
A program for running
JP2013046800A 2013-03-08 2013-03-08 Electronic apparatus and program Pending JP2014174736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013046800A JP2014174736A (en) 2013-03-08 2013-03-08 Electronic apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013046800A JP2014174736A (en) 2013-03-08 2013-03-08 Electronic apparatus and program

Publications (1)

Publication Number Publication Date
JP2014174736A true JP2014174736A (en) 2014-09-22

Family

ID=51695904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013046800A Pending JP2014174736A (en) 2013-03-08 2013-03-08 Electronic apparatus and program

Country Status (1)

Country Link
JP (1) JP2014174736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019084113A (en) * 2017-11-08 2019-06-06 カシオ計算機株式会社 Travel data expression method, travel data display device and travel data display program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019084113A (en) * 2017-11-08 2019-06-06 カシオ計算機株式会社 Travel data expression method, travel data display device and travel data display program
JP7031234B2 (en) 2017-11-08 2022-03-08 カシオ計算機株式会社 Driving data display method, driving data display device and driving data display program

Similar Documents

Publication Publication Date Title
JP6347097B2 (en) Portable device and heartbeat arrival time measurement control method
JP6361880B2 (en) Electronic equipment and programs
JP2016116743A (en) Exercise support device, exercise support method, and program
JP2012185809A (en) Electronic apparatus, sampling cycle determination method, and sampling cycle determination program
JP2004118410A (en) Pedometer with walking distance converting function
JP2014174736A (en) Electronic apparatus and program
JP6308804B2 (en) Electronic equipment and programs
JP6238621B2 (en) Electronic equipment and programs
JP2000315121A (en) Rtc circuit
JP2005063288A (en) Step number measuring device, step number measuring method and program
JP2016014605A (en) Electronic equipment and program
JPWO2014122903A1 (en) Electronics
JP4939963B2 (en) Pedometer
US20160308667A1 (en) Method and device for transmitting data on asynchronous paths between domains with different clock frequencies
JP2012168818A (en) Electronic device, pedometer and program
JP6270460B2 (en) Electronic device, electronic device control method, electronic device control program
JP2013132420A (en) Electronic device, wristwatch and program
JP2012137853A (en) Electronic device, pedometer and program
US10066938B2 (en) Altimeter, electronic timepiece, and program
JP6755667B2 (en) Altimeters, electronic clocks and programs
JP6176303B2 (en) Altitude acquisition device, altitude acquisition method, and program
JP6271553B2 (en) Electronics
JP6628967B2 (en) Electronic clock and program
JP2013040865A (en) Electronic apparatus, stopwatch, and program
JP2014240792A (en) Electronic apparatus and program