This application claims the priority benefit of Taiwan application serial no. 105112815, filed on Apr. 25, 2016. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The present invention relates to an evaluation method and an electronic device, and more particularly relates to a gait evaluation method and an electronic device thereof.
In modern life, more and more people are taking care of whether their walking posture (e.g. gait) is correct and good while they are walking, due to the pursuit of health and good deportment. To be specific, not only the perception of others is affected, some symptoms such as back pain, leg pain and joint pain are also caused if someone has a bad walking posture. Accordingly, a variety of devices and methods are proposed to help determine whether a user's walking posture is good.
In tradition, the walking posture of the user can be determined by, for example, image processing technology or human eyes. However, the determination using human eyes may be inaccurate due to the subjective consciousness. Relatively, the determination using image processing technology is time-consuming and bound to occupy a lot of calculation resources. Accordingly, the creation of an easy and accurate gait evaluation method and a related electronic device is still a target for people skilled in the art to work on.
The present invention provides a gait evaluation method and an electronic device thereof, which calculate a plurality of indexes by detecting changes of acceleration values on each directions corresponding to a user and correct sensing errors, so as to evaluate a gait of the user accurately.
The embodiment of the invention provides a gait evaluation method, which uses a sensor worn by a user to evaluate a gait of the user. The gait evaluation method includes the following steps. Obtaining a plurality of first acceleration values, a plurality of second acceleration values and a plurality of third acceleration values on a first direction, a second direction and a third direction corresponding to the user within a walking period of the user from the sensor worn by the user. Obtaining a wearing position of the sensor on the user. Calculating a sway index related to the user based on the first acceleration values, the second acceleration values and the wearing position of the sensor on the user. Calculating a step index related to the user based on the first acceleration values, the second acceleration values and the third acceleration values. Calculates a slouch index related to the user based on the third acceleration values. Generating a gait evaluation result according to the sway index, the step and the slouch index.
The present invention provides an electronic device adapted to evaluate a gait of a user. The electronic device includes a sensor and a processor coupled to the sensor. The sensor is worn by the user, and detects a plurality of first acceleration values, a plurality of second acceleration values and a plurality of third acceleration values on a first direction, a second direction and a third direction corresponding to the user within a walking period of the user. The processor obtains the first acceleration values, the second acceleration values and the third acceleration values on the first direction, the second direction and the third direction corresponding to the user from the sensor worn by the user, and obtains a wearing position of the sensor on the user. The processor calculates a sway index related to the user based on the first acceleration values, the second acceleration values and the wearing position of the sensor on the user. The processor calculates a step index related to the user based on the first acceleration values, the second acceleration values and the third acceleration values. The processor calculates a slouch index related to the user based on the third acceleration values. The processor generates a gait evaluation result according to the sway index, the step index and the slouch index.
Based on the above, in the gait evaluation method and the related electronic device provided in the embodiments of the invention, a plurality of first acceleration values, a plurality of second acceleration values, a plurality of third acceleration values and a wearing position of a sensor on a user detected within a walking period of the user are used to calculate a plurality of indexes of different types respectively, and a gait evaluation result is generated according to the indexes, so as to evaluate a gait of the user accurately.
To make the above features and advantages of the present invention more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
It is to be understood that both the foregoing and other detailed descriptions, features and advantages are intended to be described more comprehensively by providing an embodiment accompanied with figures hereinafter. In the following embodiments, wordings used to indicate directions, such as “up,” “down,” “front,” “back,” “left,” and “right”, merely refer to directions in the accompanying drawings. Therefore, the directional wording is used to illustrate rather than limit the invention. It should be pointed out first that the same or similar reference numerals or labels represent the same or similar components in the following embodiments.
Some body characteristics are usually used to evaluate whether a gait of an individual is standard. In detail, a standard gait includes the following features. First, a line extended from head, neck to waist is a vertical line. During walking, two tiptoes are pointing forward, and the heel leaves and touches the ground ahead to the sole of the foot. Besides, during walking, two hands are drooping and swinging naturally.
The gait evaluation method and the related electronic device provided in the embodiments of the invention further simplify the gait features into three categories, so as to perform the gait evaluation with reference to the said manner of evaluation.
The said gait features are obtained by the way proposed in the embodiments of the invention for detecting changes of accelerations of the user on the first, second and third direction.
In the present embodiment, the sensor 120 may include an accelerometer, a gyroscope, an electronic compass or similar devices, which is not limited by the invention. In other embodiments, the sensor 120 may further include other types of sensing devices for sensing physiological signals. To be specific, the sensor 120 may be used for detecting accelerations along three axes, but the functions are not limited thereto.
In the present embodiment, the processor 140 may include a micro-controller, an embedded controller, a central processing unit, a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC) or similar devices, which is not limited by the invention.
In the present embodiment, the output unit 160 may include the devices with functions of outputting information or outputting signals, such as a speaker or a display, which is not limited by the invention. The sensor 120 and the output unit 160 are connected or coupled to the processor 140 respectively.
It should be noted that, in another embodiment of the present invention, the electronic device 100 may further include a storage unit which is not shown in
The sensor 120 or the electronic device 100 including the sensor 120 is adapted to worn by a user for evaluating a gait of the user. The user may wear the said sensor 120 or the said electronic device 100 on the chest, but the present invention is not limited thereto. In the present embodiment, the electronic device 100 may be a portable electronic device dedicated to perform the evaluation on the gait or physiological parameters. On the other hand, in other embodiments, the electronic device 100 may be implemented by a common smart portable device, but the present invention is not limited herein.
Referring to
It should be noted that, the sensor 120 may read acceleration values on the first, second and third directions even if the user is standing still, due to the gravity or other factors. Therefore, the electronic device 100 may further correct to make sure that the detected first acceleration values, the detected second acceleration values and the detected third acceleration values can reflect the walking features and the gait of the user correctly.
In an embodiment of the present invention, the processor 140 further obtains a plurality of first reference values, a plurality of second reference values and a plurality of third reference values on the first direction, the second direction and the third direction corresponding to the user while the user wearing or equipping the sensor 120 or the electronic device 100 including the sensor 120 and before the user starting to walk. In other words, the first reference values, the second reference values and the third reference values are acceleration values on the first direction, the second direction and the third direction detected by the sensor 120 within a static period in which the user is static. The static period is, for example, 5 seconds, but which is not limited herein. Then, the processor 140 corrects the first acceleration values, the second acceleration values, and the third acceleration values detected within the said walking period by the sensor 120 according to the first reference values, the second reference values and the third reference values respectively. In the present embodiment, the processor 140 may perform correction base on an average of the first reference values, an average of the second reference values and an average of the third reference values, but the present invention is not limited herein.
In another embodiment of the present invention, the processor 140 corrects the first acceleration values, the second acceleration values, and the third acceleration values detected within the said walking period by the sensor 140 by using a first default reference, a second default reference and a third default reference directly, instead of measuring the first, second and third reference values previously.
It should be noted that, the first acceleration values, the second acceleration values, the third acceleration values, the first reference values, the second reference values, the third reference values, the first default reference, the second default reference and the third default reference may be all stored in the said storage unit, but the present invention is not limited herein.
Referring to
Ax is the first acceleration value, and Ay is the second acceleration value. A plurality of first acceleration values Ax and a plurality of second acceleration values Ay are arranged according to a sampling time and used to calculate the covariance matrix V. After obtaining the covariance matrix V, the processor 140 further obtains an eigenvalue matrix Ve of the covariance matrix V (S322). The eigenvalue matrix Ve is as follows.
After obtaining the eigenvalue matrix Ve, the processor 140 may calculate a major sway axis and a minor sway axis of a swaying trajectory of the user. In detail, it can be found that the user's body sways ovally on a virtual plane constituted by the first direction and the second direction according to an analysis on the first acceleration values Ax and the second acceleration values Ay. Accordingly, the processor 140 further calculates the major sway axis D0 and the minor sway axis D1 corresponding to the user by the eigenvalue matrix Ve (S323). The major sway axis D0 and the minor sway axis D1 are as follows.
D
0=(Ve0)2×2.447 (3)
D
1=(Ve1)2×2.447 (4)
At last, the processor 140 calculates the sway index S by the major sway axis D0, the minor sway axis D1 and the wearing position of the sensor 120 on the user (S324). In detail, it is enough to reflect the sway level of the user by the major sway axis D0 and the minor sway axis D1. However, there is a difference between the position of the sensor 120 or the electronic device 100 including the sensor 120 worn or equipped on the user, to an actual plane on which the user sways. In other words, the major sway axis D0 and the minor sway axis D1 obtained from the first acceleration values Ax and the second acceleration values Ay detected by the sensor 120 are not on the same plane as the actual plane which the user sways on.
Due to the sensor 120 is not on the plane which the user's body sways on, errors may exist in the calculated major sway axis D0 and the calculated minor sway axis D1. Therefore, correction is required being performed. In the present embodiment, the processor 140 calculates the offset d and the correction ratio a according to the wearing position of the sensor on the user and the slouch median. It should be noted that, in other embodiments, the offset d and the correction ratio a may be just reference values set in the electronic device 100 by default. Then, the processor 140 obtains an initial sway index by calculating a square root of a sum of square of the major sway axis D0 and the minor sway axis D1, and obtains a sway index S by regulating the initial sway index according to the offset d and the correction ratio a. The sway index S is as follows.
Referring to
At=√{square root over (Ax2+Ay2+Az2)} (6)
In detail, the total acceleration value At may correspondingly be calculated by the first acceleration value Ax, the second acceleration value Ay and the third acceleration value Az obtained at the same sampling time. After obtaining a plurality of the total acceleration values At, the processor 140 further calculates a peak-to-peak value Ap-p of the total acceleration values At as the step index (S332).
Since the motion of human stepping is regular and periodic, the changes of the total acceleration values At are also regular and periodic. Accordingly, in the present embodiment, the processor 140 determines whether the step size of the user is appropriate by the peak-to-peak value App of the total acceleration values At.
The offset parameter represents an offset level of the third acceleration values measured by the electronic device 100 resulting from the hunchback of the user. In the present embodiment, the offset parameter is 0.0207, which is not limited in the present invention. S1 and S2 are respective lengths of sampling period of the third acceleration values Az and the third reference values Bz. The processor 140 obtains a plurality of third acceleration values Az and a plurality of third reference values Bz according to the lengths of sampling period S1 and S2 respectively, so as to calculate the acceleration summation and the reference summation. In an embodiment of the present invention, the length of sampling period S1 may be a time length of the said walking period, and the length of sampling period S2 may be a time length of the said static period, but the present invention is not limited herein. In other embodiments, the lengths of sampling period S1 and S2 may be determined according to calculation requirements, but the length of sampling period S1 is usually longer than the length of sampling period S2. In another embodiment of the present invention, the reference summation may be further substituted by a default summation reference without requirement on measuring the third reference values before the user walks.
In detail, if the user becomes slouched while walking, the third acceleration value Az on the third direction would be changed correspondingly. Therefore, the slouch index Slouch may be used to evaluate a slouch level of the user by comparing the acceleration summation and the reference summation of the third acceleration values Az and third reference values Bz.
Referring to
In the present embodiment, the processor 140 compares the sway index S with a first threshold. The sway level of the user is more serious when the sway index S exceeds the first threshold. The processor 140 sets the sway score as 0 in this case. Otherwise, the processor 140 sets the sway score as 1 when the sway index does not exceed the first threshold.
In the present embodiment, the processor 140 compares the step index Ap with a second threshold and a third threshold. In general, the step size of the user is moderate when the step index Ap is between the second threshold and the third threshold. The processor 140 sets the step score as 1 in this case. Otherwise, the processor 140 sets the step score as 0 when the step index Ap is smaller than the second threshold or larger than the third threshold. The second threshold and the third threshold are, for example, 0.281 and 0.506, which is not limited herein.
In the present embodiment, the processor 140 compares the slouch index Slouch with a fourth threshold. The slouch level of the user is more serious when the slouch index Slouch exceeds the fourth threshold. The processor 140 sets the slouch score as 0 in this case. Otherwise, the processor 140 sets the slouch score as 1 when the slouch index Slouch is smaller than or equal to the fourth threshold.
After obtaining the sway score, the step score and the slouch score, the processor 140 generates the gait evaluation result by respectively assigning different weights to the sway score, the step score and the slouch score based on the importance of the sway level, the step size and the slouch level. To be specific, in the present embodiment, for example, the weight of the sway score is 2, the weight of the step score is 1, and the weight of the slouch score is 4. A sum of the weighted sway score, the weighted step score and the weighted slouch score is regarded as the gait evaluation result. In general, the larger the numerical number of the gait evaluation result is, the more standard the gait of the user is.
In an embodiment of the present invention, the processor 140 further controls the output unit 160 outputting prompting information according to the gait evaluation result. Specifically, the prompting information may be the numerical number of the gait evaluation result, which is not limited by the invention. The processor 140 may further provide a compliment or a warning accordingly to a level of the gait evaluation result.
In summary, in the gait evaluation method and the related electronic device provided in the embodiments of the invention, a plurality of first acceleration values, a plurality of second acceleration values, and a plurality of third acceleration values detected within a walking period of the user and a wearing position of the sensor on a user are used to calculate a plurality of indexes of different types respectively, and a gait evaluation result is generated according to the indexes. By such, deviations of the sensor resulting from a wearing position thereof are corrected, and a gait of the user is evaluated accurately.
Although the invention has been described with reference to the above embodiments, it will be apparent to one of ordinary skill in the art that modifications to the described embodiments may be made without departing from the spirit of the invention. Accordingly, the scope of the invention will be defined by the attached claims and not by the above detailed descriptions.
Number | Date | Country | Kind |
---|---|---|---|
105112815 | Apr 2016 | TW | national |