This application claims priority to European Patent Application No. 19192928.0 filed on Aug. 21, 2019, the entire disclosure of which is hereby incorporated herein by reference.
The present invention relates to a gait detection method for detecting gaits of a person. The method uses a processing circuit and an accelerometer, which may be worn on the person's wrist, for instance. The invention also relates to a gait detection sensor configured to implement the method.
Physical activity (PA) is one of the fundamental aspects of daily life closely associated with well-being and is recognised as a leading health indicator of populations. The World Health Organization (WHO) has reported a strong connection between PA and risk of falling, cognitive function, muscular fitness, and functional health level of elderly people. PA becomes even more important when the increasing trend of aging populations is considered. PA is a crucial component in healthy aging, intervention in many treatments, and the reduction of the risk of chronic non-communicable diseases, such as diabetes, hypertension, cardiovascular diseases, depression, obesity and some types of cancer.
Amongst different types of PA, gait (e.g. walking and running) is one of the most important and effective ones whose objective assessment can provide useful and valuable information. Thanks to recent advances in wearable technologies, various systems based on inertial measurement units (IMUs), including accelerometers and gyroscopes, attached to the lower limbs, upper body or to both of these locations, have been developed to monitor PA, particularly gait bouts. In some cases, an IMU in a smartphone has been employed where the phone has been fixed to different parts of the body. While these systems provide detection of gaits outside of the laboratory, they suffer from several drawbacks. Wearing multiple sensors, for example, on foot, shank, thigh, hip, or chest, may be cumbersome, uncomfortable and awkward in daily situations, especially when long-term measurements are targeted. Fixation and alignment of the sensors with body segments to guarantee fixed orientation/location during an entire measurement may require an intervention of an expert, as well as additional tests, which affect the usability of the system or can easily disturb the wearer and modify their usual daily activities.
Moreover, the power consumption of such systems may be high due to using multiple sensors and/or modalities (e.g. a gyroscope), which limits the duration of the measurements. The existing algorithms also lack the provision of real-time data processing and analysis, relevant for generating real-time feedback, due to their high complexity. Therefore, most of the known systems operate only offline so that recorded raw data must be later transferred into a server for further analysis.
Considering the above limitations, alternative solutions for PA monitoring, particularly gait, use a single IMU mounted on the wrist. The solutions offer comfort, high usability and discreet monitoring (e.g. integrated inside a wristwatch) thus leading to an increased user compliance. The currently known wrist-based methods have used the abstract modelling where several features based on time, frequency and statistics are extracted and fed into various types of machine learning models (e.g. a decision tree or a support vector machine (SVM)). Such methods are independent of sensor orientation. Therefore, there is no need for sensor calibration and alignment. These advantages make the wrist as a suitable sensor location for long-term measurements of gait in real world situations. However, the association of the gait activity with the wrist motion is more challenging than the motion of the upper body or lower limbs. The wrist may have “independent” movements of the gait (e.g. carrying a bag, hand in pocket) and non-gait (e.g. moving wrist when sitting or standing), which cause many problems for an accurate gait detection in everyday conditions.
Nowadays, advances in the technology, as well as increasing demand and interest for long-term monitoring of physical activities, mean that a high number of consumer-oriented activity trackers, particularly smartwatches, emerge in the market. They provide a nonintrusive and easy way to track physical activities in free-living conditions. However, their reliability and validity are not yet completely known. Several studies showed a significant drop of the performance (up to 50% of error) of such commercial products under different conditions.
Regarding gait detection, one major and challenging issue is the validity of the existing methods under real-world or unsupervised conditions. In fact, most of the methods were validated only in supervised (e.g. in a controlled laboratory setting involving measurements during short periods and limited space) or semi-supervised (e.g. a series of activities lasting longer time simulating real-life situation under the supervision of an observer). Such conditions may not match real-world situations where the gait activity is context dependent, self-initiated and purposeful. Moreover, in daily life, the gait can be disturbed by “stationary” motions (e.g. shuffling around, swinging, stepping, turning, fidgeting, jumping), unpredicted sequences of PA, a huge imbalance of the data (gait periods are significantly less frequent than non-gait ones), and the presence of other types of locomotion (e.g. cycling, fitness, sport). It has been shown that the performance of PA classification significantly decreases when the validation is performed under real-life circumstances. Only few works have evaluated their methods under completely real-world conditions, without any supervisions or pre-defined sequences of PA. Those works used a subject-borne camera as a reference to label PA in free-living conditions.
An object of the present invention is to overcome at least some of the above shortcomings of the existing PA detection sensors. More specifically, the present invention aims to provide an improved gait detection method and sensor, which may be worn on a user's wrist.
According to a first aspect of the invention, there is provided a method of detecting gaits of an individual as recited in claim 1.
The present method uses an accurate and precise algorithm to detect gait bouts in completely free-living conditions using a single tri-axial accelerometer on wrist, for example. Biomechanically derived features were extracted characterising real-life gait along with using a probability estimator, such as a naïve Bayes classifier, followed by one or optionally two physically-meaningful post classification procedures to optimise the performance. The solution offers a low-power, calibration-free algorithm which needs low computation to be implemented for example inside a wristwatch which is proper for providing online feedbacks for the user in every-day situations. The algorithm has been validated under real-world conditions in healthy young and old adults against an accurate and pre-validated wearable system.
According to a second aspect of the invention, there is provided a gait detection sensor as recited in claim 13.
According to a third aspect of the invention, there is provided a wristwatch comprising the gait detection sensor according to the second aspect of the present invention.
Other aspects of the invention are recited in the dependent claims attached hereto.
Other features and advantages of the invention will become apparent from the following description of a non-limiting example embodiment, with reference to the appended drawings, in which:
An embodiment of the present invention will now be described in detail with reference to the attached figures. The invention will be described in the context of a gait detection system using a wrist accelerometer. However, the teachings of the invention are not limited to this environment or application. For instance, the accelerometer does not have to be wrist-worn. Identical or corresponding functional and structural elements which appear in different drawings are assigned the same reference numerals. As utilised herein, “and/or” means any one or more of the items in the list joined by “and/or”. As an example, “x and/or y” means any element of the three-element set {(x), (y), (x, y)}. In other words, “x and/or y” means “one or both of x and y.” As another example, “x, y, and/or z” means any element of the seven-element set {(x), (y), (z), (x, y), (x, z), (y, z), (x, y, z)}. In other words, “x, y and/or z” means “one or more of x, y, and z.” Furthermore, the term “comprise” is used herein as an open-ended term. This means that the object encompasses all the elements listed, but may also include additional, unnamed elements. Thus, the word “comprise” is interpreted by the broader meaning “include”, “contain” or “comprehend”.
The Bayes estimator is advantageously trained prior to applying the algorithm proposed below. For the training, another algorithm and sensor are advantageously used than the ones proposed in the present invention. The training data are collected from a group of individuals, such that the Bayes estimator may then be trained by following the principles of cross-validation, for instance.
The probability of gait occurrence PBayes[n] is then fed into the temporal-based probability modification unit 11, which is configured to utilise temporal information of past detected activities, in this example from the training data set to modify the gait occurrence probability based on the histogram of gait durations in real-life situations. In this context by a histogram may be understood an estimate of probability distribution for gate duration or non-gate duration. The resulting probability value PT[n] is then fed into the smart decision making unit 13, which is configured to give a classification or label “gait” or “non-gait” using a smart rule according to the probability resulted from the previous steps. In the following, a more detailed description of the data processing steps is provided.
Segmentation
The segmentation unit 5 first samples the received continuous time domain acceleration signal. It is to be noted that the various acceleration signals are advantageously sampled by using the same sampling frequency, for example between 100 Hz and 1000 Hz. In this specific example, a sampling frequency of 200 Hz is used. Then, the segmentation unit 5 employs a moving window with a given time duration, in this specific example with a duration of 6 seconds, with a given time overlap, in this specific example with a 5-second overlap, to generate segmented wrist acceleration signals (Ax[n],Ay[n],Az[n]), where n refers to a window number. It was experimentally found out that the window length of 6 seconds optimises the performance. The window length is thus advantageously between 1 seconds and 10 seconds or more specifically between 4 seconds and 8 seconds. This amount of data is short enough to have required time resolution and long enough to have sufficient data for frequency analysis.
Feature Extraction
A number of features were defined or identified based on biomechanics of wrist movements, such as intensity, periodicity, posture, and noisiness, to highlight intrinsic differences between gait and non-gait bouts from a wrist movement point of view. Least absolute shrinkage and selection operator (LASSO) feature selection method according to “J. Tang, S. Alelyani, and H. Liu, “Feature Selection for Classification: A Review,” Data Classif. Algorithms Appl., p. 37, 2014” was used to specify the best possible feature set to optimise the performance on the training dataset. Interestingly, LASSO selected a set of features which covers all biomechanical criteria (i.e. intensity, periodicity, posture, noisiness) used to define features. Totally, 13 features were chosen in the four categories as follows:
Intensity-based features: One key difference between gait and non-gait periods is the intensity of the wrist acceleration signal. In order to extract this information, the following features were computed:
NI[n]: This is the intensity of acceleration norm calculated according to Equation 1.
where SA[fi] is the amplitude of spectrum acceleration norm computed according to Equations 2 and 3. In order to estimate the spectrum, N-point Fast Fourier Transform (FFT) with Blackman windowing was used, where N is the number of samples within a time window (i.e. N=1200 in the present case). Moreover, fi refers to frequency resolution of the method which is shown in Equation 4. A logarithmic function was used in order to shorten the range of this feature, as well as heavy tail of its histogram, which is proper for further Bayesian modelling.
SA[f]=|FFT(A[n])| (2)
A[n]=√{square root over (Ax[n]2+Ay[n]2+Az[n]2)} (3)
fi={0,0.17,0.34, . . . ,100}1≤i≤1200 (4)
MeanA[n]: This is mean value of acceleration norm within a time window.
Periodicity-based features: Considering the cyclic nature of the gait, 5 features related to the periodicity of acceleration signals was included as follows:
NACFmax[n]: Autocorrelation function of acceleration norm computed and normalised to the first sample (i.e. sample of zero lag). Then, its maximum peak, NACFmax, excluding the zero lag sample, was reported for each window. This feature may thus be called maximum peak of normalised autocorrelation function of acceleration norm.
NACFp2p[n]: This feature is the peak-to-peak value of maximum peak and valley of the normalised autocorrelation function, excluding the zero lag sample. In other words, this feature is peak-to-peak value of normalised autocorrelation function of acceleration norm.
SAmax[n]: Normalised spectrum of acceleration norm (NSA) was estimated using SA[fi] according to Equation 5 and its maximum peak amplitude was computed as SAmax[n]. This feature is thus maximum peak of spectrum of acceleration norm.
DomSAmax[n]: A score was designed which showed how much the maximum peak of NSA was sharp compared to its neighbouring samples. This score can be called a sharpness of the maximum peak of NSA. This feature was computed according to Equation 6, where fmax, fmax−1 and fmax+1 refer to the frequencies of maximum peak of NSA, a sample before and after, respectively. This feature is thus sharpness of maximum peak of spectrum of acceleration norm.
Cad[n]: Not only the periodicity of the signal, but also the value of the period itself is an important piece of information to distinguish between gait and non-gait periods. Generally, stride frequency (i.e. fundamental frequency of the gait signal) is bounded in a short range around 1 Hz (i.e. between 0.3 Hz and 2.5 Hz). The fundamental frequency of acceleration signal was computed using the algorithm presented in “B. Fasel et al., “A wrist sensor and algorithm to determine instantaneous walking cadence and speed in daily life walking,” Med. Biol. Eng. Comput., vol. 55, pp. 1773-1785, 2017”. This feature is thus cadence or step frequency (steps/min) of gait.
Posture-based features: During gait (i.e. running or walking), the wrist generally has a specific predictable posture, while during non-gait periods, the posture is mainly unpredictable and irregular. Consequently, extracting information about the posture of the wrist should be useful for gait bouts detection. We defined 0 as the angle between y-axis of the accelerometer on the wrist and the global horizontal plane <xGlobal,yGlobal> (the plane made by x and y axes of the global coordinate system and perpendicular to the gravity vector, see
Ay[n]=g sin(θ[n]) (7)
A<x,z>[n]=√{square root over (Ax[n]2+Az[n]2)}=g cos(θ[n]), (8)
where g denotes the gravity acceleration, and A<x,z>[n] is the amplitude of resultant acceleration vector on the plane <x, z> for window n. Consequently, the angle θ[n] can be estimated through Equation 9.
The proposed postured-based feature, i.e. the posture of the wrist, is defined as:
WristPost[n]=mean(sin(θ[n])) (10)
Noisiness-based features: In gait, acceleration signal is pseudo-cyclic with energy mostly in the low frequency band, while in non-gait periods the signal is rather random and erratic with energy distributed in a larger frequency band. Therefore, like signal-to-noise ratio (SNR), the gait/non-gait power ratio is expected to be higher during gait than non-gait periods. Consequently, several features were devised to capture information about the level of “noise” (i.e. non-gait period) in the signal (i.e. gait period). These features are as follow:
HLR[n]=high to low frequency ratio: We defined the ratio between the intensities present at high frequencies and at low frequencies as a feature according to Equation 11. The frequency threshold was experimentally set to 3.5 Hz to optimise the performance However, it is possible to use another frequency threshold instead. The threshold is advantageously between 1 Hz and 10 Hz or more specifically between 2 Hz and 5 Hz. This feature is thus high to low frequencies ratio of energy of acceleration norm.
ZCR[n]: Zero crossing rate should be higher in acceleration norm during non-gait period due to noisy and erratic nature of wrist movements. First, mean value of the acceleration norm within the time window was removed. Then, any linear trends in the resulted signal were discarded, for instance by using “deterend” function in MATLAB®. Eventually, the number of zero crosses was counted as feature ZCR[n]. This feature is thus zero crossing rate of mean-removed acceleration norm.
SEF[n]: As it is shown in Equation 12, spectral edge frequency estimates the frequency where a (%) of the energy of the signal is observed below that frequency “J. C. Drummond, C. A. Brann, D. E. Perkins, and D. E. Wolfe, “A comparison of median frequency, spectral edge frequency, a frequency band power ratio, total power, and dominance shift in the determination of depth of anesthesia,” Acta Anaesthesiol. Scand., vol. 35, no. 8, pp. 693-699, 1991”. We found that α=70(%) provided the best performance in the present application. This feature may be called spectral edge frequency of acceleration norm.
RandA[n]: By assuming that the wrist acceleration signal is less random during gait than non-gait periods, we defined RandA[n] feature according to an autocorrelation-based test presented in “P. J. Brockwell, R. A. Davis, and M. V. Calder, Introduction to time series and forecasting, vol. 2. Springer, 2002” to measure how much the signal is random. According to this test, if a time series comes from a stationary random process (which is almost the case for acceleration norm of non-gait periods within a short window of 6 seconds), samples of autocorrelation of the time series will be mainly bounded between ±1.96/√{square root over (N)} thresholds where N is the number of samples within a time window (i.e. 1200). We defined RandA[n] as the percentage of autocorrelation samples outside the range of ±1.96/√{square root over (N)}. The higher the value of RandA[n] is, the less random the signal is. This feature may thus be defined as randomness score of acceleration norm.
KurtosisA[n]: Kurtosis is a well-known tool to measure how much the distribution of data is outlier-prone “P. H. Westfall, “Kurtosis as peakedness, 1905-2014. RIP,” Am. Stat., vol. 68, no. 3, pp. 191-195, 2014”. We hypothesized that the acceleration norm of non-gait periods contains more outliers than gait due to higher randomness of the signal. Therefore, the kurtosis of the acceleration norm within a time window was computed as a feature.
Eventually, for each time window n, H[n] was built as the feature vector including all selected features. However, it would be possible to include in the feature vector only some of the above features or even some other features in addition or instead.
Bayes Estimator
The probability of gait occurrence for each window was estimated by using the Bayes estimator according to Equation 13:
where PG|H[n] is the probability of gait occurrence condition on the observed feature vector, H[n]. In addition, PH[n]|G and PH[n]|NG are probabilities of occurrence of having H[n] in gait (G) class and non-gait (NG) class, respectively. Furthermore, PG and PNG are respectively prior probabilities of gait and non-gait happening. We considered multivariate multinomial distributions (“mvmn” in MATLAB®) for the Bayes estimator. Furthermore, in order to manage the intrinsic imbalances of samples between gait and non-gait periods (in real-world situations, non-gait samples are relatively more frequent than gait ones), we took advantage of Laplace smoothing parameter, “A. Y. Liu and C. E. Martin, “Smoothing multinomial naïve bayes in the presence of imbalance,” in International Workshop on Machine Learning and Data Mining in Pattern Recognition, 2011, pp. 46-59”, in computation of the prior probabilities as follows:
where NNG, and NG are the total number of samples or windows observed for non-gait and gait periods. 1 is a smoothing parameter fixed empirically to (NG−NNG)/10.
Temporal-Based Probability Modification
We took advantage of information of past detected activities to increase the certainty of the decision made for the current activity. As shown in
Pq[n]=G|d[n−1]=βGe−τ
Pq[n]=NG|d[n−1]=βNGe−τ
{tilde over (P)}q[n]=q[n−1]d[n−1]=0.15Pq[n]=q[n−1]d[n−1]+0.05 (18)
PT[n]=min(max(PBayes[n]+ψ{tilde over (P)}q[n]=q[n−1]d[n−1],0),1), (19)
where ψ was defined as follows:
Smart Decision Making
When PT[n] is far enough from 0.5, it is easy to decide if the activity of the window n is gait or not. However, making the decision is challenging when PT[n] is close to 0.5, which can happen in the proximity of transients between the activities since a part of the feature window is gait and the other part is non-gait. Consequently, the following algorithm was designed to make a smart decision based on PT[n]. If PT[n]<0.3 and PT[n]>0.7, the decisions were NG and G, respectively. Here, the decision refers to the label L [n] for the current window n. These windows can be called reliable windows. On the other hand, if 0.3≤PT[n]≤0.7 (called ambiguous windows or uncertainty zone), then we checked the period, or more specifically its duration, between the last and next reliable windows. For instance, for ambiguous window n, windows m and k are the last and next reliable windows, respectively (m<n<k, see
The above process is summarised in the flow chart of
The principles of an accurate and precise window-based algorithm were explained above to recognise gait bouts and estimate their duration using a single low-power accelerometer mounted on the wrist in unsupervised real-world situations. Probability density functions of the biomechanically-derived features (according to i.e. intensity, periodicity, posture, and noisiness) illustrate a high ability for the selected features to distinguish between gait and non-gait bouts. The LASSO scores show that NACFmax, SAmax, NI and WristPost are among the best or meaningful features in this application. In addition, the periodicity was a better criterion for distinguishing between gait and non-gait bouts.
Using only one low-power accelerometer, optimising features computation and using some implementation techniques, an optimised implementation of the proposed sensor showed a very low power consumption (135.5 mAh per year) in real-world conditions. The implemented method offers around one year of continuous effective measurement of gait with a primary normal battery cell (250 mAh). This is a great advantage since many medical and sport applications crucially need long-term measurements of physical activities in real-life situations. The simplicity of the proposed method and its low computation time (1 ms per window) offers the possibility of a real-time and on-board analysis of physical activities which provides the possibility of generating real-time feedback that can be important in many applications, such as intervention programs.
The proposed method, validated in unsupervised daily situations over young and elderly people, offers a high potential to be used in clinical settings for the monitoring of patients with activity restrictions due to diseases. As an example, the system may be used among a large population of older adults to analyse the effect of various factors such as aging, obesity, and frailty on the quality and quantity of physical activities in daily life situations. More importantly, the proposed method can be used as a primary stage for many algorithms in the analysis of physical activities, where accurate detection of gait bouts is needed, such as gait cadence estimation, and gait speed estimation.
To conclude, the present invention in the above example presented an accurate and precise method for detection of gait bouts in free-living situations. Biomechanically-derived features were integrated with a naïve Bayes classifier followed by two physically-meaningful post-classification steps to deal with the difficulties posed by challenging movements of the wrist in real-world situations. Such a wrist-based, low-power, and calibration-free (no calibration phase is needed for sensor-to-body alignment) system offers a versatile measurement tool with high usability and autonomy, perfect for long-term monitoring of physical activities in free-living situations. In addition, the simplicity of the proposed method and being real-time allows implementing the method inside a wristwatch, which protects privacy of the user. This also provides the possibility of giving online meaningful feedback to the user in daily life to promote a more active life-style.
While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive, the invention being not limited to the disclosed embodiment. Other embodiments and variants are understood, and can be achieved by those skilled in the art when carrying out the claimed invention, based on a study of the drawings, the disclosure and the appended claims.
In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. The mere fact that different features are recited in mutually different dependent claims does not indicate that a combination of these features cannot be advantageously used. Any reference signs in the claims should not be construed as limiting the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
19192928 | Aug 2019 | EP | regional |
Number | Name | Date | Kind |
---|---|---|---|
10588517 | Chowdhary et al. | Mar 2020 | B2 |
20130218053 | Kaiser et al. | Aug 2013 | A1 |
20180114133 | Chowdhary et al. | Apr 2018 | A1 |
20180333057 | Chowdhary et al. | Nov 2018 | A1 |
20190150793 | Barth et al. | May 2019 | A1 |
Number | Date | Country |
---|---|---|
108319960 | Jul 2018 | CN |
Entry |
---|
Christine E. King & Majid Sarrafzadeh, A Survey of Smartwatches in Remote Health Monitoring, Dec. 18, 2017, J Healthc Inform Res (Year: 2017). |
Lee F. Richardson, The Sliding Window Discrete Fourier Transform, May 29, 2019, Department of Statistics and Data Science, Carnegie Mellon University (Year: 2019). |
Blaine Reeder, Alexandria David, Health at hand: A systematic review of smart watch uses for health and wellness, Oct. 2016, Journal of Biomedical Informatics (Year: 2016). |
Kong Y. Chen and David R. Bassett, Jr, The Technology of Accelerometry-Based Activity Monitors: Current and Future, 2005, American College of Sports Medicine (Year: 2005). |
Richard P Troiano, James J McClain, Robert J Brychta, Kong Y Chen, Evolution of accelerometer methods for physical activity research, Apr. 29, 2014, Br J Sports Med (Year: 2014). |
European Search Report dated Feb. 17, 2020 in European Application 19192928.0 filed Aug. 21, 2019, (with written Opinion), 8 pages. |
Pham, T. T. et al., “An Anomaly Detection Technique in Wearable Wireless Monitoring Systems for Studies of Gait Freezing in Parkinson's Disease,” 2017 International Conference on Information Networking (ICOIN), IEEE, Jan. 11, 2017, pp. 41-45. |
Number | Date | Country | |
---|---|---|---|
20210052196 A1 | Feb 2021 | US |