1. Field of the Invention
The present invention relates to a portable event-quantity measuring instrument such as a pedometer for measuring a quantity of events such as walking in a form of a quantity of events such as the number of steps.
2. Description of the Prior Art
Since a portable event-quantity measuring instrument such as a pedometer has limitations on a storage capacity, it has been practically difficult to store long-period data on the number of steps so as to make it possible to be referred to though it has been possible to store daily data on the number of steps so as to make it possible to be referred to. It is desired to store such number-of-step data (event-quantity data) efficiently.
For example, proposals as described below have been made. One proposal is that, in the case of measuring/storing the daily number-of-step data, it is made possible to set a starting point of a day not at zero o'clock in the morning but at an arbitrary time corresponding to a daily life pattern of a user, thereby measuring/storing the number-of-step data in a significant unit (JP 2003-99754 A). Another proposal is that, in the case where the number of steps per day is a predetermined quantity or less, the pedometer is regarded not to be used, and an average number of steps per day is obtained excluding this case (JP 2001-297318 A).
A further proposal is that, in the case of measuring/storing such measurement data as the number of steps, the data concerned is compressed, or compressed at two different types of degrees every time the number of data reaches a predetermined number, and the data is thus held in a state where the number thereof is not too large or not too small (for example, JP 09-79871 A).
Note that to measure, and accumulate/record the event quantity per day and per week itself is known.
The present invention has been made in consideration of the above-described various points, and an object of the present invention to provide a portable event-quantity measuring instrument capable of holding the event-quantity data in a significant form for the user and in a form of suppressing a storage area to the minimum.
In order to achieve the above object, a portable event-quantity measuring instrument of the present invention, includes: an event detection unit which senses an event and outputs an event signal; event-quantity counting means for counting the event signal outputted from the event detection unit and counting an event quantity, the event-quantity counting means including a daily event-quantity counter unit which daily counts the event quantity, and an absolute weekly event-quantity counter unit which counts the event quantity every absolute week defined from a specific day of a week until a day before the specific day of the next week; and event-quantity storing means for readably storing the counted event quantity, the event-quantity storing means including a daily event-quantity storage unit which stores daily event quantities over plural days, and an absolute weekly event-quantity storage unit which stores absolute weekly event quantities over plural absolute weeks.
In the portable event-quantity measuring instrument of the present invention, there is provided the “event-quantity storing means for readably storing the counted event quantity, the event-quantity storing means including a daily event-quantity storage unit which stores daily event quantities over plural days, and a weekly event-quantity storage unit which stores weekly event quantities over plural weeks”. Accordingly, even if there are limitations on the storage capacity because the measuring instrument is a portable device, the event quantity can be recorded/referred to in detail in a state where the storage area is suppressed to the minimum. Further, in the portable event-quantity measuring instrument of the present invention, the weekly counting/storing of the event quantity is performed every absolute week defined from a specific day of a week until a day before the specific day of the next week. Accordingly, in a state where many weeks have elapsed since the measurement was started, a measurement result can be read out/referred to without actually depending on the day when the measurement of the event quantity was started. Therefore, the measurement result of the event quantity is easy to understand.
Here, typically, the daily event-quantity storage unit has an area for approximately one week (approximately seven days). In such a way, though it becomes impossible to refer to daily data before a period of seven days, the data before the period of seven days is stored as the absolute weekly data, and accordingly, it is also possible to refer to such old data. However, a storage period of the daily data in the daily event-quantity storage unit may be shorter than seven days or longer than seven days if desired.
In the portable event-quantity measuring instrument of the present invention, the absolute weekly event-quantity counter unit may be configured so as to accumulate the event quantities stored in the daily event-quantity storage unit every absolute week. However, typically, not only the daily event-quantity counter unit is configured so as to count a number of the event signals outputted from the event detection unit, and to daily count the event quantities, but also the absolute weekly event-quantity counter unit is configured so as to count the number of event signals outputted from the event detection unit, and to count the event quantities every absolute week.
In this case, in the case of counting the event signals outputted from the event detection unit, not only the daily event quantities but also the absolute weekly event quantities can be directly obtained. Accordingly, the stored data is displayed without performing an arithmetic operation in the case of referring to the recent absolute weekly event quantities, thus making it possible to notify of the event quantities immediately. Specifically, a time required for the display is suppressed to the minimum, thus making it possible to avoid a standby state for the display. When a creation interval of the events is approximately 0.2 to 0.3 or more, a time between the creations is effectively utilized, and an up-to-date state is always stored. Further, in this case, it is possible to simplify/uniformalize the arithmetic operation, and accordingly, it is possible to suppress a size of a processing program to the minimum.
Typically, the portable event-quantity measuring instrument of the present invention is worn on the wrist, like a wrist watch. However, other wearable forms may be adopted, such as being put on the waist, in response to a type of the events to be measured. Depending on the case, in place of directly putting the measuring instrument on the body, the measuring instrument may be housed and carried in a baggage such as a bag.
Typically, the portable event-quantity measuring instrument of the present invention is configured by a pedometer in which the event is walking, the event signal is a walking signal, and the event quantity includes at least one quantity selected from the group consisting of a number of steps, a calorie consumption, a walking distance, and a walking time. However, the portable event-quantity measuring instrument may also be configured so as to measure another quantity such as an average walking speed (=(walking distance)/(walking time)). Further, the portable event-quantity measuring instrument may also be configured to measure, as the event, a quantity of another exercise than the walking, and the like. Further, the portable event-quantity measuring instrument may also be configured to measure another quantity such as a pulsation (heart beat) simultaneously.
In the case where the portable event-quantity measuring instrument of the present invention is configured by the pedometer, the pedometer of the present invention includes: a walking sensor which senses walking and outputs a walking signal; number-of-step counting means for counting a number of the walking signals from the walking sensor and counting a number of steps, the number-of-step counting means including a daily number-of-step counter unit which daily counts the number of steps, and an absolute weekly number-of-step counter unit which counts the number of steps every absolute week defined from a specific day of a week until a day before the specific day of the next week; and number-of-step storing means for readably storing the counted number of steps, the number-of-step storing means including a daily number-of-step storage unit which stores a daily number of steps over plural days, and an absolute weekly number-of-step storage unit which stores an absolute weekly number of steps over plural absolute weeks.
Typically, in the pedometer of the present invention, the daily number-of-step counter unit is configured to count a number of the walking signals from the walking sensor, and to daily count the number of steps, and the absolute weekly number-of-step counter unit is configured to count the number of walking signals from the walking sensor, and to count the number of steps every absolute week.
A preferred form of the present invention is illustrated in the accompanying drawings in which:
Next, a description will be made on a preferred example shown in the accompanying drawings according to a preferred embodiment of the present invention.
Note that, as shown in
The walking sensor 14 disposed in the case 20 may be of any type such as a pendulum type, a ball type, an acceleration sensing type, and others. The pedometer may further include a pulsation sensor.
The pedometer 1 has storage areas for time data TD, daily data DD, and absolute weekly data WD in the RAM 18b.
As shown in
Of the timepiece data TD, the second data TD6 is updated by the clock signal from the clock signal generation unit 12 every time interruption processing of 1 Hz is performed therefor. In this case, based on a current time, the minute data TD5, the hour data TD4, the day data TD3, the month data TD2, and the year data TD1 are updated.
As shown in
The daily data DD, that is, DDi(k) is stored in a respective daily data storage area RDDi(k) for each thereof in the RAM 18b. Here, meanings of i and k are as described above. The address of the RAM 18b can be designated by using i and k for modifying the address on the program.
In a similar way, as shown in
The absolute weekly data WD, that is, WDn(k) is stored in an absolute weekly data storage area RWDn(k) for each thereof in the RAM 18b. Here, meanings of n and k are as described above. Also in this case, the address of the RAM 18b can be designated by using n and k for modifying the address on the program.
As understood from
The daily data processing unit 40 includes a daily number-of-step processing unit 42, a daily calorie consumption processing unit 43, a daily walking distance processing unit 44, a daily walking time processing unit 45, and the display control unit 25, and the display unit 15, in addition to a seven-day counter 41. When the display is also taken into consideration, the daily data processing unit 40 further includes a display date counter 47, and a data type counter 28, which will be described later.
For example, the seven-day counter 41 is a counter in which a counter value i is changed cyclically from 1 to 7. Every time it reaches 24 o'clock, the counter 41 receives a change-of-day signal Sd from the time unit 31, and changes the counter value i by one. The contents 1, 2, 3, 4, 5, 6, and 7 of the counter 41 represent continuous seven days, respectively. Note that, every time of receiving the change-of-day signal Sd, the seven-day counter 41 issues a change-of-day alarm signal Sda. In the case of program processing, the change-of-day alarm signal Sda may be replaced by arbitrary information indicating that change-of-day processing (24-hour interruption processing) has been completed.
The daily number-of-step processing 42 includes a one-step walking data holding unit 42a, a number-of-step arithmetic operation unit 42b, and a daily number-of-step storage unit 42c. The one-step walking data holding unit 42a holds data “1” which represents one step.
The daily number-of-step storage unit 42c holds the daily number of steps DDi(1) for seven days in a daily number-of-steps storage area RDDi(1). Every time of receiving the walking pulse F from the walking detection unit 14, the number-of-step arithmetic operation unit 42b reads out the daily number of steps DDi(1) from the daily number-of-step storage area RDDi(1) corresponding to the contents i of the seven-day counter 41. Then, the number-of-step arithmetic operation unit 42b adds the held data “1” of the one-step walking data holding unit 42a to the daily number of steps DDi(1) to update the daily number of steps DDi(1), and overwrites and stores, in the daily number-of-step storage area RDDi(1), the daily number of steps DDi(1) thus updated. Further, the daily number-of-step storage unit 42c issues a daily number-of-step arithmetic operation completion signal GD1. Note that, upon receiving the change-of-day alarm signal Sda from the seven-day counter 41, the daily number-of-step processing unit 42 resets, to zero, the daily number of steps DDi(1) of the daily number-of-step storage area RDDi(1) corresponding to the contents i of the counter 41 at that time, thereby clearing, when the measurement period exceeds seven days, data of seven days before. Then, the daily number-of-step processing unit 42 resumes the count.
The processing of the number-of-step arithmetic operation unit 42b may also include increasing the counter value by “1” every time of receiving the walking signal F in place of receiving and adding “1” from the one-step walking data holding unit 42a every time of receiving the walking signal F. In this case, the one-step walking data holding unit 42a is unnecessary.
In a similar way, the daily calorie consumption processing unit 43 includes a unit calorie consumption holding unit 43a, a calorie consumption arithmetic operation unit 43b, and a daily calorie consumption storage unit 43c. The unit calorie consumption holding unit 43a holds a calorie consumption P per step.
The daily calorie consumption storage unit 43c holds a daily calorie consumption DDi(2) for seven days in a daily calorie consumption storage area RDDi(2). Every time of receiving the daily number-of-step arithmetic operation completion signal GD1 from the number-of-step arithmetic operation unit 42b, the daily calorie consumption arithmetic operation unit 43b reads out the daily calorie consumption DDi(2) from the daily calorie consumption storage area RDDi(2) corresponding to the contents i of the seven-day counter 41. Then, the daily calorie consumption arithmetic operation unit 43b adds the unit calorie consumption P held in the unit daily calorie consumption data holding unit 44a to the daily calorie consumption DDi(2) to update the daily calorie consumption DDi(2), and overwrites and stores, in the daily calorie consumption time storage are a RDDi(2), the daily calorie consumption DDi(2) thus updated. The daily calorie consumption arithmetic operation unit 43b then issues the daily calorie consumption arithmetic operation completion signal GD2. Note that, upon receiving the change-of-day alarm signal Sda from the seven-day counter 41, the daily calorie consumption processing unit 43 resets, to zero, the daily calorie consumption DDi(2) in the daily calorie consumption storage area RDDi(2) corresponding to the contents i of the counter 41 at that time.
The arithmetic processing in the calorie consumption arithmetic operation unit 43b may also be performed every time of receiving the walking pulse F from the walking detection unit 14 in place of the daily number-of-step arithmetic operation completion signal GD1 from the number-of-step arithmetic operation unit 42b. Further, the arithmetic operation of the calorie consumption may be performed by adding a calorie consumption per predetermined time (for example, ten seconds) every time of detecting the walking for the predetermined time in place of adding a calorie consumption of every step. For example, the unit calorie consumption is determined based on a gender, age, weight, walking speed and walking time (for example, ten seconds) of the user. For the gender, age, and weight of the user, data inputted as personal information in a personal data input mode Mk to be briefly described later is utilized. The walking speed can be calculated from the walking distance and the walking time, which are calculated here.
In a similar way, the daily walking distance processing unit 44 includes a stride length holding unit (stride length data holding unit) 44a, a walking distance arithmetic operation unit 44b, and a daily walking distance storage unit 44c. The stride length holding unit 44a holds a stride length (stride length data) L.
The daily walking distance storage unit 44c holds a daily walking distance DDi(3) for seven days in a daily walking distance storage area RDDi(3). Every time of receiving the daily calorie consumption arithmetic operation completion signal GD2 from the daily calorie consumption arithmetic operation unit 43b, the walking distance arithmetic operation unit 44b reads out the daily walking distance DDi(3) from the daily walking distance storage area RDDi(3) corresponding to the contents i of the seven-day counter 41. Then, the walking distance arithmetic operation unit 44b adds the stride length L held in the stride length holding unit 44a to the daily walking distance DDi(3) to update the daily walking distance DDi(3), and overwrites and stores, in the daily walking distance storage area RDDi(3), the daily walking distance DDi(3) thus updated. The walking distance arithmetic operation unit 44b then issues the daily walking distance arithmetic operation completion signal GD3. Note that, upon receiving the change-of-day alarm signal Sda from the seven-day counter 41, the daily walking distance processing unit 44 resets, to zero, the daily walking distance DDi(3) in the daily walking distance storage area RDDi(3) corresponding to the contents i of the counter 41 at that time. The arithmetic processing in the daily walking distance arithmetic operation unit 44b may also be performed every time of receiving the walking pulse F from the walking detection unit 14 in place of receiving the daily calorie consumption arithmetic operation completion signal GD2 from the daily calorie consumption arithmetic operation unit 43b.
In a similar way, the daily walking distance processing unit 45 includes a unit time data holding unit 45a, a walking distance arithmetic operation unit 45b, and a daily walking distance storage unit 45c. The unit time data holding unit 45a receives the time data from the timer unit 31. Every time of receiving the walking distance arithmetic operation signal GD3 or the walking pulse F, the walking time arithmetic operation unit 45b arithmetically operates an elapse time Δts since the walking time arithmetic operation unit 45b received the walking distance arithmetic operation completion signal GD3 or walking pulse F of one time, and determines whether or not the elapse time Δts is a predetermined time Δtss or less. When the time Δts is the predetermined time Δtss or less, the elapse time Δts is given as a unit turnaround time per step to the walking time arithmetic operation unit 45. Here, for example, Δtss is an upper limit of a time required for one step in the case of assuming that the walking is made as slow as possible. Note that, as mentioned in the calculation of the calorie consumption, for example, by taking approximately ten steps as a reference, the walking time may also be calculated on the basis of a time required for walking ten steps. Further, it may also be separately determined whether or not the walking is continuously made from a previous step, and when the walking is continuous, a walking time DD1(4) may be incremented by 1 every time one second elapses.
The daily walking time storage unit 45c holds a daily walking time DDi(4) for seven days in a daily walking time storage area RDDi(4). Every time of receiving the daily walking distance arithmetic operation completion signal GD3 from the walking distance arithmetic operation unit 44b, the walking time arithmetic operation unit 45b informs the unit walking time data holding unit 45a of reception of the signal GD3. Further, the walking time arithmetic operation unit 45b reads out the daily walking time DDi(4) from the daily walking time storage area RDDi(4) corresponding to the contents i of the seven-day counter 41, and adds the unit walking time data Δts from the unit walking time data holding unit 45a to the daily walking time DDi(4) to update the daily walking time DDi(4). The walking time arithmetic operation unit 45b then overwrites and stores, in the daily walking time storage area RDDi(4), the daily walking time DDi(4) thus updated. Note that, upon receiving the change-of-day alarm signal Sda from the seven-day counter 41, the daily walking time processing unit 45 resets, to zero, the daily walking time DDi(4) of the daily walking time storage area RDDi(4) corresponding to the contents i of the counter 41 at that time. The arithmetic processing in the daily walking time arithmetic operation unit 45 may also be performed every time of receiving the walking pulse F from the walking detection unit 14 in place of receiving the daily walking distance arithmetic operation completion signal GD 3 from the walking distance arithmetic operation unit 44b.
In the above, the daily number-of-step storage unit 42c, the daily calorie consumption storage unit 43c, the daily walking distance storage unit 44c, and the daily walking distance storage unit 45c configure constitute, as a whole, a storage unit RDDi(k) for a day data DDi(k) shown in
Further, in the above, the signals GD1, GD2, GD3, and the like are ones for prompting the next processing. In the case of a program to be sequentially processed, the signals can be replaced by being defined as the next processing steps.
The absolute weekly data processing unit 50 is configured similarly to the daily data processing unit 40, except in performing the counting processing for the data every absolute week, that is, every week defined by days between a specific day of a week and a day before the specific day of the next week. Here, the absolute week is defined such that it starts on Monday and ends on Sunday. However, the absolute week may be defined such that starts on Sunday and ends on Saturday, or may be defined such that it starts on another arbitrary day of a week and ends on a day before the arbitrary day of the next week. Note that the absolute week defined as described above can be identified based on what number week of a month the absolute week is.
The absolute weekly data processing unit 50 includes an absolute weekly number-of-step processing unit 53, an absolute weekly calorie consumption processing unit 54, an absolute weekly walking distance processing unit 55, an absolute weekly walking time processing unit 56, a display control unit 25, and the display unit 15, in addition to a beginning-of-week determination unit 51 and a twelve-week counter 52. When the display is also taken into consideration, the absolute weekly data processing unit 50 further includes a display week counter 57, and a data type counter 28, which will be described later. The data type counter 28 for the daily data processing may be shared with the one for the absolute weekly data processing.
The beginning-of-week determination unit 51 determines the day of the week based on year/month/day information YMD of the timer unit 31, and issues a beginning-of-week signal Sw every time it reaches zero o'clock in the morning on the first day of the absolute week, here, Monday. The beginning-of-week signal Sw can include information as to what number week of the month the absolute week is.
For example, the twelve-week counter 52 is a counter in which a counter value n is changed cyclically from 1 to 12. Every time it reaches 24 o'clock on Sunday, that is, zero o'clock in the morning on Monday, the twelve-week counter 52 receives the beginning-of-week signal Sw from the beginning-of-week determination unit 51, and changes the counter value n of the absolute change-of-week signal Sw by one. The contents 1, 2, 3 . . . , n . . . , 11, and 12 of the counter 52 represent continuous twelve absolute weeks, respectively. Note that the twelve week counter 52 outputs an absolute change-of-week alarm signal Swa every time of receiving the absolute change-of-week signal Sw.
The absolute weekly number-of-step processing unit 53 includes a one-step walking data holding unit 53a, a number-of-step arithmetic operation unit 53b, and an absolute weekly number-of-step storage unit 53c.
The one-step walking data holding unit 53a, number-of-step arithmetic operation unit 53b, and absolute weekly number-of-step storage unit 53c of the absolute weekly number-of-step processing unit 53 function similarly to the one-step walking data holding unit 42a, number-of-step arithmetic operation unit 42b, and daily number-of-step storage unit 42c of the daily number-of-step processing unit 42, except that they refer to the contents n of the twelve-week counter 52 in place of the contents i of the seven-day counter 41, operate upon receiving the absolute change-of-week alarm signal Swa in place of the change-of-day alarm signal Sda, and output an absolute weekly number-of-step arithmetic operation completion signal GW1 in place of the daily number-of-step arithmetic operation completion signal GD1.
Specifically, the absolute weekly number-of-step storage unit 53c holds the absolute weekly number of steps WDn(1) for twelve weeks in the absolute weekly number-of-step storage area RWDn(1). Every time of receiving the walking pulse F from the walking detection unit 14, the number-of-step arithmetic operation unit 53b reads out the absolute weekly number of steps WDn(1) from the absolute weekly number-of-step storage area RWDn(1) corresponding to the contents n of the twelve-week counter 52. Then, the number-of-step arithmetic operation unit 53b overwrites and stores, in the absolute weekly number-of-step storage area RWDn(1), the absolute weekly number of steps WDn(1) updated by adding the held data “1” of the one-step walking data holding unit 53a to the absolute weekly number of steps WDn(1) concerned, and further, outputs the absolute weekly number-of-step arithmetic operation completion signal GW1. Note that, upon receiving the absolute change-of-week alarm signal Swa from the twelve-week counter 52, the absolute weekly number-of-step processing unit 53 resets, to zero, the absolute weekly number of steps WDn(1) of the absolute weekly number-of-step storage area RWDn(1) corresponding to the contents n of the counter 52 at that time.
Irrespective of which day of the week the measurement is started from, the absolute weekly number-of-step processing unit 53 accumulates and counts the number of steps WDn(1) until Sunday of the week concerned as a first absolute week number of steps WD1(1), and when Monday comes, performs accumulation and counting processing for the number-of-step data of that day and after as the number-of-step data of a next absolute week. Hence, at an arbitrary point of time, the number of steps in the absolute week concerned therewith is stored as the accumulated number of steps WDn(1) of the absolute week concerned in the absolute week number-of-step storage area RWDn(1), and can be directly read and immediately displayed any time from the absolute week number-of-step storage area RWDn(1). However, if desired, the number of steps may be obtained by using the daily number of steps DDn(1) in place of directly counting the number-of-step signal F from the number-of-step detection unit 14 counting the weekly number of steps WDn(1).
The absolute weekly calorie consumption processing unit 54 includes a unit calorie consumption holding unit 54a, a calorie consumption arithmetic operation unit 54b, and an absolute weekly calorie consumption storage unit 54c.
The unit calorie consumption holding unit 54a, calorie consumption arithmetic operation unit 54b, and absolute weekly calorie consumption storage unit 54c of the absolute weekly calorie consumption processing unit 54 function similarly to the unit calorie consumption holding unit 43a, calorie consumption arithmetic operation unit 43b, and daily calorie consumption storage unit 43c of the daily calorie consumption processing unit 43, except that they refer to the contents n of the twelve-week counter 52 in place of the contents i of the seven-day counter 41, operate upon receiving the absolute weekly number-of-step arithmetic operation completion signal GW1 in place of the daily number-of-step arithmetic operation completion signal GD1, and output an absolute weekly calorie consumption arithmetic operation completion signal GW2 in place of the daily calorie consumption arithmetic operation completion signal GD2. Also in the absolute daily calorie consumption arithmetic operation unit 54b, the processing may be started in response to the walking signal F in place of the absolute weekly number-of-step arithmetic operation completion signal GW1.
The absolute weekly walking distance processing unit 55 includes a stride length holding unit 55a, a walking distance arithmetic operation unit 55b, and an absolute weekly walking distance storage unit 55c.
The stride holding unit 55a, walking distance arithmetic operation unit 55b, and absolute weekly walking distance storage unit 55c of the absolute weekly walking distance processing unit 55 function similarly to the unit walking distance holding unit 44a, walking distance arithmetic operation unit 44b, and daily walking distance storage unit 44c of the daily walking distance processing unit 44, except that they refer to the contents n of the twelve-week counter 52 in place of the contents i of the seven-day counter 41, operate upon receiving the absolute weekly calorie consumption arithmetic operation completion signal GW2 in place of the daily calorie consumption arithmetic operation completion signal GD3, and output an absolute weekly walking distance arithmetic operation completion signal GW3 in place of the daily walking distance arithmetic operation completion signal GD3. Also in the absolute daily walking distance arithmetic operation unit 55b, the processing may be started in response to the walking signal F in place of the absolute weekly calorie consumption arithmetic operation completion signal GW2.
The absolute weekly walking time processing unit 56 includes a unit time data holding unit 56a, a walking time arithmetic operation unit 56b, and an absolute walking time storage unit storage unit 56c.
The unit time data holding unit 56a, walking time arithmetic operation unit 56b, and absolute walking time storage unit storage unit 56c of the absolute weekly walking time processing unit 56 function similarly to the unit time data holding unit 45a, a walking distance arithmetic operation unit 45b, and daily walking distance storage unit 45c of the daily walking distance processing unit 45, except that they refer to the contents n of the twelve-week counter 52 in place of the contents i of the seven-day counter 41 and operate upon receiving the absolute weekly walking distance operation completion signal GW3 in place of the daily walking distance arithmetic operation completion signal GD3. Also in the absolute weekly walking time arithmetic operation unit 56b, the processing may be started in response to the walking signal F in place of the absolute weekly walking distance arithmetic operation completion signal GW3. The walking time arithmetic operation unit 56b may be configured to be directly count the clock signal in the same manner as the walking distance arithmetic operation unit 45b.
Note that, in the above, the description has been made as if the processing for the daily data and the processing for the absolute weekly data were performed separately; however, the order of arithmetic operation on the various data (number of steps, calorie consumption, walking distance, walking time, and the like) of the daily data and the similar data of the absolute weekly data can be made different from one another as desired. Specifically, as shown next in a flowchart of
Next, a measurement operation of the pedometer 1 configured as described above will be described based on a flowchart from a viewpoint closer to flows of processing of the programs of
In the case of counting/storing the daily data and the absolute weekly data in the pedometer 1, operations of the seven-day counter 41, the beginning-of-week determination unit 51, and the twelve-week counter 52, which are based on the timepiece data of the timer unit 31, will be described based on a flowchart HT of
For example, in the pedometer 1, every time it reaches 24 o clock (zero o'clock in the morning), every 24-hour interruption processing is performed (Step HT01 of
When the processing enters the arithmetic operation of the day of the week (Step HT05), first, it is determined by the beginning-of-week determination unit 51 whether or not the new day is Monday based on the year/month/day data YMD from the timer unit 31 (Step HT06). When the new day is other day than Monday, the processing returns to update processing for date (Step HT10), and the every 24-hour interruption processing is awaited (Step HT01).
When the new day is Monday (which corresponds to that the beginning-of-week signal Sw is outputted from the beginning-of-week determination unit 51), “1” is added to the contents n of the counter 52 for the purpose of updating the contents of the twelve-week counter 52, and “n+1” is obtained (Step HT07). Specifically, the variable n which modifies the memory address of the week data is increased by 1. Next, it is determined whether or not “n+1” exceeds “12” (Step HT08). When “n+1” exceeds 12; the contents n of the counter 41 are returned to “1” (Step HT09). Specifically, when the measuring period exceeds twelve weeks, control is made so as to return the memory address of the absolute week data to the head thereof, and to overwrite the absolute week data into an original data area thereof. Hence, it becomes impossible to refer to the absolute weekly data of more than twelve weeks before. Meanwhile, when “n+1” is “12” or less, the processing returns to the update processing for the date while the contents of “n+1” are being left held as new contents n in the twelve-week counter 52 (Step HT10). Here, Steps HT07 to HT09 correspond to the operations of the twelve-week counter 52.
The pedometer 1 counts and stores the various data every time of detecting a new walking signal F as shown in the flowchart HD of
For example, first, update processing of the number of steps is performed (Step HD01 of
Next, update processing of the calorie consumption is performed (Step HD02 of
Further, update processing of the walking distance is performed (Step HD03 of
Next, update processing for the walking time is performed (Step HD04 of
The display of the display unit 15 of the pedometer 1 is performed by the display control unit 25 (
An outline of the display on the pedometer 1 is shown in
Note that, as shown in
In the timepiece mode Mt, the pedometer 1 is usable as the timepiece, and time information is displayed by the display unit 15. In this example, as seen from
In the number-of-step measurement mode Mh, the pedometer 1 is usable as the pedometer, and information on the number of steps is displayed by the display unit 15. In this example, as shown in
In the day data reference mode Md, it is possible to refer to the daily data. By pushing the push-button switch 13b in the B direction for a predetermined time (for example, approximately two seconds) or more, the state is switched to a state Mds capable of displaying the daily data. By rotating the rotary switch 13d in the D direction in the state Mds, the display is sequentially switched as: the daily number of steps DDj(1)→the daily calorie consumption DDj(2)→the daily walking distance DDj(3)→the daily walking time DDj(4). By rotating the rotary switch 13d in the E direction, the display is sequentially switched as: the daily walking time DDj(4)→the daily walking distance DDj(3)→the daily calorie consumption DDj(2)→the daily number of steps DDj(1). By pushing the push-button switch 13b in the B direction for the predetermined time (for example, approximately two seconds) or more in the state Mds, the state returns from the state Mds to a basic state capable of switching the display to other modes. Note that, in the state Mds, “j” represents the contents of the display date counter 47, and an initial value thereof is set as j=1 by referring to the contents “i” of the seven-day counter 41. Further, in the state Mds where the daily data DDj(k) is displayed, “j” is decremented by 1 every time the push-button switch 13c is pushed in the C direction, and the daily data DDj(k) returned day by day is displayable. In DDj(k), “k” represents the above-described data type.
In the day data display state Mds in the day data reference mode Md, the recording book mark 15a3 is switched on in the mark portion 15a, the respective pieces of data is displayed on the main data display portion 15c, and the unit and the comment which represent the data type are displayed on the comment portion 15b.
The same as above is also applied to the absolute weekly data. In the absolute weekly data reference mode Mw, it is possible to refer to the absolute weekly data. By pushing the push-button switch 13b in the B direction, the state is switched to a state Mws capable of displaying the absolute weekly data. By rotating the rotary switch 13d in the D direction in the state Mws, the display is sequentially switched as: the absolute weekly number of steps WDm(1)→the absolute weekly calorie consumption WDm(2)→the absolute weekly walking distance WDm(3)→the absolute weekly walking time WDm(4). By rotating the rotary switch 13d in the E direction, the display is sequentially switched as: the absolute weekly walking time WDm(4)→the absolute weekly walking distance WDm(3)→the absolute weekly calorie consumption WDm(2)→the absolute weekly number of steps WDm(1). By pushing the push-button switch 13b in the B direction for the predetermined time (for example, approximately two seconds) or more in the state Mws, the state returns from the state Mws to the basic state capable of switching the display to other modes. Here, “m” represents the contents of the display week counter 57, and an initial value thereof is set as m=n by referring to the contents “n” of the twelve-week counter 52. Further, in the state where the absolute weekly data WDm(k) is displayed, “m” is decremented by 1 every time the push-button switch 13c is pushed in the C direction, and the absolute weekly data WDm(k) returned day by day is displayable.
In the absolute weekly data display state Mws in the week data reference mode Mw, the recording book mark 15a3 is switched on in the mark portion 15a, the respective pieces of data is displayed on the main data display portion 15c, and the unit and the comment which represent the data type are displayed on the comment portion 15b. Further, in the absolute weekly data display state Mws, the order of weeks of a month the absolute week concerned comes and which month the month concerned is are displayed on the auxiliary data display portion 15d located at the lower stage. In the example of
A description will be briefly made of, as an example, the case of starting the count of the number of steps from Wednesday in the pedometer 1 configured as described above. In response to an instruction to start the use, the daily data DDi(k) of the daily data storage area RDDi(k) and the absolute weekly data WDn(k) of the absolute weekly data storage area RWDn(k) are entirely reset to zero.
During a period until 24 o'clock on Wednesday since the count for the number of steps was started, the number-of-step data DD1(1) is sequentially updated in response to the walking signal F. In a similar way, the calorie consumption DD1(2), the walking distance DD1(3), and the walking time DD1(4) are also updated sequentially.
When the mode enters the day data reference mode Md by rotating the mode switch 13d in the D or E direction, and when the mode is switched to the data reference mode Mds by depressing the push-button switch 13d in the B direction for the predetermined time or more, the number-of-step data DD1(1) obtained from zero o'clock until the current time is displayed. When the rotary switch 13d is rotated in the D direction in the state Mds, the calorie consumption DD1(2) obtained until the current time of that day is displayed. When the switch 13d is further rotated in the D direction, the walking distance DD1(3) and the walking time DD1(4) are displayed.
When the mode switch 13d is further rotated in the D direction after the state returns to the mode changing state by the switch 13b, the mode enters the absolute weekly data display mode Mw. When the push-button switch 13d is pressed in the B direction for the predetermined time or more in the mode Mw to thereby switch the state to the data reference state Mws, the absolute weekly data is displayed. In this case, because the day is not updated yet because the data has just started to be collected, the absolute weekly data and the daily data are the same, and relations are established as: the number of steps WD1(1)=DD1(1); the calorie consumption WD1(2)=DD1(2); the walking distance WD1(3)=DD1(3); and the walking time WD1(4)=DD1(4).
When it is 24 o'clock, the processing enters the processing for updating the date, the contents i of the seven-day counter 41, that is, the address modifying data i for the day data is updated from 1 to 2, the reference area of the daily data is updated from RDD1(k) to RDD2(k), and the daily data to be referred to is updated from DD1(k) to DD2(k). Meanwhile, since the new current day is not Monday but Thursday, the contents n of the twelve-week counter 52, that is, the address modifying data n=1 for the absolute weekly data is not updated, the reference area of the absolute weekly data is maintained at RWD1(k) without being updated, and the absolute weekly data to be referred to is maintained at WD1(k). Hence, the number of steps WD1(1), the calorie consumption WD1(2), the walking distance WD1(3), and the walking time WD1(4) are accumulated and added from the day before, as the absolute weekly data WD1(k). Hence, when the daily data DD2(k) is referred to on Thursday, the daily data of Thursday is displayed, and when the absolute weekly data WD1(k) is referred to, the accumulated data from Thursday is displayed.
When it is 24 o'clock on Monday (zero o'clock in the morning on Monday), not only the address modifying data i (contents 1 of the seven-day counter 41) for the daily data is updated from 5 to 6, but also the address modifying data n (contents n of the twelve-week counter 52) for the absolute weekly data is updated from 1 to 2. In such a way, the accumulated data from Wednesday until Sunday is recorded/stored in the WD1(k), and the data from Monday is newly accumulated in the WD2(k).
Under the data reference state Mds in the daily data reference mode Md, which follows the data accumulation performed for a considerable number of days as described above, the number of steps DDi(1) at the current day is displayed. By rotating the rotary switch 13d in the D direction or the E direction, the number of steps DDi(1), the calorie consumption DD1(2), the walking distance DDi(3), and the walking time DDi(4) are displayed.
Every time the push-button switch 13c is pressed in the C direction in the state Mds, the data of one day before is displayed. When the push-button switch 13c is pressed in the C direction in a state where the data of six days before is displayed, the display returns to the data display of the current day. Note that, as regards the display, the contents j of the display date counter 47 are changed by pressing the push-button switch 13c in the C direction. The display date counter 47 captures the contents i of the seven-day counter 41 as an initial value of j, and displays the data of the day corresponding thereto. Meanwhile, one pressing of the push-button switch 13c in the C direction decreases the contents j of the display date counter 47 by one. Here, similarly to i, j is the address for modifying data, indicates the memory address in the RAM in which the address is modified, and designates the daily data as DDj(k).
The same as above is also applied to the absolute weekly data. Under the data reference state Mws in the absolute weekly data reference mode Mw, the accumulated number-of-step data WDn(1) of the week (from Monday until the current day) is displayed. By rotating the rotary switch 13d in the D direction or the E direction, the number of steps WDn(1), the calorie consumption WDn(2), the walking distance WDn(3), and the walking time WDn(4) are displayed.
Every time the push-button switch 13c is pressed in the C direction, the data of one week before is displayed. When the push-button switch 13c is pressed in the C direction in a state where the data of eleven weeks before is displayed, the display returns to the data display of the current week. Also in this case, as regards the display, the pressing of the push-button switch 13c in the C direction changes the contents m of the display week counter 57. The display week counter 57 captures the contents n of the twelve-week counter 52 as an initial value of m, and displays the data of the current week corresponding thereto. Meanwhile, one pressing of the push-button switch 13c in the C direction decreases the contents m of the display week counter 57 by one. Here, similarly to n, m is the address for modifying data, indicates the memory address in the RAM in which the address is modified, and designates the absolute weekly data as DDm(k).
Note that, in the above, the description has been made of an example of counting the absolute weekly data with regard to the weekly data; however, it is also possible to apply a similar case to month data. Specifically, there may be provided: a daily event-quantity counter unit which daily counts the event quantity; an absolute monthly event-quantity counter unit which counts the event quantity every month defined by a period between a specific day of a month and a day before the specific day of the next month; and an absolute monthly event-quantity storage unit which stores the absolute monthly event quantity over a plurality of the absolute months, to thereby count the event quantity.
Further, in this embodiment, a configuration has been adopted, in which the number of event signals outputted from the event detection unit is sequentially counted with regard to the week data; however, a configuration may also be adopted, in which the week data is updated by using the data of the daily number-of-step counter unit only at the time when the day changes.
Number | Date | Country | Kind |
---|---|---|---|
2005-002711 | Jan 2005 | JP | national |
2005-361529 | Dec 2005 | JP | national |