Next Article in Journal
A Reliable Method of Measuring the Conversion Degrees of Methacrylate Dental Resins
Next Article in Special Issue
Reliability of IMU-Derived Temporal Gait Parameters in Neurological Diseases
Previous Article in Journal
Distance-Based Detection of Cough, Wheeze, and Breath Sounds on Wearable Devices
Previous Article in Special Issue
Kinematic Effect on the Navicular Bone with the Use of Rearfoot Varus Wedge
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Human Gait Modeling, Prediction and Classification for Level Walking Using Harmonic Models Derived from a Single Thigh-Mounted IMU

by
Nimsiri Abhayasinghe
1,* and
Iain Murray
2
1
Department of Electrical and Electronic Engineering, Sri Lanka Institute of Information Technology, Malabe 10115, Sri Lanka
2
School of Electrical Engineering, Computing and Mathematical Sciences, Curtin University, Perth, WA 6102, Australia
*
Author to whom correspondence should be addressed.
Submission received: 24 January 2022 / Revised: 15 February 2022 / Accepted: 8 March 2022 / Published: 10 March 2022
(This article belongs to the Collection Sensors for Gait, Human Movement Analysis, and Health Monitoring)

Abstract

:
The majority of human gait modeling is based on hip, foot or thigh acceleration. The regeneration accuracy of these modeling approaches is not very high. This paper presents a harmonic approach to modeling human gait during level walking based on gyroscopic signals for a single thigh-mounted Inertial Measurement Unit (IMU) and the flexion–extension derived from a single thigh-mounted IMU. The thigh angle can be modeled with five significant harmonics, with a regeneration accuracy of over 0.999 correlation and less than 0.5° RMSE per stride cycle. Comparable regeneration accuracies can be achieved with nine significant harmonics for the gyro signal. The fundamental frequency of the harmonic model can be estimated using the stride time, with an error level of 0.0479% (±0.0029%). Six commonly observed stride patterns, and harmonic models of thigh angle and gyro signal for those stride patterns, are presented in this paper. These harmonic models can be used to predict or classify the strides of walking trials, and the results are presented herein. Harmonic models may also be used for activity recognition. It has shown that human gait in level walking can be modeled with a harmonic model of thigh angle or gyro signal, using a single thigh-mounted IMU, to higher accuracies than existing techniques.

1. Introduction

Gait recognition is often used in infrastructure-independent navigation systems, such as inertial navigation systems. Gait analysis is performed in these systems based on trunk movement [1,2], foot movement [3,4] or thigh movement [5,6]. Some of these techniques use acceleration, whereas the others use the rotation or the orientation of the particular body section. The majority of existing studies that use inertial sensors model human gait based on the acceleration of a given section of the body. With the increasing availability of low-cost gyroscopes, the usage of these in addition to accelerometers has increased.
Although many studies exist in the literature on gait modeling, most of them present the movement pattern of a given body section for a selected group of people [7,8,9], which is of interest in clinical studies. Some others have modeled the movements of body sections based on purely theoretical models, such as mechanical models [10,11]. Detailed analyses of these works are excluded in this paper, because the scope of this work is limited to deriving a model of human gait during level walking based on empirical observations.
Ibrahim used a hip-mounted accelerometer for gait modeling, and derived harmonic models for body acceleration during different activities [2]. He used a three-axis accelerometer attached to the hip of the subjects as the source of input in his studies. A linear predictive model was used to estimate the fundamental frequency of the signal. It was discovered that there are 12 significant harmonic components in the spectrum of the acceleration signal. Harmonic models for the acceleration of the trunk during flat walking, as well as up-slope, down-slope, upstairs and downstairs walking, are presented, and the differences in the harmonic models for these activities on all three axes are discussed. The author claimed that the harmonic model derived is a good fit for the original signal, but the figures indicate that there are large deviations in the reconstructed signal from the original.
Qiuyang and Zaiyue used a spectral model to predict the thigh angle during level walking. They also used linear predictive techniques to estimate the frequencies [12]. However, in this work, they do not mention how many harmonics are required to reconstruct the original waveform accurately. The thigh angle is reconstructed using the harmonic components that are extracted and compared with the original. They reported mean square errors of 0.2 rad (11.5°) for some subjects. It can be seen from the figures that the deviation in the predicted waveform from the original is very high.
This paper presents harmonic models for thigh flexion and extension during level walking, derived from empirical data collected from a single thigh-mounted Inertial Measurement Unit (IMU) and the gyroscopic signal of a thigh-mounted IMU. The accuracy of the estimation of the fundamental frequency from the stride time was also tested against the fundamental frequency derived from Fast Fourier Transform (FFT), and is reported in this paper.
The accurate identification and classification of gait and different stride patterns plays a vital role in rehabilitation and navigation applications. The possibility of using harmonic models to predict flexion–extension angles during a walking trial, and the possibility of using harmonic models to identify the gait pattern during a walking trial, are discussed. The work presented in this paper is part of a project that is developing an indoor navigation system for vision-impaired people. Therefore, the thigh (trouser pocket) was selected as the mounting position of the IMU, based on the observations presented in [13]. It was also observed that the flexion and the extension of the thigh during walking can be estimated by performing single-dimension orientation estimation, thus reducing the computational load.

2. Materials and Methods

2.1. Experimental Setup

Thigh movement data were collected from 9 female and 10 male volunteer participants. All participants were middle-aged and are known to have no vision impairments or walking difficulties, or any other impairments. Their exact ages and body details were not recorded as this is a generic study. This study was approved by the Curtin University Ethics Committee and all volunteers gave informed consent.
A custom-made IMU [14] based on the MPU-9150 was attached to the right thigh of the subject. Figure 1 shows how the IMU was attached to the reference thigh of the subjects. Further details of the construction of the IMU and the reference details of the experiment have already been published in [14,15]. The IMU wirelessly streamed raw sensor data taken at 100 samples per second to the data-logging laptop computer. The subjects were asked to walk across a motion analysis lab (Curtin University Motion Analysis Lab, equipped with a Vicon motion capture system, as explained in [15]) with self-selected gait speed; this was taken as normal gait (approximately 2 steps per second).

2.2. Modeling of Thigh Angle

The flexion and extension (thigh angle) of both thighs, captured during a sample trial performed in a motion analysis lab using a Vicon motion capture system equipped with 14 semi-IR cameras during a previous study [15], are shown in Figure 2. Similar patterns were observed in all the trials conducted in the study and these have been published previously. These indicate that the two legs are in synchronization, and thus modeling one leg will help predict the movement of the other leg. Further, the same model may be applied for both legs.
Raw data collected in the experiment discussed previously were used to estimate the thigh angle using the Gyro Integration-Based Orientation Filter (GIOF) [15], which is an improved version of the algorithm discussed in [5]. GIOF derives the single-axis orientation primarily using gyro-integration, and uses accelerometer data to regularly correct the drift in the angle (when the IMU does not detect body acceleration). Then, the thigh angle was cropped from a minimum (toe-off) to a minimum excluding the first and the last strides of the walk. The rest of the analysis was performed on these cropped thigh angle waveforms.
As seen in Figure 2 and verified in previous research [16,17], the thigh angle during level walking is periodic. The most common method of modeling a periodic signal is a harmonic model:
y ( t ) = b + n = 1 N a n cos ( 2 π n f 0 t + φ n ) ,   n = 1 ,   2 ,
where f 0 is the fundamental frequency and n is the harmonic number, with N t h harmonic as the maximum significant harmonic. a n and φ n are the amplitude and the initial phase of the n t h harmonic [18]. The dc component present in the waveform is denoted by b.
To empirically estimate values for these unknown parameters in the harmonic model in (1), the spectrum of each trial was derived using the FFT function in Matlab. The number of frequency components in the FFT output was selected as the length of the time series sample, instead of a power of 2, due to the limited sample length. In addition to the functions available in Matlab for deriving FFT and extracting peaks, a custom-made function was used to extract the harmonics from the frequency spectrum. Figure 3 shows the frequency spectrum of a single trial, and the harmonics extracted from the spectrum (shown by circles) by the function. The function also picks up the DC component of the spectrum. It can be seen that the fundamental has the highest amplitude, which was the feature used in the custom-made Matlab function to identify the fundamental frequency, and extract the amplitudes and initial phases, of a specified number of harmonics (given as the input argument for the function).

2.3. Harmonic Models for Thigh Flexion–Extension (Derived from IMU Data) and Gyro Signal

To establish harmonic models for thigh angles derived from IMU data during level walking, the thigh angle for each stride was plotted. Some stride patterns were frequently found in the set of 750 strides collected from all subjects, both male and female. Therefore, it was decided to formulate harmonic models for those frequently observed stride patters. Figure 4 depicts six such thigh angle patterns, starting with almost no oscillation after the main maximum (end of swing and heal contact) and ending with a pattern wherein the secondary peak is approximately as strong as the primary peak. The waveforms depicted in Figure 4 are samples taken from the trial, and they are normalized to have a minimum and maximum of 0 and 1. Details of how the harmonic models were derived are given later. The reasons for these stride patterns observed in the experiments are as follows.
  • Pattern 1—The heal contact is exactly at the end of the swing of the reference leg, and the foot is almost flat by the time of the heal contact, meaning that no oscillation of thigh is visible during the Loading Response;
  • Pattern 2—The heal contact occurs slightly after the end of the swing of the reference leg, and there is a small angle between the foot and the ground, meaning that an angle change in the thigh is slightly visible during Loading Response;
  • Pattern 3—The heal contact is slightly after the end of the swing of the reference leg, and there is a larger angle between the foot and the ground than in the previous case, meaning that a larger change of angle in the thigh is visible during the Loading Response;
  • Pattern 4—The heal contact occurs after the end of the swing of the reference leg, so that the leg moves downwards before heal contact, and the foot is angled towards the ground by the time of the heal contact. Hence, an oscillation of the thigh is visible during Loading Response;
  • Pattern 5—The heal contact occurs after the end of the swing of the reference leg, so that the leg moves downwards before heal contact and the foot is angled towards the ground by the time of the heal contact. More oscillation of the thigh is visible during Loading Response here compared to the previous case;
  • Pattern 6—The heal contact occurs after the end of the swing of the reference leg, so that the leg moves downwards before heal contact and the foot is angled towards the ground by the time of the heal contact. A strong oscillation is visible during Loading Response, so that the secondary peak is comparable to the primary peak.
To derive harmonic models for these six patterns, sample trials with similar thigh angle patterns were collected using the following procedure.
Each stride was resampled to 2000 sample points, and normalized in time and amplitude. The stride time was normalized to 1 s, while the amplitude was normalized in such a way that the minimum of the waveform was 0 and the maximum was 1. Then, all strides with an RMSE less than 2.5% in each of the selected stride patterns (Figure 4) were extracted from the 750 strides. The stride waveforms extracted in this way were used to estimate a mean waveform representing each of the wave patterns shown in Figure 4. Harmonic models, such as those given in (1), were derived for each of these mean curves. The significant number of harmonics was decided in the fashion described in Section 3.
The spectrums of the gyro signals for each stride were also derived using FFT. In a similar way to thigh angle, the gyro signal was also reconstructed using the amplitudes and initial phases of the spectrum via (1). Here, too, the significant number of harmonics was decided as described in Section 3.

2.4. Predicting and Classifying Strides Using Harmonic Models

Identifying and classifying different stride patterns is important in rehabilitation and navigation applications, because prediction accuracies may be increased by using different models for different stride patterns. Therefore, the possibility of classifying strides using the harmonic models derived from IMU data was also investigated in this study. The following sections discuss how the harmonic models derived earlier can be used to predict the thigh angle waveform and classify the strides of a long walking trial.
To identify the possibility of predicting thigh angle using the harmonic model, the thigh angle of a long walk (approximately 20 strides) performed by a single subject was first reconstructed using the harmonic model extracted from the first stride. Normalized harmonic amplitudes and initial phases of the harmonics were extracted from the first stride of the trial, and these were used to recreate the thigh angle waveform for the full trial. The thigh angle was reconstructed using the timing of the stride, and then rescaled on the amplitude axis to match the peak-to-peak variation in the measured thigh angle of the stride.
Based on the observation that a person may display different stride patterns even within the same trial, the possibility of classifying strides using the harmonic model was investigated. The correlations and the RMSEs of the thigh angles for each stride to those of the thigh angles generated by the six models were computed for four different cases. The reconstructed thigh angle was scaled to match the measured thigh angle using the same method as was discussed earlier. The cases considered were walking with 3 self-selected stride rates (slow, medium and fast) on a hard floor and walking on sand (to test if this method can be used to distinguish different floor hardnesses). The variation in the stride pattern throughout the walk and in different cases can be seen by analyzing the correlation and RMSE matrices.

3. Results

This section presents the results obtained in each of the scenarios discussed in Section 2. For clarity, each result is presented in a separate sub section.

3.1. Modeling of Thigh Angle

Figure 5 shows the amplitude distribution of the first nine overtones of the frequency spectrum for all 372 trials, normalized to fundamental amplitude. It can be seen from the figure that the median amplitude becomes lower than % of the fundamental amplitude beyond the fifth overtone. (The dash–dot line close to the bottom of the plot shows 1% of the fundamental amplitude.) This 1% was selected as the cut-off because, in engineering and scientific applications, a 1% level is considered as negligible. The next level considered was 5%. However, when 5% was considered, the thigh angle waveform was observed to deviate from the original pattern, as the third harmonic is the last to be considered when the cut-off is 5%. Therefore, it can be concluded that the first five harmonics are the most significant frequency components of the thigh angle waveform during level walking.
Based on this observation, the thigh angle waveform for each trial was reconstructed using (1) with the coefficients of the first five harmonics extracted from the same trial. The original and reconstructed thigh angle waveforms of a sample trial are shown in Figure 6, and histograms for the correlations and RMSEs of the original and reconstructed waveforms of all 372 trials are shown in Figure 7. It can be seen that the majority of the correlation between the original and the reconstructed signals is greater than 0.995, while the majority of the RMSE is less than 2°, which indicates that the thigh angle waveforms can be accurately represented using the harmonic model in (1) with five harmonics. This result is much better than the correlations achieved by Ibrahim when using 12 harmonics within an accelerometer [2].
The distributions of the normalized amplitudes and initial phases of the first five harmonics of all female and male trials are shown in Figure 8 and Figure 9. The amplitudes are normalized to the fundamental amplitude. The figures indicate that the normalized amplitudes of the overtones are smaller for the males than the females in the selected sample base, but the phases of the harmonics are comparable.
The fundamental frequencies of the FFT, i.e., the stride frequencies of females, were lower than those of the males in the trials. The peak stride frequency for males was about 0.925 Hz, while for females it was close to 1 Hz. The distributions of the fundamental stride frequencies for female and male subjects are shown in Figure 10. These indicate that, in the sample, the self-selected walking speed of males was 7.5% slower. The stride frequency was also computed using the stride time and compared with the fundamental frequency extracted from the spectrum. The error in the stride frequencies estimated using stride time compared to the fundamental frequency was 0.0479% (± 0.0029%) over a total of 750 strides for all subjects, which indicates that the results derived when estimating the stride frequency using stride time are accurate.
The next stage of processing was to perform spectral analysis for each stride. Each minimum stride was extracted from the next minimum of the thigh angle waveform, and the spectral data were extracted for each stride using the same procedure to produce a harmonic model for the full trial. The extracted stride was cascaded four times before using the FFT function to derive the spectrum, in order to increase the length of the data as well as the resolution of the FFT output. In this case, the number of frequency components of the FFT output was selected as the input data length. Each stride was then reconstructed using (1), and the correlations and RMSEs were computed between the original and the reconstructed waveforms. As seen in Figure 11, the majority of correlations were greater than 0.999, and the majority of RMSE values were below 0.5°, which indicates that the model in (1) with five harmonics can be used to represent the thigh angle with high accuracy when each stride is considered.

3.2. Harmonic Models for Thigh Flexion–Extension (Derived from IMU data) and Gyro Signal

The harmonic models derived for the six most commonly observed thigh angle patterns are depicted in Figure 12. n in each of the right-hand figures indicates how many samples of similar shapes were used to derive the mean thigh angle for each pattern. Table 1 shows the normalized amplitudes and initial phases extracted for the six models. Here, too, normalization was performed with reference to the fundamental amplitude.
The histograms of correlation and RMSE between the original and reconstructed gyro signals are shown in Figure 13. It can be seen from the figure that the gyro signal can be reconstructed using the harmonic model with nine significant harmonic components to achieve better regeneration accuracies than the thigh angle waveform. The significant number of harmonics was decided upon using a similar method to that used in the case of the thigh angle.
The spectrums of the gyro signals of the aforementioned stride patterns have also been derived. The normalized amplitudes and initial phases of the first nine harmonics of the spectrum of the gyroscopic signals of the six most commonly observed stride patterns are shown in Figure 14, and the coefficients are tabulated in Table 2.

3.3. Predicting Thigh Angle Using the Harmonic Model

In order to predict the stride pattern, each stride was regenerated using the harmonic model extracted from the first stride of the trial. For each stride, the fundamental frequency was estimated using the stride time, and the maximum thigh angle was used as the fundamental amplitude. The original thigh angle waveform, and the thigh angle reconstructed using the harmonic model in (1) with five significant harmonics, are shown in Figure 15. The trial was reconstructed with an RMSE of 1.33° and a correlation of 0.997. It can be seen in the figure that the reconstructed waveform deviates from the original for some strides. This is because a person may have different stride patterns, as discussed in Section 3.2. This observation constitutes the basis of the work presented in the following discussion.

3.4. Classifying Strides Using the Harmonic Model

In order to classify each stride of a long walk, the correlations of each stride to the base models discussed in Section 3.2 were estimated. Figure 16 depicts the correlation matrices as color maps. Each matrix shows the correlation of each stride in a given trial to the pattern reconstructed using each model. Each column of a matrix represents a single stride, and a row represents a particular model.
It can be seen in the figure that all the strides achieved a better correlation with Model 1 for slow walking, whereas for medium walking, most of the strides showed a closer correlation to Model 3, and other strides matched with the patterns of Models 1, 4 or 6. For fast walking, the stride pattern was that of Model 6, while on sand it became Model 1, except for a few strides, which were Model 3. According to the observations made during the trial on sand, the stride pattern became that of Model 3 when the sand was hard, and Model 1 when the sand was loose. These observations indicate that the harmonic models of thigh angle can be used to identify the variations in stride during a single walking trial.
The classifications of strides using the correlation of the original stride waveform to the reconstructed waveform may be verified using the RMSE between the stride waveform and the model. Figure 17 shows the RMSE matrices as color maps for aforementioned scenarios. It is clear that the RMSE matrices also follow the same patterns as the correlation matrices. The closer the correlation of the thigh angle waveform of a particular stride and the waveform generated by a particular model to 1, the closer the shape of the stride is to the shape of the model. In the case of RMSE, the smallest value indicates the best model. Hence, the best model that most closely represents the shape of a particular stride is the one that shows the highest correlation and the smallest RMSE.
The same method of classification can be performed using the gyro signal of each stride. As seen in Figure 14, the toe-off point is the point at which the gyro signal is crossed at zero with a positive gradient. The classification performed with gyro signal also gives similar results, as shown in Figure 18. Tis figure shows that the stride pattern here is closer to Model 1 than the others. The full set looks similar to the one for the thigh angle. The full set is not included in Figure 18 to reduce the complexity. This indicates that classification and reconstruction can be performed using the gyro signal.

4. Discussion

Harmonic models for the thigh angle and gyroscopic signal have been presented in this paper. By analyzing the spectrums of the thigh angle of 372 level walking trials performed by 19 subjects, both male and female, it was observed that the first five harmonics are significant. A correlation greater than 99.5% and an RMSE less than 2° between the original thigh angle waveform and the one reconstructed from the derived harmonic model indicates that the thigh angle waveform can be effectively reconstructed with a harmonic model using the first five harmonics. For the gyro signal, the number of significant harmonic components is nine. The thigh angle and the gyro signal for each stride were reconstructed with the harmonic models, achieving correlations greater than 99.9% and 99.99% and RMSE values less than 1° and 5% respectively, which is a better fit than that of the full trial.
Harmonic models of thigh angle and gyro signal for six commonly observed stride patterns are also presented in this paper. The models were used to classify strides during a trial with a long flat walk (about 20 strides). It was shown that the correlation and the RMSE between the original and the model-generated signals may be used together to identify the stride patterns. Correlations above 99% and RMSE values less than 2° were observed for the best matching model. The best correlation and RMSE values were used to indicate the model that most closely matched the particular stride in the classification process. The thigh angle waveform of a long level walk was reconstructed using the harmonic model extracted from the first stride with five harmonics, achieving a correlation of 99.7% and an RMSE of 1.3°.
All the correlations and RMSE figures reported in this study are far better than the correlation and error figures achieved in [2,12]. Chhoeum et al. reported 75% and 97% correlation coefficients [19], but they used specially made textile capacitive sensors in the footwear in their study. However, the design costs and complexity of such a system are higher. Many other references (e.g., [20]) do not clearly present the correlations between the original and the regenerated waveforms.
Harmonic models for common stride patterns may be derived from a set of samples for the purpose of classifying a selected group of subjects. These groups may be people with no impairment or disability, patients with a certain lower limb disability, or patients who have undergone lower limb surgery. These models may then be used to classify or identify stride patterns in order to identify certain lower limb disabilities, or for pre- and post-surgery movement analysis; however, they may require higher sampling rates and sensors with higher accuracy in order to identify fine details of the gait pattern.
Furthermore, these harmonic models may be used to identify a person’s stride patterns for navigation applications. Harmonic models may be extracted for a given subject to identify different stride patterns that a particular person has, in the context of different terrains, activities or footwear. Such models may be used to improve pedestrian dead reconning accuracy, as well as in activity recognition. Figure 19 shows some exemplar stride patterns during upwards and downwards walking on stairs and ramps. It can be seen that these stride patterns are quite different from the patterns displayed during level walking, which results may be used in activity recognition.
It was also shown that stride modeling and classification can be performed using the gyro signals and the harmonic models derived for selected thigh angle patterns. However, in this case, the first nine harmonics became significant, which will increase the computational demands.
Thigh angle waveform patterns similar to those observed for non-vision-impaired subjects were observed in vision-impaired subjects. Therefore, the same techniques may be applicable to vision-impaired subjects too.
In conclusion, the thigh angle estimated using a single IMU can be reconstructed using a harmonic model with five harmonics and a gyro signal with nine harmonics with great accuracy. These harmonic models may be used for many different navigation and rehabilitation applications.

Author Contributions

Conceptualization, N.A. and I.M.; methodology, N.A and I.M.; software, N.A.; validation, N.A.; formal analysis, N.A.; resources, N.A. and I.M.; writing—original draft preparation, N.A.; writing—review and editing, N.A.; supervision, I.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

The research presented and reported in this thesis was conducted in accordance with the National Health and Medical Research Council National Statement on Ethical Conduct in Human Research (2007)—updated March 2014. The proposed research study received human research ethics approval from the Curtin University Human Research Ethics Committee (EC00262), Approval Number SMEC-105-11 and PT263/2013.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data used in this study were collected for the study and are not available for public use.

Acknowledgments

The authors would like to thank all the participants in the data collection of this work for their contributions in making this work a real success, and without which this work would not have been possible. Special thanks go to the staff of the Motion Analysis Lab of the School of Physiotherapy and Exercise Science of Curtin University for allowing us to use the lab for data collection experiments, and providing support in using the Vicon system.

Conflicts of Interest

The authors declare no conflict of interest.

Ethical Statements

All subjects gave their informed consent for inclusion before they participated in the study. The study was conducted in accordance with the Declaration of Helsinki, and the protocol was approved by the Curtin University Human Research Ethics Committee (EC00262), Approval Number SMEC-105-11 and PT263/2013.

References

  1. Bocksch, M.; Seitz, J.; Jahn, J. Pedestrian Activity Classification to Improve Human Tracking and Localization. In Proceedings of the Forth International Conference on Indoor Positioning and Indoor Navigation (IPIN2013), Montbeliard, France, 28–31 October 2013; Available online: http://ipin2013.sciencesconf.org/conference/ipin2013/eda_en.pdf (accessed on 1 January 2014).
  2. Ibrahim, R.K. Novel Gait Models and Features for Gait Patterns Classification. Ph.D. Thesis, School of Electrical Engineering and Telecommunication, The University of New South Wales, Sydney, Australia, 2011. [Google Scholar]
  3. Olsson, F.; Rantakokko, J.; Nygards, J. Cooperative Localization by Foot-Mounted Inertial Navigation Systems and Ultrawideband Ranging. In Proceedings of the Fifth International Conference on Indoor Positioning and Indoor Navigation (IPIN2014), Busan, Korea, 27–30 October 2014; Available online: http://www.ipin2014.org/wp/pdf/2A-4.pdf (accessed on 15 July 2015).
  4. Nilsson, J.-O.; Gupta, A.K.; Handel, P. Foot-mounted Inertial Navigation Made Easy. In Proceedings of the Fifth International Conference on Indoor Positioning and Indoor Navigation (IPIN2014), Busan, Korea, 27–30 October 2014; Available online: http://www.ipin2014.org/wp/pdf/1A-4.pdf (accessed on 1 July 2015).
  5. Abhayasinghe, N.; Murray, I. Human Gait Phase Recognition Based on Thigh Movement Computed using IMUs. In Proceedings of the 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), Singapore, 21–24 April 2014; Available online: https://0-ieeexplore-ieee-org.brum.beds.ac.uk/document/6827604 (accessed on 19 June 2014).
  6. Diaz, E.M.; Gonzalez, A.L.M.; De Ponte Müller, F. Standalone Inertial Pocket Navigation System. In Proceedings of the Position, Location and Navigation Symposium—PLANS 2014, Monterey, CA, USA, 5–8 May 2014. [Google Scholar]
  7. Murray, M.P. Gait as a total pattern of movement. Am. J. Phys. Med. 1967, 46, 290–332. [Google Scholar] [PubMed]
  8. Geisheimer, J.L.; Greneker, E.F., III; Marshall, W.S. A high-resolution Doppler model of human gait. In Proceedings of the SPIE on Radar Technology, Orlando, FL, USA, 30 July 2002. [Google Scholar]
  9. Tong, K.; Granat, M.H. A practical gait analysis system using gyroscopes. Med. Eng. Phys. 1999, 21, 87–94. [Google Scholar] [CrossRef]
  10. Onyshko, S.; Winter, D.A. A mathematical model for the dynamics of human locomotion. J. Biomech. 1980, 13, 361–368. [Google Scholar] [CrossRef]
  11. Siegler, S.; Seliktar, R.; Hyman, W. Simulation of human gait with the aid of a simple mechanical model. J. Biomech. 1982, 15, 415–425. [Google Scholar] [CrossRef]
  12. Qiuyang, H.; Zaiyue, Y. Frequency-Estimation-Based Thigh Angle Prediction in Level-Ground Walking Using IMUs. In Proceedings of the 2013 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Beijing, China, 10–12 October 2013. [Google Scholar]
  13. Abhayasinghe, K.; Murray, I. A novel approach for indoor localization using human gait analysis with gyroscopic data. In Proceedings of the Third International Conference on Indoor Positioning and Indoor Navigation (IPIN2012), Sydney, Australia, 13–15 November 2012; Available online: http://www.surveying.unsw.edu.au/ipin2012/proceedings/submissions/22_Paper.pdf (accessed on 1 January 2014).
  14. Abhayasinghe, N.; Murray, I. The Application of “off-the-shelf” Components for Building IMUs for Navigation Research. In Proceedings of the Fifth International Conference on Indoor Positioning and Indoor Navigation (IPIN2014), Busan, Korea, 27–30 October 2014; Available online: http://www.ipin2014.org/wp/pdf/2A-3.pdf (accessed on 1 July 2015).
  15. Abhayasinghe, N.; Murray, I.; Sharif Bidabadi, S. Validation of Thigh Angle Estimation Using Inertial Measurement Unit Data against Optical Motion Capture Systems. Sensors 2019, 19, 596. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Albu, A.B.; Bergevin, R.; Quirion, S. Generic Temporal Segmentation of Cyclic Human Motion. Pattern Recognit. 2008, 41, 6–21. [Google Scholar] [CrossRef]
  17. Chang, C.; Ansari, R.; Khokha, A. Efficient tracking of cyclic human motion by component motion. IEEE Signal Process. Lett. 2004, 11, 941–944. [Google Scholar] [CrossRef]
  18. Quinn, B.G.; Hannan, E.J. The Estimation and Tracking of Frequency; Cambridge University Press: Cambridge, UK, 2001. [Google Scholar]
  19. Chhoeum, V.; Kim, Y.; Min, S.-D. Estimation of Knee Joint Angle Using Textile Capacitive Sensor and Artificial Neural Network Implementing with Three Shoe Types at Two Gait Speeds: A Preliminary Investigation. Sensors 2021, 21, 5484. [Google Scholar] [CrossRef] [PubMed]
  20. Sarshar, M.; Polturi, S.; Schega, L. Gait Phase Estimation by Using LSTM in IMU-Based Gait Analysis—Proof of Concept. Sensors 2021, 21, 5749. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Attachment of IMU to the reference thigh of the subjects.
Figure 1. Attachment of IMU to the reference thigh of the subjects.
Sensors 22 02164 g001
Figure 2. Thigh angles of left and right legs. This indicates that the toe-off of one leg is synchronized with the initial contact of the other leg, as shown by vertical dashed lines [15].
Figure 2. Thigh angles of left and right legs. This indicates that the toe-off of one leg is synchronized with the initial contact of the other leg, as shown by vertical dashed lines [15].
Sensors 22 02164 g002
Figure 3. Frequency spectrum of a sample trial and harmonic components extracted from the function (shown by circles).
Figure 3. Frequency spectrum of a sample trial and harmonic components extracted from the function (shown by circles).
Sensors 22 02164 g003
Figure 4. Six common thigh angle patterns observed in all trials.
Figure 4. Six common thigh angle patterns observed in all trials.
Sensors 22 02164 g004
Figure 5. Amplitude distribution of first nine overtones of all trials normalized to the fundamental amplitude.
Figure 5. Amplitude distribution of first nine overtones of all trials normalized to the fundamental amplitude.
Sensors 22 02164 g005
Figure 6. Original and reconstructed thigh angle waveforms of a sample trial.
Figure 6. Original and reconstructed thigh angle waveforms of a sample trial.
Sensors 22 02164 g006
Figure 7. Histograms of correlation and RMSE between original and reconstructed thigh angle waveforms using five harmonics.
Figure 7. Histograms of correlation and RMSE between original and reconstructed thigh angle waveforms using five harmonics.
Sensors 22 02164 g007
Figure 8. Distributions of normalized harmonic amplitudes of first four overtones for all female and male trials.
Figure 8. Distributions of normalized harmonic amplitudes of first four overtones for all female and male trials.
Sensors 22 02164 g008
Figure 9. Distributions of initial phases of first five harmonics for all female and male trials.
Figure 9. Distributions of initial phases of first five harmonics for all female and male trials.
Sensors 22 02164 g009
Figure 10. Distribution of fundamental frequencies (stride frequencies) of female and male subjects.
Figure 10. Distribution of fundamental frequencies (stride frequencies) of female and male subjects.
Sensors 22 02164 g010
Figure 11. Correlation and RMSE between original and reconstructed thigh angles for each stride.
Figure 11. Correlation and RMSE between original and reconstructed thigh angles for each stride.
Sensors 22 02164 g011
Figure 12. Harmonic models for six commonly observed thigh angle patterns.
Figure 12. Harmonic models for six commonly observed thigh angle patterns.
Sensors 22 02164 g012
Figure 13. Correlation (a) and RMSE (b) between original and reconstructed gyro signal for each stride.
Figure 13. Correlation (a) and RMSE (b) between original and reconstructed gyro signal for each stride.
Sensors 22 02164 g013
Figure 14. Harmonic models of gyro signal for six commonly observed thigh angle patterns.
Figure 14. Harmonic models of gyro signal for six commonly observed thigh angle patterns.
Sensors 22 02164 g014
Figure 15. Thigh angle waveform reconstructed using a harmonic model with five harmonics and the original thigh angle waveform for a long walk.
Figure 15. Thigh angle waveform reconstructed using a harmonic model with five harmonics and the original thigh angle waveform for a long walk.
Sensors 22 02164 g015
Figure 16. Correlation of each stride with model-generated waveform for different cases.
Figure 16. Correlation of each stride with model-generated waveform for different cases.
Sensors 22 02164 g016
Figure 17. RMSE of each stride with the model-generated waveform for different cases.
Figure 17. RMSE of each stride with the model-generated waveform for different cases.
Sensors 22 02164 g017
Figure 18. The correlation (a) and RMSE (b) of the gyro signal of each stride to the model-generated waveform for slow walking.
Figure 18. The correlation (a) and RMSE (b) of the gyro signal of each stride to the model-generated waveform for slow walking.
Sensors 22 02164 g018
Figure 19. Thigh angle patterns for different activities.
Figure 19. Thigh angle patterns for different activities.
Sensors 22 02164 g019
Table 1. Coefficients of harmonic models of the six most common thigh angle patterns.
Table 1. Coefficients of harmonic models of the six most common thigh angle patterns.
Model1st Harmonic2nd Harmonic3rd Harmonic4th Harmonic5th Harmonic
anϕn (rad)anϕn (rad)anϕn (rad)anϕn (rad)anϕn (rad)
113.61330.181502.81250.085251.78600.0150852.88160.0139521.4683
213.41740.213482.72000.030010.68680.0220382.74070.0106150.7321
313.50880.209593.01760.073521.38600.0282123.65340.0198841.5846
413.45040.231483.08750.095811.29840.0301993.7270.0181381.3387
513.40570.267813.24310.083221.19940.0384943.73320.0148271.4261
613.45150.184523.24090.109501.55810.0210414.09520.0221802.3650
Table 2. Coefficients of harmonic models of gyro signals of the six most common thigh angle patterns.
Table 2. Coefficients of harmonic models of gyro signals of the six most common thigh angle patterns.
Model1st Harmonic2nd Harmonic3rd Harmonic4th Harmonic5th Harmonic
anϕn (rad)anϕn (rad)anϕn (rad)anϕn (rad)anϕn (rad)
115.190.360274.4020.24893.36490.0594864.55460.0633683.0386
214.9960.423434.30920.0844992.19040.0856384.39840.0477042.1871
315.07590.420984.580.224862.96320.111455.18860.103833.1609
415.02430.463134.6660.284082.86880.122665.31460.0876582.9082
514.97360.536634.80870.252562.77750.152745.28440.0771723.0107
615.02470.369734.81950.325843.13080.0860195.67660.109683.9544
Model6th Harmonic7th Harmonic8th Harmonic9th Harmonic
anϕn(rad)anϕn(rad)anϕn(rad)anϕn(rad)
10.0515672.08710.0435955.33940.060632.3970.0064694.7733
20.016322.1870.0280813.71390.0085221.06690.003395.8446
30.0148191.49920.0428514.20840.0313111.88940.0027074.9969
40.0395580.793040.0640164.42470.0307171.78060.0028264.7229
50.0290393.32010.0494974.34470.0156911.95910.0006663.3624
60.0693811.42510.0678274.52430.0224531.90920.0007494.6469
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Abhayasinghe, N.; Murray, I. Human Gait Modeling, Prediction and Classification for Level Walking Using Harmonic Models Derived from a Single Thigh-Mounted IMU. Sensors 2022, 22, 2164. https://0-doi-org.brum.beds.ac.uk/10.3390/s22062164

AMA Style

Abhayasinghe N, Murray I. Human Gait Modeling, Prediction and Classification for Level Walking Using Harmonic Models Derived from a Single Thigh-Mounted IMU. Sensors. 2022; 22(6):2164. https://0-doi-org.brum.beds.ac.uk/10.3390/s22062164

Chicago/Turabian Style

Abhayasinghe, Nimsiri, and Iain Murray. 2022. "Human Gait Modeling, Prediction and Classification for Level Walking Using Harmonic Models Derived from a Single Thigh-Mounted IMU" Sensors 22, no. 6: 2164. https://0-doi-org.brum.beds.ac.uk/10.3390/s22062164

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop