JP2012168818A - Electronic device, pedometer and program - Google Patents

Electronic device, pedometer and program Download PDF

Info

Publication number
JP2012168818A
JP2012168818A JP2011030255A JP2011030255A JP2012168818A JP 2012168818 A JP2012168818 A JP 2012168818A JP 2011030255 A JP2011030255 A JP 2011030255A JP 2011030255 A JP2011030255 A JP 2011030255A JP 2012168818 A JP2012168818 A JP 2012168818A
Authority
JP
Japan
Prior art keywords
walking
steps
unit
altitude
course
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.)
Withdrawn
Application number
JP2011030255A
Other languages
Japanese (ja)
Inventor
Eriko Noguchi
江利子 野口
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 JP2011030255A priority Critical patent/JP2012168818A/en
Publication of JP2012168818A publication Critical patent/JP2012168818A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Distances Traversed On The Ground (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow a user to feel a course of a pedometer etc.SOLUTION: A walking detecting section 1070 detects walking. An ascending/descending determining section 1072 determines whether the walking detected by the walking detecting section 1070 is accompanied by a height change or not. A step counting section 1073 counts walking steps accompanied by the height change based on the determined result of the ascending/descending determining section 1072.

Description

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

歩数計には、予め入力されたデータから出発地と目的地によって決定されるコースを選択し、歩数、及び歩幅から算出される歩行距離に基づいて、コースの距離に対する現在までの歩行の度合いをグラフ表示するものが知られている(特許文献1)。また、コースの高度変化の情報である高度変化係数のデータを保持し、高度変化計数に基づいて歩行コース上の歩行距離を補正して表示する歩行シミュレーション装置が開示されている(特許文献2)。   For the pedometer, the course determined by the starting point and the destination is selected from the pre-input data, and the degree of walking up to the present with respect to the course distance is calculated based on the walking distance calculated from the number of steps and the step length. What displays a graph is known (patent document 1). Also, a walking simulation device is disclosed that retains altitude change coefficient data, which is information on altitude change of a course, and corrects and displays the walking distance on the walking course based on the altitude change count (Patent Document 2). .

特開平07−139964号公報Japanese Patent Application Laid-Open No. 07-139964 特開2009−204568号公報JP 2009-204568 A

しかしながら、特許文献1、及び2に記載の技術では、例えば、歩数計等のコースが登山コースであるにもかかわらず、実際には平坦な道を歩行してもコース上を進んでしまう。つまり、従来技術では、ユーザに歩数計等でのコースを体感させることができない場合があるという問題があった。   However, in the techniques described in Patent Documents 1 and 2, for example, although the course such as a pedometer is a mountain climbing course, it actually travels on the course even when walking on a flat road. In other words, the conventional technique has a problem that the user may not be able to experience the course with a pedometer or the like.

本発明は上記の点に鑑みてなされたものであり、ユーザに歩数計等でのコースを体感させることができる電子機器、歩数計、及びプログラムを提供する。   The present invention has been made in view of the above points, and provides an electronic device, a pedometer, and a program that allow a user to experience a course with a pedometer or the like.

(1)本発明は、上記の課題を解決するためになされたものであり、本発明の一様態は、歩行を検出する歩行検出部と、前記歩行検出部が検出した歩行が、高度変化を伴うものであるか否かを判定する昇降判定部と、前記昇降判定部の判定結果に基づいて、高度変化を伴う歩行の歩数を計数する歩数計数部と、を備えることを特徴とする電子機器である。   (1) The present invention has been made to solve the above problems, and one aspect of the present invention is that a walking detection unit that detects walking and a walking detected by the walking detection unit change altitude. An electronic device comprising: an elevating determination unit that determines whether or not it is accompanied; and a step counting unit that counts the number of steps of walking accompanied by an altitude change based on a determination result of the elevating determination unit It is.

(2)また、本発明の一様態は、上記の電子機器において、前記歩数計数部は、前記昇降判定部が高度変化を伴わない歩行と判定した場合に、当該歩行を、高度変化を伴わない歩行の歩数として計数することを特徴とする。   (2) Further, according to one aspect of the present invention, in the electronic device described above, when the step counting unit determines that the ascending / descending determination unit is walking without altitude change, the walking is not accompanied by altitude change. It is characterized by counting as the number of steps taken.

(3)また、本発明の一様態は、上記の電子機器において、前記昇降判定部は、高度変化が予め定めた閾値より大きいときは、高度変化を伴う歩行であると判定することを特徴とする。   (3) Further, according to one aspect of the present invention, in the electronic device described above, when the elevation change is greater than a predetermined threshold, the elevation determination unit determines that the walking is accompanied by a change in altitude. To do.

(4)また、本発明の一様態は、上記の電子機器において、前記昇降判定部は、上りの歩行であるか、下りの歩行であるかを判定し、前記歩数計数部は、前記昇降判定部が上りの歩行であると判定した場合には、当該歩行を上りの歩行として、前記昇降判定部が下りの歩行であると判定した場合には、当該歩行を下りの歩行として、歩数を計数することを特徴とする。   (4) Further, according to one aspect of the present invention, in the electronic device described above, the ascent / descent determination unit determines whether the walking is ascending or descending, and the step counting unit is configured as the ascending / descending determination. When it is determined that the part is an ascending walk, the number of steps is counted when the walking is determined as an ascending walk and when the ascending / descending determination unit is determined as a descending walk. It is characterized by doing.

(5)また、本発明の一様態は、上記の電子機器において、前記歩数計数部が計数した上りの歩行の歩数、下りの歩行の歩数をそれぞれ別に表示する表示部を備えることを特徴とする。   (5) Further, according to one aspect of the present invention, in the above electronic device, the electronic device includes a display unit that separately displays the number of steps taken by the step counting unit and the number of steps taken by the descending walk. .

(6)また、本発明の一様態は、上記の電子機器において、前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが等しいときには、当該歩行によって、歩数を計数することを特徴とする。   (6) Further, according to one aspect of the present invention, in the electronic device described above, when the step count unit has a predetermined altitude change on the course and an altitude change during walking detected by the walk detecting unit, The number of steps is counted by the walking.

(7)また、本発明の一様態は、上記の電子機器において、前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが異なるときには、当該歩行を未加算歩行として、この歩行による歩数を計数した歩数に加えないことを特徴とする。   (7) According to one aspect of the present invention, in the electronic device described above, when the step count counting unit is different from a predetermined altitude change on the course and an altitude change during walking detected by the walking detection unit. The walking is regarded as an unadded walking and is not added to the counted number of steps.

(8)また、本発明の一様態は、上記の電子機器において、前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが等しいときに、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが異なるときに歩数に加えなかった前記未加算歩行による歩数を、歩数に加えることを特徴とする。   (8) Further, according to one aspect of the present invention, in the electronic device described above, when the step count counting unit has a predetermined altitude change on the course and an altitude change detected during walking detected by the walking detection unit. In addition, the number of steps due to the non-additional walk that is not added to the number of steps when the height change on the predetermined course is different from the height change during walking detected by the walking detector is added to the number of steps. .

(9)また、本発明の一様態は、上記の電子機器を備える歩数計である。   (9) One embodiment of the present invention is a pedometer including the electronic device.

(10)また、本発明の一様態は、電子機器のコンピュータに、歩行検出部が検出した歩行が、高度変化を伴うものであるか否かを判定する昇降判定手順、前記昇降判定手順の判定結果に基づいて、高度変化を伴う歩行の歩数を計数する歩数計数手順、を実行させるためのプログラムである。   (10) Further, according to one aspect of the present invention, there is provided an elevating determination procedure for determining whether or not the walking detected by the gait detecting unit is accompanied by a change in altitude in a computer of an electronic device, and the determination of the elevating determination procedure. This is a program for executing a step counting procedure for counting the number of steps taken with altitude changes based on the result.

本発明によれば、ユーザに歩数計等でのコースを体感させることができる。   According to the present invention, the user can experience a course with a pedometer or the like.

本発明の第1の実施形態に係る歩数計の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the pedometer which concerns on the 1st Embodiment of this invention. 本実施形態に係る歩数計におけるRAMに記憶されるデータの一例を示した図である。It is the figure which showed an example of the data memorize | stored in RAM in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における表示の一例を示した図である。It is the figure which showed an example of the display in the pedometer which concerns on this embodiment. 本発明の第2の実施形態に係る歩数計の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the pedometer which concerns on the 2nd Embodiment of this invention. 本実施形態に係るコースデータの一例を示す概略図である。It is the schematic which shows an example of the course data which concern on this embodiment. 本実施形態に係る歩数計における動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における表示の一例を示した図である。It is the figure which showed an example of the display in the pedometer which concerns on this embodiment. 本発明の第3の実施形態に係る歩数計の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the pedometer which concerns on the 3rd Embodiment of this invention. 本実施形態に係る歩数計におけるRAMに記憶されるデータの一例を示した図である。It is the figure which showed an example of the data memorize | stored in RAM in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における別の動作の一例を示したフローチャートである。It is the flowchart which showed an example of another operation | movement in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における表示の一例を示した図である。It is the figure which showed an example of the display in the pedometer which concerns on this embodiment. 本実施形態に係る歩数計における歩行コースと表示とメモリで記憶する未加算歩数の関係を示す概略図である。It is the schematic which shows the relationship between the walk course in the pedometer which concerns on this embodiment, a display, and the number of unadded steps memorize | stored in memory.

(第1の実施形態)
以下、図面を参照しながら本発明の第1の実施形態について詳しく説明する。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1の実施形態に係る歩数計1(電子機器)の構成を示す概略ブロック図である。図示する例では、歩数計1は、加速度センサー101、A/D変換部102、圧力センサー103、A/D変換部104、ランダムアクセスメモリ(RAM)105、読み出し専用メモリ(ROM)106、CPU(Central Processing Unit、中央演算装置)107、表示部108、時刻計測部109、入力部110、発振回路111、分周回路112、及び電池113を含んで構成される。CPU107は、歩行検出部1070、高度算出部1071、昇降判定部1072、歩数計数部1073、総消費カロリー算出部1074、歩行距離算出部1075を含んで構成される。   FIG. 1 is a schematic block diagram showing the configuration of a pedometer 1 (electronic device) according to the first embodiment of the present invention. In the illustrated example, the pedometer 1 includes an acceleration sensor 101, an A / D conversion unit 102, a pressure sensor 103, an A / D conversion unit 104, a random access memory (RAM) 105, a read only memory (ROM) 106, a CPU ( A central processing unit (Central Processing Unit) 107, a display unit 108, a time measurement unit 109, an input unit 110, an oscillation circuit 111, a frequency dividing circuit 112, and a battery 113. The CPU 107 includes a walking detection unit 1070, an altitude calculation unit 1071, an elevation determination unit 1072, a step count counting unit 1073, a total calorie consumption calculation unit 1074, and a walking distance calculation unit 1075.

加速度センサー101は、直交座標系のX成分、Y成分、Z成分について、歩数計1の加速度を検出する。加速度センサー101は、検出した各成分の加速度を示す電圧信号を生成し、生成した電圧信号をA/D変換部102に出力する。
A/D変換部102は、加速度センサー101が出力した電圧信号をデジタル信号(加速度信号という)に変換する。A/D変換部102は、変換後の加速度信号を歩行検出部1070に出力する。
圧力センサー103は、ピエゾ素子などを用いた圧力測定子を内蔵し、大気の圧力を測定する。圧力センサー103は、測定した圧力を示す電圧信号を生成し、生成した電圧信号をA/D変換部104に出力する。
A/D変換部104は、圧力センサー103が出力した電圧信号をデジタル信号(圧力信号という)に変換する。A/D変換部104は、変換後の圧力信号を高度算出部1071に出力する。
RAM105は、CPU107からデータを書き込まれ、読み出される。
ROM106は、CPU107が読み出すプログラム及びデータを記憶する。
The acceleration sensor 101 detects the acceleration of the pedometer 1 for the X component, Y component, and Z component of the orthogonal coordinate system. The acceleration sensor 101 generates a voltage signal indicating the detected acceleration of each component, and outputs the generated voltage signal to the A / D conversion unit 102.
The A / D converter 102 converts the voltage signal output from the acceleration sensor 101 into a digital signal (referred to as an acceleration signal). The A / D conversion unit 102 outputs the converted acceleration signal to the walking detection unit 1070.
The pressure sensor 103 has a built-in pressure gauge using a piezo element or the like, and measures atmospheric pressure. The pressure sensor 103 generates a voltage signal indicating the measured pressure, and outputs the generated voltage signal to the A / D conversion unit 104.
The A / D converter 104 converts the voltage signal output from the pressure sensor 103 into a digital signal (referred to as a pressure signal). The A / D conversion unit 104 outputs the converted pressure signal to the altitude calculation unit 1071.
The RAM 105 is written with data from the CPU 107 and read out.
The ROM 106 stores programs and data read by the CPU 107.

CPU107は、分周回路112から入力されたクロック信号に同期して演算処理を行う。CPU107は、RAM105及びROM106が記憶するプログラム及びデータに基づいて、演算処理を行う。
CPU107は、入力部110から、ユーザが入力した情報、例えば、歩数計の起動、終了、歩行コース選択等の情報を入力される。CPU107は、時刻計測部109から計測した時刻を示す時刻情報を入力される。CPU107は、入力された情報、及び、CPU107の各部が生成した情報に基づいて表示情報を生成し、生成した表示情報を表示部108に出力する。
歩行検出部1070は、A/D変換部102から入力された加速度信号に基づいて、歩行動作(一歩の歩行のことをいう)があったか否かを検出する。歩行検出部1070は、歩行動作があったと判定した場合は、歩行があったことを示す信号を昇降判定部1072に出力する。
高度算出部1071は、予めROM106に記憶された圧力と高度との関係を表す変換係数に基づいて、A/D変換部104から入力された圧力信号を高度値に変換する。高度算出部1071は、変換後の高度値を示す信号を昇降判定部1072に出力する。
The CPU 107 performs arithmetic processing in synchronization with the clock signal input from the frequency divider circuit 112. The CPU 107 performs arithmetic processing based on programs and data stored in the RAM 105 and the ROM 106.
The CPU 107 receives information input by the user from the input unit 110, for example, information such as pedometer activation and termination, walking course selection, and the like. The CPU 107 receives time information indicating the time measured from the time measuring unit 109. The CPU 107 generates display information based on the input information and information generated by each unit of the CPU 107, and outputs the generated display information to the display unit 108.
Based on the acceleration signal input from the A / D conversion unit 102, the walking detection unit 1070 detects whether or not there has been a walking motion (referring to one-step walking). If it is determined that there is a walking motion, the walking detection unit 1070 outputs a signal indicating that there is a walking to the elevation determination unit 1072.
The altitude calculation unit 1071 converts the pressure signal input from the A / D conversion unit 104 into an altitude value based on a conversion coefficient representing a relationship between pressure and altitude stored in advance in the ROM 106. The altitude calculation unit 1071 outputs a signal indicating the converted altitude value to the elevation determination unit 1072.

昇降判定部1072は、歩行検出部1070から歩行があったことを示す信号が入力されたとき、高度算出部1071から入力された信号が示す高度値(歩行後高度値)と、RAM105に書き込まれている高度値(歩行前高度値)とに基づき、現在の歩行が上り、平坦、下りのいずれであるかを判定する。ここで、歩行前高度値は、前回、歩行検出部1070から歩行があったことを示す信号が入力されたときに、高度算出部1071から入力された信号が示す高度値を、昇降判定部1072がRAM105に書き込みをしたものである。すなわち、昇降判定部1072は、歩行検出部1070が検出した歩行が、上り或いは下り(高度変化)を伴うものであるか、又は、平坦であるか(高度変化を伴わないものであるか)を判定する。
昇降判定部1072は、判定結果を示す信号を歩数計数部1073に出力する。また、昇降判定部1072は、高度算出部1071から入力された信号が示す高度値を、RAM105に書き込む。
The elevation determination unit 1072 is written in the RAM 105 with the altitude value (post-walking altitude value) indicated by the signal input from the altitude calculation unit 1071 when a signal indicating that there is a walk is input from the walking detection unit 1070. Based on the altitude value (altitude value before walking), it is determined whether the current walking is up, flat, or down. Here, as the altitude value before walking, the altitude value indicated by the signal input from the altitude calculating unit 1071 when the signal indicating that there was a walk from the walking detecting unit 1070 was input last time, the elevation determining unit 1072 is used. Is written in the RAM 105. That is, the up / down determination unit 1072 determines whether the walking detected by the walking detection unit 1070 is accompanied by ascending or descending (altitude change) or is flat (is not accompanied by altitude change). judge.
The up / down determination unit 1072 outputs a signal indicating the determination result to the step counting unit 1073. Also, the elevation determination unit 1072 writes the altitude value indicated by the signal input from the altitude calculation unit 1071 in the RAM 105.

歩数計数部1073は、昇降判定部1072から入力された信号が示す判定結果に基づいて、RAM105から読み出した歩数のうち、上り、平坦、又は、下りいずれかの歩数に、「1」を加える。具体的には、歩数計数部1073は、昇降判定部1072が上りの歩行であると判定した場合は、上りの歩数(上り歩数とも称する)に「1」を加える。歩数計数部1073は、昇降判定部1072が下りの歩行であると判定した場合には、下りの歩数(下り歩数とも称する)に「1」を加える。歩数計数部1073は、昇降判定部1072が平坦の歩行であると判定した場合には、平坦の歩数(平坦歩数とも称する)に「1」を加える。
歩数計数部1073は、いずれかの歩数に加算した場合には、加算後の歩数で、RAM105に記憶された加算対象の歩数を更新する。
The step counting unit 1073 adds “1” to the number of steps ascending, flat, or descending out of the steps read from the RAM 105 based on the determination result indicated by the signal input from the elevation determining unit 1072. Specifically, the step counting unit 1073 adds “1” to the number of steps up (also referred to as the number of steps up) when the elevation determination unit 1072 determines that the walking is ascending. The step counting unit 1073 adds “1” to the number of steps to be descended (also referred to as the number of steps to descend) when the ascending / descending determining unit 1072 determines to be a descending walk. The step counting unit 1073 adds “1” to the flat step count (also referred to as flat step count) when the elevation determination unit 1072 determines that the walking is flat.
When adding to any of the steps, the step counting unit 1073 updates the number of steps to be added stored in the RAM 105 with the number of steps after the addition.

総消費カロリー算出部1074は、RAM105に記憶された上り歩数、平坦歩数、下り歩数、及び、予め記憶された上り、平坦、下り毎の一歩あたり消費カロリーに基づいて、消費カロリーを算出する(式(1)参照)。なお、歩くピッチが速いか、遅いかに応じて、上り、平坦、下り毎の一歩あたり消費カロリーを変更しても良い。例えば、予め定められた時間に、歩数計測部が計測する歩数に比例して、RAM105に記憶された一歩あたり消費カロリーを変更しても良い。総消費カロリー算出部1074は、算出した消費カロリーをRAM105に書き込む。
歩行距離算出部1075は、RAM105に記憶された上り、平坦、下り毎の歩数、及び、予め記憶された上り、平坦、下り毎の一歩あたり歩幅に基づいて、歩行距離を算出する(式(2)参照)。歩行距離算出部1075は、算出した歩行距離をRAM105に書き込む。
表示部108は、入力された情報、及び、CPU107の各部が生成した情報に基づいて生成された表示情報を表示する。
The total calorie consumption calculation unit 1074 calculates the calorie consumption based on the number of ascending steps, the number of flat steps, the number of descending steps stored in the RAM 105, and the calorie consumption per step for each of the ascending, flat, and descending items stored in advance (expression (See (1)). Note that the calorie consumption per step may be changed for each step up, flat, or down depending on whether the walking pitch is fast or slow. For example, the calorie consumption per step stored in the RAM 105 may be changed at a predetermined time in proportion to the number of steps measured by the step counting unit. The total calorie consumption calculation unit 1074 writes the calculated calorie consumption in the RAM 105.
The walking distance calculation unit 1075 calculates the walking distance based on the number of steps for each up, flat, and down stored in the RAM 105 and the step length per step for each of the up, flat, and down stored in advance (formula (2) )reference). The walking distance calculation unit 1075 writes the calculated walking distance in the RAM 105.
The display unit 108 displays display information generated based on the input information and information generated by each unit of the CPU 107.

時刻計測部109は、時刻を計測し、計測した時刻を示す時刻情報をCPU107に出力する。
入力部110は、外部からの入力を受ける。例えば、ユーザは、歩数計の起動、終了、選択した歩行コース等を入力する場合に、入力部110に設けられたスイッチを用いて入力する。入力部110は、入力された情報をCPU107に出力する。
The time measuring unit 109 measures time and outputs time information indicating the measured time to the CPU 107.
The input unit 110 receives input from the outside. For example, the user inputs the start and end of the pedometer, the selected walking course, and the like using a switch provided in the input unit 110. The input unit 110 outputs the input information to the CPU 107.

発振回路111は、内蔵する水晶振動子等の発振子が出力する信号を取得し、取得した信号を分周回路112に出力する。
分周回路112は、発振回路111から入力された信号を予め定めた分周比に応じて分周(周波数の低減)したクロック信号を出力する。予め定められた分周比とは、分周回路112において、CPU107が動作するクロック周波数の範囲のクロック信号を出力するように定めたパラメータである。分周回路112は、発振回路111から入力した発振信号をカウンタ回路で計数し、その計数された値が分周比で設定した値に達したときに、一つのデジタルパルスをCPU107に出力する。
電池113は、歩数計の各部に電力を供給する。
The oscillation circuit 111 acquires a signal output from an oscillator such as a built-in crystal resonator, and outputs the acquired signal to the frequency dividing circuit 112.
The frequency dividing circuit 112 outputs a clock signal obtained by frequency-dividing (frequency reduction) the signal input from the oscillation circuit 111 according to a predetermined frequency dividing ratio. The predetermined frequency dividing ratio is a parameter determined so that the frequency dividing circuit 112 outputs a clock signal in a clock frequency range in which the CPU 107 operates. The frequency dividing circuit 112 counts the oscillation signal input from the oscillation circuit 111 by the counter circuit, and outputs one digital pulse to the CPU 107 when the counted value reaches the value set by the frequency dividing ratio.
The battery 113 supplies power to each part of the pedometer.

図2は、本実施形態に係る歩数計におけるRAM105に記憶されるデータの一例を示した図である。この図において、RAM105に記憶されるデータは、歩数、歩幅、一歩あたり消費カロリー(一歩歩む毎に消費するカロリー)、高度値、歩行距離、消費カロリーである。ここで、歩数、歩幅、一歩あたりカロリーは、上り、平坦、下り毎に記憶される。   FIG. 2 is a diagram illustrating an example of data stored in the RAM 105 in the pedometer according to the present embodiment. In this figure, the data stored in the RAM 105 are the number of steps, the step length, the calorie consumption per step (calories consumed for each step taken), the altitude value, the walking distance, and the calorie consumption. Here, the number of steps, the step length, and the calories per step are stored for each up, flat, and down.

歩数は、計測開始からの歩数の和であり、上り、平坦、下り毎に計数される。歩幅(m)、及び、一歩あたりカロリー(KCal/歩)は、ユーザが入力部110を通じて入力された情報である。
高度値は、A/D変換部104から入力された圧力情報に基づいて、高度算出部1071が算出したものであり、圧力情報が示す圧力値に予め定めた係数を乗じることにより求められたものである。
消費カロリーは総消費カロリー算出部1074が以下の式(1)を用いて算出したものである。また、歩行距離は、歩行距離算出部1075が式(2)を用いて算出したものである。
The number of steps is the sum of the number of steps from the start of measurement, and is counted for each up, flat, and down. The stride (m) and the calorie per step (KCal / step) are information input by the user through the input unit 110.
The altitude value is calculated by the altitude calculation unit 1071 based on the pressure information input from the A / D conversion unit 104, and is obtained by multiplying the pressure value indicated by the pressure information by a predetermined coefficient. It is.
The calorie consumption is calculated by the total calorie consumption calculation unit 1074 using the following formula (1). The walking distance is calculated by the walking distance calculation unit 1075 using the formula (2).

消費カロリー=上り歩数×上り一歩あたりカロリー
+平坦歩数×平坦一歩あたりカロリー
+下り歩数×下り一歩あたりカロリー ・・・ (1)
Calories burned = Number of steps taken x Calories per step taken
+ Flat steps x flat calories per step
+ Number of descending steps x Calories per descending step (1)

歩行距離=上り歩数×上り歩幅
+平坦歩数×平坦歩幅
+下り歩数×下り歩幅 ・・・ (2)
Walking distance = number of steps up x step length
+ Flat steps x Flat steps
+ Number of descending steps x descending step length (2)

次に、本実施形態に係る歩数計1の動作の一例について説明する。
図3は、本実施形態に係る歩数計1における動作の一例を示したフローチャートである。
Next, an example of the operation of the pedometer 1 according to the present embodiment will be described.
FIG. 3 is a flowchart showing an example of the operation in the pedometer 1 according to the present embodiment.

(ステップS101)歩数計1は、歩数計1が動作するために必要な各種初期化を行う。具体的には、歩数計1は、発振回路111、及び分周回路112を起動する。分周回路112は、クロック信号を生成し、CPU107を起動する。その後、CPU107は、入力部110、時刻計測部109、表示部108などの初期化を行う。高度算出部1071は、A/D変換部104から入力された圧力情報に基づいて、高度値を算出し、RAM105に書き込む。CPU107は、RAM105に記憶された上り、平坦、下りの各歩数、歩行距離、高度値、及び消費カロリーに「0」を書き込む。その後、ステップS102に進む。 (Step S101) The pedometer 1 performs various initializations necessary for the pedometer 1 to operate. Specifically, the pedometer 1 activates the oscillation circuit 111 and the frequency dividing circuit 112. The frequency divider circuit 112 generates a clock signal and activates the CPU 107. Thereafter, the CPU 107 initializes the input unit 110, the time measurement unit 109, the display unit 108, and the like. The altitude calculation unit 1071 calculates an altitude value based on the pressure information input from the A / D conversion unit 104 and writes the altitude value in the RAM 105. The CPU 107 writes “0” in the ascending, flat, descending steps, walking distance, altitude value, and calorie consumption stored in the RAM 105. Thereafter, the process proceeds to step S102.

(ステップS102)歩行検出部1070は、A/D変換部102が出力した加速度信号に基づき、歩行動作があったか否かを判定する。例えば、歩行検出部1070は、A/D変換部102が出力した加速度信号の大きさが予め設定した閾値を超え、その後、予め定めた期間内に予め設定した別の閾値より小さくなったときに、一歩の歩行(歩行動作)があったと判定する。歩行検出部1070は、歩行動作があったと判定した場合には、ステップS103に進む。歩行動作がなかったと判定した場合には、ステップS102に戻る。
(ステップS103)高度算出部1071は、A/D変換部104から入力された圧力情報に基づき、高度値(歩行後高度値)を算出する。昇降判定部1072は、高度算出部1071が算出した歩行後高度値を取得する。その後ステップS104に進む。
(Step S102) The walking detection unit 1070 determines whether or not there is a walking motion based on the acceleration signal output from the A / D conversion unit 102. For example, the gait detection unit 1070 receives the magnitude of the acceleration signal output from the A / D conversion unit 102 when it exceeds a preset threshold value and then becomes smaller than another preset threshold value within a predetermined period. It is determined that there is a one-step walk (walking motion). If the walking detection unit 1070 determines that there is a walking motion, the process proceeds to step S103. If it is determined that there is no walking motion, the process returns to step S102.
(Step S103) The altitude calculation unit 1071 calculates an altitude value (post-walking altitude value) based on the pressure information input from the A / D conversion unit 104. The elevation determination unit 1072 acquires the post-walking altitude value calculated by the altitude calculation unit 1071. Thereafter, the process proceeds to step S104.

(ステップS104)昇降判定部1072は、ステップS103で算出された歩行後高度値と、RAM105に書き込まれている歩行前高度値とに基づき、上り歩行中か否かを判定する。
具体的には、昇降判定部1072は、歩行後高度値から歩行前高度値を減じた値が予め定めた値(例えば、20cm)を超える場合には、ステップS102で判定された歩行動作の歩行が上り歩行であると判定する(Yes)。その後、ステップS106に進む。一方、昇降判定部1072は、歩行後高度値から歩行前高度値を減じた値が予め定めた値以下の場合には、ステップS102で判定された歩行動作の歩行が上り歩行でないと判定する(No)。この場合、ステップS105に進む。
(Step S <b> 104) The ascending / descending determining unit 1072 determines whether or not the user is walking uphill based on the post-walking altitude value calculated in Step S <b> 103 and the pre-walking altitude value written in the RAM 105.
Specifically, when the value obtained by subtracting the pre-walking altitude value from the post-walking altitude value exceeds a predetermined value (for example, 20 cm), the elevating determination unit 1072 walks with the walking motion determined in step S102. Is determined to be walking up (Yes). Thereafter, the process proceeds to step S106. On the other hand, when the value obtained by subtracting the altitude value before walking from the altitude value after walking is equal to or less than a predetermined value, the lifting determination unit 1072 determines that the walking of the walking motion determined in step S102 is not ascending ( No). In this case, the process proceeds to step S105.

(ステップS105)昇降判定部1072は、ステップS103で算出された歩行後高度値と、RAM105に書き込まれている歩行前高度値とに基づき、下り歩行中か否かを判定する。
具体的には、昇降判定部1072は、歩行後高度値から歩行前高度値を減じた値が予め定めた値(例えば、−20cm)未満の場合は、ステップS102で判定された歩行動作の歩行が下り歩行であると判定する(Yes)。その後、ステップS107に進む。一方、昇降判定部1072は、歩行後高度値から歩行前高度値を減じた値が予め定めた値以上の場合には、ステップS102で判定された歩行動作の歩行が下り歩行でないと判定する(No)。この場合、ステップS108に進む。
(Step S <b> 105) The ascending / descending determining unit 1072 determines whether or not the user is walking on the basis of the altitude value after walking calculated in Step S <b> 103 and the altitude value before walking written in the RAM 105.
Specifically, when the value obtained by subtracting the pre-walking altitude value from the post-walking altitude value is less than a predetermined value (for example, −20 cm), the elevating determination unit 1072 walks with the walking motion determined in step S102. Is determined to be a descending walk (Yes). Thereafter, the process proceeds to step S107. On the other hand, when the value obtained by subtracting the altitude value before walking from the altitude value after walking is equal to or greater than a predetermined value, the lifting determination unit 1072 determines that the walking of the walking motion determined in step S102 is not downward walking ( No). In this case, the process proceeds to step S108.

(ステップS106)歩数計数部1073は、RAM105から上り歩数を読み出し、読み出した上り歩数に「1」を加えた値を新たな上り歩数としてRAM105に書き込む。その後ステップS109に進む。
(ステップS107)歩数計数部1073は、RAM105から下り歩数を読み出し、読み出した下り歩数に「1」を加えた値を新たな下り歩数としてRAM105に書き込む。その後ステップS109に進む。
(ステップS108)歩数計数部1073は、RAM105から平坦歩数を読み出し、読み出した平坦歩数に「1」を加えた値を新たな平坦歩数としてRAM105に書き込む。その後ステップS109に進む。
なお、ステップS106、S107、S108において、昇降判定部1072は、ステップS103で取得した高度値をRAM105に書き込む。
(Step S106) The step counting unit 1073 reads the number of ascending steps from the RAM 105, and writes a value obtained by adding “1” to the read number of ascending steps in the RAM 105 as a new number of ascending steps. Thereafter, the process proceeds to step S109.
(Step S107) The step count counting unit 1073 reads the number of descending steps from the RAM 105, and writes a value obtained by adding “1” to the read number of descending steps in the RAM 105 as a new descending step count. Thereafter, the process proceeds to step S109.
(Step S108) The step counting unit 1073 reads the flat step count from the RAM 105, and writes a value obtained by adding “1” to the read flat step count into the RAM 105 as a new flat step count. Thereafter, the process proceeds to step S109.
In steps S106, S107, and S108, the elevation determination unit 1072 writes the altitude value acquired in step S103 in the RAM 105.

(ステップS109)総消費カロリー算出部1074は、RAM105から読み出した上り歩数、平坦歩数、下り歩数、及び、上り、平坦、下り各々での一歩あたりカロリーに基づいて、消費カロリーを算出する。総消費カロリー算出部1074は、算出した消費カロリーをRAM105に書き込む。
歩行距離算出部1075は、RAM105から読み出した上り歩数、平坦歩数、下り歩数、及び、上り、平坦、下り各々での歩幅に基づいて、歩行距離を算出する。歩行距離算出部1075は、算出した歩行距離をRAM105に書き込む。その後ステップS110に進む。
(Step S109) The total calorie consumption calculation unit 1074 calculates the calorie consumption based on the number of up steps, the number of flat steps, the number of down steps, and the number of calories per step in each of the up, flat, and down steps read from the RAM 105. The total calorie consumption calculation unit 1074 writes the calculated calorie consumption in the RAM 105.
The walking distance calculation unit 1075 calculates the walking distance based on the number of ascending steps, the number of flat steps, the number of descending steps, and the step length in each of the ascending, flat, and descending steps read from the RAM 105. The walking distance calculation unit 1075 writes the calculated walking distance in the RAM 105. Thereafter, the process proceeds to step S110.

(ステップS110)CPU107は、RAM105から歩行距離、歩数、上り、平坦、下りの各歩数、及び消費カロリーを読み出し、表示部108に表示する。表示の例については図4を用いて後述する。その後、ステップS111に進む。
(ステップS111)入力部110は、ユーザからの歩数計の終了の旨の入力があったか否かをCPU107に出力する。CPU107は入力部110からの入力に基づき、歩数計の動作を終了するか否かを判定する。歩数計の動作を終了すると判定したとき(Yes)は、終了処理に進む。歩数計の動作を終了しないと判定したとき(No)は、ステップS102に戻る。
(Step S <b> 110) The CPU 107 reads out the walking distance, the number of steps, the number of steps in ascending, flatness, and descending, and the calorie consumption from the RAM 105, and displays them on the display unit 108. An example of display will be described later with reference to FIG. Then, it progresses to step S111.
(Step S <b> 111) The input unit 110 outputs to the CPU 107 whether or not there has been an input indicating that the pedometer is terminated from the user. Based on the input from the input unit 110, the CPU 107 determines whether or not to end the operation of the pedometer. When it is determined that the operation of the pedometer is to be ended (Yes), the process proceeds to an end process. When it is determined not to end the operation of the pedometer (No), the process returns to step S102.

図4は、本実施形態に係る歩数計1における表示の一例を示す概略図である。図4において、歩数計1には、歩行距離、歩行数、平坦歩数、上り歩数、下り歩数、消費カロリーが表示されている。すなわち、表示部108は、平坦歩数、上り歩数、下り歩数をそれぞれ別に表示する。   FIG. 4 is a schematic diagram illustrating an example of display on the pedometer 1 according to the present embodiment. In FIG. 4, the pedometer 1 displays the walking distance, the number of walking, the number of flat steps, the number of up steps, the number of down steps, and the calorie consumption. That is, the display unit 108 displays the number of flat steps, the number of up steps, and the number of down steps separately.

このように、本実施形態によれば、歩行検出部1070が歩行を検出する。昇降判定部1072が、歩行検出部1070の検出した歩行が、高度変化を伴うものであるか否かを判定する。歩数計数部1073が、昇降判定部1072の判定結果に基づいて、高度変化を伴う歩行の歩数を計数する。歩数計数部1073が、昇降判定部1072が高度変化を伴わない歩行と判定した場合に、当該歩行を、高度変化を伴わない歩行の歩数として計数する。ここで、歩数計数部1073は、昇降判定部1072が上りの歩行であると判定した場合には、この歩行を上りの歩行として、昇降判定部1072が下りの歩行であると判定した場合には、この歩行を下りの歩行として、歩数を計数する。
これにより、歩数計1は、ユーザに、高度変化を伴う歩行の歩数と高度変化を伴わない歩行の歩数とを知らせることができ、高度変化を伴うコースを体感させることができる。
Thus, according to the present embodiment, the walking detection unit 1070 detects walking. The elevation determination unit 1072 determines whether or not the walking detected by the walking detection unit 1070 is accompanied by a change in altitude. The step count unit 1073 counts the number of steps taken with a change in altitude based on the determination result of the elevation determination unit 1072. When the step counting unit 1073 determines that the ascending / descending determination unit 1072 is a walk without a change in altitude, the step count unit 1073 counts the walk as the number of steps in a walk without a change in altitude. Here, when the step counting unit 1073 determines that the ascending / descending determination unit 1072 is an ascending walk, when the ascending / descending determining unit 1072 determines that the walking is an ascending walk and the ascending / descending determining unit 1072 is a descending walk. The number of steps is counted with this walking as a downward walking.
Thereby, the pedometer 1 can inform the user of the number of steps with a change in altitude and the number of steps with a change in altitude, and can experience a course with a change in altitude.

(第2の実施形態)
以下、本発明の第2の実施形態について、図面を参照しながら説明する。
本実施形態では、歩数計は、予め定められたコース上の高度変化(上り、平坦、下り)と検出した歩行時の高度変化とが等しいときに、歩数を計数する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings.
In this embodiment, the pedometer counts the number of steps when a predetermined altitude change (up, flat, down) on the course is equal to the detected altitude change during walking.

図5は、本実施形態に係る歩数計2の概略ブロック図を示す。本実施形態に係る歩数計2と第1の実施形態に係る歩数計1(図1)と、を比較すると、歩行コース選択部2076、位置判定部2077、及び、歩数計数部2073が異なる。しかし、他の構成要素の持つ機能は、第1の実施形態と同じである。第1の実施形態と同じ構成要素については説明を省略する。   FIG. 5 is a schematic block diagram of the pedometer 2 according to the present embodiment. When the pedometer 2 according to the present embodiment is compared with the pedometer 1 (FIG. 1) according to the first embodiment, the walking course selection unit 2076, the position determination unit 2077, and the step count unit 2073 are different. However, the functions of other components are the same as those in the first embodiment. The description of the same components as those in the first embodiment is omitted.

歩行コース選択部2076は、ROM106から、歩行コースの各コース名を読み出す。歩行コース選択部2076は、ROM106から読み出した歩行コースの各コース名を表示部108に出力する。ユーザはコース名を選択し、入力部110を通じて、選択した歩行コースを入力する。入力部110は、ユーザから入力された歩行コースを歩行コース選択部2076に出力する。歩行コース選択部2076は、選択された歩行コースのコースデータ(図6参照)をROM106から読み出し、読み出したコースデータをRAM105に書き込む。ここで、コースデータでは、コース名で識別される歩行コース各々についてコース情報が対応付けられている。コース情報では、区間を識別する区間番号、その区間の終了地点と歩行コースの出発地点からの距離、及び、その区間が上り、下り、平坦のいずれであるかを示す区間傾斜番号が対応けられている(図6参照)。   The walking course selection unit 2076 reads each course name of the walking course from the ROM 106. The walking course selection unit 2076 outputs each course name of the walking course read from the ROM 106 to the display unit 108. The user selects a course name and inputs the selected walking course through the input unit 110. The input unit 110 outputs the walking course input by the user to the walking course selection unit 2076. The walking course selection unit 2076 reads the course data (see FIG. 6) of the selected walking course from the ROM 106, and writes the read course data in the RAM 105. Here, in the course data, course information is associated with each walking course identified by the course name. In the course information, a section number for identifying a section, a distance from the end point of the section and the starting point of the walking course, and a section inclination number indicating whether the section is up, down, or flat are associated. (See FIG. 6).

位置判定部2077は、RAM105からコースデータ及び歩行距離を読み出す。位置判定部2077は、読み出したコース情報における歩行コースでの距離と、読み出した歩行距離に基づいて、ユーザが現在歩行している歩行区間を判定し、判定した区間の区間番号を決定する。具体的には、区間番号をi、区間番号iに対応する距離を距離(i)としたときに、距離(i−1)<歩行距離≦距離(i)を満たす区間番号iを決定する
位置判定部2077は、決定した区間番号に対応する区間傾斜番号に基づいて、歩行コースの傾斜を判定する。位置判定部2077は、決定した区間番号に対応する距離から歩行距離を減じた値を算出し、算出した値を目標地点までの距離として、RAM105に書き込む。
The position determination unit 2077 reads course data and walking distance from the RAM 105. The position determination unit 2077 determines the walking section in which the user is currently walking based on the distance in the walking course in the read course information and the read walking distance, and determines the section number of the determined section. Specifically, when the section number is i and the distance corresponding to the section number i is distance (i), the section number i that satisfies the distance (i−1) <walking distance ≦ distance (i) is determined. The determination unit 2077 determines the inclination of the walking course based on the section inclination number corresponding to the determined section number. The position determination unit 2077 calculates a value obtained by subtracting the walking distance from the distance corresponding to the determined section number, and writes the calculated value in the RAM 105 as the distance to the target point.

歩数計数部2073は、昇降判定部1072から入力された信号が示す判定結果と、位置判定部2077が決定した区間番号に対応する区間傾斜番号と、に基づいて、RAM105から読み出した歩数のうち、上り、平坦、又は、下りいずれかの歩数に、「1」を加える。
具体的には、歩数計数部2073は、昇降判定部1072が上りの歩行であると判定したときに、区間傾斜番号が上りを示す場合には上り歩数に「1」を加え、区間傾斜番号が上り以外を示す場合には上り歩数に「1」を加えない。歩数計数部2073は、昇降判定部1072が下りの歩行であると判定したときに、区間傾斜番号が下りを示す場合には下り歩数に「1」を加え、区間傾斜番号が下り以外を示す場合には下り歩数に「1」を加えない。歩数計数部2073は、昇降判定部1072が平坦の歩行であると判定したときに、区間傾斜番号が平坦を示す場合には平坦歩数に「1」を加え、区間傾斜番号が平坦以外を示す場合には平坦歩数に「1」を加えない。
つまり、歩数計数部2073は、昇降判定部1072が判定した上り、平坦、又は、下りと、区間傾斜番号が示す上り、平坦、又は、下りと、が一致した場合にのみ、その歩数に「1」を加える。すなわち、歩数計数部2073は、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが等しいときにのみ、この歩行によって、歩数を計数する。歩数計数部2073は、いずれかの歩数に加算した場合には、加算後の歩数で、RAM105に記憶された加算対象の歩数を更新する。
Of the steps read from the RAM 105 based on the determination result indicated by the signal input from the elevation determination unit 1072 and the section inclination number corresponding to the section number determined by the position determination unit 2077, the step counting unit 2073 “1” is added to the number of steps, either ascending, flat, or descending.
Specifically, the step counting unit 2073 adds “1” to the ascending step number when the ascending / descending determining unit 1072 determines that the ascending walking is up, and the section inclination number is “1”. In cases other than uphill, “1” is not added to the number of uphill steps. When the step counting unit 2073 determines that the ascending / descending determination unit 1072 is a downward walk, when the section inclination number indicates down, “1” is added to the number of down steps, and the section inclination number indicates other than down. Does not add “1” to the number of steps taken. When the step counting unit 2073 determines that the ascending / descending determining unit 1072 is a flat walk, when the section inclination number indicates flat, “1” is added to the flat step number and the section inclination number indicates other than flat. Does not add “1” to the flat step count.
That is, the step counting unit 2073 sets the step count to “1” only when the up, flat, or down determined by the ascending / descending determining unit 1072 matches the up, flat, or down indicated by the section inclination number. Is added. That is, the step count counting unit 2073 counts the number of steps by this walking only when the predetermined altitude change on the course is equal to the altitude change during walking detected by the walking detection unit 1070. When adding to any of the steps, the step counting unit 2073 updates the number of steps to be added stored in the RAM 105 with the number of steps after the addition.

図6は、本実施形態に係るコースデータの一例を示す概略図である。コースデータでは、コース名で識別される歩行コース各々についてコース情報が対応付けられている。コース情報では、区間番号、距離、及び、区間傾斜番号が対応けられている(図6参照)。
区間番号は1から始まる自然数であり、歩行コースの第1番目の区間を1として、歩行コースの最後の区間まで1ずつ増加する値を与えられる。距離は、コース開始地点から区間終了地点までの地図上の距離を表す。区間傾斜番号は、地図上のコースが上り、平坦、下りのいずれかを示す番号である。図6では、上りの値を1、平坦の値を0、下りの値を−1とする。地名は、各区間の終了する点の地名を表す。
FIG. 6 is a schematic diagram illustrating an example of course data according to the present embodiment. In the course data, course information is associated with each walking course identified by the course name. In the course information, a section number, a distance, and a section inclination number are associated (see FIG. 6).
The section number is a natural number starting from 1, and is given a value that increases by 1 until the last section of the walking course, with the first section of the walking course being 1. The distance represents the distance on the map from the course start point to the section end point. The section inclination number is a number indicating whether the course on the map is up, flat, or down. In FIG. 6, the up value is 1, the flat value is 0, and the down value is -1. The place name represents the place name of the end point of each section.

次に、本実施形態に係る歩数計2の動作の一例について説明する。
図7は、本発明の第2の実施形態に係る歩数計2における動作の一例を示したフローチャートである。
Next, an example of the operation of the pedometer 2 according to the present embodiment will be described.
FIG. 7 is a flowchart showing an example of the operation in the pedometer 2 according to the second embodiment of the present invention.

(ステップS201)歩数計2は、歩数計2が動作するために必要な各種初期化を行う。具体的には、歩数計1は、発振回路111、及び分周回路112を起動する。分周回路112は、クロック信号を生成し、CPU107を起動する。その後、CPU107は、入力部110、時刻計測部109、表示部108などの初期化を行う。CPU107は、A/D変換部104から入力された圧力情報に基づいて、高度値を算出し、RAM105に書き込む。CPU107は、上り、平坦、下りの各歩数、歩行距離、及び消費カロリーを「0」に設定する。その後、ステップS202に進む。 (Step S201) The pedometer 2 performs various initializations necessary for the pedometer 2 to operate. Specifically, the pedometer 1 activates the oscillation circuit 111 and the frequency dividing circuit 112. The frequency divider circuit 112 generates a clock signal and activates the CPU 107. Thereafter, the CPU 107 initializes the input unit 110, the time measurement unit 109, the display unit 108, and the like. The CPU 107 calculates an altitude value based on the pressure information input from the A / D conversion unit 104 and writes it in the RAM 105. The CPU 107 sets the number of steps up, flat, and down, the walking distance, and the calorie consumption to “0”. Thereafter, the process proceeds to step S202.

(ステップS202)歩行コース選択部2076は、ROM106から、歩行コースのコース名を読み出す。歩行コース選択部2076は、ROM106から読み出した歩行コースのコース名を表示部108に出力する。ユーザは、入力部110を通じて、歩行コースを選択する。入力部110は、ユーザが選択した歩行コース名を歩行コース選択部2076に出力する。歩行コース選択部2076は、入力部110から入力された歩行コース名のコースデータをROM106から読み出す。その後ステップS203に進む。 (Step S202) The walking course selection unit 2076 reads the course name of the walking course from the ROM 106. The walking course selection unit 2076 outputs the course name of the walking course read from the ROM 106 to the display unit 108. The user selects a walking course through the input unit 110. The input unit 110 outputs the walking course name selected by the user to the walking course selection unit 2076. The walking course selection unit 2076 reads the course data of the walking course name input from the input unit 110 from the ROM 106. Thereafter, the process proceeds to step S203.

ステップS203〜ステップS206の各処理は、第1の実施形態(図3)におけるステップS102〜ステップS105の各処理と同様であるので、説明は省略する。ただし、ステップS205の判定が(Yes)の場合にステップS207に進み、ステップS206の判定が(Yes)の場合にステップS208に進み、及びステップS206の判定が(No)の場合にステップS209に進む。   Since each process of step S203-step S206 is the same as each process of step S102-step S105 in 1st Embodiment (FIG. 3), description is abbreviate | omitted. However, if the determination in step S205 is (Yes), the process proceeds to step S207. If the determination in step S206 is (Yes), the process proceeds to step S208. If the determination in step S206 is (No), the process proceeds to step S209. .

(ステップS207)位置判定部2077は、ROM106から読み出した歩行コースの距離と、RAM105から読み出した歩行距離に基づいて、歩行距離に対応する歩行コースの区間番号を決定する。CPU107は、位置判定部2077によって決定された区間番号に対応する区間傾斜番号に基づいて、歩行コースが上りであるか否か判定する。区間傾斜番号が「1」(上り)である場合(Yes)は、ステップS210に進む。それ以外は(No)ステップS215に進む。
(ステップS208)位置判定部2077は、ステップS207で決定した区間番号に対応する区間傾斜番号に基づいて、歩行コースが下りであるか否かを判定する。区間傾斜番号が「−1」(下り)である場合(Yes)は、ステップS211に進む。それ以外は(No)ステップS215に進む。
(Step S207) The position determination unit 2077 determines the section number of the walking course corresponding to the walking distance based on the walking course distance read from the ROM 106 and the walking distance read from the RAM 105. The CPU 107 determines whether or not the walking course is ascending based on the section inclination number corresponding to the section number determined by the position determination unit 2077. When the section inclination number is “1” (up) (Yes), the process proceeds to step S210. Otherwise (No), the process proceeds to step S215.
(Step S208) The position determination unit 2077 determines whether or not the walking course is down based on the section inclination number corresponding to the section number determined in step S207. When the section inclination number is “−1” (down) (Yes), the process proceeds to step S211. Otherwise (No), the process proceeds to step S215.

(ステップS209)位置判定部2077は、ステップS207で決定した区間番号に対応する区間傾斜番号に基づいて、歩行コースが平坦であるか否かを判定する。区間傾斜番号が「0」(平坦)である場合(Yes)は、ステップS212に進む。それ以外は(No)ステップS215に進む。
ステップS210〜ステップS212の各処理は、第1の実施形態(図3)におけるステップS106〜ステップS108の各処理と同様であるので、説明は省略する。
(Step S209) The position determination unit 2077 determines whether or not the walking course is flat based on the section inclination number corresponding to the section number determined in step S207. When the section inclination number is “0” (flat) (Yes), the process proceeds to step S212. Otherwise (No), the process proceeds to step S215.
Since each process of step S210-step S212 is the same as each process of step S106-step S108 in 1st Embodiment (FIG. 3), description is abbreviate | omitted.

(ステップS213)総消費カロリー算出部1074は、RAM105から読み出した上り歩数、平坦歩数、下り歩数、及び、上り、平坦、下り各々での一歩あたりカロリーに基づいて、消費カロリーを算出する。総消費カロリー算出部1074は、算出した消費カロリーをRAM105に書き込む。
歩行距離算出部1075は、RAM105から読み出した上り歩数、平坦歩数、下り歩数、及び、上り、平坦、下り各々での歩幅に基づいて、歩行距離を算出する。歩行距離算出部1075は、算出した歩行距離をRAM105に書き込む。
位置判定部2077は、目標地点までの距離を算出し、RAM105に書き込む。その後ステップS214進む。
(Step S213) The total calorie consumption calculation unit 1074 calculates the calorie consumption based on the number of up steps, the number of flat steps, the number of down steps, and the number of calories per step in each of the up, flat, and down steps read from the RAM 105. The total calorie consumption calculation unit 1074 writes the calculated calorie consumption in the RAM 105.
The walking distance calculation unit 1075 calculates the walking distance based on the number of ascending steps, the number of flat steps, the number of descending steps, and the step length in each of the ascending, flat, and descending steps read from the RAM 105. The walking distance calculation unit 1075 writes the calculated walking distance in the RAM 105.
The position determination unit 2077 calculates the distance to the target point and writes it in the RAM 105. Thereafter, the process proceeds to step S214.

(ステップS214)CPU107は、表示部108に、目標地点までの距離、歩行距離、歩行数、平坦歩数、上り歩数、下り歩数、消費カロリーを表示する。その後ステップS215に進む。
(ステップS215)入力部110は、ユーザからの歩数計の終了の旨の入力があったか否かをCPU107に出力する。CPU107は入力部110からの入力に基づき、歩数計の動作を終了するか否かを判定する。歩数計の動作を終了すると判定したとき(Yes)は、終了処理に進む。歩数計の動作を終了しないと判定したとき(No)は、ステップS203に戻る。
(Step S214) The CPU 107 displays the distance to the target point, the walking distance, the number of walks, the number of flat steps, the number of up steps, the number of down steps, and the calorie consumption on the display unit 108. Thereafter, the process proceeds to step S215.
(Step S215) The input unit 110 outputs to the CPU 107 whether or not there has been an input from the user to the effect that the pedometer has been terminated. Based on the input from the input unit 110, the CPU 107 determines whether or not to end the operation of the pedometer. When it is determined that the operation of the pedometer is to be ended (Yes), the process proceeds to an end process. When it is determined that the operation of the pedometer is not finished (No), the process returns to step S203.

図8は、本実施形態に係る歩数計2における表示の一例を示す概略図である。図8において、歩数計1には、地名、目標地点までの距離、歩行距離、歩行数、平坦歩数、上り歩数、下り歩数、消費カロリーが表示されている。   FIG. 8 is a schematic diagram illustrating an example of display on the pedometer 2 according to the present embodiment. In FIG. 8, the pedometer 1 displays a place name, a distance to a target point, a walking distance, a walking number, a flat step number, an ascending step number, a descending step number, and a calorie consumption.

このように、本実施形態によれば、歩数計数部2073は、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが等しいときには、この歩行によって、歩数を計数する。また、歩数計数部2073は、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが異なる場合には、この歩行を未加算歩行として、この歩行による歩数(未加算歩数という)を計数した歩数に加えない。
これにより、歩数計2では、ユーザに対して、コースを進行するためにコース上の高度変化と同じ高度変化の歩行を実際に行うよう促すことができ、また、高度変化の違いによる運動負荷を体感させることができる。
As described above, according to the present embodiment, when the altitude change on the course determined in advance and the altitude change during walking detected by the walking detection unit 1070 are equal, the step counting unit 2073 calculates the number of steps by this walking. Count. In addition, when the altitude change on the predetermined course is different from the altitude change at the time of walking detected by the walking detection unit 1070, the step counting unit 2073 sets the walking as an unadded walking and determines the number of steps by this walking ( It is not added to the counted number of steps).
As a result, the pedometer 2 can prompt the user to actually walk with the same altitude change as the altitude change on the course in order to progress the course. You can feel it.

(第3の実施形態)
以下、本発明の第3の実施形態について、図面を参照しながら説明する。
本実施形態では、歩数計は、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが等しいときに、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが異なるときに歩数に加えなかった未加算歩行による歩数を、歩数に加える。
(Third embodiment)
Hereinafter, a third embodiment of the present invention will be described with reference to the drawings.
In this embodiment, the pedometer includes a predetermined altitude change on the course and a walking detector when the altitude change on the predetermined course and the altitude change during walking detected by the walking detector 1070 are equal. When the altitude change at the time of walking detected by 1070 is different, the number of steps due to unadded walking that was not added to the number of steps is added to the number of steps.

図9は、本実施形態に係る歩数計3の構成を表す概略ブロック図である。本実施形態に係る歩数計3と第2の実施形態に係る歩数計2(図5)と、を比較すると、コース昇降変化判定部3078、総歩行距離算出部3079、及び、歩数計数部3073が異なる。しかし、他の構成要素の持つ機能は、第2の実施形態と同じである。第2の実施形態と同じ構成要素については説明を省略する。   FIG. 9 is a schematic block diagram showing the configuration of the pedometer 3 according to the present embodiment. When comparing the pedometer 3 according to the present embodiment with the pedometer 2 according to the second embodiment (FIG. 5), the course elevation change determination unit 3078, the total walking distance calculation unit 3079, and the step count unit 3073 are Different. However, the functions of other components are the same as those in the second embodiment. The description of the same components as those in the second embodiment is omitted.

コース昇降変化判定部3078は、RAM105から読み出したコースデータの区間番号に対応する距離を読み出す。コース昇降変化判定部3078は、歩行距離からコースの区間番号に対応する距離を減じた値(値Aと呼ぶ)が正であるか否かを判定する。値Aが正であると判定した場合は、コース昇降変化判定部3078は、新たな区間に入ったことを意味するため、区間番号を「1」増加させ、RAM105に書き込む。
コース昇降変化判定部3078は、番号「1」増加させる前と後の区間番号に対応する区間傾斜番号が異なるか否かを判定する。区間傾斜番号が異なると判定した場合には、コース昇降変化判定部3078は、コースの高度変化(上り、平坦、下り)が変化したと判定して、番号「1」増加させた後の区間番号(新区間番号という)に対応する区間傾斜番号を、RAM105に書き込む。
The course up / down change determination unit 3078 reads the distance corresponding to the section number of the course data read from the RAM 105. The course ascending / descending change determination unit 3078 determines whether or not a value obtained by subtracting the distance corresponding to the section number of the course from the walking distance (referred to as value A) is positive. When it is determined that the value A is positive, the course ascending / descending change determination unit 3078 means that a new section has been entered, so that the section number is increased by “1” and written to the RAM 105.
The course ascending / descending change determination unit 3078 determines whether or not the section inclination numbers corresponding to the section numbers before and after increasing the number “1” are different. When it is determined that the section inclination numbers are different, the course ascending / descending change determining unit 3078 determines that the course altitude change (up, flat, down) has changed, and the section number after increasing the number “1”. The section slope number corresponding to (new section number) is written in the RAM 105.

総歩行距離算出部3079は、RAM105からコースの距離を読み出す。総歩行距離算出部3079は、RAM105から上り歩数、平坦歩数、下り歩数、及び、上り、平坦、下り毎の未加算歩数、歩幅に基づいて、式(3)を用いて総歩行距離を算出する。   The total walking distance calculation unit 3079 reads the course distance from the RAM 105. The total walking distance calculation unit 3079 calculates the total walking distance from the RAM 105 using Equation (3) based on the number of up steps, the number of flat steps, the number of down steps, and the number of steps not added for each of the up, flat, and down steps and the step length. .

総歩行距離=(上り歩数+上り未加算歩数)×上り歩幅
+(平坦歩数+平坦未加算歩数)×平坦歩幅
+(下り歩数+下り未加算歩数)×下り歩幅 ・・・ (3)
Total walking distance = (number of steps going up + number of steps not added up) x step length
+ (Flat steps + flat non-added steps) x flat step length
+ (Number of steps taken down + Number of steps not added down) x Down stride length (3)

歩数計数部3073は、第2の実施形態に係る歩数計数部2073が持つ機能に加えて、次の機能を持つ。
歩数計数部3073は、昇降判定部1072が判定した上り、平坦、又は、下りと、区間傾斜番号が示す上り、平坦、又は、下りと、が一致しない場合に、昇降判定部1072が判定した上り、平坦、又は、下りの未加算歩数に「1」を加える。歩数計数部3073は、いずれかの未加算歩数に加算した場合には、加算後の歩数で、RAM105に記憶された加算対象の未加算歩数を更新する。
歩数計数部3073は、コース昇降変化判定部3078が区間傾斜番号が異なると判定した場合に、新区間番号に対応する未加算歩数を読み出し、新区間番号に対応する歩数に加算する。歩数計数部3073は、加算後に、新区間番号に対応する未加算歩数を「0」にする。
The step counting unit 3073 has the following functions in addition to the functions of the step counting unit 2073 according to the second embodiment.
The step counting unit 3073 determines whether the ascending / decision determining unit 1072 has determined whether the ascending / flattening / descending and the ascending / flattening / declining indicated by the section inclination number do not match. “1” is added to the number of unadded steps that are flat, or descending. When adding to any of the unadded steps, the step counting unit 3073 updates the unadded steps to be added stored in the RAM 105 with the number of steps after the addition.
When the course ascending / descending change determining unit 3078 determines that the section inclination number is different, the step count counting unit 3073 reads the unadded step number corresponding to the new section number and adds it to the step number corresponding to the new section number. After the addition, the step count counting unit 3073 sets the unadded step count corresponding to the new section number to “0”.

図10は、本実施形態に係るRAM105に記憶されるデータを示す図である。本実施形態に係るRAM105に記憶されるデータは、第1の実施形態におけるRAM105に記憶されるデータ(図2)に加えて、区間番号、区間傾斜番号、及び未加算歩数の項目が新たに設けられている。図2で説明した項目については、説明を省略する。
未加算歩数は、昇降判定部1072が判定した上り、平坦、又は、下りと、区間傾斜番号が示す上り、平坦、又は、下りと、が一致しない場合に検出された歩行の歩数である。
FIG. 10 is a diagram showing data stored in the RAM 105 according to the present embodiment. In the data stored in the RAM 105 according to the present embodiment, in addition to the data stored in the RAM 105 in the first embodiment (FIG. 2), items of a section number, a section slope number, and an unadded step count are newly provided. It has been. Description of the items described in FIG. 2 is omitted.
The number of unadded steps is the number of steps detected when the ascending, flattening, or descending determined by the ascending / descending determining unit 1072 does not match the ascending, flat, or descending indicated by the section inclination number.

次に、本実施形態に係る歩数計3の動作の一例について説明する。
図11は、本発明の第3の実施形態に係る歩数計3における動作の一例を示したフローチャートである。
Next, an example of the operation of the pedometer 3 according to the present embodiment will be described.
FIG. 11 is a flowchart showing an example of the operation in the pedometer 3 according to the third embodiment of the present invention.

(ステップS301)歩数計3は、歩数計3が動作するために必要な各種初期化を行う。具体的には、歩数計3は、発振回路111、及び分周回路112を起動する。分周回路112は、クロック信号を生成し、CPU307を起動する。その後、CPU307は、入力部110、時刻計測部109、表示部108などの初期化を行う。CPU307は、A/D変換部104から入力された圧力情報に基づいて、高度値を算出し、RAM105に書き込む。CPU307は、上り、平坦、下りの各歩数、未加算歩数、歩行距離、実傾斜番号及び総消費カロリーに「0」を代入する。CPU307は、区間番号に「1」を代入する。その後、ステップ302に進む。
ステップS302〜ステップS312の各処理は、第2の実施形態(図7)におけるステップS202〜ステップS212の各処理と同様であるので、説明は省略する。
(Step S301) The pedometer 3 performs various initializations necessary for the pedometer 3 to operate. Specifically, the pedometer 3 activates the oscillation circuit 111 and the frequency dividing circuit 112. The frequency dividing circuit 112 generates a clock signal and activates the CPU 307. Thereafter, the CPU 307 initializes the input unit 110, the time measurement unit 109, the display unit 108, and the like. The CPU 307 calculates an altitude value based on the pressure information input from the A / D conversion unit 104 and writes it in the RAM 105. The CPU 307 substitutes “0” for each of the steps of ascending, flattening and descending, the number of unadded steps, the walking distance, the actual inclination number, and the total calorie consumption. The CPU 307 substitutes “1” for the section number. Then, it progresses to step 302.
Since each process of step S302-step S312 is the same as each process of step S202-step S212 in 2nd Embodiment (FIG. 7), description is abbreviate | omitted.

(ステップS313)歩数計数部3073は、RAM105から上り未加算歩数を読み出す。歩数計数部3073は、読み出した上り未加算歩数に「1」を加える。CPUはRAM105に上り未加算歩数を書き込む。
(ステップS314)歩数計数部3073は、RAM105から下り未加算歩数を読み出す。歩数計数部3073は、読み出した下り未加算歩数に1を加える。CPUはRAM105に下り未加算歩数を書き込む。
(ステップS315)歩数計数部3073は、RAM105から平坦未加算歩数を読み出す。歩数計数部3073は、読み出した平坦未加算歩数に1を加える。CPUはRAM105に平坦未加算歩数を書き込む。
(Step S <b> 313) The step count counting unit 3073 reads the number of steps not added up from the RAM 105. The step counting unit 3073 adds “1” to the read number of steps not yet added. The CPU writes the number of unadded steps in the RAM 105.
(Step S <b> 314) The step count counting unit 3073 reads the number of steps that have not been added from the RAM 105. The step count counting unit 3073 adds 1 to the read number of unadded steps. The CPU writes the number of steps not added down to the RAM 105.
(Step S315) The step count counting unit 3073 reads the flat unadded step count from the RAM 105. The step count counting unit 3073 adds 1 to the read flat unadded step count. The CPU writes the flat unadded step count in the RAM 105.

(ステップS316)コース昇降変化判定部3078は、コースの高度変化(上り、平坦、下り)が変化したか否かを判定する。コースの高度変化が変化したと判定した場合は、ステップS317に進む。コースの高度変化が変化しなかったと判定した場合は、ステップS319に進む。
(ステップS317)歩数計数部3073は、新区間番号に対応する未加算歩数を読み出す。その後、ステップS318に進む。
(ステップS318)歩数計数部3073は、新区間番号に対応する未加算歩数を0にする。その後ステップS319に進む。
(Step S316) The course ascending / descending change determination unit 3078 determines whether or not the course altitude change (up, flat, down) has changed. If it is determined that the altitude change of the course has changed, the process proceeds to step S317. If it is determined that the altitude change of the course has not changed, the process proceeds to step S319.
(Step S317) The step count counting unit 3073 reads the unadded step count corresponding to the new section number. Thereafter, the process proceeds to step S318.
(Step S318) The step count counting unit 3073 sets the unadded step count corresponding to the new section number to 0. Thereafter, the process proceeds to step S319.

ステップS319、ステップS320の各処理は、第2の実施形態(図7)におけるステップS213、ステップS214の各処理と同様であるので、説明は省略する。   Since each process of step S319 and step S320 is the same as each process of step S213 and step S214 in 2nd Embodiment (FIG. 7), description is abbreviate | omitted.

(ステップS321)総歩行距離算出部3079は、RAM105から上り、平坦、下りの各歩数、各歩幅を読み出し、総歩行距離を算出する。その後、ステップS322に進む。
(ステップS322)CPU307は、RAM105から、コースの最後の区間の距離を読み出す。CPU307は、総歩行距離算出部3079から出力された総歩行距離とコースの距離を比較し、総歩行距離がコースの最後の区間の距離の、例えば95%を越える場合、CPU307は、総歩行距離がコースの距離に近いと判定する。総歩行距離がコースの距離に近いと判断した場合(Yes)はステップS323に進む。総歩行距離がコースの距離に近くないと判断した場合(No)は、ステップS324に進む。
(ステップS323)CPU307は、ステップS322で読み出したコースの最後の区間の距離から、総歩行距離を減じ、その値に基づいて、表示部108で表示される表示内容を、コース終点までの距離を含む表示に変更する。
(ステップS324)CPU307は、入力部110から、歩数計の終了の信号の入力があったか否かを判定する。歩数計の終了の信号の入力があったと判定した場合は、終了処理へ進む。歩数計の終了の信号の入力がなかったと判定した場合は、ステップS303に進む。
(Step S321) The total walking distance calculation unit 3079 reads the number of steps of ascending, flat, and descending, and each step from the RAM 105, and calculates the total walking distance. Thereafter, the process proceeds to step S322.
(Step S322) The CPU 307 reads the distance of the last section of the course from the RAM 105. The CPU 307 compares the total walking distance output from the total walking distance calculation unit 3079 with the distance of the course, and when the total walking distance exceeds 95% of the distance of the last section of the course, for example, the CPU 307 determines the total walking distance. Is determined to be close to the course distance. When it is determined that the total walking distance is close to the course distance (Yes), the process proceeds to step S323. When it is determined that the total walking distance is not close to the course distance (No), the process proceeds to step S324.
(Step S323) The CPU 307 subtracts the total walking distance from the distance of the last section of the course read out in step S322, and displays the display content displayed on the display unit 108 based on the value as the distance to the course end point. Change the display to include.
(Step S324) The CPU 307 determines whether or not the pedometer end signal has been input from the input unit 110. If it is determined that the pedometer end signal has been input, the process proceeds to end processing. If it is determined that the pedometer end signal has not been input, the process proceeds to step S303.

図12にステップS323において、コース終点までの距離を含む表示に変更された後の歩数計の表示の一例を示す。本例では、上から順に、コース終点までの距離、上り歩数、平坦歩数、下り歩数、消費カロリーが表示されている。   FIG. 12 shows an example of the display of the pedometer after the display is changed to the display including the distance to the course end point in step S323. In this example, in order from the top, the distance to the course end point, the number of steps taken up, the number of steps taken flat, the number of steps taken down, and the calorie consumption are displayed.

図13は、本実施形態に係る歩数計3における歩行コースと表示とメモリで記憶する未加算歩数の関係を示す概略図である。
この図において、コースは、歩行コース選択部2076がROM106から読み込んだ歩行コースを表す。表示は、歩数計数部3073が計数し、表示部108に表示される歩数を表す。メモリは、RAM105が記憶する上り、平坦、下り毎の未加算歩数を表す。
例えば、出発地点を含む区間の区間傾斜番号は、「0」(平坦)である。この場合、歩数計数部3073は、昇降判定部1072が平坦の歩行であると判定したときのみ、平坦歩数に「1」を加え、表示部108はその平坦歩数に表示を更新する。この場合、歩数計数部3073は、昇降判定部1072が上りの歩行であると判定したときには、上り未加算歩数に「1」を加えて、RAM105に記憶する。一方、歩数計数部3073は、昇降判定部1072が下りの歩行であると判定したときには、下り未加算歩数に「1」を加えて、RAM105に記憶する。
FIG. 13 is a schematic diagram showing the relationship between the walking course and display in the pedometer 3 according to the present embodiment and the number of unadded steps stored in the memory.
In this figure, the course represents a walking course read by the walking course selection unit 2076 from the ROM 106. The display indicates the number of steps displayed by the step counting unit 3073 and displayed on the display unit 108. The memory represents the number of unadded steps stored in the RAM 105 for each of up, flat, and down.
For example, the section inclination number of the section including the departure point is “0” (flat). In this case, the step count counting unit 3073 adds “1” to the flat step count only when the elevation determination unit 1072 determines that the walking is flat, and the display unit 108 updates the display to the flat step count. In this case, the step counting unit 3073 adds “1” to the number of steps not added up and stores it in the RAM 105 when the up / down determination unit 1072 determines that the walking is ascending. On the other hand, the step counting unit 3073 adds “1” to the number of steps that have not been added and stores it in the RAM 105 when the up / down determination unit 1072 determines that the walking is going down.

このように、本実施形態によれば、歩数計数部3073は、予め定められたコース上の高度変化と昇降判定部1072が検出した歩行時の高度変化とが等しいときに、予め定められたコース上の高度変化と歩行検出部1070が検出した歩行時の高度変化とが異なるときに歩数に加えなかった未加算歩行による歩数を、歩数に加える。
これにより、歩数計3では、ユーザに対して、コースを進行し、総歩数を増やすために、必要とされる高度変化の伴う歩行をするよう促すことができる。
As described above, according to the present embodiment, the step counting unit 3073 is configured so that the predetermined course when the altitude change on the predetermined course is equal to the altitude change during walking detected by the ascending / descending determination unit 1072. When the above altitude change is different from the altitude change at the time of walking detected by the walking detector 1070, the number of steps due to unadded walking that is not added to the number of steps is added to the number of steps.
As a result, the pedometer 3 can prompt the user to walk along with the required altitude change in order to advance the course and increase the total number of steps.

なお、上述の各実施形態においては、高度を測定するために、圧力センサーが出力した圧力と、予めROM106に記憶された圧力変化と高度変化の変換係数に基づいて、高度値を算出したが、高度の測定法はこれに限られず、GPS(Grobal Positioning System)が出力する高度データを用いても良い。また、上り、下りの判別には、加速度センサーが出力する加速度波形の上り、下りによる差異を利用してもよい。   In each of the above-described embodiments, in order to measure the altitude, the altitude value is calculated based on the pressure output from the pressure sensor and the pressure change and altitude change conversion coefficient stored in advance in the ROM 106. The altitude measurement method is not limited to this, and altitude data output from a GPS (Global Positioning System) may be used. Further, for the discrimination between up and down, the difference between the up and down of the acceleration waveform output from the acceleration sensor may be used.

なお、上述した各実施形態における歩数計が備える各部の機能全体あるいはその一部は、これらの機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。   Note that all or some of the functions of each unit included in the pedometer in each of the above-described embodiments are recorded on a computer-readable recording medium and a program for realizing these functions. You may implement | achieve by making a computer system read a program and executing it. Here, the “computer system” includes an OS and hardware such as peripheral devices.

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

以上、図面を参照してこの発明の実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。   The embodiments of the present invention have been described in detail above with reference to the drawings. However, the specific configuration is not limited to the above-described one, and various design changes and the like can be made without departing from the scope of the present invention. Is possible.

1、2、3・・・歩数計(電子機器)、101・・・加速度センサー、102・・・A/D変換部、103・・・圧力センサー(高度変化計測部)、104・・・A/D変換部、105・・・ROM、106・・・RAM、107、207、307・・・CPU、1070・・・歩行検出部、1071・・・高度算出部、1072・・・昇降判定部、1073、2073、3073・・・歩数計数部、1074・・・総消費カロリー算出部、1075・・・歩行距離算出部、2076・・・歩行コース選択部、2077・・・位置判定部、3078・・・コース昇降判定部、3079・・・総歩行距離算出部、108・・・表示部、109・・・時刻計測部、110・・・入力部、111・・・発振回路、112・・・分周回路、113・・・電池   1, 2, 3 ... Pedometer (electronic device), 101 ... Accelerometer, 102 ... A / D converter, 103 ... Pressure sensor (altitude change measuring unit), 104 ... A / D conversion unit, 105 ... ROM, 106 ... RAM, 107, 207, 307 ... CPU, 1070 ... walk detection unit, 1071 ... altitude calculation unit, 1072 ... elevation determination unit , 1073, 2073, 3073... Step counting unit, 1074... Total calorie consumption calculating unit, 1075 .. walking distance calculating unit, 2076 .. walking course selecting unit, 2077.・ ・ ・ Course lift determination unit, 3079 ... Total walking distance calculation unit, 108 ... Display unit, 109 ... Time measurement unit, 110 ... Input unit, 111 ... Oscillation circuit, 112 ... .Divider circuit, 113 ... Battery

Claims (10)

歩行を検出する歩行検出部と、
前記歩行検出部が検出した歩行が、高度変化を伴うものであるか否かを判定する昇降判定部と、
前記昇降判定部の判定結果に基づいて、高度変化を伴う歩行の歩数を計数する歩数計数部と、
を備えることを特徴とする電子機器。
A walking detector for detecting walking;
An elevating determination unit that determines whether the walking detected by the walking detection unit is accompanied by a change in altitude;
Based on the determination result of the ascending / descending determination unit, a step number counting unit that counts the number of steps taken with a change in altitude,
An electronic device comprising:
前記歩数計数部は、前記昇降判定部が高度変化を伴わない歩行と判定した場合に、当該歩行を、高度変化を伴わない歩行の歩数として計数することを特徴とする請求項1に記載の電子機器。   2. The electronic device according to claim 1, wherein the step counting unit counts the walking as the number of steps of the walking without changing the altitude when the elevation determining unit determines the walking without changing the altitude. 3. machine. 前記昇降判定部は、高度変化が予め定めた閾値より大きいときは、高度変化を伴う歩行であると判定することを特徴とする請求項1または2に記載の電子機器。   The electronic device according to claim 1, wherein the elevation determination unit determines that the walking is accompanied by a change in altitude when the altitude change is greater than a predetermined threshold. 前記昇降判定部は、上りの歩行であるか、下りの歩行であるかを判定し、
前記歩数計数部は、前記昇降判定部が上りの歩行であると判定した場合には、当該歩行を上りの歩行として、前記昇降判定部が下りの歩行であると判定した場合には、当該歩行を下りの歩行として、歩数を計数することを特徴とする請求項1から3のいずれか1項に記載の電子機器。
The elevating determination unit determines whether the walking is ascending or descending,
When the step counting unit determines that the ascending / descending determination unit is an ascending walk, the step counting unit determines that the walking is an ascending walk, and when the ascending / descending determination unit determines that the walking is a descending walk, The electronic device according to any one of claims 1 to 3, wherein the number of steps is counted as a downward walk.
前記歩数計数部が計数した上りの歩行の歩数、下りの歩行の歩数をそれぞれ別に表示する表示部を備えることを特徴とする請求項1から4のいずれか1項に記載の電子機器。   5. The electronic device according to claim 1, further comprising: a display unit that separately displays the number of steps of ascending walking and the number of steps of descending walking counted by the step counting unit. 前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが等しいときには、当該歩行によって、歩数を計数することを特徴とする請求項1から5のいずれか1項に記載の電子機器。   The step counting unit counts the number of steps by the walking when the altitude change on the predetermined course is equal to the altitude change at the time of walking detected by the walking detecting unit. The electronic device according to any one of 5. 前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが異なるときには、当該歩行を未加算歩行として、この歩行による歩数を計数した歩数に加えないことを特徴とする請求項1から6のいずれか1項に記載の電子機器。   When the altitude change on the predetermined course is different from the altitude change at the time of walking detected by the walking detection unit, the step counting unit sets the walking as an unadded walking and counts the number of steps by this walking. It is not added, The electronic device of any one of Claim 1 to 6 characterized by the above-mentioned. 前記歩数計数部は、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが等しいときに、予め定められたコース上の高度変化と前記歩行検出部が検出した歩行時の高度変化とが異なるときに歩数に加えなかった前記未加算歩行による歩数を、歩数に加えることを特徴とする請求項5に記載の電子機器。   The step counting unit detects the altitude change on the predetermined course and the walking detection unit when the altitude change on the predetermined course is equal to the altitude change at the time of walking detected by the walking detection unit. The electronic device according to claim 5, wherein the number of steps due to the non-additional walking that is not added to the number of steps when the altitude change during walking is different is added to the number of steps. 請求項1から8のいずれか1項に記載の電子機器を備える歩数計。   A pedometer comprising the electronic device according to claim 1. 電子機器のコンピュータに、歩行検出部が検出した歩行が、高度変化を伴うものであるか否かを判定する昇降判定手順、
前記昇降判定手順の判定結果に基づいて、高度変化を伴う歩行の歩数を計数する歩数計数手順、
を実行させるためのプログラム。
Elevation determination procedure for determining whether or not the walking detected by the walking detection unit is accompanied by a change in altitude in the computer of the electronic device,
Based on the determination result of the ascent / descent determination procedure, a step counting procedure for counting the number of steps taken with a change in altitude,
A program for running
JP2011030255A 2011-02-15 2011-02-15 Electronic device, pedometer and program Withdrawn JP2012168818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011030255A JP2012168818A (en) 2011-02-15 2011-02-15 Electronic device, pedometer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011030255A JP2012168818A (en) 2011-02-15 2011-02-15 Electronic device, pedometer and program

Publications (1)

Publication Number Publication Date
JP2012168818A true JP2012168818A (en) 2012-09-06

Family

ID=46972899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011030255A Withdrawn JP2012168818A (en) 2011-02-15 2011-02-15 Electronic device, pedometer and program

Country Status (1)

Country Link
JP (1) JP2012168818A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015117967A (en) * 2013-12-17 2015-06-25 セイコーインスツル株式会社 Electronic device, measurement data processing method, and measurement data processing program
JP2016206706A (en) * 2015-04-15 2016-12-08 三菱電機エンジニアリング株式会社 Entry/exit management system with health management function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015117967A (en) * 2013-12-17 2015-06-25 セイコーインスツル株式会社 Electronic device, measurement data processing method, and measurement data processing program
JP2016206706A (en) * 2015-04-15 2016-12-08 三菱電機エンジニアリング株式会社 Entry/exit management system with health management function

Similar Documents

Publication Publication Date Title
EP1988492A1 (en) Body motion detection device, body motion detection method, and body motion detection program
JP4952721B2 (en) Portable device, exercise intensity calculation method, stride correction method, information device, and program
JPWO2010073682A1 (en) Weight measuring device
US20220260609A1 (en) Determination device, determination method, and program recording medium
JP2009301286A (en) Portable equipment, stride correction method, information equipment and stride correction program
JP2008173251A (en) Ascending and descending motion detecting apparatus and activity meter using it
JP6361880B2 (en) Electronic equipment and programs
JP2010165088A (en) Pedometer, and method of counting steps
JP2012168818A (en) Electronic device, pedometer and program
JP6342652B2 (en) Electronic device, measurement data processing method, and measurement data processing program
JP6325245B2 (en) Electronic device, measurement data processing method, and measurement data processing program
JP2014230630A (en) Movement management system, movement management device and user terminal
JP2012185809A (en) Electronic apparatus, sampling cycle determination method, and sampling cycle determination program
JP5598278B2 (en) Exercise support method, exercise support device, and exercise support system
JP6498061B2 (en) Altimeter
JP6238621B2 (en) Electronic equipment and programs
JP6755667B2 (en) Altimeters, electronic clocks and programs
JP6054905B2 (en) Path shape determination device, exercise support system, and program
JP6289892B2 (en) Electronic device, data processing method, and data processing program
WO2015019856A1 (en) Stair walking detection device, stair walking detection method, and program
JP2008191047A (en) Pedometer
JP2009204568A (en) Walk simulation apparatus
JP6308804B2 (en) Electronic equipment and programs
JP2014208314A (en) Exercise support method, exercise support device and exercise support system
JP2014174736A (en) Electronic apparatus and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513