Skip to Content
You are currently on the new version of our website. Access the old version .
SensorsSensors
  • Article
  • Open Access

7 September 2023

17 Pages

Gait Monitoring and Analysis: A Mathematical Approach

,
,
,
,
,
,
,
and
1
Department of Sciences and Technological Innovation, University of Piemonte Orientale, 15121 Alessandria, Italy
2
Department of Translational Medicine, Università del Piemonte Orientale, 28100 Novara, Italy
*
Author to whom correspondence should be addressed.
This article belongs to the Section Wearables

Abstract

Gait abnormalities are common in the elderly and individuals diagnosed with Parkinson’s, often leading to reduced mobility and increased fall risk. Monitoring and assessing gait patterns in these populations play a crucial role in understanding disease progression, early detection of motor impairments, and developing personalized rehabilitation strategies. In particular, by identifying gait irregularities at an early stage, healthcare professionals can implement timely interventions and personalized therapeutic approaches, potentially delaying the onset of severe motor symptoms and improving overall patient outcomes. In this paper, we studied older adults affected by chronic diseases and/or Parkinson’s disease by monitoring their gait due to wearable devices that can accurately detect a person’s movements. In our study, about 50 people were involved in the trial (20 with Parkinson’s disease and 30 people with chronic diseases) who have worn our device for at least 6 months. During the experimentation, each device collected 25 samples from the accelerometer sensor for each second. By analyzing those data, we propose a metric for the “gait quality” based on the measure of entropy obtained by applying the Fourier transform.

1. Introduction

The world’s population is rapidly aging, and the number of older adults will increase significantly in the coming decades [1]. As individuals age, maintaining physical function and independence becomes crucial to their overall well-being. One key indicator of an individual’s physical function is their gait, which refers to the manner of walking or the pattern of movement during locomotion. Monitoring gait in older people holds significant importance as it can provide valuable insights into their overall health, risk of falls, and potential mobility limitations. Moreover, gait analysis serves as a noninvasive and cost-effective method to assess various age-related conditions and diseases affecting the musculoskeletal and neurological systems.
Gait analysis has long been recognized as a valuable tool in clinical research and rehabilitation settings [2]. By objectively evaluating gait parameters, such as stride length, gait speed, and cadence, healthcare professionals can gain critical insights into an individual’s mobility and balance. Monitoring gait patterns over time allows for detecting subtle changes that may signify early signs of decline or underlying health conditions. Such changes can range from minor alterations in walking speed to more pronounced abnormalities in gait rhythm or symmetry.
Falls represent a significant concern for older adults, as they can lead to severe injuries and loss of independence. Research indicates that gait abnormalities are often associated with an increased risk of falls among the elderly population [3,4]. By closely monitoring gait, healthcare providers can identify those at higher risk and implement appropriate interventions to prevent falls. Moreover, gait analysis can help identify specific gait parameters that may contribute to fall risk, enabling targeted interventions tailored to individual needs [5,6].
Furthermore, gait analysis provides insights into the functional decline associated with age-related musculoskeletal and neurological disorders. Conditions such as osteoarthritis, Parkinson’s disease, stroke, and peripheral neuropathy can significantly impact an individual’s gait pattern [7]. Continuous monitoring of gait parameters in these populations allows for the early detection of functional decline and facilitates the development of targeted interventions to mitigate the negative effects on mobility and overall quality of life.
In addition to diagnosing and managing specific conditions, monitoring gait in the elderly population can serve as a proactive approach to maintaining overall health and independence. By establishing baseline gait parameters for individuals, healthcare providers can track changes over time, enabling early interventions and personalized treatment plans.
Summing up, monitoring gait in the aging population plays a crucial role in promoting health, independence, and well-being. By evaluating gait parameters, healthcare professionals can gain valuable insights into an individual’s overall health status, detect early signs of decline, identify fall risks, and manage age-related conditions affecting mobility. Emphasizing the importance of gait analysis in clinical practice and research will enable the development of targeted interventions aimed at improving the functional mobility and independence of older adults. In this paper, we show the partial results we obtained by monitoring the gait of 20 people affected by Parkinson’s disease. We also define a new value related to the “quality of gait” by exploiting the Fourier analysis applied to the data obtained in the experimentation. The purpose of this paper is to provide methodological insight related to the mathematical model adopted for the analysis of the data obtained. The TED study is still in progress [7]. The final results of the study will be published in a subsequent paper.
The paper is organized as follows: In Section 2, we discuss the related works proposed in the scientific literature, while in Section 3, we illustrate the system architecture. In Section 4, we propose the data analysis used to quantify the gait quality; in Section 5, we discuss the mathematical approach and the gait description from a physical point of view. In Section 6, we discuss the partial results obtained. Finally, in Section 7, we conclude the paper and we outline our future works.

3. System Architecture

The data used for the analysis were gathered during two similar studies [7], which required two slightly different, albeit equivalent, architectures. The shared components and the ones on which they differ are shown in Figure 1 and detailed below.
Figure 1. System architecture. The figure shows the smartwatch used for data collection, a web browser to access the web app on the left, and the two communication protocols used. On the right side, the figure shows the server side of the system consisting of two Node.js modules, a MongoDB database, and the Heroku platform used to host the web application.
Two distinct types of wearable devices were employed for data collection, but since the collected data are comparable, only one is described for brevity. The device is an Android smartwatch (see Figure 2) with an embedded accelerometer that can send samples to the server using the built-in GSM module without connecting to a nearby device. A custom app was developed and installed on the smartwatches to collect and send the data. The main server is built using Node.js modules and runs on an Ubuntu virtual machine hosted on Chameleon Cloud [30]. The modules provide the APIs and the means of communication to upload and retrieve the data sent through HTTP/HTTPS [31,32] or MQTT [33]. Once the data reach the server, MongoDB [34] is used to store them, chosen for its ability to store time series efficiently. The data stored on the server can be accessed and queried using a simple web application developed to ease the retrieval of the samples for research purposes and to monitor the status of the devices in the system. This dashboard application has been deployed to Heroku [35] to reduce hosting-related work.
Figure 2. Android smartwatch used for data collection.

4. Data Analysis

This section will describe aspects of analyzing the data collected during the experiments. In our experimentation, about 50 people were involved (20 people with Parkinson’s disease and 30 people with chronic diseases) who have worn our device for at least 6 months each day. The usage of the device for every single person changed based on the tolerability of the device itself—the device collected at least 25 sample values from the accelerometer sensor each second. The total amount of data collected are about 40 GBytes.
The study’s main objective is to assess the gait quality over time using the sensor data. To achieve this, we developed a mathematical method based on Fourier analysis [36] that can give a relative measure of the quality of the walk. This spectral analysis of the data has revealed itself to be an efficient tool for detecting the variation of the amplitude of the signals corresponding to the different frequencies. This kind of frequency variation over time can be interpreted as a symptom that something is changing in the gait quality. This suggests a possible strategy for detecting suitable indices that could detect a possible deterioration in gait quality; see Section 5 for details.
However, since our users did not have any indication of when to wear the device, it is also important to find a way to classify the user’s activity based on the data coming from the sensors. To this end, we built a machine learning model for human activity recognition (HAR) classification. The following sections will describe the mathematical method for obtaining gait quality scores and the machine learning model for HAR classification.

4.1. Gait Analysis

This section will analyze the approach used to determine gait quality through statistical indices. During the discussion, a reference will be made to data collected in a controlled environment using the same methods and sensor employed during the user experimentation (Figure 3). Specifically, three controlled walks were performed, including a baseline walk and two walks with varying levels of alteration.
Figure 3. Data of the controlled walks. Each figure showcases plots corresponding to different levels of degradation. (a) illustrates the acceleration intensity along the x y z -axis and the magnitude in the time domain. (b) presents a selected segment of the Fourier transform for the three walks. Lastly, (c) reveals the trends of entropy and the weighted mean of the Fourier transform, which were used as gait indices.
The goal is to find indices of gait quality using only the data from the accelerometer worn by the participants in the experiment. As previously mentioned, the sensor used in the experiments provides measurements of acceleration intensity along the X Y Z -axes (with a scale range of ±4 g) and the associated timestamps (with a precision of 1 microsecond). For the analysis, we used the acceleration magnitude calculated as m a g = x 2 + y 2 + z 2 , which provides a direction-independent measure description of acceleration intensity. Figure 3a shows an excerpt of the raw data from the controlled walks.
We employed an approach based on spectral analysis of the acceleration data to derive indices that quantify the gait quality over time. A qualitative measure of gait quality can be obtained by analyzing the spectrum obtained through the Fourier transform of the acceleration magnitude. The differences between walks are directly observable in Figure 3b, which compares the spectra of the controlled walks. In particular, it is possible to observe that the spectrum of the baseline walk (left) is characterized by a well-defined dominant frequency. In contrast, this frequency degrades in the altered walks (center and right), accompanied by the appearance of other minor frequencies, resulting in a noisier spectrum.
Based on these observations, it was possible to introduce indices capable of quantifying the degree of gait alteration. Two main indices qualitatively describe gait: the weighted mean and the entropy of the Fourier frequencies (Figure 3c). The former tends to decrease when the walks degrade; the latter increases with walk degradation. These indices’ formal mathematical and physical descriptions are presented in Section 5.

4.2. HAR Classification

The classification model was constructed using a supervised learning approach employing an XGBoost classifier [37] model. The model was trained following a similar approach as described by Walmsley et al. in [38]. The accelerometer data of acceleration intensity along the 3-axes ( x , y , z ) with associated timestamps were segmented into non-overlapping 30-s windows. Feature extraction was then performed on each window, comprising the calculation of 38 distinct statistical indices characterizing the temporal window (Table 1 summarizes the features used and their type). Each window was annotated with the corresponding activity label.
Table 1. Features used to train the classification model.
However, due to constraints in our experimentation, obtaining labeled data from our sensors was not feasible on a scale sufficient to construct an appropriate dataset. Consequently, we adopted the publicly available Capture24 dataset [39]. The model trained on this dataset was subsequently applied to our sensor data to accomplish the classification task. Several necessary modifications were made to align the model with our specific data and context. We subsampled the time series, transitioning from a sampling frequency of 100 to 25 Hz. Additionally, we retained only the samples related to the walking, sleeping, and sit–stand classes.
The resulting dataset was utilized for training the XGBoost classifier. During training, an optimal hyperparameter search was conducted using a cross-validation setting and stratified K-fold technique (to address the class imbalance within the dataset). This yielded a weighted F1-score of 87%.

5. Fourier Analysis of the Acceleration Data

The acceleration data collected by a device after a walk of duration T may be interpreted as a function of the time t ∈ [ 0 , T ] . We will perform a Fourier analysis of these data. Given a generic function F, we denote by F ^ its Fourier transform:
F ^ ( s ) = ∫ − ∞ + ∞ e − 2 π i s t F ( t ) d t
where s ∈ ( − ∞ , + ∞ ) is the variable denoting frequencies. For more details on the Fourier transform and its applications, see [36]. Since the data coming from the device are discrete, we will use the fast Fourier transform as an approximation for the classical Fourier transform: given a sequence of N data d 1 , … , d N , its fast Fourier transform is given by the sequence d ^ 1 , … d ^ N defined by
d ^ k + 1 = ∑ j = 0 N − 1 e − 2 π i N j k d j + 1 for any k = 0 , … , N − 1 .
Suppose that the device collects N data in the period of time T at time steps of constant length δ . If the function F represents the acceleration data, then putting d j + 1 = F ( j δ ) for j = 0 , … , N − 1 and s k = k / T for k = 0 , … , N − 1 , then
F ^ ( s k ) ≈ δ d ^ k + 1 for any k = 0 , … , N − 1 .
Formula (1) can be considered meaningful only for small values of s k since the approximation of the integral in the second line of (1) can be regarded as accurate only when the coefficient 2 π k N δ , appearing in the complex exponential, is not too large. Roughly speaking, it is reasonable to consider values of k not exceeding N 2 . We now utilize the above mathematical description to outline some of the indicators of the quality of walking performances. A first possibility could be to evaluate the quantity E defined as the mean value of the kinetic energy along the whole walk. Letting a → ( t ) = ( a x ( t ) , a y ( t ) , a z ( t ) ) the vector acceleration and m the person’s mass, we have that
E = m | a ^ x ( 0 ) | 2 + | a ^ y ( 0 ) | 2 + | a ^ z ( 0 ) | 2 8 + m 8 π 2 T 2 ∑ k ∈ Z ∖ { 0 } | a ^ x ( 0 ) − a ^ x ( s k ) | 2 s k 2 + + | a ^ y ( 0 ) − a ^ y ( s k ) | 2 + | a ^ z ( 0 ) − a ^ z ( s k ) | 2 s k 2 .
Unfortunately, the mean values of the kinetic energy along the entire walk, obtained from the data of the device, are heavily influenced by the presence of components of gravity, thus producing very large values (of the order of 10 9 J ), which have nothing to do with the real values coming from a walking person. The main difficulty in removing the contribution of gravity is that the device measures its components in the frame of reference of the device, which is moving together with the part of the body where it is mounted. A possible solution to this problem is considering other devices containing a gyroscope. At the present state of the art, we do not have such kind of data since the data collected in past months come from a simple accelerometer. Among our purposes for future works is to manage data from a device containing a gyroscope. Energy could be a significant performance indicator. The results contained in [25] could be very useful in managing data from an accelerometer incorporating the contribution of gravity.
In the present work, we focus our attention essentially on the frequencies that characterize a generic walk as a performance indicator of the quality of walking. More precisely, we notice that a generic walk is characterized by a specific frequency s k and that, in general, it is not a single frequency but rather a small open set of frequencies centered around s k . In our data analysis, we choose as a function f the modulus of the acceleration measured by the device. The corresponding coefficient f ^ ( s k ) is the most relevant among the other frequencies | f ^ ( s k ) | > > | f ^ ( s k ′ ) | if k ′ ≠ k . This emerges from the data analysis: there is a small collection of frequencies around a peak that are relevant for a given walk, and we observe that the decreasing quality of the walk is characterized by the appearance of new lower frequencies in the spectrum.
We recall here the main idea before dwelling on mathematics. The FT of the gait leads to a noisy spectrum characterized by features of the walking gestures. Nonetheless, there is a dominant frequency, which is the fundamental cyclic characteristic of the gait. Then, from the experimental observation of the data, we noticed that the intensity of the fundamental frequency lowered, and new relevant lower modes were emerging on the altered walks. The combined effects are interpreted as the main difference between the noisy spectra of normal and altered ones. With this observation, we verify in mathematical formulas whether the two indicators (the variation of the mean and the variation of the entropy) describe the decreasing quality of the walks.
We analyze the system as follows: we vary the coefficients f ^ ( s k | β ) concerning variable β , which denotes the progression of the disease or temporally registers the different walks; then, we introduce the following quantity:
P ( β ) = ∑ k = 0 + ∞ | f ^ ( s k | β ) | 2
and we assume that it remains constant as the parameter β varies.
Given a generic sequence of data { y k } k ≥ 0 , we introduce the following weighted mean value defined by
⟨ y k ⟩ : = ∑ k = 0 + ∞ y k | f ^ ( s k | β ) | 2 .
The dependence upon s k is only through f ^ ( s k | β ) . It has been observed (see Section 4) that the variation of the height of the peak of the principal frequency, with a coefficient f ^ ( s k | β ) , characterizes the quality of the walk together with the appearance of a new relevant frequency k ′ , with a coefficient f ^ ( s k ′ | β ) , such that
| f ^ ( s k | β ) |   ≥   | f ^ ( s k ′ | β ) |   > >   | f ^ ( s k ″ | β ) | ,
where s k ″ are the irrelevant frequencies, namely, those highly suppressed in the spectrum of the walks.
To analyze the quality of the walk, we study the variation of the mean value of the frequencies and of the variance defined in the following way:
μ s ( β ) : = ⟨ s k ⟩ = ∑ k = 0 + ∞ s k | f ^ ( s k | β ) | 2 , σ s 2 ( β ) : = ⟨ s k 2 ⟩ − μ s 2 ( β ) = ∑ k = 0 + ∞ s k 2 | f ^ ( s k | β ) | 2 − μ s 2 ( β ) ,
in the different series of walk data.
If we compute the variation of P ( β ) and μ s ( β ) with respect to β , we obtain
∂ β P ( β ) = ∑ k = 0 + ∞ ∂ β | f ^ ( s k | β ) | 2 , ∂ β μ s ( β ) = ∑ k = 0 + ∞ s k ∂ β | f ^ ( s k | β ) | 2 .
Setting ∂ β P ( β ) = 0 , i.e., P = P ( β ) does not depend on β , which is based on the assumption that there is no change in this quantity of the candidate during the entire data series; we assume that there is a new (the analysis can be performed assuming several new frequencies are appearing, but the model can be easily discussed in terms of a single new frequency) frequency s k ′ appearing in the analysis of the series of walks, namely, changing β . This means that ∂ β | f ^ ( s k ′ | β ) | 2 > 0 or equivalently that | f ^ ( s k ′ | β ) | 2 increases as β increases, but this implies also
∑ k ≥ 0 , k ≠ k ′ ∂ β | f ^ ( s k | β ) | 2 = − ∂ β | f ^ ( s k ′ | β ) | 2 < 0
and therefore the sum of the variations of | f ^ ( s k | β ) | 2 when k ≠ k ′ decreases. This is seen in the data series during several walks, where we observe a progressive decrease in the quality of the walking act, resulting in low-frequency modes absent at the beginning of the experiment.
With a new frequency s k ′ , thanks to (3) and (4), we can write the variation of the mean as follows:
∂ β μ s ( β ) = ∑ k ≥ 0 , k ≠ k ′ ( s k − s k ′ ) ∂ β | f ( s k | β ) | 2 ,
which implies that ∂ β μ s ( β ) ≤ 0 , i.e., a decreasing mean value if either ( s k − s k ′ ) < 0 with ∂ β | f ( s k | β ) | 2 > 0 or ( s k − s k ′ ) > 0 with ∂ β | f ( s k | β ) | 2 < 0 (here, we made a simplifying assumption; namely, we assume that all amplitudes ∂ β | f ( s k | β ) | 2 decrease. Of course, that might not be the case, but since we assume that there is a narrow set of frequencies around the main frequency of the walk, we can assume that they are all decreasing). Notice that if the amplitudes associated with the original (before the appearance of the new frequency s k ) frequencies are decreasing ∂ β | f ( s k | β ) | 2 < 0 , the mean value μ s ( β ) decreases when s k < s k ′ . Vice versa, if the amplitude associated with the original frequencies is increasing ∂ β | f ( s k | β ) | 2 > 0 , the mean value decreases if a new high frequency s k > s k ′ emerges. From the data, we see the first situation, namely, an overall decrease of the amplitudes | f ( s k | β ) | 2 and the appearance of a low frequency s k ′ . If we relax the condition about the power, ∂ β P ( β ) = 0 and we assume ∂ β P ( β ) ≤ 0 , then we have a weaker condition instead of (5)
∂ β μ s ( β ) ≤ ∑ k ≥ 0 , k ≠ k ′ ( s k − s k ′ ) ∂ β | f ( s k | β ) | 2 ,
but we can conclude the same features as above.
For what concerns the variance σ s 2 , we compute the variation with respect to β and we obtain
∂ β σ s 2 ( β ) = 2 ∑ k ≥ 0 , k ≠ k ′ ( s k − s k ′ ) s k + s k ′ 2 − μ s ( β ) ∂ β | f ( s k | β ) | 2
which shows that it has a similar behavior of ∂ β μ s ( β ) , because of the product ( s k − s k ′ ) ∂ β | f ( s k | β ) | 2 appearing as in ∂ β μ s ( β ) , but the factor s k + s k ′ 2 − μ s ( β ) makes the analysis rather critical since the mean value μ s ( β ) could be either greater or lower than the arithmetic mean of s k and s k ′ . However, it is reasonable to think that s k + s k ′ 2 − μ s ( β ) is rather close to zero, and therefore, the variation of the variance is rather mild. Indeed, from the data, the variance variation is relatively mild because of that factor.
We can study a third quantity, namely, the entropy S. This is defined as follows: since | f ( s k | β ) | 2 are positive, we can define the amplitudes
ρ ( k | β ) = | f ^ ( s k | β ) | 2 P ( β )
such that ∑ k = 0 + ∞ ρ ( k | β ) = 1 ; then we set
S = − ∑ k = 0 + ∞ ρ ( k | β ) ln ρ ( k | β ) .
Assuming that ∂ β P ( β ) = 0 and exploiting (4), for the variation of the entropy under β , we obtain the following equation:
∂ β S = − 1 P ( β ) ∑ k ≥ 0 , k ≠ k ′ ln ρ ( k | β ) ρ ( k ′ | β ) ∂ β | f ^ ( s k | β ) | 2 .
As we have seen above, if ∂ β | f ^ ( s k | β ) | 2 ≤ 0 , which means that the amplitudes of the original frequencies are decreasing, and if we assume that ρ ( k | β ) > ρ ( k ′ | β ) , which means that the amplitude ρ ( k ′ | β ) associated with the new frequency is lower than the original one, then the entropy increases ∂ β S ≥ 0 . This is consistent with the fact that the overall quality of the walk is getting lower with the spreading of the original narrow-peaked spectrum around the main frequency of the walk.

6. Experimental Results

The results obtained by the two studies are presented below. Note that the change in gait quality throughout the study was synthetically represented as the percentage variation of entropy between the initial and final periods.
Regarding the first study (Figure 4a), it is possible to observe that, in general, the number of improvements (11 participants) and deteriorations (10 participants) are basically the same. Moreover, the mean percentage of improvement and deterioration is nearly identical: 5.1% (±5.8) and 4.9% (±6.5), respectively. For a comprehensive overview of the results, please refer to Table 2.
Figure 4. Results of the two studies. Every study’s percentage of entropy variation (y-axis) between the first and final week of data collection is reported per user (x-axis). In both studies, we applied a selection criterion to retain only those participants who conducted a minimum of 10 walks during the data collection period.
Table 2. Results of the first study. The table presents each participant’s minimum, maximum, and mean entropy values. It also includes the entropy values for the initial and final period of the study and the percentage variation of entropy.
In the second study (Figure 4b), an equal number of deteriorations and improvements can still be observed. However, the average magnitude of deterioration, 39.2% (±24.9), is higher than that of improvement, 14.5% (±11.2). To give at least a weak statistical significance to this fact, we introduce the two random variables I (improvements) and D (deteriorations) corresponding to the absolute value of the entropy variations (percentage) in the two groups, respectively. Performing a logarithmic transformation and applying an estimate for the difference of the means for unpaired data (see Chapters 12–13 in [40]), we obtain the following estimate for the ratio of the geometrical means μ D and μ I :
1.15 < μ D μ I < 7.84 ( C . I . 80 % ) .
The confidence level is unavoidably low due to the small number of data in the sample (only 10 users). Please refer to Table 3 for a comprehensive overview of the results.
Table 3. Results of the second study. The table presents each participant’s minimum, maximum, and mean entropy values. It also includes the entropy values for the initial and final period of the study and the percentage variation of entropy.
We also conducted a more in-depth study on one of the participants. Participant 14 from the second study used the device once daily while walking. This allowed for more precise monitoring of gait progression without relying on the classifier. The results of this case study are shown in Figure 5. In this case, we can observe a deterioration in gait quality, evidenced by an increase in entropy and a decrease in mean. The observed results were partially confirmed through an interview with the participant. During the study, the participant willingly responded to specific questions regarding their perception of increased difficulty in walking and whether they noticed any changes in their gait. From the interview, it emerged that the participant declared a deterioration in the quality of walking, which is compatible with what emerges from the analysis of the experimental data.
Figure 5. Gait index values and trends for participant 14. Each data point on the graph corresponds to an individual walk within the time frame indicated along the x-axis. The walks are spaced 1 day apart. Additionally, a regression line and the 95% confidence interval have been incorporated for both plots. The plot on the left illustrates the weighted mean, while the entropy value is displayed on the right.

7. Conclusions

In this paper, we monitor and analyze the gait of older adults affected by chronic diseases and/or Parkinson’s disease. Gait analysis is a valuable tool since it can detect the early signs of declining health conditions.
In particular, by exploiting a wearable device with an accelerometer sensor that sends data to our private cloud infrastructure, we collected 25 data samples for each second from 50 people for 6 months (more than 40 GBytes of data have been analyzed). By exploiting those data, we propose a metric for the “gait quality” based on the measure of entropy obtained by applying the Fourier transform.
By computing the percentage of entropy variation, we have noted that during the trial, some people had a decline of their gait quality (the entropy increased), other people had an improvement of their gait quality (the entropy decreased), and for some people, we have not seen any significant difference in their gait quality (the entropy is stable). The results obtained have been confirmed by the medical staff by visiting and interviewing the patients, thus validating our approach. We believe that this kind of approach, based on the research of suitable indicators of gait quality, could be very useful in determining for example, the progress of neuromuscular diseases. At the present state of the art, we identified three parameters of some interest that are able to determine a variation in the distribution of the fundamental frequencies over time: the mean value μ s , the variance σ s 2 , and the already-mentioned entropy S; see Section 5 for more details. In Section 5, we give a mathematical explanation of the reason for these indicators’ change when the quality of the gait declines over time. Indeed, we observed in the data of some individuals that the progress of their disease was accompanied by a variation in the distribution of the frequencies and, in particular, with a reduction of the amplitude of the main frequency and a simultaneous appearance of new peaks on lower frequencies. The decrement of the mean and the increment of the entropy with the progress of the disease find in Section 5 a rigorous mathematical explanation. The contents of the present article have to be considered only as initial results, and we believe that future studies will be necessary to find universal indicators of the quality gait; indeed, the three indicators considered in the present article only give information on the quality gait of a single person, and they have to be considered subjective of that particular individual and, hence, not comparable with the ones of other individuals.
As already explained in Section 2 in more detail, different from other works, the data collected during the preparation of this paper come from quite comfortable devices that can be worn by an individual for most part of a single day and for more consecutive days, even in the case of long periods of time (weeks or months). The positive aspect of this approach is that we can collect data from usual life, and this increases the probability of detecting special events such as a fall and analyzing the data just a few instants before that event. Moreover, the way the individual moves is not affected by wearing uncomfortable devices, and his or her behavior appears more natural than in a situation where he or she is forced to provide the data during a short session in a lab environment. The ones listed above are some of the reasons that encouraged us to choose this kind of approach in collecting and analyzing data.
However, in the future, we plan to compare our approach with similar studies. As mentioned in Section 2, to the best of our knowledge, other studies concerning gait monitoring and analysis exploit significantly different devices with respect to ours (such as shoes with sensorized insoles and a chest-mounted device), and consequently, the data provided by the sensors are hardly comparable with ours. To compare our solution with what was provided by other studies, we need to use our devices and the devices from other studies with the same people. For this reason, we are writing a project with researchers of Politecnico of Turin where we will compare our solutions with their solutions described in the paper [8]. In these new experiments, we plan to improve the accuracy of our solution by also taking advantage of a gyroscope sensor. Moreover, by exploiting machine learning algorithms, we plan to forecast the gait quality to prevent dangerous events, such as falls.

Author Contributions

Methodology, A.F., P.A.G., A.D.M., M.P. and L.M.; Software, F.D. and M.C.; Formal analysis, C.I.; Data curation, D.C.; Writing—original draft, M.C. All authors have read and agreed to the published version of the manuscript.

Funding

C. Irwin is supported by the National PhD Program in Artificial Intelligence for Healthcare and Life Sciences (Campus Bio-Medico, University of Rome). This paper is part of the project NODES, which has received funding from the MUR—M4C2 1.5 of PNRR with grant agreement no. ECS00000036.

Institutional Review Board Statement

The protocol has received formal approval by the Institutional Research Ethics Committee of Hospital “Maggiore della Carità” of Novara, Italy. N° Prot. 1024/CE; CE 246/21.

Data Availability Statement

The data used in this study is available in the following repository: https://gitlab.di.unipmn.it/Christopher.Irwin/acceleromerer-data (accessed on 28 August 2023).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Lutz, W.; Sanderson, W.; Scherbov, S. The coming acceleration of global population ageing. Nature 2008, 451, 716–719. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Studenski, S.; Perera, S.; Patel, K.V.; Rosano, C.; Faulkner, K.; Inzitari, M.; Brach, J.; Chandler, J.; Cawthon, P.; Connor, E.B. Gait speed and survival in older adults. JAMA 2011, 305, 50–58. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Caristia, S.; Campani, D.; Cannici, C.; Frontera, E.; Giarda, G.; Pisterzi, S.; Terranova, L.; Payedimarri, A.B.; Faggiano, F.; Dal Molin, A. Physical exercise and fall prevention: A systematic review and meta-analysis of experimental studies included in Cochrane reviews. Geriatr. Nurs. 2021, 42, 1275–1286. [Google Scholar] [CrossRef] [Scilit]
  4. Gambaro, E.; Gramaglia, C.; Azzolina, D.; Campani, D.; Molin, A.D.; Zeppegno, P. The complex associations between late life depression, fear of falling and risk of falls. A systematic review and meta-analysis. Ageing Res. Rev. 2022, 73, 101532. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Campani, D.; Caristia, S.; Amariglio, A.; Piscone, S.; Ferrara, L.I.; Barisone, M.; Bortoluzzi, S.; Faggiano, F.; Dal Molin, A.; Group, I.W. Home and environmental hazards modification for fall prevention among the elderly. Public Health Nurs. 2021, 38, 493–501. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Campani, D.; Caristia, S.; Amariglio, A.; Piscone, S.; Ferrara, L.I.; Bortoluzzi, S.; Faggiano, F.; Dal Molin, A.; Group, I.W. Effective, sustainable, and transferable physical exercise interventions for fall prevention among older people. Public Health Nurs. 2021, 38, 1140–1176. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Campani, D.; De Luca, E.; Bassi, E.; Busca, E.; Airoldi, C.; Barisone, M.; Canonico, M.; Contaldi, E.; Capello, D.; De Marchi, F.; et al. The prevention of falls in patients with Parkinson’s disease with in-home monitoring using a wearable system: A pilot study protocol. Aging Clin. Exp. Res. 2022, 34, 3017–3024. [Google Scholar] [CrossRef] [Scilit]
  8. Salis, F.; Bertuletti, S.; Bonci, T.; Caruso, M.; Scott, K.; Alcock, L.; Buckley, E.; Gazit, E.; Hansen, C.; Schwickert, L.; et al. A Multi-Sensor Wearable System for Gait Assessment in Real-World Conditions: Performance in Individuals with Impaired Mobility. 2023. Available online: https://www.researchsquare.com/article/rs-2486943/v1 (accessed on 28 August 2023).
  9. Ugbolue, U.C.; Papi, E.; Kaliarntas, K.T.; Kerr, A.; Earl, L.; Pomeroy, V.M.; Rowe, P.J. The evaluation of an inexpensive, 2D, video based gait assessment system for clinical use. Gait Posture 2013, 38, 483–489. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Verghese, J.; Holtzer, R.; Lipton, R.B.; Wang, C. Quantitative gait markers and incident fall risk in older adults. J. Gerontol. Ser. A 2009, 64, 896–901. [Google Scholar] [CrossRef] [Scilit]
  11. Lee, C.H.; Mendoza, T.; Huang, C.H.; Sun, T.L. Comparative analysis of fall risk assessment features in community-elderly and stroke survivors: Insights from sensor-based data. Healthcare 2023, 11, 1938. [Google Scholar] [CrossRef] [Scilit]
  12. Del Din, S.; Elshehabi, M.; Galna, B.; Hobert, M.A.; Warmerdam, E.; Suenkel, U.; Brockmann, K.; Metzger, F.; Hansen, C.; Berg, D.; et al. Gait analysis with wearables predicts conversion to parkinson disease. Ann. Neurol. 2019, 86, 357–367. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Isho, T.; Tashiro, H.; Usuda, S. Accelerometry-based gait characteristics evaluated using a smartphone and their association with fall risk in people with chronic stroke. J. Stroke Cerebrovasc. Dis. 2015, 24, 1305–1311. [Google Scholar] [CrossRef] [Scilit]
  14. Nishiguchi, S.; Yamada, M.; Nagai, K.; Mori, S.; Kajiwara, Y.; Sonoda, T.; Yoshimura, K.; Yoshitomi, H.; Ito, H.; Okamoto, K.; et al. Reliability and validity of gait analysis by android-based smartphone. Telemed. e-Health 2012, 18, 292–296. [Google Scholar] [CrossRef] [Scilit]
  15. Daines, K.J.; Baddour, N.; Burger, H.; Bavec, A.; Lemaire, E.D. Fall risk classification for people with lower extremity amputations using random forests and smartphone sensor features from a 6-minute walk test. PLoS ONE 2021, 16, e0247574. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Yang, C.C.; Hsu, Y.L. A review of accelerometry-based wearable motion detectors for physical activity monitoring. Sensors 2010, 10, 7772–7788. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Patel, S.; Park, H.; Bonato, P.; Chan, L.; Rodgers, M. A review of wearable sensors and systems with application in rehabilitation. J. Neuroeng. Rehabil. 2012, 9, 21. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Schalkamp, A.K.; Peall, K.J.; Harrison, N.A.; Sandor, C. Wearable movement-tracking data identify Parkinson’s disease years before clinical diagnosis. Nat. Med. 2023, 29, 2048–2056. [Google Scholar] [CrossRef] [Scilit]
  19. Williamson, J.R.; Telfer, B.; Mullany, R.; Friedl, K.E. Detecting Parkinson’s disease from wrist-worn accelerometry in the UK Biobank. Sensors 2021, 21, 2047. [Google Scholar] [CrossRef] [Scilit]
  20. Cola, G.; Avvenuti, M.; Musso, F.; Vecchio, A. Gait-based authentication using a wrist-worn device. In Proceedings of the 13th International Conference on Mobile and Ubiquitous Systems: Computing, Networking and Services, Hiroshima, Japan, 28 November–1 December 2016; pp. 208–217. [Google Scholar]
  21. Soltani, A.; Paraschiv-Ionescu, A.; Dejnabadi, H.; Marques-Vidal, P.; Aminian, K. Real-world gait bout detection using a wrist sensor: An unsupervised real-life validation. IEEE Access 2020, 8, 102883–102896. [Google Scholar] [CrossRef] [Scilit]
  22. Gjoreski, M.; Gjoreski, H.; Luštrek, M.; Gams, M. How accurately can your wrist device recognize daily activities and detect falls? Sensors 2016, 16, 800. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Mazilu, S.; Blanke, U.; Calatroni, A.; Gazit, E.; Hausdorff, J.M.; Tröster, G. The role of wrist-mounted inertial sensors in detecting gait freeze episodes in Parkinson’s disease. Pervasive Mob. Comput. 2016, 33, 1–16. [Google Scholar] [CrossRef] [Scilit]
  24. Peraza, L.R.; Kinnunen, K.M.; McNaney, R.; Craddock, I.J.; Whone, A.L.; Morgan, C.; Joules, R.; Wolz, R. An automatic gait analysis pipeline for wearable sensors: A pilot study in Parkinson’s disease. Sensors 2021, 21, 8286. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Sabatini, A.M.; Ligorio, G.; Mannini, A. Fourier-based integration of quasi-periodic gait accelerations for drift-free displacement estimation using inertial sensors. BioMed. Eng. Online 2015, 14, 106. [Google Scholar] [CrossRef] [Scilit]
  26. Teran-Pineda, D.; Thurnhofer-Hemsi, K.; Dominguez, E. Analysis and recognition of human gait activity based on multimodal sensors. Mathematic 2023, 11, 1538. [Google Scholar] [CrossRef] [Scilit]
  27. Wang, X. A human body gait recognition system based on fourier transform and quartile difference extraction. Int. J. Online Eng. 2017, 13, 129–139. [Google Scholar] [CrossRef] [Scilit]
  28. Ajani, A.S.; Ogunbode, O.A.; Adewumi, A.S.; Aremu, A.O.; Ajani, O.S.; Alade, M.O.; Jimoh, T.F. Development of digital gait monitoring software for diagnosis of neuromuscular disorder. Int. J. Biosens. Bioelectron. 2018, 4, 249. [Google Scholar] [CrossRef] [Scilit]
  29. Keren, K.; Busse, M.; Fritz, N.E.; Muratori, L.M.; Gazit, E.; Hillel, I.; Scheinowitz, M.; Gurevich, T.; Inbar, N.; Omer, N.; et al. Quantification of daily-living gait quantity and quality using a wrist-worn accelerometer in Huntington’s disease. Front. Neurol. 2021, 12, 719442. [Google Scholar] [CrossRef] [Scilit]
  30. Keahey, K.; Anderson, J.; Zhen, Z.; Riteau, P.; Ruth, P.; Stanzione, D.; Cevik, M.; Colleran, J.; Gunawi, H.S.; Hammock, C.; et al. Lessons Learned from the Chameleon Testbed. In Proceedings of the 2020 USENIX Annual Technical Conference (USENIX ATC ’20) Berkeley, CA, USA, 15–17 July 2020; USENIX Association: Berkeley, CA, USA, 2020. [Google Scholar]
  31. Nielsen, H.; Mogul, J.; Masinter, L.M.; Fielding, R.T.; Gettys, J.; Leach, P.J.; Berners-Lee, T. Hypertext Transfer Protocol—HTTP/1.1; RFC 2616. 1999. Available online: https://www.rfc-editor.org/info/rfc2616 (accessed on 28 August 2023).
  32. Rescorla, E.; Dierks, T. The Transport Layer Security (TLS) Protocol Version 1.2; RFC 5246. 2008. Available online: https://www.rfc-editor.org/info/rfc5246 (accessed on 28 August 2023).
  33. Hillar, G.C. MQTT Essentials—A lightweight IoT Protocol; Packt Publishing Ltd.: Birmingham, UK, 2017. [Google Scholar]
  34. Kyle, B.; Douglas, G.; Peter, B.; Shaun, V. MongoDB in Action: Covers MongoDB Version 3.0; Simon and Schuster: New York, NY, USA, 2016. [Google Scholar]
  35. Cloud Application Platform. 2023. Available online: https://www.salesforce.com/ap/?ir=1 (accessed on 30 June 2023).
  36. Bracewell, R.N.; Bracewell, R.N. The Fourier Transform and Its Applications; McGraw-Hill: New York, NY, USA, 1986; Volume 31999. [Google Scholar]
  37. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD ’16, San Francisco, CA, USA, 13–17 August 2016; ACM: New York, NY, USA, 2016; pp. 785–794. [Google Scholar] [CrossRef] [Scilit]
  38. Walmsley, R.; Chan, S.; Smith-Byrne, K.; Ramakrishnan, R.; Woodward, M.; Rahimi, K.; Dwyer, T.; Bennett, D.; Doherty, A. Reallocating time from device-measured sleep, sedentary behaviour or light physical activity to moderate-to-vigorous physical activity is associated with lower cardiovascular disease risk. medRxiv 2020. [Google Scholar] [CrossRef] [Scilit]
  39. Willetts, M.; Hollowell, S.; Aslett, L.; Holmes, C.; Doherty, A. Statistical machine learning of sleep and physical activity phenotypes from sensor data in 96,220 UK Biobank participants. Sci. Rep. 2018, 8, 7961. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  40. Whitlock, M.; Schluter, D. The Analysis of Biological Data; Roberts Publishers: Greenwood Village, CO, USA, 2020. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.