JP2006127026A - Counting device for number of operation times, and method - Google Patents

Counting device for number of operation times, and method Download PDF

Info

Publication number
JP2006127026A
JP2006127026A JP2004312344A JP2004312344A JP2006127026A JP 2006127026 A JP2006127026 A JP 2006127026A JP 2004312344 A JP2004312344 A JP 2004312344A JP 2004312344 A JP2004312344 A JP 2004312344A JP 2006127026 A JP2006127026 A JP 2006127026A
Authority
JP
Japan
Prior art keywords
count
counter
counting
count value
comparator
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.)
Granted
Application number
JP2004312344A
Other languages
Japanese (ja)
Other versions
JP4525294B2 (en
Inventor
Takashi Nitaki
孝 二滝
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2004312344A priority Critical patent/JP4525294B2/en
Publication of JP2006127026A publication Critical patent/JP2006127026A/en
Application granted granted Critical
Publication of JP4525294B2 publication Critical patent/JP4525294B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Distances Traversed On The Ground (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a step-counting device capable of operating with low power consumption. <P>SOLUTION: This operation frequency counting device includes a step-detecting part 10 that outputs an interrupt signal, each time it detects a step; a total step reading counter 13 for counting the number of interrupt signals outputted from the step detecting part 10; and a step counter 11. A CPU 20 is provided for obtaining the count of the total step reading counter 13 according to the operation by the user. The counting device further includes a step setting register 12, capable of setting the number of steps and a comparator 14 that compares the value set by the register 12 to the count of the counter 11 and outputs a matching signal, when they match. Each time the match signal is received from the comparator 14, the step counter 11 resets the count and the CPU 20 computes the product of the number of receptions of the matching signals and the set value of the register 12 as an approximate number of the total number of steps. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、カウント対象の動作の回数をカウントする動作回数カウント装置及び方法(例えば、歩数をカウントする歩数カウント装置及び方法)に関する。   The present invention relates to an operation frequency counting apparatus and method for counting the number of operations to be counted (for example, a step counting apparatus and method for counting the number of steps).

従来の歩数カウント装置としては、例えば、特許文献1に示すものがある。   As a conventional step count counting device, for example, there is one disclosed in Patent Document 1.

特許文献1の歩数カウント装置は、振動の強さに応じたレベルの電圧を出力する振動センサと、この振動センサの出力が一定レベルを超える毎に割込信号を出力する振動検出回路と、この振動検出回路から出力される割込信号の入力数をカウントすることにより歩数をカウントするCPUと、を備えて構成されている。   The step counting device of Patent Document 1 includes a vibration sensor that outputs a voltage at a level corresponding to the strength of vibration, a vibration detection circuit that outputs an interrupt signal each time the output of the vibration sensor exceeds a certain level, And a CPU that counts the number of steps by counting the number of input interrupt signals output from the vibration detection circuit.

なお、特許文献1の歩数カウント装置は、携帯電話機に搭載されたものである。
特開2001−203783号公報(図1)
Note that the step counting device of Patent Document 1 is mounted on a mobile phone.
JP 2001-203783 A (FIG. 1)

しかしながら、特許文献1の技術の場合、カウント動作をCPUが行うため、歩行中は常時、CPUが稼働状態となる。このため、CPUによる処理負担が大きいという問題や、CPUの消費電力が大きいという問題がある。   However, in the case of the technique of Patent Document 1, since the CPU performs a counting operation, the CPU is always in an operating state during walking. For this reason, there is a problem that the processing load on the CPU is large and a problem that the power consumption of the CPU is large.

更に、歩数カウント装置を携帯電話機に搭載した場合、特許文献1のようにCPUが常時稼働してその消費電力が大きいと、電池の持続性が悪化してしまうという問題がある。   Further, when the step counting device is mounted on a mobile phone, there is a problem that the sustainability of the battery is deteriorated when the CPU is always operated and the power consumption is large as in Patent Document 1.

本発明は、上記のような問題点を解決するためになされたもので、少ない消費電力で動作することが可能な動作回数カウント装置及び方法(具体的には、例えば、歩数カウント装置及び方法)を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an operation frequency counting apparatus and method capable of operating with low power consumption (specifically, for example, a step counting apparatus and method). The purpose is to provide.

上記課題を解決するため、本発明の動作回数カウント装置は、カウント対象の動作を検出する毎に検出信号を出力する動作検出部と、前記動作検出部から出力される検出信号の数をカウントする動作回数カウンタと、前記動作回数カウンタのカウント値を取得して該カウント値を認識することが可能な制御手段と、を備えることを特徴としている。   In order to solve the above-described problem, the operation counting device of the present invention counts the number of detection signals output from the operation detection unit that outputs a detection signal each time an operation to be counted is detected, and the operation detection unit. It is characterized by comprising an operation number counter and control means capable of acquiring the count value of the operation number counter and recognizing the count value.

本発明の動作回数カウント装置によれば、動作検出部と動作回数カウンタとの協働によりカウント動作を行うことができるので、CPUなどからなる制御手段ではカウント動作を行う必要がなく、例えばカウント値を認識したい場合にのみ制御手段が動作回数カウンタのカウント値を取得すればよい。よって、回数カウント対象となる動作(例えば歩行など)を行う期間中、常に制御手段が稼働状態となってしまうことを防止できる。その結果、制御手段、ひいては動作回数カウント装置全体の消費電力を抑制することができる。よって、例えば、動作回数カウント装置を携帯電話機などの携帯通信端末装置に搭載した場合にも、その携帯通信端末装置の電池の持続性を悪化させることがない。   According to the operation number counting device of the present invention, the counting operation can be performed by the cooperation of the operation detecting unit and the operation number counter. Therefore, it is not necessary to perform the counting operation by the control means such as a CPU. The control means need only acquire the count value of the operation number counter only when it is desired to recognize the above. Therefore, it is possible to prevent the control means from being always in an operating state during a period in which an operation (for example, walking) that is subject to frequency counting is performed. As a result, it is possible to suppress the power consumption of the control means, and hence the entire operation counting device. Therefore, for example, even when the operation count device is mounted on a mobile communication terminal device such as a mobile phone, the sustainability of the battery of the mobile communication terminal device is not deteriorated.

なお、動作回数カウンタのカウント値の制御手段による取得(及び認識)は、例えば、使用者の操作に応じて行うことが挙げられるが、或いは、例えば、予め設定された時間間隔毎に行うようにしても良い。   The acquisition (and recognition) by the control means of the count value of the operation number counter can be performed according to the user's operation, for example. Alternatively, for example, it can be performed at preset time intervals. May be.

また、動作検出部は、集積回路内に設けることができ、動作回数カウンタは、簡単な論理回路により構成することができる。このため、動作回数カウンタ及び動作検出部は、同一の集積回路内に集積されていることが好ましい。   In addition, the operation detection unit can be provided in the integrated circuit, and the operation frequency counter can be configured by a simple logic circuit. For this reason, it is preferable that the operation number counter and the operation detection unit are integrated in the same integrated circuit.

本発明の動作回数カウント装置においては、前記動作検出部から出力される検出信号の数をカウントする第2の動作回数カウンタと、任意の動作回数を設定可能な動作回数設定レジスタと、前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力するコンパレータと、を更に備え、前記第2の動作回数カウンタは、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットする一方で、前記制御手段は、前記コンパレータから一致信号を受信する毎に、該一致信号の受信回数と前記動作回数設定レジスタの設定値との積を、前記カウント対象の動作の回数の概数として演算することが好ましい。   In the operation number counting device of the present invention, a second operation number counter that counts the number of detection signals output from the operation detection unit, an operation number setting register that can set an arbitrary operation number, and the operation number A comparator that compares a set value of the setting register with a count value of the second operation number counter and outputs a coincidence signal when both values coincide with each other; and the second operation number counter Each time the coincidence signal is received from the comparator, the count value of the second operation number counter is reset, while the control means receives the coincidence signal every time it receives a coincidence signal from the comparator. It is preferable to calculate a product of the number of times and the set value of the operation number setting register as an approximate number of the number of operations to be counted.

この場合、動作回数設定レジスタに任意の値を設定することにより、制御手段による演算処理間隔(動作回数の概数を演算する処理の間隔)を任意に設定することができる。よって、制御手段から動作回数カウンタに対するカウント値の取得動作を行わないでも、任意の動作回数毎(例えば100回毎、或いは、1000回毎など)に、自動的に動作回数が演算され、その演算結果を動作回数の概数として認識することができる。   In this case, by setting an arbitrary value in the operation count setting register, it is possible to arbitrarily set the calculation processing interval (processing interval for calculating the approximate number of operation counts) by the control means. Therefore, the operation number is automatically calculated every arbitrary operation number (for example, every 100 times or every 1000 times) without performing the operation of acquiring the count value for the operation number counter from the control means. The result can be recognized as an approximate number of operations.

或いは、本発明の動作回数カウント装置においては、前記動作検出部から出力される検出信号の数をカウントする第2の動作回数カウンタと、任意の動作回数を設定可能な動作回数設定レジスタと、前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力するコンパレータと、を更に備え、前記第2の動作回数カウンタは、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットする一方で、前記制御手段は、前記コンパレータから一致信号を受信する毎に、前記動作回数カウンタのカウント値を取得し、該カウント値を前記カウント対象の動作の回数の概数として認識することも好ましい。   Alternatively, in the operation number counting device of the present invention, a second operation number counter that counts the number of detection signals output from the operation detection unit, an operation number setting register that can set an arbitrary operation number, A comparator that compares the set value of the operation count setting register with the count value of the second operation count counter and outputs a match signal when both values match, the second operation The number counter resets the count value of the second operation number counter every time a coincidence signal is received from the comparator, while the control means performs the operation number of times each time a coincidence signal is received from the comparator. It is also preferable to acquire the count value of the counter and recognize the count value as an approximate number of times of the operation to be counted.

この場合、動作回数設定レジスタに任意の値を設定することにより、制御手段による動作回数カウンタのカウント値の取得間隔を任意に設定することができる。よって、例えば使用者がカウント値の取得操作を行わないでも、任意の動作回数毎(例えば100回毎、或いは、1000回毎など)に、自動的に動作回数が取得され、その取得結果を動作回数の概数として認識することができる。   In this case, by setting an arbitrary value in the operation number setting register, it is possible to arbitrarily set the interval for acquiring the count value of the operation number counter by the control means. Therefore, for example, even if the user does not perform a count value acquisition operation, the number of operations is automatically acquired every arbitrary number of operations (for example, every 100 times, every 1000 times, etc.), and the acquired result is operated. It can be recognized as an approximate number of times.

また、動作検出部は、集積回路内に設けることができ、第2の動作回数カウンタ、動作回数設定レジスタ及びコンパレータは、それぞれ簡単な論理回路により構成することができる。このため、前記動作検出部、前記動作回数カウンタ、前記第2の動作回数カウンタ、前記動作回数設定レジスタ及び前記コンパレータは、同一の集積回路内に集積されていることが好ましい。   Further, the operation detection unit can be provided in the integrated circuit, and the second operation number counter, the operation number setting register, and the comparator can be configured by simple logic circuits. Therefore, it is preferable that the operation detection unit, the operation number counter, the second operation number counter, the operation number setting register, and the comparator are integrated in the same integrated circuit.

本発明の動作回数カウント装置においては、前記動作回数設定レジスタに対する設定値の設定を、前記制御手段が行うことが好ましい。   In the operation number counting device of the present invention, it is preferable that the control means sets a setting value for the operation number setting register.

本発明の動作回数カウント装置においては、前記制御手段は、例えばCPUを備えて構成されていることが好ましい。   In the operation frequency counting device of the present invention, it is preferable that the control means includes, for example, a CPU.

本発明の動作回数カウント装置においては、前記動作検出部は、加速度を検出する加速度検出部と、前記加速度検出部により検出された加速度が前記カウント対象の動作が生じたと判定すべき加速度であるか否かを判定する加速度判定部と、前記加速度判定部により前記動作が生じたと判定される毎に前記検出信号を出力する検出信号出力部と、を備えて構成されていることが好ましい。   In the motion number counting device of the present invention, the motion detection unit includes an acceleration detection unit that detects acceleration, and whether the acceleration detected by the acceleration detection unit is an acceleration that should be determined that the operation to be counted has occurred. It is preferable to include an acceleration determination unit that determines whether or not and a detection signal output unit that outputs the detection signal each time the acceleration determination unit determines that the operation has occurred.

本発明の動作回数カウント装置は、例えば、歩数をカウントする歩数カウント装置であることを好ましい例としている。この場合、前記動作検出部は、前記カウント対象の動作としての歩行を検出する毎に前記検出信号を出力するものである。   The operation count device of the present invention is preferably a step count device that counts the number of steps, for example. In this case, the motion detection unit outputs the detection signal every time it detects walking as the motion to be counted.

また、本発明の携帯通信端末装置(例えば、携帯電話機)は、本発明の動作回数カウント装置を備えることを特徴としている。   A mobile communication terminal device (for example, a mobile phone) according to the present invention includes the operation frequency counting device according to the present invention.

また、本発明の動作回数カウント方法は、カウント対象の動作を検出して検出信号を出力する検出信号出力工程と、前記検出信号の数を動作回数カウンタによりカウントする動作回数カウント工程と、前記動作回数カウンタによるカウント値を制御手段が取得するカウント値取得工程と、を備えることを特徴としている。   In addition, the operation number counting method of the present invention includes a detection signal output step of detecting the operation to be counted and outputting a detection signal, an operation number counting step of counting the number of the detection signals by an operation number counter, and the operation And a count value obtaining step in which the control means obtains the count value obtained by the number counter.

本発明の動作回数カウント方法においては、前記検出信号の数を第2の動作回数カウンタによりカウントする第2の動作回数カウント工程と、任意の動作回数を動作回数設定レジスタに設定する動作回数設定工程と、前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力する一致信号出力工程と、前記第2の動作回数カウンタが、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットするリセット工程と、前記制御手段が、前記コンパレータから一致信号を受信する毎に、該一致信号の受信回数と前記動作回数設定レジスタの設定値との積を、前記カウント対象の動作の回数の概数として演算する概数演算工程と、を更に備えることが好ましい。   In the operation number counting method of the present invention, a second operation number counting step for counting the number of the detection signals by a second operation number counter, and an operation number setting step for setting an arbitrary operation number in the operation number setting register. A match signal output step of comparing the set value of the operation count setting register with the count value of the second operation count counter and outputting a match signal when both values match, and the second Each time the operation number counter receives a coincidence signal from the comparator, a reset step of resetting the count value of the second operation number counter, and whenever the control means receives a coincidence signal from the comparator, Approximate calculation for calculating the product of the number of times of reception of the coincidence signal and the set value of the operation count setting register as an approximate number of the operations to be counted. Preferably further comprising the steps, a.

或いは、本発明の動作回数カウント方法においては、前記検出信号の数を第2の動作回数カウンタによりカウントする第2の動作回数カウント工程と、任意の動作回数を動作回数設定レジスタに設定する動作回数設定工程と、前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力する一致信号出力工程と、前記第2の動作回数カウンタが、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットするリセット工程と、前記制御手段が、前記コンパレータから一致信号を受信する毎に、前記動作回数カウンタのカウント値を取得し、該カウント値を前記カウント対象の動作の回数の概数として認識する概数認識工程と、を更に備えることも好ましい。   Alternatively, in the operation number counting method of the present invention, a second operation number counting step for counting the number of the detection signals by a second operation number counter, and an operation number for setting an arbitrary operation number in the operation number setting register. A matching signal output step of comparing a setting step, a set value of the operation count setting register and a count value by the second operation count counter, and outputting a match signal when both values match; Each time the second operation number counter receives a coincidence signal from the comparator, a reset step for resetting the count value of the second operation number counter, and each time the control means receives a coincidence signal from the comparator. In addition, the count value of the operation number counter is acquired, and the count value is recognized as an approximate number of the number of operations to be counted. It is also preferably further comprises a step.

本発明の動作回数カウント方法は、例えば、歩数をカウントする歩数カウント方法であることを好ましい例としている。この場合、前記信号出力工程では、前記カウント対象の動作としての歩行を検出する毎に前記検出信号を出力する。   For example, the operation count method of the present invention is preferably a step count method that counts the number of steps. In this case, in the signal output step, the detection signal is output every time the walking as the operation to be counted is detected.

本発明によれば、動作検出部と動作回数カウンタとの協働によりカウント動作を行うことができるので、CPUなどからなる制御手段では、カウント動作用のプログラムを要しないとともに、カウント動作を行う必要がない。よって、回数カウント対象となる動作(例えば歩行など)を行う期間中、常に制御手段が稼働状態となってしまうことを防止でき、該制御手段の処理負担が軽減される。すなわち、例えば使用者が動作のカウント値を認識したい場合にのみ、制御手段による動作回数カウンタのカウント値の取得動作を行わせ、該カウント値を認識することができるので、制御手段はカウント動作のために動作検出部を常時監視する必要がなく、該制御手段の動作時間が短時間で済む。これにより、制御手段、ひいては動作回数カウント装置全体の消費電力を抑制することができる。よって、例えば、動作回数カウント装置を携帯電話機などの携帯通信端末装置に搭載した場合にも、その携帯通信端末装置の電池の持続性を悪化させることがない。   According to the present invention, the count operation can be performed by the cooperation of the operation detection unit and the operation frequency counter. Therefore, the control unit including the CPU does not need a program for the count operation and needs to perform the count operation. There is no. Therefore, it is possible to prevent the control means from being always in an operating state during a period of performing an operation (for example, walking, etc.) that is the object of counting the number of times, and the processing load on the control means is reduced. That is, for example, only when the user wants to recognize the count value of the operation, the control unit can perform the operation of acquiring the count value of the operation counter and can recognize the count value. Therefore, it is not necessary to constantly monitor the operation detection unit, and the operation time of the control means is short. As a result, the power consumption of the control means, and thus the entire operation counting device, can be suppressed. Therefore, for example, even when the operation count device is mounted on a mobile communication terminal device such as a mobile phone, the sustainability of the battery of the mobile communication terminal device is not deteriorated.

以下、図面を参照して、本発明に係る実施形態について説明する。   Embodiments according to the present invention will be described below with reference to the drawings.

図1は本発明の実施形態に係る歩数カウント装置(動作回数カウント装置)100の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a step count device (operation count device) 100 according to an embodiment of the present invention.

図1に示すように、本実施形態に係る歩数カウント装置100は、歩行を検出する歩行検出部(動作検出部)10と、全歩数をカウントする全歩数読み出しカウンタ(動作回数カウンタ)13と、全歩数読み出しカウンタ13のカウント値を取得可能なCPU20と、CPU20の制御プログラムなどを記憶したROM21と、CPU20の作業領域などとして機能するRAM22と、CPU20による歩数の概数の演算処理間隔を定めるための任意の歩数が設定される歩数設定レジスタ(動作回数設定レジスタ)12と、この歩数設定レジスタ12に設定された歩数毎にリセットされる歩数カウンタ(第2の動作回数カウンタ)11と、歩数カウンタ11のカウント値と歩数設定レジスタ12の設定値との比較動作を行うコンパレータ14と、歩数(カウント値)の報知動作を行う報知部23と、歩数カウント装置100の使用者が操作を行うための操作部24と、を備えて構成されている。なお、以上において、CPU20、ROM21及びRAM22により制御部(制御手段)30が構成されている。   As shown in FIG. 1, the step counting device 100 according to the present embodiment includes a walking detection unit (motion detection unit) 10 that detects walking, a total step number reading counter (operation number counter) 13 that counts all steps, CPU 20 capable of acquiring the count value of the total number of steps read counter 13, ROM 21 storing a control program of the CPU 20, RAM 22 functioning as a work area of the CPU 20, and the arithmetic processing interval of the approximate number of steps by the CPU 20 A step number setting register (operation number setting register) 12 in which an arbitrary number of steps is set, a step number counter (second operation number counter) 11 that is reset for each step number set in the step number setting register 12, and a step number counter 11 Comparator 14 that performs a comparison operation between the count value and the setting value of step count setting register 12 , A notification unit 23 for notifying operation of the step count (count value), and is configured to include an operation unit 24 for a user performs an operation of step count unit 100, a. In the above, the control unit (control means) 30 is configured by the CPU 20, the ROM 21 and the RAM 22.

歩行検出部10は、歩数カウント装置100の使用者の歩行を1歩検出する毎に、全歩数読み出しカウンタ13及び歩数カウンタ11に対して割り込み信号(検出信号)を出力する。   The walking detection unit 10 outputs an interrupt signal (detection signal) to the total number of steps reading counter 13 and the number of steps counter 11 every time one step of the user of the step counting device 100 is detected.

この歩行検出部10は、具体的には、例えば、加速度を検出する加速度検出部10aと、この加速度センサ部10aにより検出された加速度が、歩行が行われたと判定すべき値であるか否かを判定する加速度判定部10bと、この加速度判定部10bにより歩行が行われたと判定される毎に、全歩数読み出しカウンタ13及び歩数カウンタ11に対して割り込み信号を出力する割り込み信号出力部(検出信号出力部)10cと、を備えて構成されている。   Specifically, the walking detection unit 10 is, for example, an acceleration detection unit 10a that detects acceleration, and whether or not the acceleration detected by the acceleration sensor unit 10a is a value that should be determined as walking. And an interrupt signal output unit (detection signal) that outputs an interrupt signal to the total step number reading counter 13 and the step number counter 11 each time it is determined that walking has been performed by the acceleration determination unit 10b. Output section) 10c.

ここで、加速度検出部10aは、例えば、それぞれ平面内に含まれ、且つ、互いに直交するX軸方向及びY軸方向の合計2軸方向における加速度を検出可能に構成されているか、或いは、これら2軸方向と、該2軸方向に対して直交する方向(すなわち鉛直方向)であるZ軸方向と、を加えた合計3軸方向における加速度を検出可能に構成されている。   Here, for example, the acceleration detection unit 10a is configured to be able to detect acceleration in a total of two axial directions that are included in a plane and are orthogonal to each other in the X-axis direction and the Y-axis direction. It is configured to be able to detect acceleration in a total of three axial directions including the axial direction and the Z-axis direction that is a direction orthogonal to the two axial directions (that is, the vertical direction).

また、加速度判定部10bは、例えば、各軸方向(例えば、X軸方向及びY軸方向の合計2軸方向、或いは、X軸方向、Y軸方向及びZ軸方向の合計3軸方向)における加速度がそれぞれ基準値を超えた場合に歩行が行われたと判定する。或いは、加速度判定部10bは、例えば、各軸方向における加速度の相対関係も参酌することにより、歩行が行われたか否かを判定するようにしても良い。   In addition, the acceleration determination unit 10b, for example, acceleration in each axial direction (for example, a total of two axial directions of the X axis direction and the Y axis direction, or a total of three axial directions of the X axis direction, the Y axis direction, and the Z axis direction). When each exceeds the reference value, it is determined that walking has been performed. Or you may make it the acceleration determination part 10b determine whether the walk was performed by also considering the relative relationship of the acceleration in each axial direction, for example.

全歩数読み出しカウンタ13は、歩行検出部10からの割り込み信号が入力される毎に、使用者の歩数をカウントアップする。   The total number of steps reading counter 13 counts up the number of steps of the user every time an interrupt signal is input from the walking detector 10.

ここで、CPU20は、例えば、操作部24に対する操作に応じて、全歩数読み出しカウンタ13に対してリードアクセスし、該全歩数読み出しカウンタ13のカウント値、すなわち、使用者の全歩数を示す値を取得するようになっている。   Here, for example, the CPU 20 performs read access to the total number of steps read counter 13 according to an operation on the operation unit 24, and obtains a count value of the total number of steps read counter 13, that is, a value indicating the total number of steps of the user. To get.

更に、CPU20は、取得したカウント値を認識すると、例えば、そのカウント値を報知部23にて報知させる制御を行う。   Further, when the CPU 20 recognizes the acquired count value, for example, the CPU 20 performs control to cause the notification unit 23 to notify the count value.

報知部23は、例えば表示装置及びスピーカのうちの少なくとも一方を備えて構成され、CPU20が取得したカウント値を表示及び発音のうちの少なくとも一方により報知する。これにより、使用者は、そのカウント値、すなわち、使用者の全歩数を知ることができる。   The notification unit 23 includes, for example, at least one of a display device and a speaker, and notifies the count value acquired by the CPU 20 by at least one of display and pronunciation. Thereby, the user can know the count value, that is, the total number of steps of the user.

なお、CPU20から全歩数読み出しカウンタ13に対してカウント値を要求する要求信号を伝達する信号ライン25には、該要求信号を反転させるインバータ16が直列に挿入されている。そして、全歩数読み出しカウンタ13は、インバータ16からの入力信号がハイからローに切り替わるタイミングで、該全歩数読み出しカウンタ13のカウント値をCPU20に対して出力する。   Note that an inverter 16 for inverting the request signal is inserted in series in a signal line 25 for transmitting a request signal for requesting a count value from the CPU 20 to the total step number reading counter 13. The total step count reading counter 13 outputs the count value of the total step count reading counter 13 to the CPU 20 at the timing when the input signal from the inverter 16 switches from high to low.

また、歩数カウンタ11も、全歩数読み出しカウンタ13と同様に、歩行検出部10からの割り込み信号が入力される毎に、使用者の歩数をカウントアップする。   Also, the step counter 11 counts up the number of steps of the user each time an interrupt signal is input from the walking detector 10, as with the total step number reading counter 13.

また、CPU20は、歩数の概数を演算する処理の実行間隔を定めるために、予め歩数設定レジスタ12に任意の値を設定する。ここで、CPU20による歩数設定レジスタ12の設定値の設定処理は、例えば、操作部24に対する操作に応じて行われる。すなわち、使用者は、操作部24を操作することにより、所望の歩数を歩数設定レジスタ12に設定することができる。   Further, the CPU 20 sets an arbitrary value in the step count setting register 12 in advance in order to determine the execution interval of the process for calculating the approximate number of steps. Here, the setting processing of the setting value of the step count setting register 12 by the CPU 20 is performed according to an operation on the operation unit 24, for example. That is, the user can set a desired number of steps in the step count setting register 12 by operating the operation unit 24.

また、コンパレータ14は、歩数設定レジスタ12に設定された値と、歩数カウンタ11によるカウント値と、の比較動作を行い、双方の値が一致する毎に、一致信号を歩数カウンタ11及びCPU20に対して出力する。   The comparator 14 performs a comparison operation between the value set in the step count setting register 12 and the count value by the step count counter 11, and each time both values match, a match signal is sent to the step count counter 11 and the CPU 20. Output.

CPU20は、コンパレータ14からの一致信号が入力される毎に、歩数設定レジスタ12の設定値と、それまでにコンパレータ14から入力された一致信号の数と、の乗算結果を、利用者のその時点での歩数の概数として認識する。なお、CPU20は、コンパレータ14からの一致信号の入力数をカウントアップするようになっている。すなわち、RAM22には、コンパレータ14からCPU20への一致信号の入力数を記憶保持する記憶領域が形成されている。そして、CPU20は、コンパレータ14からの一致信号が入力される毎に、その記憶領域の内容を更新することにより、該一致信号の入力数をカウントし、こうしてカウントした値と歩数設定レジスタ12の設定値とを乗算することにより、利用者のその時点での歩数の概数を演算することが可能となっている。   Each time the coincidence signal from the comparator 14 is input, the CPU 20 multiplies the set value of the step count setting register 12 and the number of coincidence signals input from the comparator 14 so far by the user's time point. Recognized as an approximate number of steps in The CPU 20 counts up the number of coincidence signals input from the comparator 14. That is, the RAM 22 has a storage area for storing and holding the number of coincidence signals input from the comparator 14 to the CPU 20. Each time the coincidence signal is input from the comparator 14, the CPU 20 updates the contents of the storage area to count the number of coincidence signals input, and the value thus counted and the setting of the step count setting register 12. By multiplying the value, it is possible to calculate the approximate number of steps of the user at that time.

また、CPU20は、歩数の概数を認識すると、その概数を報知部23にて報知させる制御を行う。   In addition, when the CPU 20 recognizes the approximate number of steps, the CPU 20 performs control so that the notification unit 23 notifies the approximate number.

要するに、歩数設定レジスタ12に設定した歩数を使用者が歩く毎に、CPU20が歩数の概数を演算処理し、この演算結果が報知部23にて報知されるので、使用者は常に歩数の概数を認識しながら歩行することができる。   In short, each time the user walks the number of steps set in the step number setting register 12, the CPU 20 calculates the approximate number of steps, and the calculation result is notified by the notification unit 23. Therefore, the user always calculates the approximate number of steps. Can walk while recognizing.

また、歩数カウンタ11は、コンパレータ14からの一致信号が入力されると、該歩数カウンタ11のカウント値をリセットして「0」にする。   In addition, when the coincidence signal from the comparator 14 is input, the step counter 11 resets the count value of the step counter 11 to “0”.

なお、歩数カウンタ11及び全歩数読み出しカウンタ13のカウント値は、使用者による操作部24に対する操作に応じても、CPU20によりリセットされ、「0」となる。すなわち、操作部24に対してリセット操作が行われると、CPU20から歩数カウンタ11及び全歩数読み出しカウンタ13に対してカウンタリセット信号が出力され、これら両カウンタ11,13のカウント値がリセットされる。   Note that the count values of the step count counter 11 and the total step count reading counter 13 are reset by the CPU 20 to “0” even when the user operates the operation unit 24. That is, when a reset operation is performed on the operation unit 24, a counter reset signal is output from the CPU 20 to the step count counter 11 and the total step count reading counter 13, and the count values of both the counters 11 and 13 are reset.

ここで、CPU20から歩数カウンタ11に対して出力されるカウンタリセット信号と、コンパレータ14から歩数カウンタ11に対して出力される一致信号は、NOR回路15に入力され、このNOR回路15から出力される信号が歩数カウンタ11に入力されるようになっている。そして、歩数カウンタ11は、NOR回路15からの出力信号がハイからローに切り替わるタイミングで、該歩数カウンタ11のカウント値をリセットする。すなわち、歩数カウンタ11は、コンパレータ14からの一致信号と、CPU20からのカウンタリセット信号と、のうちの少なくとも一方が出力されたタイミングにて、リセットされる。   Here, the counter reset signal output from the CPU 20 to the step count counter 11 and the coincidence signal output from the comparator 14 to the step count counter 11 are input to the NOR circuit 15 and output from the NOR circuit 15. A signal is input to the step counter 11. The step count counter 11 resets the count value of the step count counter 11 at the timing when the output signal from the NOR circuit 15 switches from high to low. That is, the step count counter 11 is reset at a timing when at least one of the coincidence signal from the comparator 14 and the counter reset signal from the CPU 20 is output.

また、以上の構成要素のうち、歩行検出部10は、例えば集積回路(IC:Integrated Circuit)内に設けることができる。また、歩数カウンタ11、歩数設定レジスタ12、全歩数読み出しカウンタ13、コンパレータ14、NOR回路15及びインバータ16は、それぞれ簡単な論理回路により構成することができる。よって、これら歩行検出部10、歩数カウンタ11、歩数設定レジスタ12、全歩数読み出しカウンタ13、コンパレータ14、NOR回路15及びインバータ16は、全て、同一のIC内に集積化することが好ましい。   In addition, among the above components, the walking detection unit 10 can be provided in, for example, an integrated circuit (IC: Integrated Circuit). Further, the step count counter 11, the step count setting register 12, the total step count reading counter 13, the comparator 14, the NOR circuit 15 and the inverter 16 can be configured by simple logic circuits. Therefore, it is preferable that the walking detection unit 10, the step count counter 11, the step count setting register 12, the total step count reading counter 13, the comparator 14, the NOR circuit 15 and the inverter 16 are all integrated in the same IC.

歩数カウント装置100は、以上のように構成されている。   The step count device 100 is configured as described above.

なお、本実施形態に係る歩数カウント装置100は、例えば、携帯電話機或いはその他の携帯通信端末装置に搭載されていることを好ましい一例としている。 この場合、CPU20、ROM21及びRAM22は、例えば、携帯通信端末装置が本来備えるCPU、ROM及びRAMであることが挙げられ、同様に、報知部23は、携帯端末装置が本来備える表示装置(例えば液晶表示装置)或いはスピーカであることが挙げられる。   Note that the step counting device 100 according to the present embodiment is preferably mounted on, for example, a mobile phone or other mobile communication terminal device. In this case, the CPU 20, the ROM 21, and the RAM 22 are, for example, the CPU, the ROM, and the RAM that are originally provided in the mobile communication terminal device. Similarly, the notification unit 23 is the display device that is provided in the mobile terminal device (for example, a liquid crystal display). Display device) or a speaker.

次に、動作を説明する。   Next, the operation will be described.

図2及び図3は、図1の歩数カウント装置100による歩数カウント動作の流れを示すフローチャートであり、このうち図2は前半部分を、図3は後半部分を、それぞれ示す。   2 and 3 are flowcharts showing the flow of the step counting operation by the step counting device 100 of FIG. 1, in which FIG. 2 shows the first half and FIG. 3 shows the second half.

先ず、使用者は、歩数の概数を演算する間隔を定めるために、所望の設定値を設定する操作を操作部24に対して行う。この操作を受け付けると、CPU20は、歩数設定レジスタ12に対して設定値を設定する。具体的には、例えば、100歩毎に、その時点での歩数を知りたければ、歩数設定レジスタ12に対し設定値として「100」を設定する操作を行うと良い(ステップS1)。   First, the user performs an operation for setting a desired set value on the operation unit 24 in order to determine an interval for calculating the approximate number of steps. When receiving this operation, the CPU 20 sets a set value in the step count setting register 12. Specifically, for example, if it is desired to know the number of steps at that time every 100 steps, an operation of setting “100” as a set value to the step number setting register 12 may be performed (step S1).

次に、使用者が、歩数カウント装置100による歩数カウント動作を開始させる操作を行う(ステップS2)。すなわち、例えば、歩数カウント装置100が携帯電話機に搭載されている場合、該携帯電話機のメニュー画面から歩数機能を選択してONに設定する。すると、歩行検出部10が起動し、歩数カウント装置100を携帯した使用者の歩行を1歩検出する毎に、該歩行検出部10から割り込み信号が出力される状態に移行する(ステップS2)。   Next, the user performs an operation for starting the step counting operation by the step counting device 100 (step S2). That is, for example, when the step count device 100 is mounted on a mobile phone, the step count function is selected from the menu screen of the mobile phone and set to ON. Then, the walking detection unit 10 is activated, and each time one step of the walking of the user carrying the step count device 100 is detected, the walking detection unit 10 shifts to an interrupt signal output state (step S2).

よって、歩行検出部10から割り込み信号が出力される毎に、歩数カウンタ11及び全歩数読出しカウンタ13は、それぞれカウント値をカウントアップする(ステップS3)。   Therefore, every time an interrupt signal is output from the walking detection unit 10, the step count counter 11 and the total step count reading counter 13 each count up the count value (step S3).

また、コンパレータ14では、歩数設定レジスタ12に設定された値と、歩数カウンタ11によるカウント値と、の比較動作を行う(ステップS4)。   The comparator 14 compares the value set in the step count setting register 12 with the count value by the step count counter 11 (step S4).

この比較により双方の値が一致した場合は(ステップS5のYes)、コンパレータ14からCPU20、並びに、(NOR回路15を介して)歩数カウンタ11に対して、一致信号が出力される(ステップS6)。   If the two values match according to this comparison (Yes in step S5), a coincidence signal is output from the comparator 14 to the CPU 20 and the step count counter 11 (via the NOR circuit 15) (step S6). .

一致信号が出力されると、歩数カウンタ11は値をリセットして「0」に戻る(ステップS7)。   When the coincidence signal is output, the step count counter 11 resets the value and returns to “0” (step S7).

また、CPU20は、割り込み信号としてこの一致信号を取り込み、それまでにCPU20に対して入力された一致信号の数と、歩数設定レジスタ12の設定値と、の積を演算する(ステップS8)。この演算結果により、CPU20は、それまでの歩数の概数を認識し、例えば、この認識した歩数を報知部23にて報知させる制御を行う。つまり、設定した歩数を歩く毎に、報知部23により報知される歩数の概数が更新されることとなる。よって、使用者は、この報知を確認することにより、常時、それまでの歩数の概数を知ることができる。   The CPU 20 takes in the coincidence signal as an interrupt signal, and calculates the product of the number of coincidence signals input to the CPU 20 so far and the set value of the step count setting register 12 (step S8). Based on the calculation result, the CPU 20 recognizes the approximate number of steps so far, and performs control for causing the notification unit 23 to notify the recognized number of steps, for example. That is, every time the set number of steps is walked, the approximate number of steps reported by the notification unit 23 is updated. Therefore, the user can always know the approximate number of steps so far by confirming this notification.

他方、コンパレータ14の比較により双方の値が一致しない場合は(ステップS5のNo)、歩数カウンタ11は、カウントを継続する(ステップS3以降の処理を繰り返す)。   On the other hand, if the two values do not match due to the comparison by the comparator 14 (No in step S5), the step count counter 11 continues counting (repeats the processing after step S3).

歩数カウンタ11は、その後も使用者の歩行に伴いカウントを継続し、コンパレータ14で比較の結果、一致するごとに出力される一致信号によってリセットし、「0」に戻るという動作を繰り返す。   The step counter 11 continues to count as the user walks thereafter, and resets by a coincidence signal that is output every time the comparator 14 matches as a result of comparison, and returns to “0”.

同様に、全歩数読み出しカウンタ13は、その後も使用者の歩行に伴いカウントを継続する。   Similarly, the total number of steps reading counter 13 continues counting with the user's walking thereafter.

また、使用者が、ある時点での正確な全歩数を確認するための操作を行った場合(ステップS9のYes)、CPU20は、全歩数読出しカウンタ13にリードアクセスしてそのカウント値、すなわち正確な全歩数の情報を取得する(ステップS10)。CPU20は、取得した情報に基づき、その時点での全歩数を報知部23にて報知させる制御を行う(ステップS11)。使用者は、これにより、その時点での正確な全歩数を知ることができる。   When the user performs an operation for confirming the accurate total number of steps at a certain time (Yes in step S9), the CPU 20 performs read access to the total number of steps read counter 13, and the count value, that is, the accurate Information on the total number of steps is acquired (step S10). Based on the acquired information, the CPU 20 performs control to notify the total number of steps at that time by the notification unit 23 (step S11). Thus, the user can know the exact total number of steps at that time.

その後も、歩数カウンタ11及び全歩数読み出しカウンタ13は、使用者の歩行に伴いカウントを継続する(ステップS12)。   Thereafter, the step count counter 11 and the total step count readout counter 13 continue counting as the user walks (step S12).

また、使用者が歩数のカウント値をリセットする操作(リセット操作)を行った場合は(ステップS13のYes)、歩数カウンタ11及び全歩数読出しカウンタ13は、それぞれのカウント値をリセットして「0」に戻り(ステップS14)、その後は新たなカウント動作(ステップS3以降の動作)に備える。ここで、リセット操作がなされると、CPU20は、コンパレータ14からCPU20への一致信号の入力数を記憶保持しているRAM22の記憶領域もリセットする(一致信号のカウント値もリセットする)。   When the user performs an operation (reset operation) for resetting the count value of the number of steps (Yes in step S13), the step count counter 11 and the total step count reading counter 13 reset the respective count values to “0”. (Step S14), and then prepare for a new counting operation (operation after Step S3). Here, when a reset operation is performed, the CPU 20 also resets the storage area of the RAM 22 that stores the number of coincidence signals input from the comparator 14 to the CPU 20 (the count value of the coincidence signal is also reset).

他方、使用者によるリセット操作がなされない場合は、その後も歩数カウンタ11及び全歩数読み出しカウンタ13は、使用者の歩行に伴いカウントを継続する(ステップS15)。   On the other hand, when the reset operation by the user is not performed, the step count counter 11 and the total step count read counter 13 continue counting with the user walking (step S15).

また、使用者が、歩数カウント装置100による歩数カウント動作を終了させる操作を行った場合は(ステップS16のYes)、歩数カウント動作が停止する。すなわち、歩行検出部10が停止し、使用者の歩行を検出しない状態となる。よって、歩数カウント装置100を携帯したままの使用者が歩行しても、歩数カウンタ11及び全歩数読出しカウンタ13はカウントアップを行わず、それぞれのカウント値はそのままの値に保持される(ステップS17)。   In addition, when the user performs an operation to end the step counting operation by the step counting device 100 (Yes in step S16), the step counting operation is stopped. That is, the walking detection unit 10 stops and does not detect the user's walking. Therefore, even if the user who walks with the step count device 100 walks, the step count counter 11 and the total step count read counter 13 do not count up, and the respective count values are held as they are (step S17). ).

その後、使用者が、歩数機能を再度ONにした場合(ステップS2)、歩数カウンタ11及び全歩数読出しカウンタ13は、それぞれ保持したカウント値からカウントを再開する(ステップS3以降の動作)。   Thereafter, when the user turns on the step count function again (step S2), the step count counter 11 and the total step count read counter 13 restart counting from the held count values (operations after step S3).

他方、使用者が歩数カウント装置100による歩数カウント動作を終了させる操作を行わない場合は(ステップS16のNo)、その後も歩数カウンタ11及び全歩数読み出しカウンタ13は、使用者の歩行に伴いカウントを継続する(ステップS18)。   On the other hand, when the user does not perform an operation of ending the step counting operation by the step counting device 100 (No in step S16), the step counter 11 and the total step reading counter 13 continue to count as the user walks. Continue (step S18).

以上のような実施形態によれば、歩行を1歩検出する毎に割り込み信号を出力する歩行検出部10と、この歩行検出部10からの割り込み信号の入力数をカウントする全歩数読み出しカウンタ13とを備えるので、これら歩行検出部10と全歩数読み出しカウンタ13との協働により歩数のカウント動作を行うことができる。よって、制御部30のROM21には、カウント動作用のプログラムを備える必要がないとともに、該制御部30ではカウント動作を行う必要がなく、該制御部30の処理負担を抑制することができる。すなわち、使用者が歩数のカウント値を認識したい場合にのみ操作部24を操作し、全歩数読み出しカウンタ13のカウント値の取得動作をCPU20に行わせ、該カウント値を認識することができるので、CPU20は歩数カウントのために歩行検出部10を常時監視する必要がなく、該CPU20の動作時間が短時間で済む。よって、使用者が歩行を行う期間中、常に制御部30のCPU20が稼働状態となってしまうことを防止できる。その結果、制御部30、ひいては、歩数カウント装置100全体の消費電力を抑制することができる。よって、歩数カウント装置100は、例えば、携帯電話機などの携帯通信端末装置に搭載した場合にも、その携帯通信端末装置の電池の持続性を悪化させることがない。   According to the embodiment as described above, the walk detection unit 10 that outputs an interrupt signal every time one walk is detected, and the total step number reading counter 13 that counts the number of input interrupt signals from the walk detection unit 10; Therefore, the step counting operation can be performed in cooperation with the walking detector 10 and the total step reading counter 13. Therefore, the ROM 21 of the control unit 30 does not need to be provided with a count operation program, and the control unit 30 does not need to perform a count operation, so that the processing load on the control unit 30 can be suppressed. That is, only when the user wants to recognize the count value of the number of steps, the operation unit 24 is operated, and the CPU 20 performs the operation of acquiring the count value of the total number of steps read counter 13 so that the count value can be recognized. The CPU 20 does not need to constantly monitor the walking detector 10 for counting the number of steps, and the operation time of the CPU 20 is short. Therefore, it can prevent that CPU20 of the control part 30 will always be in an operation state during the period when a user walks. As a result, it is possible to suppress power consumption of the control unit 30, and by extension, the total number of steps counting device 100. Therefore, even when the step count device 100 is mounted on a mobile communication terminal device such as a mobile phone, the battery sustainability of the mobile communication terminal device is not deteriorated.

また、全歩数読み出しカウンタ13とは別に、歩行検出部10からの割り込み信号の入力数をカウントする歩数カウンタ11と、任意の設定値が設定される歩数設定レジスタ12と、歩数設定レジスタ12の設定値と歩数カウンタ11のカウント値との比較動作により一致を検出した場合に一致信号を出力するコンパレータ14とを備え、CPU20は、コンパレータ14からの一致信号を受信する毎に、それまでの一致信号の受信回数と歩数設定レジスタ12の設定値との積を全歩数の概数として演算するので、歩数設定レジスタ12に任意の値を設定することによって、CPU20による演算処理間隔(歩数の概数の演算処理の間隔)を決定する歩数を任意に設定することができる。よって、CPU20から全歩数読み出しカウンタ13に対するカウント値の取得動作を行わないでも、任意の歩数毎(例えば100歩毎、或いは、1000歩毎など)に、自動的に歩数が演算され、その演算結果を概数として認識することができる。   In addition to the total number of steps read counter 13, a step number counter 11 that counts the number of interrupt signals input from the walking detection unit 10, a step number setting register 12 in which an arbitrary set value is set, and a setting of the step number setting register 12 are set. A comparator 14 that outputs a coincidence signal when a coincidence is detected by a comparison operation between the value and the count value of the step counter 11, and the CPU 20 receives the coincidence signal from the comparator 14 every time the coincidence signal is received. Is calculated as an approximate number of all the steps, so by setting an arbitrary value in the step setting register 12, an arithmetic processing interval (calculation processing of the approximate number of steps) is performed by the CPU 20. The number of steps for determining the interval) can be arbitrarily set. Therefore, the number of steps is automatically calculated at every arbitrary number of steps (for example, every 100 steps or every 1000 steps, for example) without performing the count value acquisition operation for the total number of steps read counter 13 from the CPU 20, and the calculation result Can be recognized as an approximate number.

更に、歩行検出部10をIC内に設け、そのIC内に、歩数カウンタ11、歩数設定レジスタ12、全歩数読み出しカウンタ13、コンパレータ14、NOR回路15及びインバータ16も設けることにより、回路構成を簡略化することができる。   Further, the walk detection unit 10 is provided in the IC, and the circuit configuration is simplified by providing the step count counter 11, the step count setting register 12, the total step count reading counter 13, the comparator 14, the NOR circuit 15 and the inverter 16 in the IC. Can be

なお、上記の実施形態では、コンパレータ14からの一致信号をCPU20が受信する毎に、該CPU20による演算処理によって全歩数の概数を求める例を説明したが、本発明はこの例に限らず、コンパレータ14からの一致信号をCPU20が受信する毎に、該CPU20から全歩数読み出しカウンタ13に対してカウント値のリードアクセスを行うことにより、全歩数の概数を認識するようにしても良い。   In the above-described embodiment, an example has been described in which the CPU 20 receives the coincidence signal from the comparator 14 and obtains the approximate number of steps by the arithmetic processing performed by the CPU 20. However, the present invention is not limited to this example. Each time the CPU 20 receives a coincidence signal from 14, the CPU 20 may perform read access of the count value to the total number of steps read counter 13, thereby recognizing the approximate number of all the steps.

また、上記の実施形態では、全歩数読み出しカウンタ13のカウント値のCPU20による取得(並びに認識及び報知)を、使用者の操作に応じて行う例を説明したが、本発明はこの例に限らず、例えば、予め設定された時間間隔毎に、CPU20によって全歩数読み出しカウンタ13のカウント値の取得(並びに認識及び報知)を行うようにしても良い。   In the above-described embodiment, the example in which the CPU 20 acquires (and recognizes and notifies) the count value of the total number of steps read counter 13 according to the operation of the user has been described. However, the present invention is not limited to this example. For example, the count value of the total step number reading counter 13 may be acquired (and recognized and notified) by the CPU 20 at every preset time interval.

また、上記の実施形態では、カウント対象の動作として、歩行(歩数)を例示したが、本発明はこの例に限らず、例えば、スクワット或いはその他の反復運動の回数をカウントする動作回数カウント装置にも同様に適用することができる。更に、本発明は、人の運動の回数(歩数やスクワットの回数)に限らず、例えば、人以外の動物の運動の回数をカウントする装置や、或いは、物品や装置の動作回数をカウントする装置に対しても、同様に適用することができる。   In the above embodiment, walking (the number of steps) is exemplified as the operation to be counted. However, the present invention is not limited to this example. For example, the operation number counting device counts the number of squats or other repetitive movements. Can be applied similarly. Furthermore, the present invention is not limited to the number of human movements (number of steps or squats), for example, a device that counts the number of movements of animals other than humans, or a device that counts the number of movements of articles and devices. The same applies to the above.

本発明の実施形態に係る歩数カウント装置の構成を示すブロック図である。It is a block diagram which shows the structure of the step count device which concerns on embodiment of this invention. 図1の歩数カウント装置の動作を示す一連のフローチャートの前半部分である。It is the first half part of a series of flowcharts showing the operation of the step count device of FIG. 図1の歩数カウント装置の動作を示す一連のフローチャートの後半部分である。It is the second half part of a series of flowcharts which show operation | movement of the step count apparatus of FIG.

符号の説明Explanation of symbols

10 歩行検出部(動作検出部)
10a 加速度検出部
10b 加速度判定部
10c 割込信号出力部(検出信号出力部)
11 歩数カウンタ(第2の動作回数カウンタ)
12 歩数設定レジスタ(動作回数設定レジスタ)
13 全歩数読み出しカウンタ(動作回数カウンタ)
14 コンパレータ
20 CPU(制御手段を構成する)
21 ROM(制御手段を構成する)
22 RAM(制御手段を構成する)
24 操作部
30 制御部(制御手段)
10 Walking detector (motion detector)
10a Acceleration detection unit 10b Acceleration determination unit 10c Interrupt signal output unit (detection signal output unit)
11 Step counter (second operation counter)
12 Step setting register (Operation count setting register)
13 Total steps reading counter (operation counter)
14 Comparator 20 CPU (constituting control means)
21 ROM (constituting control means)
22 RAM (constitutes control means)
24 operation unit 30 control unit (control means)

Claims (16)

カウント対象の動作を検出する毎に検出信号を出力する動作検出部と、
前記動作検出部から出力される検出信号の数をカウントする動作回数カウンタと、
前記動作回数カウンタのカウント値を取得して該カウント値を認識することが可能な制御手段と、
を備えることを特徴とする動作回数カウント装置。
An operation detection unit that outputs a detection signal each time an operation to be counted is detected;
An operation number counter for counting the number of detection signals output from the operation detection unit;
Control means capable of acquiring the count value of the operation number counter and recognizing the count value;
An operation frequency counting apparatus comprising:
使用者に操作される操作部を更に備え、
前記制御手段は、前記操作部に対する操作に応じて、前記動作回数カウンタのカウント値を取得し、該カウント値を認識することを特徴とする請求項1に記載の動作回数カウント装置。
Further provided with an operation unit operated by the user,
The operation number counting device according to claim 1, wherein the control unit acquires a count value of the operation number counter in accordance with an operation on the operation unit and recognizes the count value.
前記動作検出部及び前記動作回数カウンタは、同一の集積回路内に集積されていることを特徴とする請求項1又は2に記載の動作回数カウント装置。   3. The operation frequency counting device according to claim 1, wherein the operation detection unit and the operation frequency counter are integrated in the same integrated circuit. 前記動作検出部から出力される検出信号の数をカウントする第2の動作回数カウンタと、
任意の動作回数を設定可能な動作回数設定レジスタと、
前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力するコンパレータと、
を更に備え、
前記第2の動作回数カウンタは、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットする一方で、
前記制御手段は、前記コンパレータから一致信号を受信する毎に、該一致信号の受信回数と前記動作回数設定レジスタの設定値との積を、前記カウント対象の動作の回数の概数として演算することを特徴とする請求項1又は2に記載の動作回数カウント装置。
A second operation number counter for counting the number of detection signals output from the operation detection unit;
An operation count setting register that can set any number of operations, and
A comparator that compares the set value of the operation count setting register with the count value of the second operation count counter and outputs a match signal when both values match;
Further comprising
The second operation number counter resets the count value of the second operation number counter every time it receives a match signal from the comparator,
Each time the control means receives a coincidence signal from the comparator, it calculates the product of the number of times the coincidence signal is received and the set value of the operation number setting register as an approximate number of operations to be counted. The operation number counting device according to claim 1 or 2, characterized in that
前記動作検出部から出力される検出信号の数をカウントする第2の動作回数カウンタと、
任意の動作回数を設定可能な動作回数設定レジスタと、
前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力するコンパレータと、
を更に備え、
前記第2の動作回数カウンタは、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットする一方で、
前記制御手段は、前記コンパレータから一致信号を受信する毎に、前記動作回数カウンタのカウント値を取得し、該カウント値を前記カウント対象の動作の回数の概数として認識することを特徴とする請求項1又は2に記載の動作回数カウント装置。
A second operation number counter for counting the number of detection signals output from the operation detection unit;
An operation count setting register that can set any number of operations, and
A comparator that compares the set value of the operation count setting register with the count value of the second operation count counter and outputs a match signal when both values match;
Further comprising
The second operation number counter resets the count value of the second operation number counter every time it receives a match signal from the comparator,
The control means acquires a count value of the operation number counter every time a coincidence signal is received from the comparator, and recognizes the count value as an approximate number of times of the operation to be counted. 3. The operation count device according to 1 or 2.
前記動作検出部、前記動作回数カウンタ、前記第2の動作回数カウンタ、前記動作回数設定レジスタ及び前記コンパレータは、同一の集積回路内に集積されていることを特徴とする請求項4又は5に記載の動作回数カウント装置。   6. The operation detection unit, the operation number counter, the second operation number counter, the operation number setting register, and the comparator are integrated in the same integrated circuit. Operation count device. 前記動作回数設定レジスタに対する設定値の設定を、前記制御手段が行うことを特徴とする請求項4乃至6の何れか一項に記載の動作回数カウント装置。   The operation number counting device according to any one of claims 4 to 6, wherein the control unit sets a setting value for the operation number setting register. 前記制御手段は、CPU(Central Processing Unit)を備えて構成されていることを特徴とする請求項1乃至7の何れか一項に記載の動作回数カウント装置。   8. The operation frequency counting device according to claim 1, wherein the control unit includes a CPU (Central Processing Unit). 前記動作検出部は、
加速度を検出する加速度検出部と、
前記加速度検出部により検出された加速度が前記カウント対象の動作が生じたと判定すべき加速度であるか否かを判定する加速度判定部と、
前記加速度判定部により前記動作が生じたと判定される毎に前記検出信号を出力する検出信号出力部と、
を備えて構成されていることを特徴とする請求項1乃至8の何れか一項に記載の動作回数カウント装置。
The motion detector is
An acceleration detector for detecting acceleration;
An acceleration determination unit that determines whether or not the acceleration detected by the acceleration detection unit is an acceleration that should be determined that the operation to be counted has occurred;
A detection signal output unit that outputs the detection signal each time the acceleration determination unit determines that the operation has occurred;
The operation frequency counting device according to claim 1, wherein the operation frequency counting device is provided.
前記動作検出部は、前記カウント対象の動作としての歩行を検出する毎に前記検出信号を出力するものであり、
当該動作回数カウント装置は、歩数をカウントする歩数カウント装置であることを特徴とする請求項1乃至9の何れか一項に記載の動作回数カウント装置。
The motion detection unit outputs the detection signal every time walking is detected as the motion to be counted.
The operation count device according to claim 1, wherein the operation count device is a step counting device that counts the number of steps.
請求項1乃至10の何れか一項に記載の動作回数カウント装置を備えることを特徴とする携帯通信端末装置。   A mobile communication terminal device comprising the operation frequency counting device according to any one of claims 1 to 10. 当該携帯通信端末装置は、携帯電話機であることを特徴とする請求項11に記載の携帯通信端末装置。   The mobile communication terminal apparatus according to claim 11, wherein the mobile communication terminal apparatus is a mobile phone. カウント対象の動作を検出して検出信号を出力する検出信号出力工程と、
前記検出信号の数を動作回数カウンタによりカウントする動作回数カウント工程と、
前記動作回数カウンタによるカウント値を制御手段が取得するカウント値取得工程と、
を備えることを特徴とする動作回数カウント方法。
A detection signal output step of detecting the operation to be counted and outputting a detection signal;
An operation number counting step of counting the number of the detection signals by an operation number counter;
A count value acquisition step in which the control means acquires a count value by the operation number counter;
An operation frequency counting method comprising:
前記検出信号の数を第2の動作回数カウンタによりカウントする第2の動作回数カウント工程と、
任意の動作回数を動作回数設定レジスタに設定する動作回数設定工程と、
前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力する一致信号出力工程と、
前記第2の動作回数カウンタが、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットするリセット工程と、
前記制御手段が、前記コンパレータから一致信号を受信する毎に、該一致信号の受信回数と前記動作回数設定レジスタの設定値との積を、前記カウント対象の動作の回数の概数として演算する概数演算工程と、
を更に備えることを特徴とする請求項13に記載の動作回数カウント方法。
A second operation number counting step of counting the number of detection signals by a second operation number counter;
An operation frequency setting step for setting an arbitrary operation frequency in the operation frequency setting register;
A match signal output step of comparing a set value of the operation count setting register with a count value of the second operation count counter and outputting a match signal when both values match;
A reset step of resetting a count value of the second operation number counter every time the second operation number counter receives a coincidence signal from the comparator;
Each time the control means receives a coincidence signal from the comparator, an approximate number calculation that calculates the product of the number of times the coincidence signal is received and the set value of the operation number setting register as an approximate number of the number of operations to be counted. Process,
The method according to claim 13, further comprising:
前記検出信号の数を第2の動作回数カウンタによりカウントする第2の動作回数カウント工程と、
任意の動作回数を動作回数設定レジスタに設定する動作回数設定工程と、
前記動作回数設定レジスタの設定値と、前記第2の動作回数カウンタによるカウント値と、を比較し、双方の値が一致した場合に一致信号を出力する一致信号出力工程と、
前記第2の動作回数カウンタが、前記コンパレータから一致信号を受信する毎に、該第2の動作回数カウンタのカウント値をリセットするリセット工程と、
前記制御手段が、前記コンパレータから一致信号を受信する毎に、前記動作回数カウンタのカウント値を取得し、該カウント値を前記カウント対象の動作の回数の概数として認識する概数認識工程と、
を更に備えることを特徴とする請求項13に記載の動作回数カウント方法。
A second operation number counting step of counting the number of detection signals by a second operation number counter;
An operation frequency setting step for setting an arbitrary operation frequency in the operation frequency setting register;
A match signal output step of comparing a set value of the operation count setting register with a count value of the second operation count counter and outputting a match signal when both values match;
A reset step of resetting a count value of the second operation number counter every time the second operation number counter receives a coincidence signal from the comparator;
Each time the control means receives a coincidence signal from the comparator, it obtains the count value of the operation count counter, and recognizes the count value as an approximate count of the count target operations; and
The method according to claim 13, further comprising:
前記検出信号出力工程では、前記カウント対象の動作としての歩行を検出する毎に前記検出信号を出力し、
当該動作回数カウント方法は、歩数をカウントする歩数カウント方法であることを特徴とする請求項13乃至15の何れか一項に記載の動作回数カウント方法。

In the detection signal output step, the detection signal is output every time walking is detected as the operation to be counted,
The operation count method according to any one of claims 13 to 15, wherein the operation count method is a step count method for counting the number of steps.

JP2004312344A 2004-10-27 2004-10-27 Operation count device and method Expired - Fee Related JP4525294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004312344A JP4525294B2 (en) 2004-10-27 2004-10-27 Operation count device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004312344A JP4525294B2 (en) 2004-10-27 2004-10-27 Operation count device and method

Publications (2)

Publication Number Publication Date
JP2006127026A true JP2006127026A (en) 2006-05-18
JP4525294B2 JP4525294B2 (en) 2010-08-18

Family

ID=36721749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004312344A Expired - Fee Related JP4525294B2 (en) 2004-10-27 2004-10-27 Operation count device and method

Country Status (1)

Country Link
JP (1) JP4525294B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004577A (en) * 2005-06-24 2007-01-11 Seiko Epson Corp Integrated circuit device and pedometer
JP2009303058A (en) * 2008-06-16 2009-12-24 Nec Saitama Ltd Portable information terminal, display-power control method, and display-power control program
JP2009300329A (en) * 2008-06-16 2009-12-24 Toshiba Corp Information processor
CN103727959A (en) * 2013-12-31 2014-04-16 歌尔声学股份有限公司 Step counting method and step counting device
CN105953813A (en) * 2016-06-21 2016-09-21 紫光股份有限公司 Ankle type step counter based on single-shaft micro-mechanical accelerometer
KR20180060541A (en) * 2016-11-29 2018-06-07 주식회사 와이즈웰니스 Apparatus and method of measuring amount of exercise using mobile device
CN110411474A (en) * 2019-07-22 2019-11-05 杭州沃朴物联科技有限公司 Step-recording method, equipment, medium, device, chicken board and management system for breeding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001203783A (en) * 2000-01-19 2001-07-27 Yamaha Corp Portable telephone set
JP2001346782A (en) * 2000-06-06 2001-12-18 Ya Man Ltd Motion signal generating device in kinesimeter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001203783A (en) * 2000-01-19 2001-07-27 Yamaha Corp Portable telephone set
JP2001346782A (en) * 2000-06-06 2001-12-18 Ya Man Ltd Motion signal generating device in kinesimeter

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004577A (en) * 2005-06-24 2007-01-11 Seiko Epson Corp Integrated circuit device and pedometer
JP4702531B2 (en) * 2005-06-24 2011-06-15 セイコーエプソン株式会社 Integrated circuit device, pedometer
JP2009303058A (en) * 2008-06-16 2009-12-24 Nec Saitama Ltd Portable information terminal, display-power control method, and display-power control program
JP2009300329A (en) * 2008-06-16 2009-12-24 Toshiba Corp Information processor
CN103727959A (en) * 2013-12-31 2014-04-16 歌尔声学股份有限公司 Step counting method and step counting device
US10302449B2 (en) 2013-12-31 2019-05-28 Goertek Inc. Step counting method and device
CN105953813A (en) * 2016-06-21 2016-09-21 紫光股份有限公司 Ankle type step counter based on single-shaft micro-mechanical accelerometer
KR20180060541A (en) * 2016-11-29 2018-06-07 주식회사 와이즈웰니스 Apparatus and method of measuring amount of exercise using mobile device
CN110411474A (en) * 2019-07-22 2019-11-05 杭州沃朴物联科技有限公司 Step-recording method, equipment, medium, device, chicken board and management system for breeding

Also Published As

Publication number Publication date
JP4525294B2 (en) 2010-08-18

Similar Documents

Publication Publication Date Title
US9041786B2 (en) Monitoring system and monitoring terminal
US7297088B2 (en) Electronic pedometer
US8351958B2 (en) Mobile device and method for identifying location thereof
JP6238542B2 (en) Lost child search system, program, and lost child search method
US9653938B2 (en) Method and apparatus for improving electronics devices wireless charging using inertial sensors
EP2015028A2 (en) Measuring method, measuring apparatus and computer readable information recording medium for determining a walking and moving state of a person
US7596467B2 (en) Pedometer that avoids step-counting errors when switching between different display modes
JP4525294B2 (en) Operation count device and method
KR20110137253A (en) Magnetic sensor device and electronic compass apparatus
JP6204622B1 (en) Information collecting system, portable terminal device, information collecting method, and portable terminal program
JP5549924B2 (en) Pedometer, pedometer mode determination method, computer program
JP4476667B2 (en) Pedometer
KR20120033470A (en) Emergency situation detecting device based on smart phone and methode thereof
US10433806B2 (en) Operation device, control method, and X-ray imaging unit
JP2016125988A (en) Handheld terminal device and calibration method
CN107646204B (en) Positioning method and mobile device
JP6398743B2 (en) Exercise information measuring device, exercise information measuring device control method, exercise information measuring device control program
JPWO2018074073A1 (en) Electronic device, power saving control method and program
JP6376506B2 (en) Electronic device, sensor calibration determination method, and sensor calibration determination program
JP2014187667A (en) Radio communication device and data transmission method
JP2009123034A (en) Body motion detection device
JP5111261B2 (en) Electronics
JP6940813B2 (en) Step count device, step count method and program
JP2009109324A (en) Angle detector and pedometer
JP6025777B2 (en) POSITIONING DEVICE, POSITIONING METHOD, AND POSITIONING PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070911

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080807

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100511

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100524

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees