This application claims priority of Taiwanese Patent Application No. 110113689, filed on Apr. 16, 2021.
The disclosure relates to a method for determining tiredness of a user according to human physiological information.
As smart wearable devices become more and more popular, smart watches and smart bracelets are now accessories that many people wear on a daily basis, and a lot of these people also use the physiological data recorded by the smart watches or bracelets as a reference for personal health management.
A conventional smart watch usually records heart rate as the basis for subsequent analysis of exercise time and calorie consumption. However, as the heart rate is being measured and recorded, the conventional smart watch is unable to provide feedback (e.g., excessive tiredness) in real time to the user, and thus the user cannot suitably adjust or stop the exercise in time. The user can only know his/her physical state when checking the conventional smart watch later.
A conventional assisting system for mobile vehicles, as disclosed in Taiwanese Utility Model Patent No. M585412, includes a driver condition detecting device and a warning device. The driver condition detecting device includes a heart rate detecting module, a storage module and a computing module. The heart rate detecting module is used for detecting heart rate of a driver or change in heart rate of the driver, and can be disposed on a wearable device to be worn by the driver.
Although the conventional assisting device can issue a notification when the heart rate of the user is outside of a predetermined range, it is prone to making inappropriate notifications when the user is exercising.
Therefore, an object of the disclosure is to provide a method for determining tiredness of a user that can alleviate at least one of the drawbacks of the prior art.
According to one embodiment of the disclosure, the method is implemented by a detecting device that stores a plurality of exercise modes respectively defined by a plurality of first ranges of heart-rate-related ratios, and each of the exercise modes has a variation threshold and a predetermined exercise time period. The method includes steps of:
measuring heart rate of the user at successive time instances so as to result in a plurality of heart rate measurements;
for each of the heart rate measurements, calculating a reference ratio as a ratio of a resulting value of the heart rate measurement minus a resting heart rate of the user to a resulting value of a maximum heart rate of the user minus the resting heart rate;
selecting one of the exercise modes based on the reference ratio calculated based on a last one of the heart rate measurements;
obtaining a plurality of speed measurements of the user that were successively measured in a past time period having a length equal to the predetermined exercise time period of said one of the exercise modes;
calculating an average of the speed measurements to serve as an average speed;
dividing a number of those of the speed measurements that are greater or smaller than the average speed at least by a variation ratio by a total number of the speed measurements to obtain an abnormal speed ratio;
determining whether the average speed is greater than a predetermined speed and whether the abnormal speed ratio is smaller than a predetermined ratio;
when the determination on whether the average speed is greater than the predetermined speed and the determination on whether the abnormal speed ratio is smaller than the predetermined ratio are both affirmative, determining whether the reference ratio that was calculated based on the last one of the heart rate measurements is greater than the reference ratio that was calculated based on a previous one of the heart rate measurements at least by the variation threshold of said one of the exercise modes, wherein the previous one of the heart rate measurements was measured earlier than the last one of the heart rate measurements by the predetermined exercise time period of said one of the exercise modes; and
outputting a notification indicating that the user is tired when it is determined that the reference ratio that was calculated based on the last one of the heart rate measurements is greater than the reference ratio that was calculated based on the previous one of the heart rate measurements at least by the variation threshold of said one of the exercise modes.
Another object of the disclosure is to provide a detecting device for monitoring heart rate of a user.
According to one embodiment of the disclosure, the monitoring device includes a heart rate measuring unit, a positioning unit, a display unit and a processing unit.
The heart rate measuring unit is configured to measure heart rate of the user at successive time instances so as to result in a plurality of heart rate measurements.
The positioning unit is configured to detect where the user is located at successive time instances so as to obtain a plurality of positions, and is further configured to calculate a plurality of speed measurements of the user based on the positions.
The processing unit is electrically connected to the heart rate measuring unit, the positioning unit and the display unit, and stores a plurality of exercise modes respectively defined by a plurality of ranges of heart-rate-related ratios. Each of the exercise modes has a variation threshold and a predetermined exercise time period. The processing unit is configured to implement a tiredness-determining procedure including steps of:
obtaining the heart rate measurements of the user from the heart rate measuring unit;
for each of the heart rate measurements, calculating a reference ratio as a ratio of a resulting value of the heart rate measurement minus a resting heart rate of the user to a resulting value of a maximum heart rate of the user minus the resting heart rate;
selecting one of the exercise modes based on the reference ratio that was calculated based on a last one of the heart rate measurements;
obtaining, from the positioning unit, a plurality of speed measurements that were successively measured by the positioning unit in a past time period having a length equal to the predetermined exercise time period of said one of the exercise modes;
calculating an average of the speed measurements to serve as an average speed;
dividing a number of those of the speed measurements that are greater or smaller than the average speed at least by a variation ratio by a total number of the speed measurements to obtain an abnormal speed ratio;
determining whether the average speed is greater than a predetermined speed and whether the abnormal speed ratio is smaller than a predetermined ratio;
when the determination on whether the average speed is greater than the predetermined speed and the determination on whether the abnormal speed ratio is smaller than the predetermined ratio are both affirmative, determining whether the reference ratio that was calculated based on the last one of the heart rate measurements is greater than the reference ratio that was calculated based on a previous one of the heart rate measurements at least by the variation threshold of said one of the exercise modes, wherein the previous one of the heart rate measurements was measured earlier than the last one of the heart rate measurements by the predetermined exercise time period of said one of the exercise modes; and
controlling the display unit to output a notification indicating that the user is tired when it is determined that the reference ratio that was calculated based on the last one of the heart rate measurements is greater than the reference ratio that was calculated based on the previous one of the heart rate measurements at least by the variation threshold of said one of the exercise modes.
Other features and advantages of the disclosure will become apparent in the following detailed description of the embodiments with reference to the accompanying drawings, of which:
Referring to
The heart rate measuring unit 1 is configured to measure heart rate of the user at successive time instances so as to result in a plurality of heart rate measurements. In this embodiment, the heart rate measuring unit 1 is an optical heart rate sensor.
The acceleration measuring unit 2 is configured to successively measure a plurality of acceleration measurements of the user. The acceleration measuring unit 2 may be, but not limited to, an accelerometer.
The positioning unit 3 is configured to detect where the user is located at successive time instances so as to obtain a plurality of positions, and is further configured to calculate a plurality of speed measurements of the user based on the positions. For example, the positioning unit 3 includes a global positioning system (GPS) sensor for obtaining the position of the user, and a computing device (e.g., a processor, a mobile processor, a microprocessor, a microcontroller, etc.) for calculating the speed measurements.
The display unit 4 is configured to output a notification. In this embodiment, the display unit 4 is, but not limited to, a display screen.
The processing unit 5 is electrically connected to the heart rate measuring unit 1, the acceleration measuring unit 2, the positioning unit 3 and the display unit 4. The processing unit 5 stores a plurality of exercise modes and a plurality of tiredness levels. The exercise modes are respectively defined by a plurality of first ranges of heart-rate-related ratios. The tiredness levels are respectively defined by a plurality of second ranges of heart-rate-related ratios. Each of the exercise modes has a variation threshold and a predetermined exercise time period.
In this embodiment, the processing unit 5 stores five exercise modes, and details thereof are shown in Table 1 below.
In this embodiment, the processing unit 5 stores five tiredness levels, and details thereof are shown in Table 2 below.
The processing unit 5 is configured to implement a tiredness-determining procedure for determining tiredness of the user based on heart rate measurements, the acceleration measurements and the speed measurements of the user.
The processing unit 5 may be embodied using a central processing unit (CPU), a microprocessor, a microcontroller, a single core processor, a multi-core processor, a dual-core mobile processor, a microprocessor, a microcontroller, a digital signal processor (DSP), a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a radio-frequency integrated circuit (RFIC), a system on chip (SoC), etc.
The method for determining tiredness of the user (i.e., the tiredness-determining procedure implemented by the processing unit 5) according to one embodiment includes the following steps.
In step S1, the processing unit 5 obtains a plurality of heart rate measurements of the user that were successively measured by the heart rate measuring unit 1.
In step S2, for each of the heart rate measurements, the processing unit 5 calculates a ratio of a resulting value of the heart rate measurement minus a resting heart rate of the user to a resulting value of a maximum heart rate of the user minus the resting heart rate to serve as a reference ratio.
The maximum heart rate is an upper limit of what a person's cardiovascular system can typically handle during exercise (i.e., the fastest rate that the heart is capable of beating), and generally decreases with age. The maximum heart rate may be estimated by subtracting age from 220. The resting heart rate is a normal heart rate when a person is at rest. The resting heart rates of children over 10 years old and adults including seniors range from 60 to 100 beats per minute. The resting heart rates of well-trained adult athletes range from 40 to 60 beats per minute. In this embodiment, the maximum heart rate and the resting heart rate may be input by the user. In some embodiments, the processing unit 5 may pre-store a plurality of reference maximum heart rates and a plurality of reference resting heart rates that correspond respectively to the reference maximum heart rates, and each pair of one of the reference maximum heart rates and the corresponding one of the reference resting heart rates corresponds respectively to different ages; the processing unit 5 selects one of the reference maximum heart rates and the corresponding one of the reference resting heart rates according to an age inputted by the user and uses the reference maximum heart rate and reference resting heart rate thus selected as the maximum heart rate and the resting heart rate of the user. In some embodiments, the resting heart rate may be obtained by taking an average of heart rate measurements measured by the heart rate measuring unit 1 when the acceleration of the user continues to be smaller than a predetermined value (e.g., 20 cm/s2) for a predetermined time period (e.g., 20 minutes).
In step S3, the processing unit 5 obtains, from the acceleration measuring unit 2, a plurality of acceleration measurements of the user measured in a predefined time period. In this embodiment, the predefined time period is 20 minutes.
In step S4, the processing unit 5 determines whether all the acceleration measurements in the predefined time period are smaller than a predetermined acceleration threshold. When it is determined that all the acceleration measurements are smaller than the predetermined acceleration threshold, the flow goes to step S6; otherwise, the flow goes to step S5. In this embodiment, the predetermined acceleration threshold is 20 cm/s2.
It should be noted that step S4 is used to determine whether the user is exercising or resting. The user is determined to be resting when it is determined that all the acceleration measurements are smaller than the predetermined acceleration threshold.
When it is determined that not all the acceleration measurements in the predefined time period are smaller than the predetermined acceleration threshold, in step S5, the processing unit 5 determines tiredness of the user during exercise. Specifically, step S5 includes sub-steps S51 to S57.
In sub-step S51, the processing unit 5 selects one of the exercise modes based on the reference ratio that was calculated in step S2 based on a last one of the heart rate measurements (hereinafter referred to as “the last reference ratio”). Specifically, the processing unit 5 first determines which one of the first ranges of heart-rate-related ratios the last reference ratio falls into, and then selects one of the exercise modes that corresponds to one of the first ranges of heart-rate-related ratios, into which the last reference ratio falls.
In sub-step S52, the processing unit 5 obtains a plurality of speed measurements of the user that were successively measured by the positioning unit 3 in a past time period that has a length equal to the predetermined exercise time period of said one of the exercise modes.
In sub-step S53, the processing unit 5 calculates an average of the speed measurements obtained in sub-step S52 to serve as an average speed.
In sub-step S54, the processing unit 5 divides a number of those of the speed measurements that are greater or smaller than the average speed at least by a variation ratio by a total number of the speed measurements, so as to obtain an abnormal speed ratio. In this embodiment, the variation ratio is, but not limited to, 20%.
In sub-step S55, the processing unit 5 determines whether the average speed is greater than a predetermined speed and whether the abnormal speed ratio is smaller than a predetermined ratio. When the determination on whether the average speed is greater than the predetermined speed and the determination on whether the abnormal speed ratio is smaller than the predetermined ratio are both affirmative, the flow goes to sub-step S56; otherwise, the method is terminated. In this embodiment, the predetermined speed is 10 km/h, and the predetermined ratio is 1/6, but not limited thereto.
It should be noted that, in sub-step S55, determining whether the average speed is greater than the predetermined speed is to determine whether the user is moving places (e.g., doing an exercise such as jogging or cycling), and determining whether the abnormal speed ratio is smaller than the predetermined ratio is to avoid determining tiredness of the user when the speed measurements reveal an excessive change in speed. That is to say, sub-step S55 can avoid determining tiredness of the user when the user is in the midst of speeding up or slowing down, so as to reduce probability of making an incorrect determination on tiredness of the user.
When the average speed is greater than the predetermined speed and the abnormal speed ratio is smaller than the predetermined ratio, in sub-step S56, the processing unit 5 determines whether the last reference ratio is greater than a previous one of the reference ratios (hereinafter referred to as “previous reference ratio”) at least by the variation threshold of said one of the exercise modes, wherein the previous reference ratio is calculated based on one of the heart rate measurements that was measured earlier than said last one of the heart rate measurements by the predetermined exercise time period of said one of the exercise modes. When it is determined that the last reference ratio is greater than the previous reference ratio at least by the variation threshold of said one of the exercise modes, the flow goes to sub-step S57; otherwise, the method is terminated.
In sub-step S57, the processing unit 5 controls the display unit 4 to output a first notification indicating that the user is tired.
When it is determined in step S4 that all the acceleration measurements are smaller than the predetermined acceleration threshold, in step S6, the processing unit 5 determines tiredness of the user when resting. Specifically, step S6 includes sub-steps of S61 to S63.
In sub-step S61, the processing unit 5 determines which one of the second ranges of heart-rate-related ratios the last reference ratio falls into.
In sub-step S62, the processing unit 5 determines that the user is at one of the tiredness levels that corresponds to one of the second ranges of heart-rate-related ratios, into which the last reference ratio falls.
In sub-step S63, the processing unit 5 controls the display unit 4 to output a second notification that corresponds to said one of the tiredness levels.
The method of the disclosure may be repeated to continuously determine tiredness of the user. It should be noted that steps/sub-steps of the method are not necessarily implemented in the order given above, and some of the steps/sub-steps may be implemented simultaneously.
Referring to
Taking the second heart rate measurement as an example, the exercise mode that corresponds to the second heart rate measurement is Exercise Mode (with reference to Table 1), so sub-step S56 is to determine whether the reference ratio of the second heart rate measurement (58%) is greater than the previous reference ratio, which corresponds to a heart rate measurement that was measured 30 minutes (i.e., the predetermined exercise time period of Exercise Mode 3) earlier, at least by 10%. It is assumed that the first heart rate measurement of 133 was measured earlier than the second heart rate measurement of 152 by the predetermined exercise time period (i.e., 30 minutes), so the previous reference ratio is 46%. Compared with the previous reference ratio (46%), the reference ratio of the second heart rate measurement (58%) has an increase of 12%, which is more than 10% (the variation threshold of Exercise mode 3). Accordingly, the display unit 4 of the detecting device outputs the first notification indicating that the user is tired (sub-step S57).
Referring to
It should be noted that, unless otherwise specified, the use of the ordinal adjectives “first,” “second,” and “third,” etc., to describe a common object, merely indicates that different instances of like objects are being referred to and does not intend to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking or in any other manner.
According to the above description, the embodiment of the disclosure provides a method and a detecting device for determining tiredness of a user. The advantages of the method and the detecting device are as follows. An exercise mode is first selected based on a reference ratio of a heart rate measurement, and thresholds for the subsequent determinations are dynamically determined according to the exercise mode, so that the likelihood of making incorrect determinations is reduced as compared to the case if uniform thresholds were used. Further, tiredness determination is made only under the condition that an average speed is greater than a predetermined speed and an abnormal speed ratio is smaller than a predetermined ratio, so as to avoid incorrectly determining tiredness of the user when the user is speeding up or slowing down. Moreover, the method first determines whether the user is exercising or resting based on acceleration measurements, and then adopts difference logical flows in determining whether the user is tired respectively during exercise and when resting, such that tiredness of the user thus determined is more in line with actual situation.
In the description above, for the purposes of explanation, numerous specific details have been set forth in order to provide a thorough understanding of the embodiments. It will be apparent, however, to one skilled in the art, that one or more other embodiments may be practiced without some of these specific details. It should also be appreciated that reference throughout this specification to “one embodiment,” “an embodiment,” an embodiment with an indication of an ordinal number and so forth means that a particular feature, structure, or characteristic may be included in the practice of the disclosure. It should be further appreciated that in the description, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of various inventive aspects, and that one or more features or specific details from one embodiment may be practiced together with one or more features or specific details from another embodiment, where appropriate, in the practice of the disclosure.
While the disclosure has been described in connection with what are considered the exemplary embodiments, it is understood that this disclosure is not limited to the disclosed embodiments but is intended to cover various arrangements included within the spirit and scope of the broadest interpretation so as to encompass all such modifications and equivalent arrangements.
Number | Date | Country | Kind |
---|---|---|---|
110113689 | Apr 2021 | TW | national |